]> 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,false); \
1214 PyObject* dc = wxPyMake_wxObject(&b,false); \
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, 1);
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, 1);
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 {
1651 resultobj = wxPyMake_wxObject(result, 1);
1652 }
1653 {
1654 if (temp6)
1655 delete arg6;
1656 }
1657 return resultobj;
1658 fail:
1659 {
1660 if (temp6)
1661 delete arg6;
1662 }
1663 return NULL;
1664 }
1665
1666
1667 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject *resultobj;
1669 wxScrolledWindow *result;
1670 char *kwnames[] = {
1671 NULL
1672 };
1673
1674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1675 {
1676 if (!wxPyCheckForApp()) SWIG_fail;
1677 PyThreadState* __tstate = wxPyBeginAllowThreads();
1678 result = (wxScrolledWindow *)new wxScrolledWindow();
1679
1680 wxPyEndAllowThreads(__tstate);
1681 if (PyErr_Occurred()) SWIG_fail;
1682 }
1683 {
1684 resultobj = wxPyMake_wxObject(result, 1);
1685 }
1686 return resultobj;
1687 fail:
1688 return NULL;
1689 }
1690
1691
1692 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1693 PyObject *resultobj;
1694 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1695 wxWindow *arg2 = (wxWindow *) 0 ;
1696 int arg3 = (int) (int)-1 ;
1697 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1698 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1699 wxSize const &arg5_defvalue = wxDefaultSize ;
1700 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1701 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1702 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1703 wxString *arg7 = (wxString *) &arg7_defvalue ;
1704 bool result;
1705 wxPoint temp4 ;
1706 wxSize temp5 ;
1707 bool temp7 = False ;
1708 PyObject * obj0 = 0 ;
1709 PyObject * obj1 = 0 ;
1710 PyObject * obj2 = 0 ;
1711 PyObject * obj3 = 0 ;
1712 PyObject * obj4 = 0 ;
1713 PyObject * obj5 = 0 ;
1714 PyObject * obj6 = 0 ;
1715 char *kwnames[] = {
1716 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1717 };
1718
1719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1724 if (obj2) {
1725 arg3 = (int const) SWIG_AsInt(obj2);
1726 if (PyErr_Occurred()) SWIG_fail;
1727 }
1728 if (obj3) {
1729 {
1730 arg4 = &temp4;
1731 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1732 }
1733 }
1734 if (obj4) {
1735 {
1736 arg5 = &temp5;
1737 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1738 }
1739 }
1740 if (obj5) {
1741 arg6 = (long) SWIG_AsLong(obj5);
1742 if (PyErr_Occurred()) SWIG_fail;
1743 }
1744 if (obj6) {
1745 {
1746 arg7 = wxString_in_helper(obj6);
1747 if (arg7 == NULL) SWIG_fail;
1748 temp7 = True;
1749 }
1750 }
1751 {
1752 PyThreadState* __tstate = wxPyBeginAllowThreads();
1753 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1754
1755 wxPyEndAllowThreads(__tstate);
1756 if (PyErr_Occurred()) SWIG_fail;
1757 }
1758 {
1759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1760 }
1761 {
1762 if (temp7)
1763 delete arg7;
1764 }
1765 return resultobj;
1766 fail:
1767 {
1768 if (temp7)
1769 delete arg7;
1770 }
1771 return NULL;
1772 }
1773
1774
1775 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1776 PyObject *resultobj;
1777 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1778 int arg2 ;
1779 int arg3 ;
1780 int arg4 ;
1781 int arg5 ;
1782 int arg6 = (int) 0 ;
1783 int arg7 = (int) 0 ;
1784 bool arg8 = (bool) False ;
1785 PyObject * obj0 = 0 ;
1786 PyObject * obj1 = 0 ;
1787 PyObject * obj2 = 0 ;
1788 PyObject * obj3 = 0 ;
1789 PyObject * obj4 = 0 ;
1790 PyObject * obj5 = 0 ;
1791 PyObject * obj6 = 0 ;
1792 PyObject * obj7 = 0 ;
1793 char *kwnames[] = {
1794 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1795 };
1796
1797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1800 arg2 = (int) SWIG_AsInt(obj1);
1801 if (PyErr_Occurred()) SWIG_fail;
1802 arg3 = (int) SWIG_AsInt(obj2);
1803 if (PyErr_Occurred()) SWIG_fail;
1804 arg4 = (int) SWIG_AsInt(obj3);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 arg5 = (int) SWIG_AsInt(obj4);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 if (obj5) {
1809 arg6 = (int) SWIG_AsInt(obj5);
1810 if (PyErr_Occurred()) SWIG_fail;
1811 }
1812 if (obj6) {
1813 arg7 = (int) SWIG_AsInt(obj6);
1814 if (PyErr_Occurred()) SWIG_fail;
1815 }
1816 if (obj7) {
1817 arg8 = (bool) SWIG_AsBool(obj7);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 {
1821 PyThreadState* __tstate = wxPyBeginAllowThreads();
1822 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1823
1824 wxPyEndAllowThreads(__tstate);
1825 if (PyErr_Occurred()) SWIG_fail;
1826 }
1827 Py_INCREF(Py_None); resultobj = Py_None;
1828 return resultobj;
1829 fail:
1830 return NULL;
1831 }
1832
1833
1834 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1835 PyObject *resultobj;
1836 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1837 int arg2 ;
1838 int arg3 ;
1839 PyObject * obj0 = 0 ;
1840 PyObject * obj1 = 0 ;
1841 PyObject * obj2 = 0 ;
1842 char *kwnames[] = {
1843 (char *) "self",(char *) "x",(char *) "y", NULL
1844 };
1845
1846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1849 arg2 = (int) SWIG_AsInt(obj1);
1850 if (PyErr_Occurred()) SWIG_fail;
1851 arg3 = (int) SWIG_AsInt(obj2);
1852 if (PyErr_Occurred()) SWIG_fail;
1853 {
1854 PyThreadState* __tstate = wxPyBeginAllowThreads();
1855 (arg1)->Scroll(arg2,arg3);
1856
1857 wxPyEndAllowThreads(__tstate);
1858 if (PyErr_Occurred()) SWIG_fail;
1859 }
1860 Py_INCREF(Py_None); resultobj = Py_None;
1861 return resultobj;
1862 fail:
1863 return NULL;
1864 }
1865
1866
1867 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1868 PyObject *resultobj;
1869 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1870 int arg2 ;
1871 int result;
1872 PyObject * obj0 = 0 ;
1873 PyObject * obj1 = 0 ;
1874 char *kwnames[] = {
1875 (char *) "self",(char *) "orient", NULL
1876 };
1877
1878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1881 arg2 = (int) SWIG_AsInt(obj1);
1882 if (PyErr_Occurred()) SWIG_fail;
1883 {
1884 PyThreadState* __tstate = wxPyBeginAllowThreads();
1885 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1886
1887 wxPyEndAllowThreads(__tstate);
1888 if (PyErr_Occurred()) SWIG_fail;
1889 }
1890 resultobj = SWIG_FromInt((int)result);
1891 return resultobj;
1892 fail:
1893 return NULL;
1894 }
1895
1896
1897 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject *resultobj;
1899 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1900 int arg2 ;
1901 int arg3 ;
1902 PyObject * obj0 = 0 ;
1903 PyObject * obj1 = 0 ;
1904 PyObject * obj2 = 0 ;
1905 char *kwnames[] = {
1906 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1907 };
1908
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1912 arg2 = (int) SWIG_AsInt(obj1);
1913 if (PyErr_Occurred()) SWIG_fail;
1914 arg3 = (int) SWIG_AsInt(obj2);
1915 if (PyErr_Occurred()) SWIG_fail;
1916 {
1917 PyThreadState* __tstate = wxPyBeginAllowThreads();
1918 (arg1)->SetScrollPageSize(arg2,arg3);
1919
1920 wxPyEndAllowThreads(__tstate);
1921 if (PyErr_Occurred()) SWIG_fail;
1922 }
1923 Py_INCREF(Py_None); resultobj = Py_None;
1924 return resultobj;
1925 fail:
1926 return NULL;
1927 }
1928
1929
1930 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1931 PyObject *resultobj;
1932 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1933 int arg2 ;
1934 int arg3 ;
1935 PyObject * obj0 = 0 ;
1936 PyObject * obj1 = 0 ;
1937 PyObject * obj2 = 0 ;
1938 char *kwnames[] = {
1939 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1940 };
1941
1942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1945 arg2 = (int) SWIG_AsInt(obj1);
1946 if (PyErr_Occurred()) SWIG_fail;
1947 arg3 = (int) SWIG_AsInt(obj2);
1948 if (PyErr_Occurred()) SWIG_fail;
1949 {
1950 PyThreadState* __tstate = wxPyBeginAllowThreads();
1951 (arg1)->SetScrollRate(arg2,arg3);
1952
1953 wxPyEndAllowThreads(__tstate);
1954 if (PyErr_Occurred()) SWIG_fail;
1955 }
1956 Py_INCREF(Py_None); resultobj = Py_None;
1957 return resultobj;
1958 fail:
1959 return NULL;
1960 }
1961
1962
1963 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1964 PyObject *resultobj;
1965 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1966 int *arg2 = (int *) 0 ;
1967 int *arg3 = (int *) 0 ;
1968 int temp2 ;
1969 int temp3 ;
1970 PyObject * obj0 = 0 ;
1971 char *kwnames[] = {
1972 (char *) "self", NULL
1973 };
1974
1975 arg2 = &temp2;
1976 arg3 = &temp3;
1977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1980 {
1981 PyThreadState* __tstate = wxPyBeginAllowThreads();
1982 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1983
1984 wxPyEndAllowThreads(__tstate);
1985 if (PyErr_Occurred()) SWIG_fail;
1986 }
1987 Py_INCREF(Py_None); resultobj = Py_None;
1988 {
1989 PyObject *o = PyInt_FromLong((long) (*arg2));
1990 resultobj = t_output_helper(resultobj,o);
1991 }
1992 {
1993 PyObject *o = PyInt_FromLong((long) (*arg3));
1994 resultobj = t_output_helper(resultobj,o);
1995 }
1996 return resultobj;
1997 fail:
1998 return NULL;
1999 }
2000
2001
2002 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
2003 PyObject *resultobj;
2004 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2005 bool arg2 ;
2006 bool arg3 ;
2007 PyObject * obj0 = 0 ;
2008 PyObject * obj1 = 0 ;
2009 PyObject * obj2 = 0 ;
2010 char *kwnames[] = {
2011 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2012 };
2013
2014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2017 arg2 = (bool) SWIG_AsBool(obj1);
2018 if (PyErr_Occurred()) SWIG_fail;
2019 arg3 = (bool) SWIG_AsBool(obj2);
2020 if (PyErr_Occurred()) SWIG_fail;
2021 {
2022 PyThreadState* __tstate = wxPyBeginAllowThreads();
2023 (arg1)->EnableScrolling(arg2,arg3);
2024
2025 wxPyEndAllowThreads(__tstate);
2026 if (PyErr_Occurred()) SWIG_fail;
2027 }
2028 Py_INCREF(Py_None); resultobj = Py_None;
2029 return resultobj;
2030 fail:
2031 return NULL;
2032 }
2033
2034
2035 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
2036 PyObject *resultobj;
2037 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2038 int *arg2 = (int *) 0 ;
2039 int *arg3 = (int *) 0 ;
2040 int temp2 ;
2041 int temp3 ;
2042 PyObject * obj0 = 0 ;
2043 char *kwnames[] = {
2044 (char *) "self", NULL
2045 };
2046
2047 arg2 = &temp2;
2048 arg3 = &temp3;
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2052 {
2053 PyThreadState* __tstate = wxPyBeginAllowThreads();
2054 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2055
2056 wxPyEndAllowThreads(__tstate);
2057 if (PyErr_Occurred()) SWIG_fail;
2058 }
2059 Py_INCREF(Py_None); resultobj = Py_None;
2060 {
2061 PyObject *o = PyInt_FromLong((long) (*arg2));
2062 resultobj = t_output_helper(resultobj,o);
2063 }
2064 {
2065 PyObject *o = PyInt_FromLong((long) (*arg3));
2066 resultobj = t_output_helper(resultobj,o);
2067 }
2068 return resultobj;
2069 fail:
2070 return NULL;
2071 }
2072
2073
2074 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
2075 PyObject *resultobj;
2076 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2077 double arg2 ;
2078 double arg3 ;
2079 PyObject * obj0 = 0 ;
2080 PyObject * obj1 = 0 ;
2081 PyObject * obj2 = 0 ;
2082 char *kwnames[] = {
2083 (char *) "self",(char *) "xs",(char *) "ys", NULL
2084 };
2085
2086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2089 arg2 = (double) SWIG_AsDouble(obj1);
2090 if (PyErr_Occurred()) SWIG_fail;
2091 arg3 = (double) SWIG_AsDouble(obj2);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 {
2094 PyThreadState* __tstate = wxPyBeginAllowThreads();
2095 (arg1)->SetScale(arg2,arg3);
2096
2097 wxPyEndAllowThreads(__tstate);
2098 if (PyErr_Occurred()) SWIG_fail;
2099 }
2100 Py_INCREF(Py_None); resultobj = Py_None;
2101 return resultobj;
2102 fail:
2103 return NULL;
2104 }
2105
2106
2107 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2108 PyObject *resultobj;
2109 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2110 double result;
2111 PyObject * obj0 = 0 ;
2112 char *kwnames[] = {
2113 (char *) "self", NULL
2114 };
2115
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2119 {
2120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2121 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2122
2123 wxPyEndAllowThreads(__tstate);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 }
2126 resultobj = SWIG_FromDouble((double)result);
2127 return resultobj;
2128 fail:
2129 return NULL;
2130 }
2131
2132
2133 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2134 PyObject *resultobj;
2135 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2136 double result;
2137 PyObject * obj0 = 0 ;
2138 char *kwnames[] = {
2139 (char *) "self", NULL
2140 };
2141
2142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2145 {
2146 PyThreadState* __tstate = wxPyBeginAllowThreads();
2147 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2148
2149 wxPyEndAllowThreads(__tstate);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 }
2152 resultobj = SWIG_FromDouble((double)result);
2153 return resultobj;
2154 fail:
2155 return NULL;
2156 }
2157
2158
2159 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2160 PyObject *resultobj;
2161 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2162 wxPoint *arg2 = 0 ;
2163 wxPoint result;
2164 wxPoint temp2 ;
2165 PyObject * obj0 = 0 ;
2166 PyObject * obj1 = 0 ;
2167
2168 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2171 {
2172 arg2 = &temp2;
2173 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2174 }
2175 {
2176 PyThreadState* __tstate = wxPyBeginAllowThreads();
2177 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2178
2179 wxPyEndAllowThreads(__tstate);
2180 if (PyErr_Occurred()) SWIG_fail;
2181 }
2182 {
2183 wxPoint * resultptr;
2184 resultptr = new wxPoint((wxPoint &) result);
2185 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2186 }
2187 return resultobj;
2188 fail:
2189 return NULL;
2190 }
2191
2192
2193 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2194 PyObject *resultobj;
2195 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2196 int arg2 ;
2197 int arg3 ;
2198 int *arg4 = (int *) 0 ;
2199 int *arg5 = (int *) 0 ;
2200 int temp4 ;
2201 int temp5 ;
2202 PyObject * obj0 = 0 ;
2203 PyObject * obj1 = 0 ;
2204 PyObject * obj2 = 0 ;
2205
2206 arg4 = &temp4;
2207 arg5 = &temp5;
2208 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2211 arg2 = (int) SWIG_AsInt(obj1);
2212 if (PyErr_Occurred()) SWIG_fail;
2213 arg3 = (int) SWIG_AsInt(obj2);
2214 if (PyErr_Occurred()) SWIG_fail;
2215 {
2216 PyThreadState* __tstate = wxPyBeginAllowThreads();
2217 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2218
2219 wxPyEndAllowThreads(__tstate);
2220 if (PyErr_Occurred()) SWIG_fail;
2221 }
2222 Py_INCREF(Py_None); resultobj = Py_None;
2223 {
2224 PyObject *o = PyInt_FromLong((long) (*arg4));
2225 resultobj = t_output_helper(resultobj,o);
2226 }
2227 {
2228 PyObject *o = PyInt_FromLong((long) (*arg5));
2229 resultobj = t_output_helper(resultobj,o);
2230 }
2231 return resultobj;
2232 fail:
2233 return NULL;
2234 }
2235
2236
2237 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2238 int argc;
2239 PyObject *argv[4];
2240 int ii;
2241
2242 argc = PyObject_Length(args);
2243 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2244 argv[ii] = PyTuple_GetItem(args,ii);
2245 }
2246 if (argc == 2) {
2247 int _v;
2248 {
2249 void *ptr;
2250 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2251 _v = 0;
2252 PyErr_Clear();
2253 } else {
2254 _v = 1;
2255 }
2256 }
2257 if (_v) {
2258 {
2259 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2260 }
2261 if (_v) {
2262 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2263 }
2264 }
2265 }
2266 if (argc == 3) {
2267 int _v;
2268 {
2269 void *ptr;
2270 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2271 _v = 0;
2272 PyErr_Clear();
2273 } else {
2274 _v = 1;
2275 }
2276 }
2277 if (_v) {
2278 _v = SWIG_CheckInt(argv[1]);
2279 if (_v) {
2280 _v = SWIG_CheckInt(argv[2]);
2281 if (_v) {
2282 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2283 }
2284 }
2285 }
2286 }
2287
2288 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2289 return NULL;
2290 }
2291
2292
2293 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2294 PyObject *resultobj;
2295 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2296 wxPoint *arg2 = 0 ;
2297 wxPoint result;
2298 wxPoint temp2 ;
2299 PyObject * obj0 = 0 ;
2300 PyObject * obj1 = 0 ;
2301
2302 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2305 {
2306 arg2 = &temp2;
2307 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2308 }
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 {
2317 wxPoint * resultptr;
2318 resultptr = new wxPoint((wxPoint &) result);
2319 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2320 }
2321 return resultobj;
2322 fail:
2323 return NULL;
2324 }
2325
2326
2327 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2328 PyObject *resultobj;
2329 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2330 int arg2 ;
2331 int arg3 ;
2332 int *arg4 = (int *) 0 ;
2333 int *arg5 = (int *) 0 ;
2334 int temp4 ;
2335 int temp5 ;
2336 PyObject * obj0 = 0 ;
2337 PyObject * obj1 = 0 ;
2338 PyObject * obj2 = 0 ;
2339
2340 arg4 = &temp4;
2341 arg5 = &temp5;
2342 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2345 arg2 = (int) SWIG_AsInt(obj1);
2346 if (PyErr_Occurred()) SWIG_fail;
2347 arg3 = (int) SWIG_AsInt(obj2);
2348 if (PyErr_Occurred()) SWIG_fail;
2349 {
2350 PyThreadState* __tstate = wxPyBeginAllowThreads();
2351 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2352
2353 wxPyEndAllowThreads(__tstate);
2354 if (PyErr_Occurred()) SWIG_fail;
2355 }
2356 Py_INCREF(Py_None); resultobj = Py_None;
2357 {
2358 PyObject *o = PyInt_FromLong((long) (*arg4));
2359 resultobj = t_output_helper(resultobj,o);
2360 }
2361 {
2362 PyObject *o = PyInt_FromLong((long) (*arg5));
2363 resultobj = t_output_helper(resultobj,o);
2364 }
2365 return resultobj;
2366 fail:
2367 return NULL;
2368 }
2369
2370
2371 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2372 int argc;
2373 PyObject *argv[4];
2374 int ii;
2375
2376 argc = PyObject_Length(args);
2377 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2378 argv[ii] = PyTuple_GetItem(args,ii);
2379 }
2380 if (argc == 2) {
2381 int _v;
2382 {
2383 void *ptr;
2384 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2385 _v = 0;
2386 PyErr_Clear();
2387 } else {
2388 _v = 1;
2389 }
2390 }
2391 if (_v) {
2392 {
2393 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2394 }
2395 if (_v) {
2396 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2397 }
2398 }
2399 }
2400 if (argc == 3) {
2401 int _v;
2402 {
2403 void *ptr;
2404 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2405 _v = 0;
2406 PyErr_Clear();
2407 } else {
2408 _v = 1;
2409 }
2410 }
2411 if (_v) {
2412 _v = SWIG_CheckInt(argv[1]);
2413 if (_v) {
2414 _v = SWIG_CheckInt(argv[2]);
2415 if (_v) {
2416 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2417 }
2418 }
2419 }
2420 }
2421
2422 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2423 return NULL;
2424 }
2425
2426
2427 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2428 PyObject *resultobj;
2429 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2430 PyObject * obj0 = 0 ;
2431 char *kwnames[] = {
2432 (char *) "self", NULL
2433 };
2434
2435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2438 {
2439 PyThreadState* __tstate = wxPyBeginAllowThreads();
2440 (arg1)->AdjustScrollbars();
2441
2442 wxPyEndAllowThreads(__tstate);
2443 if (PyErr_Occurred()) SWIG_fail;
2444 }
2445 Py_INCREF(Py_None); resultobj = Py_None;
2446 return resultobj;
2447 fail:
2448 return NULL;
2449 }
2450
2451
2452 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2453 PyObject *resultobj;
2454 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2455 wxScrollWinEvent *arg2 = 0 ;
2456 int result;
2457 PyObject * obj0 = 0 ;
2458 PyObject * obj1 = 0 ;
2459 char *kwnames[] = {
2460 (char *) "self",(char *) "event", NULL
2461 };
2462
2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2467 SWIG_POINTER_EXCEPTION | 0)) == -1)
2468 SWIG_fail;
2469 if (arg2 == NULL) {
2470 PyErr_SetString(PyExc_TypeError,"null reference");
2471 SWIG_fail;
2472 }
2473 {
2474 PyThreadState* __tstate = wxPyBeginAllowThreads();
2475 result = (int)(arg1)->CalcScrollInc(*arg2);
2476
2477 wxPyEndAllowThreads(__tstate);
2478 if (PyErr_Occurred()) SWIG_fail;
2479 }
2480 resultobj = SWIG_FromInt((int)result);
2481 return resultobj;
2482 fail:
2483 return NULL;
2484 }
2485
2486
2487 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2488 PyObject *resultobj;
2489 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2490 wxWindow *arg2 = (wxWindow *) 0 ;
2491 PyObject * obj0 = 0 ;
2492 PyObject * obj1 = 0 ;
2493 char *kwnames[] = {
2494 (char *) "self",(char *) "target", NULL
2495 };
2496
2497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2502 {
2503 PyThreadState* __tstate = wxPyBeginAllowThreads();
2504 (arg1)->SetTargetWindow(arg2);
2505
2506 wxPyEndAllowThreads(__tstate);
2507 if (PyErr_Occurred()) SWIG_fail;
2508 }
2509 Py_INCREF(Py_None); resultobj = Py_None;
2510 return resultobj;
2511 fail:
2512 return NULL;
2513 }
2514
2515
2516 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2517 PyObject *resultobj;
2518 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2519 wxWindow *result;
2520 PyObject * obj0 = 0 ;
2521 char *kwnames[] = {
2522 (char *) "self", NULL
2523 };
2524
2525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2528 {
2529 PyThreadState* __tstate = wxPyBeginAllowThreads();
2530 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2531
2532 wxPyEndAllowThreads(__tstate);
2533 if (PyErr_Occurred()) SWIG_fail;
2534 }
2535 {
2536 resultobj = wxPyMake_wxObject(result, 0);
2537 }
2538 return resultobj;
2539 fail:
2540 return NULL;
2541 }
2542
2543
2544 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2545 PyObject *resultobj;
2546 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2547 wxRect *arg2 = 0 ;
2548 wxRect temp2 ;
2549 PyObject * obj0 = 0 ;
2550 PyObject * obj1 = 0 ;
2551 char *kwnames[] = {
2552 (char *) "self",(char *) "rect", NULL
2553 };
2554
2555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2558 {
2559 arg2 = &temp2;
2560 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2561 }
2562 {
2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
2564 (arg1)->SetTargetRect((wxRect const &)*arg2);
2565
2566 wxPyEndAllowThreads(__tstate);
2567 if (PyErr_Occurred()) SWIG_fail;
2568 }
2569 Py_INCREF(Py_None); resultobj = Py_None;
2570 return resultobj;
2571 fail:
2572 return NULL;
2573 }
2574
2575
2576 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2577 PyObject *resultobj;
2578 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2579 wxRect result;
2580 PyObject * obj0 = 0 ;
2581 char *kwnames[] = {
2582 (char *) "self", NULL
2583 };
2584
2585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2588 {
2589 PyThreadState* __tstate = wxPyBeginAllowThreads();
2590 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2591
2592 wxPyEndAllowThreads(__tstate);
2593 if (PyErr_Occurred()) SWIG_fail;
2594 }
2595 {
2596 wxRect * resultptr;
2597 resultptr = new wxRect((wxRect &) result);
2598 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2599 }
2600 return resultobj;
2601 fail:
2602 return NULL;
2603 }
2604
2605
2606 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2607 PyObject *resultobj;
2608 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2609 wxVisualAttributes result;
2610 PyObject * obj0 = 0 ;
2611 char *kwnames[] = {
2612 (char *) "variant", NULL
2613 };
2614
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2616 if (obj0) {
2617 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2618 if (PyErr_Occurred()) SWIG_fail;
2619 }
2620 {
2621 if (!wxPyCheckForApp()) SWIG_fail;
2622 PyThreadState* __tstate = wxPyBeginAllowThreads();
2623 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2624
2625 wxPyEndAllowThreads(__tstate);
2626 if (PyErr_Occurred()) SWIG_fail;
2627 }
2628 {
2629 wxVisualAttributes * resultptr;
2630 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2632 }
2633 return resultobj;
2634 fail:
2635 return NULL;
2636 }
2637
2638
2639 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2640 PyObject *obj;
2641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2642 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2643 Py_INCREF(obj);
2644 return Py_BuildValue((char *)"");
2645 }
2646 static int _wrap_FrameNameStr_set(PyObject *_val) {
2647 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2648 return 1;
2649 }
2650
2651
2652 static PyObject *_wrap_FrameNameStr_get() {
2653 PyObject *pyobj;
2654
2655 {
2656 #if wxUSE_UNICODE
2657 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2658 #else
2659 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2660 #endif
2661 }
2662 return pyobj;
2663 }
2664
2665
2666 static int _wrap_DialogNameStr_set(PyObject *_val) {
2667 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2668 return 1;
2669 }
2670
2671
2672 static PyObject *_wrap_DialogNameStr_get() {
2673 PyObject *pyobj;
2674
2675 {
2676 #if wxUSE_UNICODE
2677 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2678 #else
2679 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2680 #endif
2681 }
2682 return pyobj;
2683 }
2684
2685
2686 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2687 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2688 return 1;
2689 }
2690
2691
2692 static PyObject *_wrap_StatusLineNameStr_get() {
2693 PyObject *pyobj;
2694
2695 {
2696 #if wxUSE_UNICODE
2697 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2698 #else
2699 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2700 #endif
2701 }
2702 return pyobj;
2703 }
2704
2705
2706 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2707 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2708 return 1;
2709 }
2710
2711
2712 static PyObject *_wrap_ToolBarNameStr_get() {
2713 PyObject *pyobj;
2714
2715 {
2716 #if wxUSE_UNICODE
2717 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2718 #else
2719 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2720 #endif
2721 }
2722 return pyobj;
2723 }
2724
2725
2726 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2727 PyObject *resultobj;
2728 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2729 bool arg2 = (bool) True ;
2730 PyObject * obj0 = 0 ;
2731 PyObject * obj1 = 0 ;
2732 char *kwnames[] = {
2733 (char *) "self",(char *) "maximize", NULL
2734 };
2735
2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2739 if (obj1) {
2740 arg2 = (bool) SWIG_AsBool(obj1);
2741 if (PyErr_Occurred()) SWIG_fail;
2742 }
2743 {
2744 PyThreadState* __tstate = wxPyBeginAllowThreads();
2745 (arg1)->Maximize(arg2);
2746
2747 wxPyEndAllowThreads(__tstate);
2748 if (PyErr_Occurred()) SWIG_fail;
2749 }
2750 Py_INCREF(Py_None); resultobj = Py_None;
2751 return resultobj;
2752 fail:
2753 return NULL;
2754 }
2755
2756
2757 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2758 PyObject *resultobj;
2759 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2760 PyObject * obj0 = 0 ;
2761 char *kwnames[] = {
2762 (char *) "self", NULL
2763 };
2764
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2768 {
2769 PyThreadState* __tstate = wxPyBeginAllowThreads();
2770 (arg1)->Restore();
2771
2772 wxPyEndAllowThreads(__tstate);
2773 if (PyErr_Occurred()) SWIG_fail;
2774 }
2775 Py_INCREF(Py_None); resultobj = Py_None;
2776 return resultobj;
2777 fail:
2778 return NULL;
2779 }
2780
2781
2782 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2783 PyObject *resultobj;
2784 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2785 bool arg2 = (bool) True ;
2786 PyObject * obj0 = 0 ;
2787 PyObject * obj1 = 0 ;
2788 char *kwnames[] = {
2789 (char *) "self",(char *) "iconize", NULL
2790 };
2791
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2795 if (obj1) {
2796 arg2 = (bool) SWIG_AsBool(obj1);
2797 if (PyErr_Occurred()) SWIG_fail;
2798 }
2799 {
2800 PyThreadState* __tstate = wxPyBeginAllowThreads();
2801 (arg1)->Iconize(arg2);
2802
2803 wxPyEndAllowThreads(__tstate);
2804 if (PyErr_Occurred()) SWIG_fail;
2805 }
2806 Py_INCREF(Py_None); resultobj = Py_None;
2807 return resultobj;
2808 fail:
2809 return NULL;
2810 }
2811
2812
2813 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2814 PyObject *resultobj;
2815 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2816 bool result;
2817 PyObject * obj0 = 0 ;
2818 char *kwnames[] = {
2819 (char *) "self", NULL
2820 };
2821
2822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2825 {
2826 PyThreadState* __tstate = wxPyBeginAllowThreads();
2827 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2828
2829 wxPyEndAllowThreads(__tstate);
2830 if (PyErr_Occurred()) SWIG_fail;
2831 }
2832 {
2833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2834 }
2835 return resultobj;
2836 fail:
2837 return NULL;
2838 }
2839
2840
2841 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2842 PyObject *resultobj;
2843 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2844 bool result;
2845 PyObject * obj0 = 0 ;
2846 char *kwnames[] = {
2847 (char *) "self", NULL
2848 };
2849
2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2853 {
2854 PyThreadState* __tstate = wxPyBeginAllowThreads();
2855 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2856
2857 wxPyEndAllowThreads(__tstate);
2858 if (PyErr_Occurred()) SWIG_fail;
2859 }
2860 {
2861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2862 }
2863 return resultobj;
2864 fail:
2865 return NULL;
2866 }
2867
2868
2869 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2870 PyObject *resultobj;
2871 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2872 wxIcon result;
2873 PyObject * obj0 = 0 ;
2874 char *kwnames[] = {
2875 (char *) "self", NULL
2876 };
2877
2878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2881 {
2882 PyThreadState* __tstate = wxPyBeginAllowThreads();
2883 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2884
2885 wxPyEndAllowThreads(__tstate);
2886 if (PyErr_Occurred()) SWIG_fail;
2887 }
2888 {
2889 wxIcon * resultptr;
2890 resultptr = new wxIcon((wxIcon &) result);
2891 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2892 }
2893 return resultobj;
2894 fail:
2895 return NULL;
2896 }
2897
2898
2899 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2900 PyObject *resultobj;
2901 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2902 wxIcon *arg2 = 0 ;
2903 PyObject * obj0 = 0 ;
2904 PyObject * obj1 = 0 ;
2905 char *kwnames[] = {
2906 (char *) "self",(char *) "icon", NULL
2907 };
2908
2909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2912 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2913 SWIG_POINTER_EXCEPTION | 0)) == -1)
2914 SWIG_fail;
2915 if (arg2 == NULL) {
2916 PyErr_SetString(PyExc_TypeError,"null reference");
2917 SWIG_fail;
2918 }
2919 {
2920 PyThreadState* __tstate = wxPyBeginAllowThreads();
2921 (arg1)->SetIcon((wxIcon const &)*arg2);
2922
2923 wxPyEndAllowThreads(__tstate);
2924 if (PyErr_Occurred()) SWIG_fail;
2925 }
2926 Py_INCREF(Py_None); resultobj = Py_None;
2927 return resultobj;
2928 fail:
2929 return NULL;
2930 }
2931
2932
2933 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2934 PyObject *resultobj;
2935 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2936 wxIconBundle *arg2 = 0 ;
2937 PyObject * obj0 = 0 ;
2938 PyObject * obj1 = 0 ;
2939 char *kwnames[] = {
2940 (char *) "self",(char *) "icons", NULL
2941 };
2942
2943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2947 SWIG_POINTER_EXCEPTION | 0)) == -1)
2948 SWIG_fail;
2949 if (arg2 == NULL) {
2950 PyErr_SetString(PyExc_TypeError,"null reference");
2951 SWIG_fail;
2952 }
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
2960 Py_INCREF(Py_None); resultobj = Py_None;
2961 return resultobj;
2962 fail:
2963 return NULL;
2964 }
2965
2966
2967 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2968 PyObject *resultobj;
2969 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2970 bool arg2 ;
2971 long arg3 = (long) wxFULLSCREEN_ALL ;
2972 bool result;
2973 PyObject * obj0 = 0 ;
2974 PyObject * obj1 = 0 ;
2975 PyObject * obj2 = 0 ;
2976 char *kwnames[] = {
2977 (char *) "self",(char *) "show",(char *) "style", NULL
2978 };
2979
2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2983 arg2 = (bool) SWIG_AsBool(obj1);
2984 if (PyErr_Occurred()) SWIG_fail;
2985 if (obj2) {
2986 arg3 = (long) SWIG_AsLong(obj2);
2987 if (PyErr_Occurred()) SWIG_fail;
2988 }
2989 {
2990 PyThreadState* __tstate = wxPyBeginAllowThreads();
2991 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2992
2993 wxPyEndAllowThreads(__tstate);
2994 if (PyErr_Occurred()) SWIG_fail;
2995 }
2996 {
2997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2998 }
2999 return resultobj;
3000 fail:
3001 return NULL;
3002 }
3003
3004
3005 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
3006 PyObject *resultobj;
3007 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3008 bool result;
3009 PyObject * obj0 = 0 ;
3010 char *kwnames[] = {
3011 (char *) "self", NULL
3012 };
3013
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3017 {
3018 PyThreadState* __tstate = wxPyBeginAllowThreads();
3019 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3020
3021 wxPyEndAllowThreads(__tstate);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 }
3024 {
3025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3026 }
3027 return resultobj;
3028 fail:
3029 return NULL;
3030 }
3031
3032
3033 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3034 PyObject *resultobj;
3035 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3036 wxString *arg2 = 0 ;
3037 bool temp2 = False ;
3038 PyObject * obj0 = 0 ;
3039 PyObject * obj1 = 0 ;
3040 char *kwnames[] = {
3041 (char *) "self",(char *) "title", NULL
3042 };
3043
3044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3047 {
3048 arg2 = wxString_in_helper(obj1);
3049 if (arg2 == NULL) SWIG_fail;
3050 temp2 = True;
3051 }
3052 {
3053 PyThreadState* __tstate = wxPyBeginAllowThreads();
3054 (arg1)->SetTitle((wxString const &)*arg2);
3055
3056 wxPyEndAllowThreads(__tstate);
3057 if (PyErr_Occurred()) SWIG_fail;
3058 }
3059 Py_INCREF(Py_None); resultobj = Py_None;
3060 {
3061 if (temp2)
3062 delete arg2;
3063 }
3064 return resultobj;
3065 fail:
3066 {
3067 if (temp2)
3068 delete arg2;
3069 }
3070 return NULL;
3071 }
3072
3073
3074 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3075 PyObject *resultobj;
3076 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3077 wxString result;
3078 PyObject * obj0 = 0 ;
3079 char *kwnames[] = {
3080 (char *) "self", NULL
3081 };
3082
3083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) SWIG_fail;
3092 }
3093 {
3094 #if wxUSE_UNICODE
3095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3096 #else
3097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3098 #endif
3099 }
3100 return resultobj;
3101 fail:
3102 return NULL;
3103 }
3104
3105
3106 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3107 PyObject *resultobj;
3108 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3109 wxRegion *arg2 = 0 ;
3110 bool result;
3111 PyObject * obj0 = 0 ;
3112 PyObject * obj1 = 0 ;
3113 char *kwnames[] = {
3114 (char *) "self",(char *) "region", NULL
3115 };
3116
3117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3121 SWIG_POINTER_EXCEPTION | 0)) == -1)
3122 SWIG_fail;
3123 if (arg2 == NULL) {
3124 PyErr_SetString(PyExc_TypeError,"null reference");
3125 SWIG_fail;
3126 }
3127 {
3128 PyThreadState* __tstate = wxPyBeginAllowThreads();
3129 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3130
3131 wxPyEndAllowThreads(__tstate);
3132 if (PyErr_Occurred()) SWIG_fail;
3133 }
3134 {
3135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3136 }
3137 return resultobj;
3138 fail:
3139 return NULL;
3140 }
3141
3142
3143 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
3144 PyObject *resultobj;
3145 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3146 bool arg2 ;
3147 PyObject * obj0 = 0 ;
3148 PyObject * obj1 = 0 ;
3149 char *kwnames[] = {
3150 (char *) "self",(char *) "on", NULL
3151 };
3152
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3156 arg2 = (bool) SWIG_AsBool(obj1);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 {
3159 PyThreadState* __tstate = wxPyBeginAllowThreads();
3160 (arg1)->MacSetMetalAppearance(arg2);
3161
3162 wxPyEndAllowThreads(__tstate);
3163 if (PyErr_Occurred()) SWIG_fail;
3164 }
3165 Py_INCREF(Py_None); resultobj = Py_None;
3166 return resultobj;
3167 fail:
3168 return NULL;
3169 }
3170
3171
3172 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
3173 PyObject *resultobj;
3174 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3175 bool result;
3176 PyObject * obj0 = 0 ;
3177 char *kwnames[] = {
3178 (char *) "self", NULL
3179 };
3180
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 {
3192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3193 }
3194 return resultobj;
3195 fail:
3196 return NULL;
3197 }
3198
3199
3200 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3201 PyObject *obj;
3202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3203 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3204 Py_INCREF(obj);
3205 return Py_BuildValue((char *)"");
3206 }
3207 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3208 PyObject *resultobj;
3209 wxWindow *arg1 = (wxWindow *) 0 ;
3210 int arg2 = (int) (int)-1 ;
3211 wxString const &arg3_defvalue = wxPyEmptyString ;
3212 wxString *arg3 = (wxString *) &arg3_defvalue ;
3213 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3214 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3215 wxSize const &arg5_defvalue = wxDefaultSize ;
3216 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3217 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3218 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3219 wxString *arg7 = (wxString *) &arg7_defvalue ;
3220 wxFrame *result;
3221 bool temp3 = False ;
3222 wxPoint temp4 ;
3223 wxSize temp5 ;
3224 bool temp7 = False ;
3225 PyObject * obj0 = 0 ;
3226 PyObject * obj1 = 0 ;
3227 PyObject * obj2 = 0 ;
3228 PyObject * obj3 = 0 ;
3229 PyObject * obj4 = 0 ;
3230 PyObject * obj5 = 0 ;
3231 PyObject * obj6 = 0 ;
3232 char *kwnames[] = {
3233 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3239 if (obj1) {
3240 arg2 = (int const) SWIG_AsInt(obj1);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 if (obj2) {
3244 {
3245 arg3 = wxString_in_helper(obj2);
3246 if (arg3 == NULL) SWIG_fail;
3247 temp3 = True;
3248 }
3249 }
3250 if (obj3) {
3251 {
3252 arg4 = &temp4;
3253 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3254 }
3255 }
3256 if (obj4) {
3257 {
3258 arg5 = &temp5;
3259 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3260 }
3261 }
3262 if (obj5) {
3263 arg6 = (long) SWIG_AsLong(obj5);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 if (obj6) {
3267 {
3268 arg7 = wxString_in_helper(obj6);
3269 if (arg7 == NULL) SWIG_fail;
3270 temp7 = True;
3271 }
3272 }
3273 {
3274 if (!wxPyCheckForApp()) SWIG_fail;
3275 PyThreadState* __tstate = wxPyBeginAllowThreads();
3276 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3277
3278 wxPyEndAllowThreads(__tstate);
3279 if (PyErr_Occurred()) SWIG_fail;
3280 }
3281 {
3282 resultobj = wxPyMake_wxObject(result, 1);
3283 }
3284 {
3285 if (temp3)
3286 delete arg3;
3287 }
3288 {
3289 if (temp7)
3290 delete arg7;
3291 }
3292 return resultobj;
3293 fail:
3294 {
3295 if (temp3)
3296 delete arg3;
3297 }
3298 {
3299 if (temp7)
3300 delete arg7;
3301 }
3302 return NULL;
3303 }
3304
3305
3306 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxFrame *result;
3309 char *kwnames[] = {
3310 NULL
3311 };
3312
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3314 {
3315 if (!wxPyCheckForApp()) SWIG_fail;
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 result = (wxFrame *)new wxFrame();
3318
3319 wxPyEndAllowThreads(__tstate);
3320 if (PyErr_Occurred()) SWIG_fail;
3321 }
3322 {
3323 resultobj = wxPyMake_wxObject(result, 1);
3324 }
3325 return resultobj;
3326 fail:
3327 return NULL;
3328 }
3329
3330
3331 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3332 PyObject *resultobj;
3333 wxFrame *arg1 = (wxFrame *) 0 ;
3334 wxWindow *arg2 = (wxWindow *) 0 ;
3335 int arg3 = (int) (int)-1 ;
3336 wxString const &arg4_defvalue = wxPyEmptyString ;
3337 wxString *arg4 = (wxString *) &arg4_defvalue ;
3338 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3339 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3340 wxSize const &arg6_defvalue = wxDefaultSize ;
3341 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3342 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3343 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3344 wxString *arg8 = (wxString *) &arg8_defvalue ;
3345 bool result;
3346 bool temp4 = False ;
3347 wxPoint temp5 ;
3348 wxSize temp6 ;
3349 bool temp8 = False ;
3350 PyObject * obj0 = 0 ;
3351 PyObject * obj1 = 0 ;
3352 PyObject * obj2 = 0 ;
3353 PyObject * obj3 = 0 ;
3354 PyObject * obj4 = 0 ;
3355 PyObject * obj5 = 0 ;
3356 PyObject * obj6 = 0 ;
3357 PyObject * obj7 = 0 ;
3358 char *kwnames[] = {
3359 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3360 };
3361
3362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3365 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3367 if (obj2) {
3368 arg3 = (int const) SWIG_AsInt(obj2);
3369 if (PyErr_Occurred()) SWIG_fail;
3370 }
3371 if (obj3) {
3372 {
3373 arg4 = wxString_in_helper(obj3);
3374 if (arg4 == NULL) SWIG_fail;
3375 temp4 = True;
3376 }
3377 }
3378 if (obj4) {
3379 {
3380 arg5 = &temp5;
3381 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3382 }
3383 }
3384 if (obj5) {
3385 {
3386 arg6 = &temp6;
3387 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3388 }
3389 }
3390 if (obj6) {
3391 arg7 = (long) SWIG_AsLong(obj6);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 if (obj7) {
3395 {
3396 arg8 = wxString_in_helper(obj7);
3397 if (arg8 == NULL) SWIG_fail;
3398 temp8 = True;
3399 }
3400 }
3401 {
3402 PyThreadState* __tstate = wxPyBeginAllowThreads();
3403 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3404
3405 wxPyEndAllowThreads(__tstate);
3406 if (PyErr_Occurred()) SWIG_fail;
3407 }
3408 {
3409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3410 }
3411 {
3412 if (temp4)
3413 delete arg4;
3414 }
3415 {
3416 if (temp8)
3417 delete arg8;
3418 }
3419 return resultobj;
3420 fail:
3421 {
3422 if (temp4)
3423 delete arg4;
3424 }
3425 {
3426 if (temp8)
3427 delete arg8;
3428 }
3429 return NULL;
3430 }
3431
3432
3433 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3434 PyObject *resultobj;
3435 wxFrame *arg1 = (wxFrame *) 0 ;
3436 wxPoint result;
3437 PyObject * obj0 = 0 ;
3438 char *kwnames[] = {
3439 (char *) "self", NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3448
3449 wxPyEndAllowThreads(__tstate);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 {
3453 wxPoint * resultptr;
3454 resultptr = new wxPoint((wxPoint &) result);
3455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3456 }
3457 return resultobj;
3458 fail:
3459 return NULL;
3460 }
3461
3462
3463 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3464 PyObject *resultobj;
3465 wxFrame *arg1 = (wxFrame *) 0 ;
3466 PyObject * obj0 = 0 ;
3467 char *kwnames[] = {
3468 (char *) "self", NULL
3469 };
3470
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3474 {
3475 PyThreadState* __tstate = wxPyBeginAllowThreads();
3476 (arg1)->SendSizeEvent();
3477
3478 wxPyEndAllowThreads(__tstate);
3479 if (PyErr_Occurred()) SWIG_fail;
3480 }
3481 Py_INCREF(Py_None); resultobj = Py_None;
3482 return resultobj;
3483 fail:
3484 return NULL;
3485 }
3486
3487
3488 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3489 PyObject *resultobj;
3490 wxFrame *arg1 = (wxFrame *) 0 ;
3491 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3492 PyObject * obj0 = 0 ;
3493 PyObject * obj1 = 0 ;
3494 char *kwnames[] = {
3495 (char *) "self",(char *) "menubar", NULL
3496 };
3497
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 (arg1)->SetMenuBar(arg2);
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 Py_INCREF(Py_None); resultobj = Py_None;
3511 return resultobj;
3512 fail:
3513 return NULL;
3514 }
3515
3516
3517 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3518 PyObject *resultobj;
3519 wxFrame *arg1 = (wxFrame *) 0 ;
3520 wxMenuBar *result;
3521 PyObject * obj0 = 0 ;
3522 char *kwnames[] = {
3523 (char *) "self", NULL
3524 };
3525
3526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3529 {
3530 PyThreadState* __tstate = wxPyBeginAllowThreads();
3531 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3532
3533 wxPyEndAllowThreads(__tstate);
3534 if (PyErr_Occurred()) SWIG_fail;
3535 }
3536 {
3537 resultobj = wxPyMake_wxObject(result, 0);
3538 }
3539 return resultobj;
3540 fail:
3541 return NULL;
3542 }
3543
3544
3545 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3546 PyObject *resultobj;
3547 wxFrame *arg1 = (wxFrame *) 0 ;
3548 int arg2 ;
3549 bool result;
3550 PyObject * obj0 = 0 ;
3551 PyObject * obj1 = 0 ;
3552 char *kwnames[] = {
3553 (char *) "self",(char *) "winid", NULL
3554 };
3555
3556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3559 arg2 = (int) SWIG_AsInt(obj1);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 {
3562 PyThreadState* __tstate = wxPyBeginAllowThreads();
3563 result = (bool)(arg1)->ProcessCommand(arg2);
3564
3565 wxPyEndAllowThreads(__tstate);
3566 if (PyErr_Occurred()) SWIG_fail;
3567 }
3568 {
3569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3570 }
3571 return resultobj;
3572 fail:
3573 return NULL;
3574 }
3575
3576
3577 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3578 PyObject *resultobj;
3579 wxFrame *arg1 = (wxFrame *) 0 ;
3580 int arg2 = (int) 1 ;
3581 long arg3 = (long) wxST_SIZEGRIP ;
3582 int arg4 = (int) 0 ;
3583 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3584 wxString *arg5 = (wxString *) &arg5_defvalue ;
3585 wxStatusBar *result;
3586 bool temp5 = False ;
3587 PyObject * obj0 = 0 ;
3588 PyObject * obj1 = 0 ;
3589 PyObject * obj2 = 0 ;
3590 PyObject * obj3 = 0 ;
3591 PyObject * obj4 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3599 if (obj1) {
3600 arg2 = (int) SWIG_AsInt(obj1);
3601 if (PyErr_Occurred()) SWIG_fail;
3602 }
3603 if (obj2) {
3604 arg3 = (long) SWIG_AsLong(obj2);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
3607 if (obj3) {
3608 arg4 = (int) SWIG_AsInt(obj3);
3609 if (PyErr_Occurred()) SWIG_fail;
3610 }
3611 if (obj4) {
3612 {
3613 arg5 = wxString_in_helper(obj4);
3614 if (arg5 == NULL) SWIG_fail;
3615 temp5 = True;
3616 }
3617 }
3618 {
3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
3620 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3621
3622 wxPyEndAllowThreads(__tstate);
3623 if (PyErr_Occurred()) SWIG_fail;
3624 }
3625 {
3626 resultobj = wxPyMake_wxObject(result, 0);
3627 }
3628 {
3629 if (temp5)
3630 delete arg5;
3631 }
3632 return resultobj;
3633 fail:
3634 {
3635 if (temp5)
3636 delete arg5;
3637 }
3638 return NULL;
3639 }
3640
3641
3642 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3643 PyObject *resultobj;
3644 wxFrame *arg1 = (wxFrame *) 0 ;
3645 wxStatusBar *result;
3646 PyObject * obj0 = 0 ;
3647 char *kwnames[] = {
3648 (char *) "self", NULL
3649 };
3650
3651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3654 {
3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
3656 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3657
3658 wxPyEndAllowThreads(__tstate);
3659 if (PyErr_Occurred()) SWIG_fail;
3660 }
3661 {
3662 resultobj = wxPyMake_wxObject(result, 0);
3663 }
3664 return resultobj;
3665 fail:
3666 return NULL;
3667 }
3668
3669
3670 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3671 PyObject *resultobj;
3672 wxFrame *arg1 = (wxFrame *) 0 ;
3673 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3674 PyObject * obj0 = 0 ;
3675 PyObject * obj1 = 0 ;
3676 char *kwnames[] = {
3677 (char *) "self",(char *) "statBar", NULL
3678 };
3679
3680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3683 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 (arg1)->SetStatusBar(arg2);
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 Py_INCREF(Py_None); resultobj = Py_None;
3693 return resultobj;
3694 fail:
3695 return NULL;
3696 }
3697
3698
3699 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 wxFrame *arg1 = (wxFrame *) 0 ;
3702 wxString *arg2 = 0 ;
3703 int arg3 = (int) 0 ;
3704 bool temp2 = False ;
3705 PyObject * obj0 = 0 ;
3706 PyObject * obj1 = 0 ;
3707 PyObject * obj2 = 0 ;
3708 char *kwnames[] = {
3709 (char *) "self",(char *) "text",(char *) "number", NULL
3710 };
3711
3712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3715 {
3716 arg2 = wxString_in_helper(obj1);
3717 if (arg2 == NULL) SWIG_fail;
3718 temp2 = True;
3719 }
3720 if (obj2) {
3721 arg3 = (int) SWIG_AsInt(obj2);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 {
3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
3726 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3727
3728 wxPyEndAllowThreads(__tstate);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 Py_INCREF(Py_None); resultobj = Py_None;
3732 {
3733 if (temp2)
3734 delete arg2;
3735 }
3736 return resultobj;
3737 fail:
3738 {
3739 if (temp2)
3740 delete arg2;
3741 }
3742 return NULL;
3743 }
3744
3745
3746 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3747 PyObject *resultobj;
3748 wxFrame *arg1 = (wxFrame *) 0 ;
3749 int arg2 ;
3750 int *arg3 = (int *) 0 ;
3751 PyObject * obj0 = 0 ;
3752 PyObject * obj1 = 0 ;
3753 char *kwnames[] = {
3754 (char *) "self",(char *) "widths", NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3760 {
3761 arg2 = PyList_Size(obj1);
3762 arg3 = int_LIST_helper(obj1);
3763 if (arg3 == NULL) SWIG_fail;
3764 }
3765 {
3766 PyThreadState* __tstate = wxPyBeginAllowThreads();
3767 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3768
3769 wxPyEndAllowThreads(__tstate);
3770 if (PyErr_Occurred()) SWIG_fail;
3771 }
3772 Py_INCREF(Py_None); resultobj = Py_None;
3773 {
3774 if (arg3) delete [] arg3;
3775 }
3776 return resultobj;
3777 fail:
3778 {
3779 if (arg3) delete [] arg3;
3780 }
3781 return NULL;
3782 }
3783
3784
3785 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3786 PyObject *resultobj;
3787 wxFrame *arg1 = (wxFrame *) 0 ;
3788 wxString *arg2 = 0 ;
3789 int arg3 = (int) 0 ;
3790 bool temp2 = False ;
3791 PyObject * obj0 = 0 ;
3792 PyObject * obj1 = 0 ;
3793 PyObject * obj2 = 0 ;
3794 char *kwnames[] = {
3795 (char *) "self",(char *) "text",(char *) "number", NULL
3796 };
3797
3798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3801 {
3802 arg2 = wxString_in_helper(obj1);
3803 if (arg2 == NULL) SWIG_fail;
3804 temp2 = True;
3805 }
3806 if (obj2) {
3807 arg3 = (int) SWIG_AsInt(obj2);
3808 if (PyErr_Occurred()) SWIG_fail;
3809 }
3810 {
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3813
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) SWIG_fail;
3816 }
3817 Py_INCREF(Py_None); resultobj = Py_None;
3818 {
3819 if (temp2)
3820 delete arg2;
3821 }
3822 return resultobj;
3823 fail:
3824 {
3825 if (temp2)
3826 delete arg2;
3827 }
3828 return NULL;
3829 }
3830
3831
3832 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3833 PyObject *resultobj;
3834 wxFrame *arg1 = (wxFrame *) 0 ;
3835 int arg2 = (int) 0 ;
3836 PyObject * obj0 = 0 ;
3837 PyObject * obj1 = 0 ;
3838 char *kwnames[] = {
3839 (char *) "self",(char *) "number", NULL
3840 };
3841
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3845 if (obj1) {
3846 arg2 = (int) SWIG_AsInt(obj1);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 (arg1)->PopStatusText(arg2);
3852
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 Py_INCREF(Py_None); resultobj = Py_None;
3857 return resultobj;
3858 fail:
3859 return NULL;
3860 }
3861
3862
3863 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj;
3865 wxFrame *arg1 = (wxFrame *) 0 ;
3866 int arg2 ;
3867 PyObject * obj0 = 0 ;
3868 PyObject * obj1 = 0 ;
3869 char *kwnames[] = {
3870 (char *) "self",(char *) "n", NULL
3871 };
3872
3873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3876 arg2 = (int) SWIG_AsInt(obj1);
3877 if (PyErr_Occurred()) SWIG_fail;
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 (arg1)->SetStatusBarPane(arg2);
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 Py_INCREF(Py_None); resultobj = Py_None;
3886 return resultobj;
3887 fail:
3888 return NULL;
3889 }
3890
3891
3892 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3893 PyObject *resultobj;
3894 wxFrame *arg1 = (wxFrame *) 0 ;
3895 int result;
3896 PyObject * obj0 = 0 ;
3897 char *kwnames[] = {
3898 (char *) "self", NULL
3899 };
3900
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3904 {
3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
3906 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3907
3908 wxPyEndAllowThreads(__tstate);
3909 if (PyErr_Occurred()) SWIG_fail;
3910 }
3911 resultobj = SWIG_FromInt((int)result);
3912 return resultobj;
3913 fail:
3914 return NULL;
3915 }
3916
3917
3918 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3919 PyObject *resultobj;
3920 wxFrame *arg1 = (wxFrame *) 0 ;
3921 long arg2 = (long) -1 ;
3922 int arg3 = (int) -1 ;
3923 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3924 wxString *arg4 = (wxString *) &arg4_defvalue ;
3925 wxToolBar *result;
3926 bool temp4 = False ;
3927 PyObject * obj0 = 0 ;
3928 PyObject * obj1 = 0 ;
3929 PyObject * obj2 = 0 ;
3930 PyObject * obj3 = 0 ;
3931 char *kwnames[] = {
3932 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3933 };
3934
3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3938 if (obj1) {
3939 arg2 = (long) SWIG_AsLong(obj1);
3940 if (PyErr_Occurred()) SWIG_fail;
3941 }
3942 if (obj2) {
3943 arg3 = (int) SWIG_AsInt(obj2);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
3946 if (obj3) {
3947 {
3948 arg4 = wxString_in_helper(obj3);
3949 if (arg4 == NULL) SWIG_fail;
3950 temp4 = True;
3951 }
3952 }
3953 {
3954 PyThreadState* __tstate = wxPyBeginAllowThreads();
3955 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3956
3957 wxPyEndAllowThreads(__tstate);
3958 if (PyErr_Occurred()) SWIG_fail;
3959 }
3960 {
3961 resultobj = wxPyMake_wxObject(result, 0);
3962 }
3963 {
3964 if (temp4)
3965 delete arg4;
3966 }
3967 return resultobj;
3968 fail:
3969 {
3970 if (temp4)
3971 delete arg4;
3972 }
3973 return NULL;
3974 }
3975
3976
3977 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3978 PyObject *resultobj;
3979 wxFrame *arg1 = (wxFrame *) 0 ;
3980 wxToolBar *result;
3981 PyObject * obj0 = 0 ;
3982 char *kwnames[] = {
3983 (char *) "self", NULL
3984 };
3985
3986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3989 {
3990 PyThreadState* __tstate = wxPyBeginAllowThreads();
3991 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3992
3993 wxPyEndAllowThreads(__tstate);
3994 if (PyErr_Occurred()) SWIG_fail;
3995 }
3996 {
3997 resultobj = wxPyMake_wxObject(result, 0);
3998 }
3999 return resultobj;
4000 fail:
4001 return NULL;
4002 }
4003
4004
4005 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4006 PyObject *resultobj;
4007 wxFrame *arg1 = (wxFrame *) 0 ;
4008 wxToolBar *arg2 = (wxToolBar *) 0 ;
4009 PyObject * obj0 = 0 ;
4010 PyObject * obj1 = 0 ;
4011 char *kwnames[] = {
4012 (char *) "self",(char *) "toolbar", NULL
4013 };
4014
4015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4020 {
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4022 (arg1)->SetToolBar(arg2);
4023
4024 wxPyEndAllowThreads(__tstate);
4025 if (PyErr_Occurred()) SWIG_fail;
4026 }
4027 Py_INCREF(Py_None); resultobj = Py_None;
4028 return resultobj;
4029 fail:
4030 return NULL;
4031 }
4032
4033
4034 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
4035 PyObject *resultobj;
4036 wxFrame *arg1 = (wxFrame *) 0 ;
4037 wxString *arg2 = 0 ;
4038 bool arg3 ;
4039 bool temp2 = False ;
4040 PyObject * obj0 = 0 ;
4041 PyObject * obj1 = 0 ;
4042 PyObject * obj2 = 0 ;
4043 char *kwnames[] = {
4044 (char *) "self",(char *) "text",(char *) "show", NULL
4045 };
4046
4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4050 {
4051 arg2 = wxString_in_helper(obj1);
4052 if (arg2 == NULL) SWIG_fail;
4053 temp2 = True;
4054 }
4055 arg3 = (bool) SWIG_AsBool(obj2);
4056 if (PyErr_Occurred()) SWIG_fail;
4057 {
4058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4059 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4060
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 }
4064 Py_INCREF(Py_None); resultobj = Py_None;
4065 {
4066 if (temp2)
4067 delete arg2;
4068 }
4069 return resultobj;
4070 fail:
4071 {
4072 if (temp2)
4073 delete arg2;
4074 }
4075 return NULL;
4076 }
4077
4078
4079 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxFrame *arg1 = (wxFrame *) 0 ;
4082 wxMenu *arg2 = (wxMenu *) NULL ;
4083 PyObject * obj0 = 0 ;
4084 PyObject * obj1 = 0 ;
4085 char *kwnames[] = {
4086 (char *) "self",(char *) "menu", NULL
4087 };
4088
4089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4092 if (obj1) {
4093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4095 }
4096 {
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 (arg1)->DoMenuUpdates(arg2);
4099
4100 wxPyEndAllowThreads(__tstate);
4101 if (PyErr_Occurred()) SWIG_fail;
4102 }
4103 Py_INCREF(Py_None); resultobj = Py_None;
4104 return resultobj;
4105 fail:
4106 return NULL;
4107 }
4108
4109
4110 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4111 PyObject *resultobj;
4112 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4113 wxVisualAttributes result;
4114 PyObject * obj0 = 0 ;
4115 char *kwnames[] = {
4116 (char *) "variant", NULL
4117 };
4118
4119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4120 if (obj0) {
4121 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 {
4125 if (!wxPyCheckForApp()) SWIG_fail;
4126 PyThreadState* __tstate = wxPyBeginAllowThreads();
4127 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4128
4129 wxPyEndAllowThreads(__tstate);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 }
4132 {
4133 wxVisualAttributes * resultptr;
4134 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4135 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4136 }
4137 return resultobj;
4138 fail:
4139 return NULL;
4140 }
4141
4142
4143 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
4144 PyObject *obj;
4145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4146 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4147 Py_INCREF(obj);
4148 return Py_BuildValue((char *)"");
4149 }
4150 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4151 PyObject *resultobj;
4152 wxWindow *arg1 = (wxWindow *) 0 ;
4153 int arg2 = (int) (int)-1 ;
4154 wxString const &arg3_defvalue = wxPyEmptyString ;
4155 wxString *arg3 = (wxString *) &arg3_defvalue ;
4156 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4157 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4158 wxSize const &arg5_defvalue = wxDefaultSize ;
4159 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4160 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4161 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4162 wxString *arg7 = (wxString *) &arg7_defvalue ;
4163 wxDialog *result;
4164 bool temp3 = False ;
4165 wxPoint temp4 ;
4166 wxSize temp5 ;
4167 bool temp7 = False ;
4168 PyObject * obj0 = 0 ;
4169 PyObject * obj1 = 0 ;
4170 PyObject * obj2 = 0 ;
4171 PyObject * obj3 = 0 ;
4172 PyObject * obj4 = 0 ;
4173 PyObject * obj5 = 0 ;
4174 PyObject * obj6 = 0 ;
4175 char *kwnames[] = {
4176 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4177 };
4178
4179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4182 if (obj1) {
4183 arg2 = (int const) SWIG_AsInt(obj1);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
4186 if (obj2) {
4187 {
4188 arg3 = wxString_in_helper(obj2);
4189 if (arg3 == NULL) SWIG_fail;
4190 temp3 = True;
4191 }
4192 }
4193 if (obj3) {
4194 {
4195 arg4 = &temp4;
4196 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4197 }
4198 }
4199 if (obj4) {
4200 {
4201 arg5 = &temp5;
4202 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4203 }
4204 }
4205 if (obj5) {
4206 arg6 = (long) SWIG_AsLong(obj5);
4207 if (PyErr_Occurred()) SWIG_fail;
4208 }
4209 if (obj6) {
4210 {
4211 arg7 = wxString_in_helper(obj6);
4212 if (arg7 == NULL) SWIG_fail;
4213 temp7 = True;
4214 }
4215 }
4216 {
4217 if (!wxPyCheckForApp()) SWIG_fail;
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4220
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 {
4225 resultobj = wxPyMake_wxObject(result, 1);
4226 }
4227 {
4228 if (temp3)
4229 delete arg3;
4230 }
4231 {
4232 if (temp7)
4233 delete arg7;
4234 }
4235 return resultobj;
4236 fail:
4237 {
4238 if (temp3)
4239 delete arg3;
4240 }
4241 {
4242 if (temp7)
4243 delete arg7;
4244 }
4245 return NULL;
4246 }
4247
4248
4249 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj;
4251 wxDialog *result;
4252 char *kwnames[] = {
4253 NULL
4254 };
4255
4256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4257 {
4258 if (!wxPyCheckForApp()) SWIG_fail;
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 result = (wxDialog *)new wxDialog();
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 {
4266 resultobj = wxPyMake_wxObject(result, 1);
4267 }
4268 return resultobj;
4269 fail:
4270 return NULL;
4271 }
4272
4273
4274 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4275 PyObject *resultobj;
4276 wxDialog *arg1 = (wxDialog *) 0 ;
4277 wxWindow *arg2 = (wxWindow *) 0 ;
4278 int arg3 = (int) (int)-1 ;
4279 wxString const &arg4_defvalue = wxPyEmptyString ;
4280 wxString *arg4 = (wxString *) &arg4_defvalue ;
4281 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4282 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4283 wxSize const &arg6_defvalue = wxDefaultSize ;
4284 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4285 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4286 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4287 wxString *arg8 = (wxString *) &arg8_defvalue ;
4288 bool result;
4289 bool temp4 = False ;
4290 wxPoint temp5 ;
4291 wxSize temp6 ;
4292 bool temp8 = False ;
4293 PyObject * obj0 = 0 ;
4294 PyObject * obj1 = 0 ;
4295 PyObject * obj2 = 0 ;
4296 PyObject * obj3 = 0 ;
4297 PyObject * obj4 = 0 ;
4298 PyObject * obj5 = 0 ;
4299 PyObject * obj6 = 0 ;
4300 PyObject * obj7 = 0 ;
4301 char *kwnames[] = {
4302 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4303 };
4304
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4308 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4310 if (obj2) {
4311 arg3 = (int const) SWIG_AsInt(obj2);
4312 if (PyErr_Occurred()) SWIG_fail;
4313 }
4314 if (obj3) {
4315 {
4316 arg4 = wxString_in_helper(obj3);
4317 if (arg4 == NULL) SWIG_fail;
4318 temp4 = True;
4319 }
4320 }
4321 if (obj4) {
4322 {
4323 arg5 = &temp5;
4324 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4325 }
4326 }
4327 if (obj5) {
4328 {
4329 arg6 = &temp6;
4330 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4331 }
4332 }
4333 if (obj6) {
4334 arg7 = (long) SWIG_AsLong(obj6);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
4337 if (obj7) {
4338 {
4339 arg8 = wxString_in_helper(obj7);
4340 if (arg8 == NULL) SWIG_fail;
4341 temp8 = True;
4342 }
4343 }
4344 {
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4347
4348 wxPyEndAllowThreads(__tstate);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 }
4351 {
4352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4353 }
4354 {
4355 if (temp4)
4356 delete arg4;
4357 }
4358 {
4359 if (temp8)
4360 delete arg8;
4361 }
4362 return resultobj;
4363 fail:
4364 {
4365 if (temp4)
4366 delete arg4;
4367 }
4368 {
4369 if (temp8)
4370 delete arg8;
4371 }
4372 return NULL;
4373 }
4374
4375
4376 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4377 PyObject *resultobj;
4378 wxDialog *arg1 = (wxDialog *) 0 ;
4379 int arg2 ;
4380 PyObject * obj0 = 0 ;
4381 PyObject * obj1 = 0 ;
4382 char *kwnames[] = {
4383 (char *) "self",(char *) "returnCode", NULL
4384 };
4385
4386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4389 arg2 = (int) SWIG_AsInt(obj1);
4390 if (PyErr_Occurred()) SWIG_fail;
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 (arg1)->SetReturnCode(arg2);
4394
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 Py_INCREF(Py_None); resultobj = Py_None;
4399 return resultobj;
4400 fail:
4401 return NULL;
4402 }
4403
4404
4405 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4406 PyObject *resultobj;
4407 wxDialog *arg1 = (wxDialog *) 0 ;
4408 int result;
4409 PyObject * obj0 = 0 ;
4410 char *kwnames[] = {
4411 (char *) "self", NULL
4412 };
4413
4414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4417 {
4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
4419 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4420
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 resultobj = SWIG_FromInt((int)result);
4425 return resultobj;
4426 fail:
4427 return NULL;
4428 }
4429
4430
4431 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj;
4433 wxDialog *arg1 = (wxDialog *) 0 ;
4434 wxString *arg2 = 0 ;
4435 wxSizer *result;
4436 bool temp2 = False ;
4437 PyObject * obj0 = 0 ;
4438 PyObject * obj1 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self",(char *) "message", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4446 {
4447 arg2 = wxString_in_helper(obj1);
4448 if (arg2 == NULL) SWIG_fail;
4449 temp2 = True;
4450 }
4451 {
4452 PyThreadState* __tstate = wxPyBeginAllowThreads();
4453 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4454
4455 wxPyEndAllowThreads(__tstate);
4456 if (PyErr_Occurred()) SWIG_fail;
4457 }
4458 {
4459 resultobj = wxPyMake_wxSizer(result, 0);
4460 }
4461 {
4462 if (temp2)
4463 delete arg2;
4464 }
4465 return resultobj;
4466 fail:
4467 {
4468 if (temp2)
4469 delete arg2;
4470 }
4471 return NULL;
4472 }
4473
4474
4475 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4476 PyObject *resultobj;
4477 wxDialog *arg1 = (wxDialog *) 0 ;
4478 long arg2 ;
4479 wxSizer *result;
4480 PyObject * obj0 = 0 ;
4481 PyObject * obj1 = 0 ;
4482 char *kwnames[] = {
4483 (char *) "self",(char *) "flags", NULL
4484 };
4485
4486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4489 arg2 = (long) SWIG_AsLong(obj1);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 {
4492 PyThreadState* __tstate = wxPyBeginAllowThreads();
4493 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4494
4495 wxPyEndAllowThreads(__tstate);
4496 if (PyErr_Occurred()) SWIG_fail;
4497 }
4498 {
4499 resultobj = wxPyMake_wxSizer(result, 0);
4500 }
4501 return resultobj;
4502 fail:
4503 return NULL;
4504 }
4505
4506
4507 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4508 PyObject *resultobj;
4509 wxDialog *arg1 = (wxDialog *) 0 ;
4510 bool result;
4511 PyObject * obj0 = 0 ;
4512 char *kwnames[] = {
4513 (char *) "self", NULL
4514 };
4515
4516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4519 {
4520 PyThreadState* __tstate = wxPyBeginAllowThreads();
4521 result = (bool)((wxDialog const *)arg1)->IsModal();
4522
4523 wxPyEndAllowThreads(__tstate);
4524 if (PyErr_Occurred()) SWIG_fail;
4525 }
4526 {
4527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4528 }
4529 return resultobj;
4530 fail:
4531 return NULL;
4532 }
4533
4534
4535 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4536 PyObject *resultobj;
4537 wxDialog *arg1 = (wxDialog *) 0 ;
4538 int result;
4539 PyObject * obj0 = 0 ;
4540 char *kwnames[] = {
4541 (char *) "self", NULL
4542 };
4543
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 result = (int)(arg1)->ShowModal();
4550
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 resultobj = SWIG_FromInt((int)result);
4555 return resultobj;
4556 fail:
4557 return NULL;
4558 }
4559
4560
4561 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4562 PyObject *resultobj;
4563 wxDialog *arg1 = (wxDialog *) 0 ;
4564 int arg2 ;
4565 PyObject * obj0 = 0 ;
4566 PyObject * obj1 = 0 ;
4567 char *kwnames[] = {
4568 (char *) "self",(char *) "retCode", NULL
4569 };
4570
4571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4574 arg2 = (int) SWIG_AsInt(obj1);
4575 if (PyErr_Occurred()) SWIG_fail;
4576 {
4577 PyThreadState* __tstate = wxPyBeginAllowThreads();
4578 (arg1)->EndModal(arg2);
4579
4580 wxPyEndAllowThreads(__tstate);
4581 if (PyErr_Occurred()) SWIG_fail;
4582 }
4583 Py_INCREF(Py_None); resultobj = Py_None;
4584 return resultobj;
4585 fail:
4586 return NULL;
4587 }
4588
4589
4590 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4591 PyObject *resultobj;
4592 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4593 wxVisualAttributes result;
4594 PyObject * obj0 = 0 ;
4595 char *kwnames[] = {
4596 (char *) "variant", NULL
4597 };
4598
4599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4600 if (obj0) {
4601 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
4604 {
4605 if (!wxPyCheckForApp()) SWIG_fail;
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4608
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 {
4613 wxVisualAttributes * resultptr;
4614 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4615 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4616 }
4617 return resultobj;
4618 fail:
4619 return NULL;
4620 }
4621
4622
4623 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4624 PyObject *obj;
4625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4626 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4627 Py_INCREF(obj);
4628 return Py_BuildValue((char *)"");
4629 }
4630 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4631 PyObject *resultobj;
4632 wxWindow *arg1 = (wxWindow *) 0 ;
4633 int arg2 = (int) (int)-1 ;
4634 wxString const &arg3_defvalue = wxPyEmptyString ;
4635 wxString *arg3 = (wxString *) &arg3_defvalue ;
4636 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4637 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4638 wxSize const &arg5_defvalue = wxDefaultSize ;
4639 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4640 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4641 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4642 wxString *arg7 = (wxString *) &arg7_defvalue ;
4643 wxMiniFrame *result;
4644 bool temp3 = False ;
4645 wxPoint temp4 ;
4646 wxSize temp5 ;
4647 bool temp7 = False ;
4648 PyObject * obj0 = 0 ;
4649 PyObject * obj1 = 0 ;
4650 PyObject * obj2 = 0 ;
4651 PyObject * obj3 = 0 ;
4652 PyObject * obj4 = 0 ;
4653 PyObject * obj5 = 0 ;
4654 PyObject * obj6 = 0 ;
4655 char *kwnames[] = {
4656 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4657 };
4658
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4662 if (obj1) {
4663 arg2 = (int const) SWIG_AsInt(obj1);
4664 if (PyErr_Occurred()) SWIG_fail;
4665 }
4666 if (obj2) {
4667 {
4668 arg3 = wxString_in_helper(obj2);
4669 if (arg3 == NULL) SWIG_fail;
4670 temp3 = True;
4671 }
4672 }
4673 if (obj3) {
4674 {
4675 arg4 = &temp4;
4676 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4677 }
4678 }
4679 if (obj4) {
4680 {
4681 arg5 = &temp5;
4682 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4683 }
4684 }
4685 if (obj5) {
4686 arg6 = (long) SWIG_AsLong(obj5);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 }
4689 if (obj6) {
4690 {
4691 arg7 = wxString_in_helper(obj6);
4692 if (arg7 == NULL) SWIG_fail;
4693 temp7 = True;
4694 }
4695 }
4696 {
4697 if (!wxPyCheckForApp()) SWIG_fail;
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4705 {
4706 if (temp3)
4707 delete arg3;
4708 }
4709 {
4710 if (temp7)
4711 delete arg7;
4712 }
4713 return resultobj;
4714 fail:
4715 {
4716 if (temp3)
4717 delete arg3;
4718 }
4719 {
4720 if (temp7)
4721 delete arg7;
4722 }
4723 return NULL;
4724 }
4725
4726
4727 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4728 PyObject *resultobj;
4729 wxMiniFrame *result;
4730 char *kwnames[] = {
4731 NULL
4732 };
4733
4734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4735 {
4736 if (!wxPyCheckForApp()) SWIG_fail;
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 result = (wxMiniFrame *)new wxMiniFrame();
4739
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4744 return resultobj;
4745 fail:
4746 return NULL;
4747 }
4748
4749
4750 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4751 PyObject *resultobj;
4752 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4753 wxWindow *arg2 = (wxWindow *) 0 ;
4754 int arg3 = (int) (int)-1 ;
4755 wxString const &arg4_defvalue = wxPyEmptyString ;
4756 wxString *arg4 = (wxString *) &arg4_defvalue ;
4757 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4758 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4759 wxSize const &arg6_defvalue = wxDefaultSize ;
4760 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4761 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4762 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4763 wxString *arg8 = (wxString *) &arg8_defvalue ;
4764 bool result;
4765 bool temp4 = False ;
4766 wxPoint temp5 ;
4767 wxSize temp6 ;
4768 bool temp8 = False ;
4769 PyObject * obj0 = 0 ;
4770 PyObject * obj1 = 0 ;
4771 PyObject * obj2 = 0 ;
4772 PyObject * obj3 = 0 ;
4773 PyObject * obj4 = 0 ;
4774 PyObject * obj5 = 0 ;
4775 PyObject * obj6 = 0 ;
4776 PyObject * obj7 = 0 ;
4777 char *kwnames[] = {
4778 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4779 };
4780
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4786 if (obj2) {
4787 arg3 = (int const) SWIG_AsInt(obj2);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 if (obj3) {
4791 {
4792 arg4 = wxString_in_helper(obj3);
4793 if (arg4 == NULL) SWIG_fail;
4794 temp4 = True;
4795 }
4796 }
4797 if (obj4) {
4798 {
4799 arg5 = &temp5;
4800 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4801 }
4802 }
4803 if (obj5) {
4804 {
4805 arg6 = &temp6;
4806 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4807 }
4808 }
4809 if (obj6) {
4810 arg7 = (long) SWIG_AsLong(obj6);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 if (obj7) {
4814 {
4815 arg8 = wxString_in_helper(obj7);
4816 if (arg8 == NULL) SWIG_fail;
4817 temp8 = True;
4818 }
4819 }
4820 {
4821 PyThreadState* __tstate = wxPyBeginAllowThreads();
4822 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4823
4824 wxPyEndAllowThreads(__tstate);
4825 if (PyErr_Occurred()) SWIG_fail;
4826 }
4827 {
4828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4829 }
4830 {
4831 if (temp4)
4832 delete arg4;
4833 }
4834 {
4835 if (temp8)
4836 delete arg8;
4837 }
4838 return resultobj;
4839 fail:
4840 {
4841 if (temp4)
4842 delete arg4;
4843 }
4844 {
4845 if (temp8)
4846 delete arg8;
4847 }
4848 return NULL;
4849 }
4850
4851
4852 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4853 PyObject *obj;
4854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4855 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4856 Py_INCREF(obj);
4857 return Py_BuildValue((char *)"");
4858 }
4859 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4860 PyObject *resultobj;
4861 wxBitmap *arg1 = 0 ;
4862 wxWindow *arg2 = (wxWindow *) 0 ;
4863 int arg3 ;
4864 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4865 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4866 wxSize const &arg5_defvalue = wxDefaultSize ;
4867 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4868 long arg6 = (long) wxNO_BORDER ;
4869 wxSplashScreenWindow *result;
4870 wxPoint temp4 ;
4871 wxSize temp5 ;
4872 PyObject * obj0 = 0 ;
4873 PyObject * obj1 = 0 ;
4874 PyObject * obj2 = 0 ;
4875 PyObject * obj3 = 0 ;
4876 PyObject * obj4 = 0 ;
4877 PyObject * obj5 = 0 ;
4878 char *kwnames[] = {
4879 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4880 };
4881
4882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4884 SWIG_POINTER_EXCEPTION | 0)) == -1)
4885 SWIG_fail;
4886 if (arg1 == NULL) {
4887 PyErr_SetString(PyExc_TypeError,"null reference");
4888 SWIG_fail;
4889 }
4890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4892 arg3 = (int) SWIG_AsInt(obj2);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 if (obj3) {
4895 {
4896 arg4 = &temp4;
4897 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4898 }
4899 }
4900 if (obj4) {
4901 {
4902 arg5 = &temp5;
4903 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4904 }
4905 }
4906 if (obj5) {
4907 arg6 = (long) SWIG_AsLong(obj5);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 {
4911 if (!wxPyCheckForApp()) SWIG_fail;
4912 PyThreadState* __tstate = wxPyBeginAllowThreads();
4913 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4914
4915 wxPyEndAllowThreads(__tstate);
4916 if (PyErr_Occurred()) SWIG_fail;
4917 }
4918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4919 return resultobj;
4920 fail:
4921 return NULL;
4922 }
4923
4924
4925 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4926 PyObject *resultobj;
4927 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4928 wxBitmap *arg2 = 0 ;
4929 PyObject * obj0 = 0 ;
4930 PyObject * obj1 = 0 ;
4931 char *kwnames[] = {
4932 (char *) "self",(char *) "bitmap", NULL
4933 };
4934
4935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4939 SWIG_POINTER_EXCEPTION | 0)) == -1)
4940 SWIG_fail;
4941 if (arg2 == NULL) {
4942 PyErr_SetString(PyExc_TypeError,"null reference");
4943 SWIG_fail;
4944 }
4945 {
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4948
4949 wxPyEndAllowThreads(__tstate);
4950 if (PyErr_Occurred()) SWIG_fail;
4951 }
4952 Py_INCREF(Py_None); resultobj = Py_None;
4953 return resultobj;
4954 fail:
4955 return NULL;
4956 }
4957
4958
4959 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4960 PyObject *resultobj;
4961 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4962 wxBitmap *result;
4963 PyObject * obj0 = 0 ;
4964 char *kwnames[] = {
4965 (char *) "self", NULL
4966 };
4967
4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4971 {
4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
4973 {
4974 wxBitmap &_result_ref = (arg1)->GetBitmap();
4975 result = (wxBitmap *) &_result_ref;
4976 }
4977
4978 wxPyEndAllowThreads(__tstate);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 }
4981 {
4982 wxBitmap* resultptr = new wxBitmap(*result);
4983 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4984 }
4985 return resultobj;
4986 fail:
4987 return NULL;
4988 }
4989
4990
4991 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4992 PyObject *obj;
4993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4994 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4995 Py_INCREF(obj);
4996 return Py_BuildValue((char *)"");
4997 }
4998 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4999 PyObject *resultobj;
5000 wxBitmap *arg1 = 0 ;
5001 long arg2 ;
5002 int arg3 ;
5003 wxWindow *arg4 = (wxWindow *) 0 ;
5004 int arg5 = (int) -1 ;
5005 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5006 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5007 wxSize const &arg7_defvalue = wxDefaultSize ;
5008 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5009 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5010 wxSplashScreen *result;
5011 wxPoint temp6 ;
5012 wxSize temp7 ;
5013 PyObject * obj0 = 0 ;
5014 PyObject * obj1 = 0 ;
5015 PyObject * obj2 = 0 ;
5016 PyObject * obj3 = 0 ;
5017 PyObject * obj4 = 0 ;
5018 PyObject * obj5 = 0 ;
5019 PyObject * obj6 = 0 ;
5020 PyObject * obj7 = 0 ;
5021 char *kwnames[] = {
5022 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5023 };
5024
5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5027 SWIG_POINTER_EXCEPTION | 0)) == -1)
5028 SWIG_fail;
5029 if (arg1 == NULL) {
5030 PyErr_SetString(PyExc_TypeError,"null reference");
5031 SWIG_fail;
5032 }
5033 arg2 = (long) SWIG_AsLong(obj1);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 arg3 = (int) SWIG_AsInt(obj2);
5036 if (PyErr_Occurred()) SWIG_fail;
5037 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5039 if (obj4) {
5040 arg5 = (int) SWIG_AsInt(obj4);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 if (obj5) {
5044 {
5045 arg6 = &temp6;
5046 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5047 }
5048 }
5049 if (obj6) {
5050 {
5051 arg7 = &temp7;
5052 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5053 }
5054 }
5055 if (obj7) {
5056 arg8 = (long) SWIG_AsLong(obj7);
5057 if (PyErr_Occurred()) SWIG_fail;
5058 }
5059 {
5060 if (!wxPyCheckForApp()) SWIG_fail;
5061 PyThreadState* __tstate = wxPyBeginAllowThreads();
5062 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5063
5064 wxPyEndAllowThreads(__tstate);
5065 if (PyErr_Occurred()) SWIG_fail;
5066 }
5067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5068 return resultobj;
5069 fail:
5070 return NULL;
5071 }
5072
5073
5074 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
5075 PyObject *resultobj;
5076 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5077 long result;
5078 PyObject * obj0 = 0 ;
5079 char *kwnames[] = {
5080 (char *) "self", NULL
5081 };
5082
5083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5086 {
5087 PyThreadState* __tstate = wxPyBeginAllowThreads();
5088 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5089
5090 wxPyEndAllowThreads(__tstate);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 resultobj = SWIG_FromLong((long)result);
5094 return resultobj;
5095 fail:
5096 return NULL;
5097 }
5098
5099
5100 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5101 PyObject *resultobj;
5102 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5103 wxSplashScreenWindow *result;
5104 PyObject * obj0 = 0 ;
5105 char *kwnames[] = {
5106 (char *) "self", NULL
5107 };
5108
5109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5120 return resultobj;
5121 fail:
5122 return NULL;
5123 }
5124
5125
5126 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj;
5128 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5129 int result;
5130 PyObject * obj0 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "self", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5138 {
5139 PyThreadState* __tstate = wxPyBeginAllowThreads();
5140 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5141
5142 wxPyEndAllowThreads(__tstate);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 }
5145 resultobj = SWIG_FromInt((int)result);
5146 return resultobj;
5147 fail:
5148 return NULL;
5149 }
5150
5151
5152 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
5153 PyObject *obj;
5154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5155 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5156 Py_INCREF(obj);
5157 return Py_BuildValue((char *)"");
5158 }
5159 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5160 PyObject *resultobj;
5161 wxWindow *arg1 = (wxWindow *) 0 ;
5162 int arg2 = (int) -1 ;
5163 long arg3 = (long) wxST_SIZEGRIP ;
5164 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5165 wxString *arg4 = (wxString *) &arg4_defvalue ;
5166 wxStatusBar *result;
5167 bool temp4 = False ;
5168 PyObject * obj0 = 0 ;
5169 PyObject * obj1 = 0 ;
5170 PyObject * obj2 = 0 ;
5171 PyObject * obj3 = 0 ;
5172 char *kwnames[] = {
5173 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5174 };
5175
5176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5179 if (obj1) {
5180 arg2 = (int) SWIG_AsInt(obj1);
5181 if (PyErr_Occurred()) SWIG_fail;
5182 }
5183 if (obj2) {
5184 arg3 = (long) SWIG_AsLong(obj2);
5185 if (PyErr_Occurred()) SWIG_fail;
5186 }
5187 if (obj3) {
5188 {
5189 arg4 = wxString_in_helper(obj3);
5190 if (arg4 == NULL) SWIG_fail;
5191 temp4 = True;
5192 }
5193 }
5194 {
5195 if (!wxPyCheckForApp()) SWIG_fail;
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5198
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 {
5203 resultobj = wxPyMake_wxObject(result, 1);
5204 }
5205 {
5206 if (temp4)
5207 delete arg4;
5208 }
5209 return resultobj;
5210 fail:
5211 {
5212 if (temp4)
5213 delete arg4;
5214 }
5215 return NULL;
5216 }
5217
5218
5219 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5220 PyObject *resultobj;
5221 wxStatusBar *result;
5222 char *kwnames[] = {
5223 NULL
5224 };
5225
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5227 {
5228 if (!wxPyCheckForApp()) SWIG_fail;
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 result = (wxStatusBar *)new wxStatusBar();
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 {
5236 resultobj = wxPyMake_wxObject(result, 1);
5237 }
5238 return resultobj;
5239 fail:
5240 return NULL;
5241 }
5242
5243
5244 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5245 PyObject *resultobj;
5246 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5247 wxWindow *arg2 = (wxWindow *) 0 ;
5248 int arg3 = (int) -1 ;
5249 long arg4 = (long) wxST_SIZEGRIP ;
5250 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5251 wxString *arg5 = (wxString *) &arg5_defvalue ;
5252 bool result;
5253 bool temp5 = False ;
5254 PyObject * obj0 = 0 ;
5255 PyObject * obj1 = 0 ;
5256 PyObject * obj2 = 0 ;
5257 PyObject * obj3 = 0 ;
5258 PyObject * obj4 = 0 ;
5259 char *kwnames[] = {
5260 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5261 };
5262
5263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5268 if (obj2) {
5269 arg3 = (int) SWIG_AsInt(obj2);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 }
5272 if (obj3) {
5273 arg4 = (long) SWIG_AsLong(obj3);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 if (obj4) {
5277 {
5278 arg5 = wxString_in_helper(obj4);
5279 if (arg5 == NULL) SWIG_fail;
5280 temp5 = True;
5281 }
5282 }
5283 {
5284 PyThreadState* __tstate = wxPyBeginAllowThreads();
5285 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5286
5287 wxPyEndAllowThreads(__tstate);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
5290 {
5291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5292 }
5293 {
5294 if (temp5)
5295 delete arg5;
5296 }
5297 return resultobj;
5298 fail:
5299 {
5300 if (temp5)
5301 delete arg5;
5302 }
5303 return NULL;
5304 }
5305
5306
5307 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5308 PyObject *resultobj;
5309 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5310 int arg2 = (int) 1 ;
5311 PyObject * obj0 = 0 ;
5312 PyObject * obj1 = 0 ;
5313 char *kwnames[] = {
5314 (char *) "self",(char *) "number", NULL
5315 };
5316
5317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5320 if (obj1) {
5321 arg2 = (int) SWIG_AsInt(obj1);
5322 if (PyErr_Occurred()) SWIG_fail;
5323 }
5324 {
5325 PyThreadState* __tstate = wxPyBeginAllowThreads();
5326 (arg1)->SetFieldsCount(arg2);
5327
5328 wxPyEndAllowThreads(__tstate);
5329 if (PyErr_Occurred()) SWIG_fail;
5330 }
5331 Py_INCREF(Py_None); resultobj = Py_None;
5332 return resultobj;
5333 fail:
5334 return NULL;
5335 }
5336
5337
5338 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5339 PyObject *resultobj;
5340 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5341 int result;
5342 PyObject * obj0 = 0 ;
5343 char *kwnames[] = {
5344 (char *) "self", NULL
5345 };
5346
5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 }
5357 resultobj = SWIG_FromInt((int)result);
5358 return resultobj;
5359 fail:
5360 return NULL;
5361 }
5362
5363
5364 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5365 PyObject *resultobj;
5366 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5367 wxString *arg2 = 0 ;
5368 int arg3 = (int) 0 ;
5369 bool temp2 = False ;
5370 PyObject * obj0 = 0 ;
5371 PyObject * obj1 = 0 ;
5372 PyObject * obj2 = 0 ;
5373 char *kwnames[] = {
5374 (char *) "self",(char *) "text",(char *) "number", NULL
5375 };
5376
5377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5380 {
5381 arg2 = wxString_in_helper(obj1);
5382 if (arg2 == NULL) SWIG_fail;
5383 temp2 = True;
5384 }
5385 if (obj2) {
5386 arg3 = (int) SWIG_AsInt(obj2);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 Py_INCREF(Py_None); resultobj = Py_None;
5397 {
5398 if (temp2)
5399 delete arg2;
5400 }
5401 return resultobj;
5402 fail:
5403 {
5404 if (temp2)
5405 delete arg2;
5406 }
5407 return NULL;
5408 }
5409
5410
5411 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5412 PyObject *resultobj;
5413 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5414 int arg2 = (int) 0 ;
5415 wxString result;
5416 PyObject * obj0 = 0 ;
5417 PyObject * obj1 = 0 ;
5418 char *kwnames[] = {
5419 (char *) "self",(char *) "number", NULL
5420 };
5421
5422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5425 if (obj1) {
5426 arg2 = (int) SWIG_AsInt(obj1);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 {
5430 PyThreadState* __tstate = wxPyBeginAllowThreads();
5431 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5432
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
5436 {
5437 #if wxUSE_UNICODE
5438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5439 #else
5440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5441 #endif
5442 }
5443 return resultobj;
5444 fail:
5445 return NULL;
5446 }
5447
5448
5449 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5450 PyObject *resultobj;
5451 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5452 wxString *arg2 = 0 ;
5453 int arg3 = (int) 0 ;
5454 bool temp2 = False ;
5455 PyObject * obj0 = 0 ;
5456 PyObject * obj1 = 0 ;
5457 PyObject * obj2 = 0 ;
5458 char *kwnames[] = {
5459 (char *) "self",(char *) "text",(char *) "number", NULL
5460 };
5461
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5465 {
5466 arg2 = wxString_in_helper(obj1);
5467 if (arg2 == NULL) SWIG_fail;
5468 temp2 = True;
5469 }
5470 if (obj2) {
5471 arg3 = (int) SWIG_AsInt(obj2);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 {
5475 PyThreadState* __tstate = wxPyBeginAllowThreads();
5476 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5477
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 Py_INCREF(Py_None); resultobj = Py_None;
5482 {
5483 if (temp2)
5484 delete arg2;
5485 }
5486 return resultobj;
5487 fail:
5488 {
5489 if (temp2)
5490 delete arg2;
5491 }
5492 return NULL;
5493 }
5494
5495
5496 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5499 int arg2 = (int) 0 ;
5500 PyObject * obj0 = 0 ;
5501 PyObject * obj1 = 0 ;
5502 char *kwnames[] = {
5503 (char *) "self",(char *) "number", NULL
5504 };
5505
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5509 if (obj1) {
5510 arg2 = (int) SWIG_AsInt(obj1);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 }
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 (arg1)->PopStatusText(arg2);
5516
5517 wxPyEndAllowThreads(__tstate);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 Py_INCREF(Py_None); resultobj = Py_None;
5521 return resultobj;
5522 fail:
5523 return NULL;
5524 }
5525
5526
5527 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5528 PyObject *resultobj;
5529 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5530 int arg2 ;
5531 int *arg3 = (int *) 0 ;
5532 PyObject * obj0 = 0 ;
5533 PyObject * obj1 = 0 ;
5534 char *kwnames[] = {
5535 (char *) "self",(char *) "widths", NULL
5536 };
5537
5538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5541 {
5542 arg2 = PyList_Size(obj1);
5543 arg3 = int_LIST_helper(obj1);
5544 if (arg3 == NULL) SWIG_fail;
5545 }
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 Py_INCREF(Py_None); resultobj = Py_None;
5554 {
5555 if (arg3) delete [] arg3;
5556 }
5557 return resultobj;
5558 fail:
5559 {
5560 if (arg3) delete [] arg3;
5561 }
5562 return NULL;
5563 }
5564
5565
5566 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5567 PyObject *resultobj;
5568 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5569 int arg2 ;
5570 wxRect result;
5571 PyObject * obj0 = 0 ;
5572 PyObject * obj1 = 0 ;
5573 char *kwnames[] = {
5574 (char *) "self",(char *) "i", NULL
5575 };
5576
5577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5580 arg2 = (int) SWIG_AsInt(obj1);
5581 if (PyErr_Occurred()) SWIG_fail;
5582 {
5583 PyThreadState* __tstate = wxPyBeginAllowThreads();
5584 result = wxStatusBar_GetFieldRect(arg1,arg2);
5585
5586 wxPyEndAllowThreads(__tstate);
5587 if (PyErr_Occurred()) SWIG_fail;
5588 }
5589 {
5590 wxRect * resultptr;
5591 resultptr = new wxRect((wxRect &) result);
5592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5593 }
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5601 PyObject *resultobj;
5602 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5603 int arg2 ;
5604 PyObject * obj0 = 0 ;
5605 PyObject * obj1 = 0 ;
5606 char *kwnames[] = {
5607 (char *) "self",(char *) "height", NULL
5608 };
5609
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5613 arg2 = (int) SWIG_AsInt(obj1);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 {
5616 PyThreadState* __tstate = wxPyBeginAllowThreads();
5617 (arg1)->SetMinHeight(arg2);
5618
5619 wxPyEndAllowThreads(__tstate);
5620 if (PyErr_Occurred()) SWIG_fail;
5621 }
5622 Py_INCREF(Py_None); resultobj = Py_None;
5623 return resultobj;
5624 fail:
5625 return NULL;
5626 }
5627
5628
5629 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5630 PyObject *resultobj;
5631 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5632 int result;
5633 PyObject * obj0 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5641 {
5642 PyThreadState* __tstate = wxPyBeginAllowThreads();
5643 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5644
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
5648 resultobj = SWIG_FromInt((int)result);
5649 return resultobj;
5650 fail:
5651 return NULL;
5652 }
5653
5654
5655 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5656 PyObject *resultobj;
5657 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5658 int result;
5659 PyObject * obj0 = 0 ;
5660 char *kwnames[] = {
5661 (char *) "self", NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 resultobj = SWIG_FromInt((int)result);
5675 return resultobj;
5676 fail:
5677 return NULL;
5678 }
5679
5680
5681 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5682 PyObject *resultobj;
5683 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5684 wxVisualAttributes result;
5685 PyObject * obj0 = 0 ;
5686 char *kwnames[] = {
5687 (char *) "variant", NULL
5688 };
5689
5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5691 if (obj0) {
5692 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5693 if (PyErr_Occurred()) SWIG_fail;
5694 }
5695 {
5696 if (!wxPyCheckForApp()) SWIG_fail;
5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
5698 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5699
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 {
5704 wxVisualAttributes * resultptr;
5705 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5707 }
5708 return resultobj;
5709 fail:
5710 return NULL;
5711 }
5712
5713
5714 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5715 PyObject *obj;
5716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5717 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5718 Py_INCREF(obj);
5719 return Py_BuildValue((char *)"");
5720 }
5721 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5722 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5723 return 1;
5724 }
5725
5726
5727 static PyObject *_wrap_SplitterNameStr_get() {
5728 PyObject *pyobj;
5729
5730 {
5731 #if wxUSE_UNICODE
5732 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5733 #else
5734 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5735 #endif
5736 }
5737 return pyobj;
5738 }
5739
5740
5741 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5742 PyObject *resultobj;
5743 wxWindow *arg1 = (wxWindow *) 0 ;
5744 int arg2 = (int) -1 ;
5745 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5746 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5747 wxSize const &arg4_defvalue = wxDefaultSize ;
5748 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5749 long arg5 = (long) wxSP_3D ;
5750 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5751 wxString *arg6 = (wxString *) &arg6_defvalue ;
5752 wxSplitterWindow *result;
5753 wxPoint temp3 ;
5754 wxSize temp4 ;
5755 bool temp6 = False ;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
5758 PyObject * obj2 = 0 ;
5759 PyObject * obj3 = 0 ;
5760 PyObject * obj4 = 0 ;
5761 PyObject * obj5 = 0 ;
5762 char *kwnames[] = {
5763 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5764 };
5765
5766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5769 if (obj1) {
5770 arg2 = (int) SWIG_AsInt(obj1);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
5773 if (obj2) {
5774 {
5775 arg3 = &temp3;
5776 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5777 }
5778 }
5779 if (obj3) {
5780 {
5781 arg4 = &temp4;
5782 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5783 }
5784 }
5785 if (obj4) {
5786 arg5 = (long) SWIG_AsLong(obj4);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
5789 if (obj5) {
5790 {
5791 arg6 = wxString_in_helper(obj5);
5792 if (arg6 == NULL) SWIG_fail;
5793 temp6 = True;
5794 }
5795 }
5796 {
5797 if (!wxPyCheckForApp()) SWIG_fail;
5798 PyThreadState* __tstate = wxPyBeginAllowThreads();
5799 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5800
5801 wxPyEndAllowThreads(__tstate);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5805 {
5806 if (temp6)
5807 delete arg6;
5808 }
5809 return resultobj;
5810 fail:
5811 {
5812 if (temp6)
5813 delete arg6;
5814 }
5815 return NULL;
5816 }
5817
5818
5819 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5820 PyObject *resultobj;
5821 wxSplitterWindow *result;
5822 char *kwnames[] = {
5823 NULL
5824 };
5825
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5827 {
5828 if (!wxPyCheckForApp()) SWIG_fail;
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = (wxSplitterWindow *)new wxSplitterWindow();
5831
5832 wxPyEndAllowThreads(__tstate);
5833 if (PyErr_Occurred()) SWIG_fail;
5834 }
5835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5836 return resultobj;
5837 fail:
5838 return NULL;
5839 }
5840
5841
5842 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5843 PyObject *resultobj;
5844 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5845 wxWindow *arg2 = (wxWindow *) 0 ;
5846 int arg3 = (int) -1 ;
5847 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5848 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5849 wxSize const &arg5_defvalue = wxDefaultSize ;
5850 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5851 long arg6 = (long) wxSP_3D ;
5852 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5853 wxString *arg7 = (wxString *) &arg7_defvalue ;
5854 bool result;
5855 wxPoint temp4 ;
5856 wxSize temp5 ;
5857 bool temp7 = False ;
5858 PyObject * obj0 = 0 ;
5859 PyObject * obj1 = 0 ;
5860 PyObject * obj2 = 0 ;
5861 PyObject * obj3 = 0 ;
5862 PyObject * obj4 = 0 ;
5863 PyObject * obj5 = 0 ;
5864 PyObject * obj6 = 0 ;
5865 char *kwnames[] = {
5866 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5867 };
5868
5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5874 if (obj2) {
5875 arg3 = (int) SWIG_AsInt(obj2);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
5878 if (obj3) {
5879 {
5880 arg4 = &temp4;
5881 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5882 }
5883 }
5884 if (obj4) {
5885 {
5886 arg5 = &temp5;
5887 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5888 }
5889 }
5890 if (obj5) {
5891 arg6 = (long) SWIG_AsLong(obj5);
5892 if (PyErr_Occurred()) SWIG_fail;
5893 }
5894 if (obj6) {
5895 {
5896 arg7 = wxString_in_helper(obj6);
5897 if (arg7 == NULL) SWIG_fail;
5898 temp7 = True;
5899 }
5900 }
5901 {
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5904
5905 wxPyEndAllowThreads(__tstate);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 }
5908 {
5909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5910 }
5911 {
5912 if (temp7)
5913 delete arg7;
5914 }
5915 return resultobj;
5916 fail:
5917 {
5918 if (temp7)
5919 delete arg7;
5920 }
5921 return NULL;
5922 }
5923
5924
5925 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj;
5927 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5928 wxWindow *result;
5929 PyObject * obj0 = 0 ;
5930 char *kwnames[] = {
5931 (char *) "self", NULL
5932 };
5933
5934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5937 {
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5939 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5940
5941 wxPyEndAllowThreads(__tstate);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 }
5944 {
5945 resultobj = wxPyMake_wxObject(result, 0);
5946 }
5947 return resultobj;
5948 fail:
5949 return NULL;
5950 }
5951
5952
5953 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5954 PyObject *resultobj;
5955 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5956 wxWindow *result;
5957 PyObject * obj0 = 0 ;
5958 char *kwnames[] = {
5959 (char *) "self", NULL
5960 };
5961
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5968
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 {
5973 resultobj = wxPyMake_wxObject(result, 0);
5974 }
5975 return resultobj;
5976 fail:
5977 return NULL;
5978 }
5979
5980
5981 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5982 PyObject *resultobj;
5983 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5984 int arg2 ;
5985 PyObject * obj0 = 0 ;
5986 PyObject * obj1 = 0 ;
5987 char *kwnames[] = {
5988 (char *) "self",(char *) "mode", NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5994 arg2 = (int) SWIG_AsInt(obj1);
5995 if (PyErr_Occurred()) SWIG_fail;
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 (arg1)->SetSplitMode(arg2);
5999
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 Py_INCREF(Py_None); resultobj = Py_None;
6004 return resultobj;
6005 fail:
6006 return NULL;
6007 }
6008
6009
6010 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6011 PyObject *resultobj;
6012 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6013 int result;
6014 PyObject * obj0 = 0 ;
6015 char *kwnames[] = {
6016 (char *) "self", NULL
6017 };
6018
6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 resultobj = SWIG_FromInt((int)result);
6030 return resultobj;
6031 fail:
6032 return NULL;
6033 }
6034
6035
6036 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6039 wxWindow *arg2 = (wxWindow *) 0 ;
6040 PyObject * obj0 = 0 ;
6041 PyObject * obj1 = 0 ;
6042 char *kwnames[] = {
6043 (char *) "self",(char *) "window", NULL
6044 };
6045
6046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6051 {
6052 PyThreadState* __tstate = wxPyBeginAllowThreads();
6053 (arg1)->Initialize(arg2);
6054
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
6058 Py_INCREF(Py_None); resultobj = Py_None;
6059 return resultobj;
6060 fail:
6061 return NULL;
6062 }
6063
6064
6065 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
6066 PyObject *resultobj;
6067 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6068 wxWindow *arg2 = (wxWindow *) 0 ;
6069 wxWindow *arg3 = (wxWindow *) 0 ;
6070 int arg4 = (int) 0 ;
6071 bool result;
6072 PyObject * obj0 = 0 ;
6073 PyObject * obj1 = 0 ;
6074 PyObject * obj2 = 0 ;
6075 PyObject * obj3 = 0 ;
6076 char *kwnames[] = {
6077 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6078 };
6079
6080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6085 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6087 if (obj3) {
6088 arg4 = (int) SWIG_AsInt(obj3);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 {
6099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6100 }
6101 return resultobj;
6102 fail:
6103 return NULL;
6104 }
6105
6106
6107 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
6108 PyObject *resultobj;
6109 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6110 wxWindow *arg2 = (wxWindow *) 0 ;
6111 wxWindow *arg3 = (wxWindow *) 0 ;
6112 int arg4 = (int) 0 ;
6113 bool result;
6114 PyObject * obj0 = 0 ;
6115 PyObject * obj1 = 0 ;
6116 PyObject * obj2 = 0 ;
6117 PyObject * obj3 = 0 ;
6118 char *kwnames[] = {
6119 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6120 };
6121
6122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6127 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6129 if (obj3) {
6130 arg4 = (int) SWIG_AsInt(obj3);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 {
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6136
6137 wxPyEndAllowThreads(__tstate);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 }
6140 {
6141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6142 }
6143 return resultobj;
6144 fail:
6145 return NULL;
6146 }
6147
6148
6149 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6152 wxWindow *arg2 = (wxWindow *) NULL ;
6153 bool result;
6154 PyObject * obj0 = 0 ;
6155 PyObject * obj1 = 0 ;
6156 char *kwnames[] = {
6157 (char *) "self",(char *) "toRemove", NULL
6158 };
6159
6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6163 if (obj1) {
6164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6166 }
6167 {
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 result = (bool)(arg1)->Unsplit(arg2);
6170
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 {
6175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6176 }
6177 return resultobj;
6178 fail:
6179 return NULL;
6180 }
6181
6182
6183 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6184 PyObject *resultobj;
6185 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6186 wxWindow *arg2 = (wxWindow *) 0 ;
6187 wxWindow *arg3 = (wxWindow *) 0 ;
6188 bool result;
6189 PyObject * obj0 = 0 ;
6190 PyObject * obj1 = 0 ;
6191 PyObject * obj2 = 0 ;
6192 char *kwnames[] = {
6193 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6194 };
6195
6196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6201 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6203 {
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6206
6207 wxPyEndAllowThreads(__tstate);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
6210 {
6211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6212 }
6213 return resultobj;
6214 fail:
6215 return NULL;
6216 }
6217
6218
6219 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6220 PyObject *resultobj;
6221 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6222 PyObject * obj0 = 0 ;
6223 char *kwnames[] = {
6224 (char *) "self", NULL
6225 };
6226
6227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6230 {
6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
6232 (arg1)->UpdateSize();
6233
6234 wxPyEndAllowThreads(__tstate);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 Py_INCREF(Py_None); resultobj = Py_None;
6238 return resultobj;
6239 fail:
6240 return NULL;
6241 }
6242
6243
6244 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6245 PyObject *resultobj;
6246 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6247 bool result;
6248 PyObject * obj0 = 0 ;
6249 char *kwnames[] = {
6250 (char *) "self", NULL
6251 };
6252
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
6263 {
6264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6265 }
6266 return resultobj;
6267 fail:
6268 return NULL;
6269 }
6270
6271
6272 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6273 PyObject *resultobj;
6274 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6275 int arg2 ;
6276 PyObject * obj0 = 0 ;
6277 PyObject * obj1 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "self",(char *) "width", NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6285 arg2 = (int) SWIG_AsInt(obj1);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 (arg1)->SetSashSize(arg2);
6290
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 }
6294 Py_INCREF(Py_None); resultobj = Py_None;
6295 return resultobj;
6296 fail:
6297 return NULL;
6298 }
6299
6300
6301 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6302 PyObject *resultobj;
6303 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6304 int arg2 ;
6305 PyObject * obj0 = 0 ;
6306 PyObject * obj1 = 0 ;
6307 char *kwnames[] = {
6308 (char *) "self",(char *) "width", NULL
6309 };
6310
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6314 arg2 = (int) SWIG_AsInt(obj1);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 {
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 (arg1)->SetBorderSize(arg2);
6319
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 Py_INCREF(Py_None); resultobj = Py_None;
6324 return resultobj;
6325 fail:
6326 return NULL;
6327 }
6328
6329
6330 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6331 PyObject *resultobj;
6332 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6333 int result;
6334 PyObject * obj0 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "self", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6342 {
6343 PyThreadState* __tstate = wxPyBeginAllowThreads();
6344 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6345
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
6349 resultobj = SWIG_FromInt((int)result);
6350 return resultobj;
6351 fail:
6352 return NULL;
6353 }
6354
6355
6356 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6357 PyObject *resultobj;
6358 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6359 int result;
6360 PyObject * obj0 = 0 ;
6361 char *kwnames[] = {
6362 (char *) "self", NULL
6363 };
6364
6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6368 {
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6371
6372 wxPyEndAllowThreads(__tstate);
6373 if (PyErr_Occurred()) SWIG_fail;
6374 }
6375 resultobj = SWIG_FromInt((int)result);
6376 return resultobj;
6377 fail:
6378 return NULL;
6379 }
6380
6381
6382 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6383 PyObject *resultobj;
6384 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6385 int arg2 ;
6386 bool arg3 = (bool) True ;
6387 PyObject * obj0 = 0 ;
6388 PyObject * obj1 = 0 ;
6389 PyObject * obj2 = 0 ;
6390 char *kwnames[] = {
6391 (char *) "self",(char *) "position",(char *) "redraw", NULL
6392 };
6393
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6397 arg2 = (int) SWIG_AsInt(obj1);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 if (obj2) {
6400 arg3 = (bool) SWIG_AsBool(obj2);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 {
6404 PyThreadState* __tstate = wxPyBeginAllowThreads();
6405 (arg1)->SetSashPosition(arg2,arg3);
6406
6407 wxPyEndAllowThreads(__tstate);
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
6410 Py_INCREF(Py_None); resultobj = Py_None;
6411 return resultobj;
6412 fail:
6413 return NULL;
6414 }
6415
6416
6417 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6418 PyObject *resultobj;
6419 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6420 int result;
6421 PyObject * obj0 = 0 ;
6422 char *kwnames[] = {
6423 (char *) "self", NULL
6424 };
6425
6426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6432
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 resultobj = SWIG_FromInt((int)result);
6437 return resultobj;
6438 fail:
6439 return NULL;
6440 }
6441
6442
6443 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6444 PyObject *resultobj;
6445 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6446 int arg2 ;
6447 PyObject * obj0 = 0 ;
6448 PyObject * obj1 = 0 ;
6449 char *kwnames[] = {
6450 (char *) "self",(char *) "min", NULL
6451 };
6452
6453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6456 arg2 = (int) SWIG_AsInt(obj1);
6457 if (PyErr_Occurred()) SWIG_fail;
6458 {
6459 PyThreadState* __tstate = wxPyBeginAllowThreads();
6460 (arg1)->SetMinimumPaneSize(arg2);
6461
6462 wxPyEndAllowThreads(__tstate);
6463 if (PyErr_Occurred()) SWIG_fail;
6464 }
6465 Py_INCREF(Py_None); resultobj = Py_None;
6466 return resultobj;
6467 fail:
6468 return NULL;
6469 }
6470
6471
6472 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6473 PyObject *resultobj;
6474 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6475 int result;
6476 PyObject * obj0 = 0 ;
6477 char *kwnames[] = {
6478 (char *) "self", NULL
6479 };
6480
6481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6484 {
6485 PyThreadState* __tstate = wxPyBeginAllowThreads();
6486 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6487
6488 wxPyEndAllowThreads(__tstate);
6489 if (PyErr_Occurred()) SWIG_fail;
6490 }
6491 resultobj = SWIG_FromInt((int)result);
6492 return resultobj;
6493 fail:
6494 return NULL;
6495 }
6496
6497
6498 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6499 PyObject *resultobj;
6500 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6501 int arg2 ;
6502 int arg3 ;
6503 int arg4 = (int) 5 ;
6504 bool result;
6505 PyObject * obj0 = 0 ;
6506 PyObject * obj1 = 0 ;
6507 PyObject * obj2 = 0 ;
6508 PyObject * obj3 = 0 ;
6509 char *kwnames[] = {
6510 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6511 };
6512
6513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6516 arg2 = (int) SWIG_AsInt(obj1);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 arg3 = (int) SWIG_AsInt(obj2);
6519 if (PyErr_Occurred()) SWIG_fail;
6520 if (obj3) {
6521 arg4 = (int) SWIG_AsInt(obj3);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 {
6532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6533 }
6534 return resultobj;
6535 fail:
6536 return NULL;
6537 }
6538
6539
6540 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6541 PyObject *resultobj;
6542 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6543 PyObject * obj0 = 0 ;
6544 char *kwnames[] = {
6545 (char *) "self", NULL
6546 };
6547
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 (arg1)->SizeWindows();
6554
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 Py_INCREF(Py_None); resultobj = Py_None;
6559 return resultobj;
6560 fail:
6561 return NULL;
6562 }
6563
6564
6565 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6566 PyObject *resultobj;
6567 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6568 bool arg2 ;
6569 PyObject * obj0 = 0 ;
6570 PyObject * obj1 = 0 ;
6571 char *kwnames[] = {
6572 (char *) "self",(char *) "needUpdating", NULL
6573 };
6574
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6578 arg2 = (bool) SWIG_AsBool(obj1);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 {
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 (arg1)->SetNeedUpdating(arg2);
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 Py_INCREF(Py_None); resultobj = Py_None;
6588 return resultobj;
6589 fail:
6590 return NULL;
6591 }
6592
6593
6594 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6595 PyObject *resultobj;
6596 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6597 bool result;
6598 PyObject * obj0 = 0 ;
6599 char *kwnames[] = {
6600 (char *) "self", NULL
6601 };
6602
6603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6606 {
6607 PyThreadState* __tstate = wxPyBeginAllowThreads();
6608 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6609
6610 wxPyEndAllowThreads(__tstate);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
6613 {
6614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6615 }
6616 return resultobj;
6617 fail:
6618 return NULL;
6619 }
6620
6621
6622 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6623 PyObject *resultobj;
6624 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6625 wxVisualAttributes result;
6626 PyObject * obj0 = 0 ;
6627 char *kwnames[] = {
6628 (char *) "variant", NULL
6629 };
6630
6631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6632 if (obj0) {
6633 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 {
6637 if (!wxPyCheckForApp()) SWIG_fail;
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 {
6645 wxVisualAttributes * resultptr;
6646 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6648 }
6649 return resultobj;
6650 fail:
6651 return NULL;
6652 }
6653
6654
6655 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6656 PyObject *obj;
6657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6658 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6659 Py_INCREF(obj);
6660 return Py_BuildValue((char *)"");
6661 }
6662 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6663 PyObject *resultobj;
6664 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6665 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6666 wxSplitterEvent *result;
6667 PyObject * obj0 = 0 ;
6668 PyObject * obj1 = 0 ;
6669 char *kwnames[] = {
6670 (char *) "type",(char *) "splitter", NULL
6671 };
6672
6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6674 if (obj0) {
6675 arg1 = (wxEventType) SWIG_AsInt(obj0);
6676 if (PyErr_Occurred()) SWIG_fail;
6677 }
6678 if (obj1) {
6679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6681 }
6682 {
6683 PyThreadState* __tstate = wxPyBeginAllowThreads();
6684 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6685
6686 wxPyEndAllowThreads(__tstate);
6687 if (PyErr_Occurred()) SWIG_fail;
6688 }
6689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6690 return resultobj;
6691 fail:
6692 return NULL;
6693 }
6694
6695
6696 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6697 PyObject *resultobj;
6698 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6699 int arg2 ;
6700 PyObject * obj0 = 0 ;
6701 PyObject * obj1 = 0 ;
6702 char *kwnames[] = {
6703 (char *) "self",(char *) "pos", NULL
6704 };
6705
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6709 arg2 = (int) SWIG_AsInt(obj1);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 (arg1)->SetSashPosition(arg2);
6714
6715 wxPyEndAllowThreads(__tstate);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 Py_INCREF(Py_None); resultobj = Py_None;
6719 return resultobj;
6720 fail:
6721 return NULL;
6722 }
6723
6724
6725 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj;
6727 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6728 int result;
6729 PyObject * obj0 = 0 ;
6730 char *kwnames[] = {
6731 (char *) "self", NULL
6732 };
6733
6734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6737 {
6738 PyThreadState* __tstate = wxPyBeginAllowThreads();
6739 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6740
6741 wxPyEndAllowThreads(__tstate);
6742 if (PyErr_Occurred()) SWIG_fail;
6743 }
6744 resultobj = SWIG_FromInt((int)result);
6745 return resultobj;
6746 fail:
6747 return NULL;
6748 }
6749
6750
6751 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6752 PyObject *resultobj;
6753 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6754 wxWindow *result;
6755 PyObject * obj0 = 0 ;
6756 char *kwnames[] = {
6757 (char *) "self", NULL
6758 };
6759
6760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6763 {
6764 PyThreadState* __tstate = wxPyBeginAllowThreads();
6765 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6766
6767 wxPyEndAllowThreads(__tstate);
6768 if (PyErr_Occurred()) SWIG_fail;
6769 }
6770 {
6771 resultobj = wxPyMake_wxObject(result, 0);
6772 }
6773 return resultobj;
6774 fail:
6775 return NULL;
6776 }
6777
6778
6779 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj;
6781 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6782 int result;
6783 PyObject * obj0 = 0 ;
6784 char *kwnames[] = {
6785 (char *) "self", NULL
6786 };
6787
6788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6791 {
6792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6793 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6794
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 resultobj = SWIG_FromInt((int)result);
6799 return resultobj;
6800 fail:
6801 return NULL;
6802 }
6803
6804
6805 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6806 PyObject *resultobj;
6807 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6808 int result;
6809 PyObject * obj0 = 0 ;
6810 char *kwnames[] = {
6811 (char *) "self", NULL
6812 };
6813
6814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6817 {
6818 PyThreadState* __tstate = wxPyBeginAllowThreads();
6819 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6820
6821 wxPyEndAllowThreads(__tstate);
6822 if (PyErr_Occurred()) SWIG_fail;
6823 }
6824 resultobj = SWIG_FromInt((int)result);
6825 return resultobj;
6826 fail:
6827 return NULL;
6828 }
6829
6830
6831 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6832 PyObject *obj;
6833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6834 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6835 Py_INCREF(obj);
6836 return Py_BuildValue((char *)"");
6837 }
6838 static int _wrap_SashNameStr_set(PyObject *_val) {
6839 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6840 return 1;
6841 }
6842
6843
6844 static PyObject *_wrap_SashNameStr_get() {
6845 PyObject *pyobj;
6846
6847 {
6848 #if wxUSE_UNICODE
6849 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6850 #else
6851 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6852 #endif
6853 }
6854 return pyobj;
6855 }
6856
6857
6858 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6859 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6860 return 1;
6861 }
6862
6863
6864 static PyObject *_wrap_SashLayoutNameStr_get() {
6865 PyObject *pyobj;
6866
6867 {
6868 #if wxUSE_UNICODE
6869 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6870 #else
6871 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6872 #endif
6873 }
6874 return pyobj;
6875 }
6876
6877
6878 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 wxWindow *arg1 = (wxWindow *) 0 ;
6881 int arg2 = (int) -1 ;
6882 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6883 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6884 wxSize const &arg4_defvalue = wxDefaultSize ;
6885 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6886 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6887 wxString const &arg6_defvalue = wxPySashNameStr ;
6888 wxString *arg6 = (wxString *) &arg6_defvalue ;
6889 wxSashWindow *result;
6890 wxPoint temp3 ;
6891 wxSize temp4 ;
6892 bool temp6 = False ;
6893 PyObject * obj0 = 0 ;
6894 PyObject * obj1 = 0 ;
6895 PyObject * obj2 = 0 ;
6896 PyObject * obj3 = 0 ;
6897 PyObject * obj4 = 0 ;
6898 PyObject * obj5 = 0 ;
6899 char *kwnames[] = {
6900 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6901 };
6902
6903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6906 if (obj1) {
6907 arg2 = (int) SWIG_AsInt(obj1);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 if (obj2) {
6911 {
6912 arg3 = &temp3;
6913 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6914 }
6915 }
6916 if (obj3) {
6917 {
6918 arg4 = &temp4;
6919 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6920 }
6921 }
6922 if (obj4) {
6923 arg5 = (long) SWIG_AsLong(obj4);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 if (obj5) {
6927 {
6928 arg6 = wxString_in_helper(obj5);
6929 if (arg6 == NULL) SWIG_fail;
6930 temp6 = True;
6931 }
6932 }
6933 {
6934 if (!wxPyCheckForApp()) SWIG_fail;
6935 PyThreadState* __tstate = wxPyBeginAllowThreads();
6936 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6937
6938 wxPyEndAllowThreads(__tstate);
6939 if (PyErr_Occurred()) SWIG_fail;
6940 }
6941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6942 {
6943 if (temp6)
6944 delete arg6;
6945 }
6946 return resultobj;
6947 fail:
6948 {
6949 if (temp6)
6950 delete arg6;
6951 }
6952 return NULL;
6953 }
6954
6955
6956 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6957 PyObject *resultobj;
6958 wxSashWindow *result;
6959 char *kwnames[] = {
6960 NULL
6961 };
6962
6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6964 {
6965 if (!wxPyCheckForApp()) SWIG_fail;
6966 PyThreadState* __tstate = wxPyBeginAllowThreads();
6967 result = (wxSashWindow *)new wxSashWindow();
6968
6969 wxPyEndAllowThreads(__tstate);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 }
6972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6973 return resultobj;
6974 fail:
6975 return NULL;
6976 }
6977
6978
6979 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6980 PyObject *resultobj;
6981 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6982 wxWindow *arg2 = (wxWindow *) 0 ;
6983 int arg3 = (int) -1 ;
6984 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6985 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6986 wxSize const &arg5_defvalue = wxDefaultSize ;
6987 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6988 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6989 wxString const &arg7_defvalue = wxPySashNameStr ;
6990 wxString *arg7 = (wxString *) &arg7_defvalue ;
6991 bool result;
6992 wxPoint temp4 ;
6993 wxSize temp5 ;
6994 bool temp7 = False ;
6995 PyObject * obj0 = 0 ;
6996 PyObject * obj1 = 0 ;
6997 PyObject * obj2 = 0 ;
6998 PyObject * obj3 = 0 ;
6999 PyObject * obj4 = 0 ;
7000 PyObject * obj5 = 0 ;
7001 PyObject * obj6 = 0 ;
7002 char *kwnames[] = {
7003 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7004 };
7005
7006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7009 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7011 if (obj2) {
7012 arg3 = (int) SWIG_AsInt(obj2);
7013 if (PyErr_Occurred()) SWIG_fail;
7014 }
7015 if (obj3) {
7016 {
7017 arg4 = &temp4;
7018 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7019 }
7020 }
7021 if (obj4) {
7022 {
7023 arg5 = &temp5;
7024 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7025 }
7026 }
7027 if (obj5) {
7028 arg6 = (long) SWIG_AsLong(obj5);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 if (obj6) {
7032 {
7033 arg7 = wxString_in_helper(obj6);
7034 if (arg7 == NULL) SWIG_fail;
7035 temp7 = True;
7036 }
7037 }
7038 {
7039 PyThreadState* __tstate = wxPyBeginAllowThreads();
7040 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7041
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 {
7046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7047 }
7048 {
7049 if (temp7)
7050 delete arg7;
7051 }
7052 return resultobj;
7053 fail:
7054 {
7055 if (temp7)
7056 delete arg7;
7057 }
7058 return NULL;
7059 }
7060
7061
7062 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7063 PyObject *resultobj;
7064 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7065 int arg2 ;
7066 bool arg3 ;
7067 PyObject * obj0 = 0 ;
7068 PyObject * obj1 = 0 ;
7069 PyObject * obj2 = 0 ;
7070 char *kwnames[] = {
7071 (char *) "self",(char *) "edge",(char *) "sash", NULL
7072 };
7073
7074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7077 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7078 if (PyErr_Occurred()) SWIG_fail;
7079 arg3 = (bool) SWIG_AsBool(obj2);
7080 if (PyErr_Occurred()) SWIG_fail;
7081 {
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7084
7085 wxPyEndAllowThreads(__tstate);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 }
7088 Py_INCREF(Py_None); resultobj = Py_None;
7089 return resultobj;
7090 fail:
7091 return NULL;
7092 }
7093
7094
7095 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7096 PyObject *resultobj;
7097 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7098 int arg2 ;
7099 bool result;
7100 PyObject * obj0 = 0 ;
7101 PyObject * obj1 = 0 ;
7102 char *kwnames[] = {
7103 (char *) "self",(char *) "edge", NULL
7104 };
7105
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7109 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7110 if (PyErr_Occurred()) SWIG_fail;
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7114
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 }
7118 {
7119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7120 }
7121 return resultobj;
7122 fail:
7123 return NULL;
7124 }
7125
7126
7127 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj;
7129 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7130 int arg2 ;
7131 bool arg3 ;
7132 PyObject * obj0 = 0 ;
7133 PyObject * obj1 = 0 ;
7134 PyObject * obj2 = 0 ;
7135 char *kwnames[] = {
7136 (char *) "self",(char *) "edge",(char *) "border", NULL
7137 };
7138
7139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7142 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 arg3 = (bool) SWIG_AsBool(obj2);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 Py_INCREF(Py_None); resultobj = Py_None;
7154 return resultobj;
7155 fail:
7156 return NULL;
7157 }
7158
7159
7160 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7161 PyObject *resultobj;
7162 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7163 int arg2 ;
7164 bool result;
7165 PyObject * obj0 = 0 ;
7166 PyObject * obj1 = 0 ;
7167 char *kwnames[] = {
7168 (char *) "self",(char *) "edge", NULL
7169 };
7170
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7174 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 {
7184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7185 }
7186 return resultobj;
7187 fail:
7188 return NULL;
7189 }
7190
7191
7192 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
7193 PyObject *resultobj;
7194 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7195 int arg2 ;
7196 int result;
7197 PyObject * obj0 = 0 ;
7198 PyObject * obj1 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self",(char *) "edge", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7206 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7207 if (PyErr_Occurred()) SWIG_fail;
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 resultobj = SWIG_FromInt((int)result);
7216 return resultobj;
7217 fail:
7218 return NULL;
7219 }
7220
7221
7222 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7223 PyObject *resultobj;
7224 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7225 int arg2 ;
7226 PyObject * obj0 = 0 ;
7227 PyObject * obj1 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "self",(char *) "width", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7235 arg2 = (int) SWIG_AsInt(obj1);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 (arg1)->SetDefaultBorderSize(arg2);
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 Py_INCREF(Py_None); resultobj = Py_None;
7245 return resultobj;
7246 fail:
7247 return NULL;
7248 }
7249
7250
7251 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj;
7253 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7254 int result;
7255 PyObject * obj0 = 0 ;
7256 char *kwnames[] = {
7257 (char *) "self", NULL
7258 };
7259
7260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7263 {
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7266
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 resultobj = SWIG_FromInt((int)result);
7271 return resultobj;
7272 fail:
7273 return NULL;
7274 }
7275
7276
7277 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7278 PyObject *resultobj;
7279 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7280 int arg2 ;
7281 PyObject * obj0 = 0 ;
7282 PyObject * obj1 = 0 ;
7283 char *kwnames[] = {
7284 (char *) "self",(char *) "width", NULL
7285 };
7286
7287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7290 arg2 = (int) SWIG_AsInt(obj1);
7291 if (PyErr_Occurred()) SWIG_fail;
7292 {
7293 PyThreadState* __tstate = wxPyBeginAllowThreads();
7294 (arg1)->SetExtraBorderSize(arg2);
7295
7296 wxPyEndAllowThreads(__tstate);
7297 if (PyErr_Occurred()) SWIG_fail;
7298 }
7299 Py_INCREF(Py_None); resultobj = Py_None;
7300 return resultobj;
7301 fail:
7302 return NULL;
7303 }
7304
7305
7306 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7307 PyObject *resultobj;
7308 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7309 int result;
7310 PyObject * obj0 = 0 ;
7311 char *kwnames[] = {
7312 (char *) "self", NULL
7313 };
7314
7315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7318 {
7319 PyThreadState* __tstate = wxPyBeginAllowThreads();
7320 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7321
7322 wxPyEndAllowThreads(__tstate);
7323 if (PyErr_Occurred()) SWIG_fail;
7324 }
7325 resultobj = SWIG_FromInt((int)result);
7326 return resultobj;
7327 fail:
7328 return NULL;
7329 }
7330
7331
7332 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7333 PyObject *resultobj;
7334 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7335 int arg2 ;
7336 PyObject * obj0 = 0 ;
7337 PyObject * obj1 = 0 ;
7338 char *kwnames[] = {
7339 (char *) "self",(char *) "min", NULL
7340 };
7341
7342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7345 arg2 = (int) SWIG_AsInt(obj1);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 (arg1)->SetMinimumSizeX(arg2);
7350
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 Py_INCREF(Py_None); resultobj = Py_None;
7355 return resultobj;
7356 fail:
7357 return NULL;
7358 }
7359
7360
7361 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7362 PyObject *resultobj;
7363 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7364 int arg2 ;
7365 PyObject * obj0 = 0 ;
7366 PyObject * obj1 = 0 ;
7367 char *kwnames[] = {
7368 (char *) "self",(char *) "min", NULL
7369 };
7370
7371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7374 arg2 = (int) SWIG_AsInt(obj1);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 {
7377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7378 (arg1)->SetMinimumSizeY(arg2);
7379
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 Py_INCREF(Py_None); resultobj = Py_None;
7384 return resultobj;
7385 fail:
7386 return NULL;
7387 }
7388
7389
7390 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj;
7392 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7393 int result;
7394 PyObject * obj0 = 0 ;
7395 char *kwnames[] = {
7396 (char *) "self", NULL
7397 };
7398
7399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7402 {
7403 PyThreadState* __tstate = wxPyBeginAllowThreads();
7404 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7405
7406 wxPyEndAllowThreads(__tstate);
7407 if (PyErr_Occurred()) SWIG_fail;
7408 }
7409 resultobj = SWIG_FromInt((int)result);
7410 return resultobj;
7411 fail:
7412 return NULL;
7413 }
7414
7415
7416 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7417 PyObject *resultobj;
7418 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7419 int result;
7420 PyObject * obj0 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "self", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7428 {
7429 PyThreadState* __tstate = wxPyBeginAllowThreads();
7430 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7431
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 resultobj = SWIG_FromInt((int)result);
7436 return resultobj;
7437 fail:
7438 return NULL;
7439 }
7440
7441
7442 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj;
7444 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7445 int arg2 ;
7446 PyObject * obj0 = 0 ;
7447 PyObject * obj1 = 0 ;
7448 char *kwnames[] = {
7449 (char *) "self",(char *) "max", NULL
7450 };
7451
7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7455 arg2 = (int) SWIG_AsInt(obj1);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 {
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 (arg1)->SetMaximumSizeX(arg2);
7460
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 Py_INCREF(Py_None); resultobj = Py_None;
7465 return resultobj;
7466 fail:
7467 return NULL;
7468 }
7469
7470
7471 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7474 int arg2 ;
7475 PyObject * obj0 = 0 ;
7476 PyObject * obj1 = 0 ;
7477 char *kwnames[] = {
7478 (char *) "self",(char *) "max", NULL
7479 };
7480
7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7484 arg2 = (int) SWIG_AsInt(obj1);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 {
7487 PyThreadState* __tstate = wxPyBeginAllowThreads();
7488 (arg1)->SetMaximumSizeY(arg2);
7489
7490 wxPyEndAllowThreads(__tstate);
7491 if (PyErr_Occurred()) SWIG_fail;
7492 }
7493 Py_INCREF(Py_None); resultobj = Py_None;
7494 return resultobj;
7495 fail:
7496 return NULL;
7497 }
7498
7499
7500 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7501 PyObject *resultobj;
7502 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7503 int result;
7504 PyObject * obj0 = 0 ;
7505 char *kwnames[] = {
7506 (char *) "self", NULL
7507 };
7508
7509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 resultobj = SWIG_FromInt((int)result);
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7529 int result;
7530 PyObject * obj0 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 resultobj = SWIG_FromInt((int)result);
7546 return resultobj;
7547 fail:
7548 return NULL;
7549 }
7550
7551
7552 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7555 int arg2 ;
7556 int arg3 ;
7557 int arg4 = (int) 2 ;
7558 int result;
7559 PyObject * obj0 = 0 ;
7560 PyObject * obj1 = 0 ;
7561 PyObject * obj2 = 0 ;
7562 PyObject * obj3 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7570 arg2 = (int) SWIG_AsInt(obj1);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 arg3 = (int) SWIG_AsInt(obj2);
7573 if (PyErr_Occurred()) SWIG_fail;
7574 if (obj3) {
7575 arg4 = (int) SWIG_AsInt(obj3);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 {
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7581
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 }
7585 resultobj = SWIG_FromInt((int)result);
7586 return resultobj;
7587 fail:
7588 return NULL;
7589 }
7590
7591
7592 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7593 PyObject *resultobj;
7594 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7595 PyObject * obj0 = 0 ;
7596 char *kwnames[] = {
7597 (char *) "self", NULL
7598 };
7599
7600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 (arg1)->SizeWindows();
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 Py_INCREF(Py_None); resultobj = Py_None;
7611 return resultobj;
7612 fail:
7613 return NULL;
7614 }
7615
7616
7617 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7618 PyObject *obj;
7619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7620 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7621 Py_INCREF(obj);
7622 return Py_BuildValue((char *)"");
7623 }
7624 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7625 PyObject *resultobj;
7626 int arg1 = (int) 0 ;
7627 int arg2 = (int) wxSASH_NONE ;
7628 wxSashEvent *result;
7629 PyObject * obj0 = 0 ;
7630 PyObject * obj1 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "id",(char *) "edge", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7636 if (obj0) {
7637 arg1 = (int) SWIG_AsInt(obj0);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 if (obj1) {
7641 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7642 if (PyErr_Occurred()) SWIG_fail;
7643 }
7644 {
7645 PyThreadState* __tstate = wxPyBeginAllowThreads();
7646 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7647
7648 wxPyEndAllowThreads(__tstate);
7649 if (PyErr_Occurred()) SWIG_fail;
7650 }
7651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7652 return resultobj;
7653 fail:
7654 return NULL;
7655 }
7656
7657
7658 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7659 PyObject *resultobj;
7660 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7661 int arg2 ;
7662 PyObject * obj0 = 0 ;
7663 PyObject * obj1 = 0 ;
7664 char *kwnames[] = {
7665 (char *) "self",(char *) "edge", NULL
7666 };
7667
7668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7671 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 Py_INCREF(Py_None); resultobj = Py_None;
7681 return resultobj;
7682 fail:
7683 return NULL;
7684 }
7685
7686
7687 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj;
7689 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7690 int result;
7691 PyObject * obj0 = 0 ;
7692 char *kwnames[] = {
7693 (char *) "self", NULL
7694 };
7695
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 resultobj = SWIG_FromInt((int)result);
7707 return resultobj;
7708 fail:
7709 return NULL;
7710 }
7711
7712
7713 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7714 PyObject *resultobj;
7715 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7716 wxRect *arg2 = 0 ;
7717 wxRect temp2 ;
7718 PyObject * obj0 = 0 ;
7719 PyObject * obj1 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self",(char *) "rect", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7727 {
7728 arg2 = &temp2;
7729 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7730 }
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 (arg1)->SetDragRect((wxRect const &)*arg2);
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 Py_INCREF(Py_None); resultobj = Py_None;
7739 return resultobj;
7740 fail:
7741 return NULL;
7742 }
7743
7744
7745 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7746 PyObject *resultobj;
7747 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7748 wxRect result;
7749 PyObject * obj0 = 0 ;
7750 char *kwnames[] = {
7751 (char *) "self", NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7757 {
7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
7759 result = ((wxSashEvent const *)arg1)->GetDragRect();
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
7764 {
7765 wxRect * resultptr;
7766 resultptr = new wxRect((wxRect &) result);
7767 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7768 }
7769 return resultobj;
7770 fail:
7771 return NULL;
7772 }
7773
7774
7775 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7776 PyObject *resultobj;
7777 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7778 int arg2 ;
7779 PyObject * obj0 = 0 ;
7780 PyObject * obj1 = 0 ;
7781 char *kwnames[] = {
7782 (char *) "self",(char *) "status", NULL
7783 };
7784
7785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7788 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 {
7791 PyThreadState* __tstate = wxPyBeginAllowThreads();
7792 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7793
7794 wxPyEndAllowThreads(__tstate);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 }
7797 Py_INCREF(Py_None); resultobj = Py_None;
7798 return resultobj;
7799 fail:
7800 return NULL;
7801 }
7802
7803
7804 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7805 PyObject *resultobj;
7806 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7807 int result;
7808 PyObject * obj0 = 0 ;
7809 char *kwnames[] = {
7810 (char *) "self", NULL
7811 };
7812
7813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7819
7820 wxPyEndAllowThreads(__tstate);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 }
7823 resultobj = SWIG_FromInt((int)result);
7824 return resultobj;
7825 fail:
7826 return NULL;
7827 }
7828
7829
7830 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7831 PyObject *obj;
7832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7833 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7834 Py_INCREF(obj);
7835 return Py_BuildValue((char *)"");
7836 }
7837 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7838 PyObject *resultobj;
7839 int arg1 = (int) 0 ;
7840 wxQueryLayoutInfoEvent *result;
7841 PyObject * obj0 = 0 ;
7842 char *kwnames[] = {
7843 (char *) "id", NULL
7844 };
7845
7846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7847 if (obj0) {
7848 arg1 = (int) SWIG_AsInt(obj0);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 }
7851 {
7852 PyThreadState* __tstate = wxPyBeginAllowThreads();
7853 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7854
7855 wxPyEndAllowThreads(__tstate);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 }
7858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7859 return resultobj;
7860 fail:
7861 return NULL;
7862 }
7863
7864
7865 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7866 PyObject *resultobj;
7867 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7868 int arg2 ;
7869 PyObject * obj0 = 0 ;
7870 PyObject * obj1 = 0 ;
7871 char *kwnames[] = {
7872 (char *) "self",(char *) "length", NULL
7873 };
7874
7875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7878 arg2 = (int) SWIG_AsInt(obj1);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 (arg1)->SetRequestedLength(arg2);
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 Py_INCREF(Py_None); resultobj = Py_None;
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj;
7896 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7897 int result;
7898 PyObject * obj0 = 0 ;
7899 char *kwnames[] = {
7900 (char *) "self", NULL
7901 };
7902
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7906 {
7907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7908 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7909
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 resultobj = SWIG_FromInt((int)result);
7914 return resultobj;
7915 fail:
7916 return NULL;
7917 }
7918
7919
7920 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7921 PyObject *resultobj;
7922 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7923 int arg2 ;
7924 PyObject * obj0 = 0 ;
7925 PyObject * obj1 = 0 ;
7926 char *kwnames[] = {
7927 (char *) "self",(char *) "flags", NULL
7928 };
7929
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7933 arg2 = (int) SWIG_AsInt(obj1);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 (arg1)->SetFlags(arg2);
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 Py_INCREF(Py_None); resultobj = Py_None;
7943 return resultobj;
7944 fail:
7945 return NULL;
7946 }
7947
7948
7949 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj;
7951 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7952 int result;
7953 PyObject * obj0 = 0 ;
7954 char *kwnames[] = {
7955 (char *) "self", NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 resultobj = SWIG_FromInt((int)result);
7969 return resultobj;
7970 fail:
7971 return NULL;
7972 }
7973
7974
7975 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7976 PyObject *resultobj;
7977 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7978 wxSize *arg2 = 0 ;
7979 wxSize temp2 ;
7980 PyObject * obj0 = 0 ;
7981 PyObject * obj1 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "self",(char *) "size", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7989 {
7990 arg2 = &temp2;
7991 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7992 }
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 (arg1)->SetSize((wxSize const &)*arg2);
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 Py_INCREF(Py_None); resultobj = Py_None;
8001 return resultobj;
8002 fail:
8003 return NULL;
8004 }
8005
8006
8007 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj;
8009 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8010 wxSize result;
8011 PyObject * obj0 = 0 ;
8012 char *kwnames[] = {
8013 (char *) "self", NULL
8014 };
8015
8016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8022
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 {
8027 wxSize * resultptr;
8028 resultptr = new wxSize((wxSize &) result);
8029 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8030 }
8031 return resultobj;
8032 fail:
8033 return NULL;
8034 }
8035
8036
8037 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj;
8039 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8040 int arg2 ;
8041 PyObject * obj0 = 0 ;
8042 PyObject * obj1 = 0 ;
8043 char *kwnames[] = {
8044 (char *) "self",(char *) "orient", NULL
8045 };
8046
8047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8050 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 {
8053 PyThreadState* __tstate = wxPyBeginAllowThreads();
8054 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8055
8056 wxPyEndAllowThreads(__tstate);
8057 if (PyErr_Occurred()) SWIG_fail;
8058 }
8059 Py_INCREF(Py_None); resultobj = Py_None;
8060 return resultobj;
8061 fail:
8062 return NULL;
8063 }
8064
8065
8066 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8067 PyObject *resultobj;
8068 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8069 int result;
8070 PyObject * obj0 = 0 ;
8071 char *kwnames[] = {
8072 (char *) "self", NULL
8073 };
8074
8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8078 {
8079 PyThreadState* __tstate = wxPyBeginAllowThreads();
8080 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8081
8082 wxPyEndAllowThreads(__tstate);
8083 if (PyErr_Occurred()) SWIG_fail;
8084 }
8085 resultobj = SWIG_FromInt((int)result);
8086 return resultobj;
8087 fail:
8088 return NULL;
8089 }
8090
8091
8092 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8093 PyObject *resultobj;
8094 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8095 int arg2 ;
8096 PyObject * obj0 = 0 ;
8097 PyObject * obj1 = 0 ;
8098 char *kwnames[] = {
8099 (char *) "self",(char *) "align", NULL
8100 };
8101
8102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8105 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8106 if (PyErr_Occurred()) SWIG_fail;
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8110
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 }
8114 Py_INCREF(Py_None); resultobj = Py_None;
8115 return resultobj;
8116 fail:
8117 return NULL;
8118 }
8119
8120
8121 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj;
8123 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8124 int result;
8125 PyObject * obj0 = 0 ;
8126 char *kwnames[] = {
8127 (char *) "self", NULL
8128 };
8129
8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 resultobj = SWIG_FromInt((int)result);
8141 return resultobj;
8142 fail:
8143 return NULL;
8144 }
8145
8146
8147 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
8148 PyObject *obj;
8149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8150 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8151 Py_INCREF(obj);
8152 return Py_BuildValue((char *)"");
8153 }
8154 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8155 PyObject *resultobj;
8156 int arg1 = (int) 0 ;
8157 wxCalculateLayoutEvent *result;
8158 PyObject * obj0 = 0 ;
8159 char *kwnames[] = {
8160 (char *) "id", NULL
8161 };
8162
8163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8164 if (obj0) {
8165 arg1 = (int) SWIG_AsInt(obj0);
8166 if (PyErr_Occurred()) SWIG_fail;
8167 }
8168 {
8169 PyThreadState* __tstate = wxPyBeginAllowThreads();
8170 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8171
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
8175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8176 return resultobj;
8177 fail:
8178 return NULL;
8179 }
8180
8181
8182 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8183 PyObject *resultobj;
8184 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8185 int arg2 ;
8186 PyObject * obj0 = 0 ;
8187 PyObject * obj1 = 0 ;
8188 char *kwnames[] = {
8189 (char *) "self",(char *) "flags", NULL
8190 };
8191
8192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8195 arg2 = (int) SWIG_AsInt(obj1);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 (arg1)->SetFlags(arg2);
8200
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 Py_INCREF(Py_None); resultobj = Py_None;
8205 return resultobj;
8206 fail:
8207 return NULL;
8208 }
8209
8210
8211 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj;
8213 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8214 int result;
8215 PyObject * obj0 = 0 ;
8216 char *kwnames[] = {
8217 (char *) "self", NULL
8218 };
8219
8220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
8225 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8226
8227 wxPyEndAllowThreads(__tstate);
8228 if (PyErr_Occurred()) SWIG_fail;
8229 }
8230 resultobj = SWIG_FromInt((int)result);
8231 return resultobj;
8232 fail:
8233 return NULL;
8234 }
8235
8236
8237 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8238 PyObject *resultobj;
8239 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8240 wxRect *arg2 = 0 ;
8241 wxRect temp2 ;
8242 PyObject * obj0 = 0 ;
8243 PyObject * obj1 = 0 ;
8244 char *kwnames[] = {
8245 (char *) "self",(char *) "rect", NULL
8246 };
8247
8248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8251 {
8252 arg2 = &temp2;
8253 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8254 }
8255 {
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 (arg1)->SetRect((wxRect const &)*arg2);
8258
8259 wxPyEndAllowThreads(__tstate);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
8262 Py_INCREF(Py_None); resultobj = Py_None;
8263 return resultobj;
8264 fail:
8265 return NULL;
8266 }
8267
8268
8269 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8270 PyObject *resultobj;
8271 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8272 wxRect result;
8273 PyObject * obj0 = 0 ;
8274 char *kwnames[] = {
8275 (char *) "self", NULL
8276 };
8277
8278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8284
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) SWIG_fail;
8287 }
8288 {
8289 wxRect * resultptr;
8290 resultptr = new wxRect((wxRect &) result);
8291 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8292 }
8293 return resultobj;
8294 fail:
8295 return NULL;
8296 }
8297
8298
8299 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8300 PyObject *obj;
8301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8302 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8303 Py_INCREF(obj);
8304 return Py_BuildValue((char *)"");
8305 }
8306 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8307 PyObject *resultobj;
8308 wxWindow *arg1 = (wxWindow *) 0 ;
8309 int arg2 = (int) -1 ;
8310 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8311 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8312 wxSize const &arg4_defvalue = wxDefaultSize ;
8313 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8314 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8315 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8316 wxString *arg6 = (wxString *) &arg6_defvalue ;
8317 wxSashLayoutWindow *result;
8318 wxPoint temp3 ;
8319 wxSize temp4 ;
8320 bool temp6 = False ;
8321 PyObject * obj0 = 0 ;
8322 PyObject * obj1 = 0 ;
8323 PyObject * obj2 = 0 ;
8324 PyObject * obj3 = 0 ;
8325 PyObject * obj4 = 0 ;
8326 PyObject * obj5 = 0 ;
8327 char *kwnames[] = {
8328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8329 };
8330
8331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8334 if (obj1) {
8335 arg2 = (int) SWIG_AsInt(obj1);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 if (obj2) {
8339 {
8340 arg3 = &temp3;
8341 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8342 }
8343 }
8344 if (obj3) {
8345 {
8346 arg4 = &temp4;
8347 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8348 }
8349 }
8350 if (obj4) {
8351 arg5 = (long) SWIG_AsLong(obj4);
8352 if (PyErr_Occurred()) SWIG_fail;
8353 }
8354 if (obj5) {
8355 {
8356 arg6 = wxString_in_helper(obj5);
8357 if (arg6 == NULL) SWIG_fail;
8358 temp6 = True;
8359 }
8360 }
8361 {
8362 if (!wxPyCheckForApp()) SWIG_fail;
8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
8364 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8365
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8370 {
8371 if (temp6)
8372 delete arg6;
8373 }
8374 return resultobj;
8375 fail:
8376 {
8377 if (temp6)
8378 delete arg6;
8379 }
8380 return NULL;
8381 }
8382
8383
8384 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8385 PyObject *resultobj;
8386 wxSashLayoutWindow *result;
8387 char *kwnames[] = {
8388 NULL
8389 };
8390
8391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8392 {
8393 if (!wxPyCheckForApp()) SWIG_fail;
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8396
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8401 return resultobj;
8402 fail:
8403 return NULL;
8404 }
8405
8406
8407 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj;
8409 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8410 wxWindow *arg2 = (wxWindow *) 0 ;
8411 int arg3 = (int) -1 ;
8412 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8413 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8414 wxSize const &arg5_defvalue = wxDefaultSize ;
8415 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8416 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8417 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8418 wxString *arg7 = (wxString *) &arg7_defvalue ;
8419 bool result;
8420 wxPoint temp4 ;
8421 wxSize temp5 ;
8422 bool temp7 = False ;
8423 PyObject * obj0 = 0 ;
8424 PyObject * obj1 = 0 ;
8425 PyObject * obj2 = 0 ;
8426 PyObject * obj3 = 0 ;
8427 PyObject * obj4 = 0 ;
8428 PyObject * obj5 = 0 ;
8429 PyObject * obj6 = 0 ;
8430 char *kwnames[] = {
8431 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8432 };
8433
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8439 if (obj2) {
8440 arg3 = (int) SWIG_AsInt(obj2);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
8443 if (obj3) {
8444 {
8445 arg4 = &temp4;
8446 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8447 }
8448 }
8449 if (obj4) {
8450 {
8451 arg5 = &temp5;
8452 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8453 }
8454 }
8455 if (obj5) {
8456 arg6 = (long) SWIG_AsLong(obj5);
8457 if (PyErr_Occurred()) SWIG_fail;
8458 }
8459 if (obj6) {
8460 {
8461 arg7 = wxString_in_helper(obj6);
8462 if (arg7 == NULL) SWIG_fail;
8463 temp7 = True;
8464 }
8465 }
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 {
8474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8475 }
8476 {
8477 if (temp7)
8478 delete arg7;
8479 }
8480 return resultobj;
8481 fail:
8482 {
8483 if (temp7)
8484 delete arg7;
8485 }
8486 return NULL;
8487 }
8488
8489
8490 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8491 PyObject *resultobj;
8492 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8493 int result;
8494 PyObject * obj0 = 0 ;
8495 char *kwnames[] = {
8496 (char *) "self", NULL
8497 };
8498
8499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8502 {
8503 PyThreadState* __tstate = wxPyBeginAllowThreads();
8504 result = (int)(arg1)->GetAlignment();
8505
8506 wxPyEndAllowThreads(__tstate);
8507 if (PyErr_Occurred()) SWIG_fail;
8508 }
8509 resultobj = SWIG_FromInt((int)result);
8510 return resultobj;
8511 fail:
8512 return NULL;
8513 }
8514
8515
8516 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8517 PyObject *resultobj;
8518 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8519 int result;
8520 PyObject * obj0 = 0 ;
8521 char *kwnames[] = {
8522 (char *) "self", NULL
8523 };
8524
8525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 result = (int)(arg1)->GetOrientation();
8531
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 resultobj = SWIG_FromInt((int)result);
8536 return resultobj;
8537 fail:
8538 return NULL;
8539 }
8540
8541
8542 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8543 PyObject *resultobj;
8544 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8545 int arg2 ;
8546 PyObject * obj0 = 0 ;
8547 PyObject * obj1 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "self",(char *) "alignment", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8555 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
8564 Py_INCREF(Py_None); resultobj = Py_None;
8565 return resultobj;
8566 fail:
8567 return NULL;
8568 }
8569
8570
8571 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8572 PyObject *resultobj;
8573 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8574 wxSize *arg2 = 0 ;
8575 wxSize temp2 ;
8576 PyObject * obj0 = 0 ;
8577 PyObject * obj1 = 0 ;
8578 char *kwnames[] = {
8579 (char *) "self",(char *) "size", NULL
8580 };
8581
8582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8585 {
8586 arg2 = &temp2;
8587 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8588 }
8589 {
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8592
8593 wxPyEndAllowThreads(__tstate);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 Py_INCREF(Py_None); resultobj = Py_None;
8597 return resultobj;
8598 fail:
8599 return NULL;
8600 }
8601
8602
8603 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8604 PyObject *resultobj;
8605 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8606 int arg2 ;
8607 PyObject * obj0 = 0 ;
8608 PyObject * obj1 = 0 ;
8609 char *kwnames[] = {
8610 (char *) "self",(char *) "orientation", NULL
8611 };
8612
8613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8616 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8621
8622 wxPyEndAllowThreads(__tstate);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 Py_INCREF(Py_None); resultobj = Py_None;
8626 return resultobj;
8627 fail:
8628 return NULL;
8629 }
8630
8631
8632 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8633 PyObject *obj;
8634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8635 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8636 Py_INCREF(obj);
8637 return Py_BuildValue((char *)"");
8638 }
8639 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8640 PyObject *resultobj;
8641 wxLayoutAlgorithm *result;
8642 char *kwnames[] = {
8643 NULL
8644 };
8645
8646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8655 return resultobj;
8656 fail:
8657 return NULL;
8658 }
8659
8660
8661 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8662 PyObject *resultobj;
8663 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8664 PyObject * obj0 = 0 ;
8665 char *kwnames[] = {
8666 (char *) "self", NULL
8667 };
8668
8669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 delete arg1;
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 Py_INCREF(Py_None); resultobj = Py_None;
8680 return resultobj;
8681 fail:
8682 return NULL;
8683 }
8684
8685
8686 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8687 PyObject *resultobj;
8688 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8689 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8690 wxRect *arg3 = (wxRect *) NULL ;
8691 bool result;
8692 PyObject * obj0 = 0 ;
8693 PyObject * obj1 = 0 ;
8694 PyObject * obj2 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "self",(char *) "frame",(char *) "rect", NULL
8697 };
8698
8699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8704 if (obj2) {
8705 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8707 }
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8711
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 {
8716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8717 }
8718 return resultobj;
8719 fail:
8720 return NULL;
8721 }
8722
8723
8724 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8725 PyObject *resultobj;
8726 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8727 wxFrame *arg2 = (wxFrame *) 0 ;
8728 wxWindow *arg3 = (wxWindow *) NULL ;
8729 bool result;
8730 PyObject * obj0 = 0 ;
8731 PyObject * obj1 = 0 ;
8732 PyObject * obj2 = 0 ;
8733 char *kwnames[] = {
8734 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8735 };
8736
8737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8742 if (obj2) {
8743 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8745 }
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 {
8754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8755 }
8756 return resultobj;
8757 fail:
8758 return NULL;
8759 }
8760
8761
8762 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8763 PyObject *resultobj;
8764 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8765 wxWindow *arg2 = (wxWindow *) 0 ;
8766 wxWindow *arg3 = (wxWindow *) NULL ;
8767 bool result;
8768 PyObject * obj0 = 0 ;
8769 PyObject * obj1 = 0 ;
8770 PyObject * obj2 = 0 ;
8771 char *kwnames[] = {
8772 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8773 };
8774
8775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8780 if (obj2) {
8781 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8783 }
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 {
8792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8793 }
8794 return resultobj;
8795 fail:
8796 return NULL;
8797 }
8798
8799
8800 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8801 PyObject *obj;
8802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8803 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8804 Py_INCREF(obj);
8805 return Py_BuildValue((char *)"");
8806 }
8807 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8808 PyObject *resultobj;
8809 wxWindow *arg1 = (wxWindow *) 0 ;
8810 int arg2 = (int) wxBORDER_NONE ;
8811 wxPopupWindow *result;
8812 PyObject * obj0 = 0 ;
8813 PyObject * obj1 = 0 ;
8814 char *kwnames[] = {
8815 (char *) "parent",(char *) "flags", NULL
8816 };
8817
8818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8821 if (obj1) {
8822 arg2 = (int) SWIG_AsInt(obj1);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 {
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
8827 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8828
8829 wxPyEndAllowThreads(__tstate);
8830 if (PyErr_Occurred()) SWIG_fail;
8831 }
8832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8833 return resultobj;
8834 fail:
8835 return NULL;
8836 }
8837
8838
8839 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8840 PyObject *resultobj;
8841 wxPopupWindow *result;
8842 char *kwnames[] = {
8843 NULL
8844 };
8845
8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8847 {
8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
8849 result = (wxPopupWindow *)new wxPopupWindow();
8850
8851 wxPyEndAllowThreads(__tstate);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 }
8854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8855 return resultobj;
8856 fail:
8857 return NULL;
8858 }
8859
8860
8861 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8862 PyObject *obj;
8863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8864 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8865 Py_INCREF(obj);
8866 return Py_BuildValue((char *)"");
8867 }
8868 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8869 PyObject *resultobj;
8870 wxWindow *arg1 = (wxWindow *) 0 ;
8871 int arg2 = (int) wxBORDER_NONE ;
8872 wxPyPopupTransientWindow *result;
8873 PyObject * obj0 = 0 ;
8874 PyObject * obj1 = 0 ;
8875 char *kwnames[] = {
8876 (char *) "parent",(char *) "style", NULL
8877 };
8878
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8882 if (obj1) {
8883 arg2 = (int) SWIG_AsInt(obj1);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 {
8887 PyThreadState* __tstate = wxPyBeginAllowThreads();
8888 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8889
8890 wxPyEndAllowThreads(__tstate);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 }
8893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8894 return resultobj;
8895 fail:
8896 return NULL;
8897 }
8898
8899
8900 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8901 PyObject *resultobj;
8902 wxPyPopupTransientWindow *result;
8903 char *kwnames[] = {
8904 NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
8910 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8911
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8916 return resultobj;
8917 fail:
8918 return NULL;
8919 }
8920
8921
8922 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8923 PyObject *obj;
8924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8925 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8926 Py_INCREF(obj);
8927 return Py_BuildValue((char *)"");
8928 }
8929 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj;
8931 wxWindow *arg1 = (wxWindow *) 0 ;
8932 wxString *arg2 = 0 ;
8933 int arg3 = (int) 100 ;
8934 wxRect *arg4 = (wxRect *) NULL ;
8935 wxTipWindow *result;
8936 bool temp2 = False ;
8937 PyObject * obj0 = 0 ;
8938 PyObject * obj1 = 0 ;
8939 PyObject * obj2 = 0 ;
8940 PyObject * obj3 = 0 ;
8941 char *kwnames[] = {
8942 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8943 };
8944
8945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8948 {
8949 arg2 = wxString_in_helper(obj1);
8950 if (arg2 == NULL) SWIG_fail;
8951 temp2 = True;
8952 }
8953 if (obj2) {
8954 arg3 = (int) SWIG_AsInt(obj2);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 }
8957 if (obj3) {
8958 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8960 }
8961 {
8962 if (!wxPyCheckForApp()) SWIG_fail;
8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
8964 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8965
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8970 {
8971 if (temp2)
8972 delete arg2;
8973 }
8974 return resultobj;
8975 fail:
8976 {
8977 if (temp2)
8978 delete arg2;
8979 }
8980 return NULL;
8981 }
8982
8983
8984 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj;
8986 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8987 wxRect *arg2 = 0 ;
8988 wxRect temp2 ;
8989 PyObject * obj0 = 0 ;
8990 PyObject * obj1 = 0 ;
8991 char *kwnames[] = {
8992 (char *) "self",(char *) "rectBound", NULL
8993 };
8994
8995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8998 {
8999 arg2 = &temp2;
9000 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9001 }
9002 {
9003 PyThreadState* __tstate = wxPyBeginAllowThreads();
9004 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9005
9006 wxPyEndAllowThreads(__tstate);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 Py_INCREF(Py_None); resultobj = Py_None;
9010 return resultobj;
9011 fail:
9012 return NULL;
9013 }
9014
9015
9016 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
9017 PyObject *resultobj;
9018 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9019 PyObject * obj0 = 0 ;
9020 char *kwnames[] = {
9021 (char *) "self", NULL
9022 };
9023
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 (arg1)->Close();
9030
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 Py_INCREF(Py_None); resultobj = Py_None;
9035 return resultobj;
9036 fail:
9037 return NULL;
9038 }
9039
9040
9041 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
9042 PyObject *obj;
9043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9044 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9045 Py_INCREF(obj);
9046 return Py_BuildValue((char *)"");
9047 }
9048 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9049 PyObject *resultobj;
9050 wxWindow *arg1 = (wxWindow *) 0 ;
9051 int arg2 = (int) wxID_ANY ;
9052 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9053 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9054 wxSize const &arg4_defvalue = wxDefaultSize ;
9055 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9056 long arg5 = (long) 0 ;
9057 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9058 wxString *arg6 = (wxString *) &arg6_defvalue ;
9059 wxPyVScrolledWindow *result;
9060 wxPoint temp3 ;
9061 wxSize temp4 ;
9062 bool temp6 = False ;
9063 PyObject * obj0 = 0 ;
9064 PyObject * obj1 = 0 ;
9065 PyObject * obj2 = 0 ;
9066 PyObject * obj3 = 0 ;
9067 PyObject * obj4 = 0 ;
9068 PyObject * obj5 = 0 ;
9069 char *kwnames[] = {
9070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9071 };
9072
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9076 if (obj1) {
9077 arg2 = (int) SWIG_AsInt(obj1);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 }
9080 if (obj2) {
9081 {
9082 arg3 = &temp3;
9083 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9084 }
9085 }
9086 if (obj3) {
9087 {
9088 arg4 = &temp4;
9089 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9090 }
9091 }
9092 if (obj4) {
9093 arg5 = (long) SWIG_AsLong(obj4);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
9096 if (obj5) {
9097 {
9098 arg6 = wxString_in_helper(obj5);
9099 if (arg6 == NULL) SWIG_fail;
9100 temp6 = True;
9101 }
9102 }
9103 {
9104 if (!wxPyCheckForApp()) SWIG_fail;
9105 PyThreadState* __tstate = wxPyBeginAllowThreads();
9106 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9107
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9112 {
9113 if (temp6)
9114 delete arg6;
9115 }
9116 return resultobj;
9117 fail:
9118 {
9119 if (temp6)
9120 delete arg6;
9121 }
9122 return NULL;
9123 }
9124
9125
9126 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9127 PyObject *resultobj;
9128 wxPyVScrolledWindow *result;
9129 char *kwnames[] = {
9130 NULL
9131 };
9132
9133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9134 {
9135 if (!wxPyCheckForApp()) SWIG_fail;
9136 PyThreadState* __tstate = wxPyBeginAllowThreads();
9137 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9138
9139 wxPyEndAllowThreads(__tstate);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9143 return resultobj;
9144 fail:
9145 return NULL;
9146 }
9147
9148
9149 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9150 PyObject *resultobj;
9151 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9152 PyObject *arg2 = (PyObject *) 0 ;
9153 PyObject *arg3 = (PyObject *) 0 ;
9154 PyObject * obj0 = 0 ;
9155 PyObject * obj1 = 0 ;
9156 PyObject * obj2 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "self",(char *) "_class", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9164 arg2 = obj1;
9165 arg3 = obj2;
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 (arg1)->_setCallbackInfo(arg2,arg3);
9169
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 Py_INCREF(Py_None); resultobj = Py_None;
9174 return resultobj;
9175 fail:
9176 return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9183 wxWindow *arg2 = (wxWindow *) 0 ;
9184 int arg3 = (int) wxID_ANY ;
9185 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9186 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9187 wxSize const &arg5_defvalue = wxDefaultSize ;
9188 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9189 long arg6 = (long) 0 ;
9190 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9191 wxString *arg7 = (wxString *) &arg7_defvalue ;
9192 bool result;
9193 wxPoint temp4 ;
9194 wxSize temp5 ;
9195 bool temp7 = False ;
9196 PyObject * obj0 = 0 ;
9197 PyObject * obj1 = 0 ;
9198 PyObject * obj2 = 0 ;
9199 PyObject * obj3 = 0 ;
9200 PyObject * obj4 = 0 ;
9201 PyObject * obj5 = 0 ;
9202 PyObject * obj6 = 0 ;
9203 char *kwnames[] = {
9204 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9205 };
9206
9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9210 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9212 if (obj2) {
9213 arg3 = (int) SWIG_AsInt(obj2);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 if (obj3) {
9217 {
9218 arg4 = &temp4;
9219 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9220 }
9221 }
9222 if (obj4) {
9223 {
9224 arg5 = &temp5;
9225 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9226 }
9227 }
9228 if (obj5) {
9229 arg6 = (long) SWIG_AsLong(obj5);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 if (obj6) {
9233 {
9234 arg7 = wxString_in_helper(obj6);
9235 if (arg7 == NULL) SWIG_fail;
9236 temp7 = True;
9237 }
9238 }
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9242
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) SWIG_fail;
9245 }
9246 {
9247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9248 }
9249 {
9250 if (temp7)
9251 delete arg7;
9252 }
9253 return resultobj;
9254 fail:
9255 {
9256 if (temp7)
9257 delete arg7;
9258 }
9259 return NULL;
9260 }
9261
9262
9263 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj;
9265 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9266 size_t arg2 ;
9267 PyObject * obj0 = 0 ;
9268 PyObject * obj1 = 0 ;
9269 char *kwnames[] = {
9270 (char *) "self",(char *) "count", NULL
9271 };
9272
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9276 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 (arg1)->SetLineCount(arg2);
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 Py_INCREF(Py_None); resultobj = Py_None;
9286 return resultobj;
9287 fail:
9288 return NULL;
9289 }
9290
9291
9292 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9293 PyObject *resultobj;
9294 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9295 size_t arg2 ;
9296 bool result;
9297 PyObject * obj0 = 0 ;
9298 PyObject * obj1 = 0 ;
9299 char *kwnames[] = {
9300 (char *) "self",(char *) "line", NULL
9301 };
9302
9303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9306 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 {
9309 PyThreadState* __tstate = wxPyBeginAllowThreads();
9310 result = (bool)(arg1)->ScrollToLine(arg2);
9311
9312 wxPyEndAllowThreads(__tstate);
9313 if (PyErr_Occurred()) SWIG_fail;
9314 }
9315 {
9316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9317 }
9318 return resultobj;
9319 fail:
9320 return NULL;
9321 }
9322
9323
9324 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9325 PyObject *resultobj;
9326 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9327 int arg2 ;
9328 bool result;
9329 PyObject * obj0 = 0 ;
9330 PyObject * obj1 = 0 ;
9331 char *kwnames[] = {
9332 (char *) "self",(char *) "lines", NULL
9333 };
9334
9335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9338 arg2 = (int) SWIG_AsInt(obj1);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 result = (bool)(arg1)->ScrollLines(arg2);
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 {
9348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9349 }
9350 return resultobj;
9351 fail:
9352 return NULL;
9353 }
9354
9355
9356 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9357 PyObject *resultobj;
9358 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9359 int arg2 ;
9360 bool result;
9361 PyObject * obj0 = 0 ;
9362 PyObject * obj1 = 0 ;
9363 char *kwnames[] = {
9364 (char *) "self",(char *) "pages", NULL
9365 };
9366
9367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9370 arg2 = (int) SWIG_AsInt(obj1);
9371 if (PyErr_Occurred()) SWIG_fail;
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
9374 result = (bool)(arg1)->ScrollPages(arg2);
9375
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 {
9380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9381 }
9382 return resultobj;
9383 fail:
9384 return NULL;
9385 }
9386
9387
9388 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9389 PyObject *resultobj;
9390 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9391 size_t arg2 ;
9392 PyObject * obj0 = 0 ;
9393 PyObject * obj1 = 0 ;
9394 char *kwnames[] = {
9395 (char *) "self",(char *) "line", NULL
9396 };
9397
9398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9401 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9402 if (PyErr_Occurred()) SWIG_fail;
9403 {
9404 PyThreadState* __tstate = wxPyBeginAllowThreads();
9405 (arg1)->RefreshLine(arg2);
9406
9407 wxPyEndAllowThreads(__tstate);
9408 if (PyErr_Occurred()) SWIG_fail;
9409 }
9410 Py_INCREF(Py_None); resultobj = Py_None;
9411 return resultobj;
9412 fail:
9413 return NULL;
9414 }
9415
9416
9417 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9418 PyObject *resultobj;
9419 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9420 size_t arg2 ;
9421 size_t arg3 ;
9422 PyObject * obj0 = 0 ;
9423 PyObject * obj1 = 0 ;
9424 PyObject * obj2 = 0 ;
9425 char *kwnames[] = {
9426 (char *) "self",(char *) "from",(char *) "to", NULL
9427 };
9428
9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9432 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9435 if (PyErr_Occurred()) SWIG_fail;
9436 {
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 (arg1)->RefreshLines(arg2,arg3);
9439
9440 wxPyEndAllowThreads(__tstate);
9441 if (PyErr_Occurred()) SWIG_fail;
9442 }
9443 Py_INCREF(Py_None); resultobj = Py_None;
9444 return resultobj;
9445 fail:
9446 return NULL;
9447 }
9448
9449
9450 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9453 int arg2 ;
9454 int arg3 ;
9455 int result;
9456 PyObject * obj0 = 0 ;
9457 PyObject * obj1 = 0 ;
9458 PyObject * obj2 = 0 ;
9459 char *kwnames[] = {
9460 (char *) "self",(char *) "x",(char *) "y", NULL
9461 };
9462
9463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9466 arg2 = (int) SWIG_AsInt(obj1);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 arg3 = (int) SWIG_AsInt(obj2);
9469 if (PyErr_Occurred()) SWIG_fail;
9470 {
9471 PyThreadState* __tstate = wxPyBeginAllowThreads();
9472 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9473
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) SWIG_fail;
9476 }
9477 resultobj = SWIG_FromInt((int)result);
9478 return resultobj;
9479 fail:
9480 return NULL;
9481 }
9482
9483
9484 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj;
9486 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9487 wxPoint *arg2 = 0 ;
9488 int result;
9489 wxPoint temp2 ;
9490 PyObject * obj0 = 0 ;
9491 PyObject * obj1 = 0 ;
9492 char *kwnames[] = {
9493 (char *) "self",(char *) "pt", NULL
9494 };
9495
9496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9499 {
9500 arg2 = &temp2;
9501 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9502 }
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 resultobj = SWIG_FromInt((int)result);
9511 return resultobj;
9512 fail:
9513 return NULL;
9514 }
9515
9516
9517 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9520 PyObject * obj0 = 0 ;
9521 char *kwnames[] = {
9522 (char *) "self", NULL
9523 };
9524
9525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9528 {
9529 PyThreadState* __tstate = wxPyBeginAllowThreads();
9530 (arg1)->RefreshAll();
9531
9532 wxPyEndAllowThreads(__tstate);
9533 if (PyErr_Occurred()) SWIG_fail;
9534 }
9535 Py_INCREF(Py_None); resultobj = Py_None;
9536 return resultobj;
9537 fail:
9538 return NULL;
9539 }
9540
9541
9542 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9543 PyObject *resultobj;
9544 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9545 size_t result;
9546 PyObject * obj0 = 0 ;
9547 char *kwnames[] = {
9548 (char *) "self", NULL
9549 };
9550
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9554 {
9555 PyThreadState* __tstate = wxPyBeginAllowThreads();
9556 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9557
9558 wxPyEndAllowThreads(__tstate);
9559 if (PyErr_Occurred()) SWIG_fail;
9560 }
9561 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9562 return resultobj;
9563 fail:
9564 return NULL;
9565 }
9566
9567
9568 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9569 PyObject *resultobj;
9570 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9571 size_t result;
9572 PyObject * obj0 = 0 ;
9573 char *kwnames[] = {
9574 (char *) "self", NULL
9575 };
9576
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9580 {
9581 PyThreadState* __tstate = wxPyBeginAllowThreads();
9582 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9583
9584 wxPyEndAllowThreads(__tstate);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
9587 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9588 return resultobj;
9589 fail:
9590 return NULL;
9591 }
9592
9593
9594 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj;
9596 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9597 size_t result;
9598 PyObject * obj0 = 0 ;
9599 char *kwnames[] = {
9600 (char *) "self", NULL
9601 };
9602
9603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9606 {
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 }
9613 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9614 return resultobj;
9615 fail:
9616 return NULL;
9617 }
9618
9619
9620 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9621 PyObject *resultobj;
9622 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9623 size_t arg2 ;
9624 bool result;
9625 PyObject * obj0 = 0 ;
9626 PyObject * obj1 = 0 ;
9627 char *kwnames[] = {
9628 (char *) "self",(char *) "line", NULL
9629 };
9630
9631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9634 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9635 if (PyErr_Occurred()) SWIG_fail;
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 {
9644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9645 }
9646 return resultobj;
9647 fail:
9648 return NULL;
9649 }
9650
9651
9652 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9653 PyObject *obj;
9654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9655 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9656 Py_INCREF(obj);
9657 return Py_BuildValue((char *)"");
9658 }
9659 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9660 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9661 return 1;
9662 }
9663
9664
9665 static PyObject *_wrap_VListBoxNameStr_get() {
9666 PyObject *pyobj;
9667
9668 {
9669 #if wxUSE_UNICODE
9670 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9671 #else
9672 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9673 #endif
9674 }
9675 return pyobj;
9676 }
9677
9678
9679 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9680 PyObject *resultobj;
9681 wxWindow *arg1 = (wxWindow *) 0 ;
9682 int arg2 = (int) wxID_ANY ;
9683 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9684 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9685 wxSize const &arg4_defvalue = wxDefaultSize ;
9686 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9687 long arg5 = (long) 0 ;
9688 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9689 wxString *arg6 = (wxString *) &arg6_defvalue ;
9690 wxPyVListBox *result;
9691 wxPoint temp3 ;
9692 wxSize temp4 ;
9693 bool temp6 = False ;
9694 PyObject * obj0 = 0 ;
9695 PyObject * obj1 = 0 ;
9696 PyObject * obj2 = 0 ;
9697 PyObject * obj3 = 0 ;
9698 PyObject * obj4 = 0 ;
9699 PyObject * obj5 = 0 ;
9700 char *kwnames[] = {
9701 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9702 };
9703
9704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9707 if (obj1) {
9708 arg2 = (int) SWIG_AsInt(obj1);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
9711 if (obj2) {
9712 {
9713 arg3 = &temp3;
9714 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9715 }
9716 }
9717 if (obj3) {
9718 {
9719 arg4 = &temp4;
9720 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9721 }
9722 }
9723 if (obj4) {
9724 arg5 = (long) SWIG_AsLong(obj4);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 if (obj5) {
9728 {
9729 arg6 = wxString_in_helper(obj5);
9730 if (arg6 == NULL) SWIG_fail;
9731 temp6 = True;
9732 }
9733 }
9734 {
9735 if (!wxPyCheckForApp()) SWIG_fail;
9736 PyThreadState* __tstate = wxPyBeginAllowThreads();
9737 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9738
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9743 {
9744 if (temp6)
9745 delete arg6;
9746 }
9747 return resultobj;
9748 fail:
9749 {
9750 if (temp6)
9751 delete arg6;
9752 }
9753 return NULL;
9754 }
9755
9756
9757 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj;
9759 wxPyVListBox *result;
9760 char *kwnames[] = {
9761 NULL
9762 };
9763
9764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9765 {
9766 if (!wxPyCheckForApp()) SWIG_fail;
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 result = (wxPyVListBox *)new wxPyVListBox();
9769
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9774 return resultobj;
9775 fail:
9776 return NULL;
9777 }
9778
9779
9780 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9781 PyObject *resultobj;
9782 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9783 PyObject *arg2 = (PyObject *) 0 ;
9784 PyObject *arg3 = (PyObject *) 0 ;
9785 PyObject * obj0 = 0 ;
9786 PyObject * obj1 = 0 ;
9787 PyObject * obj2 = 0 ;
9788 char *kwnames[] = {
9789 (char *) "self",(char *) "self",(char *) "_class", NULL
9790 };
9791
9792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9795 arg2 = obj1;
9796 arg3 = obj2;
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 (arg1)->_setCallbackInfo(arg2,arg3);
9800
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 Py_INCREF(Py_None); resultobj = Py_None;
9805 return resultobj;
9806 fail:
9807 return NULL;
9808 }
9809
9810
9811 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9814 wxWindow *arg2 = (wxWindow *) 0 ;
9815 int arg3 = (int) wxID_ANY ;
9816 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9817 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9818 wxSize const &arg5_defvalue = wxDefaultSize ;
9819 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9820 long arg6 = (long) 0 ;
9821 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9822 wxString *arg7 = (wxString *) &arg7_defvalue ;
9823 bool result;
9824 wxPoint temp4 ;
9825 wxSize temp5 ;
9826 bool temp7 = False ;
9827 PyObject * obj0 = 0 ;
9828 PyObject * obj1 = 0 ;
9829 PyObject * obj2 = 0 ;
9830 PyObject * obj3 = 0 ;
9831 PyObject * obj4 = 0 ;
9832 PyObject * obj5 = 0 ;
9833 PyObject * obj6 = 0 ;
9834 char *kwnames[] = {
9835 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9836 };
9837
9838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9843 if (obj2) {
9844 arg3 = (int) SWIG_AsInt(obj2);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 }
9847 if (obj3) {
9848 {
9849 arg4 = &temp4;
9850 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9851 }
9852 }
9853 if (obj4) {
9854 {
9855 arg5 = &temp5;
9856 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9857 }
9858 }
9859 if (obj5) {
9860 arg6 = (long) SWIG_AsLong(obj5);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 if (obj6) {
9864 {
9865 arg7 = wxString_in_helper(obj6);
9866 if (arg7 == NULL) SWIG_fail;
9867 temp7 = True;
9868 }
9869 }
9870 {
9871 PyThreadState* __tstate = wxPyBeginAllowThreads();
9872 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9873
9874 wxPyEndAllowThreads(__tstate);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
9877 {
9878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9879 }
9880 {
9881 if (temp7)
9882 delete arg7;
9883 }
9884 return resultobj;
9885 fail:
9886 {
9887 if (temp7)
9888 delete arg7;
9889 }
9890 return NULL;
9891 }
9892
9893
9894 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9895 PyObject *resultobj;
9896 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9897 size_t result;
9898 PyObject * obj0 = 0 ;
9899 char *kwnames[] = {
9900 (char *) "self", NULL
9901 };
9902
9903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9906 {
9907 PyThreadState* __tstate = wxPyBeginAllowThreads();
9908 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9909
9910 wxPyEndAllowThreads(__tstate);
9911 if (PyErr_Occurred()) SWIG_fail;
9912 }
9913 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9914 return resultobj;
9915 fail:
9916 return NULL;
9917 }
9918
9919
9920 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9921 PyObject *resultobj;
9922 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9923 bool result;
9924 PyObject * obj0 = 0 ;
9925 char *kwnames[] = {
9926 (char *) "self", NULL
9927 };
9928
9929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9932 {
9933 PyThreadState* __tstate = wxPyBeginAllowThreads();
9934 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9935
9936 wxPyEndAllowThreads(__tstate);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 }
9939 {
9940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9941 }
9942 return resultobj;
9943 fail:
9944 return NULL;
9945 }
9946
9947
9948 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj;
9950 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9951 int result;
9952 PyObject * obj0 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9963
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 resultobj = SWIG_FromInt((int)result);
9968 return resultobj;
9969 fail:
9970 return NULL;
9971 }
9972
9973
9974 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9975 PyObject *resultobj;
9976 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9977 size_t arg2 ;
9978 bool result;
9979 PyObject * obj0 = 0 ;
9980 PyObject * obj1 = 0 ;
9981 char *kwnames[] = {
9982 (char *) "self",(char *) "item", NULL
9983 };
9984
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9988 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9993
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 {
9998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9999 }
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10009 size_t arg2 ;
10010 bool result;
10011 PyObject * obj0 = 0 ;
10012 PyObject * obj1 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self",(char *) "item", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10020 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10021 if (PyErr_Occurred()) SWIG_fail;
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
10024 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10025
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) SWIG_fail;
10028 }
10029 {
10030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10031 }
10032 return resultobj;
10033 fail:
10034 return NULL;
10035 }
10036
10037
10038 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10039 PyObject *resultobj;
10040 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10041 size_t result;
10042 PyObject * obj0 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "self", NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10050 {
10051 PyThreadState* __tstate = wxPyBeginAllowThreads();
10052 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10053
10054 wxPyEndAllowThreads(__tstate);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 }
10057 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10058 return resultobj;
10059 fail:
10060 return NULL;
10061 }
10062
10063
10064 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10065 PyObject *resultobj;
10066 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10067 PyObject *result;
10068 PyObject * obj0 = 0 ;
10069 char *kwnames[] = {
10070 (char *) "self", NULL
10071 };
10072
10073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10076 {
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10079
10080 wxPyEndAllowThreads(__tstate);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
10083 resultobj = result;
10084 return resultobj;
10085 fail:
10086 return NULL;
10087 }
10088
10089
10090 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10091 PyObject *resultobj;
10092 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10093 unsigned long arg2 ;
10094 PyObject *result;
10095 PyObject * obj0 = 0 ;
10096 PyObject * obj1 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "self",(char *) "cookie", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10104 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 {
10107 PyThreadState* __tstate = wxPyBeginAllowThreads();
10108 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10109
10110 wxPyEndAllowThreads(__tstate);
10111 if (PyErr_Occurred()) SWIG_fail;
10112 }
10113 resultobj = result;
10114 return resultobj;
10115 fail:
10116 return NULL;
10117 }
10118
10119
10120 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10121 PyObject *resultobj;
10122 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10123 wxPoint result;
10124 PyObject * obj0 = 0 ;
10125 char *kwnames[] = {
10126 (char *) "self", NULL
10127 };
10128
10129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10132 {
10133 PyThreadState* __tstate = wxPyBeginAllowThreads();
10134 result = ((wxPyVListBox const *)arg1)->GetMargins();
10135
10136 wxPyEndAllowThreads(__tstate);
10137 if (PyErr_Occurred()) SWIG_fail;
10138 }
10139 {
10140 wxPoint * resultptr;
10141 resultptr = new wxPoint((wxPoint &) result);
10142 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10143 }
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj;
10152 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10153 wxColour *result;
10154 PyObject * obj0 = 0 ;
10155 char *kwnames[] = {
10156 (char *) "self", NULL
10157 };
10158
10159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10162 {
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
10164 {
10165 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10166 result = (wxColour *) &_result_ref;
10167 }
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10173 return resultobj;
10174 fail:
10175 return NULL;
10176 }
10177
10178
10179 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10180 PyObject *resultobj;
10181 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10182 size_t arg2 ;
10183 PyObject * obj0 = 0 ;
10184 PyObject * obj1 = 0 ;
10185 char *kwnames[] = {
10186 (char *) "self",(char *) "count", NULL
10187 };
10188
10189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10192 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 (arg1)->SetItemCount(arg2);
10197
10198 wxPyEndAllowThreads(__tstate);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 }
10201 Py_INCREF(Py_None); resultobj = Py_None;
10202 return resultobj;
10203 fail:
10204 return NULL;
10205 }
10206
10207
10208 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10209 PyObject *resultobj;
10210 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10211 PyObject * obj0 = 0 ;
10212 char *kwnames[] = {
10213 (char *) "self", NULL
10214 };
10215
10216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 (arg1)->Clear();
10222
10223 wxPyEndAllowThreads(__tstate);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 Py_INCREF(Py_None); resultobj = Py_None;
10227 return resultobj;
10228 fail:
10229 return NULL;
10230 }
10231
10232
10233 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10234 PyObject *resultobj;
10235 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10236 int arg2 ;
10237 PyObject * obj0 = 0 ;
10238 PyObject * obj1 = 0 ;
10239 char *kwnames[] = {
10240 (char *) "self",(char *) "selection", NULL
10241 };
10242
10243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10246 arg2 = (int) SWIG_AsInt(obj1);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 {
10249 PyThreadState* __tstate = wxPyBeginAllowThreads();
10250 (arg1)->SetSelection(arg2);
10251
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 }
10255 Py_INCREF(Py_None); resultobj = Py_None;
10256 return resultobj;
10257 fail:
10258 return NULL;
10259 }
10260
10261
10262 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10263 PyObject *resultobj;
10264 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10265 size_t arg2 ;
10266 bool arg3 = (bool) True ;
10267 bool result;
10268 PyObject * obj0 = 0 ;
10269 PyObject * obj1 = 0 ;
10270 PyObject * obj2 = 0 ;
10271 char *kwnames[] = {
10272 (char *) "self",(char *) "item",(char *) "select", NULL
10273 };
10274
10275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10278 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10279 if (PyErr_Occurred()) SWIG_fail;
10280 if (obj2) {
10281 arg3 = (bool) SWIG_AsBool(obj2);
10282 if (PyErr_Occurred()) SWIG_fail;
10283 }
10284 {
10285 PyThreadState* __tstate = wxPyBeginAllowThreads();
10286 result = (bool)(arg1)->Select(arg2,arg3);
10287
10288 wxPyEndAllowThreads(__tstate);
10289 if (PyErr_Occurred()) SWIG_fail;
10290 }
10291 {
10292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10293 }
10294 return resultobj;
10295 fail:
10296 return NULL;
10297 }
10298
10299
10300 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10301 PyObject *resultobj;
10302 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10303 size_t arg2 ;
10304 size_t arg3 ;
10305 bool result;
10306 PyObject * obj0 = 0 ;
10307 PyObject * obj1 = 0 ;
10308 PyObject * obj2 = 0 ;
10309 char *kwnames[] = {
10310 (char *) "self",(char *) "from",(char *) "to", NULL
10311 };
10312
10313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10316 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10317 if (PyErr_Occurred()) SWIG_fail;
10318 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 result = (bool)(arg1)->SelectRange(arg2,arg3);
10323
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 {
10328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10329 }
10330 return resultobj;
10331 fail:
10332 return NULL;
10333 }
10334
10335
10336 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10337 PyObject *resultobj;
10338 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10339 size_t arg2 ;
10340 PyObject * obj0 = 0 ;
10341 PyObject * obj1 = 0 ;
10342 char *kwnames[] = {
10343 (char *) "self",(char *) "item", NULL
10344 };
10345
10346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10349 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 (arg1)->Toggle(arg2);
10354
10355 wxPyEndAllowThreads(__tstate);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
10358 Py_INCREF(Py_None); resultobj = Py_None;
10359 return resultobj;
10360 fail:
10361 return NULL;
10362 }
10363
10364
10365 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10366 PyObject *resultobj;
10367 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10368 bool result;
10369 PyObject * obj0 = 0 ;
10370 char *kwnames[] = {
10371 (char *) "self", NULL
10372 };
10373
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10377 {
10378 PyThreadState* __tstate = wxPyBeginAllowThreads();
10379 result = (bool)(arg1)->SelectAll();
10380
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 {
10385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10386 }
10387 return resultobj;
10388 fail:
10389 return NULL;
10390 }
10391
10392
10393 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj;
10395 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10396 bool result;
10397 PyObject * obj0 = 0 ;
10398 char *kwnames[] = {
10399 (char *) "self", NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 result = (bool)(arg1)->DeselectAll();
10408
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 {
10413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10414 }
10415 return resultobj;
10416 fail:
10417 return NULL;
10418 }
10419
10420
10421 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10422 PyObject *resultobj;
10423 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10424 wxPoint *arg2 = 0 ;
10425 wxPoint temp2 ;
10426 PyObject * obj0 = 0 ;
10427 PyObject * obj1 = 0 ;
10428 char *kwnames[] = {
10429 (char *) "self",(char *) "pt", NULL
10430 };
10431
10432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10435 {
10436 arg2 = &temp2;
10437 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10438 }
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 (arg1)->SetMargins((wxPoint const &)*arg2);
10442
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
10446 Py_INCREF(Py_None); resultobj = Py_None;
10447 return resultobj;
10448 fail:
10449 return NULL;
10450 }
10451
10452
10453 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10454 PyObject *resultobj;
10455 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10456 int arg2 ;
10457 int arg3 ;
10458 PyObject * obj0 = 0 ;
10459 PyObject * obj1 = 0 ;
10460 PyObject * obj2 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self",(char *) "x",(char *) "y", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10468 arg2 = (int) SWIG_AsInt(obj1);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 arg3 = (int) SWIG_AsInt(obj2);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 {
10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
10474 (arg1)->SetMargins(arg2,arg3);
10475
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 Py_INCREF(Py_None); resultobj = Py_None;
10480 return resultobj;
10481 fail:
10482 return NULL;
10483 }
10484
10485
10486 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10487 PyObject *resultobj;
10488 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10489 wxColour *arg2 = 0 ;
10490 wxColour temp2 ;
10491 PyObject * obj0 = 0 ;
10492 PyObject * obj1 = 0 ;
10493 char *kwnames[] = {
10494 (char *) "self",(char *) "col", NULL
10495 };
10496
10497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10500 {
10501 arg2 = &temp2;
10502 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10503 }
10504 {
10505 PyThreadState* __tstate = wxPyBeginAllowThreads();
10506 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10507
10508 wxPyEndAllowThreads(__tstate);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 Py_INCREF(Py_None); resultobj = Py_None;
10512 return resultobj;
10513 fail:
10514 return NULL;
10515 }
10516
10517
10518 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10519 PyObject *obj;
10520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10521 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10522 Py_INCREF(obj);
10523 return Py_BuildValue((char *)"");
10524 }
10525 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10526 PyObject *resultobj;
10527 wxWindow *arg1 = (wxWindow *) 0 ;
10528 int arg2 = (int) wxID_ANY ;
10529 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10530 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10531 wxSize const &arg4_defvalue = wxDefaultSize ;
10532 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10533 long arg5 = (long) 0 ;
10534 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10535 wxString *arg6 = (wxString *) &arg6_defvalue ;
10536 wxPyHtmlListBox *result;
10537 wxPoint temp3 ;
10538 wxSize temp4 ;
10539 bool temp6 = False ;
10540 PyObject * obj0 = 0 ;
10541 PyObject * obj1 = 0 ;
10542 PyObject * obj2 = 0 ;
10543 PyObject * obj3 = 0 ;
10544 PyObject * obj4 = 0 ;
10545 PyObject * obj5 = 0 ;
10546 char *kwnames[] = {
10547 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10548 };
10549
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10553 if (obj1) {
10554 arg2 = (int) SWIG_AsInt(obj1);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
10557 if (obj2) {
10558 {
10559 arg3 = &temp3;
10560 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10561 }
10562 }
10563 if (obj3) {
10564 {
10565 arg4 = &temp4;
10566 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10567 }
10568 }
10569 if (obj4) {
10570 arg5 = (long) SWIG_AsLong(obj4);
10571 if (PyErr_Occurred()) SWIG_fail;
10572 }
10573 if (obj5) {
10574 {
10575 arg6 = wxString_in_helper(obj5);
10576 if (arg6 == NULL) SWIG_fail;
10577 temp6 = True;
10578 }
10579 }
10580 {
10581 if (!wxPyCheckForApp()) SWIG_fail;
10582 PyThreadState* __tstate = wxPyBeginAllowThreads();
10583 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10584
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10589 {
10590 if (temp6)
10591 delete arg6;
10592 }
10593 return resultobj;
10594 fail:
10595 {
10596 if (temp6)
10597 delete arg6;
10598 }
10599 return NULL;
10600 }
10601
10602
10603 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10604 PyObject *resultobj;
10605 wxPyHtmlListBox *result;
10606 char *kwnames[] = {
10607 NULL
10608 };
10609
10610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10611 {
10612 if (!wxPyCheckForApp()) SWIG_fail;
10613 PyThreadState* __tstate = wxPyBeginAllowThreads();
10614 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10615
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10620 return resultobj;
10621 fail:
10622 return NULL;
10623 }
10624
10625
10626 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10627 PyObject *resultobj;
10628 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10629 PyObject *arg2 = (PyObject *) 0 ;
10630 PyObject *arg3 = (PyObject *) 0 ;
10631 PyObject * obj0 = 0 ;
10632 PyObject * obj1 = 0 ;
10633 PyObject * obj2 = 0 ;
10634 char *kwnames[] = {
10635 (char *) "self",(char *) "self",(char *) "_class", NULL
10636 };
10637
10638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10641 arg2 = obj1;
10642 arg3 = obj2;
10643 {
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 (arg1)->_setCallbackInfo(arg2,arg3);
10646
10647 wxPyEndAllowThreads(__tstate);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 }
10650 Py_INCREF(Py_None); resultobj = Py_None;
10651 return resultobj;
10652 fail:
10653 return NULL;
10654 }
10655
10656
10657 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10658 PyObject *resultobj;
10659 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10660 wxWindow *arg2 = (wxWindow *) 0 ;
10661 int arg3 = (int) wxID_ANY ;
10662 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10663 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10664 wxSize const &arg5_defvalue = wxDefaultSize ;
10665 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10666 long arg6 = (long) 0 ;
10667 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10668 wxString *arg7 = (wxString *) &arg7_defvalue ;
10669 bool result;
10670 wxPoint temp4 ;
10671 wxSize temp5 ;
10672 bool temp7 = False ;
10673 PyObject * obj0 = 0 ;
10674 PyObject * obj1 = 0 ;
10675 PyObject * obj2 = 0 ;
10676 PyObject * obj3 = 0 ;
10677 PyObject * obj4 = 0 ;
10678 PyObject * obj5 = 0 ;
10679 PyObject * obj6 = 0 ;
10680 char *kwnames[] = {
10681 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10682 };
10683
10684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10689 if (obj2) {
10690 arg3 = (int) SWIG_AsInt(obj2);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 if (obj3) {
10694 {
10695 arg4 = &temp4;
10696 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10697 }
10698 }
10699 if (obj4) {
10700 {
10701 arg5 = &temp5;
10702 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10703 }
10704 }
10705 if (obj5) {
10706 arg6 = (long) SWIG_AsLong(obj5);
10707 if (PyErr_Occurred()) SWIG_fail;
10708 }
10709 if (obj6) {
10710 {
10711 arg7 = wxString_in_helper(obj6);
10712 if (arg7 == NULL) SWIG_fail;
10713 temp7 = True;
10714 }
10715 }
10716 {
10717 PyThreadState* __tstate = wxPyBeginAllowThreads();
10718 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10719
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 {
10724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10725 }
10726 {
10727 if (temp7)
10728 delete arg7;
10729 }
10730 return resultobj;
10731 fail:
10732 {
10733 if (temp7)
10734 delete arg7;
10735 }
10736 return NULL;
10737 }
10738
10739
10740 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10741 PyObject *resultobj;
10742 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10743 PyObject * obj0 = 0 ;
10744 char *kwnames[] = {
10745 (char *) "self", NULL
10746 };
10747
10748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10751 {
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 (arg1)->RefreshAll();
10754
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
10758 Py_INCREF(Py_None); resultobj = Py_None;
10759 return resultobj;
10760 fail:
10761 return NULL;
10762 }
10763
10764
10765 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10766 PyObject *resultobj;
10767 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10768 size_t arg2 ;
10769 PyObject * obj0 = 0 ;
10770 PyObject * obj1 = 0 ;
10771 char *kwnames[] = {
10772 (char *) "self",(char *) "count", NULL
10773 };
10774
10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10778 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 (arg1)->SetItemCount(arg2);
10783
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 }
10787 Py_INCREF(Py_None); resultobj = Py_None;
10788 return resultobj;
10789 fail:
10790 return NULL;
10791 }
10792
10793
10794 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10795 PyObject *resultobj;
10796 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10797 wxFileSystem *result;
10798 PyObject * obj0 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "self", NULL
10801 };
10802
10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 {
10809 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10810 result = (wxFileSystem *) &_result_ref;
10811 }
10812
10813 wxPyEndAllowThreads(__tstate);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10817 return resultobj;
10818 fail:
10819 return NULL;
10820 }
10821
10822
10823 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10824 PyObject *obj;
10825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10826 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10827 Py_INCREF(obj);
10828 return Py_BuildValue((char *)"");
10829 }
10830 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10831 PyObject *resultobj;
10832 wxTaskBarIcon *result;
10833 char *kwnames[] = {
10834 NULL
10835 };
10836
10837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10838 {
10839 if (!wxPyCheckForApp()) SWIG_fail;
10840 PyThreadState* __tstate = wxPyBeginAllowThreads();
10841 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10842
10843 wxPyEndAllowThreads(__tstate);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 }
10846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10847 return resultobj;
10848 fail:
10849 return NULL;
10850 }
10851
10852
10853 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10854 PyObject *resultobj;
10855 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10856 PyObject * obj0 = 0 ;
10857 char *kwnames[] = {
10858 (char *) "self", NULL
10859 };
10860
10861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10864 {
10865 PyThreadState* __tstate = wxPyBeginAllowThreads();
10866 delete arg1;
10867
10868 wxPyEndAllowThreads(__tstate);
10869 if (PyErr_Occurred()) SWIG_fail;
10870 }
10871 Py_INCREF(Py_None); resultobj = Py_None;
10872 return resultobj;
10873 fail:
10874 return NULL;
10875 }
10876
10877
10878 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10879 PyObject *resultobj;
10880 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10881 PyObject * obj0 = 0 ;
10882 char *kwnames[] = {
10883 (char *) "self", NULL
10884 };
10885
10886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10889 {
10890 PyThreadState* __tstate = wxPyBeginAllowThreads();
10891 wxTaskBarIcon_Destroy(arg1);
10892
10893 wxPyEndAllowThreads(__tstate);
10894 if (PyErr_Occurred()) SWIG_fail;
10895 }
10896 Py_INCREF(Py_None); resultobj = Py_None;
10897 return resultobj;
10898 fail:
10899 return NULL;
10900 }
10901
10902
10903 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10904 PyObject *obj;
10905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10906 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10907 Py_INCREF(obj);
10908 return Py_BuildValue((char *)"");
10909 }
10910 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10911 PyObject *resultobj;
10912 wxEventType arg1 ;
10913 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10914 wxTaskBarIconEvent *result;
10915 PyObject * obj0 = 0 ;
10916 PyObject * obj1 = 0 ;
10917 char *kwnames[] = {
10918 (char *) "evtType",(char *) "tbIcon", NULL
10919 };
10920
10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10922 arg1 = (wxEventType) SWIG_AsInt(obj0);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10926 {
10927 PyThreadState* __tstate = wxPyBeginAllowThreads();
10928 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10929
10930 wxPyEndAllowThreads(__tstate);
10931 if (PyErr_Occurred()) SWIG_fail;
10932 }
10933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10934 return resultobj;
10935 fail:
10936 return NULL;
10937 }
10938
10939
10940 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10941 PyObject *obj;
10942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10943 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10944 Py_INCREF(obj);
10945 return Py_BuildValue((char *)"");
10946 }
10947 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10948 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10949 return 1;
10950 }
10951
10952
10953 static PyObject *_wrap_FileSelectorPromptStr_get() {
10954 PyObject *pyobj;
10955
10956 {
10957 #if wxUSE_UNICODE
10958 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10959 #else
10960 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10961 #endif
10962 }
10963 return pyobj;
10964 }
10965
10966
10967 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10968 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10969 return 1;
10970 }
10971
10972
10973 static PyObject *_wrap_DirSelectorPromptStr_get() {
10974 PyObject *pyobj;
10975
10976 {
10977 #if wxUSE_UNICODE
10978 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10979 #else
10980 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10981 #endif
10982 }
10983 return pyobj;
10984 }
10985
10986
10987 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10988 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10989 return 1;
10990 }
10991
10992
10993 static PyObject *_wrap_DirDialogNameStr_get() {
10994 PyObject *pyobj;
10995
10996 {
10997 #if wxUSE_UNICODE
10998 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10999 #else
11000 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11001 #endif
11002 }
11003 return pyobj;
11004 }
11005
11006
11007 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
11008 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11009 return 1;
11010 }
11011
11012
11013 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11014 PyObject *pyobj;
11015
11016 {
11017 #if wxUSE_UNICODE
11018 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11019 #else
11020 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11021 #endif
11022 }
11023 return pyobj;
11024 }
11025
11026
11027 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
11028 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11029 return 1;
11030 }
11031
11032
11033 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11034 PyObject *pyobj;
11035
11036 {
11037 #if wxUSE_UNICODE
11038 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11039 #else
11040 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11041 #endif
11042 }
11043 return pyobj;
11044 }
11045
11046
11047 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11048 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11049 return 1;
11050 }
11051
11052
11053 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11054 PyObject *pyobj;
11055
11056 {
11057 #if wxUSE_UNICODE
11058 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11059 #else
11060 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11061 #endif
11062 }
11063 return pyobj;
11064 }
11065
11066
11067 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11068 PyObject *resultobj;
11069 wxColourData *result;
11070 char *kwnames[] = {
11071 NULL
11072 };
11073
11074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11075 {
11076 PyThreadState* __tstate = wxPyBeginAllowThreads();
11077 result = (wxColourData *)new wxColourData();
11078
11079 wxPyEndAllowThreads(__tstate);
11080 if (PyErr_Occurred()) SWIG_fail;
11081 }
11082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11083 return resultobj;
11084 fail:
11085 return NULL;
11086 }
11087
11088
11089 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11090 PyObject *resultobj;
11091 wxColourData *arg1 = (wxColourData *) 0 ;
11092 PyObject * obj0 = 0 ;
11093 char *kwnames[] = {
11094 (char *) "self", NULL
11095 };
11096
11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11100 {
11101 PyThreadState* __tstate = wxPyBeginAllowThreads();
11102 delete arg1;
11103
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 Py_INCREF(Py_None); resultobj = Py_None;
11108 return resultobj;
11109 fail:
11110 return NULL;
11111 }
11112
11113
11114 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11115 PyObject *resultobj;
11116 wxColourData *arg1 = (wxColourData *) 0 ;
11117 bool result;
11118 PyObject * obj0 = 0 ;
11119 char *kwnames[] = {
11120 (char *) "self", NULL
11121 };
11122
11123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11126 {
11127 PyThreadState* __tstate = wxPyBeginAllowThreads();
11128 result = (bool)(arg1)->GetChooseFull();
11129
11130 wxPyEndAllowThreads(__tstate);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 }
11133 {
11134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11135 }
11136 return resultobj;
11137 fail:
11138 return NULL;
11139 }
11140
11141
11142 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11143 PyObject *resultobj;
11144 wxColourData *arg1 = (wxColourData *) 0 ;
11145 wxColour result;
11146 PyObject * obj0 = 0 ;
11147 char *kwnames[] = {
11148 (char *) "self", NULL
11149 };
11150
11151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11154 {
11155 PyThreadState* __tstate = wxPyBeginAllowThreads();
11156 result = (arg1)->GetColour();
11157
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 {
11162 wxColour * resultptr;
11163 resultptr = new wxColour((wxColour &) result);
11164 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11165 }
11166 return resultobj;
11167 fail:
11168 return NULL;
11169 }
11170
11171
11172 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11173 PyObject *resultobj;
11174 wxColourData *arg1 = (wxColourData *) 0 ;
11175 int arg2 ;
11176 wxColour result;
11177 PyObject * obj0 = 0 ;
11178 PyObject * obj1 = 0 ;
11179 char *kwnames[] = {
11180 (char *) "self",(char *) "i", NULL
11181 };
11182
11183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11186 arg2 = (int) SWIG_AsInt(obj1);
11187 if (PyErr_Occurred()) SWIG_fail;
11188 {
11189 PyThreadState* __tstate = wxPyBeginAllowThreads();
11190 result = (arg1)->GetCustomColour(arg2);
11191
11192 wxPyEndAllowThreads(__tstate);
11193 if (PyErr_Occurred()) SWIG_fail;
11194 }
11195 {
11196 wxColour * resultptr;
11197 resultptr = new wxColour((wxColour &) result);
11198 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11199 }
11200 return resultobj;
11201 fail:
11202 return NULL;
11203 }
11204
11205
11206 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11207 PyObject *resultobj;
11208 wxColourData *arg1 = (wxColourData *) 0 ;
11209 int arg2 ;
11210 PyObject * obj0 = 0 ;
11211 PyObject * obj1 = 0 ;
11212 char *kwnames[] = {
11213 (char *) "self",(char *) "flag", NULL
11214 };
11215
11216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11219 arg2 = (int) SWIG_AsInt(obj1);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 {
11222 PyThreadState* __tstate = wxPyBeginAllowThreads();
11223 (arg1)->SetChooseFull(arg2);
11224
11225 wxPyEndAllowThreads(__tstate);
11226 if (PyErr_Occurred()) SWIG_fail;
11227 }
11228 Py_INCREF(Py_None); resultobj = Py_None;
11229 return resultobj;
11230 fail:
11231 return NULL;
11232 }
11233
11234
11235 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11236 PyObject *resultobj;
11237 wxColourData *arg1 = (wxColourData *) 0 ;
11238 wxColour *arg2 = 0 ;
11239 wxColour temp2 ;
11240 PyObject * obj0 = 0 ;
11241 PyObject * obj1 = 0 ;
11242 char *kwnames[] = {
11243 (char *) "self",(char *) "colour", NULL
11244 };
11245
11246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11249 {
11250 arg2 = &temp2;
11251 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11252 }
11253 {
11254 PyThreadState* __tstate = wxPyBeginAllowThreads();
11255 (arg1)->SetColour((wxColour const &)*arg2);
11256
11257 wxPyEndAllowThreads(__tstate);
11258 if (PyErr_Occurred()) SWIG_fail;
11259 }
11260 Py_INCREF(Py_None); resultobj = Py_None;
11261 return resultobj;
11262 fail:
11263 return NULL;
11264 }
11265
11266
11267 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11268 PyObject *resultobj;
11269 wxColourData *arg1 = (wxColourData *) 0 ;
11270 int arg2 ;
11271 wxColour *arg3 = 0 ;
11272 wxColour temp3 ;
11273 PyObject * obj0 = 0 ;
11274 PyObject * obj1 = 0 ;
11275 PyObject * obj2 = 0 ;
11276 char *kwnames[] = {
11277 (char *) "self",(char *) "i",(char *) "colour", NULL
11278 };
11279
11280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11283 arg2 = (int) SWIG_AsInt(obj1);
11284 if (PyErr_Occurred()) SWIG_fail;
11285 {
11286 arg3 = &temp3;
11287 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11288 }
11289 {
11290 PyThreadState* __tstate = wxPyBeginAllowThreads();
11291 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11292
11293 wxPyEndAllowThreads(__tstate);
11294 if (PyErr_Occurred()) SWIG_fail;
11295 }
11296 Py_INCREF(Py_None); resultobj = Py_None;
11297 return resultobj;
11298 fail:
11299 return NULL;
11300 }
11301
11302
11303 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11304 PyObject *obj;
11305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11306 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11307 Py_INCREF(obj);
11308 return Py_BuildValue((char *)"");
11309 }
11310 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj;
11312 wxWindow *arg1 = (wxWindow *) 0 ;
11313 wxColourData *arg2 = (wxColourData *) NULL ;
11314 wxColourDialog *result;
11315 PyObject * obj0 = 0 ;
11316 PyObject * obj1 = 0 ;
11317 char *kwnames[] = {
11318 (char *) "parent",(char *) "data", NULL
11319 };
11320
11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11324 if (obj1) {
11325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11327 }
11328 {
11329 if (!wxPyCheckForApp()) SWIG_fail;
11330 PyThreadState* __tstate = wxPyBeginAllowThreads();
11331 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11332
11333 wxPyEndAllowThreads(__tstate);
11334 if (PyErr_Occurred()) SWIG_fail;
11335 }
11336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11337 return resultobj;
11338 fail:
11339 return NULL;
11340 }
11341
11342
11343 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11344 PyObject *resultobj;
11345 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11346 wxColourData *result;
11347 PyObject * obj0 = 0 ;
11348 char *kwnames[] = {
11349 (char *) "self", NULL
11350 };
11351
11352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11355 {
11356 PyThreadState* __tstate = wxPyBeginAllowThreads();
11357 {
11358 wxColourData &_result_ref = (arg1)->GetColourData();
11359 result = (wxColourData *) &_result_ref;
11360 }
11361
11362 wxPyEndAllowThreads(__tstate);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11366 return resultobj;
11367 fail:
11368 return NULL;
11369 }
11370
11371
11372 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11373 PyObject *obj;
11374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11375 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11376 Py_INCREF(obj);
11377 return Py_BuildValue((char *)"");
11378 }
11379 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11380 PyObject *resultobj;
11381 wxWindow *arg1 = (wxWindow *) 0 ;
11382 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11383 wxString *arg2 = (wxString *) &arg2_defvalue ;
11384 wxString const &arg3_defvalue = wxPyEmptyString ;
11385 wxString *arg3 = (wxString *) &arg3_defvalue ;
11386 long arg4 = (long) 0 ;
11387 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11388 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11389 wxSize const &arg6_defvalue = wxDefaultSize ;
11390 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11391 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11392 wxString *arg7 = (wxString *) &arg7_defvalue ;
11393 wxDirDialog *result;
11394 bool temp2 = False ;
11395 bool temp3 = False ;
11396 wxPoint temp5 ;
11397 wxSize temp6 ;
11398 bool temp7 = False ;
11399 PyObject * obj0 = 0 ;
11400 PyObject * obj1 = 0 ;
11401 PyObject * obj2 = 0 ;
11402 PyObject * obj3 = 0 ;
11403 PyObject * obj4 = 0 ;
11404 PyObject * obj5 = 0 ;
11405 PyObject * obj6 = 0 ;
11406 char *kwnames[] = {
11407 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11408 };
11409
11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11413 if (obj1) {
11414 {
11415 arg2 = wxString_in_helper(obj1);
11416 if (arg2 == NULL) SWIG_fail;
11417 temp2 = True;
11418 }
11419 }
11420 if (obj2) {
11421 {
11422 arg3 = wxString_in_helper(obj2);
11423 if (arg3 == NULL) SWIG_fail;
11424 temp3 = True;
11425 }
11426 }
11427 if (obj3) {
11428 arg4 = (long) SWIG_AsLong(obj3);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 }
11431 if (obj4) {
11432 {
11433 arg5 = &temp5;
11434 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11435 }
11436 }
11437 if (obj5) {
11438 {
11439 arg6 = &temp6;
11440 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11441 }
11442 }
11443 if (obj6) {
11444 {
11445 arg7 = wxString_in_helper(obj6);
11446 if (arg7 == NULL) SWIG_fail;
11447 temp7 = True;
11448 }
11449 }
11450 {
11451 if (!wxPyCheckForApp()) SWIG_fail;
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11454
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
11458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11459 {
11460 if (temp2)
11461 delete arg2;
11462 }
11463 {
11464 if (temp3)
11465 delete arg3;
11466 }
11467 {
11468 if (temp7)
11469 delete arg7;
11470 }
11471 return resultobj;
11472 fail:
11473 {
11474 if (temp2)
11475 delete arg2;
11476 }
11477 {
11478 if (temp3)
11479 delete arg3;
11480 }
11481 {
11482 if (temp7)
11483 delete arg7;
11484 }
11485 return NULL;
11486 }
11487
11488
11489 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11490 PyObject *resultobj;
11491 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11492 wxString result;
11493 PyObject * obj0 = 0 ;
11494 char *kwnames[] = {
11495 (char *) "self", NULL
11496 };
11497
11498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 result = (arg1)->GetPath();
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
11508 {
11509 #if wxUSE_UNICODE
11510 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11511 #else
11512 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11513 #endif
11514 }
11515 return resultobj;
11516 fail:
11517 return NULL;
11518 }
11519
11520
11521 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11522 PyObject *resultobj;
11523 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11524 wxString result;
11525 PyObject * obj0 = 0 ;
11526 char *kwnames[] = {
11527 (char *) "self", NULL
11528 };
11529
11530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 result = (arg1)->GetMessage();
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 {
11541 #if wxUSE_UNICODE
11542 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11543 #else
11544 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11545 #endif
11546 }
11547 return resultobj;
11548 fail:
11549 return NULL;
11550 }
11551
11552
11553 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11554 PyObject *resultobj;
11555 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11556 long result;
11557 PyObject * obj0 = 0 ;
11558 char *kwnames[] = {
11559 (char *) "self", NULL
11560 };
11561
11562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11565 {
11566 PyThreadState* __tstate = wxPyBeginAllowThreads();
11567 result = (long)(arg1)->GetStyle();
11568
11569 wxPyEndAllowThreads(__tstate);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 }
11572 resultobj = SWIG_FromLong((long)result);
11573 return resultobj;
11574 fail:
11575 return NULL;
11576 }
11577
11578
11579 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11580 PyObject *resultobj;
11581 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11582 wxString *arg2 = 0 ;
11583 bool temp2 = False ;
11584 PyObject * obj0 = 0 ;
11585 PyObject * obj1 = 0 ;
11586 char *kwnames[] = {
11587 (char *) "self",(char *) "message", NULL
11588 };
11589
11590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11593 {
11594 arg2 = wxString_in_helper(obj1);
11595 if (arg2 == NULL) SWIG_fail;
11596 temp2 = True;
11597 }
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 (arg1)->SetMessage((wxString const &)*arg2);
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
11605 Py_INCREF(Py_None); resultobj = Py_None;
11606 {
11607 if (temp2)
11608 delete arg2;
11609 }
11610 return resultobj;
11611 fail:
11612 {
11613 if (temp2)
11614 delete arg2;
11615 }
11616 return NULL;
11617 }
11618
11619
11620 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11621 PyObject *resultobj;
11622 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11623 wxString *arg2 = 0 ;
11624 bool temp2 = False ;
11625 PyObject * obj0 = 0 ;
11626 PyObject * obj1 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self",(char *) "path", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11634 {
11635 arg2 = wxString_in_helper(obj1);
11636 if (arg2 == NULL) SWIG_fail;
11637 temp2 = True;
11638 }
11639 {
11640 PyThreadState* __tstate = wxPyBeginAllowThreads();
11641 (arg1)->SetPath((wxString const &)*arg2);
11642
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 Py_INCREF(Py_None); resultobj = Py_None;
11647 {
11648 if (temp2)
11649 delete arg2;
11650 }
11651 return resultobj;
11652 fail:
11653 {
11654 if (temp2)
11655 delete arg2;
11656 }
11657 return NULL;
11658 }
11659
11660
11661 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11662 PyObject *obj;
11663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11664 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11665 Py_INCREF(obj);
11666 return Py_BuildValue((char *)"");
11667 }
11668 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11669 PyObject *resultobj;
11670 wxWindow *arg1 = (wxWindow *) 0 ;
11671 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11672 wxString *arg2 = (wxString *) &arg2_defvalue ;
11673 wxString const &arg3_defvalue = wxPyEmptyString ;
11674 wxString *arg3 = (wxString *) &arg3_defvalue ;
11675 wxString const &arg4_defvalue = wxPyEmptyString ;
11676 wxString *arg4 = (wxString *) &arg4_defvalue ;
11677 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11678 wxString *arg5 = (wxString *) &arg5_defvalue ;
11679 long arg6 = (long) 0 ;
11680 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11681 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11682 wxFileDialog *result;
11683 bool temp2 = False ;
11684 bool temp3 = False ;
11685 bool temp4 = False ;
11686 bool temp5 = False ;
11687 wxPoint temp7 ;
11688 PyObject * obj0 = 0 ;
11689 PyObject * obj1 = 0 ;
11690 PyObject * obj2 = 0 ;
11691 PyObject * obj3 = 0 ;
11692 PyObject * obj4 = 0 ;
11693 PyObject * obj5 = 0 ;
11694 PyObject * obj6 = 0 ;
11695 char *kwnames[] = {
11696 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11697 };
11698
11699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11702 if (obj1) {
11703 {
11704 arg2 = wxString_in_helper(obj1);
11705 if (arg2 == NULL) SWIG_fail;
11706 temp2 = True;
11707 }
11708 }
11709 if (obj2) {
11710 {
11711 arg3 = wxString_in_helper(obj2);
11712 if (arg3 == NULL) SWIG_fail;
11713 temp3 = True;
11714 }
11715 }
11716 if (obj3) {
11717 {
11718 arg4 = wxString_in_helper(obj3);
11719 if (arg4 == NULL) SWIG_fail;
11720 temp4 = True;
11721 }
11722 }
11723 if (obj4) {
11724 {
11725 arg5 = wxString_in_helper(obj4);
11726 if (arg5 == NULL) SWIG_fail;
11727 temp5 = True;
11728 }
11729 }
11730 if (obj5) {
11731 arg6 = (long) SWIG_AsLong(obj5);
11732 if (PyErr_Occurred()) SWIG_fail;
11733 }
11734 if (obj6) {
11735 {
11736 arg7 = &temp7;
11737 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11738 }
11739 }
11740 {
11741 if (!wxPyCheckForApp()) SWIG_fail;
11742 PyThreadState* __tstate = wxPyBeginAllowThreads();
11743 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11744
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11749 {
11750 if (temp2)
11751 delete arg2;
11752 }
11753 {
11754 if (temp3)
11755 delete arg3;
11756 }
11757 {
11758 if (temp4)
11759 delete arg4;
11760 }
11761 {
11762 if (temp5)
11763 delete arg5;
11764 }
11765 return resultobj;
11766 fail:
11767 {
11768 if (temp2)
11769 delete arg2;
11770 }
11771 {
11772 if (temp3)
11773 delete arg3;
11774 }
11775 {
11776 if (temp4)
11777 delete arg4;
11778 }
11779 {
11780 if (temp5)
11781 delete arg5;
11782 }
11783 return NULL;
11784 }
11785
11786
11787 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11788 PyObject *resultobj;
11789 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11790 wxString *arg2 = 0 ;
11791 bool temp2 = False ;
11792 PyObject * obj0 = 0 ;
11793 PyObject * obj1 = 0 ;
11794 char *kwnames[] = {
11795 (char *) "self",(char *) "message", NULL
11796 };
11797
11798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11801 {
11802 arg2 = wxString_in_helper(obj1);
11803 if (arg2 == NULL) SWIG_fail;
11804 temp2 = True;
11805 }
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 (arg1)->SetMessage((wxString const &)*arg2);
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 Py_INCREF(Py_None); resultobj = Py_None;
11814 {
11815 if (temp2)
11816 delete arg2;
11817 }
11818 return resultobj;
11819 fail:
11820 {
11821 if (temp2)
11822 delete arg2;
11823 }
11824 return NULL;
11825 }
11826
11827
11828 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11829 PyObject *resultobj;
11830 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11831 wxString *arg2 = 0 ;
11832 bool temp2 = False ;
11833 PyObject * obj0 = 0 ;
11834 PyObject * obj1 = 0 ;
11835 char *kwnames[] = {
11836 (char *) "self",(char *) "path", NULL
11837 };
11838
11839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11842 {
11843 arg2 = wxString_in_helper(obj1);
11844 if (arg2 == NULL) SWIG_fail;
11845 temp2 = True;
11846 }
11847 {
11848 PyThreadState* __tstate = wxPyBeginAllowThreads();
11849 (arg1)->SetPath((wxString const &)*arg2);
11850
11851 wxPyEndAllowThreads(__tstate);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 Py_INCREF(Py_None); resultobj = Py_None;
11855 {
11856 if (temp2)
11857 delete arg2;
11858 }
11859 return resultobj;
11860 fail:
11861 {
11862 if (temp2)
11863 delete arg2;
11864 }
11865 return NULL;
11866 }
11867
11868
11869 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11870 PyObject *resultobj;
11871 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11872 wxString *arg2 = 0 ;
11873 bool temp2 = False ;
11874 PyObject * obj0 = 0 ;
11875 PyObject * obj1 = 0 ;
11876 char *kwnames[] = {
11877 (char *) "self",(char *) "dir", NULL
11878 };
11879
11880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11883 {
11884 arg2 = wxString_in_helper(obj1);
11885 if (arg2 == NULL) SWIG_fail;
11886 temp2 = True;
11887 }
11888 {
11889 PyThreadState* __tstate = wxPyBeginAllowThreads();
11890 (arg1)->SetDirectory((wxString const &)*arg2);
11891
11892 wxPyEndAllowThreads(__tstate);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 }
11895 Py_INCREF(Py_None); resultobj = Py_None;
11896 {
11897 if (temp2)
11898 delete arg2;
11899 }
11900 return resultobj;
11901 fail:
11902 {
11903 if (temp2)
11904 delete arg2;
11905 }
11906 return NULL;
11907 }
11908
11909
11910 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11911 PyObject *resultobj;
11912 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11913 wxString *arg2 = 0 ;
11914 bool temp2 = False ;
11915 PyObject * obj0 = 0 ;
11916 PyObject * obj1 = 0 ;
11917 char *kwnames[] = {
11918 (char *) "self",(char *) "name", NULL
11919 };
11920
11921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11924 {
11925 arg2 = wxString_in_helper(obj1);
11926 if (arg2 == NULL) SWIG_fail;
11927 temp2 = True;
11928 }
11929 {
11930 PyThreadState* __tstate = wxPyBeginAllowThreads();
11931 (arg1)->SetFilename((wxString const &)*arg2);
11932
11933 wxPyEndAllowThreads(__tstate);
11934 if (PyErr_Occurred()) SWIG_fail;
11935 }
11936 Py_INCREF(Py_None); resultobj = Py_None;
11937 {
11938 if (temp2)
11939 delete arg2;
11940 }
11941 return resultobj;
11942 fail:
11943 {
11944 if (temp2)
11945 delete arg2;
11946 }
11947 return NULL;
11948 }
11949
11950
11951 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11952 PyObject *resultobj;
11953 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11954 wxString *arg2 = 0 ;
11955 bool temp2 = False ;
11956 PyObject * obj0 = 0 ;
11957 PyObject * obj1 = 0 ;
11958 char *kwnames[] = {
11959 (char *) "self",(char *) "wildCard", NULL
11960 };
11961
11962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11965 {
11966 arg2 = wxString_in_helper(obj1);
11967 if (arg2 == NULL) SWIG_fail;
11968 temp2 = True;
11969 }
11970 {
11971 PyThreadState* __tstate = wxPyBeginAllowThreads();
11972 (arg1)->SetWildcard((wxString const &)*arg2);
11973
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 Py_INCREF(Py_None); resultobj = Py_None;
11978 {
11979 if (temp2)
11980 delete arg2;
11981 }
11982 return resultobj;
11983 fail:
11984 {
11985 if (temp2)
11986 delete arg2;
11987 }
11988 return NULL;
11989 }
11990
11991
11992 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11993 PyObject *resultobj;
11994 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11995 long arg2 ;
11996 PyObject * obj0 = 0 ;
11997 PyObject * obj1 = 0 ;
11998 char *kwnames[] = {
11999 (char *) "self",(char *) "style", NULL
12000 };
12001
12002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12005 arg2 = (long) SWIG_AsLong(obj1);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 {
12008 PyThreadState* __tstate = wxPyBeginAllowThreads();
12009 (arg1)->SetStyle(arg2);
12010
12011 wxPyEndAllowThreads(__tstate);
12012 if (PyErr_Occurred()) SWIG_fail;
12013 }
12014 Py_INCREF(Py_None); resultobj = Py_None;
12015 return resultobj;
12016 fail:
12017 return NULL;
12018 }
12019
12020
12021 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12022 PyObject *resultobj;
12023 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12024 int arg2 ;
12025 PyObject * obj0 = 0 ;
12026 PyObject * obj1 = 0 ;
12027 char *kwnames[] = {
12028 (char *) "self",(char *) "filterIndex", NULL
12029 };
12030
12031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12034 arg2 = (int) SWIG_AsInt(obj1);
12035 if (PyErr_Occurred()) SWIG_fail;
12036 {
12037 PyThreadState* __tstate = wxPyBeginAllowThreads();
12038 (arg1)->SetFilterIndex(arg2);
12039
12040 wxPyEndAllowThreads(__tstate);
12041 if (PyErr_Occurred()) SWIG_fail;
12042 }
12043 Py_INCREF(Py_None); resultobj = Py_None;
12044 return resultobj;
12045 fail:
12046 return NULL;
12047 }
12048
12049
12050 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12051 PyObject *resultobj;
12052 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12053 wxString result;
12054 PyObject * obj0 = 0 ;
12055 char *kwnames[] = {
12056 (char *) "self", NULL
12057 };
12058
12059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12062 {
12063 PyThreadState* __tstate = wxPyBeginAllowThreads();
12064 result = ((wxFileDialog const *)arg1)->GetMessage();
12065
12066 wxPyEndAllowThreads(__tstate);
12067 if (PyErr_Occurred()) SWIG_fail;
12068 }
12069 {
12070 #if wxUSE_UNICODE
12071 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12072 #else
12073 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12074 #endif
12075 }
12076 return resultobj;
12077 fail:
12078 return NULL;
12079 }
12080
12081
12082 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12083 PyObject *resultobj;
12084 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12085 wxString result;
12086 PyObject * obj0 = 0 ;
12087 char *kwnames[] = {
12088 (char *) "self", NULL
12089 };
12090
12091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 result = ((wxFileDialog const *)arg1)->GetPath();
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 {
12102 #if wxUSE_UNICODE
12103 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12104 #else
12105 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12106 #endif
12107 }
12108 return resultobj;
12109 fail:
12110 return NULL;
12111 }
12112
12113
12114 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12115 PyObject *resultobj;
12116 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12117 wxString result;
12118 PyObject * obj0 = 0 ;
12119 char *kwnames[] = {
12120 (char *) "self", NULL
12121 };
12122
12123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 result = ((wxFileDialog const *)arg1)->GetDirectory();
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 {
12134 #if wxUSE_UNICODE
12135 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12136 #else
12137 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12138 #endif
12139 }
12140 return resultobj;
12141 fail:
12142 return NULL;
12143 }
12144
12145
12146 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12147 PyObject *resultobj;
12148 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12149 wxString result;
12150 PyObject * obj0 = 0 ;
12151 char *kwnames[] = {
12152 (char *) "self", NULL
12153 };
12154
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 result = ((wxFileDialog const *)arg1)->GetFilename();
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 {
12166 #if wxUSE_UNICODE
12167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12168 #else
12169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12170 #endif
12171 }
12172 return resultobj;
12173 fail:
12174 return NULL;
12175 }
12176
12177
12178 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12179 PyObject *resultobj;
12180 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12181 wxString result;
12182 PyObject * obj0 = 0 ;
12183 char *kwnames[] = {
12184 (char *) "self", NULL
12185 };
12186
12187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12190 {
12191 PyThreadState* __tstate = wxPyBeginAllowThreads();
12192 result = ((wxFileDialog const *)arg1)->GetWildcard();
12193
12194 wxPyEndAllowThreads(__tstate);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 {
12198 #if wxUSE_UNICODE
12199 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12200 #else
12201 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12202 #endif
12203 }
12204 return resultobj;
12205 fail:
12206 return NULL;
12207 }
12208
12209
12210 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12211 PyObject *resultobj;
12212 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12213 long result;
12214 PyObject * obj0 = 0 ;
12215 char *kwnames[] = {
12216 (char *) "self", NULL
12217 };
12218
12219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12225
12226 wxPyEndAllowThreads(__tstate);
12227 if (PyErr_Occurred()) SWIG_fail;
12228 }
12229 resultobj = SWIG_FromLong((long)result);
12230 return resultobj;
12231 fail:
12232 return NULL;
12233 }
12234
12235
12236 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12237 PyObject *resultobj;
12238 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12239 int result;
12240 PyObject * obj0 = 0 ;
12241 char *kwnames[] = {
12242 (char *) "self", NULL
12243 };
12244
12245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12248 {
12249 PyThreadState* __tstate = wxPyBeginAllowThreads();
12250 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12251
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 resultobj = SWIG_FromInt((int)result);
12256 return resultobj;
12257 fail:
12258 return NULL;
12259 }
12260
12261
12262 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12263 PyObject *resultobj;
12264 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12265 PyObject *result;
12266 PyObject * obj0 = 0 ;
12267 char *kwnames[] = {
12268 (char *) "self", NULL
12269 };
12270
12271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12274 {
12275 PyThreadState* __tstate = wxPyBeginAllowThreads();
12276 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12277
12278 wxPyEndAllowThreads(__tstate);
12279 if (PyErr_Occurred()) SWIG_fail;
12280 }
12281 resultobj = result;
12282 return resultobj;
12283 fail:
12284 return NULL;
12285 }
12286
12287
12288 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12289 PyObject *resultobj;
12290 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12291 PyObject *result;
12292 PyObject * obj0 = 0 ;
12293 char *kwnames[] = {
12294 (char *) "self", NULL
12295 };
12296
12297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12303
12304 wxPyEndAllowThreads(__tstate);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 }
12307 resultobj = result;
12308 return resultobj;
12309 fail:
12310 return NULL;
12311 }
12312
12313
12314 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12315 PyObject *obj;
12316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12317 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12318 Py_INCREF(obj);
12319 return Py_BuildValue((char *)"");
12320 }
12321 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12322 PyObject *resultobj;
12323 wxWindow *arg1 = (wxWindow *) 0 ;
12324 wxString *arg2 = 0 ;
12325 wxString *arg3 = 0 ;
12326 int arg4 = (int) 0 ;
12327 wxString *arg5 = (wxString *) NULL ;
12328 long arg6 = (long) wxCHOICEDLG_STYLE ;
12329 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12330 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12331 wxMultiChoiceDialog *result;
12332 bool temp2 = False ;
12333 bool temp3 = False ;
12334 wxPoint temp6 ;
12335 PyObject * obj0 = 0 ;
12336 PyObject * obj1 = 0 ;
12337 PyObject * obj2 = 0 ;
12338 PyObject * obj3 = 0 ;
12339 PyObject * obj4 = 0 ;
12340 PyObject * obj5 = 0 ;
12341 char *kwnames[] = {
12342 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12343 };
12344
12345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12348 {
12349 arg2 = wxString_in_helper(obj1);
12350 if (arg2 == NULL) SWIG_fail;
12351 temp2 = True;
12352 }
12353 {
12354 arg3 = wxString_in_helper(obj2);
12355 if (arg3 == NULL) SWIG_fail;
12356 temp3 = True;
12357 }
12358 if (obj3) {
12359 {
12360 arg4 = PyList_Size(obj3);
12361 arg5 = wxString_LIST_helper(obj3);
12362 if (arg5 == NULL) SWIG_fail;
12363 }
12364 }
12365 if (obj4) {
12366 arg6 = (long) SWIG_AsLong(obj4);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
12369 if (obj5) {
12370 {
12371 arg7 = &temp6;
12372 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12373 }
12374 }
12375 {
12376 if (!wxPyCheckForApp()) SWIG_fail;
12377 PyThreadState* __tstate = wxPyBeginAllowThreads();
12378 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12379
12380 wxPyEndAllowThreads(__tstate);
12381 if (PyErr_Occurred()) SWIG_fail;
12382 }
12383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12384 {
12385 if (temp2)
12386 delete arg2;
12387 }
12388 {
12389 if (temp3)
12390 delete arg3;
12391 }
12392 {
12393 if (arg5) delete [] arg5;
12394 }
12395 return resultobj;
12396 fail:
12397 {
12398 if (temp2)
12399 delete arg2;
12400 }
12401 {
12402 if (temp3)
12403 delete arg3;
12404 }
12405 {
12406 if (arg5) delete [] arg5;
12407 }
12408 return NULL;
12409 }
12410
12411
12412 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj;
12414 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12415 wxArrayInt *arg2 = 0 ;
12416 bool temp2 = False ;
12417 PyObject * obj0 = 0 ;
12418 PyObject * obj1 = 0 ;
12419 char *kwnames[] = {
12420 (char *) "self",(char *) "selections", NULL
12421 };
12422
12423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12426 {
12427 if (! PySequence_Check(obj1)) {
12428 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12429 SWIG_fail;
12430 }
12431 arg2 = new wxArrayInt;
12432 temp2 = True;
12433 int i, len=PySequence_Length(obj1);
12434 for (i=0; i<len; i++) {
12435 PyObject* item = PySequence_GetItem(obj1, i);
12436 PyObject* number = PyNumber_Int(item);
12437 arg2->Add(PyInt_AS_LONG(number));
12438 Py_DECREF(item);
12439 Py_DECREF(number);
12440 }
12441 }
12442 {
12443 PyThreadState* __tstate = wxPyBeginAllowThreads();
12444 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12445
12446 wxPyEndAllowThreads(__tstate);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 }
12449 Py_INCREF(Py_None); resultobj = Py_None;
12450 {
12451 if (temp2) delete arg2;
12452 }
12453 return resultobj;
12454 fail:
12455 {
12456 if (temp2) delete arg2;
12457 }
12458 return NULL;
12459 }
12460
12461
12462 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12463 PyObject *resultobj;
12464 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12465 PyObject *result;
12466 PyObject * obj0 = 0 ;
12467 char *kwnames[] = {
12468 (char *) "self", NULL
12469 };
12470
12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12477
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 resultobj = result;
12482 return resultobj;
12483 fail:
12484 return NULL;
12485 }
12486
12487
12488 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12489 PyObject *obj;
12490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12491 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12492 Py_INCREF(obj);
12493 return Py_BuildValue((char *)"");
12494 }
12495 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12496 PyObject *resultobj;
12497 wxWindow *arg1 = (wxWindow *) 0 ;
12498 wxString *arg2 = 0 ;
12499 wxString *arg3 = 0 ;
12500 int arg4 ;
12501 wxString *arg5 = (wxString *) 0 ;
12502 long arg6 = (long) wxCHOICEDLG_STYLE ;
12503 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12504 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12505 wxSingleChoiceDialog *result;
12506 bool temp2 = False ;
12507 bool temp3 = False ;
12508 wxPoint temp6 ;
12509 PyObject * obj0 = 0 ;
12510 PyObject * obj1 = 0 ;
12511 PyObject * obj2 = 0 ;
12512 PyObject * obj3 = 0 ;
12513 PyObject * obj4 = 0 ;
12514 PyObject * obj5 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12522 {
12523 arg2 = wxString_in_helper(obj1);
12524 if (arg2 == NULL) SWIG_fail;
12525 temp2 = True;
12526 }
12527 {
12528 arg3 = wxString_in_helper(obj2);
12529 if (arg3 == NULL) SWIG_fail;
12530 temp3 = True;
12531 }
12532 {
12533 arg4 = PyList_Size(obj3);
12534 arg5 = wxString_LIST_helper(obj3);
12535 if (arg5 == NULL) SWIG_fail;
12536 }
12537 if (obj4) {
12538 arg6 = (long) SWIG_AsLong(obj4);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 if (obj5) {
12542 {
12543 arg7 = &temp6;
12544 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12545 }
12546 }
12547 {
12548 if (!wxPyCheckForApp()) SWIG_fail;
12549 PyThreadState* __tstate = wxPyBeginAllowThreads();
12550 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12551
12552 wxPyEndAllowThreads(__tstate);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 }
12555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12556 {
12557 if (temp2)
12558 delete arg2;
12559 }
12560 {
12561 if (temp3)
12562 delete arg3;
12563 }
12564 {
12565 if (arg5) delete [] arg5;
12566 }
12567 return resultobj;
12568 fail:
12569 {
12570 if (temp2)
12571 delete arg2;
12572 }
12573 {
12574 if (temp3)
12575 delete arg3;
12576 }
12577 {
12578 if (arg5) delete [] arg5;
12579 }
12580 return NULL;
12581 }
12582
12583
12584 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12585 PyObject *resultobj;
12586 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12587 int result;
12588 PyObject * obj0 = 0 ;
12589 char *kwnames[] = {
12590 (char *) "self", NULL
12591 };
12592
12593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 result = (int)(arg1)->GetSelection();
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 resultobj = SWIG_FromInt((int)result);
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj;
12612 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12613 wxString result;
12614 PyObject * obj0 = 0 ;
12615 char *kwnames[] = {
12616 (char *) "self", NULL
12617 };
12618
12619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 result = (arg1)->GetStringSelection();
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 {
12630 #if wxUSE_UNICODE
12631 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12632 #else
12633 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12634 #endif
12635 }
12636 return resultobj;
12637 fail:
12638 return NULL;
12639 }
12640
12641
12642 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12643 PyObject *resultobj;
12644 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12645 int arg2 ;
12646 PyObject * obj0 = 0 ;
12647 PyObject * obj1 = 0 ;
12648 char *kwnames[] = {
12649 (char *) "self",(char *) "sel", NULL
12650 };
12651
12652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12655 arg2 = (int) SWIG_AsInt(obj1);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 {
12658 PyThreadState* __tstate = wxPyBeginAllowThreads();
12659 (arg1)->SetSelection(arg2);
12660
12661 wxPyEndAllowThreads(__tstate);
12662 if (PyErr_Occurred()) SWIG_fail;
12663 }
12664 Py_INCREF(Py_None); resultobj = Py_None;
12665 return resultobj;
12666 fail:
12667 return NULL;
12668 }
12669
12670
12671 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12672 PyObject *obj;
12673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12674 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12675 Py_INCREF(obj);
12676 return Py_BuildValue((char *)"");
12677 }
12678 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12679 PyObject *resultobj;
12680 wxWindow *arg1 = (wxWindow *) 0 ;
12681 wxString *arg2 = 0 ;
12682 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12683 wxString *arg3 = (wxString *) &arg3_defvalue ;
12684 wxString const &arg4_defvalue = wxPyEmptyString ;
12685 wxString *arg4 = (wxString *) &arg4_defvalue ;
12686 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12687 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12688 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12689 wxTextEntryDialog *result;
12690 bool temp2 = False ;
12691 bool temp3 = False ;
12692 bool temp4 = False ;
12693 wxPoint temp6 ;
12694 PyObject * obj0 = 0 ;
12695 PyObject * obj1 = 0 ;
12696 PyObject * obj2 = 0 ;
12697 PyObject * obj3 = 0 ;
12698 PyObject * obj4 = 0 ;
12699 PyObject * obj5 = 0 ;
12700 char *kwnames[] = {
12701 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12702 };
12703
12704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12707 {
12708 arg2 = wxString_in_helper(obj1);
12709 if (arg2 == NULL) SWIG_fail;
12710 temp2 = True;
12711 }
12712 if (obj2) {
12713 {
12714 arg3 = wxString_in_helper(obj2);
12715 if (arg3 == NULL) SWIG_fail;
12716 temp3 = True;
12717 }
12718 }
12719 if (obj3) {
12720 {
12721 arg4 = wxString_in_helper(obj3);
12722 if (arg4 == NULL) SWIG_fail;
12723 temp4 = True;
12724 }
12725 }
12726 if (obj4) {
12727 arg5 = (long) SWIG_AsLong(obj4);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
12730 if (obj5) {
12731 {
12732 arg6 = &temp6;
12733 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12734 }
12735 }
12736 {
12737 if (!wxPyCheckForApp()) SWIG_fail;
12738 PyThreadState* __tstate = wxPyBeginAllowThreads();
12739 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12740
12741 wxPyEndAllowThreads(__tstate);
12742 if (PyErr_Occurred()) SWIG_fail;
12743 }
12744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12745 {
12746 if (temp2)
12747 delete arg2;
12748 }
12749 {
12750 if (temp3)
12751 delete arg3;
12752 }
12753 {
12754 if (temp4)
12755 delete arg4;
12756 }
12757 return resultobj;
12758 fail:
12759 {
12760 if (temp2)
12761 delete arg2;
12762 }
12763 {
12764 if (temp3)
12765 delete arg3;
12766 }
12767 {
12768 if (temp4)
12769 delete arg4;
12770 }
12771 return NULL;
12772 }
12773
12774
12775 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12776 PyObject *resultobj;
12777 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12778 wxString result;
12779 PyObject * obj0 = 0 ;
12780 char *kwnames[] = {
12781 (char *) "self", NULL
12782 };
12783
12784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12787 {
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 result = (arg1)->GetValue();
12790
12791 wxPyEndAllowThreads(__tstate);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 {
12795 #if wxUSE_UNICODE
12796 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12797 #else
12798 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12799 #endif
12800 }
12801 return resultobj;
12802 fail:
12803 return NULL;
12804 }
12805
12806
12807 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12808 PyObject *resultobj;
12809 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12810 wxString *arg2 = 0 ;
12811 bool temp2 = False ;
12812 PyObject * obj0 = 0 ;
12813 PyObject * obj1 = 0 ;
12814 char *kwnames[] = {
12815 (char *) "self",(char *) "value", NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12821 {
12822 arg2 = wxString_in_helper(obj1);
12823 if (arg2 == NULL) SWIG_fail;
12824 temp2 = True;
12825 }
12826 {
12827 PyThreadState* __tstate = wxPyBeginAllowThreads();
12828 (arg1)->SetValue((wxString const &)*arg2);
12829
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 }
12833 Py_INCREF(Py_None); resultobj = Py_None;
12834 {
12835 if (temp2)
12836 delete arg2;
12837 }
12838 return resultobj;
12839 fail:
12840 {
12841 if (temp2)
12842 delete arg2;
12843 }
12844 return NULL;
12845 }
12846
12847
12848 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12849 PyObject *obj;
12850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12851 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12852 Py_INCREF(obj);
12853 return Py_BuildValue((char *)"");
12854 }
12855 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12856 PyObject *resultobj;
12857 wxFontData *result;
12858 char *kwnames[] = {
12859 NULL
12860 };
12861
12862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12863 {
12864 PyThreadState* __tstate = wxPyBeginAllowThreads();
12865 result = (wxFontData *)new wxFontData();
12866
12867 wxPyEndAllowThreads(__tstate);
12868 if (PyErr_Occurred()) SWIG_fail;
12869 }
12870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12871 return resultobj;
12872 fail:
12873 return NULL;
12874 }
12875
12876
12877 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12878 PyObject *resultobj;
12879 wxFontData *arg1 = (wxFontData *) 0 ;
12880 PyObject * obj0 = 0 ;
12881 char *kwnames[] = {
12882 (char *) "self", NULL
12883 };
12884
12885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12888 {
12889 PyThreadState* __tstate = wxPyBeginAllowThreads();
12890 delete arg1;
12891
12892 wxPyEndAllowThreads(__tstate);
12893 if (PyErr_Occurred()) SWIG_fail;
12894 }
12895 Py_INCREF(Py_None); resultobj = Py_None;
12896 return resultobj;
12897 fail:
12898 return NULL;
12899 }
12900
12901
12902 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12903 PyObject *resultobj;
12904 wxFontData *arg1 = (wxFontData *) 0 ;
12905 bool arg2 ;
12906 PyObject * obj0 = 0 ;
12907 PyObject * obj1 = 0 ;
12908 char *kwnames[] = {
12909 (char *) "self",(char *) "enable", NULL
12910 };
12911
12912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12915 arg2 = (bool) SWIG_AsBool(obj1);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 {
12918 PyThreadState* __tstate = wxPyBeginAllowThreads();
12919 (arg1)->EnableEffects(arg2);
12920
12921 wxPyEndAllowThreads(__tstate);
12922 if (PyErr_Occurred()) SWIG_fail;
12923 }
12924 Py_INCREF(Py_None); resultobj = Py_None;
12925 return resultobj;
12926 fail:
12927 return NULL;
12928 }
12929
12930
12931 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12932 PyObject *resultobj;
12933 wxFontData *arg1 = (wxFontData *) 0 ;
12934 bool result;
12935 PyObject * obj0 = 0 ;
12936 char *kwnames[] = {
12937 (char *) "self", NULL
12938 };
12939
12940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12943 {
12944 PyThreadState* __tstate = wxPyBeginAllowThreads();
12945 result = (bool)(arg1)->GetAllowSymbols();
12946
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 {
12951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12952 }
12953 return resultobj;
12954 fail:
12955 return NULL;
12956 }
12957
12958
12959 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj;
12961 wxFontData *arg1 = (wxFontData *) 0 ;
12962 wxColour result;
12963 PyObject * obj0 = 0 ;
12964 char *kwnames[] = {
12965 (char *) "self", NULL
12966 };
12967
12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = (arg1)->GetColour();
12974
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 {
12979 wxColour * resultptr;
12980 resultptr = new wxColour((wxColour &) result);
12981 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12982 }
12983 return resultobj;
12984 fail:
12985 return NULL;
12986 }
12987
12988
12989 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12990 PyObject *resultobj;
12991 wxFontData *arg1 = (wxFontData *) 0 ;
12992 wxFont result;
12993 PyObject * obj0 = 0 ;
12994 char *kwnames[] = {
12995 (char *) "self", NULL
12996 };
12997
12998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13001 {
13002 PyThreadState* __tstate = wxPyBeginAllowThreads();
13003 result = (arg1)->GetChosenFont();
13004
13005 wxPyEndAllowThreads(__tstate);
13006 if (PyErr_Occurred()) SWIG_fail;
13007 }
13008 {
13009 wxFont * resultptr;
13010 resultptr = new wxFont((wxFont &) result);
13011 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13012 }
13013 return resultobj;
13014 fail:
13015 return NULL;
13016 }
13017
13018
13019 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13020 PyObject *resultobj;
13021 wxFontData *arg1 = (wxFontData *) 0 ;
13022 bool result;
13023 PyObject * obj0 = 0 ;
13024 char *kwnames[] = {
13025 (char *) "self", NULL
13026 };
13027
13028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13031 {
13032 PyThreadState* __tstate = wxPyBeginAllowThreads();
13033 result = (bool)(arg1)->GetEnableEffects();
13034
13035 wxPyEndAllowThreads(__tstate);
13036 if (PyErr_Occurred()) SWIG_fail;
13037 }
13038 {
13039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13040 }
13041 return resultobj;
13042 fail:
13043 return NULL;
13044 }
13045
13046
13047 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13048 PyObject *resultobj;
13049 wxFontData *arg1 = (wxFontData *) 0 ;
13050 wxFont result;
13051 PyObject * obj0 = 0 ;
13052 char *kwnames[] = {
13053 (char *) "self", NULL
13054 };
13055
13056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 result = (arg1)->GetInitialFont();
13062
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 {
13067 wxFont * resultptr;
13068 resultptr = new wxFont((wxFont &) result);
13069 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13070 }
13071 return resultobj;
13072 fail:
13073 return NULL;
13074 }
13075
13076
13077 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13078 PyObject *resultobj;
13079 wxFontData *arg1 = (wxFontData *) 0 ;
13080 bool result;
13081 PyObject * obj0 = 0 ;
13082 char *kwnames[] = {
13083 (char *) "self", NULL
13084 };
13085
13086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 result = (bool)(arg1)->GetShowHelp();
13092
13093 wxPyEndAllowThreads(__tstate);
13094 if (PyErr_Occurred()) SWIG_fail;
13095 }
13096 {
13097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13098 }
13099 return resultobj;
13100 fail:
13101 return NULL;
13102 }
13103
13104
13105 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13106 PyObject *resultobj;
13107 wxFontData *arg1 = (wxFontData *) 0 ;
13108 bool arg2 ;
13109 PyObject * obj0 = 0 ;
13110 PyObject * obj1 = 0 ;
13111 char *kwnames[] = {
13112 (char *) "self",(char *) "allowSymbols", NULL
13113 };
13114
13115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13118 arg2 = (bool) SWIG_AsBool(obj1);
13119 if (PyErr_Occurred()) SWIG_fail;
13120 {
13121 PyThreadState* __tstate = wxPyBeginAllowThreads();
13122 (arg1)->SetAllowSymbols(arg2);
13123
13124 wxPyEndAllowThreads(__tstate);
13125 if (PyErr_Occurred()) SWIG_fail;
13126 }
13127 Py_INCREF(Py_None); resultobj = Py_None;
13128 return resultobj;
13129 fail:
13130 return NULL;
13131 }
13132
13133
13134 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13135 PyObject *resultobj;
13136 wxFontData *arg1 = (wxFontData *) 0 ;
13137 wxFont *arg2 = 0 ;
13138 PyObject * obj0 = 0 ;
13139 PyObject * obj1 = 0 ;
13140 char *kwnames[] = {
13141 (char *) "self",(char *) "font", NULL
13142 };
13143
13144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13147 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13148 SWIG_POINTER_EXCEPTION | 0)) == -1)
13149 SWIG_fail;
13150 if (arg2 == NULL) {
13151 PyErr_SetString(PyExc_TypeError,"null reference");
13152 SWIG_fail;
13153 }
13154 {
13155 PyThreadState* __tstate = wxPyBeginAllowThreads();
13156 (arg1)->SetChosenFont((wxFont const &)*arg2);
13157
13158 wxPyEndAllowThreads(__tstate);
13159 if (PyErr_Occurred()) SWIG_fail;
13160 }
13161 Py_INCREF(Py_None); resultobj = Py_None;
13162 return resultobj;
13163 fail:
13164 return NULL;
13165 }
13166
13167
13168 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13169 PyObject *resultobj;
13170 wxFontData *arg1 = (wxFontData *) 0 ;
13171 wxColour *arg2 = 0 ;
13172 wxColour temp2 ;
13173 PyObject * obj0 = 0 ;
13174 PyObject * obj1 = 0 ;
13175 char *kwnames[] = {
13176 (char *) "self",(char *) "colour", NULL
13177 };
13178
13179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13182 {
13183 arg2 = &temp2;
13184 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13185 }
13186 {
13187 PyThreadState* __tstate = wxPyBeginAllowThreads();
13188 (arg1)->SetColour((wxColour const &)*arg2);
13189
13190 wxPyEndAllowThreads(__tstate);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 }
13193 Py_INCREF(Py_None); resultobj = Py_None;
13194 return resultobj;
13195 fail:
13196 return NULL;
13197 }
13198
13199
13200 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13201 PyObject *resultobj;
13202 wxFontData *arg1 = (wxFontData *) 0 ;
13203 wxFont *arg2 = 0 ;
13204 PyObject * obj0 = 0 ;
13205 PyObject * obj1 = 0 ;
13206 char *kwnames[] = {
13207 (char *) "self",(char *) "font", NULL
13208 };
13209
13210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13214 SWIG_POINTER_EXCEPTION | 0)) == -1)
13215 SWIG_fail;
13216 if (arg2 == NULL) {
13217 PyErr_SetString(PyExc_TypeError,"null reference");
13218 SWIG_fail;
13219 }
13220 {
13221 PyThreadState* __tstate = wxPyBeginAllowThreads();
13222 (arg1)->SetInitialFont((wxFont const &)*arg2);
13223
13224 wxPyEndAllowThreads(__tstate);
13225 if (PyErr_Occurred()) SWIG_fail;
13226 }
13227 Py_INCREF(Py_None); resultobj = Py_None;
13228 return resultobj;
13229 fail:
13230 return NULL;
13231 }
13232
13233
13234 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13235 PyObject *resultobj;
13236 wxFontData *arg1 = (wxFontData *) 0 ;
13237 int arg2 ;
13238 int arg3 ;
13239 PyObject * obj0 = 0 ;
13240 PyObject * obj1 = 0 ;
13241 PyObject * obj2 = 0 ;
13242 char *kwnames[] = {
13243 (char *) "self",(char *) "min",(char *) "max", NULL
13244 };
13245
13246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13249 arg2 = (int) SWIG_AsInt(obj1);
13250 if (PyErr_Occurred()) SWIG_fail;
13251 arg3 = (int) SWIG_AsInt(obj2);
13252 if (PyErr_Occurred()) SWIG_fail;
13253 {
13254 PyThreadState* __tstate = wxPyBeginAllowThreads();
13255 (arg1)->SetRange(arg2,arg3);
13256
13257 wxPyEndAllowThreads(__tstate);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 Py_INCREF(Py_None); resultobj = Py_None;
13261 return resultobj;
13262 fail:
13263 return NULL;
13264 }
13265
13266
13267 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13268 PyObject *resultobj;
13269 wxFontData *arg1 = (wxFontData *) 0 ;
13270 bool arg2 ;
13271 PyObject * obj0 = 0 ;
13272 PyObject * obj1 = 0 ;
13273 char *kwnames[] = {
13274 (char *) "self",(char *) "showHelp", NULL
13275 };
13276
13277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13280 arg2 = (bool) SWIG_AsBool(obj1);
13281 if (PyErr_Occurred()) SWIG_fail;
13282 {
13283 PyThreadState* __tstate = wxPyBeginAllowThreads();
13284 (arg1)->SetShowHelp(arg2);
13285
13286 wxPyEndAllowThreads(__tstate);
13287 if (PyErr_Occurred()) SWIG_fail;
13288 }
13289 Py_INCREF(Py_None); resultobj = Py_None;
13290 return resultobj;
13291 fail:
13292 return NULL;
13293 }
13294
13295
13296 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13297 PyObject *obj;
13298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13299 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13300 Py_INCREF(obj);
13301 return Py_BuildValue((char *)"");
13302 }
13303 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxWindow *arg1 = (wxWindow *) 0 ;
13306 wxFontData *arg2 = 0 ;
13307 wxFontDialog *result;
13308 PyObject * obj0 = 0 ;
13309 PyObject * obj1 = 0 ;
13310 char *kwnames[] = {
13311 (char *) "parent",(char *) "data", NULL
13312 };
13313
13314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13318 SWIG_POINTER_EXCEPTION | 0)) == -1)
13319 SWIG_fail;
13320 if (arg2 == NULL) {
13321 PyErr_SetString(PyExc_TypeError,"null reference");
13322 SWIG_fail;
13323 }
13324 {
13325 if (!wxPyCheckForApp()) SWIG_fail;
13326 PyThreadState* __tstate = wxPyBeginAllowThreads();
13327 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13328
13329 wxPyEndAllowThreads(__tstate);
13330 if (PyErr_Occurred()) SWIG_fail;
13331 }
13332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13333 return resultobj;
13334 fail:
13335 return NULL;
13336 }
13337
13338
13339 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13340 PyObject *resultobj;
13341 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13342 wxFontData *result;
13343 PyObject * obj0 = 0 ;
13344 char *kwnames[] = {
13345 (char *) "self", NULL
13346 };
13347
13348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
13353 {
13354 wxFontData &_result_ref = (arg1)->GetFontData();
13355 result = (wxFontData *) &_result_ref;
13356 }
13357
13358 wxPyEndAllowThreads(__tstate);
13359 if (PyErr_Occurred()) SWIG_fail;
13360 }
13361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13362 return resultobj;
13363 fail:
13364 return NULL;
13365 }
13366
13367
13368 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13369 PyObject *obj;
13370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13371 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13372 Py_INCREF(obj);
13373 return Py_BuildValue((char *)"");
13374 }
13375 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxWindow *arg1 = (wxWindow *) 0 ;
13378 wxString *arg2 = 0 ;
13379 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13380 wxString *arg3 = (wxString *) &arg3_defvalue ;
13381 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13382 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13383 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13384 wxMessageDialog *result;
13385 bool temp2 = False ;
13386 bool temp3 = False ;
13387 wxPoint temp5 ;
13388 PyObject * obj0 = 0 ;
13389 PyObject * obj1 = 0 ;
13390 PyObject * obj2 = 0 ;
13391 PyObject * obj3 = 0 ;
13392 PyObject * obj4 = 0 ;
13393 char *kwnames[] = {
13394 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13395 };
13396
13397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13400 {
13401 arg2 = wxString_in_helper(obj1);
13402 if (arg2 == NULL) SWIG_fail;
13403 temp2 = True;
13404 }
13405 if (obj2) {
13406 {
13407 arg3 = wxString_in_helper(obj2);
13408 if (arg3 == NULL) SWIG_fail;
13409 temp3 = True;
13410 }
13411 }
13412 if (obj3) {
13413 arg4 = (long) SWIG_AsLong(obj3);
13414 if (PyErr_Occurred()) SWIG_fail;
13415 }
13416 if (obj4) {
13417 {
13418 arg5 = &temp5;
13419 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13420 }
13421 }
13422 {
13423 if (!wxPyCheckForApp()) SWIG_fail;
13424 PyThreadState* __tstate = wxPyBeginAllowThreads();
13425 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13426
13427 wxPyEndAllowThreads(__tstate);
13428 if (PyErr_Occurred()) SWIG_fail;
13429 }
13430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13431 {
13432 if (temp2)
13433 delete arg2;
13434 }
13435 {
13436 if (temp3)
13437 delete arg3;
13438 }
13439 return resultobj;
13440 fail:
13441 {
13442 if (temp2)
13443 delete arg2;
13444 }
13445 {
13446 if (temp3)
13447 delete arg3;
13448 }
13449 return NULL;
13450 }
13451
13452
13453 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13454 PyObject *obj;
13455 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13456 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13457 Py_INCREF(obj);
13458 return Py_BuildValue((char *)"");
13459 }
13460 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj;
13462 wxString *arg1 = 0 ;
13463 wxString *arg2 = 0 ;
13464 int arg3 = (int) 100 ;
13465 wxWindow *arg4 = (wxWindow *) NULL ;
13466 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13467 wxProgressDialog *result;
13468 bool temp1 = False ;
13469 bool temp2 = False ;
13470 PyObject * obj0 = 0 ;
13471 PyObject * obj1 = 0 ;
13472 PyObject * obj2 = 0 ;
13473 PyObject * obj3 = 0 ;
13474 PyObject * obj4 = 0 ;
13475 char *kwnames[] = {
13476 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13477 };
13478
13479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13480 {
13481 arg1 = wxString_in_helper(obj0);
13482 if (arg1 == NULL) SWIG_fail;
13483 temp1 = True;
13484 }
13485 {
13486 arg2 = wxString_in_helper(obj1);
13487 if (arg2 == NULL) SWIG_fail;
13488 temp2 = True;
13489 }
13490 if (obj2) {
13491 arg3 = (int) SWIG_AsInt(obj2);
13492 if (PyErr_Occurred()) SWIG_fail;
13493 }
13494 if (obj3) {
13495 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13497 }
13498 if (obj4) {
13499 arg5 = (int) SWIG_AsInt(obj4);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 {
13503 if (!wxPyCheckForApp()) SWIG_fail;
13504 PyThreadState* __tstate = wxPyBeginAllowThreads();
13505 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13506
13507 wxPyEndAllowThreads(__tstate);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 }
13510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13511 {
13512 if (temp1)
13513 delete arg1;
13514 }
13515 {
13516 if (temp2)
13517 delete arg2;
13518 }
13519 return resultobj;
13520 fail:
13521 {
13522 if (temp1)
13523 delete arg1;
13524 }
13525 {
13526 if (temp2)
13527 delete arg2;
13528 }
13529 return NULL;
13530 }
13531
13532
13533 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13534 PyObject *resultobj;
13535 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13536 int arg2 ;
13537 wxString const &arg3_defvalue = wxPyEmptyString ;
13538 wxString *arg3 = (wxString *) &arg3_defvalue ;
13539 bool result;
13540 bool temp3 = False ;
13541 PyObject * obj0 = 0 ;
13542 PyObject * obj1 = 0 ;
13543 PyObject * obj2 = 0 ;
13544 char *kwnames[] = {
13545 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13546 };
13547
13548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13551 arg2 = (int) SWIG_AsInt(obj1);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 if (obj2) {
13554 {
13555 arg3 = wxString_in_helper(obj2);
13556 if (arg3 == NULL) SWIG_fail;
13557 temp3 = True;
13558 }
13559 }
13560 {
13561 PyThreadState* __tstate = wxPyBeginAllowThreads();
13562 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13563
13564 wxPyEndAllowThreads(__tstate);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
13567 {
13568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13569 }
13570 {
13571 if (temp3)
13572 delete arg3;
13573 }
13574 return resultobj;
13575 fail:
13576 {
13577 if (temp3)
13578 delete arg3;
13579 }
13580 return NULL;
13581 }
13582
13583
13584 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13585 PyObject *resultobj;
13586 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13587 PyObject * obj0 = 0 ;
13588 char *kwnames[] = {
13589 (char *) "self", NULL
13590 };
13591
13592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13595 {
13596 PyThreadState* __tstate = wxPyBeginAllowThreads();
13597 (arg1)->Resume();
13598
13599 wxPyEndAllowThreads(__tstate);
13600 if (PyErr_Occurred()) SWIG_fail;
13601 }
13602 Py_INCREF(Py_None); resultobj = Py_None;
13603 return resultobj;
13604 fail:
13605 return NULL;
13606 }
13607
13608
13609 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13610 PyObject *obj;
13611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13612 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13613 Py_INCREF(obj);
13614 return Py_BuildValue((char *)"");
13615 }
13616 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13617 PyObject *resultobj;
13618 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13619 int arg2 = (int) 0 ;
13620 wxFindDialogEvent *result;
13621 PyObject * obj0 = 0 ;
13622 PyObject * obj1 = 0 ;
13623 char *kwnames[] = {
13624 (char *) "commandType",(char *) "id", NULL
13625 };
13626
13627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13628 if (obj0) {
13629 arg1 = (wxEventType) SWIG_AsInt(obj0);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 if (obj1) {
13633 arg2 = (int) SWIG_AsInt(obj1);
13634 if (PyErr_Occurred()) SWIG_fail;
13635 }
13636 {
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13639
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13644 return resultobj;
13645 fail:
13646 return NULL;
13647 }
13648
13649
13650 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13651 PyObject *resultobj;
13652 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13653 int result;
13654 PyObject * obj0 = 0 ;
13655 char *kwnames[] = {
13656 (char *) "self", NULL
13657 };
13658
13659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13662 {
13663 PyThreadState* __tstate = wxPyBeginAllowThreads();
13664 result = (int)(arg1)->GetFlags();
13665
13666 wxPyEndAllowThreads(__tstate);
13667 if (PyErr_Occurred()) SWIG_fail;
13668 }
13669 resultobj = SWIG_FromInt((int)result);
13670 return resultobj;
13671 fail:
13672 return NULL;
13673 }
13674
13675
13676 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13677 PyObject *resultobj;
13678 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13679 wxString *result;
13680 PyObject * obj0 = 0 ;
13681 char *kwnames[] = {
13682 (char *) "self", NULL
13683 };
13684
13685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13688 {
13689 PyThreadState* __tstate = wxPyBeginAllowThreads();
13690 {
13691 wxString const &_result_ref = (arg1)->GetFindString();
13692 result = (wxString *) &_result_ref;
13693 }
13694
13695 wxPyEndAllowThreads(__tstate);
13696 if (PyErr_Occurred()) SWIG_fail;
13697 }
13698 {
13699 #if wxUSE_UNICODE
13700 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13701 #else
13702 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13703 #endif
13704 }
13705 return resultobj;
13706 fail:
13707 return NULL;
13708 }
13709
13710
13711 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13712 PyObject *resultobj;
13713 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13714 wxString *result;
13715 PyObject * obj0 = 0 ;
13716 char *kwnames[] = {
13717 (char *) "self", NULL
13718 };
13719
13720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13723 {
13724 PyThreadState* __tstate = wxPyBeginAllowThreads();
13725 {
13726 wxString const &_result_ref = (arg1)->GetReplaceString();
13727 result = (wxString *) &_result_ref;
13728 }
13729
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
13733 {
13734 #if wxUSE_UNICODE
13735 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13736 #else
13737 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13738 #endif
13739 }
13740 return resultobj;
13741 fail:
13742 return NULL;
13743 }
13744
13745
13746 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13747 PyObject *resultobj;
13748 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13749 wxFindReplaceDialog *result;
13750 PyObject * obj0 = 0 ;
13751 char *kwnames[] = {
13752 (char *) "self", NULL
13753 };
13754
13755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13758 {
13759 PyThreadState* __tstate = wxPyBeginAllowThreads();
13760 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13761
13762 wxPyEndAllowThreads(__tstate);
13763 if (PyErr_Occurred()) SWIG_fail;
13764 }
13765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13766 return resultobj;
13767 fail:
13768 return NULL;
13769 }
13770
13771
13772 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13773 PyObject *resultobj;
13774 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13775 int arg2 ;
13776 PyObject * obj0 = 0 ;
13777 PyObject * obj1 = 0 ;
13778 char *kwnames[] = {
13779 (char *) "self",(char *) "flags", NULL
13780 };
13781
13782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13785 arg2 = (int) SWIG_AsInt(obj1);
13786 if (PyErr_Occurred()) SWIG_fail;
13787 {
13788 PyThreadState* __tstate = wxPyBeginAllowThreads();
13789 (arg1)->SetFlags(arg2);
13790
13791 wxPyEndAllowThreads(__tstate);
13792 if (PyErr_Occurred()) SWIG_fail;
13793 }
13794 Py_INCREF(Py_None); resultobj = Py_None;
13795 return resultobj;
13796 fail:
13797 return NULL;
13798 }
13799
13800
13801 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj;
13803 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13804 wxString *arg2 = 0 ;
13805 bool temp2 = False ;
13806 PyObject * obj0 = 0 ;
13807 PyObject * obj1 = 0 ;
13808 char *kwnames[] = {
13809 (char *) "self",(char *) "str", NULL
13810 };
13811
13812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13815 {
13816 arg2 = wxString_in_helper(obj1);
13817 if (arg2 == NULL) SWIG_fail;
13818 temp2 = True;
13819 }
13820 {
13821 PyThreadState* __tstate = wxPyBeginAllowThreads();
13822 (arg1)->SetFindString((wxString const &)*arg2);
13823
13824 wxPyEndAllowThreads(__tstate);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 Py_INCREF(Py_None); resultobj = Py_None;
13828 {
13829 if (temp2)
13830 delete arg2;
13831 }
13832 return resultobj;
13833 fail:
13834 {
13835 if (temp2)
13836 delete arg2;
13837 }
13838 return NULL;
13839 }
13840
13841
13842 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13843 PyObject *resultobj;
13844 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13845 wxString *arg2 = 0 ;
13846 bool temp2 = False ;
13847 PyObject * obj0 = 0 ;
13848 PyObject * obj1 = 0 ;
13849 char *kwnames[] = {
13850 (char *) "self",(char *) "str", NULL
13851 };
13852
13853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13856 {
13857 arg2 = wxString_in_helper(obj1);
13858 if (arg2 == NULL) SWIG_fail;
13859 temp2 = True;
13860 }
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 (arg1)->SetReplaceString((wxString const &)*arg2);
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 Py_INCREF(Py_None); resultobj = Py_None;
13869 {
13870 if (temp2)
13871 delete arg2;
13872 }
13873 return resultobj;
13874 fail:
13875 {
13876 if (temp2)
13877 delete arg2;
13878 }
13879 return NULL;
13880 }
13881
13882
13883 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13884 PyObject *obj;
13885 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13886 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13887 Py_INCREF(obj);
13888 return Py_BuildValue((char *)"");
13889 }
13890 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13891 PyObject *resultobj;
13892 int arg1 = (int) 0 ;
13893 wxFindReplaceData *result;
13894 PyObject * obj0 = 0 ;
13895 char *kwnames[] = {
13896 (char *) "flags", NULL
13897 };
13898
13899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13900 if (obj0) {
13901 arg1 = (int) SWIG_AsInt(obj0);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
13904 {
13905 PyThreadState* __tstate = wxPyBeginAllowThreads();
13906 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13907
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13912 return resultobj;
13913 fail:
13914 return NULL;
13915 }
13916
13917
13918 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13919 PyObject *resultobj;
13920 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13921 PyObject * obj0 = 0 ;
13922 char *kwnames[] = {
13923 (char *) "self", NULL
13924 };
13925
13926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13929 {
13930 PyThreadState* __tstate = wxPyBeginAllowThreads();
13931 delete arg1;
13932
13933 wxPyEndAllowThreads(__tstate);
13934 if (PyErr_Occurred()) SWIG_fail;
13935 }
13936 Py_INCREF(Py_None); resultobj = Py_None;
13937 return resultobj;
13938 fail:
13939 return NULL;
13940 }
13941
13942
13943 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13944 PyObject *resultobj;
13945 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13946 wxString *result;
13947 PyObject * obj0 = 0 ;
13948 char *kwnames[] = {
13949 (char *) "self", NULL
13950 };
13951
13952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13955 {
13956 PyThreadState* __tstate = wxPyBeginAllowThreads();
13957 {
13958 wxString const &_result_ref = (arg1)->GetFindString();
13959 result = (wxString *) &_result_ref;
13960 }
13961
13962 wxPyEndAllowThreads(__tstate);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 }
13965 {
13966 #if wxUSE_UNICODE
13967 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13968 #else
13969 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13970 #endif
13971 }
13972 return resultobj;
13973 fail:
13974 return NULL;
13975 }
13976
13977
13978 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13979 PyObject *resultobj;
13980 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13981 wxString *result;
13982 PyObject * obj0 = 0 ;
13983 char *kwnames[] = {
13984 (char *) "self", NULL
13985 };
13986
13987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13990 {
13991 PyThreadState* __tstate = wxPyBeginAllowThreads();
13992 {
13993 wxString const &_result_ref = (arg1)->GetReplaceString();
13994 result = (wxString *) &_result_ref;
13995 }
13996
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
14000 {
14001 #if wxUSE_UNICODE
14002 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14003 #else
14004 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14005 #endif
14006 }
14007 return resultobj;
14008 fail:
14009 return NULL;
14010 }
14011
14012
14013 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14014 PyObject *resultobj;
14015 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14016 int result;
14017 PyObject * obj0 = 0 ;
14018 char *kwnames[] = {
14019 (char *) "self", NULL
14020 };
14021
14022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14025 {
14026 PyThreadState* __tstate = wxPyBeginAllowThreads();
14027 result = (int)(arg1)->GetFlags();
14028
14029 wxPyEndAllowThreads(__tstate);
14030 if (PyErr_Occurred()) SWIG_fail;
14031 }
14032 resultobj = SWIG_FromInt((int)result);
14033 return resultobj;
14034 fail:
14035 return NULL;
14036 }
14037
14038
14039 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14040 PyObject *resultobj;
14041 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14042 int arg2 ;
14043 PyObject * obj0 = 0 ;
14044 PyObject * obj1 = 0 ;
14045 char *kwnames[] = {
14046 (char *) "self",(char *) "flags", NULL
14047 };
14048
14049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14052 arg2 = (int) SWIG_AsInt(obj1);
14053 if (PyErr_Occurred()) SWIG_fail;
14054 {
14055 PyThreadState* __tstate = wxPyBeginAllowThreads();
14056 (arg1)->SetFlags(arg2);
14057
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
14061 Py_INCREF(Py_None); resultobj = Py_None;
14062 return resultobj;
14063 fail:
14064 return NULL;
14065 }
14066
14067
14068 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14069 PyObject *resultobj;
14070 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14071 wxString *arg2 = 0 ;
14072 bool temp2 = False ;
14073 PyObject * obj0 = 0 ;
14074 PyObject * obj1 = 0 ;
14075 char *kwnames[] = {
14076 (char *) "self",(char *) "str", NULL
14077 };
14078
14079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14082 {
14083 arg2 = wxString_in_helper(obj1);
14084 if (arg2 == NULL) SWIG_fail;
14085 temp2 = True;
14086 }
14087 {
14088 PyThreadState* __tstate = wxPyBeginAllowThreads();
14089 (arg1)->SetFindString((wxString const &)*arg2);
14090
14091 wxPyEndAllowThreads(__tstate);
14092 if (PyErr_Occurred()) SWIG_fail;
14093 }
14094 Py_INCREF(Py_None); resultobj = Py_None;
14095 {
14096 if (temp2)
14097 delete arg2;
14098 }
14099 return resultobj;
14100 fail:
14101 {
14102 if (temp2)
14103 delete arg2;
14104 }
14105 return NULL;
14106 }
14107
14108
14109 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14110 PyObject *resultobj;
14111 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14112 wxString *arg2 = 0 ;
14113 bool temp2 = False ;
14114 PyObject * obj0 = 0 ;
14115 PyObject * obj1 = 0 ;
14116 char *kwnames[] = {
14117 (char *) "self",(char *) "str", NULL
14118 };
14119
14120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14123 {
14124 arg2 = wxString_in_helper(obj1);
14125 if (arg2 == NULL) SWIG_fail;
14126 temp2 = True;
14127 }
14128 {
14129 PyThreadState* __tstate = wxPyBeginAllowThreads();
14130 (arg1)->SetReplaceString((wxString const &)*arg2);
14131
14132 wxPyEndAllowThreads(__tstate);
14133 if (PyErr_Occurred()) SWIG_fail;
14134 }
14135 Py_INCREF(Py_None); resultobj = Py_None;
14136 {
14137 if (temp2)
14138 delete arg2;
14139 }
14140 return resultobj;
14141 fail:
14142 {
14143 if (temp2)
14144 delete arg2;
14145 }
14146 return NULL;
14147 }
14148
14149
14150 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14151 PyObject *obj;
14152 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14153 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14154 Py_INCREF(obj);
14155 return Py_BuildValue((char *)"");
14156 }
14157 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14158 PyObject *resultobj;
14159 wxWindow *arg1 = (wxWindow *) 0 ;
14160 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14161 wxString *arg3 = 0 ;
14162 int arg4 = (int) 0 ;
14163 wxFindReplaceDialog *result;
14164 bool temp3 = False ;
14165 PyObject * obj0 = 0 ;
14166 PyObject * obj1 = 0 ;
14167 PyObject * obj2 = 0 ;
14168 PyObject * obj3 = 0 ;
14169 char *kwnames[] = {
14170 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14171 };
14172
14173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14178 {
14179 arg3 = wxString_in_helper(obj2);
14180 if (arg3 == NULL) SWIG_fail;
14181 temp3 = True;
14182 }
14183 if (obj3) {
14184 arg4 = (int) SWIG_AsInt(obj3);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 {
14188 if (!wxPyCheckForApp()) SWIG_fail;
14189 PyThreadState* __tstate = wxPyBeginAllowThreads();
14190 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14191
14192 wxPyEndAllowThreads(__tstate);
14193 if (PyErr_Occurred()) SWIG_fail;
14194 }
14195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14196 {
14197 if (temp3)
14198 delete arg3;
14199 }
14200 return resultobj;
14201 fail:
14202 {
14203 if (temp3)
14204 delete arg3;
14205 }
14206 return NULL;
14207 }
14208
14209
14210 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj;
14212 wxFindReplaceDialog *result;
14213 char *kwnames[] = {
14214 NULL
14215 };
14216
14217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14218 {
14219 if (!wxPyCheckForApp()) SWIG_fail;
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14222
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
14226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14227 return resultobj;
14228 fail:
14229 return NULL;
14230 }
14231
14232
14233 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14234 PyObject *resultobj;
14235 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14236 wxWindow *arg2 = (wxWindow *) 0 ;
14237 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14238 wxString *arg4 = 0 ;
14239 int arg5 = (int) 0 ;
14240 bool result;
14241 bool temp4 = False ;
14242 PyObject * obj0 = 0 ;
14243 PyObject * obj1 = 0 ;
14244 PyObject * obj2 = 0 ;
14245 PyObject * obj3 = 0 ;
14246 PyObject * obj4 = 0 ;
14247 char *kwnames[] = {
14248 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14249 };
14250
14251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14254 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14256 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14258 {
14259 arg4 = wxString_in_helper(obj3);
14260 if (arg4 == NULL) SWIG_fail;
14261 temp4 = True;
14262 }
14263 if (obj4) {
14264 arg5 = (int) SWIG_AsInt(obj4);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 {
14268 PyThreadState* __tstate = wxPyBeginAllowThreads();
14269 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14270
14271 wxPyEndAllowThreads(__tstate);
14272 if (PyErr_Occurred()) SWIG_fail;
14273 }
14274 {
14275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14276 }
14277 {
14278 if (temp4)
14279 delete arg4;
14280 }
14281 return resultobj;
14282 fail:
14283 {
14284 if (temp4)
14285 delete arg4;
14286 }
14287 return NULL;
14288 }
14289
14290
14291 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14292 PyObject *resultobj;
14293 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14294 wxFindReplaceData *result;
14295 PyObject * obj0 = 0 ;
14296 char *kwnames[] = {
14297 (char *) "self", NULL
14298 };
14299
14300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14303 {
14304 PyThreadState* __tstate = wxPyBeginAllowThreads();
14305 result = (wxFindReplaceData *)(arg1)->GetData();
14306
14307 wxPyEndAllowThreads(__tstate);
14308 if (PyErr_Occurred()) SWIG_fail;
14309 }
14310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14311 return resultobj;
14312 fail:
14313 return NULL;
14314 }
14315
14316
14317 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14318 PyObject *resultobj;
14319 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14320 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14321 PyObject * obj0 = 0 ;
14322 PyObject * obj1 = 0 ;
14323 char *kwnames[] = {
14324 (char *) "self",(char *) "data", NULL
14325 };
14326
14327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14330 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14332 {
14333 PyThreadState* __tstate = wxPyBeginAllowThreads();
14334 (arg1)->SetData(arg2);
14335
14336 wxPyEndAllowThreads(__tstate);
14337 if (PyErr_Occurred()) SWIG_fail;
14338 }
14339 Py_INCREF(Py_None); resultobj = Py_None;
14340 return resultobj;
14341 fail:
14342 return NULL;
14343 }
14344
14345
14346 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14347 PyObject *obj;
14348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14349 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14350 Py_INCREF(obj);
14351 return Py_BuildValue((char *)"");
14352 }
14353 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 wxWindow *arg1 = (wxWindow *) 0 ;
14356 int arg2 = (int) (int)-1 ;
14357 wxString const &arg3_defvalue = wxPyEmptyString ;
14358 wxString *arg3 = (wxString *) &arg3_defvalue ;
14359 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14360 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14361 wxSize const &arg5_defvalue = wxDefaultSize ;
14362 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14363 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14364 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14365 wxString *arg7 = (wxString *) &arg7_defvalue ;
14366 wxMDIParentFrame *result;
14367 bool temp3 = False ;
14368 wxPoint temp4 ;
14369 wxSize temp5 ;
14370 bool temp7 = False ;
14371 PyObject * obj0 = 0 ;
14372 PyObject * obj1 = 0 ;
14373 PyObject * obj2 = 0 ;
14374 PyObject * obj3 = 0 ;
14375 PyObject * obj4 = 0 ;
14376 PyObject * obj5 = 0 ;
14377 PyObject * obj6 = 0 ;
14378 char *kwnames[] = {
14379 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14380 };
14381
14382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14385 if (obj1) {
14386 arg2 = (int const) SWIG_AsInt(obj1);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 if (obj2) {
14390 {
14391 arg3 = wxString_in_helper(obj2);
14392 if (arg3 == NULL) SWIG_fail;
14393 temp3 = True;
14394 }
14395 }
14396 if (obj3) {
14397 {
14398 arg4 = &temp4;
14399 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14400 }
14401 }
14402 if (obj4) {
14403 {
14404 arg5 = &temp5;
14405 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14406 }
14407 }
14408 if (obj5) {
14409 arg6 = (long) SWIG_AsLong(obj5);
14410 if (PyErr_Occurred()) SWIG_fail;
14411 }
14412 if (obj6) {
14413 {
14414 arg7 = wxString_in_helper(obj6);
14415 if (arg7 == NULL) SWIG_fail;
14416 temp7 = True;
14417 }
14418 }
14419 {
14420 if (!wxPyCheckForApp()) SWIG_fail;
14421 PyThreadState* __tstate = wxPyBeginAllowThreads();
14422 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14423
14424 wxPyEndAllowThreads(__tstate);
14425 if (PyErr_Occurred()) SWIG_fail;
14426 }
14427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14428 {
14429 if (temp3)
14430 delete arg3;
14431 }
14432 {
14433 if (temp7)
14434 delete arg7;
14435 }
14436 return resultobj;
14437 fail:
14438 {
14439 if (temp3)
14440 delete arg3;
14441 }
14442 {
14443 if (temp7)
14444 delete arg7;
14445 }
14446 return NULL;
14447 }
14448
14449
14450 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14451 PyObject *resultobj;
14452 wxMDIParentFrame *result;
14453 char *kwnames[] = {
14454 NULL
14455 };
14456
14457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14458 {
14459 if (!wxPyCheckForApp()) SWIG_fail;
14460 PyThreadState* __tstate = wxPyBeginAllowThreads();
14461 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14462
14463 wxPyEndAllowThreads(__tstate);
14464 if (PyErr_Occurred()) SWIG_fail;
14465 }
14466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14467 return resultobj;
14468 fail:
14469 return NULL;
14470 }
14471
14472
14473 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14474 PyObject *resultobj;
14475 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14476 wxWindow *arg2 = (wxWindow *) 0 ;
14477 int arg3 = (int) (int)-1 ;
14478 wxString const &arg4_defvalue = wxPyEmptyString ;
14479 wxString *arg4 = (wxString *) &arg4_defvalue ;
14480 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14481 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14482 wxSize const &arg6_defvalue = wxDefaultSize ;
14483 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14484 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14485 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14486 wxString *arg8 = (wxString *) &arg8_defvalue ;
14487 bool result;
14488 bool temp4 = False ;
14489 wxPoint temp5 ;
14490 wxSize temp6 ;
14491 bool temp8 = False ;
14492 PyObject * obj0 = 0 ;
14493 PyObject * obj1 = 0 ;
14494 PyObject * obj2 = 0 ;
14495 PyObject * obj3 = 0 ;
14496 PyObject * obj4 = 0 ;
14497 PyObject * obj5 = 0 ;
14498 PyObject * obj6 = 0 ;
14499 PyObject * obj7 = 0 ;
14500 char *kwnames[] = {
14501 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14502 };
14503
14504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14509 if (obj2) {
14510 arg3 = (int const) SWIG_AsInt(obj2);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 }
14513 if (obj3) {
14514 {
14515 arg4 = wxString_in_helper(obj3);
14516 if (arg4 == NULL) SWIG_fail;
14517 temp4 = True;
14518 }
14519 }
14520 if (obj4) {
14521 {
14522 arg5 = &temp5;
14523 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14524 }
14525 }
14526 if (obj5) {
14527 {
14528 arg6 = &temp6;
14529 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14530 }
14531 }
14532 if (obj6) {
14533 arg7 = (long) SWIG_AsLong(obj6);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 if (obj7) {
14537 {
14538 arg8 = wxString_in_helper(obj7);
14539 if (arg8 == NULL) SWIG_fail;
14540 temp8 = True;
14541 }
14542 }
14543 {
14544 PyThreadState* __tstate = wxPyBeginAllowThreads();
14545 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14546
14547 wxPyEndAllowThreads(__tstate);
14548 if (PyErr_Occurred()) SWIG_fail;
14549 }
14550 {
14551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14552 }
14553 {
14554 if (temp4)
14555 delete arg4;
14556 }
14557 {
14558 if (temp8)
14559 delete arg8;
14560 }
14561 return resultobj;
14562 fail:
14563 {
14564 if (temp4)
14565 delete arg4;
14566 }
14567 {
14568 if (temp8)
14569 delete arg8;
14570 }
14571 return NULL;
14572 }
14573
14574
14575 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14576 PyObject *resultobj;
14577 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 (arg1)->ActivateNext();
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 Py_INCREF(Py_None); resultobj = Py_None;
14594 return resultobj;
14595 fail:
14596 return NULL;
14597 }
14598
14599
14600 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14601 PyObject *resultobj;
14602 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14603 PyObject * obj0 = 0 ;
14604 char *kwnames[] = {
14605 (char *) "self", NULL
14606 };
14607
14608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14611 {
14612 PyThreadState* __tstate = wxPyBeginAllowThreads();
14613 (arg1)->ActivatePrevious();
14614
14615 wxPyEndAllowThreads(__tstate);
14616 if (PyErr_Occurred()) SWIG_fail;
14617 }
14618 Py_INCREF(Py_None); resultobj = Py_None;
14619 return resultobj;
14620 fail:
14621 return NULL;
14622 }
14623
14624
14625 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14626 PyObject *resultobj;
14627 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14628 PyObject * obj0 = 0 ;
14629 char *kwnames[] = {
14630 (char *) "self", NULL
14631 };
14632
14633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14636 {
14637 PyThreadState* __tstate = wxPyBeginAllowThreads();
14638 (arg1)->ArrangeIcons();
14639
14640 wxPyEndAllowThreads(__tstate);
14641 if (PyErr_Occurred()) SWIG_fail;
14642 }
14643 Py_INCREF(Py_None); resultobj = Py_None;
14644 return resultobj;
14645 fail:
14646 return NULL;
14647 }
14648
14649
14650 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14651 PyObject *resultobj;
14652 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14653 PyObject * obj0 = 0 ;
14654 char *kwnames[] = {
14655 (char *) "self", NULL
14656 };
14657
14658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14661 {
14662 PyThreadState* __tstate = wxPyBeginAllowThreads();
14663 (arg1)->Cascade();
14664
14665 wxPyEndAllowThreads(__tstate);
14666 if (PyErr_Occurred()) SWIG_fail;
14667 }
14668 Py_INCREF(Py_None); resultobj = Py_None;
14669 return resultobj;
14670 fail:
14671 return NULL;
14672 }
14673
14674
14675 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14676 PyObject *resultobj;
14677 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14678 wxMDIChildFrame *result;
14679 PyObject * obj0 = 0 ;
14680 char *kwnames[] = {
14681 (char *) "self", NULL
14682 };
14683
14684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14687 {
14688 PyThreadState* __tstate = wxPyBeginAllowThreads();
14689 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14690
14691 wxPyEndAllowThreads(__tstate);
14692 if (PyErr_Occurred()) SWIG_fail;
14693 }
14694 {
14695 resultobj = wxPyMake_wxObject(result, 0);
14696 }
14697 return resultobj;
14698 fail:
14699 return NULL;
14700 }
14701
14702
14703 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14704 PyObject *resultobj;
14705 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14706 wxMDIClientWindow *result;
14707 PyObject * obj0 = 0 ;
14708 char *kwnames[] = {
14709 (char *) "self", NULL
14710 };
14711
14712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 {
14723 resultobj = wxPyMake_wxObject(result, 0);
14724 }
14725 return resultobj;
14726 fail:
14727 return NULL;
14728 }
14729
14730
14731 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14732 PyObject *resultobj;
14733 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14734 wxWindow *result;
14735 PyObject * obj0 = 0 ;
14736 char *kwnames[] = {
14737 (char *) "self", NULL
14738 };
14739
14740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14743 {
14744 PyThreadState* __tstate = wxPyBeginAllowThreads();
14745 result = (wxWindow *)(arg1)->GetToolBar();
14746
14747 wxPyEndAllowThreads(__tstate);
14748 if (PyErr_Occurred()) SWIG_fail;
14749 }
14750 {
14751 resultobj = wxPyMake_wxObject(result, 0);
14752 }
14753 return resultobj;
14754 fail:
14755 return NULL;
14756 }
14757
14758
14759 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14760 PyObject *resultobj;
14761 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14762 PyObject * obj0 = 0 ;
14763 char *kwnames[] = {
14764 (char *) "self", NULL
14765 };
14766
14767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 (arg1)->Tile();
14773
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
14777 Py_INCREF(Py_None); resultobj = Py_None;
14778 return resultobj;
14779 fail:
14780 return NULL;
14781 }
14782
14783
14784 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14785 PyObject *obj;
14786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14787 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14788 Py_INCREF(obj);
14789 return Py_BuildValue((char *)"");
14790 }
14791 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14792 PyObject *resultobj;
14793 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14794 int arg2 = (int) (int)-1 ;
14795 wxString const &arg3_defvalue = wxPyEmptyString ;
14796 wxString *arg3 = (wxString *) &arg3_defvalue ;
14797 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14798 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14799 wxSize const &arg5_defvalue = wxDefaultSize ;
14800 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14801 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14802 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14803 wxString *arg7 = (wxString *) &arg7_defvalue ;
14804 wxMDIChildFrame *result;
14805 bool temp3 = False ;
14806 wxPoint temp4 ;
14807 wxSize temp5 ;
14808 bool temp7 = False ;
14809 PyObject * obj0 = 0 ;
14810 PyObject * obj1 = 0 ;
14811 PyObject * obj2 = 0 ;
14812 PyObject * obj3 = 0 ;
14813 PyObject * obj4 = 0 ;
14814 PyObject * obj5 = 0 ;
14815 PyObject * obj6 = 0 ;
14816 char *kwnames[] = {
14817 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14818 };
14819
14820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14823 if (obj1) {
14824 arg2 = (int const) SWIG_AsInt(obj1);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 if (obj2) {
14828 {
14829 arg3 = wxString_in_helper(obj2);
14830 if (arg3 == NULL) SWIG_fail;
14831 temp3 = True;
14832 }
14833 }
14834 if (obj3) {
14835 {
14836 arg4 = &temp4;
14837 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14838 }
14839 }
14840 if (obj4) {
14841 {
14842 arg5 = &temp5;
14843 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14844 }
14845 }
14846 if (obj5) {
14847 arg6 = (long) SWIG_AsLong(obj5);
14848 if (PyErr_Occurred()) SWIG_fail;
14849 }
14850 if (obj6) {
14851 {
14852 arg7 = wxString_in_helper(obj6);
14853 if (arg7 == NULL) SWIG_fail;
14854 temp7 = True;
14855 }
14856 }
14857 {
14858 if (!wxPyCheckForApp()) SWIG_fail;
14859 PyThreadState* __tstate = wxPyBeginAllowThreads();
14860 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14861
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 {
14866 resultobj = wxPyMake_wxObject(result, 1);
14867 }
14868 {
14869 if (temp3)
14870 delete arg3;
14871 }
14872 {
14873 if (temp7)
14874 delete arg7;
14875 }
14876 return resultobj;
14877 fail:
14878 {
14879 if (temp3)
14880 delete arg3;
14881 }
14882 {
14883 if (temp7)
14884 delete arg7;
14885 }
14886 return NULL;
14887 }
14888
14889
14890 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14891 PyObject *resultobj;
14892 wxMDIChildFrame *result;
14893 char *kwnames[] = {
14894 NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14898 {
14899 if (!wxPyCheckForApp()) SWIG_fail;
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 {
14907 resultobj = wxPyMake_wxObject(result, 1);
14908 }
14909 return resultobj;
14910 fail:
14911 return NULL;
14912 }
14913
14914
14915 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14916 PyObject *resultobj;
14917 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14918 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14919 int arg3 = (int) (int)-1 ;
14920 wxString const &arg4_defvalue = wxPyEmptyString ;
14921 wxString *arg4 = (wxString *) &arg4_defvalue ;
14922 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14923 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14924 wxSize const &arg6_defvalue = wxDefaultSize ;
14925 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14926 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14927 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14928 wxString *arg8 = (wxString *) &arg8_defvalue ;
14929 bool result;
14930 bool temp4 = False ;
14931 wxPoint temp5 ;
14932 wxSize temp6 ;
14933 bool temp8 = False ;
14934 PyObject * obj0 = 0 ;
14935 PyObject * obj1 = 0 ;
14936 PyObject * obj2 = 0 ;
14937 PyObject * obj3 = 0 ;
14938 PyObject * obj4 = 0 ;
14939 PyObject * obj5 = 0 ;
14940 PyObject * obj6 = 0 ;
14941 PyObject * obj7 = 0 ;
14942 char *kwnames[] = {
14943 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14944 };
14945
14946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14951 if (obj2) {
14952 arg3 = (int const) SWIG_AsInt(obj2);
14953 if (PyErr_Occurred()) SWIG_fail;
14954 }
14955 if (obj3) {
14956 {
14957 arg4 = wxString_in_helper(obj3);
14958 if (arg4 == NULL) SWIG_fail;
14959 temp4 = True;
14960 }
14961 }
14962 if (obj4) {
14963 {
14964 arg5 = &temp5;
14965 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14966 }
14967 }
14968 if (obj5) {
14969 {
14970 arg6 = &temp6;
14971 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14972 }
14973 }
14974 if (obj6) {
14975 arg7 = (long) SWIG_AsLong(obj6);
14976 if (PyErr_Occurred()) SWIG_fail;
14977 }
14978 if (obj7) {
14979 {
14980 arg8 = wxString_in_helper(obj7);
14981 if (arg8 == NULL) SWIG_fail;
14982 temp8 = True;
14983 }
14984 }
14985 {
14986 PyThreadState* __tstate = wxPyBeginAllowThreads();
14987 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14988
14989 wxPyEndAllowThreads(__tstate);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 {
14993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14994 }
14995 {
14996 if (temp4)
14997 delete arg4;
14998 }
14999 {
15000 if (temp8)
15001 delete arg8;
15002 }
15003 return resultobj;
15004 fail:
15005 {
15006 if (temp4)
15007 delete arg4;
15008 }
15009 {
15010 if (temp8)
15011 delete arg8;
15012 }
15013 return NULL;
15014 }
15015
15016
15017 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15018 PyObject *resultobj;
15019 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15020 PyObject * obj0 = 0 ;
15021 char *kwnames[] = {
15022 (char *) "self", NULL
15023 };
15024
15025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15028 {
15029 PyThreadState* __tstate = wxPyBeginAllowThreads();
15030 (arg1)->Activate();
15031
15032 wxPyEndAllowThreads(__tstate);
15033 if (PyErr_Occurred()) SWIG_fail;
15034 }
15035 Py_INCREF(Py_None); resultobj = Py_None;
15036 return resultobj;
15037 fail:
15038 return NULL;
15039 }
15040
15041
15042 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15043 PyObject *resultobj;
15044 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15045 bool arg2 ;
15046 PyObject * obj0 = 0 ;
15047 PyObject * obj1 = 0 ;
15048 char *kwnames[] = {
15049 (char *) "self",(char *) "maximize", NULL
15050 };
15051
15052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15055 arg2 = (bool) SWIG_AsBool(obj1);
15056 if (PyErr_Occurred()) SWIG_fail;
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 (arg1)->Maximize(arg2);
15060
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 Py_INCREF(Py_None); resultobj = Py_None;
15065 return resultobj;
15066 fail:
15067 return NULL;
15068 }
15069
15070
15071 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15072 PyObject *resultobj;
15073 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15074 PyObject * obj0 = 0 ;
15075 char *kwnames[] = {
15076 (char *) "self", NULL
15077 };
15078
15079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15082 {
15083 PyThreadState* __tstate = wxPyBeginAllowThreads();
15084 (arg1)->Restore();
15085
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 Py_INCREF(Py_None); resultobj = Py_None;
15090 return resultobj;
15091 fail:
15092 return NULL;
15093 }
15094
15095
15096 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15097 PyObject *obj;
15098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15099 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15100 Py_INCREF(obj);
15101 return Py_BuildValue((char *)"");
15102 }
15103 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15104 PyObject *resultobj;
15105 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15106 long arg2 = (long) 0 ;
15107 wxMDIClientWindow *result;
15108 PyObject * obj0 = 0 ;
15109 PyObject * obj1 = 0 ;
15110 char *kwnames[] = {
15111 (char *) "parent",(char *) "style", NULL
15112 };
15113
15114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15117 if (obj1) {
15118 arg2 = (long) SWIG_AsLong(obj1);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 }
15121 {
15122 if (!wxPyCheckForApp()) SWIG_fail;
15123 PyThreadState* __tstate = wxPyBeginAllowThreads();
15124 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15125
15126 wxPyEndAllowThreads(__tstate);
15127 if (PyErr_Occurred()) SWIG_fail;
15128 }
15129 {
15130 resultobj = wxPyMake_wxObject(result, 1);
15131 }
15132 return resultobj;
15133 fail:
15134 return NULL;
15135 }
15136
15137
15138 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15139 PyObject *resultobj;
15140 wxMDIClientWindow *result;
15141 char *kwnames[] = {
15142 NULL
15143 };
15144
15145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15146 {
15147 if (!wxPyCheckForApp()) SWIG_fail;
15148 PyThreadState* __tstate = wxPyBeginAllowThreads();
15149 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15150
15151 wxPyEndAllowThreads(__tstate);
15152 if (PyErr_Occurred()) SWIG_fail;
15153 }
15154 {
15155 resultobj = wxPyMake_wxObject(result, 1);
15156 }
15157 return resultobj;
15158 fail:
15159 return NULL;
15160 }
15161
15162
15163 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj;
15165 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15166 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15167 long arg3 = (long) 0 ;
15168 bool result;
15169 PyObject * obj0 = 0 ;
15170 PyObject * obj1 = 0 ;
15171 PyObject * obj2 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "self",(char *) "parent",(char *) "style", NULL
15174 };
15175
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15181 if (obj2) {
15182 arg3 = (long) SWIG_AsLong(obj2);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 {
15186 PyThreadState* __tstate = wxPyBeginAllowThreads();
15187 result = (bool)(arg1)->Create(arg2,arg3);
15188
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 {
15193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15194 }
15195 return resultobj;
15196 fail:
15197 return NULL;
15198 }
15199
15200
15201 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15202 PyObject *obj;
15203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15204 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15205 Py_INCREF(obj);
15206 return Py_BuildValue((char *)"");
15207 }
15208 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15209 PyObject *resultobj;
15210 wxWindow *arg1 = (wxWindow *) 0 ;
15211 int arg2 = (int) (int)-1 ;
15212 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15213 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15214 wxSize const &arg4_defvalue = wxDefaultSize ;
15215 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15216 long arg5 = (long) 0 ;
15217 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15218 wxString *arg6 = (wxString *) &arg6_defvalue ;
15219 wxPyWindow *result;
15220 wxPoint temp3 ;
15221 wxSize temp4 ;
15222 bool temp6 = False ;
15223 PyObject * obj0 = 0 ;
15224 PyObject * obj1 = 0 ;
15225 PyObject * obj2 = 0 ;
15226 PyObject * obj3 = 0 ;
15227 PyObject * obj4 = 0 ;
15228 PyObject * obj5 = 0 ;
15229 char *kwnames[] = {
15230 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15231 };
15232
15233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15236 if (obj1) {
15237 arg2 = (int const) SWIG_AsInt(obj1);
15238 if (PyErr_Occurred()) SWIG_fail;
15239 }
15240 if (obj2) {
15241 {
15242 arg3 = &temp3;
15243 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15244 }
15245 }
15246 if (obj3) {
15247 {
15248 arg4 = &temp4;
15249 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15250 }
15251 }
15252 if (obj4) {
15253 arg5 = (long) SWIG_AsLong(obj4);
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
15256 if (obj5) {
15257 {
15258 arg6 = wxString_in_helper(obj5);
15259 if (arg6 == NULL) SWIG_fail;
15260 temp6 = True;
15261 }
15262 }
15263 {
15264 if (!wxPyCheckForApp()) SWIG_fail;
15265 PyThreadState* __tstate = wxPyBeginAllowThreads();
15266 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15267
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15272 {
15273 if (temp6)
15274 delete arg6;
15275 }
15276 return resultobj;
15277 fail:
15278 {
15279 if (temp6)
15280 delete arg6;
15281 }
15282 return NULL;
15283 }
15284
15285
15286 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15287 PyObject *resultobj;
15288 wxPyWindow *result;
15289 char *kwnames[] = {
15290 NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15294 {
15295 if (!wxPyCheckForApp()) SWIG_fail;
15296 PyThreadState* __tstate = wxPyBeginAllowThreads();
15297 result = (wxPyWindow *)new wxPyWindow();
15298
15299 wxPyEndAllowThreads(__tstate);
15300 if (PyErr_Occurred()) SWIG_fail;
15301 }
15302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15303 return resultobj;
15304 fail:
15305 return NULL;
15306 }
15307
15308
15309 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15310 PyObject *resultobj;
15311 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15312 PyObject *arg2 = (PyObject *) 0 ;
15313 PyObject *arg3 = (PyObject *) 0 ;
15314 PyObject * obj0 = 0 ;
15315 PyObject * obj1 = 0 ;
15316 PyObject * obj2 = 0 ;
15317 char *kwnames[] = {
15318 (char *) "self",(char *) "self",(char *) "_class", NULL
15319 };
15320
15321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15324 arg2 = obj1;
15325 arg3 = obj2;
15326 {
15327 PyThreadState* __tstate = wxPyBeginAllowThreads();
15328 (arg1)->_setCallbackInfo(arg2,arg3);
15329
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 Py_INCREF(Py_None); resultobj = Py_None;
15334 return resultobj;
15335 fail:
15336 return NULL;
15337 }
15338
15339
15340 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15341 PyObject *resultobj;
15342 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15343 wxSize *arg2 = 0 ;
15344 wxSize temp2 ;
15345 PyObject * obj0 = 0 ;
15346 PyObject * obj1 = 0 ;
15347 char *kwnames[] = {
15348 (char *) "self",(char *) "size", NULL
15349 };
15350
15351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15354 {
15355 arg2 = &temp2;
15356 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15357 }
15358 {
15359 PyThreadState* __tstate = wxPyBeginAllowThreads();
15360 (arg1)->SetBestSize((wxSize const &)*arg2);
15361
15362 wxPyEndAllowThreads(__tstate);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 }
15365 Py_INCREF(Py_None); resultobj = Py_None;
15366 return resultobj;
15367 fail:
15368 return NULL;
15369 }
15370
15371
15372 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15373 PyObject *resultobj;
15374 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15375 int arg2 ;
15376 int arg3 ;
15377 int arg4 ;
15378 int arg5 ;
15379 PyObject * obj0 = 0 ;
15380 PyObject * obj1 = 0 ;
15381 PyObject * obj2 = 0 ;
15382 PyObject * obj3 = 0 ;
15383 PyObject * obj4 = 0 ;
15384 char *kwnames[] = {
15385 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15386 };
15387
15388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15391 arg2 = (int) SWIG_AsInt(obj1);
15392 if (PyErr_Occurred()) SWIG_fail;
15393 arg3 = (int) SWIG_AsInt(obj2);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 arg4 = (int) SWIG_AsInt(obj3);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 arg5 = (int) SWIG_AsInt(obj4);
15398 if (PyErr_Occurred()) SWIG_fail;
15399 {
15400 PyThreadState* __tstate = wxPyBeginAllowThreads();
15401 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15402
15403 wxPyEndAllowThreads(__tstate);
15404 if (PyErr_Occurred()) SWIG_fail;
15405 }
15406 Py_INCREF(Py_None); resultobj = Py_None;
15407 return resultobj;
15408 fail:
15409 return NULL;
15410 }
15411
15412
15413 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15414 PyObject *resultobj;
15415 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15416 int arg2 ;
15417 int arg3 ;
15418 int arg4 ;
15419 int arg5 ;
15420 int arg6 = (int) wxSIZE_AUTO ;
15421 PyObject * obj0 = 0 ;
15422 PyObject * obj1 = 0 ;
15423 PyObject * obj2 = 0 ;
15424 PyObject * obj3 = 0 ;
15425 PyObject * obj4 = 0 ;
15426 PyObject * obj5 = 0 ;
15427 char *kwnames[] = {
15428 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15429 };
15430
15431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15434 arg2 = (int) SWIG_AsInt(obj1);
15435 if (PyErr_Occurred()) SWIG_fail;
15436 arg3 = (int) SWIG_AsInt(obj2);
15437 if (PyErr_Occurred()) SWIG_fail;
15438 arg4 = (int) SWIG_AsInt(obj3);
15439 if (PyErr_Occurred()) SWIG_fail;
15440 arg5 = (int) SWIG_AsInt(obj4);
15441 if (PyErr_Occurred()) SWIG_fail;
15442 if (obj5) {
15443 arg6 = (int) SWIG_AsInt(obj5);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 {
15447 PyThreadState* __tstate = wxPyBeginAllowThreads();
15448 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15449
15450 wxPyEndAllowThreads(__tstate);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
15453 Py_INCREF(Py_None); resultobj = Py_None;
15454 return resultobj;
15455 fail:
15456 return NULL;
15457 }
15458
15459
15460 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj;
15462 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15463 int arg2 ;
15464 int arg3 ;
15465 PyObject * obj0 = 0 ;
15466 PyObject * obj1 = 0 ;
15467 PyObject * obj2 = 0 ;
15468 char *kwnames[] = {
15469 (char *) "self",(char *) "width",(char *) "height", NULL
15470 };
15471
15472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15475 arg2 = (int) SWIG_AsInt(obj1);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 arg3 = (int) SWIG_AsInt(obj2);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 {
15480 PyThreadState* __tstate = wxPyBeginAllowThreads();
15481 (arg1)->base_DoSetClientSize(arg2,arg3);
15482
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 Py_INCREF(Py_None); resultobj = Py_None;
15487 return resultobj;
15488 fail:
15489 return NULL;
15490 }
15491
15492
15493 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15494 PyObject *resultobj;
15495 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15496 int arg2 ;
15497 int arg3 ;
15498 PyObject * obj0 = 0 ;
15499 PyObject * obj1 = 0 ;
15500 PyObject * obj2 = 0 ;
15501 char *kwnames[] = {
15502 (char *) "self",(char *) "x",(char *) "y", NULL
15503 };
15504
15505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15508 arg2 = (int) SWIG_AsInt(obj1);
15509 if (PyErr_Occurred()) SWIG_fail;
15510 arg3 = (int) SWIG_AsInt(obj2);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15515
15516 wxPyEndAllowThreads(__tstate);
15517 if (PyErr_Occurred()) SWIG_fail;
15518 }
15519 Py_INCREF(Py_None); resultobj = Py_None;
15520 return resultobj;
15521 fail:
15522 return NULL;
15523 }
15524
15525
15526 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15527 PyObject *resultobj;
15528 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15529 int *arg2 = (int *) 0 ;
15530 int *arg3 = (int *) 0 ;
15531 int temp2 ;
15532 int temp3 ;
15533 PyObject * obj0 = 0 ;
15534 char *kwnames[] = {
15535 (char *) "self", NULL
15536 };
15537
15538 arg2 = &temp2;
15539 arg3 = &temp3;
15540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15546
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15550 Py_INCREF(Py_None); resultobj = Py_None;
15551 {
15552 PyObject *o = PyInt_FromLong((long) (*arg2));
15553 resultobj = t_output_helper(resultobj,o);
15554 }
15555 {
15556 PyObject *o = PyInt_FromLong((long) (*arg3));
15557 resultobj = t_output_helper(resultobj,o);
15558 }
15559 return resultobj;
15560 fail:
15561 return NULL;
15562 }
15563
15564
15565 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15566 PyObject *resultobj;
15567 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15568 int *arg2 = (int *) 0 ;
15569 int *arg3 = (int *) 0 ;
15570 int temp2 ;
15571 int temp3 ;
15572 PyObject * obj0 = 0 ;
15573 char *kwnames[] = {
15574 (char *) "self", NULL
15575 };
15576
15577 arg2 = &temp2;
15578 arg3 = &temp3;
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15582 {
15583 PyThreadState* __tstate = wxPyBeginAllowThreads();
15584 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15585
15586 wxPyEndAllowThreads(__tstate);
15587 if (PyErr_Occurred()) SWIG_fail;
15588 }
15589 Py_INCREF(Py_None); resultobj = Py_None;
15590 {
15591 PyObject *o = PyInt_FromLong((long) (*arg2));
15592 resultobj = t_output_helper(resultobj,o);
15593 }
15594 {
15595 PyObject *o = PyInt_FromLong((long) (*arg3));
15596 resultobj = t_output_helper(resultobj,o);
15597 }
15598 return resultobj;
15599 fail:
15600 return NULL;
15601 }
15602
15603
15604 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15605 PyObject *resultobj;
15606 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15607 int *arg2 = (int *) 0 ;
15608 int *arg3 = (int *) 0 ;
15609 int temp2 ;
15610 int temp3 ;
15611 PyObject * obj0 = 0 ;
15612 char *kwnames[] = {
15613 (char *) "self", NULL
15614 };
15615
15616 arg2 = &temp2;
15617 arg3 = &temp3;
15618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15621 {
15622 PyThreadState* __tstate = wxPyBeginAllowThreads();
15623 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15624
15625 wxPyEndAllowThreads(__tstate);
15626 if (PyErr_Occurred()) SWIG_fail;
15627 }
15628 Py_INCREF(Py_None); resultobj = Py_None;
15629 {
15630 PyObject *o = PyInt_FromLong((long) (*arg2));
15631 resultobj = t_output_helper(resultobj,o);
15632 }
15633 {
15634 PyObject *o = PyInt_FromLong((long) (*arg3));
15635 resultobj = t_output_helper(resultobj,o);
15636 }
15637 return resultobj;
15638 fail:
15639 return NULL;
15640 }
15641
15642
15643 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15644 PyObject *resultobj;
15645 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15646 wxSize result;
15647 PyObject * obj0 = 0 ;
15648 char *kwnames[] = {
15649 (char *) "self", NULL
15650 };
15651
15652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15658
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 {
15663 wxSize * resultptr;
15664 resultptr = new wxSize((wxSize &) result);
15665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15666 }
15667 return resultobj;
15668 fail:
15669 return NULL;
15670 }
15671
15672
15673 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15674 PyObject *resultobj;
15675 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15676 wxSize result;
15677 PyObject * obj0 = 0 ;
15678 char *kwnames[] = {
15679 (char *) "self", NULL
15680 };
15681
15682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15685 {
15686 PyThreadState* __tstate = wxPyBeginAllowThreads();
15687 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15688
15689 wxPyEndAllowThreads(__tstate);
15690 if (PyErr_Occurred()) SWIG_fail;
15691 }
15692 {
15693 wxSize * resultptr;
15694 resultptr = new wxSize((wxSize &) result);
15695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15696 }
15697 return resultobj;
15698 fail:
15699 return NULL;
15700 }
15701
15702
15703 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15704 PyObject *resultobj;
15705 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15706 PyObject * obj0 = 0 ;
15707 char *kwnames[] = {
15708 (char *) "self", NULL
15709 };
15710
15711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15714 {
15715 PyThreadState* __tstate = wxPyBeginAllowThreads();
15716 (arg1)->base_InitDialog();
15717
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 Py_INCREF(Py_None); resultobj = Py_None;
15722 return resultobj;
15723 fail:
15724 return NULL;
15725 }
15726
15727
15728 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15729 PyObject *resultobj;
15730 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15731 bool result;
15732 PyObject * obj0 = 0 ;
15733 char *kwnames[] = {
15734 (char *) "self", NULL
15735 };
15736
15737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15740 {
15741 PyThreadState* __tstate = wxPyBeginAllowThreads();
15742 result = (bool)(arg1)->base_TransferDataToWindow();
15743
15744 wxPyEndAllowThreads(__tstate);
15745 if (PyErr_Occurred()) SWIG_fail;
15746 }
15747 {
15748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15749 }
15750 return resultobj;
15751 fail:
15752 return NULL;
15753 }
15754
15755
15756 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15757 PyObject *resultobj;
15758 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15759 bool result;
15760 PyObject * obj0 = 0 ;
15761 char *kwnames[] = {
15762 (char *) "self", NULL
15763 };
15764
15765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 result = (bool)(arg1)->base_TransferDataFromWindow();
15771
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
15775 {
15776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15777 }
15778 return resultobj;
15779 fail:
15780 return NULL;
15781 }
15782
15783
15784 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15785 PyObject *resultobj;
15786 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15787 bool result;
15788 PyObject * obj0 = 0 ;
15789 char *kwnames[] = {
15790 (char *) "self", NULL
15791 };
15792
15793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15796 {
15797 PyThreadState* __tstate = wxPyBeginAllowThreads();
15798 result = (bool)(arg1)->base_Validate();
15799
15800 wxPyEndAllowThreads(__tstate);
15801 if (PyErr_Occurred()) SWIG_fail;
15802 }
15803 {
15804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15805 }
15806 return resultobj;
15807 fail:
15808 return NULL;
15809 }
15810
15811
15812 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15813 PyObject *resultobj;
15814 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15815 bool result;
15816 PyObject * obj0 = 0 ;
15817 char *kwnames[] = {
15818 (char *) "self", NULL
15819 };
15820
15821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 {
15832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15833 }
15834 return resultobj;
15835 fail:
15836 return NULL;
15837 }
15838
15839
15840 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15841 PyObject *resultobj;
15842 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15843 bool result;
15844 PyObject * obj0 = 0 ;
15845 char *kwnames[] = {
15846 (char *) "self", NULL
15847 };
15848
15849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15852 {
15853 PyThreadState* __tstate = wxPyBeginAllowThreads();
15854 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15855
15856 wxPyEndAllowThreads(__tstate);
15857 if (PyErr_Occurred()) SWIG_fail;
15858 }
15859 {
15860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15861 }
15862 return resultobj;
15863 fail:
15864 return NULL;
15865 }
15866
15867
15868 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15869 PyObject *resultobj;
15870 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15871 wxSize result;
15872 PyObject * obj0 = 0 ;
15873 char *kwnames[] = {
15874 (char *) "self", NULL
15875 };
15876
15877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15880 {
15881 PyThreadState* __tstate = wxPyBeginAllowThreads();
15882 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15883
15884 wxPyEndAllowThreads(__tstate);
15885 if (PyErr_Occurred()) SWIG_fail;
15886 }
15887 {
15888 wxSize * resultptr;
15889 resultptr = new wxSize((wxSize &) result);
15890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15891 }
15892 return resultobj;
15893 fail:
15894 return NULL;
15895 }
15896
15897
15898 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15899 PyObject *resultobj;
15900 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15901 wxWindow *arg2 = (wxWindow *) 0 ;
15902 PyObject * obj0 = 0 ;
15903 PyObject * obj1 = 0 ;
15904 char *kwnames[] = {
15905 (char *) "self",(char *) "child", NULL
15906 };
15907
15908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15913 {
15914 PyThreadState* __tstate = wxPyBeginAllowThreads();
15915 (arg1)->base_AddChild(arg2);
15916
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 Py_INCREF(Py_None); resultobj = Py_None;
15921 return resultobj;
15922 fail:
15923 return NULL;
15924 }
15925
15926
15927 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15928 PyObject *resultobj;
15929 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15930 wxWindow *arg2 = (wxWindow *) 0 ;
15931 PyObject * obj0 = 0 ;
15932 PyObject * obj1 = 0 ;
15933 char *kwnames[] = {
15934 (char *) "self",(char *) "child", NULL
15935 };
15936
15937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15942 {
15943 PyThreadState* __tstate = wxPyBeginAllowThreads();
15944 (arg1)->base_RemoveChild(arg2);
15945
15946 wxPyEndAllowThreads(__tstate);
15947 if (PyErr_Occurred()) SWIG_fail;
15948 }
15949 Py_INCREF(Py_None); resultobj = Py_None;
15950 return resultobj;
15951 fail:
15952 return NULL;
15953 }
15954
15955
15956 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15957 PyObject *resultobj;
15958 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15959 bool result;
15960 PyObject * obj0 = 0 ;
15961 char *kwnames[] = {
15962 (char *) "self", NULL
15963 };
15964
15965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15968 {
15969 PyThreadState* __tstate = wxPyBeginAllowThreads();
15970 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
15971
15972 wxPyEndAllowThreads(__tstate);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 }
15975 {
15976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15977 }
15978 return resultobj;
15979 fail:
15980 return NULL;
15981 }
15982
15983
15984 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15985 PyObject *resultobj;
15986 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15987 wxColour *arg2 = 0 ;
15988 wxColour temp2 ;
15989 PyObject * obj0 = 0 ;
15990 PyObject * obj1 = 0 ;
15991 char *kwnames[] = {
15992 (char *) "self",(char *) "c", NULL
15993 };
15994
15995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15998 {
15999 arg2 = &temp2;
16000 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16001 }
16002 {
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16005
16006 wxPyEndAllowThreads(__tstate);
16007 if (PyErr_Occurred()) SWIG_fail;
16008 }
16009 Py_INCREF(Py_None); resultobj = Py_None;
16010 return resultobj;
16011 fail:
16012 return NULL;
16013 }
16014
16015
16016 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16017 PyObject *resultobj;
16018 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16019 wxVisualAttributes result;
16020 PyObject * obj0 = 0 ;
16021 char *kwnames[] = {
16022 (char *) "self", NULL
16023 };
16024
16025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 result = (arg1)->base_GetDefaultAttributes();
16031
16032 wxPyEndAllowThreads(__tstate);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 }
16035 {
16036 wxVisualAttributes * resultptr;
16037 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16038 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16039 }
16040 return resultobj;
16041 fail:
16042 return NULL;
16043 }
16044
16045
16046 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
16047 PyObject *obj;
16048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16049 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16050 Py_INCREF(obj);
16051 return Py_BuildValue((char *)"");
16052 }
16053 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj;
16055 wxWindow *arg1 = (wxWindow *) 0 ;
16056 int arg2 = (int) (int)-1 ;
16057 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16058 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16059 wxSize const &arg4_defvalue = wxDefaultSize ;
16060 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16061 long arg5 = (long) 0 ;
16062 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16063 wxString *arg6 = (wxString *) &arg6_defvalue ;
16064 wxPyPanel *result;
16065 wxPoint temp3 ;
16066 wxSize temp4 ;
16067 bool temp6 = False ;
16068 PyObject * obj0 = 0 ;
16069 PyObject * obj1 = 0 ;
16070 PyObject * obj2 = 0 ;
16071 PyObject * obj3 = 0 ;
16072 PyObject * obj4 = 0 ;
16073 PyObject * obj5 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16076 };
16077
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16081 if (obj1) {
16082 arg2 = (int const) SWIG_AsInt(obj1);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 }
16085 if (obj2) {
16086 {
16087 arg3 = &temp3;
16088 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16089 }
16090 }
16091 if (obj3) {
16092 {
16093 arg4 = &temp4;
16094 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16095 }
16096 }
16097 if (obj4) {
16098 arg5 = (long) SWIG_AsLong(obj4);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 if (obj5) {
16102 {
16103 arg6 = wxString_in_helper(obj5);
16104 if (arg6 == NULL) SWIG_fail;
16105 temp6 = True;
16106 }
16107 }
16108 {
16109 if (!wxPyCheckForApp()) SWIG_fail;
16110 PyThreadState* __tstate = wxPyBeginAllowThreads();
16111 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16112
16113 wxPyEndAllowThreads(__tstate);
16114 if (PyErr_Occurred()) SWIG_fail;
16115 }
16116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16117 {
16118 if (temp6)
16119 delete arg6;
16120 }
16121 return resultobj;
16122 fail:
16123 {
16124 if (temp6)
16125 delete arg6;
16126 }
16127 return NULL;
16128 }
16129
16130
16131 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16132 PyObject *resultobj;
16133 wxPyPanel *result;
16134 char *kwnames[] = {
16135 NULL
16136 };
16137
16138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16139 {
16140 if (!wxPyCheckForApp()) SWIG_fail;
16141 PyThreadState* __tstate = wxPyBeginAllowThreads();
16142 result = (wxPyPanel *)new wxPyPanel();
16143
16144 wxPyEndAllowThreads(__tstate);
16145 if (PyErr_Occurred()) SWIG_fail;
16146 }
16147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16148 return resultobj;
16149 fail:
16150 return NULL;
16151 }
16152
16153
16154 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16155 PyObject *resultobj;
16156 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16157 PyObject *arg2 = (PyObject *) 0 ;
16158 PyObject *arg3 = (PyObject *) 0 ;
16159 PyObject * obj0 = 0 ;
16160 PyObject * obj1 = 0 ;
16161 PyObject * obj2 = 0 ;
16162 char *kwnames[] = {
16163 (char *) "self",(char *) "self",(char *) "_class", NULL
16164 };
16165
16166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16169 arg2 = obj1;
16170 arg3 = obj2;
16171 {
16172 PyThreadState* __tstate = wxPyBeginAllowThreads();
16173 (arg1)->_setCallbackInfo(arg2,arg3);
16174
16175 wxPyEndAllowThreads(__tstate);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 }
16178 Py_INCREF(Py_None); resultobj = Py_None;
16179 return resultobj;
16180 fail:
16181 return NULL;
16182 }
16183
16184
16185 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16186 PyObject *resultobj;
16187 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16188 wxSize *arg2 = 0 ;
16189 wxSize temp2 ;
16190 PyObject * obj0 = 0 ;
16191 PyObject * obj1 = 0 ;
16192 char *kwnames[] = {
16193 (char *) "self",(char *) "size", NULL
16194 };
16195
16196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16199 {
16200 arg2 = &temp2;
16201 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16202 }
16203 {
16204 PyThreadState* __tstate = wxPyBeginAllowThreads();
16205 (arg1)->SetBestSize((wxSize const &)*arg2);
16206
16207 wxPyEndAllowThreads(__tstate);
16208 if (PyErr_Occurred()) SWIG_fail;
16209 }
16210 Py_INCREF(Py_None); resultobj = Py_None;
16211 return resultobj;
16212 fail:
16213 return NULL;
16214 }
16215
16216
16217 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16218 PyObject *resultobj;
16219 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16220 int arg2 ;
16221 int arg3 ;
16222 int arg4 ;
16223 int arg5 ;
16224 PyObject * obj0 = 0 ;
16225 PyObject * obj1 = 0 ;
16226 PyObject * obj2 = 0 ;
16227 PyObject * obj3 = 0 ;
16228 PyObject * obj4 = 0 ;
16229 char *kwnames[] = {
16230 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16231 };
16232
16233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16236 arg2 = (int) SWIG_AsInt(obj1);
16237 if (PyErr_Occurred()) SWIG_fail;
16238 arg3 = (int) SWIG_AsInt(obj2);
16239 if (PyErr_Occurred()) SWIG_fail;
16240 arg4 = (int) SWIG_AsInt(obj3);
16241 if (PyErr_Occurred()) SWIG_fail;
16242 arg5 = (int) SWIG_AsInt(obj4);
16243 if (PyErr_Occurred()) SWIG_fail;
16244 {
16245 PyThreadState* __tstate = wxPyBeginAllowThreads();
16246 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16247
16248 wxPyEndAllowThreads(__tstate);
16249 if (PyErr_Occurred()) SWIG_fail;
16250 }
16251 Py_INCREF(Py_None); resultobj = Py_None;
16252 return resultobj;
16253 fail:
16254 return NULL;
16255 }
16256
16257
16258 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16259 PyObject *resultobj;
16260 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16261 int arg2 ;
16262 int arg3 ;
16263 int arg4 ;
16264 int arg5 ;
16265 int arg6 = (int) wxSIZE_AUTO ;
16266 PyObject * obj0 = 0 ;
16267 PyObject * obj1 = 0 ;
16268 PyObject * obj2 = 0 ;
16269 PyObject * obj3 = 0 ;
16270 PyObject * obj4 = 0 ;
16271 PyObject * obj5 = 0 ;
16272 char *kwnames[] = {
16273 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16274 };
16275
16276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16279 arg2 = (int) SWIG_AsInt(obj1);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 arg3 = (int) SWIG_AsInt(obj2);
16282 if (PyErr_Occurred()) SWIG_fail;
16283 arg4 = (int) SWIG_AsInt(obj3);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 arg5 = (int) SWIG_AsInt(obj4);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 if (obj5) {
16288 arg6 = (int) SWIG_AsInt(obj5);
16289 if (PyErr_Occurred()) SWIG_fail;
16290 }
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16294
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 Py_INCREF(Py_None); resultobj = Py_None;
16299 return resultobj;
16300 fail:
16301 return NULL;
16302 }
16303
16304
16305 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16306 PyObject *resultobj;
16307 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16308 int arg2 ;
16309 int arg3 ;
16310 PyObject * obj0 = 0 ;
16311 PyObject * obj1 = 0 ;
16312 PyObject * obj2 = 0 ;
16313 char *kwnames[] = {
16314 (char *) "self",(char *) "width",(char *) "height", NULL
16315 };
16316
16317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16320 arg2 = (int) SWIG_AsInt(obj1);
16321 if (PyErr_Occurred()) SWIG_fail;
16322 arg3 = (int) SWIG_AsInt(obj2);
16323 if (PyErr_Occurred()) SWIG_fail;
16324 {
16325 PyThreadState* __tstate = wxPyBeginAllowThreads();
16326 (arg1)->base_DoSetClientSize(arg2,arg3);
16327
16328 wxPyEndAllowThreads(__tstate);
16329 if (PyErr_Occurred()) SWIG_fail;
16330 }
16331 Py_INCREF(Py_None); resultobj = Py_None;
16332 return resultobj;
16333 fail:
16334 return NULL;
16335 }
16336
16337
16338 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16339 PyObject *resultobj;
16340 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16341 int arg2 ;
16342 int arg3 ;
16343 PyObject * obj0 = 0 ;
16344 PyObject * obj1 = 0 ;
16345 PyObject * obj2 = 0 ;
16346 char *kwnames[] = {
16347 (char *) "self",(char *) "x",(char *) "y", NULL
16348 };
16349
16350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16353 arg2 = (int) SWIG_AsInt(obj1);
16354 if (PyErr_Occurred()) SWIG_fail;
16355 arg3 = (int) SWIG_AsInt(obj2);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 {
16358 PyThreadState* __tstate = wxPyBeginAllowThreads();
16359 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16360
16361 wxPyEndAllowThreads(__tstate);
16362 if (PyErr_Occurred()) SWIG_fail;
16363 }
16364 Py_INCREF(Py_None); resultobj = Py_None;
16365 return resultobj;
16366 fail:
16367 return NULL;
16368 }
16369
16370
16371 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16372 PyObject *resultobj;
16373 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16374 int *arg2 = (int *) 0 ;
16375 int *arg3 = (int *) 0 ;
16376 int temp2 ;
16377 int temp3 ;
16378 PyObject * obj0 = 0 ;
16379 char *kwnames[] = {
16380 (char *) "self", NULL
16381 };
16382
16383 arg2 = &temp2;
16384 arg3 = &temp3;
16385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16388 {
16389 PyThreadState* __tstate = wxPyBeginAllowThreads();
16390 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16391
16392 wxPyEndAllowThreads(__tstate);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 }
16395 Py_INCREF(Py_None); resultobj = Py_None;
16396 {
16397 PyObject *o = PyInt_FromLong((long) (*arg2));
16398 resultobj = t_output_helper(resultobj,o);
16399 }
16400 {
16401 PyObject *o = PyInt_FromLong((long) (*arg3));
16402 resultobj = t_output_helper(resultobj,o);
16403 }
16404 return resultobj;
16405 fail:
16406 return NULL;
16407 }
16408
16409
16410 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16411 PyObject *resultobj;
16412 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16413 int *arg2 = (int *) 0 ;
16414 int *arg3 = (int *) 0 ;
16415 int temp2 ;
16416 int temp3 ;
16417 PyObject * obj0 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self", NULL
16420 };
16421
16422 arg2 = &temp2;
16423 arg3 = &temp3;
16424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16427 {
16428 PyThreadState* __tstate = wxPyBeginAllowThreads();
16429 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16430
16431 wxPyEndAllowThreads(__tstate);
16432 if (PyErr_Occurred()) SWIG_fail;
16433 }
16434 Py_INCREF(Py_None); resultobj = Py_None;
16435 {
16436 PyObject *o = PyInt_FromLong((long) (*arg2));
16437 resultobj = t_output_helper(resultobj,o);
16438 }
16439 {
16440 PyObject *o = PyInt_FromLong((long) (*arg3));
16441 resultobj = t_output_helper(resultobj,o);
16442 }
16443 return resultobj;
16444 fail:
16445 return NULL;
16446 }
16447
16448
16449 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16450 PyObject *resultobj;
16451 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16452 int *arg2 = (int *) 0 ;
16453 int *arg3 = (int *) 0 ;
16454 int temp2 ;
16455 int temp3 ;
16456 PyObject * obj0 = 0 ;
16457 char *kwnames[] = {
16458 (char *) "self", NULL
16459 };
16460
16461 arg2 = &temp2;
16462 arg3 = &temp3;
16463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16466 {
16467 PyThreadState* __tstate = wxPyBeginAllowThreads();
16468 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16469
16470 wxPyEndAllowThreads(__tstate);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 }
16473 Py_INCREF(Py_None); resultobj = Py_None;
16474 {
16475 PyObject *o = PyInt_FromLong((long) (*arg2));
16476 resultobj = t_output_helper(resultobj,o);
16477 }
16478 {
16479 PyObject *o = PyInt_FromLong((long) (*arg3));
16480 resultobj = t_output_helper(resultobj,o);
16481 }
16482 return resultobj;
16483 fail:
16484 return NULL;
16485 }
16486
16487
16488 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16489 PyObject *resultobj;
16490 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16491 wxSize result;
16492 PyObject * obj0 = 0 ;
16493 char *kwnames[] = {
16494 (char *) "self", NULL
16495 };
16496
16497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16500 {
16501 PyThreadState* __tstate = wxPyBeginAllowThreads();
16502 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16503
16504 wxPyEndAllowThreads(__tstate);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 }
16507 {
16508 wxSize * resultptr;
16509 resultptr = new wxSize((wxSize &) result);
16510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16511 }
16512 return resultobj;
16513 fail:
16514 return NULL;
16515 }
16516
16517
16518 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16519 PyObject *resultobj;
16520 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16521 wxSize result;
16522 PyObject * obj0 = 0 ;
16523 char *kwnames[] = {
16524 (char *) "self", NULL
16525 };
16526
16527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16530 {
16531 PyThreadState* __tstate = wxPyBeginAllowThreads();
16532 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16533
16534 wxPyEndAllowThreads(__tstate);
16535 if (PyErr_Occurred()) SWIG_fail;
16536 }
16537 {
16538 wxSize * resultptr;
16539 resultptr = new wxSize((wxSize &) result);
16540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16541 }
16542 return resultobj;
16543 fail:
16544 return NULL;
16545 }
16546
16547
16548 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16549 PyObject *resultobj;
16550 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16551 PyObject * obj0 = 0 ;
16552 char *kwnames[] = {
16553 (char *) "self", NULL
16554 };
16555
16556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16559 {
16560 PyThreadState* __tstate = wxPyBeginAllowThreads();
16561 (arg1)->base_InitDialog();
16562
16563 wxPyEndAllowThreads(__tstate);
16564 if (PyErr_Occurred()) SWIG_fail;
16565 }
16566 Py_INCREF(Py_None); resultobj = Py_None;
16567 return resultobj;
16568 fail:
16569 return NULL;
16570 }
16571
16572
16573 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16574 PyObject *resultobj;
16575 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16576 bool result;
16577 PyObject * obj0 = 0 ;
16578 char *kwnames[] = {
16579 (char *) "self", NULL
16580 };
16581
16582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16585 {
16586 PyThreadState* __tstate = wxPyBeginAllowThreads();
16587 result = (bool)(arg1)->base_TransferDataToWindow();
16588
16589 wxPyEndAllowThreads(__tstate);
16590 if (PyErr_Occurred()) SWIG_fail;
16591 }
16592 {
16593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16594 }
16595 return resultobj;
16596 fail:
16597 return NULL;
16598 }
16599
16600
16601 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16602 PyObject *resultobj;
16603 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16604 bool result;
16605 PyObject * obj0 = 0 ;
16606 char *kwnames[] = {
16607 (char *) "self", NULL
16608 };
16609
16610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16613 {
16614 PyThreadState* __tstate = wxPyBeginAllowThreads();
16615 result = (bool)(arg1)->base_TransferDataFromWindow();
16616
16617 wxPyEndAllowThreads(__tstate);
16618 if (PyErr_Occurred()) SWIG_fail;
16619 }
16620 {
16621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16622 }
16623 return resultobj;
16624 fail:
16625 return NULL;
16626 }
16627
16628
16629 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16630 PyObject *resultobj;
16631 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16632 bool result;
16633 PyObject * obj0 = 0 ;
16634 char *kwnames[] = {
16635 (char *) "self", NULL
16636 };
16637
16638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16641 {
16642 PyThreadState* __tstate = wxPyBeginAllowThreads();
16643 result = (bool)(arg1)->base_Validate();
16644
16645 wxPyEndAllowThreads(__tstate);
16646 if (PyErr_Occurred()) SWIG_fail;
16647 }
16648 {
16649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16650 }
16651 return resultobj;
16652 fail:
16653 return NULL;
16654 }
16655
16656
16657 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16658 PyObject *resultobj;
16659 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16660 bool result;
16661 PyObject * obj0 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "self", NULL
16664 };
16665
16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16669 {
16670 PyThreadState* __tstate = wxPyBeginAllowThreads();
16671 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16672
16673 wxPyEndAllowThreads(__tstate);
16674 if (PyErr_Occurred()) SWIG_fail;
16675 }
16676 {
16677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16678 }
16679 return resultobj;
16680 fail:
16681 return NULL;
16682 }
16683
16684
16685 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16686 PyObject *resultobj;
16687 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16688 bool result;
16689 PyObject * obj0 = 0 ;
16690 char *kwnames[] = {
16691 (char *) "self", NULL
16692 };
16693
16694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16697 {
16698 PyThreadState* __tstate = wxPyBeginAllowThreads();
16699 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16700
16701 wxPyEndAllowThreads(__tstate);
16702 if (PyErr_Occurred()) SWIG_fail;
16703 }
16704 {
16705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16706 }
16707 return resultobj;
16708 fail:
16709 return NULL;
16710 }
16711
16712
16713 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16714 PyObject *resultobj;
16715 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16716 wxSize result;
16717 PyObject * obj0 = 0 ;
16718 char *kwnames[] = {
16719 (char *) "self", NULL
16720 };
16721
16722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16725 {
16726 PyThreadState* __tstate = wxPyBeginAllowThreads();
16727 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16728
16729 wxPyEndAllowThreads(__tstate);
16730 if (PyErr_Occurred()) SWIG_fail;
16731 }
16732 {
16733 wxSize * resultptr;
16734 resultptr = new wxSize((wxSize &) result);
16735 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16736 }
16737 return resultobj;
16738 fail:
16739 return NULL;
16740 }
16741
16742
16743 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16744 PyObject *resultobj;
16745 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16746 wxWindow *arg2 = (wxWindow *) 0 ;
16747 PyObject * obj0 = 0 ;
16748 PyObject * obj1 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self",(char *) "child", NULL
16751 };
16752
16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16756 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16758 {
16759 PyThreadState* __tstate = wxPyBeginAllowThreads();
16760 (arg1)->base_AddChild(arg2);
16761
16762 wxPyEndAllowThreads(__tstate);
16763 if (PyErr_Occurred()) SWIG_fail;
16764 }
16765 Py_INCREF(Py_None); resultobj = Py_None;
16766 return resultobj;
16767 fail:
16768 return NULL;
16769 }
16770
16771
16772 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16773 PyObject *resultobj;
16774 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16775 wxWindow *arg2 = (wxWindow *) 0 ;
16776 PyObject * obj0 = 0 ;
16777 PyObject * obj1 = 0 ;
16778 char *kwnames[] = {
16779 (char *) "self",(char *) "child", NULL
16780 };
16781
16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16785 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16787 {
16788 PyThreadState* __tstate = wxPyBeginAllowThreads();
16789 (arg1)->base_RemoveChild(arg2);
16790
16791 wxPyEndAllowThreads(__tstate);
16792 if (PyErr_Occurred()) SWIG_fail;
16793 }
16794 Py_INCREF(Py_None); resultobj = Py_None;
16795 return resultobj;
16796 fail:
16797 return NULL;
16798 }
16799
16800
16801 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16802 PyObject *resultobj;
16803 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16804 bool result;
16805 PyObject * obj0 = 0 ;
16806 char *kwnames[] = {
16807 (char *) "self", NULL
16808 };
16809
16810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16813 {
16814 PyThreadState* __tstate = wxPyBeginAllowThreads();
16815 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
16820 {
16821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16822 }
16823 return resultobj;
16824 fail:
16825 return NULL;
16826 }
16827
16828
16829 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16830 PyObject *resultobj;
16831 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16832 wxColour *arg2 = 0 ;
16833 wxColour temp2 ;
16834 PyObject * obj0 = 0 ;
16835 PyObject * obj1 = 0 ;
16836 char *kwnames[] = {
16837 (char *) "self",(char *) "c", NULL
16838 };
16839
16840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16843 {
16844 arg2 = &temp2;
16845 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16846 }
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16850
16851 wxPyEndAllowThreads(__tstate);
16852 if (PyErr_Occurred()) SWIG_fail;
16853 }
16854 Py_INCREF(Py_None); resultobj = Py_None;
16855 return resultobj;
16856 fail:
16857 return NULL;
16858 }
16859
16860
16861 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16862 PyObject *resultobj;
16863 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16864 wxVisualAttributes result;
16865 PyObject * obj0 = 0 ;
16866 char *kwnames[] = {
16867 (char *) "self", NULL
16868 };
16869
16870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16873 {
16874 PyThreadState* __tstate = wxPyBeginAllowThreads();
16875 result = (arg1)->base_GetDefaultAttributes();
16876
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 {
16881 wxVisualAttributes * resultptr;
16882 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16884 }
16885 return resultobj;
16886 fail:
16887 return NULL;
16888 }
16889
16890
16891 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16892 PyObject *obj;
16893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16894 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16895 Py_INCREF(obj);
16896 return Py_BuildValue((char *)"");
16897 }
16898 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16899 PyObject *resultobj;
16900 wxWindow *arg1 = (wxWindow *) 0 ;
16901 int arg2 = (int) (int)-1 ;
16902 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16903 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16904 wxSize const &arg4_defvalue = wxDefaultSize ;
16905 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16906 long arg5 = (long) 0 ;
16907 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16908 wxString *arg6 = (wxString *) &arg6_defvalue ;
16909 wxPyScrolledWindow *result;
16910 wxPoint temp3 ;
16911 wxSize temp4 ;
16912 bool temp6 = False ;
16913 PyObject * obj0 = 0 ;
16914 PyObject * obj1 = 0 ;
16915 PyObject * obj2 = 0 ;
16916 PyObject * obj3 = 0 ;
16917 PyObject * obj4 = 0 ;
16918 PyObject * obj5 = 0 ;
16919 char *kwnames[] = {
16920 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16921 };
16922
16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16926 if (obj1) {
16927 arg2 = (int const) SWIG_AsInt(obj1);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 }
16930 if (obj2) {
16931 {
16932 arg3 = &temp3;
16933 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16934 }
16935 }
16936 if (obj3) {
16937 {
16938 arg4 = &temp4;
16939 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16940 }
16941 }
16942 if (obj4) {
16943 arg5 = (long) SWIG_AsLong(obj4);
16944 if (PyErr_Occurred()) SWIG_fail;
16945 }
16946 if (obj5) {
16947 {
16948 arg6 = wxString_in_helper(obj5);
16949 if (arg6 == NULL) SWIG_fail;
16950 temp6 = True;
16951 }
16952 }
16953 {
16954 if (!wxPyCheckForApp()) SWIG_fail;
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16957
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16962 {
16963 if (temp6)
16964 delete arg6;
16965 }
16966 return resultobj;
16967 fail:
16968 {
16969 if (temp6)
16970 delete arg6;
16971 }
16972 return NULL;
16973 }
16974
16975
16976 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16977 PyObject *resultobj;
16978 wxPyScrolledWindow *result;
16979 char *kwnames[] = {
16980 NULL
16981 };
16982
16983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16984 {
16985 if (!wxPyCheckForApp()) SWIG_fail;
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16988
16989 wxPyEndAllowThreads(__tstate);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
16992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16993 return resultobj;
16994 fail:
16995 return NULL;
16996 }
16997
16998
16999 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj;
17001 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17002 PyObject *arg2 = (PyObject *) 0 ;
17003 PyObject *arg3 = (PyObject *) 0 ;
17004 PyObject * obj0 = 0 ;
17005 PyObject * obj1 = 0 ;
17006 PyObject * obj2 = 0 ;
17007 char *kwnames[] = {
17008 (char *) "self",(char *) "self",(char *) "_class", NULL
17009 };
17010
17011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17014 arg2 = obj1;
17015 arg3 = obj2;
17016 {
17017 PyThreadState* __tstate = wxPyBeginAllowThreads();
17018 (arg1)->_setCallbackInfo(arg2,arg3);
17019
17020 wxPyEndAllowThreads(__tstate);
17021 if (PyErr_Occurred()) SWIG_fail;
17022 }
17023 Py_INCREF(Py_None); resultobj = Py_None;
17024 return resultobj;
17025 fail:
17026 return NULL;
17027 }
17028
17029
17030 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17031 PyObject *resultobj;
17032 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17033 wxSize *arg2 = 0 ;
17034 wxSize temp2 ;
17035 PyObject * obj0 = 0 ;
17036 PyObject * obj1 = 0 ;
17037 char *kwnames[] = {
17038 (char *) "self",(char *) "size", NULL
17039 };
17040
17041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17044 {
17045 arg2 = &temp2;
17046 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17047 }
17048 {
17049 PyThreadState* __tstate = wxPyBeginAllowThreads();
17050 (arg1)->SetBestSize((wxSize const &)*arg2);
17051
17052 wxPyEndAllowThreads(__tstate);
17053 if (PyErr_Occurred()) SWIG_fail;
17054 }
17055 Py_INCREF(Py_None); resultobj = Py_None;
17056 return resultobj;
17057 fail:
17058 return NULL;
17059 }
17060
17061
17062 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17063 PyObject *resultobj;
17064 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17065 int arg2 ;
17066 int arg3 ;
17067 int arg4 ;
17068 int arg5 ;
17069 PyObject * obj0 = 0 ;
17070 PyObject * obj1 = 0 ;
17071 PyObject * obj2 = 0 ;
17072 PyObject * obj3 = 0 ;
17073 PyObject * obj4 = 0 ;
17074 char *kwnames[] = {
17075 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17076 };
17077
17078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17081 arg2 = (int) SWIG_AsInt(obj1);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 arg3 = (int) SWIG_AsInt(obj2);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 arg4 = (int) SWIG_AsInt(obj3);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 arg5 = (int) SWIG_AsInt(obj4);
17088 if (PyErr_Occurred()) SWIG_fail;
17089 {
17090 PyThreadState* __tstate = wxPyBeginAllowThreads();
17091 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17092
17093 wxPyEndAllowThreads(__tstate);
17094 if (PyErr_Occurred()) SWIG_fail;
17095 }
17096 Py_INCREF(Py_None); resultobj = Py_None;
17097 return resultobj;
17098 fail:
17099 return NULL;
17100 }
17101
17102
17103 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17104 PyObject *resultobj;
17105 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17106 int arg2 ;
17107 int arg3 ;
17108 int arg4 ;
17109 int arg5 ;
17110 int arg6 = (int) wxSIZE_AUTO ;
17111 PyObject * obj0 = 0 ;
17112 PyObject * obj1 = 0 ;
17113 PyObject * obj2 = 0 ;
17114 PyObject * obj3 = 0 ;
17115 PyObject * obj4 = 0 ;
17116 PyObject * obj5 = 0 ;
17117 char *kwnames[] = {
17118 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17119 };
17120
17121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17124 arg2 = (int) SWIG_AsInt(obj1);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 arg3 = (int) SWIG_AsInt(obj2);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 arg4 = (int) SWIG_AsInt(obj3);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 arg5 = (int) SWIG_AsInt(obj4);
17131 if (PyErr_Occurred()) SWIG_fail;
17132 if (obj5) {
17133 arg6 = (int) SWIG_AsInt(obj5);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
17136 {
17137 PyThreadState* __tstate = wxPyBeginAllowThreads();
17138 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17139
17140 wxPyEndAllowThreads(__tstate);
17141 if (PyErr_Occurred()) SWIG_fail;
17142 }
17143 Py_INCREF(Py_None); resultobj = Py_None;
17144 return resultobj;
17145 fail:
17146 return NULL;
17147 }
17148
17149
17150 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17151 PyObject *resultobj;
17152 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17153 int arg2 ;
17154 int arg3 ;
17155 PyObject * obj0 = 0 ;
17156 PyObject * obj1 = 0 ;
17157 PyObject * obj2 = 0 ;
17158 char *kwnames[] = {
17159 (char *) "self",(char *) "width",(char *) "height", NULL
17160 };
17161
17162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17165 arg2 = (int) SWIG_AsInt(obj1);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 arg3 = (int) SWIG_AsInt(obj2);
17168 if (PyErr_Occurred()) SWIG_fail;
17169 {
17170 PyThreadState* __tstate = wxPyBeginAllowThreads();
17171 (arg1)->base_DoSetClientSize(arg2,arg3);
17172
17173 wxPyEndAllowThreads(__tstate);
17174 if (PyErr_Occurred()) SWIG_fail;
17175 }
17176 Py_INCREF(Py_None); resultobj = Py_None;
17177 return resultobj;
17178 fail:
17179 return NULL;
17180 }
17181
17182
17183 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17184 PyObject *resultobj;
17185 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17186 int arg2 ;
17187 int arg3 ;
17188 PyObject * obj0 = 0 ;
17189 PyObject * obj1 = 0 ;
17190 PyObject * obj2 = 0 ;
17191 char *kwnames[] = {
17192 (char *) "self",(char *) "x",(char *) "y", NULL
17193 };
17194
17195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17198 arg2 = (int) SWIG_AsInt(obj1);
17199 if (PyErr_Occurred()) SWIG_fail;
17200 arg3 = (int) SWIG_AsInt(obj2);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 {
17203 PyThreadState* __tstate = wxPyBeginAllowThreads();
17204 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17205
17206 wxPyEndAllowThreads(__tstate);
17207 if (PyErr_Occurred()) SWIG_fail;
17208 }
17209 Py_INCREF(Py_None); resultobj = Py_None;
17210 return resultobj;
17211 fail:
17212 return NULL;
17213 }
17214
17215
17216 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17217 PyObject *resultobj;
17218 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17219 int *arg2 = (int *) 0 ;
17220 int *arg3 = (int *) 0 ;
17221 int temp2 ;
17222 int temp3 ;
17223 PyObject * obj0 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "self", NULL
17226 };
17227
17228 arg2 = &temp2;
17229 arg3 = &temp3;
17230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17233 {
17234 PyThreadState* __tstate = wxPyBeginAllowThreads();
17235 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17236
17237 wxPyEndAllowThreads(__tstate);
17238 if (PyErr_Occurred()) SWIG_fail;
17239 }
17240 Py_INCREF(Py_None); resultobj = Py_None;
17241 {
17242 PyObject *o = PyInt_FromLong((long) (*arg2));
17243 resultobj = t_output_helper(resultobj,o);
17244 }
17245 {
17246 PyObject *o = PyInt_FromLong((long) (*arg3));
17247 resultobj = t_output_helper(resultobj,o);
17248 }
17249 return resultobj;
17250 fail:
17251 return NULL;
17252 }
17253
17254
17255 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17256 PyObject *resultobj;
17257 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17258 int *arg2 = (int *) 0 ;
17259 int *arg3 = (int *) 0 ;
17260 int temp2 ;
17261 int temp3 ;
17262 PyObject * obj0 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self", NULL
17265 };
17266
17267 arg2 = &temp2;
17268 arg3 = &temp3;
17269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17272 {
17273 PyThreadState* __tstate = wxPyBeginAllowThreads();
17274 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17275
17276 wxPyEndAllowThreads(__tstate);
17277 if (PyErr_Occurred()) SWIG_fail;
17278 }
17279 Py_INCREF(Py_None); resultobj = Py_None;
17280 {
17281 PyObject *o = PyInt_FromLong((long) (*arg2));
17282 resultobj = t_output_helper(resultobj,o);
17283 }
17284 {
17285 PyObject *o = PyInt_FromLong((long) (*arg3));
17286 resultobj = t_output_helper(resultobj,o);
17287 }
17288 return resultobj;
17289 fail:
17290 return NULL;
17291 }
17292
17293
17294 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17295 PyObject *resultobj;
17296 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17297 int *arg2 = (int *) 0 ;
17298 int *arg3 = (int *) 0 ;
17299 int temp2 ;
17300 int temp3 ;
17301 PyObject * obj0 = 0 ;
17302 char *kwnames[] = {
17303 (char *) "self", NULL
17304 };
17305
17306 arg2 = &temp2;
17307 arg3 = &temp3;
17308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17311 {
17312 PyThreadState* __tstate = wxPyBeginAllowThreads();
17313 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17314
17315 wxPyEndAllowThreads(__tstate);
17316 if (PyErr_Occurred()) SWIG_fail;
17317 }
17318 Py_INCREF(Py_None); resultobj = Py_None;
17319 {
17320 PyObject *o = PyInt_FromLong((long) (*arg2));
17321 resultobj = t_output_helper(resultobj,o);
17322 }
17323 {
17324 PyObject *o = PyInt_FromLong((long) (*arg3));
17325 resultobj = t_output_helper(resultobj,o);
17326 }
17327 return resultobj;
17328 fail:
17329 return NULL;
17330 }
17331
17332
17333 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17334 PyObject *resultobj;
17335 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17336 wxSize result;
17337 PyObject * obj0 = 0 ;
17338 char *kwnames[] = {
17339 (char *) "self", NULL
17340 };
17341
17342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17345 {
17346 PyThreadState* __tstate = wxPyBeginAllowThreads();
17347 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17348
17349 wxPyEndAllowThreads(__tstate);
17350 if (PyErr_Occurred()) SWIG_fail;
17351 }
17352 {
17353 wxSize * resultptr;
17354 resultptr = new wxSize((wxSize &) result);
17355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17356 }
17357 return resultobj;
17358 fail:
17359 return NULL;
17360 }
17361
17362
17363 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17364 PyObject *resultobj;
17365 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17366 wxSize result;
17367 PyObject * obj0 = 0 ;
17368 char *kwnames[] = {
17369 (char *) "self", NULL
17370 };
17371
17372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17375 {
17376 PyThreadState* __tstate = wxPyBeginAllowThreads();
17377 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17378
17379 wxPyEndAllowThreads(__tstate);
17380 if (PyErr_Occurred()) SWIG_fail;
17381 }
17382 {
17383 wxSize * resultptr;
17384 resultptr = new wxSize((wxSize &) result);
17385 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17386 }
17387 return resultobj;
17388 fail:
17389 return NULL;
17390 }
17391
17392
17393 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17394 PyObject *resultobj;
17395 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17396 PyObject * obj0 = 0 ;
17397 char *kwnames[] = {
17398 (char *) "self", NULL
17399 };
17400
17401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17404 {
17405 PyThreadState* __tstate = wxPyBeginAllowThreads();
17406 (arg1)->base_InitDialog();
17407
17408 wxPyEndAllowThreads(__tstate);
17409 if (PyErr_Occurred()) SWIG_fail;
17410 }
17411 Py_INCREF(Py_None); resultobj = Py_None;
17412 return resultobj;
17413 fail:
17414 return NULL;
17415 }
17416
17417
17418 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17419 PyObject *resultobj;
17420 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17421 bool result;
17422 PyObject * obj0 = 0 ;
17423 char *kwnames[] = {
17424 (char *) "self", NULL
17425 };
17426
17427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17430 {
17431 PyThreadState* __tstate = wxPyBeginAllowThreads();
17432 result = (bool)(arg1)->base_TransferDataToWindow();
17433
17434 wxPyEndAllowThreads(__tstate);
17435 if (PyErr_Occurred()) SWIG_fail;
17436 }
17437 {
17438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17439 }
17440 return resultobj;
17441 fail:
17442 return NULL;
17443 }
17444
17445
17446 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17449 bool result;
17450 PyObject * obj0 = 0 ;
17451 char *kwnames[] = {
17452 (char *) "self", NULL
17453 };
17454
17455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17458 {
17459 PyThreadState* __tstate = wxPyBeginAllowThreads();
17460 result = (bool)(arg1)->base_TransferDataFromWindow();
17461
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 {
17466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17467 }
17468 return resultobj;
17469 fail:
17470 return NULL;
17471 }
17472
17473
17474 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17475 PyObject *resultobj;
17476 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17477 bool result;
17478 PyObject * obj0 = 0 ;
17479 char *kwnames[] = {
17480 (char *) "self", NULL
17481 };
17482
17483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17486 {
17487 PyThreadState* __tstate = wxPyBeginAllowThreads();
17488 result = (bool)(arg1)->base_Validate();
17489
17490 wxPyEndAllowThreads(__tstate);
17491 if (PyErr_Occurred()) SWIG_fail;
17492 }
17493 {
17494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17495 }
17496 return resultobj;
17497 fail:
17498 return NULL;
17499 }
17500
17501
17502 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17503 PyObject *resultobj;
17504 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17505 bool result;
17506 PyObject * obj0 = 0 ;
17507 char *kwnames[] = {
17508 (char *) "self", NULL
17509 };
17510
17511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17514 {
17515 PyThreadState* __tstate = wxPyBeginAllowThreads();
17516 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17517
17518 wxPyEndAllowThreads(__tstate);
17519 if (PyErr_Occurred()) SWIG_fail;
17520 }
17521 {
17522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17523 }
17524 return resultobj;
17525 fail:
17526 return NULL;
17527 }
17528
17529
17530 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17531 PyObject *resultobj;
17532 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17533 bool result;
17534 PyObject * obj0 = 0 ;
17535 char *kwnames[] = {
17536 (char *) "self", NULL
17537 };
17538
17539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17542 {
17543 PyThreadState* __tstate = wxPyBeginAllowThreads();
17544 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17545
17546 wxPyEndAllowThreads(__tstate);
17547 if (PyErr_Occurred()) SWIG_fail;
17548 }
17549 {
17550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17551 }
17552 return resultobj;
17553 fail:
17554 return NULL;
17555 }
17556
17557
17558 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17559 PyObject *resultobj;
17560 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17561 wxSize result;
17562 PyObject * obj0 = 0 ;
17563 char *kwnames[] = {
17564 (char *) "self", NULL
17565 };
17566
17567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17573
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 {
17578 wxSize * resultptr;
17579 resultptr = new wxSize((wxSize &) result);
17580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17581 }
17582 return resultobj;
17583 fail:
17584 return NULL;
17585 }
17586
17587
17588 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17589 PyObject *resultobj;
17590 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17591 wxWindow *arg2 = (wxWindow *) 0 ;
17592 PyObject * obj0 = 0 ;
17593 PyObject * obj1 = 0 ;
17594 char *kwnames[] = {
17595 (char *) "self",(char *) "child", NULL
17596 };
17597
17598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17601 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 (arg1)->base_AddChild(arg2);
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 Py_INCREF(Py_None); resultobj = Py_None;
17611 return resultobj;
17612 fail:
17613 return NULL;
17614 }
17615
17616
17617 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17618 PyObject *resultobj;
17619 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17620 wxWindow *arg2 = (wxWindow *) 0 ;
17621 PyObject * obj0 = 0 ;
17622 PyObject * obj1 = 0 ;
17623 char *kwnames[] = {
17624 (char *) "self",(char *) "child", NULL
17625 };
17626
17627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17632 {
17633 PyThreadState* __tstate = wxPyBeginAllowThreads();
17634 (arg1)->base_RemoveChild(arg2);
17635
17636 wxPyEndAllowThreads(__tstate);
17637 if (PyErr_Occurred()) SWIG_fail;
17638 }
17639 Py_INCREF(Py_None); resultobj = Py_None;
17640 return resultobj;
17641 fail:
17642 return NULL;
17643 }
17644
17645
17646 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17647 PyObject *resultobj;
17648 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17649 bool result;
17650 PyObject * obj0 = 0 ;
17651 char *kwnames[] = {
17652 (char *) "self", NULL
17653 };
17654
17655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17658 {
17659 PyThreadState* __tstate = wxPyBeginAllowThreads();
17660 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
17661
17662 wxPyEndAllowThreads(__tstate);
17663 if (PyErr_Occurred()) SWIG_fail;
17664 }
17665 {
17666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17667 }
17668 return resultobj;
17669 fail:
17670 return NULL;
17671 }
17672
17673
17674 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17675 PyObject *resultobj;
17676 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17677 wxColour *arg2 = 0 ;
17678 wxColour temp2 ;
17679 PyObject * obj0 = 0 ;
17680 PyObject * obj1 = 0 ;
17681 char *kwnames[] = {
17682 (char *) "self",(char *) "c", NULL
17683 };
17684
17685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17688 {
17689 arg2 = &temp2;
17690 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17691 }
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 Py_INCREF(Py_None); resultobj = Py_None;
17700 return resultobj;
17701 fail:
17702 return NULL;
17703 }
17704
17705
17706 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17707 PyObject *resultobj;
17708 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17709 wxVisualAttributes result;
17710 PyObject * obj0 = 0 ;
17711 char *kwnames[] = {
17712 (char *) "self", NULL
17713 };
17714
17715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17718 {
17719 PyThreadState* __tstate = wxPyBeginAllowThreads();
17720 result = (arg1)->base_GetDefaultAttributes();
17721
17722 wxPyEndAllowThreads(__tstate);
17723 if (PyErr_Occurred()) SWIG_fail;
17724 }
17725 {
17726 wxVisualAttributes * resultptr;
17727 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17729 }
17730 return resultobj;
17731 fail:
17732 return NULL;
17733 }
17734
17735
17736 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17737 PyObject *obj;
17738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17739 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17740 Py_INCREF(obj);
17741 return Py_BuildValue((char *)"");
17742 }
17743 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17744 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17745 return 1;
17746 }
17747
17748
17749 static PyObject *_wrap_PrintoutTitleStr_get() {
17750 PyObject *pyobj;
17751
17752 {
17753 #if wxUSE_UNICODE
17754 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17755 #else
17756 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17757 #endif
17758 }
17759 return pyobj;
17760 }
17761
17762
17763 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17764 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17765 return 1;
17766 }
17767
17768
17769 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17770 PyObject *pyobj;
17771
17772 {
17773 #if wxUSE_UNICODE
17774 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17775 #else
17776 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17777 #endif
17778 }
17779 return pyobj;
17780 }
17781
17782
17783 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *self, PyObject *args) {
17784 PyObject *resultobj;
17785 wxPrintData *result;
17786
17787 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
17788 {
17789 PyThreadState* __tstate = wxPyBeginAllowThreads();
17790 result = (wxPrintData *)new wxPrintData();
17791
17792 wxPyEndAllowThreads(__tstate);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17796 return resultobj;
17797 fail:
17798 return NULL;
17799 }
17800
17801
17802 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *self, PyObject *args) {
17803 PyObject *resultobj;
17804 wxPrintData *arg1 = 0 ;
17805 wxPrintData *result;
17806 PyObject * obj0 = 0 ;
17807
17808 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
17809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17810 SWIG_POINTER_EXCEPTION | 0)) == -1)
17811 SWIG_fail;
17812 if (arg1 == NULL) {
17813 PyErr_SetString(PyExc_TypeError,"null reference");
17814 SWIG_fail;
17815 }
17816 {
17817 PyThreadState* __tstate = wxPyBeginAllowThreads();
17818 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
17819
17820 wxPyEndAllowThreads(__tstate);
17821 if (PyErr_Occurred()) SWIG_fail;
17822 }
17823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17824 return resultobj;
17825 fail:
17826 return NULL;
17827 }
17828
17829
17830 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
17831 int argc;
17832 PyObject *argv[2];
17833 int ii;
17834
17835 argc = PyObject_Length(args);
17836 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
17837 argv[ii] = PyTuple_GetItem(args,ii);
17838 }
17839 if (argc == 0) {
17840 return _wrap_new_PrintData__SWIG_0(self,args);
17841 }
17842 if (argc == 1) {
17843 int _v;
17844 {
17845 void *ptr;
17846 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
17847 _v = 0;
17848 PyErr_Clear();
17849 } else {
17850 _v = 1;
17851 }
17852 }
17853 if (_v) {
17854 return _wrap_new_PrintData__SWIG_1(self,args);
17855 }
17856 }
17857
17858 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
17859 return NULL;
17860 }
17861
17862
17863 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17864 PyObject *resultobj;
17865 wxPrintData *arg1 = (wxPrintData *) 0 ;
17866 PyObject * obj0 = 0 ;
17867 char *kwnames[] = {
17868 (char *) "self", NULL
17869 };
17870
17871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17874 {
17875 PyThreadState* __tstate = wxPyBeginAllowThreads();
17876 delete arg1;
17877
17878 wxPyEndAllowThreads(__tstate);
17879 if (PyErr_Occurred()) SWIG_fail;
17880 }
17881 Py_INCREF(Py_None); resultobj = Py_None;
17882 return resultobj;
17883 fail:
17884 return NULL;
17885 }
17886
17887
17888 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17889 PyObject *resultobj;
17890 wxPrintData *arg1 = (wxPrintData *) 0 ;
17891 int result;
17892 PyObject * obj0 = 0 ;
17893 char *kwnames[] = {
17894 (char *) "self", NULL
17895 };
17896
17897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17900 {
17901 PyThreadState* __tstate = wxPyBeginAllowThreads();
17902 result = (int)(arg1)->GetNoCopies();
17903
17904 wxPyEndAllowThreads(__tstate);
17905 if (PyErr_Occurred()) SWIG_fail;
17906 }
17907 resultobj = SWIG_FromInt((int)result);
17908 return resultobj;
17909 fail:
17910 return NULL;
17911 }
17912
17913
17914 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17915 PyObject *resultobj;
17916 wxPrintData *arg1 = (wxPrintData *) 0 ;
17917 bool result;
17918 PyObject * obj0 = 0 ;
17919 char *kwnames[] = {
17920 (char *) "self", NULL
17921 };
17922
17923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17926 {
17927 PyThreadState* __tstate = wxPyBeginAllowThreads();
17928 result = (bool)(arg1)->GetCollate();
17929
17930 wxPyEndAllowThreads(__tstate);
17931 if (PyErr_Occurred()) SWIG_fail;
17932 }
17933 {
17934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17935 }
17936 return resultobj;
17937 fail:
17938 return NULL;
17939 }
17940
17941
17942 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17943 PyObject *resultobj;
17944 wxPrintData *arg1 = (wxPrintData *) 0 ;
17945 int result;
17946 PyObject * obj0 = 0 ;
17947 char *kwnames[] = {
17948 (char *) "self", NULL
17949 };
17950
17951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 result = (int)(arg1)->GetOrientation();
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 resultobj = SWIG_FromInt((int)result);
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17969 PyObject *resultobj;
17970 wxPrintData *arg1 = (wxPrintData *) 0 ;
17971 bool result;
17972 PyObject * obj0 = 0 ;
17973 char *kwnames[] = {
17974 (char *) "self", NULL
17975 };
17976
17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17980 {
17981 PyThreadState* __tstate = wxPyBeginAllowThreads();
17982 result = (bool)(arg1)->Ok();
17983
17984 wxPyEndAllowThreads(__tstate);
17985 if (PyErr_Occurred()) SWIG_fail;
17986 }
17987 {
17988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17989 }
17990 return resultobj;
17991 fail:
17992 return NULL;
17993 }
17994
17995
17996 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17997 PyObject *resultobj;
17998 wxPrintData *arg1 = (wxPrintData *) 0 ;
17999 wxString *result;
18000 PyObject * obj0 = 0 ;
18001 char *kwnames[] = {
18002 (char *) "self", NULL
18003 };
18004
18005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18008 {
18009 PyThreadState* __tstate = wxPyBeginAllowThreads();
18010 {
18011 wxString const &_result_ref = (arg1)->GetPrinterName();
18012 result = (wxString *) &_result_ref;
18013 }
18014
18015 wxPyEndAllowThreads(__tstate);
18016 if (PyErr_Occurred()) SWIG_fail;
18017 }
18018 {
18019 #if wxUSE_UNICODE
18020 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18021 #else
18022 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18023 #endif
18024 }
18025 return resultobj;
18026 fail:
18027 return NULL;
18028 }
18029
18030
18031 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18032 PyObject *resultobj;
18033 wxPrintData *arg1 = (wxPrintData *) 0 ;
18034 bool result;
18035 PyObject * obj0 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self", NULL
18038 };
18039
18040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18043 {
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
18045 result = (bool)(arg1)->GetColour();
18046
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 {
18051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18052 }
18053 return resultobj;
18054 fail:
18055 return NULL;
18056 }
18057
18058
18059 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18060 PyObject *resultobj;
18061 wxPrintData *arg1 = (wxPrintData *) 0 ;
18062 int result;
18063 PyObject * obj0 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "self", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 result = (int)(arg1)->GetDuplex();
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 resultobj = SWIG_FromInt((int)result);
18079 return resultobj;
18080 fail:
18081 return NULL;
18082 }
18083
18084
18085 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18086 PyObject *resultobj;
18087 wxPrintData *arg1 = (wxPrintData *) 0 ;
18088 int result;
18089 PyObject * obj0 = 0 ;
18090 char *kwnames[] = {
18091 (char *) "self", NULL
18092 };
18093
18094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18097 {
18098 PyThreadState* __tstate = wxPyBeginAllowThreads();
18099 result = (int)(arg1)->GetPaperId();
18100
18101 wxPyEndAllowThreads(__tstate);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 }
18104 resultobj = SWIG_FromInt((int)result);
18105 return resultobj;
18106 fail:
18107 return NULL;
18108 }
18109
18110
18111 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18112 PyObject *resultobj;
18113 wxPrintData *arg1 = (wxPrintData *) 0 ;
18114 wxSize *result;
18115 PyObject * obj0 = 0 ;
18116 char *kwnames[] = {
18117 (char *) "self", NULL
18118 };
18119
18120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18123 {
18124 PyThreadState* __tstate = wxPyBeginAllowThreads();
18125 {
18126 wxSize const &_result_ref = (arg1)->GetPaperSize();
18127 result = (wxSize *) &_result_ref;
18128 }
18129
18130 wxPyEndAllowThreads(__tstate);
18131 if (PyErr_Occurred()) SWIG_fail;
18132 }
18133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18134 return resultobj;
18135 fail:
18136 return NULL;
18137 }
18138
18139
18140 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18141 PyObject *resultobj;
18142 wxPrintData *arg1 = (wxPrintData *) 0 ;
18143 int result;
18144 PyObject * obj0 = 0 ;
18145 char *kwnames[] = {
18146 (char *) "self", NULL
18147 };
18148
18149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 result = (int)(arg1)->GetQuality();
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 resultobj = SWIG_FromInt((int)result);
18160 return resultobj;
18161 fail:
18162 return NULL;
18163 }
18164
18165
18166 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18167 PyObject *resultobj;
18168 wxPrintData *arg1 = (wxPrintData *) 0 ;
18169 int arg2 ;
18170 PyObject * obj0 = 0 ;
18171 PyObject * obj1 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self",(char *) "v", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18179 arg2 = (int) SWIG_AsInt(obj1);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 {
18182 PyThreadState* __tstate = wxPyBeginAllowThreads();
18183 (arg1)->SetNoCopies(arg2);
18184
18185 wxPyEndAllowThreads(__tstate);
18186 if (PyErr_Occurred()) SWIG_fail;
18187 }
18188 Py_INCREF(Py_None); resultobj = Py_None;
18189 return resultobj;
18190 fail:
18191 return NULL;
18192 }
18193
18194
18195 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18196 PyObject *resultobj;
18197 wxPrintData *arg1 = (wxPrintData *) 0 ;
18198 bool arg2 ;
18199 PyObject * obj0 = 0 ;
18200 PyObject * obj1 = 0 ;
18201 char *kwnames[] = {
18202 (char *) "self",(char *) "flag", NULL
18203 };
18204
18205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18208 arg2 = (bool) SWIG_AsBool(obj1);
18209 if (PyErr_Occurred()) SWIG_fail;
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 (arg1)->SetCollate(arg2);
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 Py_INCREF(Py_None); resultobj = Py_None;
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 wxPrintData *arg1 = (wxPrintData *) 0 ;
18227 int arg2 ;
18228 PyObject * obj0 = 0 ;
18229 PyObject * obj1 = 0 ;
18230 char *kwnames[] = {
18231 (char *) "self",(char *) "orient", NULL
18232 };
18233
18234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18237 arg2 = (int) SWIG_AsInt(obj1);
18238 if (PyErr_Occurred()) SWIG_fail;
18239 {
18240 PyThreadState* __tstate = wxPyBeginAllowThreads();
18241 (arg1)->SetOrientation(arg2);
18242
18243 wxPyEndAllowThreads(__tstate);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 }
18246 Py_INCREF(Py_None); resultobj = Py_None;
18247 return resultobj;
18248 fail:
18249 return NULL;
18250 }
18251
18252
18253 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18254 PyObject *resultobj;
18255 wxPrintData *arg1 = (wxPrintData *) 0 ;
18256 wxString *arg2 = 0 ;
18257 bool temp2 = False ;
18258 PyObject * obj0 = 0 ;
18259 PyObject * obj1 = 0 ;
18260 char *kwnames[] = {
18261 (char *) "self",(char *) "name", NULL
18262 };
18263
18264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18267 {
18268 arg2 = wxString_in_helper(obj1);
18269 if (arg2 == NULL) SWIG_fail;
18270 temp2 = True;
18271 }
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 (arg1)->SetPrinterName((wxString const &)*arg2);
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
18279 Py_INCREF(Py_None); resultobj = Py_None;
18280 {
18281 if (temp2)
18282 delete arg2;
18283 }
18284 return resultobj;
18285 fail:
18286 {
18287 if (temp2)
18288 delete arg2;
18289 }
18290 return NULL;
18291 }
18292
18293
18294 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18295 PyObject *resultobj;
18296 wxPrintData *arg1 = (wxPrintData *) 0 ;
18297 bool arg2 ;
18298 PyObject * obj0 = 0 ;
18299 PyObject * obj1 = 0 ;
18300 char *kwnames[] = {
18301 (char *) "self",(char *) "colour", NULL
18302 };
18303
18304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18307 arg2 = (bool) SWIG_AsBool(obj1);
18308 if (PyErr_Occurred()) SWIG_fail;
18309 {
18310 PyThreadState* __tstate = wxPyBeginAllowThreads();
18311 (arg1)->SetColour(arg2);
18312
18313 wxPyEndAllowThreads(__tstate);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 }
18316 Py_INCREF(Py_None); resultobj = Py_None;
18317 return resultobj;
18318 fail:
18319 return NULL;
18320 }
18321
18322
18323 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18324 PyObject *resultobj;
18325 wxPrintData *arg1 = (wxPrintData *) 0 ;
18326 int arg2 ;
18327 PyObject * obj0 = 0 ;
18328 PyObject * obj1 = 0 ;
18329 char *kwnames[] = {
18330 (char *) "self",(char *) "duplex", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18336 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 (arg1)->SetDuplex((wxDuplexMode )arg2);
18341
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 Py_INCREF(Py_None); resultobj = Py_None;
18346 return resultobj;
18347 fail:
18348 return NULL;
18349 }
18350
18351
18352 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18353 PyObject *resultobj;
18354 wxPrintData *arg1 = (wxPrintData *) 0 ;
18355 int arg2 ;
18356 PyObject * obj0 = 0 ;
18357 PyObject * obj1 = 0 ;
18358 char *kwnames[] = {
18359 (char *) "self",(char *) "sizeId", NULL
18360 };
18361
18362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18365 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 {
18368 PyThreadState* __tstate = wxPyBeginAllowThreads();
18369 (arg1)->SetPaperId((wxPaperSize )arg2);
18370
18371 wxPyEndAllowThreads(__tstate);
18372 if (PyErr_Occurred()) SWIG_fail;
18373 }
18374 Py_INCREF(Py_None); resultobj = Py_None;
18375 return resultobj;
18376 fail:
18377 return NULL;
18378 }
18379
18380
18381 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18382 PyObject *resultobj;
18383 wxPrintData *arg1 = (wxPrintData *) 0 ;
18384 wxSize *arg2 = 0 ;
18385 wxSize temp2 ;
18386 PyObject * obj0 = 0 ;
18387 PyObject * obj1 = 0 ;
18388 char *kwnames[] = {
18389 (char *) "self",(char *) "sz", NULL
18390 };
18391
18392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18395 {
18396 arg2 = &temp2;
18397 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18398 }
18399 {
18400 PyThreadState* __tstate = wxPyBeginAllowThreads();
18401 (arg1)->SetPaperSize((wxSize const &)*arg2);
18402
18403 wxPyEndAllowThreads(__tstate);
18404 if (PyErr_Occurred()) SWIG_fail;
18405 }
18406 Py_INCREF(Py_None); resultobj = Py_None;
18407 return resultobj;
18408 fail:
18409 return NULL;
18410 }
18411
18412
18413 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18414 PyObject *resultobj;
18415 wxPrintData *arg1 = (wxPrintData *) 0 ;
18416 int arg2 ;
18417 PyObject * obj0 = 0 ;
18418 PyObject * obj1 = 0 ;
18419 char *kwnames[] = {
18420 (char *) "self",(char *) "quality", NULL
18421 };
18422
18423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18426 arg2 = (int) SWIG_AsInt(obj1);
18427 if (PyErr_Occurred()) SWIG_fail;
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 (arg1)->SetQuality(arg2);
18431
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 Py_INCREF(Py_None); resultobj = Py_None;
18436 return resultobj;
18437 fail:
18438 return NULL;
18439 }
18440
18441
18442 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18443 PyObject *resultobj;
18444 wxPrintData *arg1 = (wxPrintData *) 0 ;
18445 wxString *result;
18446 PyObject * obj0 = 0 ;
18447 char *kwnames[] = {
18448 (char *) "self", NULL
18449 };
18450
18451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18454 {
18455 PyThreadState* __tstate = wxPyBeginAllowThreads();
18456 {
18457 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18458 result = (wxString *) &_result_ref;
18459 }
18460
18461 wxPyEndAllowThreads(__tstate);
18462 if (PyErr_Occurred()) SWIG_fail;
18463 }
18464 {
18465 #if wxUSE_UNICODE
18466 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18467 #else
18468 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18469 #endif
18470 }
18471 return resultobj;
18472 fail:
18473 return NULL;
18474 }
18475
18476
18477 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18478 PyObject *resultobj;
18479 wxPrintData *arg1 = (wxPrintData *) 0 ;
18480 wxString *result;
18481 PyObject * obj0 = 0 ;
18482 char *kwnames[] = {
18483 (char *) "self", NULL
18484 };
18485
18486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18489 {
18490 PyThreadState* __tstate = wxPyBeginAllowThreads();
18491 {
18492 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18493 result = (wxString *) &_result_ref;
18494 }
18495
18496 wxPyEndAllowThreads(__tstate);
18497 if (PyErr_Occurred()) SWIG_fail;
18498 }
18499 {
18500 #if wxUSE_UNICODE
18501 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18502 #else
18503 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18504 #endif
18505 }
18506 return resultobj;
18507 fail:
18508 return NULL;
18509 }
18510
18511
18512 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18513 PyObject *resultobj;
18514 wxPrintData *arg1 = (wxPrintData *) 0 ;
18515 wxString *result;
18516 PyObject * obj0 = 0 ;
18517 char *kwnames[] = {
18518 (char *) "self", NULL
18519 };
18520
18521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18524 {
18525 PyThreadState* __tstate = wxPyBeginAllowThreads();
18526 {
18527 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18528 result = (wxString *) &_result_ref;
18529 }
18530
18531 wxPyEndAllowThreads(__tstate);
18532 if (PyErr_Occurred()) SWIG_fail;
18533 }
18534 {
18535 #if wxUSE_UNICODE
18536 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18537 #else
18538 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18539 #endif
18540 }
18541 return resultobj;
18542 fail:
18543 return NULL;
18544 }
18545
18546
18547 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj;
18549 wxPrintData *arg1 = (wxPrintData *) 0 ;
18550 wxString *result;
18551 PyObject * obj0 = 0 ;
18552 char *kwnames[] = {
18553 (char *) "self", NULL
18554 };
18555
18556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18559 {
18560 PyThreadState* __tstate = wxPyBeginAllowThreads();
18561 {
18562 wxString const &_result_ref = (arg1)->GetFilename();
18563 result = (wxString *) &_result_ref;
18564 }
18565
18566 wxPyEndAllowThreads(__tstate);
18567 if (PyErr_Occurred()) SWIG_fail;
18568 }
18569 {
18570 #if wxUSE_UNICODE
18571 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18572 #else
18573 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18574 #endif
18575 }
18576 return resultobj;
18577 fail:
18578 return NULL;
18579 }
18580
18581
18582 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18583 PyObject *resultobj;
18584 wxPrintData *arg1 = (wxPrintData *) 0 ;
18585 wxString *result;
18586 PyObject * obj0 = 0 ;
18587 char *kwnames[] = {
18588 (char *) "self", NULL
18589 };
18590
18591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18594 {
18595 PyThreadState* __tstate = wxPyBeginAllowThreads();
18596 {
18597 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18598 result = (wxString *) &_result_ref;
18599 }
18600
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 {
18605 #if wxUSE_UNICODE
18606 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18607 #else
18608 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18609 #endif
18610 }
18611 return resultobj;
18612 fail:
18613 return NULL;
18614 }
18615
18616
18617 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18618 PyObject *resultobj;
18619 wxPrintData *arg1 = (wxPrintData *) 0 ;
18620 double result;
18621 PyObject * obj0 = 0 ;
18622 char *kwnames[] = {
18623 (char *) "self", NULL
18624 };
18625
18626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18629 {
18630 PyThreadState* __tstate = wxPyBeginAllowThreads();
18631 result = (double)(arg1)->GetPrinterScaleX();
18632
18633 wxPyEndAllowThreads(__tstate);
18634 if (PyErr_Occurred()) SWIG_fail;
18635 }
18636 resultobj = SWIG_FromDouble((double)result);
18637 return resultobj;
18638 fail:
18639 return NULL;
18640 }
18641
18642
18643 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18644 PyObject *resultobj;
18645 wxPrintData *arg1 = (wxPrintData *) 0 ;
18646 double result;
18647 PyObject * obj0 = 0 ;
18648 char *kwnames[] = {
18649 (char *) "self", NULL
18650 };
18651
18652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 result = (double)(arg1)->GetPrinterScaleY();
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 resultobj = SWIG_FromDouble((double)result);
18663 return resultobj;
18664 fail:
18665 return NULL;
18666 }
18667
18668
18669 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18670 PyObject *resultobj;
18671 wxPrintData *arg1 = (wxPrintData *) 0 ;
18672 long result;
18673 PyObject * obj0 = 0 ;
18674 char *kwnames[] = {
18675 (char *) "self", NULL
18676 };
18677
18678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 result = (long)(arg1)->GetPrinterTranslateX();
18684
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 resultobj = SWIG_FromLong((long)result);
18689 return resultobj;
18690 fail:
18691 return NULL;
18692 }
18693
18694
18695 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18696 PyObject *resultobj;
18697 wxPrintData *arg1 = (wxPrintData *) 0 ;
18698 long result;
18699 PyObject * obj0 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "self", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18707 {
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 result = (long)(arg1)->GetPrinterTranslateY();
18710
18711 wxPyEndAllowThreads(__tstate);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 resultobj = SWIG_FromLong((long)result);
18715 return resultobj;
18716 fail:
18717 return NULL;
18718 }
18719
18720
18721 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18722 PyObject *resultobj;
18723 wxPrintData *arg1 = (wxPrintData *) 0 ;
18724 int result;
18725 PyObject * obj0 = 0 ;
18726 char *kwnames[] = {
18727 (char *) "self", NULL
18728 };
18729
18730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18733 {
18734 PyThreadState* __tstate = wxPyBeginAllowThreads();
18735 result = (int)(arg1)->GetPrintMode();
18736
18737 wxPyEndAllowThreads(__tstate);
18738 if (PyErr_Occurred()) SWIG_fail;
18739 }
18740 resultobj = SWIG_FromInt((int)result);
18741 return resultobj;
18742 fail:
18743 return NULL;
18744 }
18745
18746
18747 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18748 PyObject *resultobj;
18749 wxPrintData *arg1 = (wxPrintData *) 0 ;
18750 wxString *arg2 = 0 ;
18751 bool temp2 = False ;
18752 PyObject * obj0 = 0 ;
18753 PyObject * obj1 = 0 ;
18754 char *kwnames[] = {
18755 (char *) "self",(char *) "command", NULL
18756 };
18757
18758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18761 {
18762 arg2 = wxString_in_helper(obj1);
18763 if (arg2 == NULL) SWIG_fail;
18764 temp2 = True;
18765 }
18766 {
18767 PyThreadState* __tstate = wxPyBeginAllowThreads();
18768 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18769
18770 wxPyEndAllowThreads(__tstate);
18771 if (PyErr_Occurred()) SWIG_fail;
18772 }
18773 Py_INCREF(Py_None); resultobj = Py_None;
18774 {
18775 if (temp2)
18776 delete arg2;
18777 }
18778 return resultobj;
18779 fail:
18780 {
18781 if (temp2)
18782 delete arg2;
18783 }
18784 return NULL;
18785 }
18786
18787
18788 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18789 PyObject *resultobj;
18790 wxPrintData *arg1 = (wxPrintData *) 0 ;
18791 wxString *arg2 = 0 ;
18792 bool temp2 = False ;
18793 PyObject * obj0 = 0 ;
18794 PyObject * obj1 = 0 ;
18795 char *kwnames[] = {
18796 (char *) "self",(char *) "options", NULL
18797 };
18798
18799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18802 {
18803 arg2 = wxString_in_helper(obj1);
18804 if (arg2 == NULL) SWIG_fail;
18805 temp2 = True;
18806 }
18807 {
18808 PyThreadState* __tstate = wxPyBeginAllowThreads();
18809 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18810
18811 wxPyEndAllowThreads(__tstate);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 Py_INCREF(Py_None); resultobj = Py_None;
18815 {
18816 if (temp2)
18817 delete arg2;
18818 }
18819 return resultobj;
18820 fail:
18821 {
18822 if (temp2)
18823 delete arg2;
18824 }
18825 return NULL;
18826 }
18827
18828
18829 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18830 PyObject *resultobj;
18831 wxPrintData *arg1 = (wxPrintData *) 0 ;
18832 wxString *arg2 = 0 ;
18833 bool temp2 = False ;
18834 PyObject * obj0 = 0 ;
18835 PyObject * obj1 = 0 ;
18836 char *kwnames[] = {
18837 (char *) "self",(char *) "command", NULL
18838 };
18839
18840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18843 {
18844 arg2 = wxString_in_helper(obj1);
18845 if (arg2 == NULL) SWIG_fail;
18846 temp2 = True;
18847 }
18848 {
18849 PyThreadState* __tstate = wxPyBeginAllowThreads();
18850 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18851
18852 wxPyEndAllowThreads(__tstate);
18853 if (PyErr_Occurred()) SWIG_fail;
18854 }
18855 Py_INCREF(Py_None); resultobj = Py_None;
18856 {
18857 if (temp2)
18858 delete arg2;
18859 }
18860 return resultobj;
18861 fail:
18862 {
18863 if (temp2)
18864 delete arg2;
18865 }
18866 return NULL;
18867 }
18868
18869
18870 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj;
18872 wxPrintData *arg1 = (wxPrintData *) 0 ;
18873 wxString *arg2 = 0 ;
18874 bool temp2 = False ;
18875 PyObject * obj0 = 0 ;
18876 PyObject * obj1 = 0 ;
18877 char *kwnames[] = {
18878 (char *) "self",(char *) "filename", NULL
18879 };
18880
18881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18884 {
18885 arg2 = wxString_in_helper(obj1);
18886 if (arg2 == NULL) SWIG_fail;
18887 temp2 = True;
18888 }
18889 {
18890 PyThreadState* __tstate = wxPyBeginAllowThreads();
18891 (arg1)->SetFilename((wxString const &)*arg2);
18892
18893 wxPyEndAllowThreads(__tstate);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
18896 Py_INCREF(Py_None); resultobj = Py_None;
18897 {
18898 if (temp2)
18899 delete arg2;
18900 }
18901 return resultobj;
18902 fail:
18903 {
18904 if (temp2)
18905 delete arg2;
18906 }
18907 return NULL;
18908 }
18909
18910
18911 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18912 PyObject *resultobj;
18913 wxPrintData *arg1 = (wxPrintData *) 0 ;
18914 wxString *arg2 = 0 ;
18915 bool temp2 = False ;
18916 PyObject * obj0 = 0 ;
18917 PyObject * obj1 = 0 ;
18918 char *kwnames[] = {
18919 (char *) "self",(char *) "path", NULL
18920 };
18921
18922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18925 {
18926 arg2 = wxString_in_helper(obj1);
18927 if (arg2 == NULL) SWIG_fail;
18928 temp2 = True;
18929 }
18930 {
18931 PyThreadState* __tstate = wxPyBeginAllowThreads();
18932 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18933
18934 wxPyEndAllowThreads(__tstate);
18935 if (PyErr_Occurred()) SWIG_fail;
18936 }
18937 Py_INCREF(Py_None); resultobj = Py_None;
18938 {
18939 if (temp2)
18940 delete arg2;
18941 }
18942 return resultobj;
18943 fail:
18944 {
18945 if (temp2)
18946 delete arg2;
18947 }
18948 return NULL;
18949 }
18950
18951
18952 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18953 PyObject *resultobj;
18954 wxPrintData *arg1 = (wxPrintData *) 0 ;
18955 double arg2 ;
18956 PyObject * obj0 = 0 ;
18957 PyObject * obj1 = 0 ;
18958 char *kwnames[] = {
18959 (char *) "self",(char *) "x", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18965 arg2 = (double) SWIG_AsDouble(obj1);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 {
18968 PyThreadState* __tstate = wxPyBeginAllowThreads();
18969 (arg1)->SetPrinterScaleX(arg2);
18970
18971 wxPyEndAllowThreads(__tstate);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 }
18974 Py_INCREF(Py_None); resultobj = Py_None;
18975 return resultobj;
18976 fail:
18977 return NULL;
18978 }
18979
18980
18981 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18982 PyObject *resultobj;
18983 wxPrintData *arg1 = (wxPrintData *) 0 ;
18984 double arg2 ;
18985 PyObject * obj0 = 0 ;
18986 PyObject * obj1 = 0 ;
18987 char *kwnames[] = {
18988 (char *) "self",(char *) "y", NULL
18989 };
18990
18991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18994 arg2 = (double) SWIG_AsDouble(obj1);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 {
18997 PyThreadState* __tstate = wxPyBeginAllowThreads();
18998 (arg1)->SetPrinterScaleY(arg2);
18999
19000 wxPyEndAllowThreads(__tstate);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 }
19003 Py_INCREF(Py_None); resultobj = Py_None;
19004 return resultobj;
19005 fail:
19006 return NULL;
19007 }
19008
19009
19010 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19011 PyObject *resultobj;
19012 wxPrintData *arg1 = (wxPrintData *) 0 ;
19013 double arg2 ;
19014 double arg3 ;
19015 PyObject * obj0 = 0 ;
19016 PyObject * obj1 = 0 ;
19017 PyObject * obj2 = 0 ;
19018 char *kwnames[] = {
19019 (char *) "self",(char *) "x",(char *) "y", NULL
19020 };
19021
19022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19025 arg2 = (double) SWIG_AsDouble(obj1);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 arg3 = (double) SWIG_AsDouble(obj2);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 (arg1)->SetPrinterScaling(arg2,arg3);
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 Py_INCREF(Py_None); resultobj = Py_None;
19037 return resultobj;
19038 fail:
19039 return NULL;
19040 }
19041
19042
19043 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
19044 PyObject *resultobj;
19045 wxPrintData *arg1 = (wxPrintData *) 0 ;
19046 long arg2 ;
19047 PyObject * obj0 = 0 ;
19048 PyObject * obj1 = 0 ;
19049 char *kwnames[] = {
19050 (char *) "self",(char *) "x", NULL
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19056 arg2 = (long) SWIG_AsLong(obj1);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 (arg1)->SetPrinterTranslateX(arg2);
19061
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 Py_INCREF(Py_None); resultobj = Py_None;
19066 return resultobj;
19067 fail:
19068 return NULL;
19069 }
19070
19071
19072 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
19073 PyObject *resultobj;
19074 wxPrintData *arg1 = (wxPrintData *) 0 ;
19075 long arg2 ;
19076 PyObject * obj0 = 0 ;
19077 PyObject * obj1 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self",(char *) "y", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19085 arg2 = (long) SWIG_AsLong(obj1);
19086 if (PyErr_Occurred()) SWIG_fail;
19087 {
19088 PyThreadState* __tstate = wxPyBeginAllowThreads();
19089 (arg1)->SetPrinterTranslateY(arg2);
19090
19091 wxPyEndAllowThreads(__tstate);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 }
19094 Py_INCREF(Py_None); resultobj = Py_None;
19095 return resultobj;
19096 fail:
19097 return NULL;
19098 }
19099
19100
19101 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
19102 PyObject *resultobj;
19103 wxPrintData *arg1 = (wxPrintData *) 0 ;
19104 long arg2 ;
19105 long arg3 ;
19106 PyObject * obj0 = 0 ;
19107 PyObject * obj1 = 0 ;
19108 PyObject * obj2 = 0 ;
19109 char *kwnames[] = {
19110 (char *) "self",(char *) "x",(char *) "y", NULL
19111 };
19112
19113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19116 arg2 = (long) SWIG_AsLong(obj1);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 arg3 = (long) SWIG_AsLong(obj2);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 {
19121 PyThreadState* __tstate = wxPyBeginAllowThreads();
19122 (arg1)->SetPrinterTranslation(arg2,arg3);
19123
19124 wxPyEndAllowThreads(__tstate);
19125 if (PyErr_Occurred()) SWIG_fail;
19126 }
19127 Py_INCREF(Py_None); resultobj = Py_None;
19128 return resultobj;
19129 fail:
19130 return NULL;
19131 }
19132
19133
19134 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19135 PyObject *resultobj;
19136 wxPrintData *arg1 = (wxPrintData *) 0 ;
19137 int arg2 ;
19138 PyObject * obj0 = 0 ;
19139 PyObject * obj1 = 0 ;
19140 char *kwnames[] = {
19141 (char *) "self",(char *) "printMode", NULL
19142 };
19143
19144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19147 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
19148 if (PyErr_Occurred()) SWIG_fail;
19149 {
19150 PyThreadState* __tstate = wxPyBeginAllowThreads();
19151 (arg1)->SetPrintMode((wxPrintMode )arg2);
19152
19153 wxPyEndAllowThreads(__tstate);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 }
19156 Py_INCREF(Py_None); resultobj = Py_None;
19157 return resultobj;
19158 fail:
19159 return NULL;
19160 }
19161
19162
19163 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19164 PyObject *resultobj;
19165 wxPrintData *arg1 = (wxPrintData *) 0 ;
19166 wxOutputStream *result;
19167 PyObject * obj0 = 0 ;
19168 char *kwnames[] = {
19169 (char *) "self", NULL
19170 };
19171
19172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19175 {
19176 PyThreadState* __tstate = wxPyBeginAllowThreads();
19177 result = (wxOutputStream *)(arg1)->GetOutputStream();
19178
19179 wxPyEndAllowThreads(__tstate);
19180 if (PyErr_Occurred()) SWIG_fail;
19181 }
19182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19183 return resultobj;
19184 fail:
19185 return NULL;
19186 }
19187
19188
19189 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19190 PyObject *resultobj;
19191 wxPrintData *arg1 = (wxPrintData *) 0 ;
19192 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19193 PyObject * obj0 = 0 ;
19194 PyObject * obj1 = 0 ;
19195 char *kwnames[] = {
19196 (char *) "self",(char *) "outputstream", NULL
19197 };
19198
19199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19204 {
19205 PyThreadState* __tstate = wxPyBeginAllowThreads();
19206 (arg1)->SetOutputStream(arg2);
19207
19208 wxPyEndAllowThreads(__tstate);
19209 if (PyErr_Occurred()) SWIG_fail;
19210 }
19211 Py_INCREF(Py_None); resultobj = Py_None;
19212 return resultobj;
19213 fail:
19214 return NULL;
19215 }
19216
19217
19218 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
19219 PyObject *obj;
19220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19221 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19222 Py_INCREF(obj);
19223 return Py_BuildValue((char *)"");
19224 }
19225 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *self, PyObject *args) {
19226 PyObject *resultobj;
19227 wxPageSetupDialogData *result;
19228
19229 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19233
19234 wxPyEndAllowThreads(__tstate);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 }
19237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19238 return resultobj;
19239 fail:
19240 return NULL;
19241 }
19242
19243
19244 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *self, PyObject *args) {
19245 PyObject *resultobj;
19246 wxPageSetupDialogData *arg1 = 0 ;
19247 wxPageSetupDialogData *result;
19248 PyObject * obj0 = 0 ;
19249
19250 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19252 SWIG_POINTER_EXCEPTION | 0)) == -1)
19253 SWIG_fail;
19254 if (arg1 == NULL) {
19255 PyErr_SetString(PyExc_TypeError,"null reference");
19256 SWIG_fail;
19257 }
19258 {
19259 PyThreadState* __tstate = wxPyBeginAllowThreads();
19260 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19261
19262 wxPyEndAllowThreads(__tstate);
19263 if (PyErr_Occurred()) SWIG_fail;
19264 }
19265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19266 return resultobj;
19267 fail:
19268 return NULL;
19269 }
19270
19271
19272 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19273 int argc;
19274 PyObject *argv[2];
19275 int ii;
19276
19277 argc = PyObject_Length(args);
19278 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19279 argv[ii] = PyTuple_GetItem(args,ii);
19280 }
19281 if (argc == 0) {
19282 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19283 }
19284 if (argc == 1) {
19285 int _v;
19286 {
19287 void *ptr;
19288 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19289 _v = 0;
19290 PyErr_Clear();
19291 } else {
19292 _v = 1;
19293 }
19294 }
19295 if (_v) {
19296 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19297 }
19298 }
19299
19300 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19301 return NULL;
19302 }
19303
19304
19305 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19306 PyObject *resultobj;
19307 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19308 PyObject * obj0 = 0 ;
19309 char *kwnames[] = {
19310 (char *) "self", NULL
19311 };
19312
19313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19316 {
19317 PyThreadState* __tstate = wxPyBeginAllowThreads();
19318 delete arg1;
19319
19320 wxPyEndAllowThreads(__tstate);
19321 if (PyErr_Occurred()) SWIG_fail;
19322 }
19323 Py_INCREF(Py_None); resultobj = Py_None;
19324 return resultobj;
19325 fail:
19326 return NULL;
19327 }
19328
19329
19330 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19331 PyObject *resultobj;
19332 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19333 bool arg2 ;
19334 PyObject * obj0 = 0 ;
19335 PyObject * obj1 = 0 ;
19336 char *kwnames[] = {
19337 (char *) "self",(char *) "flag", NULL
19338 };
19339
19340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19343 arg2 = (bool) SWIG_AsBool(obj1);
19344 if (PyErr_Occurred()) SWIG_fail;
19345 {
19346 PyThreadState* __tstate = wxPyBeginAllowThreads();
19347 (arg1)->EnableHelp(arg2);
19348
19349 wxPyEndAllowThreads(__tstate);
19350 if (PyErr_Occurred()) SWIG_fail;
19351 }
19352 Py_INCREF(Py_None); resultobj = Py_None;
19353 return resultobj;
19354 fail:
19355 return NULL;
19356 }
19357
19358
19359 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19360 PyObject *resultobj;
19361 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19362 bool arg2 ;
19363 PyObject * obj0 = 0 ;
19364 PyObject * obj1 = 0 ;
19365 char *kwnames[] = {
19366 (char *) "self",(char *) "flag", NULL
19367 };
19368
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19372 arg2 = (bool) SWIG_AsBool(obj1);
19373 if (PyErr_Occurred()) SWIG_fail;
19374 {
19375 PyThreadState* __tstate = wxPyBeginAllowThreads();
19376 (arg1)->EnableMargins(arg2);
19377
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 Py_INCREF(Py_None); resultobj = Py_None;
19382 return resultobj;
19383 fail:
19384 return NULL;
19385 }
19386
19387
19388 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19389 PyObject *resultobj;
19390 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19391 bool arg2 ;
19392 PyObject * obj0 = 0 ;
19393 PyObject * obj1 = 0 ;
19394 char *kwnames[] = {
19395 (char *) "self",(char *) "flag", NULL
19396 };
19397
19398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19401 arg2 = (bool) SWIG_AsBool(obj1);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 {
19404 PyThreadState* __tstate = wxPyBeginAllowThreads();
19405 (arg1)->EnableOrientation(arg2);
19406
19407 wxPyEndAllowThreads(__tstate);
19408 if (PyErr_Occurred()) SWIG_fail;
19409 }
19410 Py_INCREF(Py_None); resultobj = Py_None;
19411 return resultobj;
19412 fail:
19413 return NULL;
19414 }
19415
19416
19417 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19418 PyObject *resultobj;
19419 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19420 bool arg2 ;
19421 PyObject * obj0 = 0 ;
19422 PyObject * obj1 = 0 ;
19423 char *kwnames[] = {
19424 (char *) "self",(char *) "flag", NULL
19425 };
19426
19427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19430 arg2 = (bool) SWIG_AsBool(obj1);
19431 if (PyErr_Occurred()) SWIG_fail;
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 (arg1)->EnablePaper(arg2);
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 Py_INCREF(Py_None); resultobj = Py_None;
19440 return resultobj;
19441 fail:
19442 return NULL;
19443 }
19444
19445
19446 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19447 PyObject *resultobj;
19448 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19449 bool arg2 ;
19450 PyObject * obj0 = 0 ;
19451 PyObject * obj1 = 0 ;
19452 char *kwnames[] = {
19453 (char *) "self",(char *) "flag", NULL
19454 };
19455
19456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19459 arg2 = (bool) SWIG_AsBool(obj1);
19460 if (PyErr_Occurred()) SWIG_fail;
19461 {
19462 PyThreadState* __tstate = wxPyBeginAllowThreads();
19463 (arg1)->EnablePrinter(arg2);
19464
19465 wxPyEndAllowThreads(__tstate);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
19468 Py_INCREF(Py_None); resultobj = Py_None;
19469 return resultobj;
19470 fail:
19471 return NULL;
19472 }
19473
19474
19475 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19476 PyObject *resultobj;
19477 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19478 bool result;
19479 PyObject * obj0 = 0 ;
19480 char *kwnames[] = {
19481 (char *) "self", NULL
19482 };
19483
19484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 result = (bool)(arg1)->GetDefaultMinMargins();
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 {
19495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19496 }
19497 return resultobj;
19498 fail:
19499 return NULL;
19500 }
19501
19502
19503 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19504 PyObject *resultobj;
19505 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19506 bool result;
19507 PyObject * obj0 = 0 ;
19508 char *kwnames[] = {
19509 (char *) "self", NULL
19510 };
19511
19512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19515 {
19516 PyThreadState* __tstate = wxPyBeginAllowThreads();
19517 result = (bool)(arg1)->GetEnableMargins();
19518
19519 wxPyEndAllowThreads(__tstate);
19520 if (PyErr_Occurred()) SWIG_fail;
19521 }
19522 {
19523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19524 }
19525 return resultobj;
19526 fail:
19527 return NULL;
19528 }
19529
19530
19531 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19532 PyObject *resultobj;
19533 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19534 bool result;
19535 PyObject * obj0 = 0 ;
19536 char *kwnames[] = {
19537 (char *) "self", NULL
19538 };
19539
19540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19543 {
19544 PyThreadState* __tstate = wxPyBeginAllowThreads();
19545 result = (bool)(arg1)->GetEnableOrientation();
19546
19547 wxPyEndAllowThreads(__tstate);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 }
19550 {
19551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19552 }
19553 return resultobj;
19554 fail:
19555 return NULL;
19556 }
19557
19558
19559 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19560 PyObject *resultobj;
19561 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19562 bool result;
19563 PyObject * obj0 = 0 ;
19564 char *kwnames[] = {
19565 (char *) "self", NULL
19566 };
19567
19568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19571 {
19572 PyThreadState* __tstate = wxPyBeginAllowThreads();
19573 result = (bool)(arg1)->GetEnablePaper();
19574
19575 wxPyEndAllowThreads(__tstate);
19576 if (PyErr_Occurred()) SWIG_fail;
19577 }
19578 {
19579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19580 }
19581 return resultobj;
19582 fail:
19583 return NULL;
19584 }
19585
19586
19587 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19588 PyObject *resultobj;
19589 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19590 bool result;
19591 PyObject * obj0 = 0 ;
19592 char *kwnames[] = {
19593 (char *) "self", NULL
19594 };
19595
19596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 result = (bool)(arg1)->GetEnablePrinter();
19602
19603 wxPyEndAllowThreads(__tstate);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 }
19606 {
19607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19608 }
19609 return resultobj;
19610 fail:
19611 return NULL;
19612 }
19613
19614
19615 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19616 PyObject *resultobj;
19617 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19618 bool result;
19619 PyObject * obj0 = 0 ;
19620 char *kwnames[] = {
19621 (char *) "self", NULL
19622 };
19623
19624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 result = (bool)(arg1)->GetEnableHelp();
19630
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 {
19635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19636 }
19637 return resultobj;
19638 fail:
19639 return NULL;
19640 }
19641
19642
19643 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19644 PyObject *resultobj;
19645 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19646 bool result;
19647 PyObject * obj0 = 0 ;
19648 char *kwnames[] = {
19649 (char *) "self", NULL
19650 };
19651
19652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 result = (bool)(arg1)->GetDefaultInfo();
19658
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 {
19663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19664 }
19665 return resultobj;
19666 fail:
19667 return NULL;
19668 }
19669
19670
19671 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19672 PyObject *resultobj;
19673 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19674 wxPoint result;
19675 PyObject * obj0 = 0 ;
19676 char *kwnames[] = {
19677 (char *) "self", NULL
19678 };
19679
19680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19683 {
19684 PyThreadState* __tstate = wxPyBeginAllowThreads();
19685 result = (arg1)->GetMarginTopLeft();
19686
19687 wxPyEndAllowThreads(__tstate);
19688 if (PyErr_Occurred()) SWIG_fail;
19689 }
19690 {
19691 wxPoint * resultptr;
19692 resultptr = new wxPoint((wxPoint &) result);
19693 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19694 }
19695 return resultobj;
19696 fail:
19697 return NULL;
19698 }
19699
19700
19701 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19702 PyObject *resultobj;
19703 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19704 wxPoint result;
19705 PyObject * obj0 = 0 ;
19706 char *kwnames[] = {
19707 (char *) "self", NULL
19708 };
19709
19710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19713 {
19714 PyThreadState* __tstate = wxPyBeginAllowThreads();
19715 result = (arg1)->GetMarginBottomRight();
19716
19717 wxPyEndAllowThreads(__tstate);
19718 if (PyErr_Occurred()) SWIG_fail;
19719 }
19720 {
19721 wxPoint * resultptr;
19722 resultptr = new wxPoint((wxPoint &) result);
19723 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19724 }
19725 return resultobj;
19726 fail:
19727 return NULL;
19728 }
19729
19730
19731 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19732 PyObject *resultobj;
19733 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19734 wxPoint result;
19735 PyObject * obj0 = 0 ;
19736 char *kwnames[] = {
19737 (char *) "self", NULL
19738 };
19739
19740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19743 {
19744 PyThreadState* __tstate = wxPyBeginAllowThreads();
19745 result = (arg1)->GetMinMarginTopLeft();
19746
19747 wxPyEndAllowThreads(__tstate);
19748 if (PyErr_Occurred()) SWIG_fail;
19749 }
19750 {
19751 wxPoint * resultptr;
19752 resultptr = new wxPoint((wxPoint &) result);
19753 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19754 }
19755 return resultobj;
19756 fail:
19757 return NULL;
19758 }
19759
19760
19761 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19762 PyObject *resultobj;
19763 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19764 wxPoint result;
19765 PyObject * obj0 = 0 ;
19766 char *kwnames[] = {
19767 (char *) "self", NULL
19768 };
19769
19770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19773 {
19774 PyThreadState* __tstate = wxPyBeginAllowThreads();
19775 result = (arg1)->GetMinMarginBottomRight();
19776
19777 wxPyEndAllowThreads(__tstate);
19778 if (PyErr_Occurred()) SWIG_fail;
19779 }
19780 {
19781 wxPoint * resultptr;
19782 resultptr = new wxPoint((wxPoint &) result);
19783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19784 }
19785 return resultobj;
19786 fail:
19787 return NULL;
19788 }
19789
19790
19791 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19792 PyObject *resultobj;
19793 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19794 int result;
19795 PyObject * obj0 = 0 ;
19796 char *kwnames[] = {
19797 (char *) "self", NULL
19798 };
19799
19800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19803 {
19804 PyThreadState* __tstate = wxPyBeginAllowThreads();
19805 result = (int)(arg1)->GetPaperId();
19806
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 resultobj = SWIG_FromInt((int)result);
19811 return resultobj;
19812 fail:
19813 return NULL;
19814 }
19815
19816
19817 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19818 PyObject *resultobj;
19819 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19820 wxSize result;
19821 PyObject * obj0 = 0 ;
19822 char *kwnames[] = {
19823 (char *) "self", NULL
19824 };
19825
19826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19829 {
19830 PyThreadState* __tstate = wxPyBeginAllowThreads();
19831 result = (arg1)->GetPaperSize();
19832
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 {
19837 wxSize * resultptr;
19838 resultptr = new wxSize((wxSize &) result);
19839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19840 }
19841 return resultobj;
19842 fail:
19843 return NULL;
19844 }
19845
19846
19847 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19848 PyObject *resultobj;
19849 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19850 wxPrintData *result;
19851 PyObject * obj0 = 0 ;
19852 char *kwnames[] = {
19853 (char *) "self", NULL
19854 };
19855
19856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19859 {
19860 PyThreadState* __tstate = wxPyBeginAllowThreads();
19861 {
19862 wxPrintData &_result_ref = (arg1)->GetPrintData();
19863 result = (wxPrintData *) &_result_ref;
19864 }
19865
19866 wxPyEndAllowThreads(__tstate);
19867 if (PyErr_Occurred()) SWIG_fail;
19868 }
19869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19870 return resultobj;
19871 fail:
19872 return NULL;
19873 }
19874
19875
19876 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19877 PyObject *resultobj;
19878 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19879 bool result;
19880 PyObject * obj0 = 0 ;
19881 char *kwnames[] = {
19882 (char *) "self", NULL
19883 };
19884
19885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19888 {
19889 PyThreadState* __tstate = wxPyBeginAllowThreads();
19890 result = (bool)(arg1)->Ok();
19891
19892 wxPyEndAllowThreads(__tstate);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 {
19896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19897 }
19898 return resultobj;
19899 fail:
19900 return NULL;
19901 }
19902
19903
19904 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19905 PyObject *resultobj;
19906 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19907 bool arg2 ;
19908 PyObject * obj0 = 0 ;
19909 PyObject * obj1 = 0 ;
19910 char *kwnames[] = {
19911 (char *) "self",(char *) "flag", NULL
19912 };
19913
19914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19917 arg2 = (bool) SWIG_AsBool(obj1);
19918 if (PyErr_Occurred()) SWIG_fail;
19919 {
19920 PyThreadState* __tstate = wxPyBeginAllowThreads();
19921 (arg1)->SetDefaultInfo(arg2);
19922
19923 wxPyEndAllowThreads(__tstate);
19924 if (PyErr_Occurred()) SWIG_fail;
19925 }
19926 Py_INCREF(Py_None); resultobj = Py_None;
19927 return resultobj;
19928 fail:
19929 return NULL;
19930 }
19931
19932
19933 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19934 PyObject *resultobj;
19935 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19936 bool arg2 ;
19937 PyObject * obj0 = 0 ;
19938 PyObject * obj1 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "self",(char *) "flag", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19946 arg2 = (bool) SWIG_AsBool(obj1);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 {
19949 PyThreadState* __tstate = wxPyBeginAllowThreads();
19950 (arg1)->SetDefaultMinMargins(arg2);
19951
19952 wxPyEndAllowThreads(__tstate);
19953 if (PyErr_Occurred()) SWIG_fail;
19954 }
19955 Py_INCREF(Py_None); resultobj = Py_None;
19956 return resultobj;
19957 fail:
19958 return NULL;
19959 }
19960
19961
19962 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19963 PyObject *resultobj;
19964 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19965 wxPoint *arg2 = 0 ;
19966 wxPoint temp2 ;
19967 PyObject * obj0 = 0 ;
19968 PyObject * obj1 = 0 ;
19969 char *kwnames[] = {
19970 (char *) "self",(char *) "pt", NULL
19971 };
19972
19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19976 {
19977 arg2 = &temp2;
19978 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19979 }
19980 {
19981 PyThreadState* __tstate = wxPyBeginAllowThreads();
19982 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
19987 Py_INCREF(Py_None); resultobj = Py_None;
19988 return resultobj;
19989 fail:
19990 return NULL;
19991 }
19992
19993
19994 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19995 PyObject *resultobj;
19996 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19997 wxPoint *arg2 = 0 ;
19998 wxPoint temp2 ;
19999 PyObject * obj0 = 0 ;
20000 PyObject * obj1 = 0 ;
20001 char *kwnames[] = {
20002 (char *) "self",(char *) "pt", NULL
20003 };
20004
20005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20008 {
20009 arg2 = &temp2;
20010 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20011 }
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20015
20016 wxPyEndAllowThreads(__tstate);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
20019 Py_INCREF(Py_None); resultobj = Py_None;
20020 return resultobj;
20021 fail:
20022 return NULL;
20023 }
20024
20025
20026 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20027 PyObject *resultobj;
20028 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20029 wxPoint *arg2 = 0 ;
20030 wxPoint temp2 ;
20031 PyObject * obj0 = 0 ;
20032 PyObject * obj1 = 0 ;
20033 char *kwnames[] = {
20034 (char *) "self",(char *) "pt", NULL
20035 };
20036
20037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20040 {
20041 arg2 = &temp2;
20042 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20043 }
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20047
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 Py_INCREF(Py_None); resultobj = Py_None;
20052 return resultobj;
20053 fail:
20054 return NULL;
20055 }
20056
20057
20058 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj;
20060 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20061 wxPoint *arg2 = 0 ;
20062 wxPoint temp2 ;
20063 PyObject * obj0 = 0 ;
20064 PyObject * obj1 = 0 ;
20065 char *kwnames[] = {
20066 (char *) "self",(char *) "pt", NULL
20067 };
20068
20069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20072 {
20073 arg2 = &temp2;
20074 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20075 }
20076 {
20077 PyThreadState* __tstate = wxPyBeginAllowThreads();
20078 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20079
20080 wxPyEndAllowThreads(__tstate);
20081 if (PyErr_Occurred()) SWIG_fail;
20082 }
20083 Py_INCREF(Py_None); resultobj = Py_None;
20084 return resultobj;
20085 fail:
20086 return NULL;
20087 }
20088
20089
20090 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
20091 PyObject *resultobj;
20092 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20093 int arg2 ;
20094 PyObject * obj0 = 0 ;
20095 PyObject * obj1 = 0 ;
20096 char *kwnames[] = {
20097 (char *) "self",(char *) "id", NULL
20098 };
20099
20100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20103 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
20104 if (PyErr_Occurred()) SWIG_fail;
20105 {
20106 PyThreadState* __tstate = wxPyBeginAllowThreads();
20107 (arg1)->SetPaperId((wxPaperSize )arg2);
20108
20109 wxPyEndAllowThreads(__tstate);
20110 if (PyErr_Occurred()) SWIG_fail;
20111 }
20112 Py_INCREF(Py_None); resultobj = Py_None;
20113 return resultobj;
20114 fail:
20115 return NULL;
20116 }
20117
20118
20119 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20120 PyObject *resultobj;
20121 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20122 wxSize *arg2 = 0 ;
20123 wxSize temp2 ;
20124 PyObject * obj0 = 0 ;
20125 PyObject * obj1 = 0 ;
20126 char *kwnames[] = {
20127 (char *) "self",(char *) "size", NULL
20128 };
20129
20130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20133 {
20134 arg2 = &temp2;
20135 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20136 }
20137 {
20138 PyThreadState* __tstate = wxPyBeginAllowThreads();
20139 (arg1)->SetPaperSize((wxSize const &)*arg2);
20140
20141 wxPyEndAllowThreads(__tstate);
20142 if (PyErr_Occurred()) SWIG_fail;
20143 }
20144 Py_INCREF(Py_None); resultobj = Py_None;
20145 return resultobj;
20146 fail:
20147 return NULL;
20148 }
20149
20150
20151 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20152 PyObject *resultobj;
20153 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20154 wxPrintData *arg2 = 0 ;
20155 PyObject * obj0 = 0 ;
20156 PyObject * obj1 = 0 ;
20157 char *kwnames[] = {
20158 (char *) "self",(char *) "printData", NULL
20159 };
20160
20161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20165 SWIG_POINTER_EXCEPTION | 0)) == -1)
20166 SWIG_fail;
20167 if (arg2 == NULL) {
20168 PyErr_SetString(PyExc_TypeError,"null reference");
20169 SWIG_fail;
20170 }
20171 {
20172 PyThreadState* __tstate = wxPyBeginAllowThreads();
20173 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20174
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
20178 Py_INCREF(Py_None); resultobj = Py_None;
20179 return resultobj;
20180 fail:
20181 return NULL;
20182 }
20183
20184
20185 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
20186 PyObject *obj;
20187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20188 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20189 Py_INCREF(obj);
20190 return Py_BuildValue((char *)"");
20191 }
20192 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20193 PyObject *resultobj;
20194 wxWindow *arg1 = (wxWindow *) 0 ;
20195 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20196 wxPageSetupDialog *result;
20197 PyObject * obj0 = 0 ;
20198 PyObject * obj1 = 0 ;
20199 char *kwnames[] = {
20200 (char *) "parent",(char *) "data", NULL
20201 };
20202
20203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20206 if (obj1) {
20207 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20209 }
20210 {
20211 if (!wxPyCheckForApp()) SWIG_fail;
20212 PyThreadState* __tstate = wxPyBeginAllowThreads();
20213 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20214
20215 wxPyEndAllowThreads(__tstate);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20219 return resultobj;
20220 fail:
20221 return NULL;
20222 }
20223
20224
20225 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
20226 PyObject *resultobj;
20227 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20228 wxPageSetupDialogData *result;
20229 PyObject * obj0 = 0 ;
20230 char *kwnames[] = {
20231 (char *) "self", NULL
20232 };
20233
20234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20237 {
20238 PyThreadState* __tstate = wxPyBeginAllowThreads();
20239 {
20240 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20241 result = (wxPageSetupDialogData *) &_result_ref;
20242 }
20243
20244 wxPyEndAllowThreads(__tstate);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 }
20247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20248 return resultobj;
20249 fail:
20250 return NULL;
20251 }
20252
20253
20254 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20255 PyObject *resultobj;
20256 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20257 int result;
20258 PyObject * obj0 = 0 ;
20259 char *kwnames[] = {
20260 (char *) "self", NULL
20261 };
20262
20263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20266 {
20267 PyThreadState* __tstate = wxPyBeginAllowThreads();
20268 result = (int)(arg1)->ShowModal();
20269
20270 wxPyEndAllowThreads(__tstate);
20271 if (PyErr_Occurred()) SWIG_fail;
20272 }
20273 resultobj = SWIG_FromInt((int)result);
20274 return resultobj;
20275 fail:
20276 return NULL;
20277 }
20278
20279
20280 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
20281 PyObject *obj;
20282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20283 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20284 Py_INCREF(obj);
20285 return Py_BuildValue((char *)"");
20286 }
20287 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
20288 PyObject *resultobj;
20289 wxPrintDialogData *result;
20290
20291 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20292 {
20293 PyThreadState* __tstate = wxPyBeginAllowThreads();
20294 result = (wxPrintDialogData *)new wxPrintDialogData();
20295
20296 wxPyEndAllowThreads(__tstate);
20297 if (PyErr_Occurred()) SWIG_fail;
20298 }
20299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20300 return resultobj;
20301 fail:
20302 return NULL;
20303 }
20304
20305
20306 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
20307 PyObject *resultobj;
20308 wxPrintData *arg1 = 0 ;
20309 wxPrintDialogData *result;
20310 PyObject * obj0 = 0 ;
20311
20312 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20314 SWIG_POINTER_EXCEPTION | 0)) == -1)
20315 SWIG_fail;
20316 if (arg1 == NULL) {
20317 PyErr_SetString(PyExc_TypeError,"null reference");
20318 SWIG_fail;
20319 }
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20323
20324 wxPyEndAllowThreads(__tstate);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20328 return resultobj;
20329 fail:
20330 return NULL;
20331 }
20332
20333
20334 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20335 int argc;
20336 PyObject *argv[2];
20337 int ii;
20338
20339 argc = PyObject_Length(args);
20340 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20341 argv[ii] = PyTuple_GetItem(args,ii);
20342 }
20343 if (argc == 0) {
20344 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20345 }
20346 if (argc == 1) {
20347 int _v;
20348 {
20349 void *ptr;
20350 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20351 _v = 0;
20352 PyErr_Clear();
20353 } else {
20354 _v = 1;
20355 }
20356 }
20357 if (_v) {
20358 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20359 }
20360 }
20361
20362 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20363 return NULL;
20364 }
20365
20366
20367 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20368 PyObject *resultobj;
20369 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20370 PyObject * obj0 = 0 ;
20371 char *kwnames[] = {
20372 (char *) "self", NULL
20373 };
20374
20375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20378 {
20379 PyThreadState* __tstate = wxPyBeginAllowThreads();
20380 delete arg1;
20381
20382 wxPyEndAllowThreads(__tstate);
20383 if (PyErr_Occurred()) SWIG_fail;
20384 }
20385 Py_INCREF(Py_None); resultobj = Py_None;
20386 return resultobj;
20387 fail:
20388 return NULL;
20389 }
20390
20391
20392 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20393 PyObject *resultobj;
20394 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20395 int result;
20396 PyObject * obj0 = 0 ;
20397 char *kwnames[] = {
20398 (char *) "self", NULL
20399 };
20400
20401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20404 {
20405 PyThreadState* __tstate = wxPyBeginAllowThreads();
20406 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20407
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 resultobj = SWIG_FromInt((int)result);
20412 return resultobj;
20413 fail:
20414 return NULL;
20415 }
20416
20417
20418 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20419 PyObject *resultobj;
20420 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20421 int result;
20422 PyObject * obj0 = 0 ;
20423 char *kwnames[] = {
20424 (char *) "self", NULL
20425 };
20426
20427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20430 {
20431 PyThreadState* __tstate = wxPyBeginAllowThreads();
20432 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20433
20434 wxPyEndAllowThreads(__tstate);
20435 if (PyErr_Occurred()) SWIG_fail;
20436 }
20437 resultobj = SWIG_FromInt((int)result);
20438 return resultobj;
20439 fail:
20440 return NULL;
20441 }
20442
20443
20444 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20445 PyObject *resultobj;
20446 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20447 int result;
20448 PyObject * obj0 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 resultobj = SWIG_FromInt((int)result);
20464 return resultobj;
20465 fail:
20466 return NULL;
20467 }
20468
20469
20470 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20471 PyObject *resultobj;
20472 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20473 int result;
20474 PyObject * obj0 = 0 ;
20475 char *kwnames[] = {
20476 (char *) "self", NULL
20477 };
20478
20479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20482 {
20483 PyThreadState* __tstate = wxPyBeginAllowThreads();
20484 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20485
20486 wxPyEndAllowThreads(__tstate);
20487 if (PyErr_Occurred()) SWIG_fail;
20488 }
20489 resultobj = SWIG_FromInt((int)result);
20490 return resultobj;
20491 fail:
20492 return NULL;
20493 }
20494
20495
20496 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20497 PyObject *resultobj;
20498 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20499 int result;
20500 PyObject * obj0 = 0 ;
20501 char *kwnames[] = {
20502 (char *) "self", NULL
20503 };
20504
20505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20508 {
20509 PyThreadState* __tstate = wxPyBeginAllowThreads();
20510 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20511
20512 wxPyEndAllowThreads(__tstate);
20513 if (PyErr_Occurred()) SWIG_fail;
20514 }
20515 resultobj = SWIG_FromInt((int)result);
20516 return resultobj;
20517 fail:
20518 return NULL;
20519 }
20520
20521
20522 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20523 PyObject *resultobj;
20524 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20525 bool result;
20526 PyObject * obj0 = 0 ;
20527 char *kwnames[] = {
20528 (char *) "self", NULL
20529 };
20530
20531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20534 {
20535 PyThreadState* __tstate = wxPyBeginAllowThreads();
20536 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20537
20538 wxPyEndAllowThreads(__tstate);
20539 if (PyErr_Occurred()) SWIG_fail;
20540 }
20541 {
20542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20543 }
20544 return resultobj;
20545 fail:
20546 return NULL;
20547 }
20548
20549
20550 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20551 PyObject *resultobj;
20552 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20553 bool result;
20554 PyObject * obj0 = 0 ;
20555 char *kwnames[] = {
20556 (char *) "self", NULL
20557 };
20558
20559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20562 {
20563 PyThreadState* __tstate = wxPyBeginAllowThreads();
20564 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20565
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 {
20570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20571 }
20572 return resultobj;
20573 fail:
20574 return NULL;
20575 }
20576
20577
20578 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20579 PyObject *resultobj;
20580 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20581 bool result;
20582 PyObject * obj0 = 0 ;
20583 char *kwnames[] = {
20584 (char *) "self", NULL
20585 };
20586
20587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20590 {
20591 PyThreadState* __tstate = wxPyBeginAllowThreads();
20592 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20593
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
20597 {
20598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20599 }
20600 return resultobj;
20601 fail:
20602 return NULL;
20603 }
20604
20605
20606 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20607 PyObject *resultobj;
20608 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20609 bool result;
20610 PyObject * obj0 = 0 ;
20611 char *kwnames[] = {
20612 (char *) "self", NULL
20613 };
20614
20615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20618 {
20619 PyThreadState* __tstate = wxPyBeginAllowThreads();
20620 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20621
20622 wxPyEndAllowThreads(__tstate);
20623 if (PyErr_Occurred()) SWIG_fail;
20624 }
20625 {
20626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20627 }
20628 return resultobj;
20629 fail:
20630 return NULL;
20631 }
20632
20633
20634 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20635 PyObject *resultobj;
20636 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20637 bool result;
20638 PyObject * obj0 = 0 ;
20639 char *kwnames[] = {
20640 (char *) "self", NULL
20641 };
20642
20643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20646 {
20647 PyThreadState* __tstate = wxPyBeginAllowThreads();
20648 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20649
20650 wxPyEndAllowThreads(__tstate);
20651 if (PyErr_Occurred()) SWIG_fail;
20652 }
20653 {
20654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20655 }
20656 return resultobj;
20657 fail:
20658 return NULL;
20659 }
20660
20661
20662 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20663 PyObject *resultobj;
20664 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20665 int arg2 ;
20666 PyObject * obj0 = 0 ;
20667 PyObject * obj1 = 0 ;
20668 char *kwnames[] = {
20669 (char *) "self",(char *) "v", NULL
20670 };
20671
20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20675 arg2 = (int) SWIG_AsInt(obj1);
20676 if (PyErr_Occurred()) SWIG_fail;
20677 {
20678 PyThreadState* __tstate = wxPyBeginAllowThreads();
20679 (arg1)->SetFromPage(arg2);
20680
20681 wxPyEndAllowThreads(__tstate);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 }
20684 Py_INCREF(Py_None); resultobj = Py_None;
20685 return resultobj;
20686 fail:
20687 return NULL;
20688 }
20689
20690
20691 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20692 PyObject *resultobj;
20693 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20694 int arg2 ;
20695 PyObject * obj0 = 0 ;
20696 PyObject * obj1 = 0 ;
20697 char *kwnames[] = {
20698 (char *) "self",(char *) "v", NULL
20699 };
20700
20701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20704 arg2 = (int) SWIG_AsInt(obj1);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 {
20707 PyThreadState* __tstate = wxPyBeginAllowThreads();
20708 (arg1)->SetToPage(arg2);
20709
20710 wxPyEndAllowThreads(__tstate);
20711 if (PyErr_Occurred()) SWIG_fail;
20712 }
20713 Py_INCREF(Py_None); resultobj = Py_None;
20714 return resultobj;
20715 fail:
20716 return NULL;
20717 }
20718
20719
20720 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20721 PyObject *resultobj;
20722 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20723 int arg2 ;
20724 PyObject * obj0 = 0 ;
20725 PyObject * obj1 = 0 ;
20726 char *kwnames[] = {
20727 (char *) "self",(char *) "v", NULL
20728 };
20729
20730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20733 arg2 = (int) SWIG_AsInt(obj1);
20734 if (PyErr_Occurred()) SWIG_fail;
20735 {
20736 PyThreadState* __tstate = wxPyBeginAllowThreads();
20737 (arg1)->SetMinPage(arg2);
20738
20739 wxPyEndAllowThreads(__tstate);
20740 if (PyErr_Occurred()) SWIG_fail;
20741 }
20742 Py_INCREF(Py_None); resultobj = Py_None;
20743 return resultobj;
20744 fail:
20745 return NULL;
20746 }
20747
20748
20749 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20750 PyObject *resultobj;
20751 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20752 int arg2 ;
20753 PyObject * obj0 = 0 ;
20754 PyObject * obj1 = 0 ;
20755 char *kwnames[] = {
20756 (char *) "self",(char *) "v", NULL
20757 };
20758
20759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20762 arg2 = (int) SWIG_AsInt(obj1);
20763 if (PyErr_Occurred()) SWIG_fail;
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 (arg1)->SetMaxPage(arg2);
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 Py_INCREF(Py_None); resultobj = Py_None;
20772 return resultobj;
20773 fail:
20774 return NULL;
20775 }
20776
20777
20778 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20779 PyObject *resultobj;
20780 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20781 int arg2 ;
20782 PyObject * obj0 = 0 ;
20783 PyObject * obj1 = 0 ;
20784 char *kwnames[] = {
20785 (char *) "self",(char *) "v", NULL
20786 };
20787
20788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20791 arg2 = (int) SWIG_AsInt(obj1);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 {
20794 PyThreadState* __tstate = wxPyBeginAllowThreads();
20795 (arg1)->SetNoCopies(arg2);
20796
20797 wxPyEndAllowThreads(__tstate);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 }
20800 Py_INCREF(Py_None); resultobj = Py_None;
20801 return resultobj;
20802 fail:
20803 return NULL;
20804 }
20805
20806
20807 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20808 PyObject *resultobj;
20809 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20810 bool arg2 ;
20811 PyObject * obj0 = 0 ;
20812 PyObject * obj1 = 0 ;
20813 char *kwnames[] = {
20814 (char *) "self",(char *) "flag", NULL
20815 };
20816
20817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20820 arg2 = (bool) SWIG_AsBool(obj1);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 (arg1)->SetAllPages(arg2);
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 Py_INCREF(Py_None); resultobj = Py_None;
20830 return resultobj;
20831 fail:
20832 return NULL;
20833 }
20834
20835
20836 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20837 PyObject *resultobj;
20838 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20839 bool arg2 ;
20840 PyObject * obj0 = 0 ;
20841 PyObject * obj1 = 0 ;
20842 char *kwnames[] = {
20843 (char *) "self",(char *) "flag", NULL
20844 };
20845
20846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20849 arg2 = (bool) SWIG_AsBool(obj1);
20850 if (PyErr_Occurred()) SWIG_fail;
20851 {
20852 PyThreadState* __tstate = wxPyBeginAllowThreads();
20853 (arg1)->SetSelection(arg2);
20854
20855 wxPyEndAllowThreads(__tstate);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 }
20858 Py_INCREF(Py_None); resultobj = Py_None;
20859 return resultobj;
20860 fail:
20861 return NULL;
20862 }
20863
20864
20865 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20866 PyObject *resultobj;
20867 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20868 bool arg2 ;
20869 PyObject * obj0 = 0 ;
20870 PyObject * obj1 = 0 ;
20871 char *kwnames[] = {
20872 (char *) "self",(char *) "flag", NULL
20873 };
20874
20875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20878 arg2 = (bool) SWIG_AsBool(obj1);
20879 if (PyErr_Occurred()) SWIG_fail;
20880 {
20881 PyThreadState* __tstate = wxPyBeginAllowThreads();
20882 (arg1)->SetCollate(arg2);
20883
20884 wxPyEndAllowThreads(__tstate);
20885 if (PyErr_Occurred()) SWIG_fail;
20886 }
20887 Py_INCREF(Py_None); resultobj = Py_None;
20888 return resultobj;
20889 fail:
20890 return NULL;
20891 }
20892
20893
20894 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20895 PyObject *resultobj;
20896 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20897 bool arg2 ;
20898 PyObject * obj0 = 0 ;
20899 PyObject * obj1 = 0 ;
20900 char *kwnames[] = {
20901 (char *) "self",(char *) "flag", NULL
20902 };
20903
20904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20907 arg2 = (bool) SWIG_AsBool(obj1);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 {
20910 PyThreadState* __tstate = wxPyBeginAllowThreads();
20911 (arg1)->SetPrintToFile(arg2);
20912
20913 wxPyEndAllowThreads(__tstate);
20914 if (PyErr_Occurred()) SWIG_fail;
20915 }
20916 Py_INCREF(Py_None); resultobj = Py_None;
20917 return resultobj;
20918 fail:
20919 return NULL;
20920 }
20921
20922
20923 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20924 PyObject *resultobj;
20925 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20926 bool arg2 ;
20927 PyObject * obj0 = 0 ;
20928 PyObject * obj1 = 0 ;
20929 char *kwnames[] = {
20930 (char *) "self",(char *) "flag", NULL
20931 };
20932
20933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20936 arg2 = (bool) SWIG_AsBool(obj1);
20937 if (PyErr_Occurred()) SWIG_fail;
20938 {
20939 PyThreadState* __tstate = wxPyBeginAllowThreads();
20940 (arg1)->SetSetupDialog(arg2);
20941
20942 wxPyEndAllowThreads(__tstate);
20943 if (PyErr_Occurred()) SWIG_fail;
20944 }
20945 Py_INCREF(Py_None); resultobj = Py_None;
20946 return resultobj;
20947 fail:
20948 return NULL;
20949 }
20950
20951
20952 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20953 PyObject *resultobj;
20954 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20955 bool arg2 ;
20956 PyObject * obj0 = 0 ;
20957 PyObject * obj1 = 0 ;
20958 char *kwnames[] = {
20959 (char *) "self",(char *) "flag", NULL
20960 };
20961
20962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20965 arg2 = (bool) SWIG_AsBool(obj1);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 {
20968 PyThreadState* __tstate = wxPyBeginAllowThreads();
20969 (arg1)->EnablePrintToFile(arg2);
20970
20971 wxPyEndAllowThreads(__tstate);
20972 if (PyErr_Occurred()) SWIG_fail;
20973 }
20974 Py_INCREF(Py_None); resultobj = Py_None;
20975 return resultobj;
20976 fail:
20977 return NULL;
20978 }
20979
20980
20981 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20982 PyObject *resultobj;
20983 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20984 bool arg2 ;
20985 PyObject * obj0 = 0 ;
20986 PyObject * obj1 = 0 ;
20987 char *kwnames[] = {
20988 (char *) "self",(char *) "flag", NULL
20989 };
20990
20991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20994 arg2 = (bool) SWIG_AsBool(obj1);
20995 if (PyErr_Occurred()) SWIG_fail;
20996 {
20997 PyThreadState* __tstate = wxPyBeginAllowThreads();
20998 (arg1)->EnableSelection(arg2);
20999
21000 wxPyEndAllowThreads(__tstate);
21001 if (PyErr_Occurred()) SWIG_fail;
21002 }
21003 Py_INCREF(Py_None); resultobj = Py_None;
21004 return resultobj;
21005 fail:
21006 return NULL;
21007 }
21008
21009
21010 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21011 PyObject *resultobj;
21012 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21013 bool arg2 ;
21014 PyObject * obj0 = 0 ;
21015 PyObject * obj1 = 0 ;
21016 char *kwnames[] = {
21017 (char *) "self",(char *) "flag", NULL
21018 };
21019
21020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21023 arg2 = (bool) SWIG_AsBool(obj1);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 {
21026 PyThreadState* __tstate = wxPyBeginAllowThreads();
21027 (arg1)->EnablePageNumbers(arg2);
21028
21029 wxPyEndAllowThreads(__tstate);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 }
21032 Py_INCREF(Py_None); resultobj = Py_None;
21033 return resultobj;
21034 fail:
21035 return NULL;
21036 }
21037
21038
21039 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21040 PyObject *resultobj;
21041 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21042 bool arg2 ;
21043 PyObject * obj0 = 0 ;
21044 PyObject * obj1 = 0 ;
21045 char *kwnames[] = {
21046 (char *) "self",(char *) "flag", NULL
21047 };
21048
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21052 arg2 = (bool) SWIG_AsBool(obj1);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 {
21055 PyThreadState* __tstate = wxPyBeginAllowThreads();
21056 (arg1)->EnableHelp(arg2);
21057
21058 wxPyEndAllowThreads(__tstate);
21059 if (PyErr_Occurred()) SWIG_fail;
21060 }
21061 Py_INCREF(Py_None); resultobj = Py_None;
21062 return resultobj;
21063 fail:
21064 return NULL;
21065 }
21066
21067
21068 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21069 PyObject *resultobj;
21070 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21071 bool result;
21072 PyObject * obj0 = 0 ;
21073 char *kwnames[] = {
21074 (char *) "self", NULL
21075 };
21076
21077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21080 {
21081 PyThreadState* __tstate = wxPyBeginAllowThreads();
21082 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21083
21084 wxPyEndAllowThreads(__tstate);
21085 if (PyErr_Occurred()) SWIG_fail;
21086 }
21087 {
21088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21089 }
21090 return resultobj;
21091 fail:
21092 return NULL;
21093 }
21094
21095
21096 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21097 PyObject *resultobj;
21098 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21099 bool result;
21100 PyObject * obj0 = 0 ;
21101 char *kwnames[] = {
21102 (char *) "self", NULL
21103 };
21104
21105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21108 {
21109 PyThreadState* __tstate = wxPyBeginAllowThreads();
21110 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21111
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 {
21116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21117 }
21118 return resultobj;
21119 fail:
21120 return NULL;
21121 }
21122
21123
21124 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21125 PyObject *resultobj;
21126 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21127 bool result;
21128 PyObject * obj0 = 0 ;
21129 char *kwnames[] = {
21130 (char *) "self", NULL
21131 };
21132
21133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21136 {
21137 PyThreadState* __tstate = wxPyBeginAllowThreads();
21138 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21139
21140 wxPyEndAllowThreads(__tstate);
21141 if (PyErr_Occurred()) SWIG_fail;
21142 }
21143 {
21144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21145 }
21146 return resultobj;
21147 fail:
21148 return NULL;
21149 }
21150
21151
21152 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21153 PyObject *resultobj;
21154 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21155 bool result;
21156 PyObject * obj0 = 0 ;
21157 char *kwnames[] = {
21158 (char *) "self", NULL
21159 };
21160
21161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21164 {
21165 PyThreadState* __tstate = wxPyBeginAllowThreads();
21166 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21167
21168 wxPyEndAllowThreads(__tstate);
21169 if (PyErr_Occurred()) SWIG_fail;
21170 }
21171 {
21172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21173 }
21174 return resultobj;
21175 fail:
21176 return NULL;
21177 }
21178
21179
21180 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21181 PyObject *resultobj;
21182 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21183 bool result;
21184 PyObject * obj0 = 0 ;
21185 char *kwnames[] = {
21186 (char *) "self", NULL
21187 };
21188
21189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21192 {
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21195
21196 wxPyEndAllowThreads(__tstate);
21197 if (PyErr_Occurred()) SWIG_fail;
21198 }
21199 {
21200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21201 }
21202 return resultobj;
21203 fail:
21204 return NULL;
21205 }
21206
21207
21208 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21209 PyObject *resultobj;
21210 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21211 wxPrintData *result;
21212 PyObject * obj0 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21220 {
21221 PyThreadState* __tstate = wxPyBeginAllowThreads();
21222 {
21223 wxPrintData &_result_ref = (arg1)->GetPrintData();
21224 result = (wxPrintData *) &_result_ref;
21225 }
21226
21227 wxPyEndAllowThreads(__tstate);
21228 if (PyErr_Occurred()) SWIG_fail;
21229 }
21230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21231 return resultobj;
21232 fail:
21233 return NULL;
21234 }
21235
21236
21237 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21238 PyObject *resultobj;
21239 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21240 wxPrintData *arg2 = 0 ;
21241 PyObject * obj0 = 0 ;
21242 PyObject * obj1 = 0 ;
21243 char *kwnames[] = {
21244 (char *) "self",(char *) "printData", NULL
21245 };
21246
21247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21250 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21251 SWIG_POINTER_EXCEPTION | 0)) == -1)
21252 SWIG_fail;
21253 if (arg2 == NULL) {
21254 PyErr_SetString(PyExc_TypeError,"null reference");
21255 SWIG_fail;
21256 }
21257 {
21258 PyThreadState* __tstate = wxPyBeginAllowThreads();
21259 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21260
21261 wxPyEndAllowThreads(__tstate);
21262 if (PyErr_Occurred()) SWIG_fail;
21263 }
21264 Py_INCREF(Py_None); resultobj = Py_None;
21265 return resultobj;
21266 fail:
21267 return NULL;
21268 }
21269
21270
21271 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
21272 PyObject *obj;
21273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21274 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21275 Py_INCREF(obj);
21276 return Py_BuildValue((char *)"");
21277 }
21278 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21279 PyObject *resultobj;
21280 wxWindow *arg1 = (wxWindow *) 0 ;
21281 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21282 wxPrintDialog *result;
21283 PyObject * obj0 = 0 ;
21284 PyObject * obj1 = 0 ;
21285 char *kwnames[] = {
21286 (char *) "parent",(char *) "data", NULL
21287 };
21288
21289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21292 if (obj1) {
21293 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21295 }
21296 {
21297 if (!wxPyCheckForApp()) SWIG_fail;
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21305 return resultobj;
21306 fail:
21307 return NULL;
21308 }
21309
21310
21311 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21314 wxPrintDialogData *result;
21315 PyObject * obj0 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21323 {
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 {
21326 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21327 result = (wxPrintDialogData *) &_result_ref;
21328 }
21329
21330 wxPyEndAllowThreads(__tstate);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 }
21333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21334 return resultobj;
21335 fail:
21336 return NULL;
21337 }
21338
21339
21340 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21341 PyObject *resultobj;
21342 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21343 wxDC *result;
21344 PyObject * obj0 = 0 ;
21345 char *kwnames[] = {
21346 (char *) "self", NULL
21347 };
21348
21349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21352 {
21353 PyThreadState* __tstate = wxPyBeginAllowThreads();
21354 result = (wxDC *)(arg1)->GetPrintDC();
21355
21356 wxPyEndAllowThreads(__tstate);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 {
21360 resultobj = wxPyMake_wxObject(result, 1);
21361 }
21362 return resultobj;
21363 fail:
21364 return NULL;
21365 }
21366
21367
21368 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21369 PyObject *resultobj;
21370 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21371 int result;
21372 PyObject * obj0 = 0 ;
21373 char *kwnames[] = {
21374 (char *) "self", NULL
21375 };
21376
21377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 result = (int)(arg1)->ShowModal();
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 resultobj = SWIG_FromInt((int)result);
21388 return resultobj;
21389 fail:
21390 return NULL;
21391 }
21392
21393
21394 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21395 PyObject *obj;
21396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21397 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21398 Py_INCREF(obj);
21399 return Py_BuildValue((char *)"");
21400 }
21401 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj;
21403 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21404 wxPrinter *result;
21405 PyObject * obj0 = 0 ;
21406 char *kwnames[] = {
21407 (char *) "data", NULL
21408 };
21409
21410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21411 if (obj0) {
21412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21414 }
21415 {
21416 if (!wxPyCheckForApp()) SWIG_fail;
21417 PyThreadState* __tstate = wxPyBeginAllowThreads();
21418 result = (wxPrinter *)new wxPrinter(arg1);
21419
21420 wxPyEndAllowThreads(__tstate);
21421 if (PyErr_Occurred()) SWIG_fail;
21422 }
21423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21424 return resultobj;
21425 fail:
21426 return NULL;
21427 }
21428
21429
21430 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21431 PyObject *resultobj;
21432 wxPrinter *arg1 = (wxPrinter *) 0 ;
21433 PyObject * obj0 = 0 ;
21434 char *kwnames[] = {
21435 (char *) "self", NULL
21436 };
21437
21438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 delete arg1;
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 Py_INCREF(Py_None); resultobj = Py_None;
21449 return resultobj;
21450 fail:
21451 return NULL;
21452 }
21453
21454
21455 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21456 PyObject *resultobj;
21457 wxPrinter *arg1 = (wxPrinter *) 0 ;
21458 wxWindow *arg2 = (wxWindow *) 0 ;
21459 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21460 PyObject * obj0 = 0 ;
21461 PyObject * obj1 = 0 ;
21462 PyObject * obj2 = 0 ;
21463 char *kwnames[] = {
21464 (char *) "self",(char *) "parent",(char *) "printout", NULL
21465 };
21466
21467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21472 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21474 {
21475 PyThreadState* __tstate = wxPyBeginAllowThreads();
21476 (arg1)->CreateAbortWindow(arg2,arg3);
21477
21478 wxPyEndAllowThreads(__tstate);
21479 if (PyErr_Occurred()) SWIG_fail;
21480 }
21481 Py_INCREF(Py_None); resultobj = Py_None;
21482 return resultobj;
21483 fail:
21484 return NULL;
21485 }
21486
21487
21488 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21489 PyObject *resultobj;
21490 wxPrinter *arg1 = (wxPrinter *) 0 ;
21491 wxPrintDialogData *result;
21492 PyObject * obj0 = 0 ;
21493 char *kwnames[] = {
21494 (char *) "self", NULL
21495 };
21496
21497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21500 {
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 {
21503 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21504 result = (wxPrintDialogData *) &_result_ref;
21505 }
21506
21507 wxPyEndAllowThreads(__tstate);
21508 if (PyErr_Occurred()) SWIG_fail;
21509 }
21510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21511 return resultobj;
21512 fail:
21513 return NULL;
21514 }
21515
21516
21517 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21518 PyObject *resultobj;
21519 wxPrinter *arg1 = (wxPrinter *) 0 ;
21520 wxWindow *arg2 = (wxWindow *) 0 ;
21521 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21522 int arg4 = (int) True ;
21523 bool result;
21524 PyObject * obj0 = 0 ;
21525 PyObject * obj1 = 0 ;
21526 PyObject * obj2 = 0 ;
21527 PyObject * obj3 = 0 ;
21528 char *kwnames[] = {
21529 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21530 };
21531
21532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21537 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21539 if (obj3) {
21540 arg4 = (int) SWIG_AsInt(obj3);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21546
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 {
21551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21552 }
21553 return resultobj;
21554 fail:
21555 return NULL;
21556 }
21557
21558
21559 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21560 PyObject *resultobj;
21561 wxPrinter *arg1 = (wxPrinter *) 0 ;
21562 wxWindow *arg2 = (wxWindow *) 0 ;
21563 wxDC *result;
21564 PyObject * obj0 = 0 ;
21565 PyObject * obj1 = 0 ;
21566 char *kwnames[] = {
21567 (char *) "self",(char *) "parent", NULL
21568 };
21569
21570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21573 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21575 {
21576 PyThreadState* __tstate = wxPyBeginAllowThreads();
21577 result = (wxDC *)(arg1)->PrintDialog(arg2);
21578
21579 wxPyEndAllowThreads(__tstate);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
21582 {
21583 resultobj = wxPyMake_wxObject(result, 0);
21584 }
21585 return resultobj;
21586 fail:
21587 return NULL;
21588 }
21589
21590
21591 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21592 PyObject *resultobj;
21593 wxPrinter *arg1 = (wxPrinter *) 0 ;
21594 wxWindow *arg2 = (wxWindow *) 0 ;
21595 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21596 wxString *arg4 = 0 ;
21597 bool temp4 = False ;
21598 PyObject * obj0 = 0 ;
21599 PyObject * obj1 = 0 ;
21600 PyObject * obj2 = 0 ;
21601 PyObject * obj3 = 0 ;
21602 char *kwnames[] = {
21603 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21604 };
21605
21606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21611 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21613 {
21614 arg4 = wxString_in_helper(obj3);
21615 if (arg4 == NULL) SWIG_fail;
21616 temp4 = True;
21617 }
21618 {
21619 PyThreadState* __tstate = wxPyBeginAllowThreads();
21620 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21621
21622 wxPyEndAllowThreads(__tstate);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 Py_INCREF(Py_None); resultobj = Py_None;
21626 {
21627 if (temp4)
21628 delete arg4;
21629 }
21630 return resultobj;
21631 fail:
21632 {
21633 if (temp4)
21634 delete arg4;
21635 }
21636 return NULL;
21637 }
21638
21639
21640 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21641 PyObject *resultobj;
21642 wxPrinter *arg1 = (wxPrinter *) 0 ;
21643 wxWindow *arg2 = (wxWindow *) 0 ;
21644 bool result;
21645 PyObject * obj0 = 0 ;
21646 PyObject * obj1 = 0 ;
21647 char *kwnames[] = {
21648 (char *) "self",(char *) "parent", NULL
21649 };
21650
21651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21656 {
21657 PyThreadState* __tstate = wxPyBeginAllowThreads();
21658 result = (bool)(arg1)->Setup(arg2);
21659
21660 wxPyEndAllowThreads(__tstate);
21661 if (PyErr_Occurred()) SWIG_fail;
21662 }
21663 {
21664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21665 }
21666 return resultobj;
21667 fail:
21668 return NULL;
21669 }
21670
21671
21672 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21673 PyObject *resultobj;
21674 wxPrinter *arg1 = (wxPrinter *) 0 ;
21675 bool result;
21676 PyObject * obj0 = 0 ;
21677 char *kwnames[] = {
21678 (char *) "self", NULL
21679 };
21680
21681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21684 {
21685 PyThreadState* __tstate = wxPyBeginAllowThreads();
21686 result = (bool)(arg1)->GetAbort();
21687
21688 wxPyEndAllowThreads(__tstate);
21689 if (PyErr_Occurred()) SWIG_fail;
21690 }
21691 {
21692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21693 }
21694 return resultobj;
21695 fail:
21696 return NULL;
21697 }
21698
21699
21700 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21701 PyObject *resultobj;
21702 int result;
21703 char *kwnames[] = {
21704 NULL
21705 };
21706
21707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 result = (int)wxPrinter::GetLastError();
21711
21712 wxPyEndAllowThreads(__tstate);
21713 if (PyErr_Occurred()) SWIG_fail;
21714 }
21715 resultobj = SWIG_FromInt((int)result);
21716 return resultobj;
21717 fail:
21718 return NULL;
21719 }
21720
21721
21722 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21723 PyObject *obj;
21724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21725 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21726 Py_INCREF(obj);
21727 return Py_BuildValue((char *)"");
21728 }
21729 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21730 PyObject *resultobj;
21731 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21732 wxString *arg1 = (wxString *) &arg1_defvalue ;
21733 wxPyPrintout *result;
21734 bool temp1 = False ;
21735 PyObject * obj0 = 0 ;
21736 char *kwnames[] = {
21737 (char *) "title", NULL
21738 };
21739
21740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21741 if (obj0) {
21742 {
21743 arg1 = wxString_in_helper(obj0);
21744 if (arg1 == NULL) SWIG_fail;
21745 temp1 = True;
21746 }
21747 }
21748 {
21749 if (!wxPyCheckForApp()) SWIG_fail;
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21752
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 {
21757 resultobj = wxPyMake_wxObject(result, 1);
21758 }
21759 {
21760 if (temp1)
21761 delete arg1;
21762 }
21763 return resultobj;
21764 fail:
21765 {
21766 if (temp1)
21767 delete arg1;
21768 }
21769 return NULL;
21770 }
21771
21772
21773 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21774 PyObject *resultobj;
21775 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21776 PyObject *arg2 = (PyObject *) 0 ;
21777 PyObject *arg3 = (PyObject *) 0 ;
21778 PyObject * obj0 = 0 ;
21779 PyObject * obj1 = 0 ;
21780 PyObject * obj2 = 0 ;
21781 char *kwnames[] = {
21782 (char *) "self",(char *) "self",(char *) "_class", NULL
21783 };
21784
21785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21788 arg2 = obj1;
21789 arg3 = obj2;
21790 {
21791 PyThreadState* __tstate = wxPyBeginAllowThreads();
21792 (arg1)->_setCallbackInfo(arg2,arg3);
21793
21794 wxPyEndAllowThreads(__tstate);
21795 if (PyErr_Occurred()) SWIG_fail;
21796 }
21797 Py_INCREF(Py_None); resultobj = Py_None;
21798 return resultobj;
21799 fail:
21800 return NULL;
21801 }
21802
21803
21804 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21805 PyObject *resultobj;
21806 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21807 wxString result;
21808 PyObject * obj0 = 0 ;
21809 char *kwnames[] = {
21810 (char *) "self", NULL
21811 };
21812
21813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21816 {
21817 PyThreadState* __tstate = wxPyBeginAllowThreads();
21818 result = ((wxPyPrintout const *)arg1)->GetTitle();
21819
21820 wxPyEndAllowThreads(__tstate);
21821 if (PyErr_Occurred()) SWIG_fail;
21822 }
21823 {
21824 #if wxUSE_UNICODE
21825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21826 #else
21827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21828 #endif
21829 }
21830 return resultobj;
21831 fail:
21832 return NULL;
21833 }
21834
21835
21836 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21837 PyObject *resultobj;
21838 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21839 wxDC *result;
21840 PyObject * obj0 = 0 ;
21841 char *kwnames[] = {
21842 (char *) "self", NULL
21843 };
21844
21845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21848 {
21849 PyThreadState* __tstate = wxPyBeginAllowThreads();
21850 result = (wxDC *)(arg1)->GetDC();
21851
21852 wxPyEndAllowThreads(__tstate);
21853 if (PyErr_Occurred()) SWIG_fail;
21854 }
21855 {
21856 resultobj = wxPyMake_wxObject(result, 0);
21857 }
21858 return resultobj;
21859 fail:
21860 return NULL;
21861 }
21862
21863
21864 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21865 PyObject *resultobj;
21866 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21867 wxDC *arg2 = (wxDC *) 0 ;
21868 PyObject * obj0 = 0 ;
21869 PyObject * obj1 = 0 ;
21870 char *kwnames[] = {
21871 (char *) "self",(char *) "dc", NULL
21872 };
21873
21874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21879 {
21880 PyThreadState* __tstate = wxPyBeginAllowThreads();
21881 (arg1)->SetDC(arg2);
21882
21883 wxPyEndAllowThreads(__tstate);
21884 if (PyErr_Occurred()) SWIG_fail;
21885 }
21886 Py_INCREF(Py_None); resultobj = Py_None;
21887 return resultobj;
21888 fail:
21889 return NULL;
21890 }
21891
21892
21893 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21894 PyObject *resultobj;
21895 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21896 int arg2 ;
21897 int arg3 ;
21898 PyObject * obj0 = 0 ;
21899 PyObject * obj1 = 0 ;
21900 PyObject * obj2 = 0 ;
21901 char *kwnames[] = {
21902 (char *) "self",(char *) "w",(char *) "h", NULL
21903 };
21904
21905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21908 arg2 = (int) SWIG_AsInt(obj1);
21909 if (PyErr_Occurred()) SWIG_fail;
21910 arg3 = (int) SWIG_AsInt(obj2);
21911 if (PyErr_Occurred()) SWIG_fail;
21912 {
21913 PyThreadState* __tstate = wxPyBeginAllowThreads();
21914 (arg1)->SetPageSizePixels(arg2,arg3);
21915
21916 wxPyEndAllowThreads(__tstate);
21917 if (PyErr_Occurred()) SWIG_fail;
21918 }
21919 Py_INCREF(Py_None); resultobj = Py_None;
21920 return resultobj;
21921 fail:
21922 return NULL;
21923 }
21924
21925
21926 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21927 PyObject *resultobj;
21928 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21929 int *arg2 = (int *) 0 ;
21930 int *arg3 = (int *) 0 ;
21931 int temp2 ;
21932 int temp3 ;
21933 PyObject * obj0 = 0 ;
21934 char *kwnames[] = {
21935 (char *) "self", NULL
21936 };
21937
21938 arg2 = &temp2;
21939 arg3 = &temp3;
21940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21943 {
21944 PyThreadState* __tstate = wxPyBeginAllowThreads();
21945 (arg1)->GetPageSizePixels(arg2,arg3);
21946
21947 wxPyEndAllowThreads(__tstate);
21948 if (PyErr_Occurred()) SWIG_fail;
21949 }
21950 Py_INCREF(Py_None); resultobj = Py_None;
21951 {
21952 PyObject *o = PyInt_FromLong((long) (*arg2));
21953 resultobj = t_output_helper(resultobj,o);
21954 }
21955 {
21956 PyObject *o = PyInt_FromLong((long) (*arg3));
21957 resultobj = t_output_helper(resultobj,o);
21958 }
21959 return resultobj;
21960 fail:
21961 return NULL;
21962 }
21963
21964
21965 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21966 PyObject *resultobj;
21967 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21968 int arg2 ;
21969 int arg3 ;
21970 PyObject * obj0 = 0 ;
21971 PyObject * obj1 = 0 ;
21972 PyObject * obj2 = 0 ;
21973 char *kwnames[] = {
21974 (char *) "self",(char *) "w",(char *) "h", NULL
21975 };
21976
21977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21980 arg2 = (int) SWIG_AsInt(obj1);
21981 if (PyErr_Occurred()) SWIG_fail;
21982 arg3 = (int) SWIG_AsInt(obj2);
21983 if (PyErr_Occurred()) SWIG_fail;
21984 {
21985 PyThreadState* __tstate = wxPyBeginAllowThreads();
21986 (arg1)->SetPageSizeMM(arg2,arg3);
21987
21988 wxPyEndAllowThreads(__tstate);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 }
21991 Py_INCREF(Py_None); resultobj = Py_None;
21992 return resultobj;
21993 fail:
21994 return NULL;
21995 }
21996
21997
21998 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21999 PyObject *resultobj;
22000 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22001 int *arg2 = (int *) 0 ;
22002 int *arg3 = (int *) 0 ;
22003 int temp2 ;
22004 int temp3 ;
22005 PyObject * obj0 = 0 ;
22006 char *kwnames[] = {
22007 (char *) "self", NULL
22008 };
22009
22010 arg2 = &temp2;
22011 arg3 = &temp3;
22012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22015 {
22016 PyThreadState* __tstate = wxPyBeginAllowThreads();
22017 (arg1)->GetPageSizeMM(arg2,arg3);
22018
22019 wxPyEndAllowThreads(__tstate);
22020 if (PyErr_Occurred()) SWIG_fail;
22021 }
22022 Py_INCREF(Py_None); resultobj = Py_None;
22023 {
22024 PyObject *o = PyInt_FromLong((long) (*arg2));
22025 resultobj = t_output_helper(resultobj,o);
22026 }
22027 {
22028 PyObject *o = PyInt_FromLong((long) (*arg3));
22029 resultobj = t_output_helper(resultobj,o);
22030 }
22031 return resultobj;
22032 fail:
22033 return NULL;
22034 }
22035
22036
22037 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22038 PyObject *resultobj;
22039 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22040 int arg2 ;
22041 int arg3 ;
22042 PyObject * obj0 = 0 ;
22043 PyObject * obj1 = 0 ;
22044 PyObject * obj2 = 0 ;
22045 char *kwnames[] = {
22046 (char *) "self",(char *) "x",(char *) "y", NULL
22047 };
22048
22049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22052 arg2 = (int) SWIG_AsInt(obj1);
22053 if (PyErr_Occurred()) SWIG_fail;
22054 arg3 = (int) SWIG_AsInt(obj2);
22055 if (PyErr_Occurred()) SWIG_fail;
22056 {
22057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22058 (arg1)->SetPPIScreen(arg2,arg3);
22059
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 Py_INCREF(Py_None); resultobj = Py_None;
22064 return resultobj;
22065 fail:
22066 return NULL;
22067 }
22068
22069
22070 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22071 PyObject *resultobj;
22072 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22073 int *arg2 = (int *) 0 ;
22074 int *arg3 = (int *) 0 ;
22075 int temp2 ;
22076 int temp3 ;
22077 PyObject * obj0 = 0 ;
22078 char *kwnames[] = {
22079 (char *) "self", NULL
22080 };
22081
22082 arg2 = &temp2;
22083 arg3 = &temp3;
22084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22087 {
22088 PyThreadState* __tstate = wxPyBeginAllowThreads();
22089 (arg1)->GetPPIScreen(arg2,arg3);
22090
22091 wxPyEndAllowThreads(__tstate);
22092 if (PyErr_Occurred()) SWIG_fail;
22093 }
22094 Py_INCREF(Py_None); resultobj = Py_None;
22095 {
22096 PyObject *o = PyInt_FromLong((long) (*arg2));
22097 resultobj = t_output_helper(resultobj,o);
22098 }
22099 {
22100 PyObject *o = PyInt_FromLong((long) (*arg3));
22101 resultobj = t_output_helper(resultobj,o);
22102 }
22103 return resultobj;
22104 fail:
22105 return NULL;
22106 }
22107
22108
22109 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22110 PyObject *resultobj;
22111 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22112 int arg2 ;
22113 int arg3 ;
22114 PyObject * obj0 = 0 ;
22115 PyObject * obj1 = 0 ;
22116 PyObject * obj2 = 0 ;
22117 char *kwnames[] = {
22118 (char *) "self",(char *) "x",(char *) "y", NULL
22119 };
22120
22121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22124 arg2 = (int) SWIG_AsInt(obj1);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 arg3 = (int) SWIG_AsInt(obj2);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 {
22129 PyThreadState* __tstate = wxPyBeginAllowThreads();
22130 (arg1)->SetPPIPrinter(arg2,arg3);
22131
22132 wxPyEndAllowThreads(__tstate);
22133 if (PyErr_Occurred()) SWIG_fail;
22134 }
22135 Py_INCREF(Py_None); resultobj = Py_None;
22136 return resultobj;
22137 fail:
22138 return NULL;
22139 }
22140
22141
22142 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22143 PyObject *resultobj;
22144 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22145 int *arg2 = (int *) 0 ;
22146 int *arg3 = (int *) 0 ;
22147 int temp2 ;
22148 int temp3 ;
22149 PyObject * obj0 = 0 ;
22150 char *kwnames[] = {
22151 (char *) "self", NULL
22152 };
22153
22154 arg2 = &temp2;
22155 arg3 = &temp3;
22156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22159 {
22160 PyThreadState* __tstate = wxPyBeginAllowThreads();
22161 (arg1)->GetPPIPrinter(arg2,arg3);
22162
22163 wxPyEndAllowThreads(__tstate);
22164 if (PyErr_Occurred()) SWIG_fail;
22165 }
22166 Py_INCREF(Py_None); resultobj = Py_None;
22167 {
22168 PyObject *o = PyInt_FromLong((long) (*arg2));
22169 resultobj = t_output_helper(resultobj,o);
22170 }
22171 {
22172 PyObject *o = PyInt_FromLong((long) (*arg3));
22173 resultobj = t_output_helper(resultobj,o);
22174 }
22175 return resultobj;
22176 fail:
22177 return NULL;
22178 }
22179
22180
22181 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22182 PyObject *resultobj;
22183 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22184 bool result;
22185 PyObject * obj0 = 0 ;
22186 char *kwnames[] = {
22187 (char *) "self", NULL
22188 };
22189
22190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22193 {
22194 PyThreadState* __tstate = wxPyBeginAllowThreads();
22195 result = (bool)(arg1)->IsPreview();
22196
22197 wxPyEndAllowThreads(__tstate);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 }
22200 {
22201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22202 }
22203 return resultobj;
22204 fail:
22205 return NULL;
22206 }
22207
22208
22209 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22210 PyObject *resultobj;
22211 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22212 bool arg2 ;
22213 PyObject * obj0 = 0 ;
22214 PyObject * obj1 = 0 ;
22215 char *kwnames[] = {
22216 (char *) "self",(char *) "p", NULL
22217 };
22218
22219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22222 arg2 = (bool) SWIG_AsBool(obj1);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 {
22225 PyThreadState* __tstate = wxPyBeginAllowThreads();
22226 (arg1)->SetIsPreview(arg2);
22227
22228 wxPyEndAllowThreads(__tstate);
22229 if (PyErr_Occurred()) SWIG_fail;
22230 }
22231 Py_INCREF(Py_None); resultobj = Py_None;
22232 return resultobj;
22233 fail:
22234 return NULL;
22235 }
22236
22237
22238 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22239 PyObject *resultobj;
22240 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22241 int arg2 ;
22242 int arg3 ;
22243 bool result;
22244 PyObject * obj0 = 0 ;
22245 PyObject * obj1 = 0 ;
22246 PyObject * obj2 = 0 ;
22247 char *kwnames[] = {
22248 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22249 };
22250
22251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22254 arg2 = (int) SWIG_AsInt(obj1);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 arg3 = (int) SWIG_AsInt(obj2);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 {
22259 PyThreadState* __tstate = wxPyBeginAllowThreads();
22260 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22261
22262 wxPyEndAllowThreads(__tstate);
22263 if (PyErr_Occurred()) SWIG_fail;
22264 }
22265 {
22266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22267 }
22268 return resultobj;
22269 fail:
22270 return NULL;
22271 }
22272
22273
22274 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22275 PyObject *resultobj;
22276 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22277 PyObject * obj0 = 0 ;
22278 char *kwnames[] = {
22279 (char *) "self", NULL
22280 };
22281
22282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22285 {
22286 PyThreadState* __tstate = wxPyBeginAllowThreads();
22287 (arg1)->base_OnEndDocument();
22288
22289 wxPyEndAllowThreads(__tstate);
22290 if (PyErr_Occurred()) SWIG_fail;
22291 }
22292 Py_INCREF(Py_None); resultobj = Py_None;
22293 return resultobj;
22294 fail:
22295 return NULL;
22296 }
22297
22298
22299 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22300 PyObject *resultobj;
22301 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22302 PyObject * obj0 = 0 ;
22303 char *kwnames[] = {
22304 (char *) "self", NULL
22305 };
22306
22307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 (arg1)->base_OnBeginPrinting();
22313
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
22317 Py_INCREF(Py_None); resultobj = Py_None;
22318 return resultobj;
22319 fail:
22320 return NULL;
22321 }
22322
22323
22324 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22325 PyObject *resultobj;
22326 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22327 PyObject * obj0 = 0 ;
22328 char *kwnames[] = {
22329 (char *) "self", NULL
22330 };
22331
22332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22335 {
22336 PyThreadState* __tstate = wxPyBeginAllowThreads();
22337 (arg1)->base_OnEndPrinting();
22338
22339 wxPyEndAllowThreads(__tstate);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 }
22342 Py_INCREF(Py_None); resultobj = Py_None;
22343 return resultobj;
22344 fail:
22345 return NULL;
22346 }
22347
22348
22349 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22350 PyObject *resultobj;
22351 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22352 PyObject * obj0 = 0 ;
22353 char *kwnames[] = {
22354 (char *) "self", NULL
22355 };
22356
22357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22360 {
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
22362 (arg1)->base_OnPreparePrinting();
22363
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 Py_INCREF(Py_None); resultobj = Py_None;
22368 return resultobj;
22369 fail:
22370 return NULL;
22371 }
22372
22373
22374 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22375 PyObject *resultobj;
22376 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22377 int arg2 ;
22378 bool result;
22379 PyObject * obj0 = 0 ;
22380 PyObject * obj1 = 0 ;
22381 char *kwnames[] = {
22382 (char *) "self",(char *) "page", NULL
22383 };
22384
22385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22388 arg2 = (int) SWIG_AsInt(obj1);
22389 if (PyErr_Occurred()) SWIG_fail;
22390 {
22391 PyThreadState* __tstate = wxPyBeginAllowThreads();
22392 result = (bool)(arg1)->base_HasPage(arg2);
22393
22394 wxPyEndAllowThreads(__tstate);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 {
22398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22399 }
22400 return resultobj;
22401 fail:
22402 return NULL;
22403 }
22404
22405
22406 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22407 PyObject *resultobj;
22408 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22409 int *arg2 = (int *) 0 ;
22410 int *arg3 = (int *) 0 ;
22411 int *arg4 = (int *) 0 ;
22412 int *arg5 = (int *) 0 ;
22413 int temp2 ;
22414 int temp3 ;
22415 int temp4 ;
22416 int temp5 ;
22417 PyObject * obj0 = 0 ;
22418 char *kwnames[] = {
22419 (char *) "self", NULL
22420 };
22421
22422 arg2 = &temp2;
22423 arg3 = &temp3;
22424 arg4 = &temp4;
22425 arg5 = &temp5;
22426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22429 {
22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
22431 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22432
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 Py_INCREF(Py_None); resultobj = Py_None;
22437 {
22438 PyObject *o = PyInt_FromLong((long) (*arg2));
22439 resultobj = t_output_helper(resultobj,o);
22440 }
22441 {
22442 PyObject *o = PyInt_FromLong((long) (*arg3));
22443 resultobj = t_output_helper(resultobj,o);
22444 }
22445 {
22446 PyObject *o = PyInt_FromLong((long) (*arg4));
22447 resultobj = t_output_helper(resultobj,o);
22448 }
22449 {
22450 PyObject *o = PyInt_FromLong((long) (*arg5));
22451 resultobj = t_output_helper(resultobj,o);
22452 }
22453 return resultobj;
22454 fail:
22455 return NULL;
22456 }
22457
22458
22459 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22460 PyObject *obj;
22461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22462 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22463 Py_INCREF(obj);
22464 return Py_BuildValue((char *)"");
22465 }
22466 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22467 PyObject *resultobj;
22468 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22469 wxWindow *arg2 = (wxWindow *) 0 ;
22470 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22471 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22472 wxSize const &arg4_defvalue = wxDefaultSize ;
22473 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22474 long arg5 = (long) 0 ;
22475 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22476 wxString *arg6 = (wxString *) &arg6_defvalue ;
22477 wxPreviewCanvas *result;
22478 wxPoint temp3 ;
22479 wxSize temp4 ;
22480 bool temp6 = False ;
22481 PyObject * obj0 = 0 ;
22482 PyObject * obj1 = 0 ;
22483 PyObject * obj2 = 0 ;
22484 PyObject * obj3 = 0 ;
22485 PyObject * obj4 = 0 ;
22486 PyObject * obj5 = 0 ;
22487 char *kwnames[] = {
22488 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22489 };
22490
22491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22496 if (obj2) {
22497 {
22498 arg3 = &temp3;
22499 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22500 }
22501 }
22502 if (obj3) {
22503 {
22504 arg4 = &temp4;
22505 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22506 }
22507 }
22508 if (obj4) {
22509 arg5 = (long) SWIG_AsLong(obj4);
22510 if (PyErr_Occurred()) SWIG_fail;
22511 }
22512 if (obj5) {
22513 {
22514 arg6 = wxString_in_helper(obj5);
22515 if (arg6 == NULL) SWIG_fail;
22516 temp6 = True;
22517 }
22518 }
22519 {
22520 if (!wxPyCheckForApp()) SWIG_fail;
22521 PyThreadState* __tstate = wxPyBeginAllowThreads();
22522 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22523
22524 wxPyEndAllowThreads(__tstate);
22525 if (PyErr_Occurred()) SWIG_fail;
22526 }
22527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22528 {
22529 if (temp6)
22530 delete arg6;
22531 }
22532 return resultobj;
22533 fail:
22534 {
22535 if (temp6)
22536 delete arg6;
22537 }
22538 return NULL;
22539 }
22540
22541
22542 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22543 PyObject *obj;
22544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22545 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22546 Py_INCREF(obj);
22547 return Py_BuildValue((char *)"");
22548 }
22549 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22550 PyObject *resultobj;
22551 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22552 wxFrame *arg2 = (wxFrame *) 0 ;
22553 wxString *arg3 = 0 ;
22554 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22555 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22556 wxSize const &arg5_defvalue = wxDefaultSize ;
22557 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22558 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22559 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22560 wxString *arg7 = (wxString *) &arg7_defvalue ;
22561 wxPreviewFrame *result;
22562 bool temp3 = False ;
22563 wxPoint temp4 ;
22564 wxSize temp5 ;
22565 bool temp7 = False ;
22566 PyObject * obj0 = 0 ;
22567 PyObject * obj1 = 0 ;
22568 PyObject * obj2 = 0 ;
22569 PyObject * obj3 = 0 ;
22570 PyObject * obj4 = 0 ;
22571 PyObject * obj5 = 0 ;
22572 PyObject * obj6 = 0 ;
22573 char *kwnames[] = {
22574 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22575 };
22576
22577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22582 {
22583 arg3 = wxString_in_helper(obj2);
22584 if (arg3 == NULL) SWIG_fail;
22585 temp3 = True;
22586 }
22587 if (obj3) {
22588 {
22589 arg4 = &temp4;
22590 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22591 }
22592 }
22593 if (obj4) {
22594 {
22595 arg5 = &temp5;
22596 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22597 }
22598 }
22599 if (obj5) {
22600 arg6 = (long) SWIG_AsLong(obj5);
22601 if (PyErr_Occurred()) SWIG_fail;
22602 }
22603 if (obj6) {
22604 {
22605 arg7 = wxString_in_helper(obj6);
22606 if (arg7 == NULL) SWIG_fail;
22607 temp7 = True;
22608 }
22609 }
22610 {
22611 if (!wxPyCheckForApp()) SWIG_fail;
22612 PyThreadState* __tstate = wxPyBeginAllowThreads();
22613 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22614
22615 wxPyEndAllowThreads(__tstate);
22616 if (PyErr_Occurred()) SWIG_fail;
22617 }
22618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22619 {
22620 if (temp3)
22621 delete arg3;
22622 }
22623 {
22624 if (temp7)
22625 delete arg7;
22626 }
22627 return resultobj;
22628 fail:
22629 {
22630 if (temp3)
22631 delete arg3;
22632 }
22633 {
22634 if (temp7)
22635 delete arg7;
22636 }
22637 return NULL;
22638 }
22639
22640
22641 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22642 PyObject *resultobj;
22643 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22644 PyObject * obj0 = 0 ;
22645 char *kwnames[] = {
22646 (char *) "self", NULL
22647 };
22648
22649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 (arg1)->Initialize();
22655
22656 wxPyEndAllowThreads(__tstate);
22657 if (PyErr_Occurred()) SWIG_fail;
22658 }
22659 Py_INCREF(Py_None); resultobj = Py_None;
22660 return resultobj;
22661 fail:
22662 return NULL;
22663 }
22664
22665
22666 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22667 PyObject *resultobj;
22668 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22669 PyObject * obj0 = 0 ;
22670 char *kwnames[] = {
22671 (char *) "self", NULL
22672 };
22673
22674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22677 {
22678 PyThreadState* __tstate = wxPyBeginAllowThreads();
22679 (arg1)->CreateControlBar();
22680
22681 wxPyEndAllowThreads(__tstate);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 }
22684 Py_INCREF(Py_None); resultobj = Py_None;
22685 return resultobj;
22686 fail:
22687 return NULL;
22688 }
22689
22690
22691 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22692 PyObject *resultobj;
22693 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22694 PyObject * obj0 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22702 {
22703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22704 (arg1)->CreateCanvas();
22705
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 Py_INCREF(Py_None); resultobj = Py_None;
22710 return resultobj;
22711 fail:
22712 return NULL;
22713 }
22714
22715
22716 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22717 PyObject *resultobj;
22718 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22719 wxPreviewControlBar *result;
22720 PyObject * obj0 = 0 ;
22721 char *kwnames[] = {
22722 (char *) "self", NULL
22723 };
22724
22725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22728 {
22729 PyThreadState* __tstate = wxPyBeginAllowThreads();
22730 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22731
22732 wxPyEndAllowThreads(__tstate);
22733 if (PyErr_Occurred()) SWIG_fail;
22734 }
22735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22736 return resultobj;
22737 fail:
22738 return NULL;
22739 }
22740
22741
22742 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22743 PyObject *obj;
22744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22745 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22746 Py_INCREF(obj);
22747 return Py_BuildValue((char *)"");
22748 }
22749 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22750 PyObject *resultobj;
22751 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22752 long arg2 ;
22753 wxWindow *arg3 = (wxWindow *) 0 ;
22754 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22755 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22756 wxSize const &arg5_defvalue = wxDefaultSize ;
22757 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22758 long arg6 = (long) wxTAB_TRAVERSAL ;
22759 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22760 wxString *arg7 = (wxString *) &arg7_defvalue ;
22761 wxPreviewControlBar *result;
22762 wxPoint temp4 ;
22763 wxSize temp5 ;
22764 bool temp7 = False ;
22765 PyObject * obj0 = 0 ;
22766 PyObject * obj1 = 0 ;
22767 PyObject * obj2 = 0 ;
22768 PyObject * obj3 = 0 ;
22769 PyObject * obj4 = 0 ;
22770 PyObject * obj5 = 0 ;
22771 PyObject * obj6 = 0 ;
22772 char *kwnames[] = {
22773 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22774 };
22775
22776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22779 arg2 = (long) SWIG_AsLong(obj1);
22780 if (PyErr_Occurred()) SWIG_fail;
22781 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22783 if (obj3) {
22784 {
22785 arg4 = &temp4;
22786 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22787 }
22788 }
22789 if (obj4) {
22790 {
22791 arg5 = &temp5;
22792 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22793 }
22794 }
22795 if (obj5) {
22796 arg6 = (long) SWIG_AsLong(obj5);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
22799 if (obj6) {
22800 {
22801 arg7 = wxString_in_helper(obj6);
22802 if (arg7 == NULL) SWIG_fail;
22803 temp7 = True;
22804 }
22805 }
22806 {
22807 if (!wxPyCheckForApp()) SWIG_fail;
22808 PyThreadState* __tstate = wxPyBeginAllowThreads();
22809 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22810
22811 wxPyEndAllowThreads(__tstate);
22812 if (PyErr_Occurred()) SWIG_fail;
22813 }
22814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22815 {
22816 if (temp7)
22817 delete arg7;
22818 }
22819 return resultobj;
22820 fail:
22821 {
22822 if (temp7)
22823 delete arg7;
22824 }
22825 return NULL;
22826 }
22827
22828
22829 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22830 PyObject *resultobj;
22831 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22832 int result;
22833 PyObject * obj0 = 0 ;
22834 char *kwnames[] = {
22835 (char *) "self", NULL
22836 };
22837
22838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22841 {
22842 PyThreadState* __tstate = wxPyBeginAllowThreads();
22843 result = (int)(arg1)->GetZoomControl();
22844
22845 wxPyEndAllowThreads(__tstate);
22846 if (PyErr_Occurred()) SWIG_fail;
22847 }
22848 resultobj = SWIG_FromInt((int)result);
22849 return resultobj;
22850 fail:
22851 return NULL;
22852 }
22853
22854
22855 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22856 PyObject *resultobj;
22857 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22858 int arg2 ;
22859 PyObject * obj0 = 0 ;
22860 PyObject * obj1 = 0 ;
22861 char *kwnames[] = {
22862 (char *) "self",(char *) "zoom", NULL
22863 };
22864
22865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22868 arg2 = (int) SWIG_AsInt(obj1);
22869 if (PyErr_Occurred()) SWIG_fail;
22870 {
22871 PyThreadState* __tstate = wxPyBeginAllowThreads();
22872 (arg1)->SetZoomControl(arg2);
22873
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
22877 Py_INCREF(Py_None); resultobj = Py_None;
22878 return resultobj;
22879 fail:
22880 return NULL;
22881 }
22882
22883
22884 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22885 PyObject *resultobj;
22886 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22887 wxPrintPreview *result;
22888 PyObject * obj0 = 0 ;
22889 char *kwnames[] = {
22890 (char *) "self", NULL
22891 };
22892
22893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22899
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22904 return resultobj;
22905 fail:
22906 return NULL;
22907 }
22908
22909
22910 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22911 PyObject *resultobj;
22912 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22913 PyObject * obj0 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 (arg1)->OnNext();
22924
22925 wxPyEndAllowThreads(__tstate);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 }
22928 Py_INCREF(Py_None); resultobj = Py_None;
22929 return resultobj;
22930 fail:
22931 return NULL;
22932 }
22933
22934
22935 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22936 PyObject *resultobj;
22937 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22938 PyObject * obj0 = 0 ;
22939 char *kwnames[] = {
22940 (char *) "self", NULL
22941 };
22942
22943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22946 {
22947 PyThreadState* __tstate = wxPyBeginAllowThreads();
22948 (arg1)->OnPrevious();
22949
22950 wxPyEndAllowThreads(__tstate);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 }
22953 Py_INCREF(Py_None); resultobj = Py_None;
22954 return resultobj;
22955 fail:
22956 return NULL;
22957 }
22958
22959
22960 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22961 PyObject *resultobj;
22962 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22963 PyObject * obj0 = 0 ;
22964 char *kwnames[] = {
22965 (char *) "self", NULL
22966 };
22967
22968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22971 {
22972 PyThreadState* __tstate = wxPyBeginAllowThreads();
22973 (arg1)->OnFirst();
22974
22975 wxPyEndAllowThreads(__tstate);
22976 if (PyErr_Occurred()) SWIG_fail;
22977 }
22978 Py_INCREF(Py_None); resultobj = Py_None;
22979 return resultobj;
22980 fail:
22981 return NULL;
22982 }
22983
22984
22985 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22986 PyObject *resultobj;
22987 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22988 PyObject * obj0 = 0 ;
22989 char *kwnames[] = {
22990 (char *) "self", NULL
22991 };
22992
22993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22996 {
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 (arg1)->OnLast();
22999
23000 wxPyEndAllowThreads(__tstate);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 }
23003 Py_INCREF(Py_None); resultobj = Py_None;
23004 return resultobj;
23005 fail:
23006 return NULL;
23007 }
23008
23009
23010 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
23011 PyObject *resultobj;
23012 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23013 PyObject * obj0 = 0 ;
23014 char *kwnames[] = {
23015 (char *) "self", NULL
23016 };
23017
23018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23021 {
23022 PyThreadState* __tstate = wxPyBeginAllowThreads();
23023 (arg1)->OnGoto();
23024
23025 wxPyEndAllowThreads(__tstate);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 Py_INCREF(Py_None); resultobj = Py_None;
23029 return resultobj;
23030 fail:
23031 return NULL;
23032 }
23033
23034
23035 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
23036 PyObject *obj;
23037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23038 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23039 Py_INCREF(obj);
23040 return Py_BuildValue((char *)"");
23041 }
23042 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23043 PyObject *resultobj;
23044 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23045 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23046 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23047 wxPrintPreview *result;
23048 PyObject * obj0 = 0 ;
23049 PyObject * obj1 = 0 ;
23050 PyObject * obj2 = 0 ;
23051
23052 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23055 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23057 if (obj2) {
23058 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23060 }
23061 {
23062 if (!wxPyCheckForApp()) SWIG_fail;
23063 PyThreadState* __tstate = wxPyBeginAllowThreads();
23064 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23065
23066 wxPyEndAllowThreads(__tstate);
23067 if (PyErr_Occurred()) SWIG_fail;
23068 }
23069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23070 return resultobj;
23071 fail:
23072 return NULL;
23073 }
23074
23075
23076 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23077 PyObject *resultobj;
23078 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23079 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23080 wxPrintData *arg3 = (wxPrintData *) 0 ;
23081 wxPrintPreview *result;
23082 PyObject * obj0 = 0 ;
23083 PyObject * obj1 = 0 ;
23084 PyObject * obj2 = 0 ;
23085
23086 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23091 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23093 {
23094 if (!wxPyCheckForApp()) SWIG_fail;
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23102 return resultobj;
23103 fail:
23104 return NULL;
23105 }
23106
23107
23108 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23109 int argc;
23110 PyObject *argv[4];
23111 int ii;
23112
23113 argc = PyObject_Length(args);
23114 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23115 argv[ii] = PyTuple_GetItem(args,ii);
23116 }
23117 if ((argc >= 2) && (argc <= 3)) {
23118 int _v;
23119 {
23120 void *ptr;
23121 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23122 _v = 0;
23123 PyErr_Clear();
23124 } else {
23125 _v = 1;
23126 }
23127 }
23128 if (_v) {
23129 {
23130 void *ptr;
23131 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23132 _v = 0;
23133 PyErr_Clear();
23134 } else {
23135 _v = 1;
23136 }
23137 }
23138 if (_v) {
23139 if (argc <= 2) {
23140 return _wrap_new_PrintPreview__SWIG_0(self,args);
23141 }
23142 {
23143 void *ptr;
23144 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23145 _v = 0;
23146 PyErr_Clear();
23147 } else {
23148 _v = 1;
23149 }
23150 }
23151 if (_v) {
23152 return _wrap_new_PrintPreview__SWIG_0(self,args);
23153 }
23154 }
23155 }
23156 }
23157 if (argc == 3) {
23158 int _v;
23159 {
23160 void *ptr;
23161 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23162 _v = 0;
23163 PyErr_Clear();
23164 } else {
23165 _v = 1;
23166 }
23167 }
23168 if (_v) {
23169 {
23170 void *ptr;
23171 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23172 _v = 0;
23173 PyErr_Clear();
23174 } else {
23175 _v = 1;
23176 }
23177 }
23178 if (_v) {
23179 {
23180 void *ptr;
23181 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23182 _v = 0;
23183 PyErr_Clear();
23184 } else {
23185 _v = 1;
23186 }
23187 }
23188 if (_v) {
23189 return _wrap_new_PrintPreview__SWIG_1(self,args);
23190 }
23191 }
23192 }
23193 }
23194
23195 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23196 return NULL;
23197 }
23198
23199
23200 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23201 PyObject *resultobj;
23202 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23203 int arg2 ;
23204 bool result;
23205 PyObject * obj0 = 0 ;
23206 PyObject * obj1 = 0 ;
23207 char *kwnames[] = {
23208 (char *) "self",(char *) "pageNum", NULL
23209 };
23210
23211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23214 arg2 = (int) SWIG_AsInt(obj1);
23215 if (PyErr_Occurred()) SWIG_fail;
23216 {
23217 PyThreadState* __tstate = wxPyBeginAllowThreads();
23218 result = (bool)(arg1)->SetCurrentPage(arg2);
23219
23220 wxPyEndAllowThreads(__tstate);
23221 if (PyErr_Occurred()) SWIG_fail;
23222 }
23223 {
23224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23225 }
23226 return resultobj;
23227 fail:
23228 return NULL;
23229 }
23230
23231
23232 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23233 PyObject *resultobj;
23234 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23235 int result;
23236 PyObject * obj0 = 0 ;
23237 char *kwnames[] = {
23238 (char *) "self", NULL
23239 };
23240
23241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23244 {
23245 PyThreadState* __tstate = wxPyBeginAllowThreads();
23246 result = (int)(arg1)->GetCurrentPage();
23247
23248 wxPyEndAllowThreads(__tstate);
23249 if (PyErr_Occurred()) SWIG_fail;
23250 }
23251 resultobj = SWIG_FromInt((int)result);
23252 return resultobj;
23253 fail:
23254 return NULL;
23255 }
23256
23257
23258 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23259 PyObject *resultobj;
23260 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23261 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23262 PyObject * obj0 = 0 ;
23263 PyObject * obj1 = 0 ;
23264 char *kwnames[] = {
23265 (char *) "self",(char *) "printout", NULL
23266 };
23267
23268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23273 {
23274 PyThreadState* __tstate = wxPyBeginAllowThreads();
23275 (arg1)->SetPrintout(arg2);
23276
23277 wxPyEndAllowThreads(__tstate);
23278 if (PyErr_Occurred()) SWIG_fail;
23279 }
23280 Py_INCREF(Py_None); resultobj = Py_None;
23281 return resultobj;
23282 fail:
23283 return NULL;
23284 }
23285
23286
23287 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23288 PyObject *resultobj;
23289 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23290 wxPyPrintout *result;
23291 PyObject * obj0 = 0 ;
23292 char *kwnames[] = {
23293 (char *) "self", NULL
23294 };
23295
23296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23299 {
23300 PyThreadState* __tstate = wxPyBeginAllowThreads();
23301 result = (wxPyPrintout *)(arg1)->GetPrintout();
23302
23303 wxPyEndAllowThreads(__tstate);
23304 if (PyErr_Occurred()) SWIG_fail;
23305 }
23306 {
23307 resultobj = wxPyMake_wxObject(result, 0);
23308 }
23309 return resultobj;
23310 fail:
23311 return NULL;
23312 }
23313
23314
23315 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
23316 PyObject *resultobj;
23317 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23318 wxPyPrintout *result;
23319 PyObject * obj0 = 0 ;
23320 char *kwnames[] = {
23321 (char *) "self", NULL
23322 };
23323
23324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23327 {
23328 PyThreadState* __tstate = wxPyBeginAllowThreads();
23329 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23330
23331 wxPyEndAllowThreads(__tstate);
23332 if (PyErr_Occurred()) SWIG_fail;
23333 }
23334 {
23335 resultobj = wxPyMake_wxObject(result, 0);
23336 }
23337 return resultobj;
23338 fail:
23339 return NULL;
23340 }
23341
23342
23343 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23344 PyObject *resultobj;
23345 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23346 wxFrame *arg2 = (wxFrame *) 0 ;
23347 PyObject * obj0 = 0 ;
23348 PyObject * obj1 = 0 ;
23349 char *kwnames[] = {
23350 (char *) "self",(char *) "frame", NULL
23351 };
23352
23353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23356 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23358 {
23359 PyThreadState* __tstate = wxPyBeginAllowThreads();
23360 (arg1)->SetFrame(arg2);
23361
23362 wxPyEndAllowThreads(__tstate);
23363 if (PyErr_Occurred()) SWIG_fail;
23364 }
23365 Py_INCREF(Py_None); resultobj = Py_None;
23366 return resultobj;
23367 fail:
23368 return NULL;
23369 }
23370
23371
23372 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23373 PyObject *resultobj;
23374 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23375 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23376 PyObject * obj0 = 0 ;
23377 PyObject * obj1 = 0 ;
23378 char *kwnames[] = {
23379 (char *) "self",(char *) "canvas", NULL
23380 };
23381
23382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23385 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23387 {
23388 PyThreadState* __tstate = wxPyBeginAllowThreads();
23389 (arg1)->SetCanvas(arg2);
23390
23391 wxPyEndAllowThreads(__tstate);
23392 if (PyErr_Occurred()) SWIG_fail;
23393 }
23394 Py_INCREF(Py_None); resultobj = Py_None;
23395 return resultobj;
23396 fail:
23397 return NULL;
23398 }
23399
23400
23401 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23402 PyObject *resultobj;
23403 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23404 wxFrame *result;
23405 PyObject * obj0 = 0 ;
23406 char *kwnames[] = {
23407 (char *) "self", NULL
23408 };
23409
23410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23413 {
23414 PyThreadState* __tstate = wxPyBeginAllowThreads();
23415 result = (wxFrame *)(arg1)->GetFrame();
23416
23417 wxPyEndAllowThreads(__tstate);
23418 if (PyErr_Occurred()) SWIG_fail;
23419 }
23420 {
23421 resultobj = wxPyMake_wxObject(result, 0);
23422 }
23423 return resultobj;
23424 fail:
23425 return NULL;
23426 }
23427
23428
23429 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23430 PyObject *resultobj;
23431 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23432 wxPreviewCanvas *result;
23433 PyObject * obj0 = 0 ;
23434 char *kwnames[] = {
23435 (char *) "self", NULL
23436 };
23437
23438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23441 {
23442 PyThreadState* __tstate = wxPyBeginAllowThreads();
23443 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23444
23445 wxPyEndAllowThreads(__tstate);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 }
23448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23449 return resultobj;
23450 fail:
23451 return NULL;
23452 }
23453
23454
23455 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23456 PyObject *resultobj;
23457 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23458 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23459 wxDC *arg3 = 0 ;
23460 bool result;
23461 PyObject * obj0 = 0 ;
23462 PyObject * obj1 = 0 ;
23463 PyObject * obj2 = 0 ;
23464 char *kwnames[] = {
23465 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23466 };
23467
23468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23473 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23474 SWIG_POINTER_EXCEPTION | 0)) == -1)
23475 SWIG_fail;
23476 if (arg3 == NULL) {
23477 PyErr_SetString(PyExc_TypeError,"null reference");
23478 SWIG_fail;
23479 }
23480 {
23481 PyThreadState* __tstate = wxPyBeginAllowThreads();
23482 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23483
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 {
23488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23489 }
23490 return resultobj;
23491 fail:
23492 return NULL;
23493 }
23494
23495
23496 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23497 PyObject *resultobj;
23498 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23499 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23500 wxDC *arg3 = 0 ;
23501 bool result;
23502 PyObject * obj0 = 0 ;
23503 PyObject * obj1 = 0 ;
23504 PyObject * obj2 = 0 ;
23505 char *kwnames[] = {
23506 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23507 };
23508
23509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23514 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23515 SWIG_POINTER_EXCEPTION | 0)) == -1)
23516 SWIG_fail;
23517 if (arg3 == NULL) {
23518 PyErr_SetString(PyExc_TypeError,"null reference");
23519 SWIG_fail;
23520 }
23521 {
23522 PyThreadState* __tstate = wxPyBeginAllowThreads();
23523 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23524
23525 wxPyEndAllowThreads(__tstate);
23526 if (PyErr_Occurred()) SWIG_fail;
23527 }
23528 {
23529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23530 }
23531 return resultobj;
23532 fail:
23533 return NULL;
23534 }
23535
23536
23537 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23538 PyObject *resultobj;
23539 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23540 int arg2 ;
23541 bool result;
23542 PyObject * obj0 = 0 ;
23543 PyObject * obj1 = 0 ;
23544 char *kwnames[] = {
23545 (char *) "self",(char *) "pageNum", NULL
23546 };
23547
23548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23551 arg2 = (int) SWIG_AsInt(obj1);
23552 if (PyErr_Occurred()) SWIG_fail;
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 result = (bool)(arg1)->RenderPage(arg2);
23556
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 {
23561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23562 }
23563 return resultobj;
23564 fail:
23565 return NULL;
23566 }
23567
23568
23569 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23570 PyObject *resultobj;
23571 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23572 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23573 PyObject * obj0 = 0 ;
23574 PyObject * obj1 = 0 ;
23575 char *kwnames[] = {
23576 (char *) "self",(char *) "canvas", NULL
23577 };
23578
23579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23584 {
23585 PyThreadState* __tstate = wxPyBeginAllowThreads();
23586 (arg1)->AdjustScrollbars(arg2);
23587
23588 wxPyEndAllowThreads(__tstate);
23589 if (PyErr_Occurred()) SWIG_fail;
23590 }
23591 Py_INCREF(Py_None); resultobj = Py_None;
23592 return resultobj;
23593 fail:
23594 return NULL;
23595 }
23596
23597
23598 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23599 PyObject *resultobj;
23600 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23601 wxPrintDialogData *result;
23602 PyObject * obj0 = 0 ;
23603 char *kwnames[] = {
23604 (char *) "self", NULL
23605 };
23606
23607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23610 {
23611 PyThreadState* __tstate = wxPyBeginAllowThreads();
23612 {
23613 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23614 result = (wxPrintDialogData *) &_result_ref;
23615 }
23616
23617 wxPyEndAllowThreads(__tstate);
23618 if (PyErr_Occurred()) SWIG_fail;
23619 }
23620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23621 return resultobj;
23622 fail:
23623 return NULL;
23624 }
23625
23626
23627 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23628 PyObject *resultobj;
23629 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23630 int arg2 ;
23631 PyObject * obj0 = 0 ;
23632 PyObject * obj1 = 0 ;
23633 char *kwnames[] = {
23634 (char *) "self",(char *) "percent", NULL
23635 };
23636
23637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23640 arg2 = (int) SWIG_AsInt(obj1);
23641 if (PyErr_Occurred()) SWIG_fail;
23642 {
23643 PyThreadState* __tstate = wxPyBeginAllowThreads();
23644 (arg1)->SetZoom(arg2);
23645
23646 wxPyEndAllowThreads(__tstate);
23647 if (PyErr_Occurred()) SWIG_fail;
23648 }
23649 Py_INCREF(Py_None); resultobj = Py_None;
23650 return resultobj;
23651 fail:
23652 return NULL;
23653 }
23654
23655
23656 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23657 PyObject *resultobj;
23658 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23659 int result;
23660 PyObject * obj0 = 0 ;
23661 char *kwnames[] = {
23662 (char *) "self", NULL
23663 };
23664
23665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23668 {
23669 PyThreadState* __tstate = wxPyBeginAllowThreads();
23670 result = (int)(arg1)->GetZoom();
23671
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 resultobj = SWIG_FromInt((int)result);
23676 return resultobj;
23677 fail:
23678 return NULL;
23679 }
23680
23681
23682 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23683 PyObject *resultobj;
23684 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23685 int result;
23686 PyObject * obj0 = 0 ;
23687 char *kwnames[] = {
23688 (char *) "self", NULL
23689 };
23690
23691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23694 {
23695 PyThreadState* __tstate = wxPyBeginAllowThreads();
23696 result = (int)(arg1)->GetMaxPage();
23697
23698 wxPyEndAllowThreads(__tstate);
23699 if (PyErr_Occurred()) SWIG_fail;
23700 }
23701 resultobj = SWIG_FromInt((int)result);
23702 return resultobj;
23703 fail:
23704 return NULL;
23705 }
23706
23707
23708 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23709 PyObject *resultobj;
23710 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23711 int result;
23712 PyObject * obj0 = 0 ;
23713 char *kwnames[] = {
23714 (char *) "self", NULL
23715 };
23716
23717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23720 {
23721 PyThreadState* __tstate = wxPyBeginAllowThreads();
23722 result = (int)(arg1)->GetMinPage();
23723
23724 wxPyEndAllowThreads(__tstate);
23725 if (PyErr_Occurred()) SWIG_fail;
23726 }
23727 resultobj = SWIG_FromInt((int)result);
23728 return resultobj;
23729 fail:
23730 return NULL;
23731 }
23732
23733
23734 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23735 PyObject *resultobj;
23736 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23737 bool result;
23738 PyObject * obj0 = 0 ;
23739 char *kwnames[] = {
23740 (char *) "self", NULL
23741 };
23742
23743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23746 {
23747 PyThreadState* __tstate = wxPyBeginAllowThreads();
23748 result = (bool)(arg1)->Ok();
23749
23750 wxPyEndAllowThreads(__tstate);
23751 if (PyErr_Occurred()) SWIG_fail;
23752 }
23753 {
23754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23755 }
23756 return resultobj;
23757 fail:
23758 return NULL;
23759 }
23760
23761
23762 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23763 PyObject *resultobj;
23764 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23765 bool arg2 ;
23766 PyObject * obj0 = 0 ;
23767 PyObject * obj1 = 0 ;
23768 char *kwnames[] = {
23769 (char *) "self",(char *) "ok", NULL
23770 };
23771
23772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23775 arg2 = (bool) SWIG_AsBool(obj1);
23776 if (PyErr_Occurred()) SWIG_fail;
23777 {
23778 PyThreadState* __tstate = wxPyBeginAllowThreads();
23779 (arg1)->SetOk(arg2);
23780
23781 wxPyEndAllowThreads(__tstate);
23782 if (PyErr_Occurred()) SWIG_fail;
23783 }
23784 Py_INCREF(Py_None); resultobj = Py_None;
23785 return resultobj;
23786 fail:
23787 return NULL;
23788 }
23789
23790
23791 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23792 PyObject *resultobj;
23793 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23794 bool arg2 ;
23795 bool result;
23796 PyObject * obj0 = 0 ;
23797 PyObject * obj1 = 0 ;
23798 char *kwnames[] = {
23799 (char *) "self",(char *) "interactive", NULL
23800 };
23801
23802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23805 arg2 = (bool) SWIG_AsBool(obj1);
23806 if (PyErr_Occurred()) SWIG_fail;
23807 {
23808 PyThreadState* __tstate = wxPyBeginAllowThreads();
23809 result = (bool)(arg1)->Print(arg2);
23810
23811 wxPyEndAllowThreads(__tstate);
23812 if (PyErr_Occurred()) SWIG_fail;
23813 }
23814 {
23815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23816 }
23817 return resultobj;
23818 fail:
23819 return NULL;
23820 }
23821
23822
23823 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23824 PyObject *resultobj;
23825 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23826 PyObject * obj0 = 0 ;
23827 char *kwnames[] = {
23828 (char *) "self", NULL
23829 };
23830
23831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23834 {
23835 PyThreadState* __tstate = wxPyBeginAllowThreads();
23836 (arg1)->DetermineScaling();
23837
23838 wxPyEndAllowThreads(__tstate);
23839 if (PyErr_Occurred()) SWIG_fail;
23840 }
23841 Py_INCREF(Py_None); resultobj = Py_None;
23842 return resultobj;
23843 fail:
23844 return NULL;
23845 }
23846
23847
23848 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23849 PyObject *obj;
23850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23851 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23852 Py_INCREF(obj);
23853 return Py_BuildValue((char *)"");
23854 }
23855 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23856 PyObject *resultobj;
23857 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23858 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23859 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23860 wxPyPrintPreview *result;
23861 PyObject * obj0 = 0 ;
23862 PyObject * obj1 = 0 ;
23863 PyObject * obj2 = 0 ;
23864
23865 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23868 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23870 if (obj2) {
23871 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23873 }
23874 {
23875 if (!wxPyCheckForApp()) SWIG_fail;
23876 PyThreadState* __tstate = wxPyBeginAllowThreads();
23877 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23878
23879 wxPyEndAllowThreads(__tstate);
23880 if (PyErr_Occurred()) SWIG_fail;
23881 }
23882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23883 return resultobj;
23884 fail:
23885 return NULL;
23886 }
23887
23888
23889 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23890 PyObject *resultobj;
23891 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23892 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23893 wxPrintData *arg3 = (wxPrintData *) 0 ;
23894 wxPyPrintPreview *result;
23895 PyObject * obj0 = 0 ;
23896 PyObject * obj1 = 0 ;
23897 PyObject * obj2 = 0 ;
23898
23899 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23902 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23904 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23906 {
23907 if (!wxPyCheckForApp()) SWIG_fail;
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23910
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23915 return resultobj;
23916 fail:
23917 return NULL;
23918 }
23919
23920
23921 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23922 int argc;
23923 PyObject *argv[4];
23924 int ii;
23925
23926 argc = PyObject_Length(args);
23927 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23928 argv[ii] = PyTuple_GetItem(args,ii);
23929 }
23930 if ((argc >= 2) && (argc <= 3)) {
23931 int _v;
23932 {
23933 void *ptr;
23934 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23935 _v = 0;
23936 PyErr_Clear();
23937 } else {
23938 _v = 1;
23939 }
23940 }
23941 if (_v) {
23942 {
23943 void *ptr;
23944 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23945 _v = 0;
23946 PyErr_Clear();
23947 } else {
23948 _v = 1;
23949 }
23950 }
23951 if (_v) {
23952 if (argc <= 2) {
23953 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23954 }
23955 {
23956 void *ptr;
23957 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23958 _v = 0;
23959 PyErr_Clear();
23960 } else {
23961 _v = 1;
23962 }
23963 }
23964 if (_v) {
23965 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23966 }
23967 }
23968 }
23969 }
23970 if (argc == 3) {
23971 int _v;
23972 {
23973 void *ptr;
23974 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23975 _v = 0;
23976 PyErr_Clear();
23977 } else {
23978 _v = 1;
23979 }
23980 }
23981 if (_v) {
23982 {
23983 void *ptr;
23984 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23985 _v = 0;
23986 PyErr_Clear();
23987 } else {
23988 _v = 1;
23989 }
23990 }
23991 if (_v) {
23992 {
23993 void *ptr;
23994 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23995 _v = 0;
23996 PyErr_Clear();
23997 } else {
23998 _v = 1;
23999 }
24000 }
24001 if (_v) {
24002 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24003 }
24004 }
24005 }
24006 }
24007
24008 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24009 return NULL;
24010 }
24011
24012
24013 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24014 PyObject *resultobj;
24015 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24016 PyObject *arg2 = (PyObject *) 0 ;
24017 PyObject *arg3 = (PyObject *) 0 ;
24018 PyObject * obj0 = 0 ;
24019 PyObject * obj1 = 0 ;
24020 PyObject * obj2 = 0 ;
24021 char *kwnames[] = {
24022 (char *) "self",(char *) "self",(char *) "_class", NULL
24023 };
24024
24025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24028 arg2 = obj1;
24029 arg3 = obj2;
24030 {
24031 PyThreadState* __tstate = wxPyBeginAllowThreads();
24032 (arg1)->_setCallbackInfo(arg2,arg3);
24033
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 Py_INCREF(Py_None); resultobj = Py_None;
24038 return resultobj;
24039 fail:
24040 return NULL;
24041 }
24042
24043
24044 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24045 PyObject *resultobj;
24046 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24047 int arg2 ;
24048 bool result;
24049 PyObject * obj0 = 0 ;
24050 PyObject * obj1 = 0 ;
24051 char *kwnames[] = {
24052 (char *) "self",(char *) "pageNum", NULL
24053 };
24054
24055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24058 arg2 = (int) SWIG_AsInt(obj1);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24063
24064 wxPyEndAllowThreads(__tstate);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 }
24067 {
24068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24069 }
24070 return resultobj;
24071 fail:
24072 return NULL;
24073 }
24074
24075
24076 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24077 PyObject *resultobj;
24078 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24079 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24080 wxDC *arg3 = 0 ;
24081 bool result;
24082 PyObject * obj0 = 0 ;
24083 PyObject * obj1 = 0 ;
24084 PyObject * obj2 = 0 ;
24085 char *kwnames[] = {
24086 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24087 };
24088
24089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24094 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24095 SWIG_POINTER_EXCEPTION | 0)) == -1)
24096 SWIG_fail;
24097 if (arg3 == NULL) {
24098 PyErr_SetString(PyExc_TypeError,"null reference");
24099 SWIG_fail;
24100 }
24101 {
24102 PyThreadState* __tstate = wxPyBeginAllowThreads();
24103 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24104
24105 wxPyEndAllowThreads(__tstate);
24106 if (PyErr_Occurred()) SWIG_fail;
24107 }
24108 {
24109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24110 }
24111 return resultobj;
24112 fail:
24113 return NULL;
24114 }
24115
24116
24117 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24118 PyObject *resultobj;
24119 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24120 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24121 wxDC *arg3 = 0 ;
24122 bool result;
24123 PyObject * obj0 = 0 ;
24124 PyObject * obj1 = 0 ;
24125 PyObject * obj2 = 0 ;
24126 char *kwnames[] = {
24127 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24128 };
24129
24130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24133 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24135 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24136 SWIG_POINTER_EXCEPTION | 0)) == -1)
24137 SWIG_fail;
24138 if (arg3 == NULL) {
24139 PyErr_SetString(PyExc_TypeError,"null reference");
24140 SWIG_fail;
24141 }
24142 {
24143 PyThreadState* __tstate = wxPyBeginAllowThreads();
24144 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24145
24146 wxPyEndAllowThreads(__tstate);
24147 if (PyErr_Occurred()) SWIG_fail;
24148 }
24149 {
24150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24151 }
24152 return resultobj;
24153 fail:
24154 return NULL;
24155 }
24156
24157
24158 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24159 PyObject *resultobj;
24160 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24161 int arg2 ;
24162 bool result;
24163 PyObject * obj0 = 0 ;
24164 PyObject * obj1 = 0 ;
24165 char *kwnames[] = {
24166 (char *) "self",(char *) "pageNum", NULL
24167 };
24168
24169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24172 arg2 = (int) SWIG_AsInt(obj1);
24173 if (PyErr_Occurred()) SWIG_fail;
24174 {
24175 PyThreadState* __tstate = wxPyBeginAllowThreads();
24176 result = (bool)(arg1)->base_RenderPage(arg2);
24177
24178 wxPyEndAllowThreads(__tstate);
24179 if (PyErr_Occurred()) SWIG_fail;
24180 }
24181 {
24182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24183 }
24184 return resultobj;
24185 fail:
24186 return NULL;
24187 }
24188
24189
24190 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj;
24192 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24193 int arg2 ;
24194 PyObject * obj0 = 0 ;
24195 PyObject * obj1 = 0 ;
24196 char *kwnames[] = {
24197 (char *) "self",(char *) "percent", NULL
24198 };
24199
24200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24203 arg2 = (int) SWIG_AsInt(obj1);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 {
24206 PyThreadState* __tstate = wxPyBeginAllowThreads();
24207 (arg1)->base_SetZoom(arg2);
24208
24209 wxPyEndAllowThreads(__tstate);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 }
24212 Py_INCREF(Py_None); resultobj = Py_None;
24213 return resultobj;
24214 fail:
24215 return NULL;
24216 }
24217
24218
24219 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24220 PyObject *resultobj;
24221 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24222 bool arg2 ;
24223 bool result;
24224 PyObject * obj0 = 0 ;
24225 PyObject * obj1 = 0 ;
24226 char *kwnames[] = {
24227 (char *) "self",(char *) "interactive", NULL
24228 };
24229
24230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24233 arg2 = (bool) SWIG_AsBool(obj1);
24234 if (PyErr_Occurred()) SWIG_fail;
24235 {
24236 PyThreadState* __tstate = wxPyBeginAllowThreads();
24237 result = (bool)(arg1)->base_Print(arg2);
24238
24239 wxPyEndAllowThreads(__tstate);
24240 if (PyErr_Occurred()) SWIG_fail;
24241 }
24242 {
24243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24244 }
24245 return resultobj;
24246 fail:
24247 return NULL;
24248 }
24249
24250
24251 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24252 PyObject *resultobj;
24253 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24254 PyObject * obj0 = 0 ;
24255 char *kwnames[] = {
24256 (char *) "self", NULL
24257 };
24258
24259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24262 {
24263 PyThreadState* __tstate = wxPyBeginAllowThreads();
24264 (arg1)->base_DetermineScaling();
24265
24266 wxPyEndAllowThreads(__tstate);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 }
24269 Py_INCREF(Py_None); resultobj = Py_None;
24270 return resultobj;
24271 fail:
24272 return NULL;
24273 }
24274
24275
24276 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
24277 PyObject *obj;
24278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24279 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24280 Py_INCREF(obj);
24281 return Py_BuildValue((char *)"");
24282 }
24283 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
24284 PyObject *resultobj;
24285 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24286 wxFrame *arg2 = (wxFrame *) 0 ;
24287 wxString *arg3 = 0 ;
24288 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24289 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24290 wxSize const &arg5_defvalue = wxDefaultSize ;
24291 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24292 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24293 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24294 wxString *arg7 = (wxString *) &arg7_defvalue ;
24295 wxPyPreviewFrame *result;
24296 bool temp3 = False ;
24297 wxPoint temp4 ;
24298 wxSize temp5 ;
24299 bool temp7 = False ;
24300 PyObject * obj0 = 0 ;
24301 PyObject * obj1 = 0 ;
24302 PyObject * obj2 = 0 ;
24303 PyObject * obj3 = 0 ;
24304 PyObject * obj4 = 0 ;
24305 PyObject * obj5 = 0 ;
24306 PyObject * obj6 = 0 ;
24307 char *kwnames[] = {
24308 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24309 };
24310
24311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24314 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24316 {
24317 arg3 = wxString_in_helper(obj2);
24318 if (arg3 == NULL) SWIG_fail;
24319 temp3 = True;
24320 }
24321 if (obj3) {
24322 {
24323 arg4 = &temp4;
24324 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24325 }
24326 }
24327 if (obj4) {
24328 {
24329 arg5 = &temp5;
24330 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24331 }
24332 }
24333 if (obj5) {
24334 arg6 = (long) SWIG_AsLong(obj5);
24335 if (PyErr_Occurred()) SWIG_fail;
24336 }
24337 if (obj6) {
24338 {
24339 arg7 = wxString_in_helper(obj6);
24340 if (arg7 == NULL) SWIG_fail;
24341 temp7 = True;
24342 }
24343 }
24344 {
24345 if (!wxPyCheckForApp()) SWIG_fail;
24346 PyThreadState* __tstate = wxPyBeginAllowThreads();
24347 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24348
24349 wxPyEndAllowThreads(__tstate);
24350 if (PyErr_Occurred()) SWIG_fail;
24351 }
24352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24353 {
24354 if (temp3)
24355 delete arg3;
24356 }
24357 {
24358 if (temp7)
24359 delete arg7;
24360 }
24361 return resultobj;
24362 fail:
24363 {
24364 if (temp3)
24365 delete arg3;
24366 }
24367 {
24368 if (temp7)
24369 delete arg7;
24370 }
24371 return NULL;
24372 }
24373
24374
24375 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24376 PyObject *resultobj;
24377 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24378 PyObject *arg2 = (PyObject *) 0 ;
24379 PyObject *arg3 = (PyObject *) 0 ;
24380 PyObject * obj0 = 0 ;
24381 PyObject * obj1 = 0 ;
24382 PyObject * obj2 = 0 ;
24383 char *kwnames[] = {
24384 (char *) "self",(char *) "self",(char *) "_class", NULL
24385 };
24386
24387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24390 arg2 = obj1;
24391 arg3 = obj2;
24392 {
24393 PyThreadState* __tstate = wxPyBeginAllowThreads();
24394 (arg1)->_setCallbackInfo(arg2,arg3);
24395
24396 wxPyEndAllowThreads(__tstate);
24397 if (PyErr_Occurred()) SWIG_fail;
24398 }
24399 Py_INCREF(Py_None); resultobj = Py_None;
24400 return resultobj;
24401 fail:
24402 return NULL;
24403 }
24404
24405
24406 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24407 PyObject *resultobj;
24408 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24409 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24410 PyObject * obj0 = 0 ;
24411 PyObject * obj1 = 0 ;
24412 char *kwnames[] = {
24413 (char *) "self",(char *) "canvas", NULL
24414 };
24415
24416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24421 {
24422 PyThreadState* __tstate = wxPyBeginAllowThreads();
24423 (arg1)->SetPreviewCanvas(arg2);
24424
24425 wxPyEndAllowThreads(__tstate);
24426 if (PyErr_Occurred()) SWIG_fail;
24427 }
24428 Py_INCREF(Py_None); resultobj = Py_None;
24429 return resultobj;
24430 fail:
24431 return NULL;
24432 }
24433
24434
24435 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24436 PyObject *resultobj;
24437 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24438 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24439 PyObject * obj0 = 0 ;
24440 PyObject * obj1 = 0 ;
24441 char *kwnames[] = {
24442 (char *) "self",(char *) "bar", NULL
24443 };
24444
24445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24450 {
24451 PyThreadState* __tstate = wxPyBeginAllowThreads();
24452 (arg1)->SetControlBar(arg2);
24453
24454 wxPyEndAllowThreads(__tstate);
24455 if (PyErr_Occurred()) SWIG_fail;
24456 }
24457 Py_INCREF(Py_None); resultobj = Py_None;
24458 return resultobj;
24459 fail:
24460 return NULL;
24461 }
24462
24463
24464 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24465 PyObject *resultobj;
24466 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24467 PyObject * obj0 = 0 ;
24468 char *kwnames[] = {
24469 (char *) "self", NULL
24470 };
24471
24472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24475 {
24476 PyThreadState* __tstate = wxPyBeginAllowThreads();
24477 (arg1)->base_Initialize();
24478
24479 wxPyEndAllowThreads(__tstate);
24480 if (PyErr_Occurred()) SWIG_fail;
24481 }
24482 Py_INCREF(Py_None); resultobj = Py_None;
24483 return resultobj;
24484 fail:
24485 return NULL;
24486 }
24487
24488
24489 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24490 PyObject *resultobj;
24491 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24492 PyObject * obj0 = 0 ;
24493 char *kwnames[] = {
24494 (char *) "self", NULL
24495 };
24496
24497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24500 {
24501 PyThreadState* __tstate = wxPyBeginAllowThreads();
24502 (arg1)->base_CreateCanvas();
24503
24504 wxPyEndAllowThreads(__tstate);
24505 if (PyErr_Occurred()) SWIG_fail;
24506 }
24507 Py_INCREF(Py_None); resultobj = Py_None;
24508 return resultobj;
24509 fail:
24510 return NULL;
24511 }
24512
24513
24514 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24515 PyObject *resultobj;
24516 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24517 PyObject * obj0 = 0 ;
24518 char *kwnames[] = {
24519 (char *) "self", NULL
24520 };
24521
24522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24525 {
24526 PyThreadState* __tstate = wxPyBeginAllowThreads();
24527 (arg1)->base_CreateControlBar();
24528
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 Py_INCREF(Py_None); resultobj = Py_None;
24533 return resultobj;
24534 fail:
24535 return NULL;
24536 }
24537
24538
24539 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24540 PyObject *obj;
24541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24542 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24543 Py_INCREF(obj);
24544 return Py_BuildValue((char *)"");
24545 }
24546 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24547 PyObject *resultobj;
24548 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24549 long arg2 ;
24550 wxWindow *arg3 = (wxWindow *) 0 ;
24551 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24552 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24553 wxSize const &arg5_defvalue = wxDefaultSize ;
24554 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24555 long arg6 = (long) 0 ;
24556 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24557 wxString *arg7 = (wxString *) &arg7_defvalue ;
24558 wxPyPreviewControlBar *result;
24559 wxPoint temp4 ;
24560 wxSize temp5 ;
24561 bool temp7 = False ;
24562 PyObject * obj0 = 0 ;
24563 PyObject * obj1 = 0 ;
24564 PyObject * obj2 = 0 ;
24565 PyObject * obj3 = 0 ;
24566 PyObject * obj4 = 0 ;
24567 PyObject * obj5 = 0 ;
24568 PyObject * obj6 = 0 ;
24569 char *kwnames[] = {
24570 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24571 };
24572
24573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24576 arg2 = (long) SWIG_AsLong(obj1);
24577 if (PyErr_Occurred()) SWIG_fail;
24578 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24580 if (obj3) {
24581 {
24582 arg4 = &temp4;
24583 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24584 }
24585 }
24586 if (obj4) {
24587 {
24588 arg5 = &temp5;
24589 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24590 }
24591 }
24592 if (obj5) {
24593 arg6 = (long) SWIG_AsLong(obj5);
24594 if (PyErr_Occurred()) SWIG_fail;
24595 }
24596 if (obj6) {
24597 {
24598 arg7 = wxString_in_helper(obj6);
24599 if (arg7 == NULL) SWIG_fail;
24600 temp7 = True;
24601 }
24602 }
24603 {
24604 if (!wxPyCheckForApp()) SWIG_fail;
24605 PyThreadState* __tstate = wxPyBeginAllowThreads();
24606 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24607
24608 wxPyEndAllowThreads(__tstate);
24609 if (PyErr_Occurred()) SWIG_fail;
24610 }
24611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24612 {
24613 if (temp7)
24614 delete arg7;
24615 }
24616 return resultobj;
24617 fail:
24618 {
24619 if (temp7)
24620 delete arg7;
24621 }
24622 return NULL;
24623 }
24624
24625
24626 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24627 PyObject *resultobj;
24628 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24629 PyObject *arg2 = (PyObject *) 0 ;
24630 PyObject *arg3 = (PyObject *) 0 ;
24631 PyObject * obj0 = 0 ;
24632 PyObject * obj1 = 0 ;
24633 PyObject * obj2 = 0 ;
24634 char *kwnames[] = {
24635 (char *) "self",(char *) "self",(char *) "_class", NULL
24636 };
24637
24638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24641 arg2 = obj1;
24642 arg3 = obj2;
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 (arg1)->_setCallbackInfo(arg2,arg3);
24646
24647 wxPyEndAllowThreads(__tstate);
24648 if (PyErr_Occurred()) SWIG_fail;
24649 }
24650 Py_INCREF(Py_None); resultobj = Py_None;
24651 return resultobj;
24652 fail:
24653 return NULL;
24654 }
24655
24656
24657 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24658 PyObject *resultobj;
24659 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24660 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24661 PyObject * obj0 = 0 ;
24662 PyObject * obj1 = 0 ;
24663 char *kwnames[] = {
24664 (char *) "self",(char *) "preview", NULL
24665 };
24666
24667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24672 {
24673 PyThreadState* __tstate = wxPyBeginAllowThreads();
24674 (arg1)->SetPrintPreview(arg2);
24675
24676 wxPyEndAllowThreads(__tstate);
24677 if (PyErr_Occurred()) SWIG_fail;
24678 }
24679 Py_INCREF(Py_None); resultobj = Py_None;
24680 return resultobj;
24681 fail:
24682 return NULL;
24683 }
24684
24685
24686 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24687 PyObject *resultobj;
24688 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24689 PyObject * obj0 = 0 ;
24690 char *kwnames[] = {
24691 (char *) "self", NULL
24692 };
24693
24694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24697 {
24698 PyThreadState* __tstate = wxPyBeginAllowThreads();
24699 (arg1)->base_CreateButtons();
24700
24701 wxPyEndAllowThreads(__tstate);
24702 if (PyErr_Occurred()) SWIG_fail;
24703 }
24704 Py_INCREF(Py_None); resultobj = Py_None;
24705 return resultobj;
24706 fail:
24707 return NULL;
24708 }
24709
24710
24711 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24712 PyObject *resultobj;
24713 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24714 int arg2 ;
24715 PyObject * obj0 = 0 ;
24716 PyObject * obj1 = 0 ;
24717 char *kwnames[] = {
24718 (char *) "self",(char *) "zoom", NULL
24719 };
24720
24721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24724 arg2 = (int) SWIG_AsInt(obj1);
24725 if (PyErr_Occurred()) SWIG_fail;
24726 {
24727 PyThreadState* __tstate = wxPyBeginAllowThreads();
24728 (arg1)->base_SetZoomControl(arg2);
24729
24730 wxPyEndAllowThreads(__tstate);
24731 if (PyErr_Occurred()) SWIG_fail;
24732 }
24733 Py_INCREF(Py_None); resultobj = Py_None;
24734 return resultobj;
24735 fail:
24736 return NULL;
24737 }
24738
24739
24740 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24741 PyObject *obj;
24742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24743 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24744 Py_INCREF(obj);
24745 return Py_BuildValue((char *)"");
24746 }
24747 static PyMethodDef SwigMethods[] = {
24748 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24754 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24769 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24770 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24778 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24794 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24818 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24830 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24834 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24838 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24843 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24859 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24887 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24894 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24917 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24925 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24937 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24943 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24952 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24958 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24961 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24964 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24968 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24986 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
25012 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
25020 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
25024 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
25026 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
25035 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
25038 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
25045 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
25063 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
25067 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
25072 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
25076 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
25092 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
25095 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
25097 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
25101 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
25110 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
25119 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
25125 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
25137 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
25144 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
25148 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
25174 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
25200 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
25226 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS },
25227 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
25272 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS },
25273 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
25304 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
25308 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
25309 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25342 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25347 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25351 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25358 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25367 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25369 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25371 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25380 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25381 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25383 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25384 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25385 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25387 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25388 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25389 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25390 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25391 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25392 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25393 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25395 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25396 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25398 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25399 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25400 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25401 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25402 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25403 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25404 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25405 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25406 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25407 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25408 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25409 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25410 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25411 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25412 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25413 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25414 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25415 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25416 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25417 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25418 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25419 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25420 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25421 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25422 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25423 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25424 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25425 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25426 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25427 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25428 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25429 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25430 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25431 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25432 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25433 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25434 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25435 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25436 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25437 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25438 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25439 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25440 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25441 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25442 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25443 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25444 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25445 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25446 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25447 { NULL, NULL }
25448 };
25449
25450
25451 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25452
25453 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25454 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25455 }
25456 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25457 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25458 }
25459 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25460 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25461 }
25462 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25463 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25464 }
25465 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25466 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25467 }
25468 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25469 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25470 }
25471 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25472 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25473 }
25474 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25475 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25476 }
25477 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25478 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25479 }
25480 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25481 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25482 }
25483 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25484 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25485 }
25486 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25487 return (void *)((wxEvent *) ((wxPyEvent *) x));
25488 }
25489 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25490 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25491 }
25492 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25493 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25494 }
25495 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25496 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25497 }
25498 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25499 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25500 }
25501 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25502 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25503 }
25504 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25505 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25506 }
25507 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25508 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25509 }
25510 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25511 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25512 }
25513 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25514 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25515 }
25516 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25517 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25518 }
25519 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25520 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25521 }
25522 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25523 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25524 }
25525 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25526 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25527 }
25528 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25529 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25530 }
25531 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25532 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25533 }
25534 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25535 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25536 }
25537 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25538 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25539 }
25540 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25541 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25542 }
25543 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25544 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25545 }
25546 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25547 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25548 }
25549 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25550 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25551 }
25552 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25553 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25554 }
25555 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25556 return (void *)((wxEvent *) ((wxShowEvent *) x));
25557 }
25558 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25559 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25560 }
25561 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25562 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25563 }
25564 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25565 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25566 }
25567 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25568 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25569 }
25570 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25571 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25572 }
25573 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25574 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25575 }
25576 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25577 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25578 }
25579 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25580 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25581 }
25582 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25583 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25584 }
25585 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25586 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25587 }
25588 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25589 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25590 }
25591 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25592 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25593 }
25594 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25595 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25596 }
25597 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25598 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25599 }
25600 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25601 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25602 }
25603 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25604 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25605 }
25606 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25607 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25608 }
25609 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25610 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25611 }
25612 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25613 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25614 }
25615 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25616 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25617 }
25618 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25619 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25620 }
25621 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25622 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25623 }
25624 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25625 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25626 }
25627 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25628 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25629 }
25630 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25631 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25632 }
25633 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25634 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25635 }
25636 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25637 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25638 }
25639 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25640 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25641 }
25642 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25643 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25644 }
25645 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25646 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25647 }
25648 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25649 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25650 }
25651 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25652 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25653 }
25654 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25655 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25656 }
25657 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25658 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25659 }
25660 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25661 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25662 }
25663 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25664 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25665 }
25666 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25667 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25668 }
25669 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25670 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25671 }
25672 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25673 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25674 }
25675 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25676 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25677 }
25678 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25679 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25680 }
25681 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25682 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25683 }
25684 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25685 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25686 }
25687 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25688 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25689 }
25690 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25691 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25692 }
25693 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25694 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25695 }
25696 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25697 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25698 }
25699 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25700 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25701 }
25702 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25703 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25704 }
25705 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25706 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25707 }
25708 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25709 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25710 }
25711 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25712 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25713 }
25714 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25715 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25716 }
25717 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25718 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25719 }
25720 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25721 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25722 }
25723 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25724 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25725 }
25726 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25727 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25728 }
25729 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25730 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25731 }
25732 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25733 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25734 }
25735 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25736 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25737 }
25738 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25739 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25740 }
25741 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
25742 return (void *)((wxFrame *) ((wxTipWindow *) x));
25743 }
25744 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25745 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25746 }
25747 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25748 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25749 }
25750 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25751 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25752 }
25753 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25754 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25755 }
25756 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25757 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25758 }
25759 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25760 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25761 }
25762 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25763 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25764 }
25765 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25767 }
25768 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25770 }
25771 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25772 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25773 }
25774 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25775 return (void *)((wxObject *) ((wxSizerItem *) x));
25776 }
25777 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25778 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25779 }
25780 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25781 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25782 }
25783 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25784 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25785 }
25786 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25787 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25788 }
25789 static void *_p_wxSizerTo_p_wxObject(void *x) {
25790 return (void *)((wxObject *) ((wxSizer *) x));
25791 }
25792 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25793 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25794 }
25795 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25796 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25797 }
25798 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25800 }
25801 static void *_p_wxEventTo_p_wxObject(void *x) {
25802 return (void *)((wxObject *) ((wxEvent *) x));
25803 }
25804 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25805 return (void *)((wxObject *) ((wxFontData *) x));
25806 }
25807 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25808 return (void *)((wxObject *) ((wxPrintData *) x));
25809 }
25810 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25811 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25812 }
25813 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25814 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25815 }
25816 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25817 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25818 }
25819 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25820 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25821 }
25822 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25823 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25824 }
25825 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25826 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25827 }
25828 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25829 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25830 }
25831 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25832 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25833 }
25834 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25835 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25836 }
25837 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25838 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25839 }
25840 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25841 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25842 }
25843 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25844 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25845 }
25846 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25848 }
25849 static void *_p_wxControlTo_p_wxObject(void *x) {
25850 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25851 }
25852 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25853 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25854 }
25855 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25856 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25857 }
25858 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25859 return (void *)((wxObject *) ((wxFSFile *) x));
25860 }
25861 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25862 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25863 }
25864 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25865 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25866 }
25867 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25869 }
25870 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25871 return (void *)((wxObject *) ((wxColourData *) x));
25872 }
25873 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25874 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25875 }
25876 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25877 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25878 }
25879 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25881 }
25882 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25884 }
25885 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25887 }
25888 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25890 }
25891 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25893 }
25894 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25896 }
25897 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25899 }
25900 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25902 }
25903 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25905 }
25906 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25907 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25908 }
25909 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25910 return (void *)((wxObject *) ((wxPrinter *) x));
25911 }
25912 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25913 return (void *)((wxObject *) ((wxMenuItem *) x));
25914 }
25915 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25916 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25917 }
25918 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25919 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25920 }
25921 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25922 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25923 }
25924 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25925 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25926 }
25927 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25928 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25929 }
25930 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25931 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25932 }
25933 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25934 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25935 }
25936 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25937 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25938 }
25939 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25940 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25941 }
25942 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25943 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25944 }
25945 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25946 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25947 }
25948 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25949 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25950 }
25951 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25952 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25953 }
25954 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25955 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25956 }
25957 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25958 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25959 }
25960 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25961 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25962 }
25963 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25964 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25965 }
25966 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25967 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25968 }
25969 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25970 return (void *)((wxObject *) ((wxImageHandler *) x));
25971 }
25972 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25973 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25974 }
25975 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25976 return (void *)((wxObject *) ((wxEvtHandler *) x));
25977 }
25978 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25979 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25980 }
25981 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25982 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25983 }
25984 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25986 }
25987 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25988 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25989 }
25990 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25992 }
25993 static void *_p_wxImageTo_p_wxObject(void *x) {
25994 return (void *)((wxObject *) ((wxImage *) x));
25995 }
25996 static void *_p_wxFrameTo_p_wxObject(void *x) {
25997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25998 }
25999 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26000 return (void *)((wxObject *) ((wxPyPrintout *) x));
26001 }
26002 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26003 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26004 }
26005 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26006 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26007 }
26008 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26009 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26010 }
26011 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26013 }
26014 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26015 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26016 }
26017 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26018 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26019 }
26020 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26021 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26022 }
26023 static void *_p_wxWindowTo_p_wxObject(void *x) {
26024 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26025 }
26026 static void *_p_wxMenuTo_p_wxObject(void *x) {
26027 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26028 }
26029 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26031 }
26032 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26034 }
26035 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26037 }
26038 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26040 }
26041 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26043 }
26044 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26046 }
26047 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26049 }
26050 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26052 }
26053 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26055 }
26056 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26058 }
26059 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26061 }
26062 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26064 }
26065 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26066 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26067 }
26068 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26069 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26070 }
26071 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26072 return (void *)((wxObject *) ((wxPrintPreview *) x));
26073 }
26074 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26075 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26076 }
26077 static void *_p_wxPanelTo_p_wxObject(void *x) {
26078 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26079 }
26080 static void *_p_wxDialogTo_p_wxObject(void *x) {
26081 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26082 }
26083 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26084 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26085 }
26086 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26087 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26088 }
26089 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26090 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26091 }
26092 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26093 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26094 }
26095 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26096 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26097 }
26098 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26099 return (void *)((wxObject *) ((wxFileSystem *) x));
26100 }
26101 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26102 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26103 }
26104 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26105 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26106 }
26107 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26108 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26109 }
26110 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26111 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26112 }
26113 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26114 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26115 }
26116 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26117 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26118 }
26119 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26120 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26121 }
26122 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26123 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26124 }
26125 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26126 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26127 }
26128 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26130 }
26131 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26132 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26133 }
26134 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26135 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26136 }
26137 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26138 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26139 }
26140 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26142 }
26143 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26144 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26145 }
26146 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26147 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26148 }
26149 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26150 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26151 }
26152 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26153 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26154 }
26155 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26156 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26157 }
26158 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26159 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26160 }
26161 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26162 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26163 }
26164 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26165 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26166 }
26167 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26168 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26169 }
26170 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26171 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26172 }
26173 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26174 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26175 }
26176 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26177 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26178 }
26179 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26180 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26181 }
26182 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26183 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26184 }
26185 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26186 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26187 }
26188 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26189 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26190 }
26191 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26192 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26193 }
26194 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
26195 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
26196 }
26197 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26198 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26199 }
26200 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26201 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26202 }
26203 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26204 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26205 }
26206 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26207 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26208 }
26209 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26210 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26211 }
26212 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26213 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26214 }
26215 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26216 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26217 }
26218 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26219 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26220 }
26221 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26222 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26223 }
26224 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26225 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26226 }
26227 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26228 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26229 }
26230 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26231 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26232 }
26233 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26234 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26235 }
26236 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26237 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26238 }
26239 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26240 return (void *)((wxWindow *) ((wxMenuBar *) x));
26241 }
26242 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26243 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26244 }
26245 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26246 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26247 }
26248 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26249 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26250 }
26251 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26252 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26253 }
26254 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26255 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26256 }
26257 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26258 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26259 }
26260 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26261 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26262 }
26263 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26264 return (void *)((wxWindow *) ((wxPanel *) x));
26265 }
26266 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26267 return (void *)((wxWindow *) ((wxStatusBar *) x));
26268 }
26269 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26270 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26271 }
26272 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26273 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26274 }
26275 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26276 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26277 }
26278 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26279 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26280 }
26281 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26282 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26283 }
26284 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26285 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26286 }
26287 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26288 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26289 }
26290 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26291 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26292 }
26293 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26294 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26295 }
26296 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26297 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26298 }
26299 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26300 return (void *)((wxWindow *) ((wxSashWindow *) x));
26301 }
26302 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26303 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26304 }
26305 static void *_p_wxControlTo_p_wxWindow(void *x) {
26306 return (void *)((wxWindow *) ((wxControl *) x));
26307 }
26308 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26309 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26310 }
26311 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26312 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26313 }
26314 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26315 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26316 }
26317 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26318 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26319 }
26320 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26321 return (void *)((wxWindow *) ((wxPyWindow *) x));
26322 }
26323 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26324 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26325 }
26326 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26327 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26328 }
26329 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26330 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26331 }
26332 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26333 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26334 }
26335 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26336 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26337 }
26338 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26339 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26340 }
26341 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26342 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26343 }
26344 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26345 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26346 }
26347 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26348 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26349 }
26350 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26351 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26352 }
26353 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26354 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26355 }
26356 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26357 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26358 }
26359 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26360 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26361 }
26362 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26363 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26364 }
26365 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26366 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26367 }
26368 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26369 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26370 }
26371 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26372 return (void *)((wxDialog *) ((wxColourDialog *) x));
26373 }
26374 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26375 return (void *)((wxDialog *) ((wxDirDialog *) x));
26376 }
26377 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26378 return (void *)((wxDialog *) ((wxFontDialog *) x));
26379 }
26380 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26381 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26382 }
26383 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26384 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26385 }
26386 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26387 return (void *)((wxDialog *) ((wxFileDialog *) x));
26388 }
26389 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26390 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26391 }
26392 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26393 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26394 }
26395 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26396 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26397 }
26398 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26399 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26400 }
26401 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26402 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26403 }
26404 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26405 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26406 }
26407 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26408 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26409 }
26410 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26411 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26412 }
26413 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26414 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26415 }
26416 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26417 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26418 }
26419 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26420 return (void *)((wxPanel *) ((wxPyPanel *) x));
26421 }
26422 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26423 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26424 }
26425 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26426 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26427 }
26428 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26429 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26430 }
26431 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26432 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26433 }
26434 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26435 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26436 }
26437 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26438 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26439 }
26440 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26441 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26442 }
26443 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26444 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26445 }
26446 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26447 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26448 }
26449 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26450 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26451 }
26452 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26453 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26454 }
26455 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26456 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26457 }
26458 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26459 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26460 }
26461 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26462 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26463 }
26464 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26465 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26466 }
26467 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}};
26468 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}};
26469 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}};
26470 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}};
26471 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}};
26472 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}};
26473 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}};
26474 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}};
26475 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}};
26476 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}};
26477 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}};
26478 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}};
26479 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}};
26480 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}};
26481 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}};
26482 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}};
26483 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}};
26484 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}};
26485 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}};
26486 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}};
26487 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}};
26488 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}};
26489 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}};
26490 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}};
26491 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}};
26492 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}};
26493 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}};
26494 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}};
26495 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}};
26496 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}};
26497 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}};
26498 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}};
26499 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}};
26500 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}};
26501 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}};
26502 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}};
26503 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}};
26504 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}};
26505 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}};
26506 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}};
26507 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}};
26508 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}};
26509 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}};
26510 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}};
26511 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}};
26512 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}};
26513 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}};
26514 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}};
26515 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}};
26516 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}};
26517 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}};
26518 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}};
26519 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}};
26520 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}};
26521 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}};
26522 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}};
26523 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}};
26524 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}};
26525 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}};
26526 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}};
26527 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}};
26528 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}};
26529 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}};
26530 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}};
26531 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}};
26532 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}};
26533 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}};
26534 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}};
26535 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}};
26536 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}};
26537 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}};
26538 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}};
26539 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}};
26540 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}};
26541 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}};
26542 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}};
26543 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}};
26544 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}};
26545 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}};
26546 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}};
26547 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}};
26548 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}};
26549 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}};
26550 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}};
26551 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}};
26552 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}};
26553
26554 static swig_type_info *swig_types_initial[] = {
26555 _swigt__p_wxQueryLayoutInfoEvent,
26556 _swigt__p_wxPreviewFrame,
26557 _swigt__p_wxPyPreviewFrame,
26558 _swigt__p_wxPyPanel,
26559 _swigt__p_wxMenu,
26560 _swigt__p_wxPrintData,
26561 _swigt__p_wxFontData,
26562 _swigt__p_wxEvent,
26563 _swigt__p_wxTaskBarIcon,
26564 _swigt__p_wxIconBundle,
26565 _swigt__p_wxLayoutAlgorithm,
26566 _swigt__p_wxFindDialogEvent,
26567 _swigt__p_wxPreviewCanvas,
26568 _swigt__p_wxFont,
26569 _swigt__p_wxSplitterEvent,
26570 _swigt__p_wxRegion,
26571 _swigt__p_wxFindReplaceData,
26572 _swigt__p_int,
26573 _swigt__p_wxSize,
26574 _swigt__p_wxDC,
26575 _swigt__p_wxIcon,
26576 _swigt__p_wxVisualAttributes,
26577 _swigt__p_wxMDIChildFrame,
26578 _swigt__p_wxColourData,
26579 _swigt__p_wxNotifyEvent,
26580 _swigt__p_wxPyWindow,
26581 _swigt__p_wxSplashScreen,
26582 _swigt__p_wxFindReplaceDialog,
26583 _swigt__p_wxProgressDialog,
26584 _swigt__p_wxMessageDialog,
26585 _swigt__p_wxTextEntryDialog,
26586 _swigt__p_wxSingleChoiceDialog,
26587 _swigt__p_wxMultiChoiceDialog,
26588 _swigt__p_wxFileDialog,
26589 _swigt__p_wxPrinter,
26590 _swigt__p_wxArrayInt,
26591 _swigt__p_wxEvtHandler,
26592 _swigt__p_wxCalculateLayoutEvent,
26593 _swigt__p_wxPyHtmlListBox,
26594 _swigt__p_wxPyVListBox,
26595 _swigt__p_wxRect,
26596 _swigt__p_char,
26597 _swigt__p_wxMiniFrame,
26598 _swigt__p_wxFrame,
26599 _swigt__p_wxPyPrintout,
26600 _swigt__p_wxTaskBarIconEvent,
26601 _swigt__p_wxScrollWinEvent,
26602 _swigt__p_wxStatusBar,
26603 _swigt__p_wxMDIParentFrame,
26604 _swigt__p_wxPoint,
26605 _swigt__p_wxObject,
26606 _swigt__p_wxOutputStream,
26607 _swigt__p_wxPyScrolledWindow,
26608 _swigt__p_wxMDIClientWindow,
26609 _swigt__p_wxTipWindow,
26610 _swigt__p_wxPyPopupTransientWindow,
26611 _swigt__p_wxSashLayoutWindow,
26612 _swigt__p_wxSplitterWindow,
26613 _swigt__p_wxPyVScrolledWindow,
26614 _swigt__p_wxPopupWindow,
26615 _swigt__p_wxSashWindow,
26616 _swigt__p_wxTopLevelWindow,
26617 _swigt__p_wxWindow,
26618 _swigt__p_wxScrolledWindow,
26619 _swigt__p_wxSplashScreenWindow,
26620 _swigt__p_wxMenuBar,
26621 _swigt__p_wxPrintPreview,
26622 _swigt__p_wxSashEvent,
26623 _swigt__p_wxString,
26624 _swigt__p_wxPyPrintPreview,
26625 _swigt__p_wxFontDialog,
26626 _swigt__p_wxDirDialog,
26627 _swigt__p_wxColourDialog,
26628 _swigt__p_wxDialog,
26629 _swigt__p_wxPanel,
26630 _swigt__p_wxPageSetupDialog,
26631 _swigt__p_wxPrintDialog,
26632 _swigt__p_wxFileSystem,
26633 _swigt__p_wxBitmap,
26634 _swigt__p_wxCommandEvent,
26635 _swigt__p_wxPreviewControlBar,
26636 _swigt__p_wxPyPreviewControlBar,
26637 _swigt__p_wxColour,
26638 _swigt__p_wxToolBar,
26639 _swigt__p_wxPageSetupDialogData,
26640 _swigt__p_wxPrintDialogData,
26641 0
26642 };
26643
26644
26645 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26646
26647 static swig_const_info swig_const_table[] = {
26648 {0}};
26649
26650 #ifdef __cplusplus
26651 }
26652 #endif
26653
26654 #ifdef __cplusplus
26655 extern "C"
26656 #endif
26657 SWIGEXPORT(void) SWIG_init(void) {
26658 static PyObject *SWIG_globals = 0;
26659 static int typeinit = 0;
26660 PyObject *m, *d;
26661 int i;
26662 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26663 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26664 d = PyModule_GetDict(m);
26665
26666 if (!typeinit) {
26667 for (i = 0; swig_types_initial[i]; i++) {
26668 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26669 }
26670 typeinit = 1;
26671 }
26672 SWIG_InstallConstants(d,swig_const_table);
26673
26674 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26675 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26676 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26677 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26678 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26679 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26680 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26681 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26682 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26683 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26684 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26685 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26686 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26687 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26688 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26689 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26690 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26691 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26692 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26693 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26694 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26695 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26696 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26697 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26698 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26699 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26700 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26701 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26702 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26703 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26704 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26705 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26706 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26707 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26708 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26709 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26710 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26711 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26712 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26713 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26714 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26715 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26716 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26717 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26718 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26719 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26720 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26721 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26722 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26723 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26724 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26725 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26726 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26727 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26728 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26729 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26730 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26731 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26732 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26733 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26734 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26735 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26736 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26737 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26738 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26739 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26740 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26741 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26742 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26743 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26744 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26745 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26746 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26747 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26748 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26749 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26750 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26751 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26752 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26753 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26754 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26755 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26756 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26757 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26758 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26759 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26760 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26761 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26762 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26763 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26764 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26765 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26766 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26767
26768 // Map renamed classes back to their common name for OOR
26769 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26770 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26771 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26772
26773 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26774 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26775 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26776 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26777 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26778 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26779 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26780 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26781 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26782 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26783 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26784 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26785 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26786 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26787 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26788 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26789 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26790 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26791 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26792 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26793 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26794 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26795 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26796 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26797 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26798 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26799 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26800 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26801 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26802 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26803 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26804 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26805 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26806 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26807 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26808 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26809 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26810 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26811 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26812 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26813 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26814 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26815 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26816 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26817 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26818 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26819 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26820 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26821 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26822 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26823 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26824 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26825 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26826 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26827 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26828 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26829 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26830 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26831 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26832 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26833
26834 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26835
26836 }
26837