]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
changed to behave in same way as native win32 control and generic wxListCtrl when...
[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_wxFontData swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxPrintData 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_wxSplashScreenWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
269 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
270 #define SWIGTYPE_p_wxSashWindow swig_types[61]
271 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
272 #define SWIGTYPE_p_wxWindow swig_types[63]
273 #define SWIGTYPE_p_wxScrolledWindow 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 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1398 {
1399 if (temp6)
1400 delete arg6;
1401 }
1402 return resultobj;
1403 fail:
1404 {
1405 if (temp6)
1406 delete arg6;
1407 }
1408 return NULL;
1409 }
1410
1411
1412 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1413 PyObject *resultobj;
1414 wxPanel *result;
1415 char *kwnames[] = {
1416 NULL
1417 };
1418
1419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1420 {
1421 if (!wxPyCheckForApp()) SWIG_fail;
1422 PyThreadState* __tstate = wxPyBeginAllowThreads();
1423 result = (wxPanel *)new wxPanel();
1424
1425 wxPyEndAllowThreads(__tstate);
1426 if (PyErr_Occurred()) SWIG_fail;
1427 }
1428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1429 return resultobj;
1430 fail:
1431 return NULL;
1432 }
1433
1434
1435 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1436 PyObject *resultobj;
1437 wxPanel *arg1 = (wxPanel *) 0 ;
1438 wxWindow *arg2 = (wxWindow *) 0 ;
1439 int arg3 = (int) (int)-1 ;
1440 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1441 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1442 wxSize const &arg5_defvalue = wxDefaultSize ;
1443 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1444 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1445 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1446 wxString *arg7 = (wxString *) &arg7_defvalue ;
1447 bool result;
1448 wxPoint temp4 ;
1449 wxSize temp5 ;
1450 bool temp7 = False ;
1451 PyObject * obj0 = 0 ;
1452 PyObject * obj1 = 0 ;
1453 PyObject * obj2 = 0 ;
1454 PyObject * obj3 = 0 ;
1455 PyObject * obj4 = 0 ;
1456 PyObject * obj5 = 0 ;
1457 PyObject * obj6 = 0 ;
1458 char *kwnames[] = {
1459 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1460 };
1461
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1465 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1467 if (obj2) {
1468 arg3 = (int const) SWIG_AsInt(obj2);
1469 if (PyErr_Occurred()) SWIG_fail;
1470 }
1471 if (obj3) {
1472 {
1473 arg4 = &temp4;
1474 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1475 }
1476 }
1477 if (obj4) {
1478 {
1479 arg5 = &temp5;
1480 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1481 }
1482 }
1483 if (obj5) {
1484 arg6 = (long) SWIG_AsLong(obj5);
1485 if (PyErr_Occurred()) SWIG_fail;
1486 }
1487 if (obj6) {
1488 {
1489 arg7 = wxString_in_helper(obj6);
1490 if (arg7 == NULL) SWIG_fail;
1491 temp7 = True;
1492 }
1493 }
1494 {
1495 PyThreadState* __tstate = wxPyBeginAllowThreads();
1496 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1497
1498 wxPyEndAllowThreads(__tstate);
1499 if (PyErr_Occurred()) SWIG_fail;
1500 }
1501 {
1502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1503 }
1504 {
1505 if (temp7)
1506 delete arg7;
1507 }
1508 return resultobj;
1509 fail:
1510 {
1511 if (temp7)
1512 delete arg7;
1513 }
1514 return NULL;
1515 }
1516
1517
1518 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1519 PyObject *resultobj;
1520 wxPanel *arg1 = (wxPanel *) 0 ;
1521 PyObject * obj0 = 0 ;
1522 char *kwnames[] = {
1523 (char *) "self", NULL
1524 };
1525
1526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1529 {
1530 PyThreadState* __tstate = wxPyBeginAllowThreads();
1531 (arg1)->InitDialog();
1532
1533 wxPyEndAllowThreads(__tstate);
1534 if (PyErr_Occurred()) SWIG_fail;
1535 }
1536 Py_INCREF(Py_None); resultobj = Py_None;
1537 return resultobj;
1538 fail:
1539 return NULL;
1540 }
1541
1542
1543 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1544 PyObject *resultobj;
1545 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1546 wxVisualAttributes result;
1547 PyObject * obj0 = 0 ;
1548 char *kwnames[] = {
1549 (char *) "variant", NULL
1550 };
1551
1552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1553 if (obj0) {
1554 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1555 if (PyErr_Occurred()) SWIG_fail;
1556 }
1557 {
1558 if (!wxPyCheckForApp()) SWIG_fail;
1559 PyThreadState* __tstate = wxPyBeginAllowThreads();
1560 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1561
1562 wxPyEndAllowThreads(__tstate);
1563 if (PyErr_Occurred()) SWIG_fail;
1564 }
1565 {
1566 wxVisualAttributes * resultptr;
1567 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1568 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1569 }
1570 return resultobj;
1571 fail:
1572 return NULL;
1573 }
1574
1575
1576 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1577 PyObject *obj;
1578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1579 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1580 Py_INCREF(obj);
1581 return Py_BuildValue((char *)"");
1582 }
1583 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1584 PyObject *resultobj;
1585 wxWindow *arg1 = (wxWindow *) 0 ;
1586 int arg2 = (int) (int)-1 ;
1587 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1588 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1589 wxSize const &arg4_defvalue = wxDefaultSize ;
1590 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1591 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1592 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1593 wxString *arg6 = (wxString *) &arg6_defvalue ;
1594 wxScrolledWindow *result;
1595 wxPoint temp3 ;
1596 wxSize temp4 ;
1597 bool temp6 = False ;
1598 PyObject * obj0 = 0 ;
1599 PyObject * obj1 = 0 ;
1600 PyObject * obj2 = 0 ;
1601 PyObject * obj3 = 0 ;
1602 PyObject * obj4 = 0 ;
1603 PyObject * obj5 = 0 ;
1604 char *kwnames[] = {
1605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1606 };
1607
1608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1611 if (obj1) {
1612 arg2 = (int const) SWIG_AsInt(obj1);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 }
1615 if (obj2) {
1616 {
1617 arg3 = &temp3;
1618 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1619 }
1620 }
1621 if (obj3) {
1622 {
1623 arg4 = &temp4;
1624 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1625 }
1626 }
1627 if (obj4) {
1628 arg5 = (long) SWIG_AsLong(obj4);
1629 if (PyErr_Occurred()) SWIG_fail;
1630 }
1631 if (obj5) {
1632 {
1633 arg6 = wxString_in_helper(obj5);
1634 if (arg6 == NULL) SWIG_fail;
1635 temp6 = True;
1636 }
1637 }
1638 {
1639 if (!wxPyCheckForApp()) SWIG_fail;
1640 PyThreadState* __tstate = wxPyBeginAllowThreads();
1641 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1642
1643 wxPyEndAllowThreads(__tstate);
1644 if (PyErr_Occurred()) SWIG_fail;
1645 }
1646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1647 {
1648 if (temp6)
1649 delete arg6;
1650 }
1651 return resultobj;
1652 fail:
1653 {
1654 if (temp6)
1655 delete arg6;
1656 }
1657 return NULL;
1658 }
1659
1660
1661 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1662 PyObject *resultobj;
1663 wxScrolledWindow *result;
1664 char *kwnames[] = {
1665 NULL
1666 };
1667
1668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1669 {
1670 if (!wxPyCheckForApp()) SWIG_fail;
1671 PyThreadState* __tstate = wxPyBeginAllowThreads();
1672 result = (wxScrolledWindow *)new wxScrolledWindow();
1673
1674 wxPyEndAllowThreads(__tstate);
1675 if (PyErr_Occurred()) SWIG_fail;
1676 }
1677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1678 return resultobj;
1679 fail:
1680 return NULL;
1681 }
1682
1683
1684 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1685 PyObject *resultobj;
1686 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1687 wxWindow *arg2 = (wxWindow *) 0 ;
1688 int arg3 = (int) (int)-1 ;
1689 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1690 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1691 wxSize const &arg5_defvalue = wxDefaultSize ;
1692 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1693 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1694 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1695 wxString *arg7 = (wxString *) &arg7_defvalue ;
1696 bool result;
1697 wxPoint temp4 ;
1698 wxSize temp5 ;
1699 bool temp7 = False ;
1700 PyObject * obj0 = 0 ;
1701 PyObject * obj1 = 0 ;
1702 PyObject * obj2 = 0 ;
1703 PyObject * obj3 = 0 ;
1704 PyObject * obj4 = 0 ;
1705 PyObject * obj5 = 0 ;
1706 PyObject * obj6 = 0 ;
1707 char *kwnames[] = {
1708 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1709 };
1710
1711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1714 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1716 if (obj2) {
1717 arg3 = (int const) SWIG_AsInt(obj2);
1718 if (PyErr_Occurred()) SWIG_fail;
1719 }
1720 if (obj3) {
1721 {
1722 arg4 = &temp4;
1723 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1724 }
1725 }
1726 if (obj4) {
1727 {
1728 arg5 = &temp5;
1729 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1730 }
1731 }
1732 if (obj5) {
1733 arg6 = (long) SWIG_AsLong(obj5);
1734 if (PyErr_Occurred()) SWIG_fail;
1735 }
1736 if (obj6) {
1737 {
1738 arg7 = wxString_in_helper(obj6);
1739 if (arg7 == NULL) SWIG_fail;
1740 temp7 = True;
1741 }
1742 }
1743 {
1744 PyThreadState* __tstate = wxPyBeginAllowThreads();
1745 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1746
1747 wxPyEndAllowThreads(__tstate);
1748 if (PyErr_Occurred()) SWIG_fail;
1749 }
1750 {
1751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1752 }
1753 {
1754 if (temp7)
1755 delete arg7;
1756 }
1757 return resultobj;
1758 fail:
1759 {
1760 if (temp7)
1761 delete arg7;
1762 }
1763 return NULL;
1764 }
1765
1766
1767 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject *resultobj;
1769 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1770 int arg2 ;
1771 int arg3 ;
1772 int arg4 ;
1773 int arg5 ;
1774 int arg6 = (int) 0 ;
1775 int arg7 = (int) 0 ;
1776 bool arg8 = (bool) False ;
1777 PyObject * obj0 = 0 ;
1778 PyObject * obj1 = 0 ;
1779 PyObject * obj2 = 0 ;
1780 PyObject * obj3 = 0 ;
1781 PyObject * obj4 = 0 ;
1782 PyObject * obj5 = 0 ;
1783 PyObject * obj6 = 0 ;
1784 PyObject * obj7 = 0 ;
1785 char *kwnames[] = {
1786 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1787 };
1788
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1792 arg2 = (int) SWIG_AsInt(obj1);
1793 if (PyErr_Occurred()) SWIG_fail;
1794 arg3 = (int) SWIG_AsInt(obj2);
1795 if (PyErr_Occurred()) SWIG_fail;
1796 arg4 = (int) SWIG_AsInt(obj3);
1797 if (PyErr_Occurred()) SWIG_fail;
1798 arg5 = (int) SWIG_AsInt(obj4);
1799 if (PyErr_Occurred()) SWIG_fail;
1800 if (obj5) {
1801 arg6 = (int) SWIG_AsInt(obj5);
1802 if (PyErr_Occurred()) SWIG_fail;
1803 }
1804 if (obj6) {
1805 arg7 = (int) SWIG_AsInt(obj6);
1806 if (PyErr_Occurred()) SWIG_fail;
1807 }
1808 if (obj7) {
1809 arg8 = (bool) SWIG_AsBool(obj7);
1810 if (PyErr_Occurred()) SWIG_fail;
1811 }
1812 {
1813 PyThreadState* __tstate = wxPyBeginAllowThreads();
1814 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1815
1816 wxPyEndAllowThreads(__tstate);
1817 if (PyErr_Occurred()) SWIG_fail;
1818 }
1819 Py_INCREF(Py_None); resultobj = Py_None;
1820 return resultobj;
1821 fail:
1822 return NULL;
1823 }
1824
1825
1826 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1827 PyObject *resultobj;
1828 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1829 int arg2 ;
1830 int arg3 ;
1831 PyObject * obj0 = 0 ;
1832 PyObject * obj1 = 0 ;
1833 PyObject * obj2 = 0 ;
1834 char *kwnames[] = {
1835 (char *) "self",(char *) "x",(char *) "y", NULL
1836 };
1837
1838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1841 arg2 = (int) SWIG_AsInt(obj1);
1842 if (PyErr_Occurred()) SWIG_fail;
1843 arg3 = (int) SWIG_AsInt(obj2);
1844 if (PyErr_Occurred()) SWIG_fail;
1845 {
1846 PyThreadState* __tstate = wxPyBeginAllowThreads();
1847 (arg1)->Scroll(arg2,arg3);
1848
1849 wxPyEndAllowThreads(__tstate);
1850 if (PyErr_Occurred()) SWIG_fail;
1851 }
1852 Py_INCREF(Py_None); resultobj = Py_None;
1853 return resultobj;
1854 fail:
1855 return NULL;
1856 }
1857
1858
1859 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1860 PyObject *resultobj;
1861 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1862 int arg2 ;
1863 int result;
1864 PyObject * obj0 = 0 ;
1865 PyObject * obj1 = 0 ;
1866 char *kwnames[] = {
1867 (char *) "self",(char *) "orient", NULL
1868 };
1869
1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1873 arg2 = (int) SWIG_AsInt(obj1);
1874 if (PyErr_Occurred()) SWIG_fail;
1875 {
1876 PyThreadState* __tstate = wxPyBeginAllowThreads();
1877 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1878
1879 wxPyEndAllowThreads(__tstate);
1880 if (PyErr_Occurred()) SWIG_fail;
1881 }
1882 resultobj = SWIG_FromInt((int)result);
1883 return resultobj;
1884 fail:
1885 return NULL;
1886 }
1887
1888
1889 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1890 PyObject *resultobj;
1891 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1892 int arg2 ;
1893 int arg3 ;
1894 PyObject * obj0 = 0 ;
1895 PyObject * obj1 = 0 ;
1896 PyObject * obj2 = 0 ;
1897 char *kwnames[] = {
1898 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1899 };
1900
1901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1904 arg2 = (int) SWIG_AsInt(obj1);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 arg3 = (int) SWIG_AsInt(obj2);
1907 if (PyErr_Occurred()) SWIG_fail;
1908 {
1909 PyThreadState* __tstate = wxPyBeginAllowThreads();
1910 (arg1)->SetScrollPageSize(arg2,arg3);
1911
1912 wxPyEndAllowThreads(__tstate);
1913 if (PyErr_Occurred()) SWIG_fail;
1914 }
1915 Py_INCREF(Py_None); resultobj = Py_None;
1916 return resultobj;
1917 fail:
1918 return NULL;
1919 }
1920
1921
1922 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1925 int arg2 ;
1926 int arg3 ;
1927 PyObject * obj0 = 0 ;
1928 PyObject * obj1 = 0 ;
1929 PyObject * obj2 = 0 ;
1930 char *kwnames[] = {
1931 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1932 };
1933
1934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1937 arg2 = (int) SWIG_AsInt(obj1);
1938 if (PyErr_Occurred()) SWIG_fail;
1939 arg3 = (int) SWIG_AsInt(obj2);
1940 if (PyErr_Occurred()) SWIG_fail;
1941 {
1942 PyThreadState* __tstate = wxPyBeginAllowThreads();
1943 (arg1)->SetScrollRate(arg2,arg3);
1944
1945 wxPyEndAllowThreads(__tstate);
1946 if (PyErr_Occurred()) SWIG_fail;
1947 }
1948 Py_INCREF(Py_None); resultobj = Py_None;
1949 return resultobj;
1950 fail:
1951 return NULL;
1952 }
1953
1954
1955 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1956 PyObject *resultobj;
1957 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1958 int *arg2 = (int *) 0 ;
1959 int *arg3 = (int *) 0 ;
1960 int temp2 ;
1961 int temp3 ;
1962 PyObject * obj0 = 0 ;
1963 char *kwnames[] = {
1964 (char *) "self", NULL
1965 };
1966
1967 arg2 = &temp2;
1968 arg3 = &temp3;
1969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1972 {
1973 PyThreadState* __tstate = wxPyBeginAllowThreads();
1974 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1975
1976 wxPyEndAllowThreads(__tstate);
1977 if (PyErr_Occurred()) SWIG_fail;
1978 }
1979 Py_INCREF(Py_None); resultobj = Py_None;
1980 {
1981 PyObject *o = PyInt_FromLong((long) (*arg2));
1982 resultobj = t_output_helper(resultobj,o);
1983 }
1984 {
1985 PyObject *o = PyInt_FromLong((long) (*arg3));
1986 resultobj = t_output_helper(resultobj,o);
1987 }
1988 return resultobj;
1989 fail:
1990 return NULL;
1991 }
1992
1993
1994 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1995 PyObject *resultobj;
1996 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1997 bool arg2 ;
1998 bool arg3 ;
1999 PyObject * obj0 = 0 ;
2000 PyObject * obj1 = 0 ;
2001 PyObject * obj2 = 0 ;
2002 char *kwnames[] = {
2003 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2004 };
2005
2006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2009 arg2 = (bool) SWIG_AsBool(obj1);
2010 if (PyErr_Occurred()) SWIG_fail;
2011 arg3 = (bool) SWIG_AsBool(obj2);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 {
2014 PyThreadState* __tstate = wxPyBeginAllowThreads();
2015 (arg1)->EnableScrolling(arg2,arg3);
2016
2017 wxPyEndAllowThreads(__tstate);
2018 if (PyErr_Occurred()) SWIG_fail;
2019 }
2020 Py_INCREF(Py_None); resultobj = Py_None;
2021 return resultobj;
2022 fail:
2023 return NULL;
2024 }
2025
2026
2027 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
2028 PyObject *resultobj;
2029 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2030 int *arg2 = (int *) 0 ;
2031 int *arg3 = (int *) 0 ;
2032 int temp2 ;
2033 int temp3 ;
2034 PyObject * obj0 = 0 ;
2035 char *kwnames[] = {
2036 (char *) "self", NULL
2037 };
2038
2039 arg2 = &temp2;
2040 arg3 = &temp3;
2041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2044 {
2045 PyThreadState* __tstate = wxPyBeginAllowThreads();
2046 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2047
2048 wxPyEndAllowThreads(__tstate);
2049 if (PyErr_Occurred()) SWIG_fail;
2050 }
2051 Py_INCREF(Py_None); resultobj = Py_None;
2052 {
2053 PyObject *o = PyInt_FromLong((long) (*arg2));
2054 resultobj = t_output_helper(resultobj,o);
2055 }
2056 {
2057 PyObject *o = PyInt_FromLong((long) (*arg3));
2058 resultobj = t_output_helper(resultobj,o);
2059 }
2060 return resultobj;
2061 fail:
2062 return NULL;
2063 }
2064
2065
2066 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
2067 PyObject *resultobj;
2068 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2069 double arg2 ;
2070 double arg3 ;
2071 PyObject * obj0 = 0 ;
2072 PyObject * obj1 = 0 ;
2073 PyObject * obj2 = 0 ;
2074 char *kwnames[] = {
2075 (char *) "self",(char *) "xs",(char *) "ys", NULL
2076 };
2077
2078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2081 arg2 = (double) SWIG_AsDouble(obj1);
2082 if (PyErr_Occurred()) SWIG_fail;
2083 arg3 = (double) SWIG_AsDouble(obj2);
2084 if (PyErr_Occurred()) SWIG_fail;
2085 {
2086 PyThreadState* __tstate = wxPyBeginAllowThreads();
2087 (arg1)->SetScale(arg2,arg3);
2088
2089 wxPyEndAllowThreads(__tstate);
2090 if (PyErr_Occurred()) SWIG_fail;
2091 }
2092 Py_INCREF(Py_None); resultobj = Py_None;
2093 return resultobj;
2094 fail:
2095 return NULL;
2096 }
2097
2098
2099 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2100 PyObject *resultobj;
2101 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2102 double result;
2103 PyObject * obj0 = 0 ;
2104 char *kwnames[] = {
2105 (char *) "self", NULL
2106 };
2107
2108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2111 {
2112 PyThreadState* __tstate = wxPyBeginAllowThreads();
2113 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2114
2115 wxPyEndAllowThreads(__tstate);
2116 if (PyErr_Occurred()) SWIG_fail;
2117 }
2118 resultobj = SWIG_FromDouble((double)result);
2119 return resultobj;
2120 fail:
2121 return NULL;
2122 }
2123
2124
2125 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2126 PyObject *resultobj;
2127 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2128 double result;
2129 PyObject * obj0 = 0 ;
2130 char *kwnames[] = {
2131 (char *) "self", NULL
2132 };
2133
2134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2137 {
2138 PyThreadState* __tstate = wxPyBeginAllowThreads();
2139 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2140
2141 wxPyEndAllowThreads(__tstate);
2142 if (PyErr_Occurred()) SWIG_fail;
2143 }
2144 resultobj = SWIG_FromDouble((double)result);
2145 return resultobj;
2146 fail:
2147 return NULL;
2148 }
2149
2150
2151 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2152 PyObject *resultobj;
2153 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2154 wxPoint *arg2 = 0 ;
2155 wxPoint result;
2156 wxPoint temp2 ;
2157 PyObject * obj0 = 0 ;
2158 PyObject * obj1 = 0 ;
2159
2160 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2163 {
2164 arg2 = &temp2;
2165 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2166 }
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
2174 {
2175 wxPoint * resultptr;
2176 resultptr = new wxPoint((wxPoint &) result);
2177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2178 }
2179 return resultobj;
2180 fail:
2181 return NULL;
2182 }
2183
2184
2185 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2186 PyObject *resultobj;
2187 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2188 int arg2 ;
2189 int arg3 ;
2190 int *arg4 = (int *) 0 ;
2191 int *arg5 = (int *) 0 ;
2192 int temp4 ;
2193 int temp5 ;
2194 PyObject * obj0 = 0 ;
2195 PyObject * obj1 = 0 ;
2196 PyObject * obj2 = 0 ;
2197
2198 arg4 = &temp4;
2199 arg5 = &temp5;
2200 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2203 arg2 = (int) SWIG_AsInt(obj1);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 arg3 = (int) SWIG_AsInt(obj2);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 {
2208 PyThreadState* __tstate = wxPyBeginAllowThreads();
2209 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2210
2211 wxPyEndAllowThreads(__tstate);
2212 if (PyErr_Occurred()) SWIG_fail;
2213 }
2214 Py_INCREF(Py_None); resultobj = Py_None;
2215 {
2216 PyObject *o = PyInt_FromLong((long) (*arg4));
2217 resultobj = t_output_helper(resultobj,o);
2218 }
2219 {
2220 PyObject *o = PyInt_FromLong((long) (*arg5));
2221 resultobj = t_output_helper(resultobj,o);
2222 }
2223 return resultobj;
2224 fail:
2225 return NULL;
2226 }
2227
2228
2229 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2230 int argc;
2231 PyObject *argv[4];
2232 int ii;
2233
2234 argc = PyObject_Length(args);
2235 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2236 argv[ii] = PyTuple_GetItem(args,ii);
2237 }
2238 if (argc == 2) {
2239 int _v;
2240 {
2241 void *ptr;
2242 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2243 _v = 0;
2244 PyErr_Clear();
2245 } else {
2246 _v = 1;
2247 }
2248 }
2249 if (_v) {
2250 {
2251 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2252 }
2253 if (_v) {
2254 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2255 }
2256 }
2257 }
2258 if (argc == 3) {
2259 int _v;
2260 {
2261 void *ptr;
2262 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2263 _v = 0;
2264 PyErr_Clear();
2265 } else {
2266 _v = 1;
2267 }
2268 }
2269 if (_v) {
2270 _v = SWIG_CheckInt(argv[1]);
2271 if (_v) {
2272 _v = SWIG_CheckInt(argv[2]);
2273 if (_v) {
2274 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2275 }
2276 }
2277 }
2278 }
2279
2280 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2281 return NULL;
2282 }
2283
2284
2285 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2286 PyObject *resultobj;
2287 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2288 wxPoint *arg2 = 0 ;
2289 wxPoint result;
2290 wxPoint temp2 ;
2291 PyObject * obj0 = 0 ;
2292 PyObject * obj1 = 0 ;
2293
2294 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2297 {
2298 arg2 = &temp2;
2299 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2300 }
2301 {
2302 PyThreadState* __tstate = wxPyBeginAllowThreads();
2303 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2304
2305 wxPyEndAllowThreads(__tstate);
2306 if (PyErr_Occurred()) SWIG_fail;
2307 }
2308 {
2309 wxPoint * resultptr;
2310 resultptr = new wxPoint((wxPoint &) result);
2311 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2312 }
2313 return resultobj;
2314 fail:
2315 return NULL;
2316 }
2317
2318
2319 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2320 PyObject *resultobj;
2321 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2322 int arg2 ;
2323 int arg3 ;
2324 int *arg4 = (int *) 0 ;
2325 int *arg5 = (int *) 0 ;
2326 int temp4 ;
2327 int temp5 ;
2328 PyObject * obj0 = 0 ;
2329 PyObject * obj1 = 0 ;
2330 PyObject * obj2 = 0 ;
2331
2332 arg4 = &temp4;
2333 arg5 = &temp5;
2334 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2337 arg2 = (int) SWIG_AsInt(obj1);
2338 if (PyErr_Occurred()) SWIG_fail;
2339 arg3 = (int) SWIG_AsInt(obj2);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 {
2342 PyThreadState* __tstate = wxPyBeginAllowThreads();
2343 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2344
2345 wxPyEndAllowThreads(__tstate);
2346 if (PyErr_Occurred()) SWIG_fail;
2347 }
2348 Py_INCREF(Py_None); resultobj = Py_None;
2349 {
2350 PyObject *o = PyInt_FromLong((long) (*arg4));
2351 resultobj = t_output_helper(resultobj,o);
2352 }
2353 {
2354 PyObject *o = PyInt_FromLong((long) (*arg5));
2355 resultobj = t_output_helper(resultobj,o);
2356 }
2357 return resultobj;
2358 fail:
2359 return NULL;
2360 }
2361
2362
2363 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2364 int argc;
2365 PyObject *argv[4];
2366 int ii;
2367
2368 argc = PyObject_Length(args);
2369 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2370 argv[ii] = PyTuple_GetItem(args,ii);
2371 }
2372 if (argc == 2) {
2373 int _v;
2374 {
2375 void *ptr;
2376 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2377 _v = 0;
2378 PyErr_Clear();
2379 } else {
2380 _v = 1;
2381 }
2382 }
2383 if (_v) {
2384 {
2385 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2386 }
2387 if (_v) {
2388 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2389 }
2390 }
2391 }
2392 if (argc == 3) {
2393 int _v;
2394 {
2395 void *ptr;
2396 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2397 _v = 0;
2398 PyErr_Clear();
2399 } else {
2400 _v = 1;
2401 }
2402 }
2403 if (_v) {
2404 _v = SWIG_CheckInt(argv[1]);
2405 if (_v) {
2406 _v = SWIG_CheckInt(argv[2]);
2407 if (_v) {
2408 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2409 }
2410 }
2411 }
2412 }
2413
2414 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2415 return NULL;
2416 }
2417
2418
2419 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2420 PyObject *resultobj;
2421 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2422 PyObject * obj0 = 0 ;
2423 char *kwnames[] = {
2424 (char *) "self", NULL
2425 };
2426
2427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2430 {
2431 PyThreadState* __tstate = wxPyBeginAllowThreads();
2432 (arg1)->AdjustScrollbars();
2433
2434 wxPyEndAllowThreads(__tstate);
2435 if (PyErr_Occurred()) SWIG_fail;
2436 }
2437 Py_INCREF(Py_None); resultobj = Py_None;
2438 return resultobj;
2439 fail:
2440 return NULL;
2441 }
2442
2443
2444 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2445 PyObject *resultobj;
2446 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2447 wxScrollWinEvent *arg2 = 0 ;
2448 int result;
2449 PyObject * obj0 = 0 ;
2450 PyObject * obj1 = 0 ;
2451 char *kwnames[] = {
2452 (char *) "self",(char *) "event", NULL
2453 };
2454
2455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2458 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2459 SWIG_POINTER_EXCEPTION | 0)) == -1)
2460 SWIG_fail;
2461 if (arg2 == NULL) {
2462 PyErr_SetString(PyExc_TypeError,"null reference");
2463 SWIG_fail;
2464 }
2465 {
2466 PyThreadState* __tstate = wxPyBeginAllowThreads();
2467 result = (int)(arg1)->CalcScrollInc(*arg2);
2468
2469 wxPyEndAllowThreads(__tstate);
2470 if (PyErr_Occurred()) SWIG_fail;
2471 }
2472 resultobj = SWIG_FromInt((int)result);
2473 return resultobj;
2474 fail:
2475 return NULL;
2476 }
2477
2478
2479 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2480 PyObject *resultobj;
2481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2482 wxWindow *arg2 = (wxWindow *) 0 ;
2483 PyObject * obj0 = 0 ;
2484 PyObject * obj1 = 0 ;
2485 char *kwnames[] = {
2486 (char *) "self",(char *) "target", NULL
2487 };
2488
2489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2492 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2494 {
2495 PyThreadState* __tstate = wxPyBeginAllowThreads();
2496 (arg1)->SetTargetWindow(arg2);
2497
2498 wxPyEndAllowThreads(__tstate);
2499 if (PyErr_Occurred()) SWIG_fail;
2500 }
2501 Py_INCREF(Py_None); resultobj = Py_None;
2502 return resultobj;
2503 fail:
2504 return NULL;
2505 }
2506
2507
2508 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2509 PyObject *resultobj;
2510 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2511 wxWindow *result;
2512 PyObject * obj0 = 0 ;
2513 char *kwnames[] = {
2514 (char *) "self", NULL
2515 };
2516
2517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2520 {
2521 PyThreadState* __tstate = wxPyBeginAllowThreads();
2522 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2523
2524 wxPyEndAllowThreads(__tstate);
2525 if (PyErr_Occurred()) SWIG_fail;
2526 }
2527 {
2528 resultobj = wxPyMake_wxObject(result, 0);
2529 }
2530 return resultobj;
2531 fail:
2532 return NULL;
2533 }
2534
2535
2536 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2537 PyObject *resultobj;
2538 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2539 wxRect *arg2 = 0 ;
2540 wxRect temp2 ;
2541 PyObject * obj0 = 0 ;
2542 PyObject * obj1 = 0 ;
2543 char *kwnames[] = {
2544 (char *) "self",(char *) "rect", NULL
2545 };
2546
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2550 {
2551 arg2 = &temp2;
2552 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2553 }
2554 {
2555 PyThreadState* __tstate = wxPyBeginAllowThreads();
2556 (arg1)->SetTargetRect((wxRect const &)*arg2);
2557
2558 wxPyEndAllowThreads(__tstate);
2559 if (PyErr_Occurred()) SWIG_fail;
2560 }
2561 Py_INCREF(Py_None); resultobj = Py_None;
2562 return resultobj;
2563 fail:
2564 return NULL;
2565 }
2566
2567
2568 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2569 PyObject *resultobj;
2570 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2571 wxRect result;
2572 PyObject * obj0 = 0 ;
2573 char *kwnames[] = {
2574 (char *) "self", NULL
2575 };
2576
2577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2580 {
2581 PyThreadState* __tstate = wxPyBeginAllowThreads();
2582 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2583
2584 wxPyEndAllowThreads(__tstate);
2585 if (PyErr_Occurred()) SWIG_fail;
2586 }
2587 {
2588 wxRect * resultptr;
2589 resultptr = new wxRect((wxRect &) result);
2590 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2591 }
2592 return resultobj;
2593 fail:
2594 return NULL;
2595 }
2596
2597
2598 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
2599 PyObject *resultobj;
2600 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2601 wxDC *arg2 = 0 ;
2602 PyObject * obj0 = 0 ;
2603 PyObject * obj1 = 0 ;
2604 char *kwnames[] = {
2605 (char *) "self",(char *) "dc", NULL
2606 };
2607
2608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2612 SWIG_POINTER_EXCEPTION | 0)) == -1)
2613 SWIG_fail;
2614 if (arg2 == NULL) {
2615 PyErr_SetString(PyExc_TypeError,"null reference");
2616 SWIG_fail;
2617 }
2618 {
2619 PyThreadState* __tstate = wxPyBeginAllowThreads();
2620 (arg1)->DoPrepareDC(*arg2);
2621
2622 wxPyEndAllowThreads(__tstate);
2623 if (PyErr_Occurred()) SWIG_fail;
2624 }
2625 Py_INCREF(Py_None); resultobj = Py_None;
2626 return resultobj;
2627 fail:
2628 return NULL;
2629 }
2630
2631
2632 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2633 PyObject *resultobj;
2634 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2635 wxVisualAttributes result;
2636 PyObject * obj0 = 0 ;
2637 char *kwnames[] = {
2638 (char *) "variant", NULL
2639 };
2640
2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2642 if (obj0) {
2643 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2644 if (PyErr_Occurred()) SWIG_fail;
2645 }
2646 {
2647 if (!wxPyCheckForApp()) SWIG_fail;
2648 PyThreadState* __tstate = wxPyBeginAllowThreads();
2649 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2650
2651 wxPyEndAllowThreads(__tstate);
2652 if (PyErr_Occurred()) SWIG_fail;
2653 }
2654 {
2655 wxVisualAttributes * resultptr;
2656 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2658 }
2659 return resultobj;
2660 fail:
2661 return NULL;
2662 }
2663
2664
2665 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2666 PyObject *obj;
2667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2668 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2669 Py_INCREF(obj);
2670 return Py_BuildValue((char *)"");
2671 }
2672 static int _wrap_FrameNameStr_set(PyObject *_val) {
2673 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2674 return 1;
2675 }
2676
2677
2678 static PyObject *_wrap_FrameNameStr_get() {
2679 PyObject *pyobj;
2680
2681 {
2682 #if wxUSE_UNICODE
2683 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2684 #else
2685 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2686 #endif
2687 }
2688 return pyobj;
2689 }
2690
2691
2692 static int _wrap_DialogNameStr_set(PyObject *_val) {
2693 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2694 return 1;
2695 }
2696
2697
2698 static PyObject *_wrap_DialogNameStr_get() {
2699 PyObject *pyobj;
2700
2701 {
2702 #if wxUSE_UNICODE
2703 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2704 #else
2705 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2706 #endif
2707 }
2708 return pyobj;
2709 }
2710
2711
2712 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2713 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2714 return 1;
2715 }
2716
2717
2718 static PyObject *_wrap_StatusLineNameStr_get() {
2719 PyObject *pyobj;
2720
2721 {
2722 #if wxUSE_UNICODE
2723 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2724 #else
2725 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2726 #endif
2727 }
2728 return pyobj;
2729 }
2730
2731
2732 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2733 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2734 return 1;
2735 }
2736
2737
2738 static PyObject *_wrap_ToolBarNameStr_get() {
2739 PyObject *pyobj;
2740
2741 {
2742 #if wxUSE_UNICODE
2743 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2744 #else
2745 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2746 #endif
2747 }
2748 return pyobj;
2749 }
2750
2751
2752 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2753 PyObject *resultobj;
2754 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2755 bool arg2 = (bool) True ;
2756 PyObject * obj0 = 0 ;
2757 PyObject * obj1 = 0 ;
2758 char *kwnames[] = {
2759 (char *) "self",(char *) "maximize", NULL
2760 };
2761
2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2765 if (obj1) {
2766 arg2 = (bool) SWIG_AsBool(obj1);
2767 if (PyErr_Occurred()) SWIG_fail;
2768 }
2769 {
2770 PyThreadState* __tstate = wxPyBeginAllowThreads();
2771 (arg1)->Maximize(arg2);
2772
2773 wxPyEndAllowThreads(__tstate);
2774 if (PyErr_Occurred()) SWIG_fail;
2775 }
2776 Py_INCREF(Py_None); resultobj = Py_None;
2777 return resultobj;
2778 fail:
2779 return NULL;
2780 }
2781
2782
2783 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2784 PyObject *resultobj;
2785 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2786 PyObject * obj0 = 0 ;
2787 char *kwnames[] = {
2788 (char *) "self", NULL
2789 };
2790
2791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2794 {
2795 PyThreadState* __tstate = wxPyBeginAllowThreads();
2796 (arg1)->Restore();
2797
2798 wxPyEndAllowThreads(__tstate);
2799 if (PyErr_Occurred()) SWIG_fail;
2800 }
2801 Py_INCREF(Py_None); resultobj = Py_None;
2802 return resultobj;
2803 fail:
2804 return NULL;
2805 }
2806
2807
2808 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2809 PyObject *resultobj;
2810 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2811 bool arg2 = (bool) True ;
2812 PyObject * obj0 = 0 ;
2813 PyObject * obj1 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "self",(char *) "iconize", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2821 if (obj1) {
2822 arg2 = (bool) SWIG_AsBool(obj1);
2823 if (PyErr_Occurred()) SWIG_fail;
2824 }
2825 {
2826 PyThreadState* __tstate = wxPyBeginAllowThreads();
2827 (arg1)->Iconize(arg2);
2828
2829 wxPyEndAllowThreads(__tstate);
2830 if (PyErr_Occurred()) SWIG_fail;
2831 }
2832 Py_INCREF(Py_None); resultobj = Py_None;
2833 return resultobj;
2834 fail:
2835 return NULL;
2836 }
2837
2838
2839 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2840 PyObject *resultobj;
2841 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2842 bool result;
2843 PyObject * obj0 = 0 ;
2844 char *kwnames[] = {
2845 (char *) "self", NULL
2846 };
2847
2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2851 {
2852 PyThreadState* __tstate = wxPyBeginAllowThreads();
2853 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2854
2855 wxPyEndAllowThreads(__tstate);
2856 if (PyErr_Occurred()) SWIG_fail;
2857 }
2858 {
2859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2860 }
2861 return resultobj;
2862 fail:
2863 return NULL;
2864 }
2865
2866
2867 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2868 PyObject *resultobj;
2869 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2870 bool result;
2871 PyObject * obj0 = 0 ;
2872 char *kwnames[] = {
2873 (char *) "self", NULL
2874 };
2875
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2879 {
2880 PyThreadState* __tstate = wxPyBeginAllowThreads();
2881 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2882
2883 wxPyEndAllowThreads(__tstate);
2884 if (PyErr_Occurred()) SWIG_fail;
2885 }
2886 {
2887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2888 }
2889 return resultobj;
2890 fail:
2891 return NULL;
2892 }
2893
2894
2895 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2896 PyObject *resultobj;
2897 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2898 wxIcon result;
2899 PyObject * obj0 = 0 ;
2900 char *kwnames[] = {
2901 (char *) "self", NULL
2902 };
2903
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2907 {
2908 PyThreadState* __tstate = wxPyBeginAllowThreads();
2909 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2910
2911 wxPyEndAllowThreads(__tstate);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 {
2915 wxIcon * resultptr;
2916 resultptr = new wxIcon((wxIcon &) result);
2917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2918 }
2919 return resultobj;
2920 fail:
2921 return NULL;
2922 }
2923
2924
2925 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2926 PyObject *resultobj;
2927 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2928 wxIcon *arg2 = 0 ;
2929 PyObject * obj0 = 0 ;
2930 PyObject * obj1 = 0 ;
2931 char *kwnames[] = {
2932 (char *) "self",(char *) "icon", NULL
2933 };
2934
2935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2939 SWIG_POINTER_EXCEPTION | 0)) == -1)
2940 SWIG_fail;
2941 if (arg2 == NULL) {
2942 PyErr_SetString(PyExc_TypeError,"null reference");
2943 SWIG_fail;
2944 }
2945 {
2946 PyThreadState* __tstate = wxPyBeginAllowThreads();
2947 (arg1)->SetIcon((wxIcon const &)*arg2);
2948
2949 wxPyEndAllowThreads(__tstate);
2950 if (PyErr_Occurred()) SWIG_fail;
2951 }
2952 Py_INCREF(Py_None); resultobj = Py_None;
2953 return resultobj;
2954 fail:
2955 return NULL;
2956 }
2957
2958
2959 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2960 PyObject *resultobj;
2961 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2962 wxIconBundle *arg2 = 0 ;
2963 PyObject * obj0 = 0 ;
2964 PyObject * obj1 = 0 ;
2965 char *kwnames[] = {
2966 (char *) "self",(char *) "icons", NULL
2967 };
2968
2969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2972 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2973 SWIG_POINTER_EXCEPTION | 0)) == -1)
2974 SWIG_fail;
2975 if (arg2 == NULL) {
2976 PyErr_SetString(PyExc_TypeError,"null reference");
2977 SWIG_fail;
2978 }
2979 {
2980 PyThreadState* __tstate = wxPyBeginAllowThreads();
2981 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2982
2983 wxPyEndAllowThreads(__tstate);
2984 if (PyErr_Occurred()) SWIG_fail;
2985 }
2986 Py_INCREF(Py_None); resultobj = Py_None;
2987 return resultobj;
2988 fail:
2989 return NULL;
2990 }
2991
2992
2993 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2994 PyObject *resultobj;
2995 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2996 bool arg2 ;
2997 long arg3 = (long) wxFULLSCREEN_ALL ;
2998 bool result;
2999 PyObject * obj0 = 0 ;
3000 PyObject * obj1 = 0 ;
3001 PyObject * obj2 = 0 ;
3002 char *kwnames[] = {
3003 (char *) "self",(char *) "show",(char *) "style", NULL
3004 };
3005
3006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3009 arg2 = (bool) SWIG_AsBool(obj1);
3010 if (PyErr_Occurred()) SWIG_fail;
3011 if (obj2) {
3012 arg3 = (long) SWIG_AsLong(obj2);
3013 if (PyErr_Occurred()) SWIG_fail;
3014 }
3015 {
3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
3017 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3018
3019 wxPyEndAllowThreads(__tstate);
3020 if (PyErr_Occurred()) SWIG_fail;
3021 }
3022 {
3023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3024 }
3025 return resultobj;
3026 fail:
3027 return NULL;
3028 }
3029
3030
3031 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
3032 PyObject *resultobj;
3033 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3034 bool result;
3035 PyObject * obj0 = 0 ;
3036 char *kwnames[] = {
3037 (char *) "self", NULL
3038 };
3039
3040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3043 {
3044 PyThreadState* __tstate = wxPyBeginAllowThreads();
3045 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3046
3047 wxPyEndAllowThreads(__tstate);
3048 if (PyErr_Occurred()) SWIG_fail;
3049 }
3050 {
3051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3052 }
3053 return resultobj;
3054 fail:
3055 return NULL;
3056 }
3057
3058
3059 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3060 PyObject *resultobj;
3061 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3062 wxString *arg2 = 0 ;
3063 bool temp2 = False ;
3064 PyObject * obj0 = 0 ;
3065 PyObject * obj1 = 0 ;
3066 char *kwnames[] = {
3067 (char *) "self",(char *) "title", NULL
3068 };
3069
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3073 {
3074 arg2 = wxString_in_helper(obj1);
3075 if (arg2 == NULL) SWIG_fail;
3076 temp2 = True;
3077 }
3078 {
3079 PyThreadState* __tstate = wxPyBeginAllowThreads();
3080 (arg1)->SetTitle((wxString const &)*arg2);
3081
3082 wxPyEndAllowThreads(__tstate);
3083 if (PyErr_Occurred()) SWIG_fail;
3084 }
3085 Py_INCREF(Py_None); resultobj = Py_None;
3086 {
3087 if (temp2)
3088 delete arg2;
3089 }
3090 return resultobj;
3091 fail:
3092 {
3093 if (temp2)
3094 delete arg2;
3095 }
3096 return NULL;
3097 }
3098
3099
3100 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3101 PyObject *resultobj;
3102 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3103 wxString result;
3104 PyObject * obj0 = 0 ;
3105 char *kwnames[] = {
3106 (char *) "self", NULL
3107 };
3108
3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3112 {
3113 PyThreadState* __tstate = wxPyBeginAllowThreads();
3114 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3115
3116 wxPyEndAllowThreads(__tstate);
3117 if (PyErr_Occurred()) SWIG_fail;
3118 }
3119 {
3120 #if wxUSE_UNICODE
3121 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3122 #else
3123 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3124 #endif
3125 }
3126 return resultobj;
3127 fail:
3128 return NULL;
3129 }
3130
3131
3132 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3133 PyObject *resultobj;
3134 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3135 wxRegion *arg2 = 0 ;
3136 bool result;
3137 PyObject * obj0 = 0 ;
3138 PyObject * obj1 = 0 ;
3139 char *kwnames[] = {
3140 (char *) "self",(char *) "region", NULL
3141 };
3142
3143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3146 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3147 SWIG_POINTER_EXCEPTION | 0)) == -1)
3148 SWIG_fail;
3149 if (arg2 == NULL) {
3150 PyErr_SetString(PyExc_TypeError,"null reference");
3151 SWIG_fail;
3152 }
3153 {
3154 PyThreadState* __tstate = wxPyBeginAllowThreads();
3155 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3156
3157 wxPyEndAllowThreads(__tstate);
3158 if (PyErr_Occurred()) SWIG_fail;
3159 }
3160 {
3161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3162 }
3163 return resultobj;
3164 fail:
3165 return NULL;
3166 }
3167
3168
3169 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
3170 PyObject *resultobj;
3171 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3172 bool arg2 ;
3173 PyObject * obj0 = 0 ;
3174 PyObject * obj1 = 0 ;
3175 char *kwnames[] = {
3176 (char *) "self",(char *) "on", NULL
3177 };
3178
3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3182 arg2 = (bool) SWIG_AsBool(obj1);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 (arg1)->MacSetMetalAppearance(arg2);
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 Py_INCREF(Py_None); resultobj = Py_None;
3192 return resultobj;
3193 fail:
3194 return NULL;
3195 }
3196
3197
3198 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *self, PyObject *args, PyObject *kwargs) {
3199 PyObject *resultobj;
3200 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3201 bool result;
3202 PyObject * obj0 = 0 ;
3203 char *kwnames[] = {
3204 (char *) "self", NULL
3205 };
3206
3207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3210 {
3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
3212 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
3213
3214 wxPyEndAllowThreads(__tstate);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 }
3217 {
3218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3219 }
3220 return resultobj;
3221 fail:
3222 return NULL;
3223 }
3224
3225
3226 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3227 PyObject *obj;
3228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3229 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3230 Py_INCREF(obj);
3231 return Py_BuildValue((char *)"");
3232 }
3233 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3234 PyObject *resultobj;
3235 wxWindow *arg1 = (wxWindow *) 0 ;
3236 int arg2 = (int) (int)-1 ;
3237 wxString const &arg3_defvalue = wxPyEmptyString ;
3238 wxString *arg3 = (wxString *) &arg3_defvalue ;
3239 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3240 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3241 wxSize const &arg5_defvalue = wxDefaultSize ;
3242 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3243 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3244 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3245 wxString *arg7 = (wxString *) &arg7_defvalue ;
3246 wxFrame *result;
3247 bool temp3 = False ;
3248 wxPoint temp4 ;
3249 wxSize temp5 ;
3250 bool temp7 = False ;
3251 PyObject * obj0 = 0 ;
3252 PyObject * obj1 = 0 ;
3253 PyObject * obj2 = 0 ;
3254 PyObject * obj3 = 0 ;
3255 PyObject * obj4 = 0 ;
3256 PyObject * obj5 = 0 ;
3257 PyObject * obj6 = 0 ;
3258 char *kwnames[] = {
3259 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3260 };
3261
3262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3265 if (obj1) {
3266 arg2 = (int const) SWIG_AsInt(obj1);
3267 if (PyErr_Occurred()) SWIG_fail;
3268 }
3269 if (obj2) {
3270 {
3271 arg3 = wxString_in_helper(obj2);
3272 if (arg3 == NULL) SWIG_fail;
3273 temp3 = True;
3274 }
3275 }
3276 if (obj3) {
3277 {
3278 arg4 = &temp4;
3279 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3280 }
3281 }
3282 if (obj4) {
3283 {
3284 arg5 = &temp5;
3285 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3286 }
3287 }
3288 if (obj5) {
3289 arg6 = (long) SWIG_AsLong(obj5);
3290 if (PyErr_Occurred()) SWIG_fail;
3291 }
3292 if (obj6) {
3293 {
3294 arg7 = wxString_in_helper(obj6);
3295 if (arg7 == NULL) SWIG_fail;
3296 temp7 = True;
3297 }
3298 }
3299 {
3300 if (!wxPyCheckForApp()) SWIG_fail;
3301 PyThreadState* __tstate = wxPyBeginAllowThreads();
3302 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3303
3304 wxPyEndAllowThreads(__tstate);
3305 if (PyErr_Occurred()) SWIG_fail;
3306 }
3307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3308 {
3309 if (temp3)
3310 delete arg3;
3311 }
3312 {
3313 if (temp7)
3314 delete arg7;
3315 }
3316 return resultobj;
3317 fail:
3318 {
3319 if (temp3)
3320 delete arg3;
3321 }
3322 {
3323 if (temp7)
3324 delete arg7;
3325 }
3326 return NULL;
3327 }
3328
3329
3330 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 wxFrame *result;
3333 char *kwnames[] = {
3334 NULL
3335 };
3336
3337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3338 {
3339 if (!wxPyCheckForApp()) SWIG_fail;
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 result = (wxFrame *)new wxFrame();
3342
3343 wxPyEndAllowThreads(__tstate);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
3346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3347 return resultobj;
3348 fail:
3349 return NULL;
3350 }
3351
3352
3353 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3354 PyObject *resultobj;
3355 wxFrame *arg1 = (wxFrame *) 0 ;
3356 wxWindow *arg2 = (wxWindow *) 0 ;
3357 int arg3 = (int) (int)-1 ;
3358 wxString const &arg4_defvalue = wxPyEmptyString ;
3359 wxString *arg4 = (wxString *) &arg4_defvalue ;
3360 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3361 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3362 wxSize const &arg6_defvalue = wxDefaultSize ;
3363 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3364 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3365 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3366 wxString *arg8 = (wxString *) &arg8_defvalue ;
3367 bool result;
3368 bool temp4 = False ;
3369 wxPoint temp5 ;
3370 wxSize temp6 ;
3371 bool temp8 = False ;
3372 PyObject * obj0 = 0 ;
3373 PyObject * obj1 = 0 ;
3374 PyObject * obj2 = 0 ;
3375 PyObject * obj3 = 0 ;
3376 PyObject * obj4 = 0 ;
3377 PyObject * obj5 = 0 ;
3378 PyObject * obj6 = 0 ;
3379 PyObject * obj7 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3389 if (obj2) {
3390 arg3 = (int const) SWIG_AsInt(obj2);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 if (obj3) {
3394 {
3395 arg4 = wxString_in_helper(obj3);
3396 if (arg4 == NULL) SWIG_fail;
3397 temp4 = True;
3398 }
3399 }
3400 if (obj4) {
3401 {
3402 arg5 = &temp5;
3403 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3404 }
3405 }
3406 if (obj5) {
3407 {
3408 arg6 = &temp6;
3409 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3410 }
3411 }
3412 if (obj6) {
3413 arg7 = (long) SWIG_AsLong(obj6);
3414 if (PyErr_Occurred()) SWIG_fail;
3415 }
3416 if (obj7) {
3417 {
3418 arg8 = wxString_in_helper(obj7);
3419 if (arg8 == NULL) SWIG_fail;
3420 temp8 = True;
3421 }
3422 }
3423 {
3424 PyThreadState* __tstate = wxPyBeginAllowThreads();
3425 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3426
3427 wxPyEndAllowThreads(__tstate);
3428 if (PyErr_Occurred()) SWIG_fail;
3429 }
3430 {
3431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3432 }
3433 {
3434 if (temp4)
3435 delete arg4;
3436 }
3437 {
3438 if (temp8)
3439 delete arg8;
3440 }
3441 return resultobj;
3442 fail:
3443 {
3444 if (temp4)
3445 delete arg4;
3446 }
3447 {
3448 if (temp8)
3449 delete arg8;
3450 }
3451 return NULL;
3452 }
3453
3454
3455 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3456 PyObject *resultobj;
3457 wxFrame *arg1 = (wxFrame *) 0 ;
3458 wxPoint result;
3459 PyObject * obj0 = 0 ;
3460 char *kwnames[] = {
3461 (char *) "self", NULL
3462 };
3463
3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 {
3475 wxPoint * resultptr;
3476 resultptr = new wxPoint((wxPoint &) result);
3477 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3478 }
3479 return resultobj;
3480 fail:
3481 return NULL;
3482 }
3483
3484
3485 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3486 PyObject *resultobj;
3487 wxFrame *arg1 = (wxFrame *) 0 ;
3488 PyObject * obj0 = 0 ;
3489 char *kwnames[] = {
3490 (char *) "self", NULL
3491 };
3492
3493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3496 {
3497 PyThreadState* __tstate = wxPyBeginAllowThreads();
3498 (arg1)->SendSizeEvent();
3499
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 Py_INCREF(Py_None); resultobj = Py_None;
3504 return resultobj;
3505 fail:
3506 return NULL;
3507 }
3508
3509
3510 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3511 PyObject *resultobj;
3512 wxFrame *arg1 = (wxFrame *) 0 ;
3513 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3514 PyObject * obj0 = 0 ;
3515 PyObject * obj1 = 0 ;
3516 char *kwnames[] = {
3517 (char *) "self",(char *) "menubar", NULL
3518 };
3519
3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3525 {
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
3527 (arg1)->SetMenuBar(arg2);
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 Py_INCREF(Py_None); resultobj = Py_None;
3533 return resultobj;
3534 fail:
3535 return NULL;
3536 }
3537
3538
3539 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3540 PyObject *resultobj;
3541 wxFrame *arg1 = (wxFrame *) 0 ;
3542 wxMenuBar *result;
3543 PyObject * obj0 = 0 ;
3544 char *kwnames[] = {
3545 (char *) "self", NULL
3546 };
3547
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3551 {
3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
3553 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3554
3555 wxPyEndAllowThreads(__tstate);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 }
3558 {
3559 resultobj = wxPyMake_wxObject(result, 0);
3560 }
3561 return resultobj;
3562 fail:
3563 return NULL;
3564 }
3565
3566
3567 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3568 PyObject *resultobj;
3569 wxFrame *arg1 = (wxFrame *) 0 ;
3570 int arg2 ;
3571 bool result;
3572 PyObject * obj0 = 0 ;
3573 PyObject * obj1 = 0 ;
3574 char *kwnames[] = {
3575 (char *) "self",(char *) "winid", NULL
3576 };
3577
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3581 arg2 = (int) SWIG_AsInt(obj1);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 {
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 result = (bool)(arg1)->ProcessCommand(arg2);
3586
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 {
3591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3592 }
3593 return resultobj;
3594 fail:
3595 return NULL;
3596 }
3597
3598
3599 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3600 PyObject *resultobj;
3601 wxFrame *arg1 = (wxFrame *) 0 ;
3602 int arg2 = (int) 1 ;
3603 long arg3 = (long) wxST_SIZEGRIP ;
3604 int arg4 = (int) 0 ;
3605 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3606 wxString *arg5 = (wxString *) &arg5_defvalue ;
3607 wxStatusBar *result;
3608 bool temp5 = False ;
3609 PyObject * obj0 = 0 ;
3610 PyObject * obj1 = 0 ;
3611 PyObject * obj2 = 0 ;
3612 PyObject * obj3 = 0 ;
3613 PyObject * obj4 = 0 ;
3614 char *kwnames[] = {
3615 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3616 };
3617
3618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3621 if (obj1) {
3622 arg2 = (int) SWIG_AsInt(obj1);
3623 if (PyErr_Occurred()) SWIG_fail;
3624 }
3625 if (obj2) {
3626 arg3 = (long) SWIG_AsLong(obj2);
3627 if (PyErr_Occurred()) SWIG_fail;
3628 }
3629 if (obj3) {
3630 arg4 = (int) SWIG_AsInt(obj3);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 }
3633 if (obj4) {
3634 {
3635 arg5 = wxString_in_helper(obj4);
3636 if (arg5 == NULL) SWIG_fail;
3637 temp5 = True;
3638 }
3639 }
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 {
3648 resultobj = wxPyMake_wxObject(result, 0);
3649 }
3650 {
3651 if (temp5)
3652 delete arg5;
3653 }
3654 return resultobj;
3655 fail:
3656 {
3657 if (temp5)
3658 delete arg5;
3659 }
3660 return NULL;
3661 }
3662
3663
3664 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3665 PyObject *resultobj;
3666 wxFrame *arg1 = (wxFrame *) 0 ;
3667 wxStatusBar *result;
3668 PyObject * obj0 = 0 ;
3669 char *kwnames[] = {
3670 (char *) "self", NULL
3671 };
3672
3673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3676 {
3677 PyThreadState* __tstate = wxPyBeginAllowThreads();
3678 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3679
3680 wxPyEndAllowThreads(__tstate);
3681 if (PyErr_Occurred()) SWIG_fail;
3682 }
3683 {
3684 resultobj = wxPyMake_wxObject(result, 0);
3685 }
3686 return resultobj;
3687 fail:
3688 return NULL;
3689 }
3690
3691
3692 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3693 PyObject *resultobj;
3694 wxFrame *arg1 = (wxFrame *) 0 ;
3695 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3696 PyObject * obj0 = 0 ;
3697 PyObject * obj1 = 0 ;
3698 char *kwnames[] = {
3699 (char *) "self",(char *) "statBar", NULL
3700 };
3701
3702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3705 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3707 {
3708 PyThreadState* __tstate = wxPyBeginAllowThreads();
3709 (arg1)->SetStatusBar(arg2);
3710
3711 wxPyEndAllowThreads(__tstate);
3712 if (PyErr_Occurred()) SWIG_fail;
3713 }
3714 Py_INCREF(Py_None); resultobj = Py_None;
3715 return resultobj;
3716 fail:
3717 return NULL;
3718 }
3719
3720
3721 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3722 PyObject *resultobj;
3723 wxFrame *arg1 = (wxFrame *) 0 ;
3724 wxString *arg2 = 0 ;
3725 int arg3 = (int) 0 ;
3726 bool temp2 = False ;
3727 PyObject * obj0 = 0 ;
3728 PyObject * obj1 = 0 ;
3729 PyObject * obj2 = 0 ;
3730 char *kwnames[] = {
3731 (char *) "self",(char *) "text",(char *) "number", NULL
3732 };
3733
3734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3737 {
3738 arg2 = wxString_in_helper(obj1);
3739 if (arg2 == NULL) SWIG_fail;
3740 temp2 = True;
3741 }
3742 if (obj2) {
3743 arg3 = (int) SWIG_AsInt(obj2);
3744 if (PyErr_Occurred()) SWIG_fail;
3745 }
3746 {
3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
3748 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3749
3750 wxPyEndAllowThreads(__tstate);
3751 if (PyErr_Occurred()) SWIG_fail;
3752 }
3753 Py_INCREF(Py_None); resultobj = Py_None;
3754 {
3755 if (temp2)
3756 delete arg2;
3757 }
3758 return resultobj;
3759 fail:
3760 {
3761 if (temp2)
3762 delete arg2;
3763 }
3764 return NULL;
3765 }
3766
3767
3768 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj;
3770 wxFrame *arg1 = (wxFrame *) 0 ;
3771 int arg2 ;
3772 int *arg3 = (int *) 0 ;
3773 PyObject * obj0 = 0 ;
3774 PyObject * obj1 = 0 ;
3775 char *kwnames[] = {
3776 (char *) "self",(char *) "widths", NULL
3777 };
3778
3779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3782 {
3783 arg2 = PyList_Size(obj1);
3784 arg3 = int_LIST_helper(obj1);
3785 if (arg3 == NULL) SWIG_fail;
3786 }
3787 {
3788 PyThreadState* __tstate = wxPyBeginAllowThreads();
3789 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3790
3791 wxPyEndAllowThreads(__tstate);
3792 if (PyErr_Occurred()) SWIG_fail;
3793 }
3794 Py_INCREF(Py_None); resultobj = Py_None;
3795 {
3796 if (arg3) delete [] arg3;
3797 }
3798 return resultobj;
3799 fail:
3800 {
3801 if (arg3) delete [] arg3;
3802 }
3803 return NULL;
3804 }
3805
3806
3807 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3808 PyObject *resultobj;
3809 wxFrame *arg1 = (wxFrame *) 0 ;
3810 wxString *arg2 = 0 ;
3811 int arg3 = (int) 0 ;
3812 bool temp2 = False ;
3813 PyObject * obj0 = 0 ;
3814 PyObject * obj1 = 0 ;
3815 PyObject * obj2 = 0 ;
3816 char *kwnames[] = {
3817 (char *) "self",(char *) "text",(char *) "number", NULL
3818 };
3819
3820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3823 {
3824 arg2 = wxString_in_helper(obj1);
3825 if (arg2 == NULL) SWIG_fail;
3826 temp2 = True;
3827 }
3828 if (obj2) {
3829 arg3 = (int) SWIG_AsInt(obj2);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 Py_INCREF(Py_None); resultobj = Py_None;
3840 {
3841 if (temp2)
3842 delete arg2;
3843 }
3844 return resultobj;
3845 fail:
3846 {
3847 if (temp2)
3848 delete arg2;
3849 }
3850 return NULL;
3851 }
3852
3853
3854 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3855 PyObject *resultobj;
3856 wxFrame *arg1 = (wxFrame *) 0 ;
3857 int arg2 = (int) 0 ;
3858 PyObject * obj0 = 0 ;
3859 PyObject * obj1 = 0 ;
3860 char *kwnames[] = {
3861 (char *) "self",(char *) "number", NULL
3862 };
3863
3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3867 if (obj1) {
3868 arg2 = (int) SWIG_AsInt(obj1);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 (arg1)->PopStatusText(arg2);
3874
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 Py_INCREF(Py_None); resultobj = Py_None;
3879 return resultobj;
3880 fail:
3881 return NULL;
3882 }
3883
3884
3885 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3886 PyObject *resultobj;
3887 wxFrame *arg1 = (wxFrame *) 0 ;
3888 int arg2 ;
3889 PyObject * obj0 = 0 ;
3890 PyObject * obj1 = 0 ;
3891 char *kwnames[] = {
3892 (char *) "self",(char *) "n", NULL
3893 };
3894
3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3898 arg2 = (int) SWIG_AsInt(obj1);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 (arg1)->SetStatusBarPane(arg2);
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 Py_INCREF(Py_None); resultobj = Py_None;
3908 return resultobj;
3909 fail:
3910 return NULL;
3911 }
3912
3913
3914 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 wxFrame *arg1 = (wxFrame *) 0 ;
3917 int result;
3918 PyObject * obj0 = 0 ;
3919 char *kwnames[] = {
3920 (char *) "self", NULL
3921 };
3922
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3926 {
3927 PyThreadState* __tstate = wxPyBeginAllowThreads();
3928 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3929
3930 wxPyEndAllowThreads(__tstate);
3931 if (PyErr_Occurred()) SWIG_fail;
3932 }
3933 resultobj = SWIG_FromInt((int)result);
3934 return resultobj;
3935 fail:
3936 return NULL;
3937 }
3938
3939
3940 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3941 PyObject *resultobj;
3942 wxFrame *arg1 = (wxFrame *) 0 ;
3943 long arg2 = (long) -1 ;
3944 int arg3 = (int) -1 ;
3945 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3946 wxString *arg4 = (wxString *) &arg4_defvalue ;
3947 wxToolBar *result;
3948 bool temp4 = False ;
3949 PyObject * obj0 = 0 ;
3950 PyObject * obj1 = 0 ;
3951 PyObject * obj2 = 0 ;
3952 PyObject * obj3 = 0 ;
3953 char *kwnames[] = {
3954 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3955 };
3956
3957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3960 if (obj1) {
3961 arg2 = (long) SWIG_AsLong(obj1);
3962 if (PyErr_Occurred()) SWIG_fail;
3963 }
3964 if (obj2) {
3965 arg3 = (int) SWIG_AsInt(obj2);
3966 if (PyErr_Occurred()) SWIG_fail;
3967 }
3968 if (obj3) {
3969 {
3970 arg4 = wxString_in_helper(obj3);
3971 if (arg4 == NULL) SWIG_fail;
3972 temp4 = True;
3973 }
3974 }
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3978
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 {
3983 resultobj = wxPyMake_wxObject(result, 0);
3984 }
3985 {
3986 if (temp4)
3987 delete arg4;
3988 }
3989 return resultobj;
3990 fail:
3991 {
3992 if (temp4)
3993 delete arg4;
3994 }
3995 return NULL;
3996 }
3997
3998
3999 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj;
4001 wxFrame *arg1 = (wxFrame *) 0 ;
4002 wxToolBar *result;
4003 PyObject * obj0 = 0 ;
4004 char *kwnames[] = {
4005 (char *) "self", NULL
4006 };
4007
4008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 {
4019 resultobj = wxPyMake_wxObject(result, 0);
4020 }
4021 return resultobj;
4022 fail:
4023 return NULL;
4024 }
4025
4026
4027 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4028 PyObject *resultobj;
4029 wxFrame *arg1 = (wxFrame *) 0 ;
4030 wxToolBar *arg2 = (wxToolBar *) 0 ;
4031 PyObject * obj0 = 0 ;
4032 PyObject * obj1 = 0 ;
4033 char *kwnames[] = {
4034 (char *) "self",(char *) "toolbar", NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4042 {
4043 PyThreadState* __tstate = wxPyBeginAllowThreads();
4044 (arg1)->SetToolBar(arg2);
4045
4046 wxPyEndAllowThreads(__tstate);
4047 if (PyErr_Occurred()) SWIG_fail;
4048 }
4049 Py_INCREF(Py_None); resultobj = Py_None;
4050 return resultobj;
4051 fail:
4052 return NULL;
4053 }
4054
4055
4056 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
4057 PyObject *resultobj;
4058 wxFrame *arg1 = (wxFrame *) 0 ;
4059 wxString *arg2 = 0 ;
4060 bool arg3 ;
4061 bool temp2 = False ;
4062 PyObject * obj0 = 0 ;
4063 PyObject * obj1 = 0 ;
4064 PyObject * obj2 = 0 ;
4065 char *kwnames[] = {
4066 (char *) "self",(char *) "text",(char *) "show", NULL
4067 };
4068
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4072 {
4073 arg2 = wxString_in_helper(obj1);
4074 if (arg2 == NULL) SWIG_fail;
4075 temp2 = True;
4076 }
4077 arg3 = (bool) SWIG_AsBool(obj2);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 {
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4082
4083 wxPyEndAllowThreads(__tstate);
4084 if (PyErr_Occurred()) SWIG_fail;
4085 }
4086 Py_INCREF(Py_None); resultobj = Py_None;
4087 {
4088 if (temp2)
4089 delete arg2;
4090 }
4091 return resultobj;
4092 fail:
4093 {
4094 if (temp2)
4095 delete arg2;
4096 }
4097 return NULL;
4098 }
4099
4100
4101 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj;
4103 wxFrame *arg1 = (wxFrame *) 0 ;
4104 wxMenu *arg2 = (wxMenu *) NULL ;
4105 PyObject * obj0 = 0 ;
4106 PyObject * obj1 = 0 ;
4107 char *kwnames[] = {
4108 (char *) "self",(char *) "menu", NULL
4109 };
4110
4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4114 if (obj1) {
4115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4117 }
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
4120 (arg1)->DoMenuUpdates(arg2);
4121
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 }
4125 Py_INCREF(Py_None); resultobj = Py_None;
4126 return resultobj;
4127 fail:
4128 return NULL;
4129 }
4130
4131
4132 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4133 PyObject *resultobj;
4134 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4135 wxVisualAttributes result;
4136 PyObject * obj0 = 0 ;
4137 char *kwnames[] = {
4138 (char *) "variant", NULL
4139 };
4140
4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4142 if (obj0) {
4143 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 {
4147 if (!wxPyCheckForApp()) SWIG_fail;
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4150
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 {
4155 wxVisualAttributes * resultptr;
4156 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4157 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4158 }
4159 return resultobj;
4160 fail:
4161 return NULL;
4162 }
4163
4164
4165 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
4166 PyObject *obj;
4167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4168 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4169 Py_INCREF(obj);
4170 return Py_BuildValue((char *)"");
4171 }
4172 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject *resultobj;
4174 wxWindow *arg1 = (wxWindow *) 0 ;
4175 int arg2 = (int) (int)-1 ;
4176 wxString const &arg3_defvalue = wxPyEmptyString ;
4177 wxString *arg3 = (wxString *) &arg3_defvalue ;
4178 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4179 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4180 wxSize const &arg5_defvalue = wxDefaultSize ;
4181 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4182 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4183 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4184 wxString *arg7 = (wxString *) &arg7_defvalue ;
4185 wxDialog *result;
4186 bool temp3 = False ;
4187 wxPoint temp4 ;
4188 wxSize temp5 ;
4189 bool temp7 = False ;
4190 PyObject * obj0 = 0 ;
4191 PyObject * obj1 = 0 ;
4192 PyObject * obj2 = 0 ;
4193 PyObject * obj3 = 0 ;
4194 PyObject * obj4 = 0 ;
4195 PyObject * obj5 = 0 ;
4196 PyObject * obj6 = 0 ;
4197 char *kwnames[] = {
4198 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4199 };
4200
4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4204 if (obj1) {
4205 arg2 = (int const) SWIG_AsInt(obj1);
4206 if (PyErr_Occurred()) SWIG_fail;
4207 }
4208 if (obj2) {
4209 {
4210 arg3 = wxString_in_helper(obj2);
4211 if (arg3 == NULL) SWIG_fail;
4212 temp3 = True;
4213 }
4214 }
4215 if (obj3) {
4216 {
4217 arg4 = &temp4;
4218 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4219 }
4220 }
4221 if (obj4) {
4222 {
4223 arg5 = &temp5;
4224 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4225 }
4226 }
4227 if (obj5) {
4228 arg6 = (long) SWIG_AsLong(obj5);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 if (obj6) {
4232 {
4233 arg7 = wxString_in_helper(obj6);
4234 if (arg7 == NULL) SWIG_fail;
4235 temp7 = True;
4236 }
4237 }
4238 {
4239 if (!wxPyCheckForApp()) SWIG_fail;
4240 PyThreadState* __tstate = wxPyBeginAllowThreads();
4241 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4242
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
4245 }
4246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4247 {
4248 if (temp3)
4249 delete arg3;
4250 }
4251 {
4252 if (temp7)
4253 delete arg7;
4254 }
4255 return resultobj;
4256 fail:
4257 {
4258 if (temp3)
4259 delete arg3;
4260 }
4261 {
4262 if (temp7)
4263 delete arg7;
4264 }
4265 return NULL;
4266 }
4267
4268
4269 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj;
4271 wxDialog *result;
4272 char *kwnames[] = {
4273 NULL
4274 };
4275
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4277 {
4278 if (!wxPyCheckForApp()) SWIG_fail;
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 result = (wxDialog *)new wxDialog();
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) SWIG_fail;
4284 }
4285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4286 return resultobj;
4287 fail:
4288 return NULL;
4289 }
4290
4291
4292 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4293 PyObject *resultobj;
4294 wxDialog *arg1 = (wxDialog *) 0 ;
4295 wxWindow *arg2 = (wxWindow *) 0 ;
4296 int arg3 = (int) (int)-1 ;
4297 wxString const &arg4_defvalue = wxPyEmptyString ;
4298 wxString *arg4 = (wxString *) &arg4_defvalue ;
4299 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4300 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4301 wxSize const &arg6_defvalue = wxDefaultSize ;
4302 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4303 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4304 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4305 wxString *arg8 = (wxString *) &arg8_defvalue ;
4306 bool result;
4307 bool temp4 = False ;
4308 wxPoint temp5 ;
4309 wxSize temp6 ;
4310 bool temp8 = False ;
4311 PyObject * obj0 = 0 ;
4312 PyObject * obj1 = 0 ;
4313 PyObject * obj2 = 0 ;
4314 PyObject * obj3 = 0 ;
4315 PyObject * obj4 = 0 ;
4316 PyObject * obj5 = 0 ;
4317 PyObject * obj6 = 0 ;
4318 PyObject * obj7 = 0 ;
4319 char *kwnames[] = {
4320 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4321 };
4322
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4328 if (obj2) {
4329 arg3 = (int const) SWIG_AsInt(obj2);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 }
4332 if (obj3) {
4333 {
4334 arg4 = wxString_in_helper(obj3);
4335 if (arg4 == NULL) SWIG_fail;
4336 temp4 = True;
4337 }
4338 }
4339 if (obj4) {
4340 {
4341 arg5 = &temp5;
4342 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4343 }
4344 }
4345 if (obj5) {
4346 {
4347 arg6 = &temp6;
4348 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4349 }
4350 }
4351 if (obj6) {
4352 arg7 = (long) SWIG_AsLong(obj6);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 if (obj7) {
4356 {
4357 arg8 = wxString_in_helper(obj7);
4358 if (arg8 == NULL) SWIG_fail;
4359 temp8 = True;
4360 }
4361 }
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 {
4370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4371 }
4372 {
4373 if (temp4)
4374 delete arg4;
4375 }
4376 {
4377 if (temp8)
4378 delete arg8;
4379 }
4380 return resultobj;
4381 fail:
4382 {
4383 if (temp4)
4384 delete arg4;
4385 }
4386 {
4387 if (temp8)
4388 delete arg8;
4389 }
4390 return NULL;
4391 }
4392
4393
4394 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj;
4396 wxDialog *arg1 = (wxDialog *) 0 ;
4397 int arg2 ;
4398 PyObject * obj0 = 0 ;
4399 PyObject * obj1 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self",(char *) "returnCode", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4407 arg2 = (int) SWIG_AsInt(obj1);
4408 if (PyErr_Occurred()) SWIG_fail;
4409 {
4410 PyThreadState* __tstate = wxPyBeginAllowThreads();
4411 (arg1)->SetReturnCode(arg2);
4412
4413 wxPyEndAllowThreads(__tstate);
4414 if (PyErr_Occurred()) SWIG_fail;
4415 }
4416 Py_INCREF(Py_None); resultobj = Py_None;
4417 return resultobj;
4418 fail:
4419 return NULL;
4420 }
4421
4422
4423 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4424 PyObject *resultobj;
4425 wxDialog *arg1 = (wxDialog *) 0 ;
4426 int result;
4427 PyObject * obj0 = 0 ;
4428 char *kwnames[] = {
4429 (char *) "self", NULL
4430 };
4431
4432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4438
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 resultobj = SWIG_FromInt((int)result);
4443 return resultobj;
4444 fail:
4445 return NULL;
4446 }
4447
4448
4449 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject *resultobj;
4451 wxDialog *arg1 = (wxDialog *) 0 ;
4452 wxString *arg2 = 0 ;
4453 wxSizer *result;
4454 bool temp2 = False ;
4455 PyObject * obj0 = 0 ;
4456 PyObject * obj1 = 0 ;
4457 char *kwnames[] = {
4458 (char *) "self",(char *) "message", NULL
4459 };
4460
4461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4464 {
4465 arg2 = wxString_in_helper(obj1);
4466 if (arg2 == NULL) SWIG_fail;
4467 temp2 = True;
4468 }
4469 {
4470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4471 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4472
4473 wxPyEndAllowThreads(__tstate);
4474 if (PyErr_Occurred()) SWIG_fail;
4475 }
4476 {
4477 resultobj = wxPyMake_wxSizer(result, 0);
4478 }
4479 {
4480 if (temp2)
4481 delete arg2;
4482 }
4483 return resultobj;
4484 fail:
4485 {
4486 if (temp2)
4487 delete arg2;
4488 }
4489 return NULL;
4490 }
4491
4492
4493 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj;
4495 wxDialog *arg1 = (wxDialog *) 0 ;
4496 long arg2 ;
4497 wxSizer *result;
4498 PyObject * obj0 = 0 ;
4499 PyObject * obj1 = 0 ;
4500 char *kwnames[] = {
4501 (char *) "self",(char *) "flags", NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4507 arg2 = (long) SWIG_AsLong(obj1);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 {
4510 PyThreadState* __tstate = wxPyBeginAllowThreads();
4511 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4512
4513 wxPyEndAllowThreads(__tstate);
4514 if (PyErr_Occurred()) SWIG_fail;
4515 }
4516 {
4517 resultobj = wxPyMake_wxSizer(result, 0);
4518 }
4519 return resultobj;
4520 fail:
4521 return NULL;
4522 }
4523
4524
4525 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4526 PyObject *resultobj;
4527 wxDialog *arg1 = (wxDialog *) 0 ;
4528 bool result;
4529 PyObject * obj0 = 0 ;
4530 char *kwnames[] = {
4531 (char *) "self", NULL
4532 };
4533
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 result = (bool)((wxDialog const *)arg1)->IsModal();
4540
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 {
4545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4546 }
4547 return resultobj;
4548 fail:
4549 return NULL;
4550 }
4551
4552
4553 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4554 PyObject *resultobj;
4555 wxDialog *arg1 = (wxDialog *) 0 ;
4556 int result;
4557 PyObject * obj0 = 0 ;
4558 char *kwnames[] = {
4559 (char *) "self", NULL
4560 };
4561
4562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 result = (int)(arg1)->ShowModal();
4568
4569 wxPyEndAllowThreads(__tstate);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 resultobj = SWIG_FromInt((int)result);
4573 return resultobj;
4574 fail:
4575 return NULL;
4576 }
4577
4578
4579 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj;
4581 wxDialog *arg1 = (wxDialog *) 0 ;
4582 int arg2 ;
4583 PyObject * obj0 = 0 ;
4584 PyObject * obj1 = 0 ;
4585 char *kwnames[] = {
4586 (char *) "self",(char *) "retCode", NULL
4587 };
4588
4589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4592 arg2 = (int) SWIG_AsInt(obj1);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 {
4595 PyThreadState* __tstate = wxPyBeginAllowThreads();
4596 (arg1)->EndModal(arg2);
4597
4598 wxPyEndAllowThreads(__tstate);
4599 if (PyErr_Occurred()) SWIG_fail;
4600 }
4601 Py_INCREF(Py_None); resultobj = Py_None;
4602 return resultobj;
4603 fail:
4604 return NULL;
4605 }
4606
4607
4608 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4609 PyObject *resultobj;
4610 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4611 wxVisualAttributes result;
4612 PyObject * obj0 = 0 ;
4613 char *kwnames[] = {
4614 (char *) "variant", NULL
4615 };
4616
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4618 if (obj0) {
4619 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4622 {
4623 if (!wxPyCheckForApp()) SWIG_fail;
4624 PyThreadState* __tstate = wxPyBeginAllowThreads();
4625 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4626
4627 wxPyEndAllowThreads(__tstate);
4628 if (PyErr_Occurred()) SWIG_fail;
4629 }
4630 {
4631 wxVisualAttributes * resultptr;
4632 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4634 }
4635 return resultobj;
4636 fail:
4637 return NULL;
4638 }
4639
4640
4641 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4642 PyObject *obj;
4643 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4644 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4645 Py_INCREF(obj);
4646 return Py_BuildValue((char *)"");
4647 }
4648 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4649 PyObject *resultobj;
4650 wxWindow *arg1 = (wxWindow *) 0 ;
4651 int arg2 = (int) (int)-1 ;
4652 wxString const &arg3_defvalue = wxPyEmptyString ;
4653 wxString *arg3 = (wxString *) &arg3_defvalue ;
4654 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4655 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4656 wxSize const &arg5_defvalue = wxDefaultSize ;
4657 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4658 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4659 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4660 wxString *arg7 = (wxString *) &arg7_defvalue ;
4661 wxMiniFrame *result;
4662 bool temp3 = False ;
4663 wxPoint temp4 ;
4664 wxSize temp5 ;
4665 bool temp7 = False ;
4666 PyObject * obj0 = 0 ;
4667 PyObject * obj1 = 0 ;
4668 PyObject * obj2 = 0 ;
4669 PyObject * obj3 = 0 ;
4670 PyObject * obj4 = 0 ;
4671 PyObject * obj5 = 0 ;
4672 PyObject * obj6 = 0 ;
4673 char *kwnames[] = {
4674 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4675 };
4676
4677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4680 if (obj1) {
4681 arg2 = (int const) SWIG_AsInt(obj1);
4682 if (PyErr_Occurred()) SWIG_fail;
4683 }
4684 if (obj2) {
4685 {
4686 arg3 = wxString_in_helper(obj2);
4687 if (arg3 == NULL) SWIG_fail;
4688 temp3 = True;
4689 }
4690 }
4691 if (obj3) {
4692 {
4693 arg4 = &temp4;
4694 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4695 }
4696 }
4697 if (obj4) {
4698 {
4699 arg5 = &temp5;
4700 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4701 }
4702 }
4703 if (obj5) {
4704 arg6 = (long) SWIG_AsLong(obj5);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 if (obj6) {
4708 {
4709 arg7 = wxString_in_helper(obj6);
4710 if (arg7 == NULL) SWIG_fail;
4711 temp7 = True;
4712 }
4713 }
4714 {
4715 if (!wxPyCheckForApp()) SWIG_fail;
4716 PyThreadState* __tstate = wxPyBeginAllowThreads();
4717 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4718
4719 wxPyEndAllowThreads(__tstate);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4723 {
4724 if (temp3)
4725 delete arg3;
4726 }
4727 {
4728 if (temp7)
4729 delete arg7;
4730 }
4731 return resultobj;
4732 fail:
4733 {
4734 if (temp3)
4735 delete arg3;
4736 }
4737 {
4738 if (temp7)
4739 delete arg7;
4740 }
4741 return NULL;
4742 }
4743
4744
4745 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4746 PyObject *resultobj;
4747 wxMiniFrame *result;
4748 char *kwnames[] = {
4749 NULL
4750 };
4751
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4753 {
4754 if (!wxPyCheckForApp()) SWIG_fail;
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 result = (wxMiniFrame *)new wxMiniFrame();
4757
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 }
4761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4762 return resultobj;
4763 fail:
4764 return NULL;
4765 }
4766
4767
4768 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4769 PyObject *resultobj;
4770 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4771 wxWindow *arg2 = (wxWindow *) 0 ;
4772 int arg3 = (int) (int)-1 ;
4773 wxString const &arg4_defvalue = wxPyEmptyString ;
4774 wxString *arg4 = (wxString *) &arg4_defvalue ;
4775 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4776 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4777 wxSize const &arg6_defvalue = wxDefaultSize ;
4778 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4779 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4780 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4781 wxString *arg8 = (wxString *) &arg8_defvalue ;
4782 bool result;
4783 bool temp4 = False ;
4784 wxPoint temp5 ;
4785 wxSize temp6 ;
4786 bool temp8 = False ;
4787 PyObject * obj0 = 0 ;
4788 PyObject * obj1 = 0 ;
4789 PyObject * obj2 = 0 ;
4790 PyObject * obj3 = 0 ;
4791 PyObject * obj4 = 0 ;
4792 PyObject * obj5 = 0 ;
4793 PyObject * obj6 = 0 ;
4794 PyObject * obj7 = 0 ;
4795 char *kwnames[] = {
4796 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4797 };
4798
4799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4802 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4804 if (obj2) {
4805 arg3 = (int const) SWIG_AsInt(obj2);
4806 if (PyErr_Occurred()) SWIG_fail;
4807 }
4808 if (obj3) {
4809 {
4810 arg4 = wxString_in_helper(obj3);
4811 if (arg4 == NULL) SWIG_fail;
4812 temp4 = True;
4813 }
4814 }
4815 if (obj4) {
4816 {
4817 arg5 = &temp5;
4818 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4819 }
4820 }
4821 if (obj5) {
4822 {
4823 arg6 = &temp6;
4824 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4825 }
4826 }
4827 if (obj6) {
4828 arg7 = (long) SWIG_AsLong(obj6);
4829 if (PyErr_Occurred()) SWIG_fail;
4830 }
4831 if (obj7) {
4832 {
4833 arg8 = wxString_in_helper(obj7);
4834 if (arg8 == NULL) SWIG_fail;
4835 temp8 = True;
4836 }
4837 }
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 {
4846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4847 }
4848 {
4849 if (temp4)
4850 delete arg4;
4851 }
4852 {
4853 if (temp8)
4854 delete arg8;
4855 }
4856 return resultobj;
4857 fail:
4858 {
4859 if (temp4)
4860 delete arg4;
4861 }
4862 {
4863 if (temp8)
4864 delete arg8;
4865 }
4866 return NULL;
4867 }
4868
4869
4870 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4871 PyObject *obj;
4872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4873 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4874 Py_INCREF(obj);
4875 return Py_BuildValue((char *)"");
4876 }
4877 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4878 PyObject *resultobj;
4879 wxBitmap *arg1 = 0 ;
4880 wxWindow *arg2 = (wxWindow *) 0 ;
4881 int arg3 ;
4882 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4883 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4884 wxSize const &arg5_defvalue = wxDefaultSize ;
4885 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4886 long arg6 = (long) wxNO_BORDER ;
4887 wxSplashScreenWindow *result;
4888 wxPoint temp4 ;
4889 wxSize temp5 ;
4890 PyObject * obj0 = 0 ;
4891 PyObject * obj1 = 0 ;
4892 PyObject * obj2 = 0 ;
4893 PyObject * obj3 = 0 ;
4894 PyObject * obj4 = 0 ;
4895 PyObject * obj5 = 0 ;
4896 char *kwnames[] = {
4897 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4898 };
4899
4900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4902 SWIG_POINTER_EXCEPTION | 0)) == -1)
4903 SWIG_fail;
4904 if (arg1 == NULL) {
4905 PyErr_SetString(PyExc_TypeError,"null reference");
4906 SWIG_fail;
4907 }
4908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4910 arg3 = (int) SWIG_AsInt(obj2);
4911 if (PyErr_Occurred()) SWIG_fail;
4912 if (obj3) {
4913 {
4914 arg4 = &temp4;
4915 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4916 }
4917 }
4918 if (obj4) {
4919 {
4920 arg5 = &temp5;
4921 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4922 }
4923 }
4924 if (obj5) {
4925 arg6 = (long) SWIG_AsLong(obj5);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
4928 {
4929 if (!wxPyCheckForApp()) SWIG_fail;
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4932
4933 wxPyEndAllowThreads(__tstate);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 }
4936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4937 return resultobj;
4938 fail:
4939 return NULL;
4940 }
4941
4942
4943 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4944 PyObject *resultobj;
4945 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4946 wxBitmap *arg2 = 0 ;
4947 PyObject * obj0 = 0 ;
4948 PyObject * obj1 = 0 ;
4949 char *kwnames[] = {
4950 (char *) "self",(char *) "bitmap", NULL
4951 };
4952
4953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4957 SWIG_POINTER_EXCEPTION | 0)) == -1)
4958 SWIG_fail;
4959 if (arg2 == NULL) {
4960 PyErr_SetString(PyExc_TypeError,"null reference");
4961 SWIG_fail;
4962 }
4963 {
4964 PyThreadState* __tstate = wxPyBeginAllowThreads();
4965 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4966
4967 wxPyEndAllowThreads(__tstate);
4968 if (PyErr_Occurred()) SWIG_fail;
4969 }
4970 Py_INCREF(Py_None); resultobj = Py_None;
4971 return resultobj;
4972 fail:
4973 return NULL;
4974 }
4975
4976
4977 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4978 PyObject *resultobj;
4979 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4980 wxBitmap *result;
4981 PyObject * obj0 = 0 ;
4982 char *kwnames[] = {
4983 (char *) "self", NULL
4984 };
4985
4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4989 {
4990 PyThreadState* __tstate = wxPyBeginAllowThreads();
4991 {
4992 wxBitmap &_result_ref = (arg1)->GetBitmap();
4993 result = (wxBitmap *) &_result_ref;
4994 }
4995
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 {
5000 wxBitmap* resultptr = new wxBitmap(*result);
5001 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5002 }
5003 return resultobj;
5004 fail:
5005 return NULL;
5006 }
5007
5008
5009 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
5010 PyObject *obj;
5011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5012 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5013 Py_INCREF(obj);
5014 return Py_BuildValue((char *)"");
5015 }
5016 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
5017 PyObject *resultobj;
5018 wxBitmap *arg1 = 0 ;
5019 long arg2 ;
5020 int arg3 ;
5021 wxWindow *arg4 = (wxWindow *) 0 ;
5022 int arg5 = (int) -1 ;
5023 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5024 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5025 wxSize const &arg7_defvalue = wxDefaultSize ;
5026 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5027 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5028 wxSplashScreen *result;
5029 wxPoint temp6 ;
5030 wxSize temp7 ;
5031 PyObject * obj0 = 0 ;
5032 PyObject * obj1 = 0 ;
5033 PyObject * obj2 = 0 ;
5034 PyObject * obj3 = 0 ;
5035 PyObject * obj4 = 0 ;
5036 PyObject * obj5 = 0 ;
5037 PyObject * obj6 = 0 ;
5038 PyObject * obj7 = 0 ;
5039 char *kwnames[] = {
5040 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5041 };
5042
5043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5045 SWIG_POINTER_EXCEPTION | 0)) == -1)
5046 SWIG_fail;
5047 if (arg1 == NULL) {
5048 PyErr_SetString(PyExc_TypeError,"null reference");
5049 SWIG_fail;
5050 }
5051 arg2 = (long) SWIG_AsLong(obj1);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 arg3 = (int) SWIG_AsInt(obj2);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5057 if (obj4) {
5058 arg5 = (int) SWIG_AsInt(obj4);
5059 if (PyErr_Occurred()) SWIG_fail;
5060 }
5061 if (obj5) {
5062 {
5063 arg6 = &temp6;
5064 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5065 }
5066 }
5067 if (obj6) {
5068 {
5069 arg7 = &temp7;
5070 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5071 }
5072 }
5073 if (obj7) {
5074 arg8 = (long) SWIG_AsLong(obj7);
5075 if (PyErr_Occurred()) SWIG_fail;
5076 }
5077 {
5078 if (!wxPyCheckForApp()) SWIG_fail;
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5081
5082 wxPyEndAllowThreads(__tstate);
5083 if (PyErr_Occurred()) SWIG_fail;
5084 }
5085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5086 return resultobj;
5087 fail:
5088 return NULL;
5089 }
5090
5091
5092 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
5093 PyObject *resultobj;
5094 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5095 long result;
5096 PyObject * obj0 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 resultobj = SWIG_FromLong((long)result);
5112 return resultobj;
5113 fail:
5114 return NULL;
5115 }
5116
5117
5118 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5119 PyObject *resultobj;
5120 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5121 wxSplashScreenWindow *result;
5122 PyObject * obj0 = 0 ;
5123 char *kwnames[] = {
5124 (char *) "self", NULL
5125 };
5126
5127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5133
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5138 return resultobj;
5139 fail:
5140 return NULL;
5141 }
5142
5143
5144 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
5145 PyObject *resultobj;
5146 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5147 int result;
5148 PyObject * obj0 = 0 ;
5149 char *kwnames[] = {
5150 (char *) "self", NULL
5151 };
5152
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5156 {
5157 PyThreadState* __tstate = wxPyBeginAllowThreads();
5158 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5159
5160 wxPyEndAllowThreads(__tstate);
5161 if (PyErr_Occurred()) SWIG_fail;
5162 }
5163 resultobj = SWIG_FromInt((int)result);
5164 return resultobj;
5165 fail:
5166 return NULL;
5167 }
5168
5169
5170 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
5171 PyObject *obj;
5172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5173 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5174 Py_INCREF(obj);
5175 return Py_BuildValue((char *)"");
5176 }
5177 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5178 PyObject *resultobj;
5179 wxWindow *arg1 = (wxWindow *) 0 ;
5180 int arg2 = (int) -1 ;
5181 long arg3 = (long) wxST_SIZEGRIP ;
5182 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5183 wxString *arg4 = (wxString *) &arg4_defvalue ;
5184 wxStatusBar *result;
5185 bool temp4 = False ;
5186 PyObject * obj0 = 0 ;
5187 PyObject * obj1 = 0 ;
5188 PyObject * obj2 = 0 ;
5189 PyObject * obj3 = 0 ;
5190 char *kwnames[] = {
5191 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5192 };
5193
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5197 if (obj1) {
5198 arg2 = (int) SWIG_AsInt(obj1);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 if (obj2) {
5202 arg3 = (long) SWIG_AsLong(obj2);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 if (obj3) {
5206 {
5207 arg4 = wxString_in_helper(obj3);
5208 if (arg4 == NULL) SWIG_fail;
5209 temp4 = True;
5210 }
5211 }
5212 {
5213 if (!wxPyCheckForApp()) SWIG_fail;
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5216
5217 wxPyEndAllowThreads(__tstate);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5221 {
5222 if (temp4)
5223 delete arg4;
5224 }
5225 return resultobj;
5226 fail:
5227 {
5228 if (temp4)
5229 delete arg4;
5230 }
5231 return NULL;
5232 }
5233
5234
5235 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj;
5237 wxStatusBar *result;
5238 char *kwnames[] = {
5239 NULL
5240 };
5241
5242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5243 {
5244 if (!wxPyCheckForApp()) SWIG_fail;
5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
5246 result = (wxStatusBar *)new wxStatusBar();
5247
5248 wxPyEndAllowThreads(__tstate);
5249 if (PyErr_Occurred()) SWIG_fail;
5250 }
5251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5252 return resultobj;
5253 fail:
5254 return NULL;
5255 }
5256
5257
5258 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5261 wxWindow *arg2 = (wxWindow *) 0 ;
5262 int arg3 = (int) -1 ;
5263 long arg4 = (long) wxST_SIZEGRIP ;
5264 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5265 wxString *arg5 = (wxString *) &arg5_defvalue ;
5266 bool result;
5267 bool temp5 = False ;
5268 PyObject * obj0 = 0 ;
5269 PyObject * obj1 = 0 ;
5270 PyObject * obj2 = 0 ;
5271 PyObject * obj3 = 0 ;
5272 PyObject * obj4 = 0 ;
5273 char *kwnames[] = {
5274 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5275 };
5276
5277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5280 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5282 if (obj2) {
5283 arg3 = (int) SWIG_AsInt(obj2);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 }
5286 if (obj3) {
5287 arg4 = (long) SWIG_AsLong(obj3);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
5290 if (obj4) {
5291 {
5292 arg5 = wxString_in_helper(obj4);
5293 if (arg5 == NULL) SWIG_fail;
5294 temp5 = True;
5295 }
5296 }
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 {
5305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5306 }
5307 {
5308 if (temp5)
5309 delete arg5;
5310 }
5311 return resultobj;
5312 fail:
5313 {
5314 if (temp5)
5315 delete arg5;
5316 }
5317 return NULL;
5318 }
5319
5320
5321 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5322 PyObject *resultobj;
5323 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5324 int arg2 = (int) 1 ;
5325 PyObject * obj0 = 0 ;
5326 PyObject * obj1 = 0 ;
5327 char *kwnames[] = {
5328 (char *) "self",(char *) "number", NULL
5329 };
5330
5331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5334 if (obj1) {
5335 arg2 = (int) SWIG_AsInt(obj1);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
5338 {
5339 PyThreadState* __tstate = wxPyBeginAllowThreads();
5340 (arg1)->SetFieldsCount(arg2);
5341
5342 wxPyEndAllowThreads(__tstate);
5343 if (PyErr_Occurred()) SWIG_fail;
5344 }
5345 Py_INCREF(Py_None); resultobj = Py_None;
5346 return resultobj;
5347 fail:
5348 return NULL;
5349 }
5350
5351
5352 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5353 PyObject *resultobj;
5354 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5355 int result;
5356 PyObject * obj0 = 0 ;
5357 char *kwnames[] = {
5358 (char *) "self", NULL
5359 };
5360
5361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5364 {
5365 PyThreadState* __tstate = wxPyBeginAllowThreads();
5366 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5367
5368 wxPyEndAllowThreads(__tstate);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 resultobj = SWIG_FromInt((int)result);
5372 return resultobj;
5373 fail:
5374 return NULL;
5375 }
5376
5377
5378 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5379 PyObject *resultobj;
5380 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5381 wxString *arg2 = 0 ;
5382 int arg3 = (int) 0 ;
5383 bool temp2 = False ;
5384 PyObject * obj0 = 0 ;
5385 PyObject * obj1 = 0 ;
5386 PyObject * obj2 = 0 ;
5387 char *kwnames[] = {
5388 (char *) "self",(char *) "text",(char *) "number", NULL
5389 };
5390
5391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5394 {
5395 arg2 = wxString_in_helper(obj1);
5396 if (arg2 == NULL) SWIG_fail;
5397 temp2 = True;
5398 }
5399 if (obj2) {
5400 arg3 = (int) SWIG_AsInt(obj2);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5406
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 Py_INCREF(Py_None); resultobj = Py_None;
5411 {
5412 if (temp2)
5413 delete arg2;
5414 }
5415 return resultobj;
5416 fail:
5417 {
5418 if (temp2)
5419 delete arg2;
5420 }
5421 return NULL;
5422 }
5423
5424
5425 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj;
5427 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5428 int arg2 = (int) 0 ;
5429 wxString result;
5430 PyObject * obj0 = 0 ;
5431 PyObject * obj1 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "self",(char *) "number", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5439 if (obj1) {
5440 arg2 = (int) SWIG_AsInt(obj1);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 {
5451 #if wxUSE_UNICODE
5452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5453 #else
5454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5455 #endif
5456 }
5457 return resultobj;
5458 fail:
5459 return NULL;
5460 }
5461
5462
5463 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5464 PyObject *resultobj;
5465 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5466 wxString *arg2 = 0 ;
5467 int arg3 = (int) 0 ;
5468 bool temp2 = False ;
5469 PyObject * obj0 = 0 ;
5470 PyObject * obj1 = 0 ;
5471 PyObject * obj2 = 0 ;
5472 char *kwnames[] = {
5473 (char *) "self",(char *) "text",(char *) "number", NULL
5474 };
5475
5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5479 {
5480 arg2 = wxString_in_helper(obj1);
5481 if (arg2 == NULL) SWIG_fail;
5482 temp2 = True;
5483 }
5484 if (obj2) {
5485 arg3 = (int) SWIG_AsInt(obj2);
5486 if (PyErr_Occurred()) SWIG_fail;
5487 }
5488 {
5489 PyThreadState* __tstate = wxPyBeginAllowThreads();
5490 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5491
5492 wxPyEndAllowThreads(__tstate);
5493 if (PyErr_Occurred()) SWIG_fail;
5494 }
5495 Py_INCREF(Py_None); resultobj = Py_None;
5496 {
5497 if (temp2)
5498 delete arg2;
5499 }
5500 return resultobj;
5501 fail:
5502 {
5503 if (temp2)
5504 delete arg2;
5505 }
5506 return NULL;
5507 }
5508
5509
5510 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5511 PyObject *resultobj;
5512 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5513 int arg2 = (int) 0 ;
5514 PyObject * obj0 = 0 ;
5515 PyObject * obj1 = 0 ;
5516 char *kwnames[] = {
5517 (char *) "self",(char *) "number", NULL
5518 };
5519
5520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5523 if (obj1) {
5524 arg2 = (int) SWIG_AsInt(obj1);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 (arg1)->PopStatusText(arg2);
5530
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 Py_INCREF(Py_None); resultobj = Py_None;
5535 return resultobj;
5536 fail:
5537 return NULL;
5538 }
5539
5540
5541 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5542 PyObject *resultobj;
5543 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5544 int arg2 ;
5545 int *arg3 = (int *) 0 ;
5546 PyObject * obj0 = 0 ;
5547 PyObject * obj1 = 0 ;
5548 char *kwnames[] = {
5549 (char *) "self",(char *) "widths", NULL
5550 };
5551
5552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5555 {
5556 arg2 = PyList_Size(obj1);
5557 arg3 = int_LIST_helper(obj1);
5558 if (arg3 == NULL) SWIG_fail;
5559 }
5560 {
5561 PyThreadState* __tstate = wxPyBeginAllowThreads();
5562 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5563
5564 wxPyEndAllowThreads(__tstate);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 Py_INCREF(Py_None); resultobj = Py_None;
5568 {
5569 if (arg3) delete [] arg3;
5570 }
5571 return resultobj;
5572 fail:
5573 {
5574 if (arg3) delete [] arg3;
5575 }
5576 return NULL;
5577 }
5578
5579
5580 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5581 PyObject *resultobj;
5582 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5583 int arg2 ;
5584 wxRect result;
5585 PyObject * obj0 = 0 ;
5586 PyObject * obj1 = 0 ;
5587 char *kwnames[] = {
5588 (char *) "self",(char *) "i", NULL
5589 };
5590
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5594 arg2 = (int) SWIG_AsInt(obj1);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 {
5597 PyThreadState* __tstate = wxPyBeginAllowThreads();
5598 result = wxStatusBar_GetFieldRect(arg1,arg2);
5599
5600 wxPyEndAllowThreads(__tstate);
5601 if (PyErr_Occurred()) SWIG_fail;
5602 }
5603 {
5604 wxRect * resultptr;
5605 resultptr = new wxRect((wxRect &) result);
5606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5607 }
5608 return resultobj;
5609 fail:
5610 return NULL;
5611 }
5612
5613
5614 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5615 PyObject *resultobj;
5616 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5617 int arg2 ;
5618 PyObject * obj0 = 0 ;
5619 PyObject * obj1 = 0 ;
5620 char *kwnames[] = {
5621 (char *) "self",(char *) "height", NULL
5622 };
5623
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5627 arg2 = (int) SWIG_AsInt(obj1);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 {
5630 PyThreadState* __tstate = wxPyBeginAllowThreads();
5631 (arg1)->SetMinHeight(arg2);
5632
5633 wxPyEndAllowThreads(__tstate);
5634 if (PyErr_Occurred()) SWIG_fail;
5635 }
5636 Py_INCREF(Py_None); resultobj = Py_None;
5637 return resultobj;
5638 fail:
5639 return NULL;
5640 }
5641
5642
5643 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5644 PyObject *resultobj;
5645 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5646 int result;
5647 PyObject * obj0 = 0 ;
5648 char *kwnames[] = {
5649 (char *) "self", NULL
5650 };
5651
5652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5655 {
5656 PyThreadState* __tstate = wxPyBeginAllowThreads();
5657 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5658
5659 wxPyEndAllowThreads(__tstate);
5660 if (PyErr_Occurred()) SWIG_fail;
5661 }
5662 resultobj = SWIG_FromInt((int)result);
5663 return resultobj;
5664 fail:
5665 return NULL;
5666 }
5667
5668
5669 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5670 PyObject *resultobj;
5671 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5672 int result;
5673 PyObject * obj0 = 0 ;
5674 char *kwnames[] = {
5675 (char *) "self", NULL
5676 };
5677
5678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5681 {
5682 PyThreadState* __tstate = wxPyBeginAllowThreads();
5683 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5684
5685 wxPyEndAllowThreads(__tstate);
5686 if (PyErr_Occurred()) SWIG_fail;
5687 }
5688 resultobj = SWIG_FromInt((int)result);
5689 return resultobj;
5690 fail:
5691 return NULL;
5692 }
5693
5694
5695 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5696 PyObject *resultobj;
5697 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5698 wxVisualAttributes result;
5699 PyObject * obj0 = 0 ;
5700 char *kwnames[] = {
5701 (char *) "variant", NULL
5702 };
5703
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5705 if (obj0) {
5706 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 {
5710 if (!wxPyCheckForApp()) SWIG_fail;
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5713
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 {
5718 wxVisualAttributes * resultptr;
5719 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5720 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5721 }
5722 return resultobj;
5723 fail:
5724 return NULL;
5725 }
5726
5727
5728 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5729 PyObject *obj;
5730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5731 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5732 Py_INCREF(obj);
5733 return Py_BuildValue((char *)"");
5734 }
5735 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5736 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5737 return 1;
5738 }
5739
5740
5741 static PyObject *_wrap_SplitterNameStr_get() {
5742 PyObject *pyobj;
5743
5744 {
5745 #if wxUSE_UNICODE
5746 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5747 #else
5748 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5749 #endif
5750 }
5751 return pyobj;
5752 }
5753
5754
5755 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5756 PyObject *resultobj;
5757 wxWindow *arg1 = (wxWindow *) 0 ;
5758 int arg2 = (int) -1 ;
5759 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5760 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5761 wxSize const &arg4_defvalue = wxDefaultSize ;
5762 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5763 long arg5 = (long) wxSP_3D ;
5764 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5765 wxString *arg6 = (wxString *) &arg6_defvalue ;
5766 wxSplitterWindow *result;
5767 wxPoint temp3 ;
5768 wxSize temp4 ;
5769 bool temp6 = False ;
5770 PyObject * obj0 = 0 ;
5771 PyObject * obj1 = 0 ;
5772 PyObject * obj2 = 0 ;
5773 PyObject * obj3 = 0 ;
5774 PyObject * obj4 = 0 ;
5775 PyObject * obj5 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5783 if (obj1) {
5784 arg2 = (int) SWIG_AsInt(obj1);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 if (obj2) {
5788 {
5789 arg3 = &temp3;
5790 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5791 }
5792 }
5793 if (obj3) {
5794 {
5795 arg4 = &temp4;
5796 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5797 }
5798 }
5799 if (obj4) {
5800 arg5 = (long) SWIG_AsLong(obj4);
5801 if (PyErr_Occurred()) SWIG_fail;
5802 }
5803 if (obj5) {
5804 {
5805 arg6 = wxString_in_helper(obj5);
5806 if (arg6 == NULL) SWIG_fail;
5807 temp6 = True;
5808 }
5809 }
5810 {
5811 if (!wxPyCheckForApp()) SWIG_fail;
5812 PyThreadState* __tstate = wxPyBeginAllowThreads();
5813 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5814
5815 wxPyEndAllowThreads(__tstate);
5816 if (PyErr_Occurred()) SWIG_fail;
5817 }
5818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5819 {
5820 if (temp6)
5821 delete arg6;
5822 }
5823 return resultobj;
5824 fail:
5825 {
5826 if (temp6)
5827 delete arg6;
5828 }
5829 return NULL;
5830 }
5831
5832
5833 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5834 PyObject *resultobj;
5835 wxSplitterWindow *result;
5836 char *kwnames[] = {
5837 NULL
5838 };
5839
5840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5841 {
5842 if (!wxPyCheckForApp()) SWIG_fail;
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 result = (wxSplitterWindow *)new wxSplitterWindow();
5845
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5850 return resultobj;
5851 fail:
5852 return NULL;
5853 }
5854
5855
5856 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5857 PyObject *resultobj;
5858 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5859 wxWindow *arg2 = (wxWindow *) 0 ;
5860 int arg3 = (int) -1 ;
5861 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5862 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5863 wxSize const &arg5_defvalue = wxDefaultSize ;
5864 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5865 long arg6 = (long) wxSP_3D ;
5866 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5867 wxString *arg7 = (wxString *) &arg7_defvalue ;
5868 bool result;
5869 wxPoint temp4 ;
5870 wxSize temp5 ;
5871 bool temp7 = False ;
5872 PyObject * obj0 = 0 ;
5873 PyObject * obj1 = 0 ;
5874 PyObject * obj2 = 0 ;
5875 PyObject * obj3 = 0 ;
5876 PyObject * obj4 = 0 ;
5877 PyObject * obj5 = 0 ;
5878 PyObject * obj6 = 0 ;
5879 char *kwnames[] = {
5880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5881 };
5882
5883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5888 if (obj2) {
5889 arg3 = (int) SWIG_AsInt(obj2);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 if (obj3) {
5893 {
5894 arg4 = &temp4;
5895 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5896 }
5897 }
5898 if (obj4) {
5899 {
5900 arg5 = &temp5;
5901 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5902 }
5903 }
5904 if (obj5) {
5905 arg6 = (long) SWIG_AsLong(obj5);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 }
5908 if (obj6) {
5909 {
5910 arg7 = wxString_in_helper(obj6);
5911 if (arg7 == NULL) SWIG_fail;
5912 temp7 = True;
5913 }
5914 }
5915 {
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5918
5919 wxPyEndAllowThreads(__tstate);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
5922 {
5923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5924 }
5925 {
5926 if (temp7)
5927 delete arg7;
5928 }
5929 return resultobj;
5930 fail:
5931 {
5932 if (temp7)
5933 delete arg7;
5934 }
5935 return NULL;
5936 }
5937
5938
5939 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5940 PyObject *resultobj;
5941 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5942 wxWindow *result;
5943 PyObject * obj0 = 0 ;
5944 char *kwnames[] = {
5945 (char *) "self", NULL
5946 };
5947
5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5951 {
5952 PyThreadState* __tstate = wxPyBeginAllowThreads();
5953 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5954
5955 wxPyEndAllowThreads(__tstate);
5956 if (PyErr_Occurred()) SWIG_fail;
5957 }
5958 {
5959 resultobj = wxPyMake_wxObject(result, 0);
5960 }
5961 return resultobj;
5962 fail:
5963 return NULL;
5964 }
5965
5966
5967 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5968 PyObject *resultobj;
5969 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5970 wxWindow *result;
5971 PyObject * obj0 = 0 ;
5972 char *kwnames[] = {
5973 (char *) "self", NULL
5974 };
5975
5976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5979 {
5980 PyThreadState* __tstate = wxPyBeginAllowThreads();
5981 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5982
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
5986 {
5987 resultobj = wxPyMake_wxObject(result, 0);
5988 }
5989 return resultobj;
5990 fail:
5991 return NULL;
5992 }
5993
5994
5995 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5996 PyObject *resultobj;
5997 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5998 int arg2 ;
5999 PyObject * obj0 = 0 ;
6000 PyObject * obj1 = 0 ;
6001 char *kwnames[] = {
6002 (char *) "self",(char *) "mode", NULL
6003 };
6004
6005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6008 arg2 = (int) SWIG_AsInt(obj1);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 (arg1)->SetSplitMode(arg2);
6013
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 Py_INCREF(Py_None); resultobj = Py_None;
6018 return resultobj;
6019 fail:
6020 return NULL;
6021 }
6022
6023
6024 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6025 PyObject *resultobj;
6026 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6027 int result;
6028 PyObject * obj0 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "self", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6039
6040 wxPyEndAllowThreads(__tstate);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 resultobj = SWIG_FromInt((int)result);
6044 return resultobj;
6045 fail:
6046 return NULL;
6047 }
6048
6049
6050 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
6051 PyObject *resultobj;
6052 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6053 wxWindow *arg2 = (wxWindow *) 0 ;
6054 PyObject * obj0 = 0 ;
6055 PyObject * obj1 = 0 ;
6056 char *kwnames[] = {
6057 (char *) "self",(char *) "window", NULL
6058 };
6059
6060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6065 {
6066 PyThreadState* __tstate = wxPyBeginAllowThreads();
6067 (arg1)->Initialize(arg2);
6068
6069 wxPyEndAllowThreads(__tstate);
6070 if (PyErr_Occurred()) SWIG_fail;
6071 }
6072 Py_INCREF(Py_None); resultobj = Py_None;
6073 return resultobj;
6074 fail:
6075 return NULL;
6076 }
6077
6078
6079 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
6080 PyObject *resultobj;
6081 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6082 wxWindow *arg2 = (wxWindow *) 0 ;
6083 wxWindow *arg3 = (wxWindow *) 0 ;
6084 int arg4 = (int) 0 ;
6085 bool result;
6086 PyObject * obj0 = 0 ;
6087 PyObject * obj1 = 0 ;
6088 PyObject * obj2 = 0 ;
6089 PyObject * obj3 = 0 ;
6090 char *kwnames[] = {
6091 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6092 };
6093
6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6099 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6101 if (obj3) {
6102 arg4 = (int) SWIG_AsInt(obj3);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
6105 {
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6108
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
6112 {
6113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6114 }
6115 return resultobj;
6116 fail:
6117 return NULL;
6118 }
6119
6120
6121 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
6122 PyObject *resultobj;
6123 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6124 wxWindow *arg2 = (wxWindow *) 0 ;
6125 wxWindow *arg3 = (wxWindow *) 0 ;
6126 int arg4 = (int) 0 ;
6127 bool result;
6128 PyObject * obj0 = 0 ;
6129 PyObject * obj1 = 0 ;
6130 PyObject * obj2 = 0 ;
6131 PyObject * obj3 = 0 ;
6132 char *kwnames[] = {
6133 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6141 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6143 if (obj3) {
6144 arg4 = (int) SWIG_AsInt(obj3);
6145 if (PyErr_Occurred()) SWIG_fail;
6146 }
6147 {
6148 PyThreadState* __tstate = wxPyBeginAllowThreads();
6149 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6150
6151 wxPyEndAllowThreads(__tstate);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
6154 {
6155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6156 }
6157 return resultobj;
6158 fail:
6159 return NULL;
6160 }
6161
6162
6163 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6164 PyObject *resultobj;
6165 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6166 wxWindow *arg2 = (wxWindow *) NULL ;
6167 bool result;
6168 PyObject * obj0 = 0 ;
6169 PyObject * obj1 = 0 ;
6170 char *kwnames[] = {
6171 (char *) "self",(char *) "toRemove", NULL
6172 };
6173
6174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6177 if (obj1) {
6178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6180 }
6181 {
6182 PyThreadState* __tstate = wxPyBeginAllowThreads();
6183 result = (bool)(arg1)->Unsplit(arg2);
6184
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
6188 {
6189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6190 }
6191 return resultobj;
6192 fail:
6193 return NULL;
6194 }
6195
6196
6197 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6198 PyObject *resultobj;
6199 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6200 wxWindow *arg2 = (wxWindow *) 0 ;
6201 wxWindow *arg3 = (wxWindow *) 0 ;
6202 bool result;
6203 PyObject * obj0 = 0 ;
6204 PyObject * obj1 = 0 ;
6205 PyObject * obj2 = 0 ;
6206 char *kwnames[] = {
6207 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6208 };
6209
6210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6215 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 {
6225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6226 }
6227 return resultobj;
6228 fail:
6229 return NULL;
6230 }
6231
6232
6233 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj;
6235 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6236 PyObject * obj0 = 0 ;
6237 char *kwnames[] = {
6238 (char *) "self", NULL
6239 };
6240
6241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 (arg1)->UpdateSize();
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
6251 Py_INCREF(Py_None); resultobj = Py_None;
6252 return resultobj;
6253 fail:
6254 return NULL;
6255 }
6256
6257
6258 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6259 PyObject *resultobj;
6260 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6261 bool result;
6262 PyObject * obj0 = 0 ;
6263 char *kwnames[] = {
6264 (char *) "self", NULL
6265 };
6266
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6270 {
6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
6272 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6273
6274 wxPyEndAllowThreads(__tstate);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 }
6277 {
6278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6279 }
6280 return resultobj;
6281 fail:
6282 return NULL;
6283 }
6284
6285
6286 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6287 PyObject *resultobj;
6288 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6289 int arg2 ;
6290 PyObject * obj0 = 0 ;
6291 PyObject * obj1 = 0 ;
6292 char *kwnames[] = {
6293 (char *) "self",(char *) "width", NULL
6294 };
6295
6296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6299 arg2 = (int) SWIG_AsInt(obj1);
6300 if (PyErr_Occurred()) SWIG_fail;
6301 {
6302 PyThreadState* __tstate = wxPyBeginAllowThreads();
6303 (arg1)->SetSashSize(arg2);
6304
6305 wxPyEndAllowThreads(__tstate);
6306 if (PyErr_Occurred()) SWIG_fail;
6307 }
6308 Py_INCREF(Py_None); resultobj = Py_None;
6309 return resultobj;
6310 fail:
6311 return NULL;
6312 }
6313
6314
6315 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj;
6317 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6318 int arg2 ;
6319 PyObject * obj0 = 0 ;
6320 PyObject * obj1 = 0 ;
6321 char *kwnames[] = {
6322 (char *) "self",(char *) "width", NULL
6323 };
6324
6325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6328 arg2 = (int) SWIG_AsInt(obj1);
6329 if (PyErr_Occurred()) SWIG_fail;
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 (arg1)->SetBorderSize(arg2);
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
6337 Py_INCREF(Py_None); resultobj = Py_None;
6338 return resultobj;
6339 fail:
6340 return NULL;
6341 }
6342
6343
6344 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6345 PyObject *resultobj;
6346 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6347 int result;
6348 PyObject * obj0 = 0 ;
6349 char *kwnames[] = {
6350 (char *) "self", NULL
6351 };
6352
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6356 {
6357 PyThreadState* __tstate = wxPyBeginAllowThreads();
6358 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6359
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 resultobj = SWIG_FromInt((int)result);
6364 return resultobj;
6365 fail:
6366 return NULL;
6367 }
6368
6369
6370 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6371 PyObject *resultobj;
6372 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6373 int result;
6374 PyObject * obj0 = 0 ;
6375 char *kwnames[] = {
6376 (char *) "self", NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6382 {
6383 PyThreadState* __tstate = wxPyBeginAllowThreads();
6384 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6385
6386 wxPyEndAllowThreads(__tstate);
6387 if (PyErr_Occurred()) SWIG_fail;
6388 }
6389 resultobj = SWIG_FromInt((int)result);
6390 return resultobj;
6391 fail:
6392 return NULL;
6393 }
6394
6395
6396 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6397 PyObject *resultobj;
6398 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6399 int arg2 ;
6400 bool arg3 = (bool) True ;
6401 PyObject * obj0 = 0 ;
6402 PyObject * obj1 = 0 ;
6403 PyObject * obj2 = 0 ;
6404 char *kwnames[] = {
6405 (char *) "self",(char *) "position",(char *) "redraw", NULL
6406 };
6407
6408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6411 arg2 = (int) SWIG_AsInt(obj1);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 if (obj2) {
6414 arg3 = (bool) SWIG_AsBool(obj2);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 {
6418 PyThreadState* __tstate = wxPyBeginAllowThreads();
6419 (arg1)->SetSashPosition(arg2,arg3);
6420
6421 wxPyEndAllowThreads(__tstate);
6422 if (PyErr_Occurred()) SWIG_fail;
6423 }
6424 Py_INCREF(Py_None); resultobj = Py_None;
6425 return resultobj;
6426 fail:
6427 return NULL;
6428 }
6429
6430
6431 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6432 PyObject *resultobj;
6433 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6434 int result;
6435 PyObject * obj0 = 0 ;
6436 char *kwnames[] = {
6437 (char *) "self", NULL
6438 };
6439
6440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6446
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 resultobj = SWIG_FromInt((int)result);
6451 return resultobj;
6452 fail:
6453 return NULL;
6454 }
6455
6456
6457 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj;
6459 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6460 int arg2 ;
6461 PyObject * obj0 = 0 ;
6462 PyObject * obj1 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "self",(char *) "min", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6470 arg2 = (int) SWIG_AsInt(obj1);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 (arg1)->SetMinimumPaneSize(arg2);
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 Py_INCREF(Py_None); resultobj = Py_None;
6480 return resultobj;
6481 fail:
6482 return NULL;
6483 }
6484
6485
6486 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6487 PyObject *resultobj;
6488 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6489 int result;
6490 PyObject * obj0 = 0 ;
6491 char *kwnames[] = {
6492 (char *) "self", NULL
6493 };
6494
6495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6498 {
6499 PyThreadState* __tstate = wxPyBeginAllowThreads();
6500 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6501
6502 wxPyEndAllowThreads(__tstate);
6503 if (PyErr_Occurred()) SWIG_fail;
6504 }
6505 resultobj = SWIG_FromInt((int)result);
6506 return resultobj;
6507 fail:
6508 return NULL;
6509 }
6510
6511
6512 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6513 PyObject *resultobj;
6514 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6515 int arg2 ;
6516 int arg3 ;
6517 int arg4 = (int) 5 ;
6518 bool result;
6519 PyObject * obj0 = 0 ;
6520 PyObject * obj1 = 0 ;
6521 PyObject * obj2 = 0 ;
6522 PyObject * obj3 = 0 ;
6523 char *kwnames[] = {
6524 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6525 };
6526
6527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6530 arg2 = (int) SWIG_AsInt(obj1);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 arg3 = (int) SWIG_AsInt(obj2);
6533 if (PyErr_Occurred()) SWIG_fail;
6534 if (obj3) {
6535 arg4 = (int) SWIG_AsInt(obj3);
6536 if (PyErr_Occurred()) SWIG_fail;
6537 }
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6541
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 {
6546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6547 }
6548 return resultobj;
6549 fail:
6550 return NULL;
6551 }
6552
6553
6554 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject *resultobj;
6556 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6557 PyObject * obj0 = 0 ;
6558 char *kwnames[] = {
6559 (char *) "self", NULL
6560 };
6561
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6565 {
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 (arg1)->SizeWindows();
6568
6569 wxPyEndAllowThreads(__tstate);
6570 if (PyErr_Occurred()) SWIG_fail;
6571 }
6572 Py_INCREF(Py_None); resultobj = Py_None;
6573 return resultobj;
6574 fail:
6575 return NULL;
6576 }
6577
6578
6579 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6580 PyObject *resultobj;
6581 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6582 bool arg2 ;
6583 PyObject * obj0 = 0 ;
6584 PyObject * obj1 = 0 ;
6585 char *kwnames[] = {
6586 (char *) "self",(char *) "needUpdating", NULL
6587 };
6588
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6592 arg2 = (bool) SWIG_AsBool(obj1);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 (arg1)->SetNeedUpdating(arg2);
6597
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
6601 Py_INCREF(Py_None); resultobj = Py_None;
6602 return resultobj;
6603 fail:
6604 return NULL;
6605 }
6606
6607
6608 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6609 PyObject *resultobj;
6610 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6611 bool result;
6612 PyObject * obj0 = 0 ;
6613 char *kwnames[] = {
6614 (char *) "self", NULL
6615 };
6616
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6620 {
6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6622 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6623
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 {
6628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6629 }
6630 return resultobj;
6631 fail:
6632 return NULL;
6633 }
6634
6635
6636 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6637 PyObject *resultobj;
6638 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6639 wxVisualAttributes result;
6640 PyObject * obj0 = 0 ;
6641 char *kwnames[] = {
6642 (char *) "variant", NULL
6643 };
6644
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6646 if (obj0) {
6647 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 {
6651 if (!wxPyCheckForApp()) SWIG_fail;
6652 PyThreadState* __tstate = wxPyBeginAllowThreads();
6653 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6654
6655 wxPyEndAllowThreads(__tstate);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 }
6658 {
6659 wxVisualAttributes * resultptr;
6660 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6661 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6662 }
6663 return resultobj;
6664 fail:
6665 return NULL;
6666 }
6667
6668
6669 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6670 PyObject *obj;
6671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6672 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6673 Py_INCREF(obj);
6674 return Py_BuildValue((char *)"");
6675 }
6676 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6677 PyObject *resultobj;
6678 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6679 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6680 wxSplitterEvent *result;
6681 PyObject * obj0 = 0 ;
6682 PyObject * obj1 = 0 ;
6683 char *kwnames[] = {
6684 (char *) "type",(char *) "splitter", NULL
6685 };
6686
6687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6688 if (obj0) {
6689 arg1 = (wxEventType) SWIG_AsInt(obj0);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 if (obj1) {
6693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6695 }
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6704 return resultobj;
6705 fail:
6706 return NULL;
6707 }
6708
6709
6710 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6711 PyObject *resultobj;
6712 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6713 int arg2 ;
6714 PyObject * obj0 = 0 ;
6715 PyObject * obj1 = 0 ;
6716 char *kwnames[] = {
6717 (char *) "self",(char *) "pos", NULL
6718 };
6719
6720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6723 arg2 = (int) SWIG_AsInt(obj1);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 (arg1)->SetSashPosition(arg2);
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 Py_INCREF(Py_None); resultobj = Py_None;
6733 return resultobj;
6734 fail:
6735 return NULL;
6736 }
6737
6738
6739 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj;
6741 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6742 int result;
6743 PyObject * obj0 = 0 ;
6744 char *kwnames[] = {
6745 (char *) "self", NULL
6746 };
6747
6748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6751 {
6752 PyThreadState* __tstate = wxPyBeginAllowThreads();
6753 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6754
6755 wxPyEndAllowThreads(__tstate);
6756 if (PyErr_Occurred()) SWIG_fail;
6757 }
6758 resultobj = SWIG_FromInt((int)result);
6759 return resultobj;
6760 fail:
6761 return NULL;
6762 }
6763
6764
6765 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj;
6767 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6768 wxWindow *result;
6769 PyObject * obj0 = 0 ;
6770 char *kwnames[] = {
6771 (char *) "self", NULL
6772 };
6773
6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6780
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 {
6785 resultobj = wxPyMake_wxObject(result, 0);
6786 }
6787 return resultobj;
6788 fail:
6789 return NULL;
6790 }
6791
6792
6793 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6794 PyObject *resultobj;
6795 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6796 int result;
6797 PyObject * obj0 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self", NULL
6800 };
6801
6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6805 {
6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
6807 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6808
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 resultobj = SWIG_FromInt((int)result);
6813 return resultobj;
6814 fail:
6815 return NULL;
6816 }
6817
6818
6819 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6820 PyObject *resultobj;
6821 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6822 int result;
6823 PyObject * obj0 = 0 ;
6824 char *kwnames[] = {
6825 (char *) "self", NULL
6826 };
6827
6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6834
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 }
6838 resultobj = SWIG_FromInt((int)result);
6839 return resultobj;
6840 fail:
6841 return NULL;
6842 }
6843
6844
6845 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6846 PyObject *obj;
6847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6848 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6849 Py_INCREF(obj);
6850 return Py_BuildValue((char *)"");
6851 }
6852 static int _wrap_SashNameStr_set(PyObject *_val) {
6853 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6854 return 1;
6855 }
6856
6857
6858 static PyObject *_wrap_SashNameStr_get() {
6859 PyObject *pyobj;
6860
6861 {
6862 #if wxUSE_UNICODE
6863 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6864 #else
6865 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6866 #endif
6867 }
6868 return pyobj;
6869 }
6870
6871
6872 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6873 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6874 return 1;
6875 }
6876
6877
6878 static PyObject *_wrap_SashLayoutNameStr_get() {
6879 PyObject *pyobj;
6880
6881 {
6882 #if wxUSE_UNICODE
6883 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6884 #else
6885 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6886 #endif
6887 }
6888 return pyobj;
6889 }
6890
6891
6892 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject *resultobj;
6894 wxWindow *arg1 = (wxWindow *) 0 ;
6895 int arg2 = (int) -1 ;
6896 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6897 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6898 wxSize const &arg4_defvalue = wxDefaultSize ;
6899 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6900 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6901 wxString const &arg6_defvalue = wxPySashNameStr ;
6902 wxString *arg6 = (wxString *) &arg6_defvalue ;
6903 wxSashWindow *result;
6904 wxPoint temp3 ;
6905 wxSize temp4 ;
6906 bool temp6 = False ;
6907 PyObject * obj0 = 0 ;
6908 PyObject * obj1 = 0 ;
6909 PyObject * obj2 = 0 ;
6910 PyObject * obj3 = 0 ;
6911 PyObject * obj4 = 0 ;
6912 PyObject * obj5 = 0 ;
6913 char *kwnames[] = {
6914 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6915 };
6916
6917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6920 if (obj1) {
6921 arg2 = (int) SWIG_AsInt(obj1);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 }
6924 if (obj2) {
6925 {
6926 arg3 = &temp3;
6927 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6928 }
6929 }
6930 if (obj3) {
6931 {
6932 arg4 = &temp4;
6933 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6934 }
6935 }
6936 if (obj4) {
6937 arg5 = (long) SWIG_AsLong(obj4);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 if (obj5) {
6941 {
6942 arg6 = wxString_in_helper(obj5);
6943 if (arg6 == NULL) SWIG_fail;
6944 temp6 = True;
6945 }
6946 }
6947 {
6948 if (!wxPyCheckForApp()) SWIG_fail;
6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6950 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6951
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) SWIG_fail;
6954 }
6955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6956 {
6957 if (temp6)
6958 delete arg6;
6959 }
6960 return resultobj;
6961 fail:
6962 {
6963 if (temp6)
6964 delete arg6;
6965 }
6966 return NULL;
6967 }
6968
6969
6970 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj;
6972 wxSashWindow *result;
6973 char *kwnames[] = {
6974 NULL
6975 };
6976
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6978 {
6979 if (!wxPyCheckForApp()) SWIG_fail;
6980 PyThreadState* __tstate = wxPyBeginAllowThreads();
6981 result = (wxSashWindow *)new wxSashWindow();
6982
6983 wxPyEndAllowThreads(__tstate);
6984 if (PyErr_Occurred()) SWIG_fail;
6985 }
6986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6987 return resultobj;
6988 fail:
6989 return NULL;
6990 }
6991
6992
6993 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6994 PyObject *resultobj;
6995 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6996 wxWindow *arg2 = (wxWindow *) 0 ;
6997 int arg3 = (int) -1 ;
6998 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6999 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7000 wxSize const &arg5_defvalue = wxDefaultSize ;
7001 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7002 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7003 wxString const &arg7_defvalue = wxPySashNameStr ;
7004 wxString *arg7 = (wxString *) &arg7_defvalue ;
7005 bool result;
7006 wxPoint temp4 ;
7007 wxSize temp5 ;
7008 bool temp7 = False ;
7009 PyObject * obj0 = 0 ;
7010 PyObject * obj1 = 0 ;
7011 PyObject * obj2 = 0 ;
7012 PyObject * obj3 = 0 ;
7013 PyObject * obj4 = 0 ;
7014 PyObject * obj5 = 0 ;
7015 PyObject * obj6 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7025 if (obj2) {
7026 arg3 = (int) SWIG_AsInt(obj2);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 if (obj3) {
7030 {
7031 arg4 = &temp4;
7032 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7033 }
7034 }
7035 if (obj4) {
7036 {
7037 arg5 = &temp5;
7038 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7039 }
7040 }
7041 if (obj5) {
7042 arg6 = (long) SWIG_AsLong(obj5);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 if (obj6) {
7046 {
7047 arg7 = wxString_in_helper(obj6);
7048 if (arg7 == NULL) SWIG_fail;
7049 temp7 = True;
7050 }
7051 }
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 {
7060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7061 }
7062 {
7063 if (temp7)
7064 delete arg7;
7065 }
7066 return resultobj;
7067 fail:
7068 {
7069 if (temp7)
7070 delete arg7;
7071 }
7072 return NULL;
7073 }
7074
7075
7076 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7077 PyObject *resultobj;
7078 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7079 int arg2 ;
7080 bool arg3 ;
7081 PyObject * obj0 = 0 ;
7082 PyObject * obj1 = 0 ;
7083 PyObject * obj2 = 0 ;
7084 char *kwnames[] = {
7085 (char *) "self",(char *) "edge",(char *) "sash", NULL
7086 };
7087
7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7091 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 arg3 = (bool) SWIG_AsBool(obj2);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 Py_INCREF(Py_None); resultobj = Py_None;
7103 return resultobj;
7104 fail:
7105 return NULL;
7106 }
7107
7108
7109 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7110 PyObject *resultobj;
7111 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7112 int arg2 ;
7113 bool result;
7114 PyObject * obj0 = 0 ;
7115 PyObject * obj1 = 0 ;
7116 char *kwnames[] = {
7117 (char *) "self",(char *) "edge", NULL
7118 };
7119
7120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7123 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 {
7126 PyThreadState* __tstate = wxPyBeginAllowThreads();
7127 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7128
7129 wxPyEndAllowThreads(__tstate);
7130 if (PyErr_Occurred()) SWIG_fail;
7131 }
7132 {
7133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7134 }
7135 return resultobj;
7136 fail:
7137 return NULL;
7138 }
7139
7140
7141 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7142 PyObject *resultobj;
7143 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7144 int arg2 ;
7145 bool arg3 ;
7146 PyObject * obj0 = 0 ;
7147 PyObject * obj1 = 0 ;
7148 PyObject * obj2 = 0 ;
7149 char *kwnames[] = {
7150 (char *) "self",(char *) "edge",(char *) "border", NULL
7151 };
7152
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7156 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 arg3 = (bool) SWIG_AsBool(obj2);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 {
7161 PyThreadState* __tstate = wxPyBeginAllowThreads();
7162 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7163
7164 wxPyEndAllowThreads(__tstate);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
7167 Py_INCREF(Py_None); resultobj = Py_None;
7168 return resultobj;
7169 fail:
7170 return NULL;
7171 }
7172
7173
7174 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7175 PyObject *resultobj;
7176 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7177 int arg2 ;
7178 bool result;
7179 PyObject * obj0 = 0 ;
7180 PyObject * obj1 = 0 ;
7181 char *kwnames[] = {
7182 (char *) "self",(char *) "edge", NULL
7183 };
7184
7185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7188 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7189 if (PyErr_Occurred()) SWIG_fail;
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7193
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 {
7198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7199 }
7200 return resultobj;
7201 fail:
7202 return NULL;
7203 }
7204
7205
7206 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
7207 PyObject *resultobj;
7208 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7209 int arg2 ;
7210 int result;
7211 PyObject * obj0 = 0 ;
7212 PyObject * obj1 = 0 ;
7213 char *kwnames[] = {
7214 (char *) "self",(char *) "edge", NULL
7215 };
7216
7217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7220 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 resultobj = SWIG_FromInt((int)result);
7230 return resultobj;
7231 fail:
7232 return NULL;
7233 }
7234
7235
7236 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7237 PyObject *resultobj;
7238 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7239 int arg2 ;
7240 PyObject * obj0 = 0 ;
7241 PyObject * obj1 = 0 ;
7242 char *kwnames[] = {
7243 (char *) "self",(char *) "width", NULL
7244 };
7245
7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7249 arg2 = (int) SWIG_AsInt(obj1);
7250 if (PyErr_Occurred()) SWIG_fail;
7251 {
7252 PyThreadState* __tstate = wxPyBeginAllowThreads();
7253 (arg1)->SetDefaultBorderSize(arg2);
7254
7255 wxPyEndAllowThreads(__tstate);
7256 if (PyErr_Occurred()) SWIG_fail;
7257 }
7258 Py_INCREF(Py_None); resultobj = Py_None;
7259 return resultobj;
7260 fail:
7261 return NULL;
7262 }
7263
7264
7265 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7266 PyObject *resultobj;
7267 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7268 int result;
7269 PyObject * obj0 = 0 ;
7270 char *kwnames[] = {
7271 (char *) "self", NULL
7272 };
7273
7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7277 {
7278 PyThreadState* __tstate = wxPyBeginAllowThreads();
7279 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7280
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 resultobj = SWIG_FromInt((int)result);
7285 return resultobj;
7286 fail:
7287 return NULL;
7288 }
7289
7290
7291 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7292 PyObject *resultobj;
7293 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7294 int arg2 ;
7295 PyObject * obj0 = 0 ;
7296 PyObject * obj1 = 0 ;
7297 char *kwnames[] = {
7298 (char *) "self",(char *) "width", NULL
7299 };
7300
7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7304 arg2 = (int) SWIG_AsInt(obj1);
7305 if (PyErr_Occurred()) SWIG_fail;
7306 {
7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7308 (arg1)->SetExtraBorderSize(arg2);
7309
7310 wxPyEndAllowThreads(__tstate);
7311 if (PyErr_Occurred()) SWIG_fail;
7312 }
7313 Py_INCREF(Py_None); resultobj = Py_None;
7314 return resultobj;
7315 fail:
7316 return NULL;
7317 }
7318
7319
7320 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7321 PyObject *resultobj;
7322 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7323 int result;
7324 PyObject * obj0 = 0 ;
7325 char *kwnames[] = {
7326 (char *) "self", NULL
7327 };
7328
7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7332 {
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7335
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 resultobj = SWIG_FromInt((int)result);
7340 return resultobj;
7341 fail:
7342 return NULL;
7343 }
7344
7345
7346 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7349 int arg2 ;
7350 PyObject * obj0 = 0 ;
7351 PyObject * obj1 = 0 ;
7352 char *kwnames[] = {
7353 (char *) "self",(char *) "min", NULL
7354 };
7355
7356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7359 arg2 = (int) SWIG_AsInt(obj1);
7360 if (PyErr_Occurred()) SWIG_fail;
7361 {
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7363 (arg1)->SetMinimumSizeX(arg2);
7364
7365 wxPyEndAllowThreads(__tstate);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 }
7368 Py_INCREF(Py_None); resultobj = Py_None;
7369 return resultobj;
7370 fail:
7371 return NULL;
7372 }
7373
7374
7375 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7376 PyObject *resultobj;
7377 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7378 int arg2 ;
7379 PyObject * obj0 = 0 ;
7380 PyObject * obj1 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self",(char *) "min", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7388 arg2 = (int) SWIG_AsInt(obj1);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 {
7391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7392 (arg1)->SetMinimumSizeY(arg2);
7393
7394 wxPyEndAllowThreads(__tstate);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
7397 Py_INCREF(Py_None); resultobj = Py_None;
7398 return resultobj;
7399 fail:
7400 return NULL;
7401 }
7402
7403
7404 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj;
7406 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7407 int result;
7408 PyObject * obj0 = 0 ;
7409 char *kwnames[] = {
7410 (char *) "self", NULL
7411 };
7412
7413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7416 {
7417 PyThreadState* __tstate = wxPyBeginAllowThreads();
7418 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7419
7420 wxPyEndAllowThreads(__tstate);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 }
7423 resultobj = SWIG_FromInt((int)result);
7424 return resultobj;
7425 fail:
7426 return NULL;
7427 }
7428
7429
7430 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7431 PyObject *resultobj;
7432 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7433 int result;
7434 PyObject * obj0 = 0 ;
7435 char *kwnames[] = {
7436 (char *) "self", NULL
7437 };
7438
7439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 resultobj = SWIG_FromInt((int)result);
7450 return resultobj;
7451 fail:
7452 return NULL;
7453 }
7454
7455
7456 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7457 PyObject *resultobj;
7458 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7459 int arg2 ;
7460 PyObject * obj0 = 0 ;
7461 PyObject * obj1 = 0 ;
7462 char *kwnames[] = {
7463 (char *) "self",(char *) "max", NULL
7464 };
7465
7466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7469 arg2 = (int) SWIG_AsInt(obj1);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 {
7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7473 (arg1)->SetMaximumSizeX(arg2);
7474
7475 wxPyEndAllowThreads(__tstate);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 }
7478 Py_INCREF(Py_None); resultobj = Py_None;
7479 return resultobj;
7480 fail:
7481 return NULL;
7482 }
7483
7484
7485 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7486 PyObject *resultobj;
7487 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7488 int arg2 ;
7489 PyObject * obj0 = 0 ;
7490 PyObject * obj1 = 0 ;
7491 char *kwnames[] = {
7492 (char *) "self",(char *) "max", NULL
7493 };
7494
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7498 arg2 = (int) SWIG_AsInt(obj1);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 {
7501 PyThreadState* __tstate = wxPyBeginAllowThreads();
7502 (arg1)->SetMaximumSizeY(arg2);
7503
7504 wxPyEndAllowThreads(__tstate);
7505 if (PyErr_Occurred()) SWIG_fail;
7506 }
7507 Py_INCREF(Py_None); resultobj = Py_None;
7508 return resultobj;
7509 fail:
7510 return NULL;
7511 }
7512
7513
7514 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7515 PyObject *resultobj;
7516 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7517 int result;
7518 PyObject * obj0 = 0 ;
7519 char *kwnames[] = {
7520 (char *) "self", NULL
7521 };
7522
7523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7526 {
7527 PyThreadState* __tstate = wxPyBeginAllowThreads();
7528 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7529
7530 wxPyEndAllowThreads(__tstate);
7531 if (PyErr_Occurred()) SWIG_fail;
7532 }
7533 resultobj = SWIG_FromInt((int)result);
7534 return resultobj;
7535 fail:
7536 return NULL;
7537 }
7538
7539
7540 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7541 PyObject *resultobj;
7542 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7543 int result;
7544 PyObject * obj0 = 0 ;
7545 char *kwnames[] = {
7546 (char *) "self", NULL
7547 };
7548
7549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7552 {
7553 PyThreadState* __tstate = wxPyBeginAllowThreads();
7554 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7555
7556 wxPyEndAllowThreads(__tstate);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 }
7559 resultobj = SWIG_FromInt((int)result);
7560 return resultobj;
7561 fail:
7562 return NULL;
7563 }
7564
7565
7566 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7569 int arg2 ;
7570 int arg3 ;
7571 int arg4 = (int) 2 ;
7572 int result;
7573 PyObject * obj0 = 0 ;
7574 PyObject * obj1 = 0 ;
7575 PyObject * obj2 = 0 ;
7576 PyObject * obj3 = 0 ;
7577 char *kwnames[] = {
7578 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7579 };
7580
7581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7584 arg2 = (int) SWIG_AsInt(obj1);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 arg3 = (int) SWIG_AsInt(obj2);
7587 if (PyErr_Occurred()) SWIG_fail;
7588 if (obj3) {
7589 arg4 = (int) SWIG_AsInt(obj3);
7590 if (PyErr_Occurred()) SWIG_fail;
7591 }
7592 {
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7595
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 }
7599 resultobj = SWIG_FromInt((int)result);
7600 return resultobj;
7601 fail:
7602 return NULL;
7603 }
7604
7605
7606 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7607 PyObject *resultobj;
7608 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7609 PyObject * obj0 = 0 ;
7610 char *kwnames[] = {
7611 (char *) "self", NULL
7612 };
7613
7614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 (arg1)->SizeWindows();
7620
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 Py_INCREF(Py_None); resultobj = Py_None;
7625 return resultobj;
7626 fail:
7627 return NULL;
7628 }
7629
7630
7631 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7632 PyObject *obj;
7633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7634 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7635 Py_INCREF(obj);
7636 return Py_BuildValue((char *)"");
7637 }
7638 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7639 PyObject *resultobj;
7640 int arg1 = (int) 0 ;
7641 int arg2 = (int) wxSASH_NONE ;
7642 wxSashEvent *result;
7643 PyObject * obj0 = 0 ;
7644 PyObject * obj1 = 0 ;
7645 char *kwnames[] = {
7646 (char *) "id",(char *) "edge", NULL
7647 };
7648
7649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7650 if (obj0) {
7651 arg1 = (int) SWIG_AsInt(obj0);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 if (obj1) {
7655 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7656 if (PyErr_Occurred()) SWIG_fail;
7657 }
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7661
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7666 return resultobj;
7667 fail:
7668 return NULL;
7669 }
7670
7671
7672 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7673 PyObject *resultobj;
7674 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7675 int arg2 ;
7676 PyObject * obj0 = 0 ;
7677 PyObject * obj1 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "self",(char *) "edge", NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7685 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7690
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 Py_INCREF(Py_None); resultobj = Py_None;
7695 return resultobj;
7696 fail:
7697 return NULL;
7698 }
7699
7700
7701 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7702 PyObject *resultobj;
7703 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7704 int result;
7705 PyObject * obj0 = 0 ;
7706 char *kwnames[] = {
7707 (char *) "self", NULL
7708 };
7709
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 resultobj = SWIG_FromInt((int)result);
7721 return resultobj;
7722 fail:
7723 return NULL;
7724 }
7725
7726
7727 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7728 PyObject *resultobj;
7729 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7730 wxRect *arg2 = 0 ;
7731 wxRect temp2 ;
7732 PyObject * obj0 = 0 ;
7733 PyObject * obj1 = 0 ;
7734 char *kwnames[] = {
7735 (char *) "self",(char *) "rect", NULL
7736 };
7737
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7741 {
7742 arg2 = &temp2;
7743 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7744 }
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 (arg1)->SetDragRect((wxRect const &)*arg2);
7748
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 Py_INCREF(Py_None); resultobj = Py_None;
7753 return resultobj;
7754 fail:
7755 return NULL;
7756 }
7757
7758
7759 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7760 PyObject *resultobj;
7761 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7762 wxRect result;
7763 PyObject * obj0 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "self", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7771 {
7772 PyThreadState* __tstate = wxPyBeginAllowThreads();
7773 result = ((wxSashEvent const *)arg1)->GetDragRect();
7774
7775 wxPyEndAllowThreads(__tstate);
7776 if (PyErr_Occurred()) SWIG_fail;
7777 }
7778 {
7779 wxRect * resultptr;
7780 resultptr = new wxRect((wxRect &) result);
7781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7782 }
7783 return resultobj;
7784 fail:
7785 return NULL;
7786 }
7787
7788
7789 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7790 PyObject *resultobj;
7791 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7792 int arg2 ;
7793 PyObject * obj0 = 0 ;
7794 PyObject * obj1 = 0 ;
7795 char *kwnames[] = {
7796 (char *) "self",(char *) "status", NULL
7797 };
7798
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7802 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7803 if (PyErr_Occurred()) SWIG_fail;
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7806 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7807
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 Py_INCREF(Py_None); resultobj = Py_None;
7812 return resultobj;
7813 fail:
7814 return NULL;
7815 }
7816
7817
7818 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7819 PyObject *resultobj;
7820 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7821 int result;
7822 PyObject * obj0 = 0 ;
7823 char *kwnames[] = {
7824 (char *) "self", NULL
7825 };
7826
7827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7830 {
7831 PyThreadState* __tstate = wxPyBeginAllowThreads();
7832 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7833
7834 wxPyEndAllowThreads(__tstate);
7835 if (PyErr_Occurred()) SWIG_fail;
7836 }
7837 resultobj = SWIG_FromInt((int)result);
7838 return resultobj;
7839 fail:
7840 return NULL;
7841 }
7842
7843
7844 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7845 PyObject *obj;
7846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7847 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7848 Py_INCREF(obj);
7849 return Py_BuildValue((char *)"");
7850 }
7851 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj;
7853 int arg1 = (int) 0 ;
7854 wxQueryLayoutInfoEvent *result;
7855 PyObject * obj0 = 0 ;
7856 char *kwnames[] = {
7857 (char *) "id", NULL
7858 };
7859
7860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7861 if (obj0) {
7862 arg1 = (int) SWIG_AsInt(obj0);
7863 if (PyErr_Occurred()) SWIG_fail;
7864 }
7865 {
7866 PyThreadState* __tstate = wxPyBeginAllowThreads();
7867 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7868
7869 wxPyEndAllowThreads(__tstate);
7870 if (PyErr_Occurred()) SWIG_fail;
7871 }
7872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7873 return resultobj;
7874 fail:
7875 return NULL;
7876 }
7877
7878
7879 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7880 PyObject *resultobj;
7881 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7882 int arg2 ;
7883 PyObject * obj0 = 0 ;
7884 PyObject * obj1 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "self",(char *) "length", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7892 arg2 = (int) SWIG_AsInt(obj1);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 (arg1)->SetRequestedLength(arg2);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7911 int result;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 resultobj = SWIG_FromInt((int)result);
7928 return resultobj;
7929 fail:
7930 return NULL;
7931 }
7932
7933
7934 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7937 int arg2 ;
7938 PyObject * obj0 = 0 ;
7939 PyObject * obj1 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "self",(char *) "flags", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7947 arg2 = (int) SWIG_AsInt(obj1);
7948 if (PyErr_Occurred()) SWIG_fail;
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 (arg1)->SetFlags(arg2);
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 Py_INCREF(Py_None); resultobj = Py_None;
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7966 int result;
7967 PyObject * obj0 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 resultobj = SWIG_FromInt((int)result);
7983 return resultobj;
7984 fail:
7985 return NULL;
7986 }
7987
7988
7989 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7990 PyObject *resultobj;
7991 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7992 wxSize *arg2 = 0 ;
7993 wxSize temp2 ;
7994 PyObject * obj0 = 0 ;
7995 PyObject * obj1 = 0 ;
7996 char *kwnames[] = {
7997 (char *) "self",(char *) "size", NULL
7998 };
7999
8000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8003 {
8004 arg2 = &temp2;
8005 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8006 }
8007 {
8008 PyThreadState* __tstate = wxPyBeginAllowThreads();
8009 (arg1)->SetSize((wxSize const &)*arg2);
8010
8011 wxPyEndAllowThreads(__tstate);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 }
8014 Py_INCREF(Py_None); resultobj = Py_None;
8015 return resultobj;
8016 fail:
8017 return NULL;
8018 }
8019
8020
8021 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8022 PyObject *resultobj;
8023 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8024 wxSize result;
8025 PyObject * obj0 = 0 ;
8026 char *kwnames[] = {
8027 (char *) "self", NULL
8028 };
8029
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 {
8041 wxSize * resultptr;
8042 resultptr = new wxSize((wxSize &) result);
8043 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8044 }
8045 return resultobj;
8046 fail:
8047 return NULL;
8048 }
8049
8050
8051 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8052 PyObject *resultobj;
8053 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8054 int arg2 ;
8055 PyObject * obj0 = 0 ;
8056 PyObject * obj1 = 0 ;
8057 char *kwnames[] = {
8058 (char *) "self",(char *) "orient", NULL
8059 };
8060
8061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8064 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8065 if (PyErr_Occurred()) SWIG_fail;
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 Py_INCREF(Py_None); resultobj = Py_None;
8074 return resultobj;
8075 fail:
8076 return NULL;
8077 }
8078
8079
8080 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj;
8082 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8083 int result;
8084 PyObject * obj0 = 0 ;
8085 char *kwnames[] = {
8086 (char *) "self", NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8095
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
8099 resultobj = SWIG_FromInt((int)result);
8100 return resultobj;
8101 fail:
8102 return NULL;
8103 }
8104
8105
8106 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8107 PyObject *resultobj;
8108 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8109 int arg2 ;
8110 PyObject * obj0 = 0 ;
8111 PyObject * obj1 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self",(char *) "align", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8119 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8120 if (PyErr_Occurred()) SWIG_fail;
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8124
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 Py_INCREF(Py_None); resultobj = Py_None;
8129 return resultobj;
8130 fail:
8131 return NULL;
8132 }
8133
8134
8135 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj;
8137 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8138 int result;
8139 PyObject * obj0 = 0 ;
8140 char *kwnames[] = {
8141 (char *) "self", NULL
8142 };
8143
8144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8147 {
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8150
8151 wxPyEndAllowThreads(__tstate);
8152 if (PyErr_Occurred()) SWIG_fail;
8153 }
8154 resultobj = SWIG_FromInt((int)result);
8155 return resultobj;
8156 fail:
8157 return NULL;
8158 }
8159
8160
8161 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
8162 PyObject *obj;
8163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8164 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8165 Py_INCREF(obj);
8166 return Py_BuildValue((char *)"");
8167 }
8168 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8169 PyObject *resultobj;
8170 int arg1 = (int) 0 ;
8171 wxCalculateLayoutEvent *result;
8172 PyObject * obj0 = 0 ;
8173 char *kwnames[] = {
8174 (char *) "id", NULL
8175 };
8176
8177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8178 if (obj0) {
8179 arg1 = (int) SWIG_AsInt(obj0);
8180 if (PyErr_Occurred()) SWIG_fail;
8181 }
8182 {
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8184 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8185
8186 wxPyEndAllowThreads(__tstate);
8187 if (PyErr_Occurred()) SWIG_fail;
8188 }
8189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8190 return resultobj;
8191 fail:
8192 return NULL;
8193 }
8194
8195
8196 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8197 PyObject *resultobj;
8198 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8199 int arg2 ;
8200 PyObject * obj0 = 0 ;
8201 PyObject * obj1 = 0 ;
8202 char *kwnames[] = {
8203 (char *) "self",(char *) "flags", NULL
8204 };
8205
8206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8209 arg2 = (int) SWIG_AsInt(obj1);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 (arg1)->SetFlags(arg2);
8214
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 Py_INCREF(Py_None); resultobj = Py_None;
8219 return resultobj;
8220 fail:
8221 return NULL;
8222 }
8223
8224
8225 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8226 PyObject *resultobj;
8227 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8228 int result;
8229 PyObject * obj0 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8240
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 resultobj = SWIG_FromInt((int)result);
8245 return resultobj;
8246 fail:
8247 return NULL;
8248 }
8249
8250
8251 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8252 PyObject *resultobj;
8253 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8254 wxRect *arg2 = 0 ;
8255 wxRect temp2 ;
8256 PyObject * obj0 = 0 ;
8257 PyObject * obj1 = 0 ;
8258 char *kwnames[] = {
8259 (char *) "self",(char *) "rect", NULL
8260 };
8261
8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8265 {
8266 arg2 = &temp2;
8267 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8268 }
8269 {
8270 PyThreadState* __tstate = wxPyBeginAllowThreads();
8271 (arg1)->SetRect((wxRect const &)*arg2);
8272
8273 wxPyEndAllowThreads(__tstate);
8274 if (PyErr_Occurred()) SWIG_fail;
8275 }
8276 Py_INCREF(Py_None); resultobj = Py_None;
8277 return resultobj;
8278 fail:
8279 return NULL;
8280 }
8281
8282
8283 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8284 PyObject *resultobj;
8285 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8286 wxRect result;
8287 PyObject * obj0 = 0 ;
8288 char *kwnames[] = {
8289 (char *) "self", NULL
8290 };
8291
8292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8295 {
8296 PyThreadState* __tstate = wxPyBeginAllowThreads();
8297 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8298
8299 wxPyEndAllowThreads(__tstate);
8300 if (PyErr_Occurred()) SWIG_fail;
8301 }
8302 {
8303 wxRect * resultptr;
8304 resultptr = new wxRect((wxRect &) result);
8305 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8306 }
8307 return resultobj;
8308 fail:
8309 return NULL;
8310 }
8311
8312
8313 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8314 PyObject *obj;
8315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8316 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8317 Py_INCREF(obj);
8318 return Py_BuildValue((char *)"");
8319 }
8320 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8321 PyObject *resultobj;
8322 wxWindow *arg1 = (wxWindow *) 0 ;
8323 int arg2 = (int) -1 ;
8324 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8325 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8326 wxSize const &arg4_defvalue = wxDefaultSize ;
8327 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8328 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8329 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8330 wxString *arg6 = (wxString *) &arg6_defvalue ;
8331 wxSashLayoutWindow *result;
8332 wxPoint temp3 ;
8333 wxSize temp4 ;
8334 bool temp6 = False ;
8335 PyObject * obj0 = 0 ;
8336 PyObject * obj1 = 0 ;
8337 PyObject * obj2 = 0 ;
8338 PyObject * obj3 = 0 ;
8339 PyObject * obj4 = 0 ;
8340 PyObject * obj5 = 0 ;
8341 char *kwnames[] = {
8342 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8343 };
8344
8345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8348 if (obj1) {
8349 arg2 = (int) SWIG_AsInt(obj1);
8350 if (PyErr_Occurred()) SWIG_fail;
8351 }
8352 if (obj2) {
8353 {
8354 arg3 = &temp3;
8355 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8356 }
8357 }
8358 if (obj3) {
8359 {
8360 arg4 = &temp4;
8361 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8362 }
8363 }
8364 if (obj4) {
8365 arg5 = (long) SWIG_AsLong(obj4);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 }
8368 if (obj5) {
8369 {
8370 arg6 = wxString_in_helper(obj5);
8371 if (arg6 == NULL) SWIG_fail;
8372 temp6 = True;
8373 }
8374 }
8375 {
8376 if (!wxPyCheckForApp()) SWIG_fail;
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
8378 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8379
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8384 {
8385 if (temp6)
8386 delete arg6;
8387 }
8388 return resultobj;
8389 fail:
8390 {
8391 if (temp6)
8392 delete arg6;
8393 }
8394 return NULL;
8395 }
8396
8397
8398 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8399 PyObject *resultobj;
8400 wxSashLayoutWindow *result;
8401 char *kwnames[] = {
8402 NULL
8403 };
8404
8405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8406 {
8407 if (!wxPyCheckForApp()) SWIG_fail;
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8415 return resultobj;
8416 fail:
8417 return NULL;
8418 }
8419
8420
8421 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8424 wxWindow *arg2 = (wxWindow *) 0 ;
8425 int arg3 = (int) -1 ;
8426 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8427 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8428 wxSize const &arg5_defvalue = wxDefaultSize ;
8429 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8430 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8431 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8432 wxString *arg7 = (wxString *) &arg7_defvalue ;
8433 bool result;
8434 wxPoint temp4 ;
8435 wxSize temp5 ;
8436 bool temp7 = False ;
8437 PyObject * obj0 = 0 ;
8438 PyObject * obj1 = 0 ;
8439 PyObject * obj2 = 0 ;
8440 PyObject * obj3 = 0 ;
8441 PyObject * obj4 = 0 ;
8442 PyObject * obj5 = 0 ;
8443 PyObject * obj6 = 0 ;
8444 char *kwnames[] = {
8445 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8446 };
8447
8448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8453 if (obj2) {
8454 arg3 = (int) SWIG_AsInt(obj2);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 }
8457 if (obj3) {
8458 {
8459 arg4 = &temp4;
8460 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8461 }
8462 }
8463 if (obj4) {
8464 {
8465 arg5 = &temp5;
8466 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8467 }
8468 }
8469 if (obj5) {
8470 arg6 = (long) SWIG_AsLong(obj5);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 if (obj6) {
8474 {
8475 arg7 = wxString_in_helper(obj6);
8476 if (arg7 == NULL) SWIG_fail;
8477 temp7 = True;
8478 }
8479 }
8480 {
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8483
8484 wxPyEndAllowThreads(__tstate);
8485 if (PyErr_Occurred()) SWIG_fail;
8486 }
8487 {
8488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8489 }
8490 {
8491 if (temp7)
8492 delete arg7;
8493 }
8494 return resultobj;
8495 fail:
8496 {
8497 if (temp7)
8498 delete arg7;
8499 }
8500 return NULL;
8501 }
8502
8503
8504 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8505 PyObject *resultobj;
8506 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8507 int result;
8508 PyObject * obj0 = 0 ;
8509 char *kwnames[] = {
8510 (char *) "self", NULL
8511 };
8512
8513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8516 {
8517 PyThreadState* __tstate = wxPyBeginAllowThreads();
8518 result = (int)(arg1)->GetAlignment();
8519
8520 wxPyEndAllowThreads(__tstate);
8521 if (PyErr_Occurred()) SWIG_fail;
8522 }
8523 resultobj = SWIG_FromInt((int)result);
8524 return resultobj;
8525 fail:
8526 return NULL;
8527 }
8528
8529
8530 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8531 PyObject *resultobj;
8532 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8533 int result;
8534 PyObject * obj0 = 0 ;
8535 char *kwnames[] = {
8536 (char *) "self", NULL
8537 };
8538
8539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8542 {
8543 PyThreadState* __tstate = wxPyBeginAllowThreads();
8544 result = (int)(arg1)->GetOrientation();
8545
8546 wxPyEndAllowThreads(__tstate);
8547 if (PyErr_Occurred()) SWIG_fail;
8548 }
8549 resultobj = SWIG_FromInt((int)result);
8550 return resultobj;
8551 fail:
8552 return NULL;
8553 }
8554
8555
8556 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8557 PyObject *resultobj;
8558 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8559 int arg2 ;
8560 PyObject * obj0 = 0 ;
8561 PyObject * obj1 = 0 ;
8562 char *kwnames[] = {
8563 (char *) "self",(char *) "alignment", NULL
8564 };
8565
8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8569 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8570 if (PyErr_Occurred()) SWIG_fail;
8571 {
8572 PyThreadState* __tstate = wxPyBeginAllowThreads();
8573 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8574
8575 wxPyEndAllowThreads(__tstate);
8576 if (PyErr_Occurred()) SWIG_fail;
8577 }
8578 Py_INCREF(Py_None); resultobj = Py_None;
8579 return resultobj;
8580 fail:
8581 return NULL;
8582 }
8583
8584
8585 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8586 PyObject *resultobj;
8587 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8588 wxSize *arg2 = 0 ;
8589 wxSize temp2 ;
8590 PyObject * obj0 = 0 ;
8591 PyObject * obj1 = 0 ;
8592 char *kwnames[] = {
8593 (char *) "self",(char *) "size", NULL
8594 };
8595
8596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8599 {
8600 arg2 = &temp2;
8601 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8602 }
8603 {
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8606
8607 wxPyEndAllowThreads(__tstate);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 }
8610 Py_INCREF(Py_None); resultobj = Py_None;
8611 return resultobj;
8612 fail:
8613 return NULL;
8614 }
8615
8616
8617 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8618 PyObject *resultobj;
8619 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8620 int arg2 ;
8621 PyObject * obj0 = 0 ;
8622 PyObject * obj1 = 0 ;
8623 char *kwnames[] = {
8624 (char *) "self",(char *) "orientation", NULL
8625 };
8626
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8630 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 Py_INCREF(Py_None); resultobj = Py_None;
8640 return resultobj;
8641 fail:
8642 return NULL;
8643 }
8644
8645
8646 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8647 PyObject *obj;
8648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8649 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8650 Py_INCREF(obj);
8651 return Py_BuildValue((char *)"");
8652 }
8653 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8654 PyObject *resultobj;
8655 wxLayoutAlgorithm *result;
8656 char *kwnames[] = {
8657 NULL
8658 };
8659
8660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8669 return resultobj;
8670 fail:
8671 return NULL;
8672 }
8673
8674
8675 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj;
8677 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8678 PyObject * obj0 = 0 ;
8679 char *kwnames[] = {
8680 (char *) "self", NULL
8681 };
8682
8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 delete arg1;
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 Py_INCREF(Py_None); resultobj = Py_None;
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8703 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8704 wxRect *arg3 = (wxRect *) NULL ;
8705 bool result;
8706 PyObject * obj0 = 0 ;
8707 PyObject * obj1 = 0 ;
8708 PyObject * obj2 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self",(char *) "frame",(char *) "rect", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8718 if (obj2) {
8719 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8721 }
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8725
8726 wxPyEndAllowThreads(__tstate);
8727 if (PyErr_Occurred()) SWIG_fail;
8728 }
8729 {
8730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8731 }
8732 return resultobj;
8733 fail:
8734 return NULL;
8735 }
8736
8737
8738 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8739 PyObject *resultobj;
8740 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8741 wxFrame *arg2 = (wxFrame *) 0 ;
8742 wxWindow *arg3 = (wxWindow *) NULL ;
8743 bool result;
8744 PyObject * obj0 = 0 ;
8745 PyObject * obj1 = 0 ;
8746 PyObject * obj2 = 0 ;
8747 char *kwnames[] = {
8748 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8749 };
8750
8751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8756 if (obj2) {
8757 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8759 }
8760 {
8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
8762 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8763
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 {
8768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8769 }
8770 return resultobj;
8771 fail:
8772 return NULL;
8773 }
8774
8775
8776 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8777 PyObject *resultobj;
8778 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8779 wxWindow *arg2 = (wxWindow *) 0 ;
8780 wxWindow *arg3 = (wxWindow *) NULL ;
8781 bool result;
8782 PyObject * obj0 = 0 ;
8783 PyObject * obj1 = 0 ;
8784 PyObject * obj2 = 0 ;
8785 char *kwnames[] = {
8786 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8787 };
8788
8789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8794 if (obj2) {
8795 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8797 }
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8801
8802 wxPyEndAllowThreads(__tstate);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 {
8806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8807 }
8808 return resultobj;
8809 fail:
8810 return NULL;
8811 }
8812
8813
8814 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8815 PyObject *obj;
8816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8817 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8818 Py_INCREF(obj);
8819 return Py_BuildValue((char *)"");
8820 }
8821 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8822 PyObject *resultobj;
8823 wxWindow *arg1 = (wxWindow *) 0 ;
8824 int arg2 = (int) wxBORDER_NONE ;
8825 wxPopupWindow *result;
8826 PyObject * obj0 = 0 ;
8827 PyObject * obj1 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "parent",(char *) "flags", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8835 if (obj1) {
8836 arg2 = (int) SWIG_AsInt(obj1);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8842
8843 wxPyEndAllowThreads(__tstate);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 }
8846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8847 return resultobj;
8848 fail:
8849 return NULL;
8850 }
8851
8852
8853 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8854 PyObject *resultobj;
8855 wxPopupWindow *result;
8856 char *kwnames[] = {
8857 NULL
8858 };
8859
8860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8861 {
8862 PyThreadState* __tstate = wxPyBeginAllowThreads();
8863 result = (wxPopupWindow *)new wxPopupWindow();
8864
8865 wxPyEndAllowThreads(__tstate);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 }
8868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8869 return resultobj;
8870 fail:
8871 return NULL;
8872 }
8873
8874
8875 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8876 PyObject *obj;
8877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8878 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8879 Py_INCREF(obj);
8880 return Py_BuildValue((char *)"");
8881 }
8882 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8883 PyObject *resultobj;
8884 wxWindow *arg1 = (wxWindow *) 0 ;
8885 int arg2 = (int) wxBORDER_NONE ;
8886 wxPyPopupTransientWindow *result;
8887 PyObject * obj0 = 0 ;
8888 PyObject * obj1 = 0 ;
8889 char *kwnames[] = {
8890 (char *) "parent",(char *) "style", NULL
8891 };
8892
8893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8896 if (obj1) {
8897 arg2 = (int) SWIG_AsInt(obj1);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8908 return resultobj;
8909 fail:
8910 return NULL;
8911 }
8912
8913
8914 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj;
8916 wxPyPopupTransientWindow *result;
8917 char *kwnames[] = {
8918 NULL
8919 };
8920
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8922 {
8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8924 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8925
8926 wxPyEndAllowThreads(__tstate);
8927 if (PyErr_Occurred()) SWIG_fail;
8928 }
8929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8930 return resultobj;
8931 fail:
8932 return NULL;
8933 }
8934
8935
8936 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8937 PyObject *obj;
8938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8939 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8940 Py_INCREF(obj);
8941 return Py_BuildValue((char *)"");
8942 }
8943 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj;
8945 wxWindow *arg1 = (wxWindow *) 0 ;
8946 wxString *arg2 = 0 ;
8947 int arg3 = (int) 100 ;
8948 wxRect *arg4 = (wxRect *) NULL ;
8949 wxTipWindow *result;
8950 bool temp2 = False ;
8951 PyObject * obj0 = 0 ;
8952 PyObject * obj1 = 0 ;
8953 PyObject * obj2 = 0 ;
8954 PyObject * obj3 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8962 {
8963 arg2 = wxString_in_helper(obj1);
8964 if (arg2 == NULL) SWIG_fail;
8965 temp2 = True;
8966 }
8967 if (obj2) {
8968 arg3 = (int) SWIG_AsInt(obj2);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 if (obj3) {
8972 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8974 }
8975 {
8976 if (!wxPyCheckForApp()) SWIG_fail;
8977 PyThreadState* __tstate = wxPyBeginAllowThreads();
8978 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8979
8980 wxPyEndAllowThreads(__tstate);
8981 if (PyErr_Occurred()) SWIG_fail;
8982 }
8983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8984 {
8985 if (temp2)
8986 delete arg2;
8987 }
8988 return resultobj;
8989 fail:
8990 {
8991 if (temp2)
8992 delete arg2;
8993 }
8994 return NULL;
8995 }
8996
8997
8998 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8999 PyObject *resultobj;
9000 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9001 wxRect *arg2 = 0 ;
9002 wxRect temp2 ;
9003 PyObject * obj0 = 0 ;
9004 PyObject * obj1 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "self",(char *) "rectBound", NULL
9007 };
9008
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9012 {
9013 arg2 = &temp2;
9014 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9015 }
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 Py_INCREF(Py_None); resultobj = Py_None;
9024 return resultobj;
9025 fail:
9026 return NULL;
9027 }
9028
9029
9030 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
9031 PyObject *resultobj;
9032 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9033 PyObject * obj0 = 0 ;
9034 char *kwnames[] = {
9035 (char *) "self", NULL
9036 };
9037
9038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 (arg1)->Close();
9044
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 Py_INCREF(Py_None); resultobj = Py_None;
9049 return resultobj;
9050 fail:
9051 return NULL;
9052 }
9053
9054
9055 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
9056 PyObject *obj;
9057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9058 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9059 Py_INCREF(obj);
9060 return Py_BuildValue((char *)"");
9061 }
9062 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9063 PyObject *resultobj;
9064 wxWindow *arg1 = (wxWindow *) 0 ;
9065 int arg2 = (int) wxID_ANY ;
9066 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9067 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9068 wxSize const &arg4_defvalue = wxDefaultSize ;
9069 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9070 long arg5 = (long) 0 ;
9071 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9072 wxString *arg6 = (wxString *) &arg6_defvalue ;
9073 wxPyVScrolledWindow *result;
9074 wxPoint temp3 ;
9075 wxSize temp4 ;
9076 bool temp6 = False ;
9077 PyObject * obj0 = 0 ;
9078 PyObject * obj1 = 0 ;
9079 PyObject * obj2 = 0 ;
9080 PyObject * obj3 = 0 ;
9081 PyObject * obj4 = 0 ;
9082 PyObject * obj5 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9090 if (obj1) {
9091 arg2 = (int) SWIG_AsInt(obj1);
9092 if (PyErr_Occurred()) SWIG_fail;
9093 }
9094 if (obj2) {
9095 {
9096 arg3 = &temp3;
9097 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9098 }
9099 }
9100 if (obj3) {
9101 {
9102 arg4 = &temp4;
9103 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9104 }
9105 }
9106 if (obj4) {
9107 arg5 = (long) SWIG_AsLong(obj4);
9108 if (PyErr_Occurred()) SWIG_fail;
9109 }
9110 if (obj5) {
9111 {
9112 arg6 = wxString_in_helper(obj5);
9113 if (arg6 == NULL) SWIG_fail;
9114 temp6 = True;
9115 }
9116 }
9117 {
9118 if (!wxPyCheckForApp()) SWIG_fail;
9119 PyThreadState* __tstate = wxPyBeginAllowThreads();
9120 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9121
9122 wxPyEndAllowThreads(__tstate);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 }
9125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9126 {
9127 if (temp6)
9128 delete arg6;
9129 }
9130 return resultobj;
9131 fail:
9132 {
9133 if (temp6)
9134 delete arg6;
9135 }
9136 return NULL;
9137 }
9138
9139
9140 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj;
9142 wxPyVScrolledWindow *result;
9143 char *kwnames[] = {
9144 NULL
9145 };
9146
9147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9148 {
9149 if (!wxPyCheckForApp()) SWIG_fail;
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9157 return resultobj;
9158 fail:
9159 return NULL;
9160 }
9161
9162
9163 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9164 PyObject *resultobj;
9165 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9166 PyObject *arg2 = (PyObject *) 0 ;
9167 PyObject *arg3 = (PyObject *) 0 ;
9168 PyObject * obj0 = 0 ;
9169 PyObject * obj1 = 0 ;
9170 PyObject * obj2 = 0 ;
9171 char *kwnames[] = {
9172 (char *) "self",(char *) "self",(char *) "_class", NULL
9173 };
9174
9175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9178 arg2 = obj1;
9179 arg3 = obj2;
9180 {
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 (arg1)->_setCallbackInfo(arg2,arg3);
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 Py_INCREF(Py_None); resultobj = Py_None;
9188 return resultobj;
9189 fail:
9190 return NULL;
9191 }
9192
9193
9194 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj;
9196 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9197 wxWindow *arg2 = (wxWindow *) 0 ;
9198 int arg3 = (int) wxID_ANY ;
9199 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9200 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9201 wxSize const &arg5_defvalue = wxDefaultSize ;
9202 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9203 long arg6 = (long) 0 ;
9204 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9205 wxString *arg7 = (wxString *) &arg7_defvalue ;
9206 bool result;
9207 wxPoint temp4 ;
9208 wxSize temp5 ;
9209 bool temp7 = False ;
9210 PyObject * obj0 = 0 ;
9211 PyObject * obj1 = 0 ;
9212 PyObject * obj2 = 0 ;
9213 PyObject * obj3 = 0 ;
9214 PyObject * obj4 = 0 ;
9215 PyObject * obj5 = 0 ;
9216 PyObject * obj6 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9226 if (obj2) {
9227 arg3 = (int) SWIG_AsInt(obj2);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 if (obj3) {
9231 {
9232 arg4 = &temp4;
9233 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9234 }
9235 }
9236 if (obj4) {
9237 {
9238 arg5 = &temp5;
9239 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9240 }
9241 }
9242 if (obj5) {
9243 arg6 = (long) SWIG_AsLong(obj5);
9244 if (PyErr_Occurred()) SWIG_fail;
9245 }
9246 if (obj6) {
9247 {
9248 arg7 = wxString_in_helper(obj6);
9249 if (arg7 == NULL) SWIG_fail;
9250 temp7 = True;
9251 }
9252 }
9253 {
9254 PyThreadState* __tstate = wxPyBeginAllowThreads();
9255 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9256
9257 wxPyEndAllowThreads(__tstate);
9258 if (PyErr_Occurred()) SWIG_fail;
9259 }
9260 {
9261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9262 }
9263 {
9264 if (temp7)
9265 delete arg7;
9266 }
9267 return resultobj;
9268 fail:
9269 {
9270 if (temp7)
9271 delete arg7;
9272 }
9273 return NULL;
9274 }
9275
9276
9277 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9278 PyObject *resultobj;
9279 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9280 size_t arg2 ;
9281 PyObject * obj0 = 0 ;
9282 PyObject * obj1 = 0 ;
9283 char *kwnames[] = {
9284 (char *) "self",(char *) "count", NULL
9285 };
9286
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9290 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 {
9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
9294 (arg1)->SetLineCount(arg2);
9295
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
9299 Py_INCREF(Py_None); resultobj = Py_None;
9300 return resultobj;
9301 fail:
9302 return NULL;
9303 }
9304
9305
9306 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9307 PyObject *resultobj;
9308 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9309 size_t arg2 ;
9310 bool result;
9311 PyObject * obj0 = 0 ;
9312 PyObject * obj1 = 0 ;
9313 char *kwnames[] = {
9314 (char *) "self",(char *) "line", NULL
9315 };
9316
9317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9320 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 result = (bool)(arg1)->ScrollToLine(arg2);
9325
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 {
9330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9331 }
9332 return resultobj;
9333 fail:
9334 return NULL;
9335 }
9336
9337
9338 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9339 PyObject *resultobj;
9340 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9341 int arg2 ;
9342 bool result;
9343 PyObject * obj0 = 0 ;
9344 PyObject * obj1 = 0 ;
9345 char *kwnames[] = {
9346 (char *) "self",(char *) "lines", NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9352 arg2 = (int) SWIG_AsInt(obj1);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 result = (bool)(arg1)->ScrollLines(arg2);
9357
9358 wxPyEndAllowThreads(__tstate);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
9361 {
9362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9363 }
9364 return resultobj;
9365 fail:
9366 return NULL;
9367 }
9368
9369
9370 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9371 PyObject *resultobj;
9372 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9373 int arg2 ;
9374 bool result;
9375 PyObject * obj0 = 0 ;
9376 PyObject * obj1 = 0 ;
9377 char *kwnames[] = {
9378 (char *) "self",(char *) "pages", NULL
9379 };
9380
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9384 arg2 = (int) SWIG_AsInt(obj1);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 {
9387 PyThreadState* __tstate = wxPyBeginAllowThreads();
9388 result = (bool)(arg1)->ScrollPages(arg2);
9389
9390 wxPyEndAllowThreads(__tstate);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
9393 {
9394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9395 }
9396 return resultobj;
9397 fail:
9398 return NULL;
9399 }
9400
9401
9402 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9403 PyObject *resultobj;
9404 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9405 size_t arg2 ;
9406 PyObject * obj0 = 0 ;
9407 PyObject * obj1 = 0 ;
9408 char *kwnames[] = {
9409 (char *) "self",(char *) "line", NULL
9410 };
9411
9412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9415 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 {
9418 PyThreadState* __tstate = wxPyBeginAllowThreads();
9419 (arg1)->RefreshLine(arg2);
9420
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 Py_INCREF(Py_None); resultobj = Py_None;
9425 return resultobj;
9426 fail:
9427 return NULL;
9428 }
9429
9430
9431 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9432 PyObject *resultobj;
9433 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9434 size_t arg2 ;
9435 size_t arg3 ;
9436 PyObject * obj0 = 0 ;
9437 PyObject * obj1 = 0 ;
9438 PyObject * obj2 = 0 ;
9439 char *kwnames[] = {
9440 (char *) "self",(char *) "from",(char *) "to", NULL
9441 };
9442
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9446 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 (arg1)->RefreshLines(arg2,arg3);
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 Py_INCREF(Py_None); resultobj = Py_None;
9458 return resultobj;
9459 fail:
9460 return NULL;
9461 }
9462
9463
9464 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9467 int arg2 ;
9468 int arg3 ;
9469 int result;
9470 PyObject * obj0 = 0 ;
9471 PyObject * obj1 = 0 ;
9472 PyObject * obj2 = 0 ;
9473 char *kwnames[] = {
9474 (char *) "self",(char *) "x",(char *) "y", NULL
9475 };
9476
9477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9480 arg2 = (int) SWIG_AsInt(obj1);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 arg3 = (int) SWIG_AsInt(obj2);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 {
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
9486 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9487
9488 wxPyEndAllowThreads(__tstate);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 resultobj = SWIG_FromInt((int)result);
9492 return resultobj;
9493 fail:
9494 return NULL;
9495 }
9496
9497
9498 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9499 PyObject *resultobj;
9500 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9501 wxPoint *arg2 = 0 ;
9502 int result;
9503 wxPoint temp2 ;
9504 PyObject * obj0 = 0 ;
9505 PyObject * obj1 = 0 ;
9506 char *kwnames[] = {
9507 (char *) "self",(char *) "pt", NULL
9508 };
9509
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9513 {
9514 arg2 = &temp2;
9515 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9516 }
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9520
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
9524 resultobj = SWIG_FromInt((int)result);
9525 return resultobj;
9526 fail:
9527 return NULL;
9528 }
9529
9530
9531 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9534 PyObject * obj0 = 0 ;
9535 char *kwnames[] = {
9536 (char *) "self", NULL
9537 };
9538
9539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9542 {
9543 PyThreadState* __tstate = wxPyBeginAllowThreads();
9544 (arg1)->RefreshAll();
9545
9546 wxPyEndAllowThreads(__tstate);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 }
9549 Py_INCREF(Py_None); resultobj = Py_None;
9550 return resultobj;
9551 fail:
9552 return NULL;
9553 }
9554
9555
9556 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9557 PyObject *resultobj;
9558 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9559 size_t result;
9560 PyObject * obj0 = 0 ;
9561 char *kwnames[] = {
9562 (char *) "self", NULL
9563 };
9564
9565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9576 return resultobj;
9577 fail:
9578 return NULL;
9579 }
9580
9581
9582 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9583 PyObject *resultobj;
9584 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9585 size_t result;
9586 PyObject * obj0 = 0 ;
9587 char *kwnames[] = {
9588 (char *) "self", NULL
9589 };
9590
9591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9594 {
9595 PyThreadState* __tstate = wxPyBeginAllowThreads();
9596 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9597
9598 wxPyEndAllowThreads(__tstate);
9599 if (PyErr_Occurred()) SWIG_fail;
9600 }
9601 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9602 return resultobj;
9603 fail:
9604 return NULL;
9605 }
9606
9607
9608 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9609 PyObject *resultobj;
9610 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9611 size_t result;
9612 PyObject * obj0 = 0 ;
9613 char *kwnames[] = {
9614 (char *) "self", NULL
9615 };
9616
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9623
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9628 return resultobj;
9629 fail:
9630 return NULL;
9631 }
9632
9633
9634 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9635 PyObject *resultobj;
9636 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9637 size_t arg2 ;
9638 bool result;
9639 PyObject * obj0 = 0 ;
9640 PyObject * obj1 = 0 ;
9641 char *kwnames[] = {
9642 (char *) "self",(char *) "line", NULL
9643 };
9644
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9648 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9653
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
9657 {
9658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9659 }
9660 return resultobj;
9661 fail:
9662 return NULL;
9663 }
9664
9665
9666 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9667 PyObject *obj;
9668 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9669 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9670 Py_INCREF(obj);
9671 return Py_BuildValue((char *)"");
9672 }
9673 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9674 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9675 return 1;
9676 }
9677
9678
9679 static PyObject *_wrap_VListBoxNameStr_get() {
9680 PyObject *pyobj;
9681
9682 {
9683 #if wxUSE_UNICODE
9684 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9685 #else
9686 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9687 #endif
9688 }
9689 return pyobj;
9690 }
9691
9692
9693 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9694 PyObject *resultobj;
9695 wxWindow *arg1 = (wxWindow *) 0 ;
9696 int arg2 = (int) wxID_ANY ;
9697 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9698 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9699 wxSize const &arg4_defvalue = wxDefaultSize ;
9700 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9701 long arg5 = (long) 0 ;
9702 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9703 wxString *arg6 = (wxString *) &arg6_defvalue ;
9704 wxPyVListBox *result;
9705 wxPoint temp3 ;
9706 wxSize temp4 ;
9707 bool temp6 = False ;
9708 PyObject * obj0 = 0 ;
9709 PyObject * obj1 = 0 ;
9710 PyObject * obj2 = 0 ;
9711 PyObject * obj3 = 0 ;
9712 PyObject * obj4 = 0 ;
9713 PyObject * obj5 = 0 ;
9714 char *kwnames[] = {
9715 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9716 };
9717
9718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9721 if (obj1) {
9722 arg2 = (int) SWIG_AsInt(obj1);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 if (obj2) {
9726 {
9727 arg3 = &temp3;
9728 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9729 }
9730 }
9731 if (obj3) {
9732 {
9733 arg4 = &temp4;
9734 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9735 }
9736 }
9737 if (obj4) {
9738 arg5 = (long) SWIG_AsLong(obj4);
9739 if (PyErr_Occurred()) SWIG_fail;
9740 }
9741 if (obj5) {
9742 {
9743 arg6 = wxString_in_helper(obj5);
9744 if (arg6 == NULL) SWIG_fail;
9745 temp6 = True;
9746 }
9747 }
9748 {
9749 if (!wxPyCheckForApp()) SWIG_fail;
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9757 {
9758 if (temp6)
9759 delete arg6;
9760 }
9761 return resultobj;
9762 fail:
9763 {
9764 if (temp6)
9765 delete arg6;
9766 }
9767 return NULL;
9768 }
9769
9770
9771 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9772 PyObject *resultobj;
9773 wxPyVListBox *result;
9774 char *kwnames[] = {
9775 NULL
9776 };
9777
9778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9779 {
9780 if (!wxPyCheckForApp()) SWIG_fail;
9781 PyThreadState* __tstate = wxPyBeginAllowThreads();
9782 result = (wxPyVListBox *)new wxPyVListBox();
9783
9784 wxPyEndAllowThreads(__tstate);
9785 if (PyErr_Occurred()) SWIG_fail;
9786 }
9787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9788 return resultobj;
9789 fail:
9790 return NULL;
9791 }
9792
9793
9794 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9795 PyObject *resultobj;
9796 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9797 PyObject *arg2 = (PyObject *) 0 ;
9798 PyObject *arg3 = (PyObject *) 0 ;
9799 PyObject * obj0 = 0 ;
9800 PyObject * obj1 = 0 ;
9801 PyObject * obj2 = 0 ;
9802 char *kwnames[] = {
9803 (char *) "self",(char *) "self",(char *) "_class", NULL
9804 };
9805
9806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9809 arg2 = obj1;
9810 arg3 = obj2;
9811 {
9812 PyThreadState* __tstate = wxPyBeginAllowThreads();
9813 (arg1)->_setCallbackInfo(arg2,arg3);
9814
9815 wxPyEndAllowThreads(__tstate);
9816 if (PyErr_Occurred()) SWIG_fail;
9817 }
9818 Py_INCREF(Py_None); resultobj = Py_None;
9819 return resultobj;
9820 fail:
9821 return NULL;
9822 }
9823
9824
9825 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9826 PyObject *resultobj;
9827 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9828 wxWindow *arg2 = (wxWindow *) 0 ;
9829 int arg3 = (int) wxID_ANY ;
9830 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9831 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9832 wxSize const &arg5_defvalue = wxDefaultSize ;
9833 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9834 long arg6 = (long) 0 ;
9835 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9836 wxString *arg7 = (wxString *) &arg7_defvalue ;
9837 bool result;
9838 wxPoint temp4 ;
9839 wxSize temp5 ;
9840 bool temp7 = False ;
9841 PyObject * obj0 = 0 ;
9842 PyObject * obj1 = 0 ;
9843 PyObject * obj2 = 0 ;
9844 PyObject * obj3 = 0 ;
9845 PyObject * obj4 = 0 ;
9846 PyObject * obj5 = 0 ;
9847 PyObject * obj6 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9857 if (obj2) {
9858 arg3 = (int) SWIG_AsInt(obj2);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 }
9861 if (obj3) {
9862 {
9863 arg4 = &temp4;
9864 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9865 }
9866 }
9867 if (obj4) {
9868 {
9869 arg5 = &temp5;
9870 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9871 }
9872 }
9873 if (obj5) {
9874 arg6 = (long) SWIG_AsLong(obj5);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
9877 if (obj6) {
9878 {
9879 arg7 = wxString_in_helper(obj6);
9880 if (arg7 == NULL) SWIG_fail;
9881 temp7 = True;
9882 }
9883 }
9884 {
9885 PyThreadState* __tstate = wxPyBeginAllowThreads();
9886 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9887
9888 wxPyEndAllowThreads(__tstate);
9889 if (PyErr_Occurred()) SWIG_fail;
9890 }
9891 {
9892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9893 }
9894 {
9895 if (temp7)
9896 delete arg7;
9897 }
9898 return resultobj;
9899 fail:
9900 {
9901 if (temp7)
9902 delete arg7;
9903 }
9904 return NULL;
9905 }
9906
9907
9908 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9909 PyObject *resultobj;
9910 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9911 size_t result;
9912 PyObject * obj0 = 0 ;
9913 char *kwnames[] = {
9914 (char *) "self", NULL
9915 };
9916
9917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9923
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9928 return resultobj;
9929 fail:
9930 return NULL;
9931 }
9932
9933
9934 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj;
9936 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9937 bool result;
9938 PyObject * obj0 = 0 ;
9939 char *kwnames[] = {
9940 (char *) "self", NULL
9941 };
9942
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9946 {
9947 PyThreadState* __tstate = wxPyBeginAllowThreads();
9948 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9949
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
9953 {
9954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9955 }
9956 return resultobj;
9957 fail:
9958 return NULL;
9959 }
9960
9961
9962 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9963 PyObject *resultobj;
9964 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9965 int result;
9966 PyObject * obj0 = 0 ;
9967 char *kwnames[] = {
9968 (char *) "self", NULL
9969 };
9970
9971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 resultobj = SWIG_FromInt((int)result);
9982 return resultobj;
9983 fail:
9984 return NULL;
9985 }
9986
9987
9988 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9989 PyObject *resultobj;
9990 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9991 size_t arg2 ;
9992 bool result;
9993 PyObject * obj0 = 0 ;
9994 PyObject * obj1 = 0 ;
9995 char *kwnames[] = {
9996 (char *) "self",(char *) "item", NULL
9997 };
9998
9999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10002 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10003 if (PyErr_Occurred()) SWIG_fail;
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10007
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 {
10012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10013 }
10014 return resultobj;
10015 fail:
10016 return NULL;
10017 }
10018
10019
10020 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10021 PyObject *resultobj;
10022 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10023 size_t arg2 ;
10024 bool result;
10025 PyObject * obj0 = 0 ;
10026 PyObject * obj1 = 0 ;
10027 char *kwnames[] = {
10028 (char *) "self",(char *) "item", NULL
10029 };
10030
10031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10034 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10039
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 {
10044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10045 }
10046 return resultobj;
10047 fail:
10048 return NULL;
10049 }
10050
10051
10052 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10053 PyObject *resultobj;
10054 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10055 size_t result;
10056 PyObject * obj0 = 0 ;
10057 char *kwnames[] = {
10058 (char *) "self", NULL
10059 };
10060
10061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10064 {
10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
10066 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10067
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10072 return resultobj;
10073 fail:
10074 return NULL;
10075 }
10076
10077
10078 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj;
10080 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10081 PyObject *result;
10082 PyObject * obj0 = 0 ;
10083 char *kwnames[] = {
10084 (char *) "self", NULL
10085 };
10086
10087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10090 {
10091 PyThreadState* __tstate = wxPyBeginAllowThreads();
10092 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10093
10094 wxPyEndAllowThreads(__tstate);
10095 if (PyErr_Occurred()) SWIG_fail;
10096 }
10097 resultobj = result;
10098 return resultobj;
10099 fail:
10100 return NULL;
10101 }
10102
10103
10104 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10105 PyObject *resultobj;
10106 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10107 unsigned long arg2 ;
10108 PyObject *result;
10109 PyObject * obj0 = 0 ;
10110 PyObject * obj1 = 0 ;
10111 char *kwnames[] = {
10112 (char *) "self",(char *) "cookie", NULL
10113 };
10114
10115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10118 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 {
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10123
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
10127 resultobj = result;
10128 return resultobj;
10129 fail:
10130 return NULL;
10131 }
10132
10133
10134 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10135 PyObject *resultobj;
10136 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10137 wxPoint result;
10138 PyObject * obj0 = 0 ;
10139 char *kwnames[] = {
10140 (char *) "self", NULL
10141 };
10142
10143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10146 {
10147 PyThreadState* __tstate = wxPyBeginAllowThreads();
10148 result = ((wxPyVListBox const *)arg1)->GetMargins();
10149
10150 wxPyEndAllowThreads(__tstate);
10151 if (PyErr_Occurred()) SWIG_fail;
10152 }
10153 {
10154 wxPoint * resultptr;
10155 resultptr = new wxPoint((wxPoint &) result);
10156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10157 }
10158 return resultobj;
10159 fail:
10160 return NULL;
10161 }
10162
10163
10164 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10165 PyObject *resultobj;
10166 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10167 wxColour *result;
10168 PyObject * obj0 = 0 ;
10169 char *kwnames[] = {
10170 (char *) "self", NULL
10171 };
10172
10173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 {
10179 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10180 result = (wxColour *) &_result_ref;
10181 }
10182
10183 wxPyEndAllowThreads(__tstate);
10184 if (PyErr_Occurred()) SWIG_fail;
10185 }
10186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10187 return resultobj;
10188 fail:
10189 return NULL;
10190 }
10191
10192
10193 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10194 PyObject *resultobj;
10195 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10196 size_t arg2 ;
10197 PyObject * obj0 = 0 ;
10198 PyObject * obj1 = 0 ;
10199 char *kwnames[] = {
10200 (char *) "self",(char *) "count", NULL
10201 };
10202
10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10206 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 (arg1)->SetItemCount(arg2);
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 Py_INCREF(Py_None); resultobj = Py_None;
10216 return resultobj;
10217 fail:
10218 return NULL;
10219 }
10220
10221
10222 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10223 PyObject *resultobj;
10224 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10225 PyObject * obj0 = 0 ;
10226 char *kwnames[] = {
10227 (char *) "self", NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 (arg1)->Clear();
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 Py_INCREF(Py_None); resultobj = Py_None;
10241 return resultobj;
10242 fail:
10243 return NULL;
10244 }
10245
10246
10247 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10248 PyObject *resultobj;
10249 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10250 int arg2 ;
10251 PyObject * obj0 = 0 ;
10252 PyObject * obj1 = 0 ;
10253 char *kwnames[] = {
10254 (char *) "self",(char *) "selection", NULL
10255 };
10256
10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10260 arg2 = (int) SWIG_AsInt(obj1);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 {
10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
10264 (arg1)->SetSelection(arg2);
10265
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) SWIG_fail;
10268 }
10269 Py_INCREF(Py_None); resultobj = Py_None;
10270 return resultobj;
10271 fail:
10272 return NULL;
10273 }
10274
10275
10276 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10277 PyObject *resultobj;
10278 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10279 size_t arg2 ;
10280 bool arg3 = (bool) True ;
10281 bool result;
10282 PyObject * obj0 = 0 ;
10283 PyObject * obj1 = 0 ;
10284 PyObject * obj2 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self",(char *) "item",(char *) "select", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10292 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 if (obj2) {
10295 arg3 = (bool) SWIG_AsBool(obj2);
10296 if (PyErr_Occurred()) SWIG_fail;
10297 }
10298 {
10299 PyThreadState* __tstate = wxPyBeginAllowThreads();
10300 result = (bool)(arg1)->Select(arg2,arg3);
10301
10302 wxPyEndAllowThreads(__tstate);
10303 if (PyErr_Occurred()) SWIG_fail;
10304 }
10305 {
10306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10307 }
10308 return resultobj;
10309 fail:
10310 return NULL;
10311 }
10312
10313
10314 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10315 PyObject *resultobj;
10316 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10317 size_t arg2 ;
10318 size_t arg3 ;
10319 bool result;
10320 PyObject * obj0 = 0 ;
10321 PyObject * obj1 = 0 ;
10322 PyObject * obj2 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self",(char *) "from",(char *) "to", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10330 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 result = (bool)(arg1)->SelectRange(arg2,arg3);
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 {
10342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10343 }
10344 return resultobj;
10345 fail:
10346 return NULL;
10347 }
10348
10349
10350 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj;
10352 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10353 size_t arg2 ;
10354 PyObject * obj0 = 0 ;
10355 PyObject * obj1 = 0 ;
10356 char *kwnames[] = {
10357 (char *) "self",(char *) "item", NULL
10358 };
10359
10360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10363 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 (arg1)->Toggle(arg2);
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 Py_INCREF(Py_None); resultobj = Py_None;
10373 return resultobj;
10374 fail:
10375 return NULL;
10376 }
10377
10378
10379 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10380 PyObject *resultobj;
10381 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10382 bool result;
10383 PyObject * obj0 = 0 ;
10384 char *kwnames[] = {
10385 (char *) "self", NULL
10386 };
10387
10388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10391 {
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 result = (bool)(arg1)->SelectAll();
10394
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 {
10399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10400 }
10401 return resultobj;
10402 fail:
10403 return NULL;
10404 }
10405
10406
10407 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj;
10409 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10410 bool result;
10411 PyObject * obj0 = 0 ;
10412 char *kwnames[] = {
10413 (char *) "self", NULL
10414 };
10415
10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10419 {
10420 PyThreadState* __tstate = wxPyBeginAllowThreads();
10421 result = (bool)(arg1)->DeselectAll();
10422
10423 wxPyEndAllowThreads(__tstate);
10424 if (PyErr_Occurred()) SWIG_fail;
10425 }
10426 {
10427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10428 }
10429 return resultobj;
10430 fail:
10431 return NULL;
10432 }
10433
10434
10435 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10436 PyObject *resultobj;
10437 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10438 wxPoint *arg2 = 0 ;
10439 wxPoint temp2 ;
10440 PyObject * obj0 = 0 ;
10441 PyObject * obj1 = 0 ;
10442 char *kwnames[] = {
10443 (char *) "self",(char *) "pt", NULL
10444 };
10445
10446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10449 {
10450 arg2 = &temp2;
10451 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10452 }
10453 {
10454 PyThreadState* __tstate = wxPyBeginAllowThreads();
10455 (arg1)->SetMargins((wxPoint const &)*arg2);
10456
10457 wxPyEndAllowThreads(__tstate);
10458 if (PyErr_Occurred()) SWIG_fail;
10459 }
10460 Py_INCREF(Py_None); resultobj = Py_None;
10461 return resultobj;
10462 fail:
10463 return NULL;
10464 }
10465
10466
10467 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10468 PyObject *resultobj;
10469 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10470 int arg2 ;
10471 int arg3 ;
10472 PyObject * obj0 = 0 ;
10473 PyObject * obj1 = 0 ;
10474 PyObject * obj2 = 0 ;
10475 char *kwnames[] = {
10476 (char *) "self",(char *) "x",(char *) "y", NULL
10477 };
10478
10479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10482 arg2 = (int) SWIG_AsInt(obj1);
10483 if (PyErr_Occurred()) SWIG_fail;
10484 arg3 = (int) SWIG_AsInt(obj2);
10485 if (PyErr_Occurred()) SWIG_fail;
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 (arg1)->SetMargins(arg2,arg3);
10489
10490 wxPyEndAllowThreads(__tstate);
10491 if (PyErr_Occurred()) SWIG_fail;
10492 }
10493 Py_INCREF(Py_None); resultobj = Py_None;
10494 return resultobj;
10495 fail:
10496 return NULL;
10497 }
10498
10499
10500 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10501 PyObject *resultobj;
10502 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10503 wxColour *arg2 = 0 ;
10504 wxColour temp2 ;
10505 PyObject * obj0 = 0 ;
10506 PyObject * obj1 = 0 ;
10507 char *kwnames[] = {
10508 (char *) "self",(char *) "col", NULL
10509 };
10510
10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10514 {
10515 arg2 = &temp2;
10516 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10517 }
10518 {
10519 PyThreadState* __tstate = wxPyBeginAllowThreads();
10520 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10521
10522 wxPyEndAllowThreads(__tstate);
10523 if (PyErr_Occurred()) SWIG_fail;
10524 }
10525 Py_INCREF(Py_None); resultobj = Py_None;
10526 return resultobj;
10527 fail:
10528 return NULL;
10529 }
10530
10531
10532 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10533 PyObject *obj;
10534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10535 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10536 Py_INCREF(obj);
10537 return Py_BuildValue((char *)"");
10538 }
10539 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10540 PyObject *resultobj;
10541 wxWindow *arg1 = (wxWindow *) 0 ;
10542 int arg2 = (int) wxID_ANY ;
10543 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10544 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10545 wxSize const &arg4_defvalue = wxDefaultSize ;
10546 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10547 long arg5 = (long) 0 ;
10548 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10549 wxString *arg6 = (wxString *) &arg6_defvalue ;
10550 wxPyHtmlListBox *result;
10551 wxPoint temp3 ;
10552 wxSize temp4 ;
10553 bool temp6 = False ;
10554 PyObject * obj0 = 0 ;
10555 PyObject * obj1 = 0 ;
10556 PyObject * obj2 = 0 ;
10557 PyObject * obj3 = 0 ;
10558 PyObject * obj4 = 0 ;
10559 PyObject * obj5 = 0 ;
10560 char *kwnames[] = {
10561 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10562 };
10563
10564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10567 if (obj1) {
10568 arg2 = (int) SWIG_AsInt(obj1);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 if (obj2) {
10572 {
10573 arg3 = &temp3;
10574 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10575 }
10576 }
10577 if (obj3) {
10578 {
10579 arg4 = &temp4;
10580 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10581 }
10582 }
10583 if (obj4) {
10584 arg5 = (long) SWIG_AsLong(obj4);
10585 if (PyErr_Occurred()) SWIG_fail;
10586 }
10587 if (obj5) {
10588 {
10589 arg6 = wxString_in_helper(obj5);
10590 if (arg6 == NULL) SWIG_fail;
10591 temp6 = True;
10592 }
10593 }
10594 {
10595 if (!wxPyCheckForApp()) SWIG_fail;
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10603 {
10604 if (temp6)
10605 delete arg6;
10606 }
10607 return resultobj;
10608 fail:
10609 {
10610 if (temp6)
10611 delete arg6;
10612 }
10613 return NULL;
10614 }
10615
10616
10617 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10618 PyObject *resultobj;
10619 wxPyHtmlListBox *result;
10620 char *kwnames[] = {
10621 NULL
10622 };
10623
10624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10625 {
10626 if (!wxPyCheckForApp()) SWIG_fail;
10627 PyThreadState* __tstate = wxPyBeginAllowThreads();
10628 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10629
10630 wxPyEndAllowThreads(__tstate);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 }
10633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10634 return resultobj;
10635 fail:
10636 return NULL;
10637 }
10638
10639
10640 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10641 PyObject *resultobj;
10642 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10643 PyObject *arg2 = (PyObject *) 0 ;
10644 PyObject *arg3 = (PyObject *) 0 ;
10645 PyObject * obj0 = 0 ;
10646 PyObject * obj1 = 0 ;
10647 PyObject * obj2 = 0 ;
10648 char *kwnames[] = {
10649 (char *) "self",(char *) "self",(char *) "_class", NULL
10650 };
10651
10652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10655 arg2 = obj1;
10656 arg3 = obj2;
10657 {
10658 PyThreadState* __tstate = wxPyBeginAllowThreads();
10659 (arg1)->_setCallbackInfo(arg2,arg3);
10660
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 Py_INCREF(Py_None); resultobj = Py_None;
10665 return resultobj;
10666 fail:
10667 return NULL;
10668 }
10669
10670
10671 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10672 PyObject *resultobj;
10673 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10674 wxWindow *arg2 = (wxWindow *) 0 ;
10675 int arg3 = (int) wxID_ANY ;
10676 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10677 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10678 wxSize const &arg5_defvalue = wxDefaultSize ;
10679 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10680 long arg6 = (long) 0 ;
10681 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10682 wxString *arg7 = (wxString *) &arg7_defvalue ;
10683 bool result;
10684 wxPoint temp4 ;
10685 wxSize temp5 ;
10686 bool temp7 = False ;
10687 PyObject * obj0 = 0 ;
10688 PyObject * obj1 = 0 ;
10689 PyObject * obj2 = 0 ;
10690 PyObject * obj3 = 0 ;
10691 PyObject * obj4 = 0 ;
10692 PyObject * obj5 = 0 ;
10693 PyObject * obj6 = 0 ;
10694 char *kwnames[] = {
10695 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10696 };
10697
10698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10701 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10703 if (obj2) {
10704 arg3 = (int) SWIG_AsInt(obj2);
10705 if (PyErr_Occurred()) SWIG_fail;
10706 }
10707 if (obj3) {
10708 {
10709 arg4 = &temp4;
10710 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10711 }
10712 }
10713 if (obj4) {
10714 {
10715 arg5 = &temp5;
10716 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10717 }
10718 }
10719 if (obj5) {
10720 arg6 = (long) SWIG_AsLong(obj5);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 if (obj6) {
10724 {
10725 arg7 = wxString_in_helper(obj6);
10726 if (arg7 == NULL) SWIG_fail;
10727 temp7 = True;
10728 }
10729 }
10730 {
10731 PyThreadState* __tstate = wxPyBeginAllowThreads();
10732 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10733
10734 wxPyEndAllowThreads(__tstate);
10735 if (PyErr_Occurred()) SWIG_fail;
10736 }
10737 {
10738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10739 }
10740 {
10741 if (temp7)
10742 delete arg7;
10743 }
10744 return resultobj;
10745 fail:
10746 {
10747 if (temp7)
10748 delete arg7;
10749 }
10750 return NULL;
10751 }
10752
10753
10754 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10755 PyObject *resultobj;
10756 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10757 PyObject * obj0 = 0 ;
10758 char *kwnames[] = {
10759 (char *) "self", NULL
10760 };
10761
10762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10765 {
10766 PyThreadState* __tstate = wxPyBeginAllowThreads();
10767 (arg1)->RefreshAll();
10768
10769 wxPyEndAllowThreads(__tstate);
10770 if (PyErr_Occurred()) SWIG_fail;
10771 }
10772 Py_INCREF(Py_None); resultobj = Py_None;
10773 return resultobj;
10774 fail:
10775 return NULL;
10776 }
10777
10778
10779 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10780 PyObject *resultobj;
10781 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10782 size_t arg2 ;
10783 PyObject * obj0 = 0 ;
10784 PyObject * obj1 = 0 ;
10785 char *kwnames[] = {
10786 (char *) "self",(char *) "count", NULL
10787 };
10788
10789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10792 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 (arg1)->SetItemCount(arg2);
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 Py_INCREF(Py_None); resultobj = Py_None;
10802 return resultobj;
10803 fail:
10804 return NULL;
10805 }
10806
10807
10808 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10809 PyObject *resultobj;
10810 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10811 wxFileSystem *result;
10812 PyObject * obj0 = 0 ;
10813 char *kwnames[] = {
10814 (char *) "self", NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10820 {
10821 PyThreadState* __tstate = wxPyBeginAllowThreads();
10822 {
10823 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10824 result = (wxFileSystem *) &_result_ref;
10825 }
10826
10827 wxPyEndAllowThreads(__tstate);
10828 if (PyErr_Occurred()) SWIG_fail;
10829 }
10830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10831 return resultobj;
10832 fail:
10833 return NULL;
10834 }
10835
10836
10837 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10838 PyObject *obj;
10839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10840 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10841 Py_INCREF(obj);
10842 return Py_BuildValue((char *)"");
10843 }
10844 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10845 PyObject *resultobj;
10846 wxTaskBarIcon *result;
10847 char *kwnames[] = {
10848 NULL
10849 };
10850
10851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10852 {
10853 if (!wxPyCheckForApp()) SWIG_fail;
10854 PyThreadState* __tstate = wxPyBeginAllowThreads();
10855 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10856
10857 wxPyEndAllowThreads(__tstate);
10858 if (PyErr_Occurred()) SWIG_fail;
10859 }
10860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10861 return resultobj;
10862 fail:
10863 return NULL;
10864 }
10865
10866
10867 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10868 PyObject *resultobj;
10869 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10870 PyObject * obj0 = 0 ;
10871 char *kwnames[] = {
10872 (char *) "self", NULL
10873 };
10874
10875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10878 {
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 delete arg1;
10881
10882 wxPyEndAllowThreads(__tstate);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
10885 Py_INCREF(Py_None); resultobj = Py_None;
10886 return resultobj;
10887 fail:
10888 return NULL;
10889 }
10890
10891
10892 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10893 PyObject *resultobj;
10894 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10895 PyObject * obj0 = 0 ;
10896 char *kwnames[] = {
10897 (char *) "self", NULL
10898 };
10899
10900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10903 {
10904 PyThreadState* __tstate = wxPyBeginAllowThreads();
10905 wxTaskBarIcon_Destroy(arg1);
10906
10907 wxPyEndAllowThreads(__tstate);
10908 if (PyErr_Occurred()) SWIG_fail;
10909 }
10910 Py_INCREF(Py_None); resultobj = Py_None;
10911 return resultobj;
10912 fail:
10913 return NULL;
10914 }
10915
10916
10917 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10918 PyObject *obj;
10919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10920 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10921 Py_INCREF(obj);
10922 return Py_BuildValue((char *)"");
10923 }
10924 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10925 PyObject *resultobj;
10926 wxEventType arg1 ;
10927 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10928 wxTaskBarIconEvent *result;
10929 PyObject * obj0 = 0 ;
10930 PyObject * obj1 = 0 ;
10931 char *kwnames[] = {
10932 (char *) "evtType",(char *) "tbIcon", NULL
10933 };
10934
10935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10936 arg1 = (wxEventType) SWIG_AsInt(obj0);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10940 {
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10943
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10948 return resultobj;
10949 fail:
10950 return NULL;
10951 }
10952
10953
10954 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10955 PyObject *obj;
10956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10957 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10958 Py_INCREF(obj);
10959 return Py_BuildValue((char *)"");
10960 }
10961 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10962 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10963 return 1;
10964 }
10965
10966
10967 static PyObject *_wrap_FileSelectorPromptStr_get() {
10968 PyObject *pyobj;
10969
10970 {
10971 #if wxUSE_UNICODE
10972 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10973 #else
10974 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10975 #endif
10976 }
10977 return pyobj;
10978 }
10979
10980
10981 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10982 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10983 return 1;
10984 }
10985
10986
10987 static PyObject *_wrap_DirSelectorPromptStr_get() {
10988 PyObject *pyobj;
10989
10990 {
10991 #if wxUSE_UNICODE
10992 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10993 #else
10994 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10995 #endif
10996 }
10997 return pyobj;
10998 }
10999
11000
11001 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
11002 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11003 return 1;
11004 }
11005
11006
11007 static PyObject *_wrap_DirDialogNameStr_get() {
11008 PyObject *pyobj;
11009
11010 {
11011 #if wxUSE_UNICODE
11012 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11013 #else
11014 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11015 #endif
11016 }
11017 return pyobj;
11018 }
11019
11020
11021 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
11022 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11023 return 1;
11024 }
11025
11026
11027 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11028 PyObject *pyobj;
11029
11030 {
11031 #if wxUSE_UNICODE
11032 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11033 #else
11034 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11035 #endif
11036 }
11037 return pyobj;
11038 }
11039
11040
11041 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
11042 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11043 return 1;
11044 }
11045
11046
11047 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11048 PyObject *pyobj;
11049
11050 {
11051 #if wxUSE_UNICODE
11052 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11053 #else
11054 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11055 #endif
11056 }
11057 return pyobj;
11058 }
11059
11060
11061 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11062 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11063 return 1;
11064 }
11065
11066
11067 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11068 PyObject *pyobj;
11069
11070 {
11071 #if wxUSE_UNICODE
11072 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11073 #else
11074 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11075 #endif
11076 }
11077 return pyobj;
11078 }
11079
11080
11081 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11082 PyObject *resultobj;
11083 wxColourData *result;
11084 char *kwnames[] = {
11085 NULL
11086 };
11087
11088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11089 {
11090 PyThreadState* __tstate = wxPyBeginAllowThreads();
11091 result = (wxColourData *)new wxColourData();
11092
11093 wxPyEndAllowThreads(__tstate);
11094 if (PyErr_Occurred()) SWIG_fail;
11095 }
11096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11097 return resultobj;
11098 fail:
11099 return NULL;
11100 }
11101
11102
11103 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11104 PyObject *resultobj;
11105 wxColourData *arg1 = (wxColourData *) 0 ;
11106 PyObject * obj0 = 0 ;
11107 char *kwnames[] = {
11108 (char *) "self", NULL
11109 };
11110
11111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11114 {
11115 PyThreadState* __tstate = wxPyBeginAllowThreads();
11116 delete arg1;
11117
11118 wxPyEndAllowThreads(__tstate);
11119 if (PyErr_Occurred()) SWIG_fail;
11120 }
11121 Py_INCREF(Py_None); resultobj = Py_None;
11122 return resultobj;
11123 fail:
11124 return NULL;
11125 }
11126
11127
11128 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11129 PyObject *resultobj;
11130 wxColourData *arg1 = (wxColourData *) 0 ;
11131 bool result;
11132 PyObject * obj0 = 0 ;
11133 char *kwnames[] = {
11134 (char *) "self", NULL
11135 };
11136
11137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11140 {
11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
11142 result = (bool)(arg1)->GetChooseFull();
11143
11144 wxPyEndAllowThreads(__tstate);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
11147 {
11148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11149 }
11150 return resultobj;
11151 fail:
11152 return NULL;
11153 }
11154
11155
11156 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11157 PyObject *resultobj;
11158 wxColourData *arg1 = (wxColourData *) 0 ;
11159 wxColour result;
11160 PyObject * obj0 = 0 ;
11161 char *kwnames[] = {
11162 (char *) "self", NULL
11163 };
11164
11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11168 {
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = (arg1)->GetColour();
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 {
11176 wxColour * resultptr;
11177 resultptr = new wxColour((wxColour &) result);
11178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11179 }
11180 return resultobj;
11181 fail:
11182 return NULL;
11183 }
11184
11185
11186 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj;
11188 wxColourData *arg1 = (wxColourData *) 0 ;
11189 int arg2 ;
11190 wxColour result;
11191 PyObject * obj0 = 0 ;
11192 PyObject * obj1 = 0 ;
11193 char *kwnames[] = {
11194 (char *) "self",(char *) "i", NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11200 arg2 = (int) SWIG_AsInt(obj1);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 result = (arg1)->GetCustomColour(arg2);
11205
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 {
11210 wxColour * resultptr;
11211 resultptr = new wxColour((wxColour &) result);
11212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11213 }
11214 return resultobj;
11215 fail:
11216 return NULL;
11217 }
11218
11219
11220 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11221 PyObject *resultobj;
11222 wxColourData *arg1 = (wxColourData *) 0 ;
11223 int arg2 ;
11224 PyObject * obj0 = 0 ;
11225 PyObject * obj1 = 0 ;
11226 char *kwnames[] = {
11227 (char *) "self",(char *) "flag", NULL
11228 };
11229
11230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11233 arg2 = (int) SWIG_AsInt(obj1);
11234 if (PyErr_Occurred()) SWIG_fail;
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 (arg1)->SetChooseFull(arg2);
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 Py_INCREF(Py_None); resultobj = Py_None;
11243 return resultobj;
11244 fail:
11245 return NULL;
11246 }
11247
11248
11249 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj;
11251 wxColourData *arg1 = (wxColourData *) 0 ;
11252 wxColour *arg2 = 0 ;
11253 wxColour temp2 ;
11254 PyObject * obj0 = 0 ;
11255 PyObject * obj1 = 0 ;
11256 char *kwnames[] = {
11257 (char *) "self",(char *) "colour", NULL
11258 };
11259
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11263 {
11264 arg2 = &temp2;
11265 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11266 }
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
11269 (arg1)->SetColour((wxColour const &)*arg2);
11270
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 Py_INCREF(Py_None); resultobj = Py_None;
11275 return resultobj;
11276 fail:
11277 return NULL;
11278 }
11279
11280
11281 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11282 PyObject *resultobj;
11283 wxColourData *arg1 = (wxColourData *) 0 ;
11284 int arg2 ;
11285 wxColour *arg3 = 0 ;
11286 wxColour temp3 ;
11287 PyObject * obj0 = 0 ;
11288 PyObject * obj1 = 0 ;
11289 PyObject * obj2 = 0 ;
11290 char *kwnames[] = {
11291 (char *) "self",(char *) "i",(char *) "colour", NULL
11292 };
11293
11294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11297 arg2 = (int) SWIG_AsInt(obj1);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 {
11300 arg3 = &temp3;
11301 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11302 }
11303 {
11304 PyThreadState* __tstate = wxPyBeginAllowThreads();
11305 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11306
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 Py_INCREF(Py_None); resultobj = Py_None;
11311 return resultobj;
11312 fail:
11313 return NULL;
11314 }
11315
11316
11317 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11318 PyObject *obj;
11319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11320 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11321 Py_INCREF(obj);
11322 return Py_BuildValue((char *)"");
11323 }
11324 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11325 PyObject *resultobj;
11326 wxWindow *arg1 = (wxWindow *) 0 ;
11327 wxColourData *arg2 = (wxColourData *) NULL ;
11328 wxColourDialog *result;
11329 PyObject * obj0 = 0 ;
11330 PyObject * obj1 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "parent",(char *) "data", NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11338 if (obj1) {
11339 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11341 }
11342 {
11343 if (!wxPyCheckForApp()) SWIG_fail;
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11346
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11351 return resultobj;
11352 fail:
11353 return NULL;
11354 }
11355
11356
11357 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11358 PyObject *resultobj;
11359 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11360 wxColourData *result;
11361 PyObject * obj0 = 0 ;
11362 char *kwnames[] = {
11363 (char *) "self", NULL
11364 };
11365
11366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11369 {
11370 PyThreadState* __tstate = wxPyBeginAllowThreads();
11371 {
11372 wxColourData &_result_ref = (arg1)->GetColourData();
11373 result = (wxColourData *) &_result_ref;
11374 }
11375
11376 wxPyEndAllowThreads(__tstate);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 }
11379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11380 return resultobj;
11381 fail:
11382 return NULL;
11383 }
11384
11385
11386 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11387 PyObject *obj;
11388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11389 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11390 Py_INCREF(obj);
11391 return Py_BuildValue((char *)"");
11392 }
11393 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11394 PyObject *resultobj;
11395 wxWindow *arg1 = (wxWindow *) 0 ;
11396 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11397 wxString *arg2 = (wxString *) &arg2_defvalue ;
11398 wxString const &arg3_defvalue = wxPyEmptyString ;
11399 wxString *arg3 = (wxString *) &arg3_defvalue ;
11400 long arg4 = (long) 0 ;
11401 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11402 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11403 wxSize const &arg6_defvalue = wxDefaultSize ;
11404 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11405 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11406 wxString *arg7 = (wxString *) &arg7_defvalue ;
11407 wxDirDialog *result;
11408 bool temp2 = False ;
11409 bool temp3 = False ;
11410 wxPoint temp5 ;
11411 wxSize temp6 ;
11412 bool temp7 = False ;
11413 PyObject * obj0 = 0 ;
11414 PyObject * obj1 = 0 ;
11415 PyObject * obj2 = 0 ;
11416 PyObject * obj3 = 0 ;
11417 PyObject * obj4 = 0 ;
11418 PyObject * obj5 = 0 ;
11419 PyObject * obj6 = 0 ;
11420 char *kwnames[] = {
11421 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11422 };
11423
11424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11427 if (obj1) {
11428 {
11429 arg2 = wxString_in_helper(obj1);
11430 if (arg2 == NULL) SWIG_fail;
11431 temp2 = True;
11432 }
11433 }
11434 if (obj2) {
11435 {
11436 arg3 = wxString_in_helper(obj2);
11437 if (arg3 == NULL) SWIG_fail;
11438 temp3 = True;
11439 }
11440 }
11441 if (obj3) {
11442 arg4 = (long) SWIG_AsLong(obj3);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 }
11445 if (obj4) {
11446 {
11447 arg5 = &temp5;
11448 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11449 }
11450 }
11451 if (obj5) {
11452 {
11453 arg6 = &temp6;
11454 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11455 }
11456 }
11457 if (obj6) {
11458 {
11459 arg7 = wxString_in_helper(obj6);
11460 if (arg7 == NULL) SWIG_fail;
11461 temp7 = True;
11462 }
11463 }
11464 {
11465 if (!wxPyCheckForApp()) SWIG_fail;
11466 PyThreadState* __tstate = wxPyBeginAllowThreads();
11467 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11468
11469 wxPyEndAllowThreads(__tstate);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 }
11472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
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 resultobj;
11486 fail:
11487 {
11488 if (temp2)
11489 delete arg2;
11490 }
11491 {
11492 if (temp3)
11493 delete arg3;
11494 }
11495 {
11496 if (temp7)
11497 delete arg7;
11498 }
11499 return NULL;
11500 }
11501
11502
11503 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11504 PyObject *resultobj;
11505 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11506 wxString result;
11507 PyObject * obj0 = 0 ;
11508 char *kwnames[] = {
11509 (char *) "self", NULL
11510 };
11511
11512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 result = (arg1)->GetPath();
11518
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 {
11523 #if wxUSE_UNICODE
11524 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11525 #else
11526 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11527 #endif
11528 }
11529 return resultobj;
11530 fail:
11531 return NULL;
11532 }
11533
11534
11535 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11536 PyObject *resultobj;
11537 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11538 wxString result;
11539 PyObject * obj0 = 0 ;
11540 char *kwnames[] = {
11541 (char *) "self", NULL
11542 };
11543
11544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11547 {
11548 PyThreadState* __tstate = wxPyBeginAllowThreads();
11549 result = (arg1)->GetMessage();
11550
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 {
11555 #if wxUSE_UNICODE
11556 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11557 #else
11558 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11559 #endif
11560 }
11561 return resultobj;
11562 fail:
11563 return NULL;
11564 }
11565
11566
11567 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11568 PyObject *resultobj;
11569 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11570 long result;
11571 PyObject * obj0 = 0 ;
11572 char *kwnames[] = {
11573 (char *) "self", NULL
11574 };
11575
11576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 result = (long)(arg1)->GetStyle();
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 resultobj = SWIG_FromLong((long)result);
11587 return resultobj;
11588 fail:
11589 return NULL;
11590 }
11591
11592
11593 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11594 PyObject *resultobj;
11595 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11596 wxString *arg2 = 0 ;
11597 bool temp2 = False ;
11598 PyObject * obj0 = 0 ;
11599 PyObject * obj1 = 0 ;
11600 char *kwnames[] = {
11601 (char *) "self",(char *) "message", NULL
11602 };
11603
11604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11607 {
11608 arg2 = wxString_in_helper(obj1);
11609 if (arg2 == NULL) SWIG_fail;
11610 temp2 = True;
11611 }
11612 {
11613 PyThreadState* __tstate = wxPyBeginAllowThreads();
11614 (arg1)->SetMessage((wxString const &)*arg2);
11615
11616 wxPyEndAllowThreads(__tstate);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 }
11619 Py_INCREF(Py_None); resultobj = Py_None;
11620 {
11621 if (temp2)
11622 delete arg2;
11623 }
11624 return resultobj;
11625 fail:
11626 {
11627 if (temp2)
11628 delete arg2;
11629 }
11630 return NULL;
11631 }
11632
11633
11634 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11635 PyObject *resultobj;
11636 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11637 wxString *arg2 = 0 ;
11638 bool temp2 = False ;
11639 PyObject * obj0 = 0 ;
11640 PyObject * obj1 = 0 ;
11641 char *kwnames[] = {
11642 (char *) "self",(char *) "path", NULL
11643 };
11644
11645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11648 {
11649 arg2 = wxString_in_helper(obj1);
11650 if (arg2 == NULL) SWIG_fail;
11651 temp2 = True;
11652 }
11653 {
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 (arg1)->SetPath((wxString const &)*arg2);
11656
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 Py_INCREF(Py_None); resultobj = Py_None;
11661 {
11662 if (temp2)
11663 delete arg2;
11664 }
11665 return resultobj;
11666 fail:
11667 {
11668 if (temp2)
11669 delete arg2;
11670 }
11671 return NULL;
11672 }
11673
11674
11675 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11676 PyObject *obj;
11677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11679 Py_INCREF(obj);
11680 return Py_BuildValue((char *)"");
11681 }
11682 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj;
11684 wxWindow *arg1 = (wxWindow *) 0 ;
11685 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11686 wxString *arg2 = (wxString *) &arg2_defvalue ;
11687 wxString const &arg3_defvalue = wxPyEmptyString ;
11688 wxString *arg3 = (wxString *) &arg3_defvalue ;
11689 wxString const &arg4_defvalue = wxPyEmptyString ;
11690 wxString *arg4 = (wxString *) &arg4_defvalue ;
11691 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11692 wxString *arg5 = (wxString *) &arg5_defvalue ;
11693 long arg6 = (long) 0 ;
11694 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11695 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11696 wxFileDialog *result;
11697 bool temp2 = False ;
11698 bool temp3 = False ;
11699 bool temp4 = False ;
11700 bool temp5 = False ;
11701 wxPoint temp7 ;
11702 PyObject * obj0 = 0 ;
11703 PyObject * obj1 = 0 ;
11704 PyObject * obj2 = 0 ;
11705 PyObject * obj3 = 0 ;
11706 PyObject * obj4 = 0 ;
11707 PyObject * obj5 = 0 ;
11708 PyObject * obj6 = 0 ;
11709 char *kwnames[] = {
11710 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11711 };
11712
11713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11716 if (obj1) {
11717 {
11718 arg2 = wxString_in_helper(obj1);
11719 if (arg2 == NULL) SWIG_fail;
11720 temp2 = True;
11721 }
11722 }
11723 if (obj2) {
11724 {
11725 arg3 = wxString_in_helper(obj2);
11726 if (arg3 == NULL) SWIG_fail;
11727 temp3 = True;
11728 }
11729 }
11730 if (obj3) {
11731 {
11732 arg4 = wxString_in_helper(obj3);
11733 if (arg4 == NULL) SWIG_fail;
11734 temp4 = True;
11735 }
11736 }
11737 if (obj4) {
11738 {
11739 arg5 = wxString_in_helper(obj4);
11740 if (arg5 == NULL) SWIG_fail;
11741 temp5 = True;
11742 }
11743 }
11744 if (obj5) {
11745 arg6 = (long) SWIG_AsLong(obj5);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 if (obj6) {
11749 {
11750 arg7 = &temp7;
11751 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11752 }
11753 }
11754 {
11755 if (!wxPyCheckForApp()) SWIG_fail;
11756 PyThreadState* __tstate = wxPyBeginAllowThreads();
11757 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11758
11759 wxPyEndAllowThreads(__tstate);
11760 if (PyErr_Occurred()) SWIG_fail;
11761 }
11762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11763 {
11764 if (temp2)
11765 delete arg2;
11766 }
11767 {
11768 if (temp3)
11769 delete arg3;
11770 }
11771 {
11772 if (temp4)
11773 delete arg4;
11774 }
11775 {
11776 if (temp5)
11777 delete arg5;
11778 }
11779 return resultobj;
11780 fail:
11781 {
11782 if (temp2)
11783 delete arg2;
11784 }
11785 {
11786 if (temp3)
11787 delete arg3;
11788 }
11789 {
11790 if (temp4)
11791 delete arg4;
11792 }
11793 {
11794 if (temp5)
11795 delete arg5;
11796 }
11797 return NULL;
11798 }
11799
11800
11801 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11802 PyObject *resultobj;
11803 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11804 wxString *arg2 = 0 ;
11805 bool temp2 = False ;
11806 PyObject * obj0 = 0 ;
11807 PyObject * obj1 = 0 ;
11808 char *kwnames[] = {
11809 (char *) "self",(char *) "message", NULL
11810 };
11811
11812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11815 {
11816 arg2 = wxString_in_helper(obj1);
11817 if (arg2 == NULL) SWIG_fail;
11818 temp2 = True;
11819 }
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
11822 (arg1)->SetMessage((wxString const &)*arg2);
11823
11824 wxPyEndAllowThreads(__tstate);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 }
11827 Py_INCREF(Py_None); resultobj = Py_None;
11828 {
11829 if (temp2)
11830 delete arg2;
11831 }
11832 return resultobj;
11833 fail:
11834 {
11835 if (temp2)
11836 delete arg2;
11837 }
11838 return NULL;
11839 }
11840
11841
11842 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11843 PyObject *resultobj;
11844 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11845 wxString *arg2 = 0 ;
11846 bool temp2 = False ;
11847 PyObject * obj0 = 0 ;
11848 PyObject * obj1 = 0 ;
11849 char *kwnames[] = {
11850 (char *) "self",(char *) "path", NULL
11851 };
11852
11853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11856 {
11857 arg2 = wxString_in_helper(obj1);
11858 if (arg2 == NULL) SWIG_fail;
11859 temp2 = True;
11860 }
11861 {
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 (arg1)->SetPath((wxString const &)*arg2);
11864
11865 wxPyEndAllowThreads(__tstate);
11866 if (PyErr_Occurred()) SWIG_fail;
11867 }
11868 Py_INCREF(Py_None); resultobj = Py_None;
11869 {
11870 if (temp2)
11871 delete arg2;
11872 }
11873 return resultobj;
11874 fail:
11875 {
11876 if (temp2)
11877 delete arg2;
11878 }
11879 return NULL;
11880 }
11881
11882
11883 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11884 PyObject *resultobj;
11885 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11886 wxString *arg2 = 0 ;
11887 bool temp2 = False ;
11888 PyObject * obj0 = 0 ;
11889 PyObject * obj1 = 0 ;
11890 char *kwnames[] = {
11891 (char *) "self",(char *) "dir", NULL
11892 };
11893
11894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11897 {
11898 arg2 = wxString_in_helper(obj1);
11899 if (arg2 == NULL) SWIG_fail;
11900 temp2 = True;
11901 }
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 (arg1)->SetDirectory((wxString const &)*arg2);
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 Py_INCREF(Py_None); resultobj = Py_None;
11910 {
11911 if (temp2)
11912 delete arg2;
11913 }
11914 return resultobj;
11915 fail:
11916 {
11917 if (temp2)
11918 delete arg2;
11919 }
11920 return NULL;
11921 }
11922
11923
11924 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11925 PyObject *resultobj;
11926 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11927 wxString *arg2 = 0 ;
11928 bool temp2 = False ;
11929 PyObject * obj0 = 0 ;
11930 PyObject * obj1 = 0 ;
11931 char *kwnames[] = {
11932 (char *) "self",(char *) "name", NULL
11933 };
11934
11935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11938 {
11939 arg2 = wxString_in_helper(obj1);
11940 if (arg2 == NULL) SWIG_fail;
11941 temp2 = True;
11942 }
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 (arg1)->SetFilename((wxString const &)*arg2);
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 Py_INCREF(Py_None); resultobj = Py_None;
11951 {
11952 if (temp2)
11953 delete arg2;
11954 }
11955 return resultobj;
11956 fail:
11957 {
11958 if (temp2)
11959 delete arg2;
11960 }
11961 return NULL;
11962 }
11963
11964
11965 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11966 PyObject *resultobj;
11967 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11968 wxString *arg2 = 0 ;
11969 bool temp2 = False ;
11970 PyObject * obj0 = 0 ;
11971 PyObject * obj1 = 0 ;
11972 char *kwnames[] = {
11973 (char *) "self",(char *) "wildCard", NULL
11974 };
11975
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11979 {
11980 arg2 = wxString_in_helper(obj1);
11981 if (arg2 == NULL) SWIG_fail;
11982 temp2 = True;
11983 }
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 (arg1)->SetWildcard((wxString const &)*arg2);
11987
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 Py_INCREF(Py_None); resultobj = Py_None;
11992 {
11993 if (temp2)
11994 delete arg2;
11995 }
11996 return resultobj;
11997 fail:
11998 {
11999 if (temp2)
12000 delete arg2;
12001 }
12002 return NULL;
12003 }
12004
12005
12006 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12007 PyObject *resultobj;
12008 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12009 long arg2 ;
12010 PyObject * obj0 = 0 ;
12011 PyObject * obj1 = 0 ;
12012 char *kwnames[] = {
12013 (char *) "self",(char *) "style", NULL
12014 };
12015
12016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12019 arg2 = (long) SWIG_AsLong(obj1);
12020 if (PyErr_Occurred()) SWIG_fail;
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 (arg1)->SetStyle(arg2);
12024
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
12028 Py_INCREF(Py_None); resultobj = Py_None;
12029 return resultobj;
12030 fail:
12031 return NULL;
12032 }
12033
12034
12035 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12036 PyObject *resultobj;
12037 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12038 int arg2 ;
12039 PyObject * obj0 = 0 ;
12040 PyObject * obj1 = 0 ;
12041 char *kwnames[] = {
12042 (char *) "self",(char *) "filterIndex", NULL
12043 };
12044
12045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12048 arg2 = (int) SWIG_AsInt(obj1);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 {
12051 PyThreadState* __tstate = wxPyBeginAllowThreads();
12052 (arg1)->SetFilterIndex(arg2);
12053
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 Py_INCREF(Py_None); resultobj = Py_None;
12058 return resultobj;
12059 fail:
12060 return NULL;
12061 }
12062
12063
12064 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj;
12066 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12067 wxString result;
12068 PyObject * obj0 = 0 ;
12069 char *kwnames[] = {
12070 (char *) "self", NULL
12071 };
12072
12073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = ((wxFileDialog const *)arg1)->GetMessage();
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 {
12084 #if wxUSE_UNICODE
12085 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12086 #else
12087 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12088 #endif
12089 }
12090 return resultobj;
12091 fail:
12092 return NULL;
12093 }
12094
12095
12096 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12097 PyObject *resultobj;
12098 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12099 wxString result;
12100 PyObject * obj0 = 0 ;
12101 char *kwnames[] = {
12102 (char *) "self", NULL
12103 };
12104
12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12108 {
12109 PyThreadState* __tstate = wxPyBeginAllowThreads();
12110 result = ((wxFileDialog const *)arg1)->GetPath();
12111
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 {
12116 #if wxUSE_UNICODE
12117 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12118 #else
12119 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12120 #endif
12121 }
12122 return resultobj;
12123 fail:
12124 return NULL;
12125 }
12126
12127
12128 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12129 PyObject *resultobj;
12130 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12131 wxString result;
12132 PyObject * obj0 = 0 ;
12133 char *kwnames[] = {
12134 (char *) "self", NULL
12135 };
12136
12137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 result = ((wxFileDialog const *)arg1)->GetDirectory();
12143
12144 wxPyEndAllowThreads(__tstate);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
12147 {
12148 #if wxUSE_UNICODE
12149 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12150 #else
12151 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12152 #endif
12153 }
12154 return resultobj;
12155 fail:
12156 return NULL;
12157 }
12158
12159
12160 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12161 PyObject *resultobj;
12162 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12163 wxString result;
12164 PyObject * obj0 = 0 ;
12165 char *kwnames[] = {
12166 (char *) "self", NULL
12167 };
12168
12169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12172 {
12173 PyThreadState* __tstate = wxPyBeginAllowThreads();
12174 result = ((wxFileDialog const *)arg1)->GetFilename();
12175
12176 wxPyEndAllowThreads(__tstate);
12177 if (PyErr_Occurred()) SWIG_fail;
12178 }
12179 {
12180 #if wxUSE_UNICODE
12181 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12182 #else
12183 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12184 #endif
12185 }
12186 return resultobj;
12187 fail:
12188 return NULL;
12189 }
12190
12191
12192 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12193 PyObject *resultobj;
12194 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12195 wxString result;
12196 PyObject * obj0 = 0 ;
12197 char *kwnames[] = {
12198 (char *) "self", NULL
12199 };
12200
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12204 {
12205 PyThreadState* __tstate = wxPyBeginAllowThreads();
12206 result = ((wxFileDialog const *)arg1)->GetWildcard();
12207
12208 wxPyEndAllowThreads(__tstate);
12209 if (PyErr_Occurred()) SWIG_fail;
12210 }
12211 {
12212 #if wxUSE_UNICODE
12213 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12214 #else
12215 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12216 #endif
12217 }
12218 return resultobj;
12219 fail:
12220 return NULL;
12221 }
12222
12223
12224 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12225 PyObject *resultobj;
12226 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12227 long result;
12228 PyObject * obj0 = 0 ;
12229 char *kwnames[] = {
12230 (char *) "self", NULL
12231 };
12232
12233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12236 {
12237 PyThreadState* __tstate = wxPyBeginAllowThreads();
12238 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12239
12240 wxPyEndAllowThreads(__tstate);
12241 if (PyErr_Occurred()) SWIG_fail;
12242 }
12243 resultobj = SWIG_FromLong((long)result);
12244 return resultobj;
12245 fail:
12246 return NULL;
12247 }
12248
12249
12250 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12251 PyObject *resultobj;
12252 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12253 int result;
12254 PyObject * obj0 = 0 ;
12255 char *kwnames[] = {
12256 (char *) "self", NULL
12257 };
12258
12259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12262 {
12263 PyThreadState* __tstate = wxPyBeginAllowThreads();
12264 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12265
12266 wxPyEndAllowThreads(__tstate);
12267 if (PyErr_Occurred()) SWIG_fail;
12268 }
12269 resultobj = SWIG_FromInt((int)result);
12270 return resultobj;
12271 fail:
12272 return NULL;
12273 }
12274
12275
12276 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12277 PyObject *resultobj;
12278 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12279 PyObject *result;
12280 PyObject * obj0 = 0 ;
12281 char *kwnames[] = {
12282 (char *) "self", NULL
12283 };
12284
12285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12288 {
12289 PyThreadState* __tstate = wxPyBeginAllowThreads();
12290 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12291
12292 wxPyEndAllowThreads(__tstate);
12293 if (PyErr_Occurred()) SWIG_fail;
12294 }
12295 resultobj = result;
12296 return resultobj;
12297 fail:
12298 return NULL;
12299 }
12300
12301
12302 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12303 PyObject *resultobj;
12304 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12305 PyObject *result;
12306 PyObject * obj0 = 0 ;
12307 char *kwnames[] = {
12308 (char *) "self", NULL
12309 };
12310
12311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12317
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 resultobj = result;
12322 return resultobj;
12323 fail:
12324 return NULL;
12325 }
12326
12327
12328 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12329 PyObject *obj;
12330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12331 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12332 Py_INCREF(obj);
12333 return Py_BuildValue((char *)"");
12334 }
12335 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12336 PyObject *resultobj;
12337 wxWindow *arg1 = (wxWindow *) 0 ;
12338 wxString *arg2 = 0 ;
12339 wxString *arg3 = 0 ;
12340 int arg4 = (int) 0 ;
12341 wxString *arg5 = (wxString *) NULL ;
12342 long arg6 = (long) wxCHOICEDLG_STYLE ;
12343 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12344 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12345 wxMultiChoiceDialog *result;
12346 bool temp2 = False ;
12347 bool temp3 = False ;
12348 wxPoint temp6 ;
12349 PyObject * obj0 = 0 ;
12350 PyObject * obj1 = 0 ;
12351 PyObject * obj2 = 0 ;
12352 PyObject * obj3 = 0 ;
12353 PyObject * obj4 = 0 ;
12354 PyObject * obj5 = 0 ;
12355 char *kwnames[] = {
12356 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12357 };
12358
12359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12362 {
12363 arg2 = wxString_in_helper(obj1);
12364 if (arg2 == NULL) SWIG_fail;
12365 temp2 = True;
12366 }
12367 {
12368 arg3 = wxString_in_helper(obj2);
12369 if (arg3 == NULL) SWIG_fail;
12370 temp3 = True;
12371 }
12372 if (obj3) {
12373 {
12374 arg4 = PyList_Size(obj3);
12375 arg5 = wxString_LIST_helper(obj3);
12376 if (arg5 == NULL) SWIG_fail;
12377 }
12378 }
12379 if (obj4) {
12380 arg6 = (long) SWIG_AsLong(obj4);
12381 if (PyErr_Occurred()) SWIG_fail;
12382 }
12383 if (obj5) {
12384 {
12385 arg7 = &temp6;
12386 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12387 }
12388 }
12389 {
12390 if (!wxPyCheckForApp()) SWIG_fail;
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12398 {
12399 if (temp2)
12400 delete arg2;
12401 }
12402 {
12403 if (temp3)
12404 delete arg3;
12405 }
12406 {
12407 if (arg5) delete [] arg5;
12408 }
12409 return resultobj;
12410 fail:
12411 {
12412 if (temp2)
12413 delete arg2;
12414 }
12415 {
12416 if (temp3)
12417 delete arg3;
12418 }
12419 {
12420 if (arg5) delete [] arg5;
12421 }
12422 return NULL;
12423 }
12424
12425
12426 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12427 PyObject *resultobj;
12428 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12429 wxArrayInt *arg2 = 0 ;
12430 bool temp2 = False ;
12431 PyObject * obj0 = 0 ;
12432 PyObject * obj1 = 0 ;
12433 char *kwnames[] = {
12434 (char *) "self",(char *) "selections", NULL
12435 };
12436
12437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12440 {
12441 if (! PySequence_Check(obj1)) {
12442 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12443 SWIG_fail;
12444 }
12445 arg2 = new wxArrayInt;
12446 temp2 = True;
12447 int i, len=PySequence_Length(obj1);
12448 for (i=0; i<len; i++) {
12449 PyObject* item = PySequence_GetItem(obj1, i);
12450 PyObject* number = PyNumber_Int(item);
12451 arg2->Add(PyInt_AS_LONG(number));
12452 Py_DECREF(item);
12453 Py_DECREF(number);
12454 }
12455 }
12456 {
12457 PyThreadState* __tstate = wxPyBeginAllowThreads();
12458 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12459
12460 wxPyEndAllowThreads(__tstate);
12461 if (PyErr_Occurred()) SWIG_fail;
12462 }
12463 Py_INCREF(Py_None); resultobj = Py_None;
12464 {
12465 if (temp2) delete arg2;
12466 }
12467 return resultobj;
12468 fail:
12469 {
12470 if (temp2) delete arg2;
12471 }
12472 return NULL;
12473 }
12474
12475
12476 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12477 PyObject *resultobj;
12478 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12479 PyObject *result;
12480 PyObject * obj0 = 0 ;
12481 char *kwnames[] = {
12482 (char *) "self", NULL
12483 };
12484
12485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12488 {
12489 PyThreadState* __tstate = wxPyBeginAllowThreads();
12490 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12491
12492 wxPyEndAllowThreads(__tstate);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 }
12495 resultobj = result;
12496 return resultobj;
12497 fail:
12498 return NULL;
12499 }
12500
12501
12502 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12503 PyObject *obj;
12504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12505 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12506 Py_INCREF(obj);
12507 return Py_BuildValue((char *)"");
12508 }
12509 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12510 PyObject *resultobj;
12511 wxWindow *arg1 = (wxWindow *) 0 ;
12512 wxString *arg2 = 0 ;
12513 wxString *arg3 = 0 ;
12514 int arg4 ;
12515 wxString *arg5 = (wxString *) 0 ;
12516 long arg6 = (long) wxCHOICEDLG_STYLE ;
12517 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12518 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12519 wxSingleChoiceDialog *result;
12520 bool temp2 = False ;
12521 bool temp3 = False ;
12522 wxPoint temp6 ;
12523 PyObject * obj0 = 0 ;
12524 PyObject * obj1 = 0 ;
12525 PyObject * obj2 = 0 ;
12526 PyObject * obj3 = 0 ;
12527 PyObject * obj4 = 0 ;
12528 PyObject * obj5 = 0 ;
12529 char *kwnames[] = {
12530 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12531 };
12532
12533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12536 {
12537 arg2 = wxString_in_helper(obj1);
12538 if (arg2 == NULL) SWIG_fail;
12539 temp2 = True;
12540 }
12541 {
12542 arg3 = wxString_in_helper(obj2);
12543 if (arg3 == NULL) SWIG_fail;
12544 temp3 = True;
12545 }
12546 {
12547 arg4 = PyList_Size(obj3);
12548 arg5 = wxString_LIST_helper(obj3);
12549 if (arg5 == NULL) SWIG_fail;
12550 }
12551 if (obj4) {
12552 arg6 = (long) SWIG_AsLong(obj4);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 }
12555 if (obj5) {
12556 {
12557 arg7 = &temp6;
12558 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12559 }
12560 }
12561 {
12562 if (!wxPyCheckForApp()) SWIG_fail;
12563 PyThreadState* __tstate = wxPyBeginAllowThreads();
12564 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12565
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12570 {
12571 if (temp2)
12572 delete arg2;
12573 }
12574 {
12575 if (temp3)
12576 delete arg3;
12577 }
12578 {
12579 if (arg5) delete [] arg5;
12580 }
12581 return resultobj;
12582 fail:
12583 {
12584 if (temp2)
12585 delete arg2;
12586 }
12587 {
12588 if (temp3)
12589 delete arg3;
12590 }
12591 {
12592 if (arg5) delete [] arg5;
12593 }
12594 return NULL;
12595 }
12596
12597
12598 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12599 PyObject *resultobj;
12600 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12601 int result;
12602 PyObject * obj0 = 0 ;
12603 char *kwnames[] = {
12604 (char *) "self", NULL
12605 };
12606
12607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 result = (int)(arg1)->GetSelection();
12613
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 resultobj = SWIG_FromInt((int)result);
12618 return resultobj;
12619 fail:
12620 return NULL;
12621 }
12622
12623
12624 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12625 PyObject *resultobj;
12626 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12627 wxString result;
12628 PyObject * obj0 = 0 ;
12629 char *kwnames[] = {
12630 (char *) "self", NULL
12631 };
12632
12633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12636 {
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 result = (arg1)->GetStringSelection();
12639
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 {
12644 #if wxUSE_UNICODE
12645 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12646 #else
12647 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12648 #endif
12649 }
12650 return resultobj;
12651 fail:
12652 return NULL;
12653 }
12654
12655
12656 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12657 PyObject *resultobj;
12658 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12659 int arg2 ;
12660 PyObject * obj0 = 0 ;
12661 PyObject * obj1 = 0 ;
12662 char *kwnames[] = {
12663 (char *) "self",(char *) "sel", NULL
12664 };
12665
12666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12669 arg2 = (int) SWIG_AsInt(obj1);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 (arg1)->SetSelection(arg2);
12674
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) SWIG_fail;
12677 }
12678 Py_INCREF(Py_None); resultobj = Py_None;
12679 return resultobj;
12680 fail:
12681 return NULL;
12682 }
12683
12684
12685 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12686 PyObject *obj;
12687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12688 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12689 Py_INCREF(obj);
12690 return Py_BuildValue((char *)"");
12691 }
12692 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12693 PyObject *resultobj;
12694 wxWindow *arg1 = (wxWindow *) 0 ;
12695 wxString *arg2 = 0 ;
12696 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12697 wxString *arg3 = (wxString *) &arg3_defvalue ;
12698 wxString const &arg4_defvalue = wxPyEmptyString ;
12699 wxString *arg4 = (wxString *) &arg4_defvalue ;
12700 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12701 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12702 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12703 wxTextEntryDialog *result;
12704 bool temp2 = False ;
12705 bool temp3 = False ;
12706 bool temp4 = False ;
12707 wxPoint temp6 ;
12708 PyObject * obj0 = 0 ;
12709 PyObject * obj1 = 0 ;
12710 PyObject * obj2 = 0 ;
12711 PyObject * obj3 = 0 ;
12712 PyObject * obj4 = 0 ;
12713 PyObject * obj5 = 0 ;
12714 char *kwnames[] = {
12715 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12716 };
12717
12718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12721 {
12722 arg2 = wxString_in_helper(obj1);
12723 if (arg2 == NULL) SWIG_fail;
12724 temp2 = True;
12725 }
12726 if (obj2) {
12727 {
12728 arg3 = wxString_in_helper(obj2);
12729 if (arg3 == NULL) SWIG_fail;
12730 temp3 = True;
12731 }
12732 }
12733 if (obj3) {
12734 {
12735 arg4 = wxString_in_helper(obj3);
12736 if (arg4 == NULL) SWIG_fail;
12737 temp4 = True;
12738 }
12739 }
12740 if (obj4) {
12741 arg5 = (long) SWIG_AsLong(obj4);
12742 if (PyErr_Occurred()) SWIG_fail;
12743 }
12744 if (obj5) {
12745 {
12746 arg6 = &temp6;
12747 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12748 }
12749 }
12750 {
12751 if (!wxPyCheckForApp()) SWIG_fail;
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
12753 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12754
12755 wxPyEndAllowThreads(__tstate);
12756 if (PyErr_Occurred()) SWIG_fail;
12757 }
12758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
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 resultobj;
12772 fail:
12773 {
12774 if (temp2)
12775 delete arg2;
12776 }
12777 {
12778 if (temp3)
12779 delete arg3;
12780 }
12781 {
12782 if (temp4)
12783 delete arg4;
12784 }
12785 return NULL;
12786 }
12787
12788
12789 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12790 PyObject *resultobj;
12791 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12792 wxString result;
12793 PyObject * obj0 = 0 ;
12794 char *kwnames[] = {
12795 (char *) "self", NULL
12796 };
12797
12798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12801 {
12802 PyThreadState* __tstate = wxPyBeginAllowThreads();
12803 result = (arg1)->GetValue();
12804
12805 wxPyEndAllowThreads(__tstate);
12806 if (PyErr_Occurred()) SWIG_fail;
12807 }
12808 {
12809 #if wxUSE_UNICODE
12810 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12811 #else
12812 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12813 #endif
12814 }
12815 return resultobj;
12816 fail:
12817 return NULL;
12818 }
12819
12820
12821 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12822 PyObject *resultobj;
12823 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12824 wxString *arg2 = 0 ;
12825 bool temp2 = False ;
12826 PyObject * obj0 = 0 ;
12827 PyObject * obj1 = 0 ;
12828 char *kwnames[] = {
12829 (char *) "self",(char *) "value", NULL
12830 };
12831
12832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12835 {
12836 arg2 = wxString_in_helper(obj1);
12837 if (arg2 == NULL) SWIG_fail;
12838 temp2 = True;
12839 }
12840 {
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 (arg1)->SetValue((wxString const &)*arg2);
12843
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 Py_INCREF(Py_None); resultobj = Py_None;
12848 {
12849 if (temp2)
12850 delete arg2;
12851 }
12852 return resultobj;
12853 fail:
12854 {
12855 if (temp2)
12856 delete arg2;
12857 }
12858 return NULL;
12859 }
12860
12861
12862 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12863 PyObject *obj;
12864 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12865 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12866 Py_INCREF(obj);
12867 return Py_BuildValue((char *)"");
12868 }
12869 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12870 PyObject *resultobj;
12871 wxFontData *result;
12872 char *kwnames[] = {
12873 NULL
12874 };
12875
12876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (wxFontData *)new wxFontData();
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12885 return resultobj;
12886 fail:
12887 return NULL;
12888 }
12889
12890
12891 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj;
12893 wxFontData *arg1 = (wxFontData *) 0 ;
12894 PyObject * obj0 = 0 ;
12895 char *kwnames[] = {
12896 (char *) "self", NULL
12897 };
12898
12899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 delete arg1;
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 Py_INCREF(Py_None); resultobj = Py_None;
12910 return resultobj;
12911 fail:
12912 return NULL;
12913 }
12914
12915
12916 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12917 PyObject *resultobj;
12918 wxFontData *arg1 = (wxFontData *) 0 ;
12919 bool arg2 ;
12920 PyObject * obj0 = 0 ;
12921 PyObject * obj1 = 0 ;
12922 char *kwnames[] = {
12923 (char *) "self",(char *) "enable", NULL
12924 };
12925
12926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12929 arg2 = (bool) SWIG_AsBool(obj1);
12930 if (PyErr_Occurred()) SWIG_fail;
12931 {
12932 PyThreadState* __tstate = wxPyBeginAllowThreads();
12933 (arg1)->EnableEffects(arg2);
12934
12935 wxPyEndAllowThreads(__tstate);
12936 if (PyErr_Occurred()) SWIG_fail;
12937 }
12938 Py_INCREF(Py_None); resultobj = Py_None;
12939 return resultobj;
12940 fail:
12941 return NULL;
12942 }
12943
12944
12945 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12946 PyObject *resultobj;
12947 wxFontData *arg1 = (wxFontData *) 0 ;
12948 bool result;
12949 PyObject * obj0 = 0 ;
12950 char *kwnames[] = {
12951 (char *) "self", NULL
12952 };
12953
12954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12957 {
12958 PyThreadState* __tstate = wxPyBeginAllowThreads();
12959 result = (bool)(arg1)->GetAllowSymbols();
12960
12961 wxPyEndAllowThreads(__tstate);
12962 if (PyErr_Occurred()) SWIG_fail;
12963 }
12964 {
12965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12966 }
12967 return resultobj;
12968 fail:
12969 return NULL;
12970 }
12971
12972
12973 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12974 PyObject *resultobj;
12975 wxFontData *arg1 = (wxFontData *) 0 ;
12976 wxColour result;
12977 PyObject * obj0 = 0 ;
12978 char *kwnames[] = {
12979 (char *) "self", NULL
12980 };
12981
12982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 result = (arg1)->GetColour();
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 {
12993 wxColour * resultptr;
12994 resultptr = new wxColour((wxColour &) result);
12995 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12996 }
12997 return resultobj;
12998 fail:
12999 return NULL;
13000 }
13001
13002
13003 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13004 PyObject *resultobj;
13005 wxFontData *arg1 = (wxFontData *) 0 ;
13006 wxFont result;
13007 PyObject * obj0 = 0 ;
13008 char *kwnames[] = {
13009 (char *) "self", NULL
13010 };
13011
13012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13015 {
13016 PyThreadState* __tstate = wxPyBeginAllowThreads();
13017 result = (arg1)->GetChosenFont();
13018
13019 wxPyEndAllowThreads(__tstate);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 {
13023 wxFont * resultptr;
13024 resultptr = new wxFont((wxFont &) result);
13025 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13026 }
13027 return resultobj;
13028 fail:
13029 return NULL;
13030 }
13031
13032
13033 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13034 PyObject *resultobj;
13035 wxFontData *arg1 = (wxFontData *) 0 ;
13036 bool result;
13037 PyObject * obj0 = 0 ;
13038 char *kwnames[] = {
13039 (char *) "self", NULL
13040 };
13041
13042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13045 {
13046 PyThreadState* __tstate = wxPyBeginAllowThreads();
13047 result = (bool)(arg1)->GetEnableEffects();
13048
13049 wxPyEndAllowThreads(__tstate);
13050 if (PyErr_Occurred()) SWIG_fail;
13051 }
13052 {
13053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13054 }
13055 return resultobj;
13056 fail:
13057 return NULL;
13058 }
13059
13060
13061 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13062 PyObject *resultobj;
13063 wxFontData *arg1 = (wxFontData *) 0 ;
13064 wxFont result;
13065 PyObject * obj0 = 0 ;
13066 char *kwnames[] = {
13067 (char *) "self", NULL
13068 };
13069
13070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 result = (arg1)->GetInitialFont();
13076
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
13080 {
13081 wxFont * resultptr;
13082 resultptr = new wxFont((wxFont &) result);
13083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13084 }
13085 return resultobj;
13086 fail:
13087 return NULL;
13088 }
13089
13090
13091 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13092 PyObject *resultobj;
13093 wxFontData *arg1 = (wxFontData *) 0 ;
13094 bool result;
13095 PyObject * obj0 = 0 ;
13096 char *kwnames[] = {
13097 (char *) "self", NULL
13098 };
13099
13100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13103 {
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
13105 result = (bool)(arg1)->GetShowHelp();
13106
13107 wxPyEndAllowThreads(__tstate);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
13110 {
13111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13112 }
13113 return resultobj;
13114 fail:
13115 return NULL;
13116 }
13117
13118
13119 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13120 PyObject *resultobj;
13121 wxFontData *arg1 = (wxFontData *) 0 ;
13122 bool arg2 ;
13123 PyObject * obj0 = 0 ;
13124 PyObject * obj1 = 0 ;
13125 char *kwnames[] = {
13126 (char *) "self",(char *) "allowSymbols", NULL
13127 };
13128
13129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13132 arg2 = (bool) SWIG_AsBool(obj1);
13133 if (PyErr_Occurred()) SWIG_fail;
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 (arg1)->SetAllowSymbols(arg2);
13137
13138 wxPyEndAllowThreads(__tstate);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 Py_INCREF(Py_None); resultobj = Py_None;
13142 return resultobj;
13143 fail:
13144 return NULL;
13145 }
13146
13147
13148 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj;
13150 wxFontData *arg1 = (wxFontData *) 0 ;
13151 wxFont *arg2 = 0 ;
13152 PyObject * obj0 = 0 ;
13153 PyObject * obj1 = 0 ;
13154 char *kwnames[] = {
13155 (char *) "self",(char *) "font", NULL
13156 };
13157
13158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13161 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13162 SWIG_POINTER_EXCEPTION | 0)) == -1)
13163 SWIG_fail;
13164 if (arg2 == NULL) {
13165 PyErr_SetString(PyExc_TypeError,"null reference");
13166 SWIG_fail;
13167 }
13168 {
13169 PyThreadState* __tstate = wxPyBeginAllowThreads();
13170 (arg1)->SetChosenFont((wxFont const &)*arg2);
13171
13172 wxPyEndAllowThreads(__tstate);
13173 if (PyErr_Occurred()) SWIG_fail;
13174 }
13175 Py_INCREF(Py_None); resultobj = Py_None;
13176 return resultobj;
13177 fail:
13178 return NULL;
13179 }
13180
13181
13182 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13183 PyObject *resultobj;
13184 wxFontData *arg1 = (wxFontData *) 0 ;
13185 wxColour *arg2 = 0 ;
13186 wxColour temp2 ;
13187 PyObject * obj0 = 0 ;
13188 PyObject * obj1 = 0 ;
13189 char *kwnames[] = {
13190 (char *) "self",(char *) "colour", NULL
13191 };
13192
13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13196 {
13197 arg2 = &temp2;
13198 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13199 }
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 (arg1)->SetColour((wxColour const &)*arg2);
13203
13204 wxPyEndAllowThreads(__tstate);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 Py_INCREF(Py_None); resultobj = Py_None;
13208 return resultobj;
13209 fail:
13210 return NULL;
13211 }
13212
13213
13214 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13215 PyObject *resultobj;
13216 wxFontData *arg1 = (wxFontData *) 0 ;
13217 wxFont *arg2 = 0 ;
13218 PyObject * obj0 = 0 ;
13219 PyObject * obj1 = 0 ;
13220 char *kwnames[] = {
13221 (char *) "self",(char *) "font", NULL
13222 };
13223
13224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13227 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13228 SWIG_POINTER_EXCEPTION | 0)) == -1)
13229 SWIG_fail;
13230 if (arg2 == NULL) {
13231 PyErr_SetString(PyExc_TypeError,"null reference");
13232 SWIG_fail;
13233 }
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 (arg1)->SetInitialFont((wxFont const &)*arg2);
13237
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
13241 Py_INCREF(Py_None); resultobj = Py_None;
13242 return resultobj;
13243 fail:
13244 return NULL;
13245 }
13246
13247
13248 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13249 PyObject *resultobj;
13250 wxFontData *arg1 = (wxFontData *) 0 ;
13251 int arg2 ;
13252 int arg3 ;
13253 PyObject * obj0 = 0 ;
13254 PyObject * obj1 = 0 ;
13255 PyObject * obj2 = 0 ;
13256 char *kwnames[] = {
13257 (char *) "self",(char *) "min",(char *) "max", NULL
13258 };
13259
13260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13263 arg2 = (int) SWIG_AsInt(obj1);
13264 if (PyErr_Occurred()) SWIG_fail;
13265 arg3 = (int) SWIG_AsInt(obj2);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 (arg1)->SetRange(arg2,arg3);
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 Py_INCREF(Py_None); resultobj = Py_None;
13275 return resultobj;
13276 fail:
13277 return NULL;
13278 }
13279
13280
13281 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13282 PyObject *resultobj;
13283 wxFontData *arg1 = (wxFontData *) 0 ;
13284 bool arg2 ;
13285 PyObject * obj0 = 0 ;
13286 PyObject * obj1 = 0 ;
13287 char *kwnames[] = {
13288 (char *) "self",(char *) "showHelp", NULL
13289 };
13290
13291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13294 arg2 = (bool) SWIG_AsBool(obj1);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 (arg1)->SetShowHelp(arg2);
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 Py_INCREF(Py_None); resultobj = Py_None;
13304 return resultobj;
13305 fail:
13306 return NULL;
13307 }
13308
13309
13310 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13311 PyObject *obj;
13312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13313 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13314 Py_INCREF(obj);
13315 return Py_BuildValue((char *)"");
13316 }
13317 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13318 PyObject *resultobj;
13319 wxWindow *arg1 = (wxWindow *) 0 ;
13320 wxFontData *arg2 = 0 ;
13321 wxFontDialog *result;
13322 PyObject * obj0 = 0 ;
13323 PyObject * obj1 = 0 ;
13324 char *kwnames[] = {
13325 (char *) "parent",(char *) "data", NULL
13326 };
13327
13328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13332 SWIG_POINTER_EXCEPTION | 0)) == -1)
13333 SWIG_fail;
13334 if (arg2 == NULL) {
13335 PyErr_SetString(PyExc_TypeError,"null reference");
13336 SWIG_fail;
13337 }
13338 {
13339 if (!wxPyCheckForApp()) SWIG_fail;
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13347 return resultobj;
13348 fail:
13349 return NULL;
13350 }
13351
13352
13353 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13354 PyObject *resultobj;
13355 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13356 wxFontData *result;
13357 PyObject * obj0 = 0 ;
13358 char *kwnames[] = {
13359 (char *) "self", NULL
13360 };
13361
13362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 {
13368 wxFontData &_result_ref = (arg1)->GetFontData();
13369 result = (wxFontData *) &_result_ref;
13370 }
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13376 return resultobj;
13377 fail:
13378 return NULL;
13379 }
13380
13381
13382 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13383 PyObject *obj;
13384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13385 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13386 Py_INCREF(obj);
13387 return Py_BuildValue((char *)"");
13388 }
13389 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13390 PyObject *resultobj;
13391 wxWindow *arg1 = (wxWindow *) 0 ;
13392 wxString *arg2 = 0 ;
13393 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13394 wxString *arg3 = (wxString *) &arg3_defvalue ;
13395 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13396 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13397 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13398 wxMessageDialog *result;
13399 bool temp2 = False ;
13400 bool temp3 = False ;
13401 wxPoint temp5 ;
13402 PyObject * obj0 = 0 ;
13403 PyObject * obj1 = 0 ;
13404 PyObject * obj2 = 0 ;
13405 PyObject * obj3 = 0 ;
13406 PyObject * obj4 = 0 ;
13407 char *kwnames[] = {
13408 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13409 };
13410
13411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13414 {
13415 arg2 = wxString_in_helper(obj1);
13416 if (arg2 == NULL) SWIG_fail;
13417 temp2 = True;
13418 }
13419 if (obj2) {
13420 {
13421 arg3 = wxString_in_helper(obj2);
13422 if (arg3 == NULL) SWIG_fail;
13423 temp3 = True;
13424 }
13425 }
13426 if (obj3) {
13427 arg4 = (long) SWIG_AsLong(obj3);
13428 if (PyErr_Occurred()) SWIG_fail;
13429 }
13430 if (obj4) {
13431 {
13432 arg5 = &temp5;
13433 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13434 }
13435 }
13436 {
13437 if (!wxPyCheckForApp()) SWIG_fail;
13438 PyThreadState* __tstate = wxPyBeginAllowThreads();
13439 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13440
13441 wxPyEndAllowThreads(__tstate);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 }
13444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13445 {
13446 if (temp2)
13447 delete arg2;
13448 }
13449 {
13450 if (temp3)
13451 delete arg3;
13452 }
13453 return resultobj;
13454 fail:
13455 {
13456 if (temp2)
13457 delete arg2;
13458 }
13459 {
13460 if (temp3)
13461 delete arg3;
13462 }
13463 return NULL;
13464 }
13465
13466
13467 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13468 PyObject *obj;
13469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13470 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13471 Py_INCREF(obj);
13472 return Py_BuildValue((char *)"");
13473 }
13474 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13475 PyObject *resultobj;
13476 wxString *arg1 = 0 ;
13477 wxString *arg2 = 0 ;
13478 int arg3 = (int) 100 ;
13479 wxWindow *arg4 = (wxWindow *) NULL ;
13480 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13481 wxProgressDialog *result;
13482 bool temp1 = False ;
13483 bool temp2 = False ;
13484 PyObject * obj0 = 0 ;
13485 PyObject * obj1 = 0 ;
13486 PyObject * obj2 = 0 ;
13487 PyObject * obj3 = 0 ;
13488 PyObject * obj4 = 0 ;
13489 char *kwnames[] = {
13490 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13491 };
13492
13493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13494 {
13495 arg1 = wxString_in_helper(obj0);
13496 if (arg1 == NULL) SWIG_fail;
13497 temp1 = True;
13498 }
13499 {
13500 arg2 = wxString_in_helper(obj1);
13501 if (arg2 == NULL) SWIG_fail;
13502 temp2 = True;
13503 }
13504 if (obj2) {
13505 arg3 = (int) SWIG_AsInt(obj2);
13506 if (PyErr_Occurred()) SWIG_fail;
13507 }
13508 if (obj3) {
13509 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13511 }
13512 if (obj4) {
13513 arg5 = (int) SWIG_AsInt(obj4);
13514 if (PyErr_Occurred()) SWIG_fail;
13515 }
13516 {
13517 if (!wxPyCheckForApp()) SWIG_fail;
13518 PyThreadState* __tstate = wxPyBeginAllowThreads();
13519 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13520
13521 wxPyEndAllowThreads(__tstate);
13522 if (PyErr_Occurred()) SWIG_fail;
13523 }
13524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13525 {
13526 if (temp1)
13527 delete arg1;
13528 }
13529 {
13530 if (temp2)
13531 delete arg2;
13532 }
13533 return resultobj;
13534 fail:
13535 {
13536 if (temp1)
13537 delete arg1;
13538 }
13539 {
13540 if (temp2)
13541 delete arg2;
13542 }
13543 return NULL;
13544 }
13545
13546
13547 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13548 PyObject *resultobj;
13549 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13550 int arg2 ;
13551 wxString const &arg3_defvalue = wxPyEmptyString ;
13552 wxString *arg3 = (wxString *) &arg3_defvalue ;
13553 bool result;
13554 bool temp3 = False ;
13555 PyObject * obj0 = 0 ;
13556 PyObject * obj1 = 0 ;
13557 PyObject * obj2 = 0 ;
13558 char *kwnames[] = {
13559 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13560 };
13561
13562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13565 arg2 = (int) SWIG_AsInt(obj1);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 if (obj2) {
13568 {
13569 arg3 = wxString_in_helper(obj2);
13570 if (arg3 == NULL) SWIG_fail;
13571 temp3 = True;
13572 }
13573 }
13574 {
13575 PyThreadState* __tstate = wxPyBeginAllowThreads();
13576 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13577
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 {
13582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13583 }
13584 {
13585 if (temp3)
13586 delete arg3;
13587 }
13588 return resultobj;
13589 fail:
13590 {
13591 if (temp3)
13592 delete arg3;
13593 }
13594 return NULL;
13595 }
13596
13597
13598 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13601 PyObject * obj0 = 0 ;
13602 char *kwnames[] = {
13603 (char *) "self", NULL
13604 };
13605
13606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13609 {
13610 PyThreadState* __tstate = wxPyBeginAllowThreads();
13611 (arg1)->Resume();
13612
13613 wxPyEndAllowThreads(__tstate);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
13616 Py_INCREF(Py_None); resultobj = Py_None;
13617 return resultobj;
13618 fail:
13619 return NULL;
13620 }
13621
13622
13623 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13624 PyObject *obj;
13625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13626 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13627 Py_INCREF(obj);
13628 return Py_BuildValue((char *)"");
13629 }
13630 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13631 PyObject *resultobj;
13632 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13633 int arg2 = (int) 0 ;
13634 wxFindDialogEvent *result;
13635 PyObject * obj0 = 0 ;
13636 PyObject * obj1 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "commandType",(char *) "id", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13642 if (obj0) {
13643 arg1 = (wxEventType) SWIG_AsInt(obj0);
13644 if (PyErr_Occurred()) SWIG_fail;
13645 }
13646 if (obj1) {
13647 arg2 = (int) SWIG_AsInt(obj1);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 {
13651 PyThreadState* __tstate = wxPyBeginAllowThreads();
13652 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13653
13654 wxPyEndAllowThreads(__tstate);
13655 if (PyErr_Occurred()) SWIG_fail;
13656 }
13657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13658 return resultobj;
13659 fail:
13660 return NULL;
13661 }
13662
13663
13664 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13665 PyObject *resultobj;
13666 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13667 int result;
13668 PyObject * obj0 = 0 ;
13669 char *kwnames[] = {
13670 (char *) "self", NULL
13671 };
13672
13673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13676 {
13677 PyThreadState* __tstate = wxPyBeginAllowThreads();
13678 result = (int)(arg1)->GetFlags();
13679
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 }
13683 resultobj = SWIG_FromInt((int)result);
13684 return resultobj;
13685 fail:
13686 return NULL;
13687 }
13688
13689
13690 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13691 PyObject *resultobj;
13692 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13693 wxString *result;
13694 PyObject * obj0 = 0 ;
13695 char *kwnames[] = {
13696 (char *) "self", NULL
13697 };
13698
13699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13702 {
13703 PyThreadState* __tstate = wxPyBeginAllowThreads();
13704 {
13705 wxString const &_result_ref = (arg1)->GetFindString();
13706 result = (wxString *) &_result_ref;
13707 }
13708
13709 wxPyEndAllowThreads(__tstate);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 {
13713 #if wxUSE_UNICODE
13714 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13715 #else
13716 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13717 #endif
13718 }
13719 return resultobj;
13720 fail:
13721 return NULL;
13722 }
13723
13724
13725 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13726 PyObject *resultobj;
13727 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13728 wxString *result;
13729 PyObject * obj0 = 0 ;
13730 char *kwnames[] = {
13731 (char *) "self", NULL
13732 };
13733
13734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13737 {
13738 PyThreadState* __tstate = wxPyBeginAllowThreads();
13739 {
13740 wxString const &_result_ref = (arg1)->GetReplaceString();
13741 result = (wxString *) &_result_ref;
13742 }
13743
13744 wxPyEndAllowThreads(__tstate);
13745 if (PyErr_Occurred()) SWIG_fail;
13746 }
13747 {
13748 #if wxUSE_UNICODE
13749 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13750 #else
13751 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13752 #endif
13753 }
13754 return resultobj;
13755 fail:
13756 return NULL;
13757 }
13758
13759
13760 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13761 PyObject *resultobj;
13762 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13763 wxFindReplaceDialog *result;
13764 PyObject * obj0 = 0 ;
13765 char *kwnames[] = {
13766 (char *) "self", NULL
13767 };
13768
13769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13772 {
13773 PyThreadState* __tstate = wxPyBeginAllowThreads();
13774 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13775
13776 wxPyEndAllowThreads(__tstate);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 }
13779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13780 return resultobj;
13781 fail:
13782 return NULL;
13783 }
13784
13785
13786 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13787 PyObject *resultobj;
13788 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13789 int arg2 ;
13790 PyObject * obj0 = 0 ;
13791 PyObject * obj1 = 0 ;
13792 char *kwnames[] = {
13793 (char *) "self",(char *) "flags", NULL
13794 };
13795
13796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13799 arg2 = (int) SWIG_AsInt(obj1);
13800 if (PyErr_Occurred()) SWIG_fail;
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 (arg1)->SetFlags(arg2);
13804
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 Py_INCREF(Py_None); resultobj = Py_None;
13809 return resultobj;
13810 fail:
13811 return NULL;
13812 }
13813
13814
13815 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13816 PyObject *resultobj;
13817 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13818 wxString *arg2 = 0 ;
13819 bool temp2 = False ;
13820 PyObject * obj0 = 0 ;
13821 PyObject * obj1 = 0 ;
13822 char *kwnames[] = {
13823 (char *) "self",(char *) "str", NULL
13824 };
13825
13826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13829 {
13830 arg2 = wxString_in_helper(obj1);
13831 if (arg2 == NULL) SWIG_fail;
13832 temp2 = True;
13833 }
13834 {
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 (arg1)->SetFindString((wxString const &)*arg2);
13837
13838 wxPyEndAllowThreads(__tstate);
13839 if (PyErr_Occurred()) SWIG_fail;
13840 }
13841 Py_INCREF(Py_None); resultobj = Py_None;
13842 {
13843 if (temp2)
13844 delete arg2;
13845 }
13846 return resultobj;
13847 fail:
13848 {
13849 if (temp2)
13850 delete arg2;
13851 }
13852 return NULL;
13853 }
13854
13855
13856 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13857 PyObject *resultobj;
13858 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13859 wxString *arg2 = 0 ;
13860 bool temp2 = False ;
13861 PyObject * obj0 = 0 ;
13862 PyObject * obj1 = 0 ;
13863 char *kwnames[] = {
13864 (char *) "self",(char *) "str", NULL
13865 };
13866
13867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13870 {
13871 arg2 = wxString_in_helper(obj1);
13872 if (arg2 == NULL) SWIG_fail;
13873 temp2 = True;
13874 }
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 (arg1)->SetReplaceString((wxString const &)*arg2);
13878
13879 wxPyEndAllowThreads(__tstate);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
13882 Py_INCREF(Py_None); resultobj = Py_None;
13883 {
13884 if (temp2)
13885 delete arg2;
13886 }
13887 return resultobj;
13888 fail:
13889 {
13890 if (temp2)
13891 delete arg2;
13892 }
13893 return NULL;
13894 }
13895
13896
13897 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13898 PyObject *obj;
13899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13900 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13901 Py_INCREF(obj);
13902 return Py_BuildValue((char *)"");
13903 }
13904 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13905 PyObject *resultobj;
13906 int arg1 = (int) 0 ;
13907 wxFindReplaceData *result;
13908 PyObject * obj0 = 0 ;
13909 char *kwnames[] = {
13910 (char *) "flags", NULL
13911 };
13912
13913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13914 if (obj0) {
13915 arg1 = (int) SWIG_AsInt(obj0);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13926 return resultobj;
13927 fail:
13928 return NULL;
13929 }
13930
13931
13932 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13935 PyObject * obj0 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 delete arg1;
13946
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
13950 Py_INCREF(Py_None); resultobj = Py_None;
13951 return resultobj;
13952 fail:
13953 return NULL;
13954 }
13955
13956
13957 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13958 PyObject *resultobj;
13959 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13960 wxString *result;
13961 PyObject * obj0 = 0 ;
13962 char *kwnames[] = {
13963 (char *) "self", NULL
13964 };
13965
13966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13969 {
13970 PyThreadState* __tstate = wxPyBeginAllowThreads();
13971 {
13972 wxString const &_result_ref = (arg1)->GetFindString();
13973 result = (wxString *) &_result_ref;
13974 }
13975
13976 wxPyEndAllowThreads(__tstate);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 }
13979 {
13980 #if wxUSE_UNICODE
13981 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13982 #else
13983 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13984 #endif
13985 }
13986 return resultobj;
13987 fail:
13988 return NULL;
13989 }
13990
13991
13992 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13993 PyObject *resultobj;
13994 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13995 wxString *result;
13996 PyObject * obj0 = 0 ;
13997 char *kwnames[] = {
13998 (char *) "self", NULL
13999 };
14000
14001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 {
14007 wxString const &_result_ref = (arg1)->GetReplaceString();
14008 result = (wxString *) &_result_ref;
14009 }
14010
14011 wxPyEndAllowThreads(__tstate);
14012 if (PyErr_Occurred()) SWIG_fail;
14013 }
14014 {
14015 #if wxUSE_UNICODE
14016 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14017 #else
14018 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14019 #endif
14020 }
14021 return resultobj;
14022 fail:
14023 return NULL;
14024 }
14025
14026
14027 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14028 PyObject *resultobj;
14029 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14030 int result;
14031 PyObject * obj0 = 0 ;
14032 char *kwnames[] = {
14033 (char *) "self", NULL
14034 };
14035
14036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14039 {
14040 PyThreadState* __tstate = wxPyBeginAllowThreads();
14041 result = (int)(arg1)->GetFlags();
14042
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 resultobj = SWIG_FromInt((int)result);
14047 return resultobj;
14048 fail:
14049 return NULL;
14050 }
14051
14052
14053 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14054 PyObject *resultobj;
14055 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14056 int arg2 ;
14057 PyObject * obj0 = 0 ;
14058 PyObject * obj1 = 0 ;
14059 char *kwnames[] = {
14060 (char *) "self",(char *) "flags", NULL
14061 };
14062
14063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14066 arg2 = (int) SWIG_AsInt(obj1);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 {
14069 PyThreadState* __tstate = wxPyBeginAllowThreads();
14070 (arg1)->SetFlags(arg2);
14071
14072 wxPyEndAllowThreads(__tstate);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 Py_INCREF(Py_None); resultobj = Py_None;
14076 return resultobj;
14077 fail:
14078 return NULL;
14079 }
14080
14081
14082 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14083 PyObject *resultobj;
14084 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14085 wxString *arg2 = 0 ;
14086 bool temp2 = False ;
14087 PyObject * obj0 = 0 ;
14088 PyObject * obj1 = 0 ;
14089 char *kwnames[] = {
14090 (char *) "self",(char *) "str", NULL
14091 };
14092
14093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14096 {
14097 arg2 = wxString_in_helper(obj1);
14098 if (arg2 == NULL) SWIG_fail;
14099 temp2 = True;
14100 }
14101 {
14102 PyThreadState* __tstate = wxPyBeginAllowThreads();
14103 (arg1)->SetFindString((wxString const &)*arg2);
14104
14105 wxPyEndAllowThreads(__tstate);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 Py_INCREF(Py_None); resultobj = Py_None;
14109 {
14110 if (temp2)
14111 delete arg2;
14112 }
14113 return resultobj;
14114 fail:
14115 {
14116 if (temp2)
14117 delete arg2;
14118 }
14119 return NULL;
14120 }
14121
14122
14123 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14124 PyObject *resultobj;
14125 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14126 wxString *arg2 = 0 ;
14127 bool temp2 = False ;
14128 PyObject * obj0 = 0 ;
14129 PyObject * obj1 = 0 ;
14130 char *kwnames[] = {
14131 (char *) "self",(char *) "str", NULL
14132 };
14133
14134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14137 {
14138 arg2 = wxString_in_helper(obj1);
14139 if (arg2 == NULL) SWIG_fail;
14140 temp2 = True;
14141 }
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 (arg1)->SetReplaceString((wxString const &)*arg2);
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 Py_INCREF(Py_None); resultobj = Py_None;
14150 {
14151 if (temp2)
14152 delete arg2;
14153 }
14154 return resultobj;
14155 fail:
14156 {
14157 if (temp2)
14158 delete arg2;
14159 }
14160 return NULL;
14161 }
14162
14163
14164 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14165 PyObject *obj;
14166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14167 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14168 Py_INCREF(obj);
14169 return Py_BuildValue((char *)"");
14170 }
14171 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14172 PyObject *resultobj;
14173 wxWindow *arg1 = (wxWindow *) 0 ;
14174 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14175 wxString *arg3 = 0 ;
14176 int arg4 = (int) 0 ;
14177 wxFindReplaceDialog *result;
14178 bool temp3 = False ;
14179 PyObject * obj0 = 0 ;
14180 PyObject * obj1 = 0 ;
14181 PyObject * obj2 = 0 ;
14182 PyObject * obj3 = 0 ;
14183 char *kwnames[] = {
14184 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14185 };
14186
14187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14192 {
14193 arg3 = wxString_in_helper(obj2);
14194 if (arg3 == NULL) SWIG_fail;
14195 temp3 = True;
14196 }
14197 if (obj3) {
14198 arg4 = (int) SWIG_AsInt(obj3);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 }
14201 {
14202 if (!wxPyCheckForApp()) SWIG_fail;
14203 PyThreadState* __tstate = wxPyBeginAllowThreads();
14204 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14205
14206 wxPyEndAllowThreads(__tstate);
14207 if (PyErr_Occurred()) SWIG_fail;
14208 }
14209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14210 {
14211 if (temp3)
14212 delete arg3;
14213 }
14214 return resultobj;
14215 fail:
14216 {
14217 if (temp3)
14218 delete arg3;
14219 }
14220 return NULL;
14221 }
14222
14223
14224 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14225 PyObject *resultobj;
14226 wxFindReplaceDialog *result;
14227 char *kwnames[] = {
14228 NULL
14229 };
14230
14231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14232 {
14233 if (!wxPyCheckForApp()) SWIG_fail;
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14241 return resultobj;
14242 fail:
14243 return NULL;
14244 }
14245
14246
14247 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14248 PyObject *resultobj;
14249 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14250 wxWindow *arg2 = (wxWindow *) 0 ;
14251 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14252 wxString *arg4 = 0 ;
14253 int arg5 = (int) 0 ;
14254 bool result;
14255 bool temp4 = False ;
14256 PyObject * obj0 = 0 ;
14257 PyObject * obj1 = 0 ;
14258 PyObject * obj2 = 0 ;
14259 PyObject * obj3 = 0 ;
14260 PyObject * obj4 = 0 ;
14261 char *kwnames[] = {
14262 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14263 };
14264
14265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14270 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14272 {
14273 arg4 = wxString_in_helper(obj3);
14274 if (arg4 == NULL) SWIG_fail;
14275 temp4 = True;
14276 }
14277 if (obj4) {
14278 arg5 = (int) SWIG_AsInt(obj4);
14279 if (PyErr_Occurred()) SWIG_fail;
14280 }
14281 {
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14284
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) SWIG_fail;
14287 }
14288 {
14289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14290 }
14291 {
14292 if (temp4)
14293 delete arg4;
14294 }
14295 return resultobj;
14296 fail:
14297 {
14298 if (temp4)
14299 delete arg4;
14300 }
14301 return NULL;
14302 }
14303
14304
14305 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14306 PyObject *resultobj;
14307 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14308 wxFindReplaceData *result;
14309 PyObject * obj0 = 0 ;
14310 char *kwnames[] = {
14311 (char *) "self", NULL
14312 };
14313
14314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14317 {
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 result = (wxFindReplaceData *)(arg1)->GetData();
14320
14321 wxPyEndAllowThreads(__tstate);
14322 if (PyErr_Occurred()) SWIG_fail;
14323 }
14324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14325 return resultobj;
14326 fail:
14327 return NULL;
14328 }
14329
14330
14331 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14332 PyObject *resultobj;
14333 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14334 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14335 PyObject * obj0 = 0 ;
14336 PyObject * obj1 = 0 ;
14337 char *kwnames[] = {
14338 (char *) "self",(char *) "data", NULL
14339 };
14340
14341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 (arg1)->SetData(arg2);
14349
14350 wxPyEndAllowThreads(__tstate);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 }
14353 Py_INCREF(Py_None); resultobj = Py_None;
14354 return resultobj;
14355 fail:
14356 return NULL;
14357 }
14358
14359
14360 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14361 PyObject *obj;
14362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14363 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14364 Py_INCREF(obj);
14365 return Py_BuildValue((char *)"");
14366 }
14367 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14368 PyObject *resultobj;
14369 wxWindow *arg1 = (wxWindow *) 0 ;
14370 int arg2 = (int) (int)-1 ;
14371 wxString const &arg3_defvalue = wxPyEmptyString ;
14372 wxString *arg3 = (wxString *) &arg3_defvalue ;
14373 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14374 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14375 wxSize const &arg5_defvalue = wxDefaultSize ;
14376 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14377 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14378 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14379 wxString *arg7 = (wxString *) &arg7_defvalue ;
14380 wxMDIParentFrame *result;
14381 bool temp3 = False ;
14382 wxPoint temp4 ;
14383 wxSize temp5 ;
14384 bool temp7 = False ;
14385 PyObject * obj0 = 0 ;
14386 PyObject * obj1 = 0 ;
14387 PyObject * obj2 = 0 ;
14388 PyObject * obj3 = 0 ;
14389 PyObject * obj4 = 0 ;
14390 PyObject * obj5 = 0 ;
14391 PyObject * obj6 = 0 ;
14392 char *kwnames[] = {
14393 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14394 };
14395
14396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14399 if (obj1) {
14400 arg2 = (int const) SWIG_AsInt(obj1);
14401 if (PyErr_Occurred()) SWIG_fail;
14402 }
14403 if (obj2) {
14404 {
14405 arg3 = wxString_in_helper(obj2);
14406 if (arg3 == NULL) SWIG_fail;
14407 temp3 = True;
14408 }
14409 }
14410 if (obj3) {
14411 {
14412 arg4 = &temp4;
14413 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14414 }
14415 }
14416 if (obj4) {
14417 {
14418 arg5 = &temp5;
14419 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14420 }
14421 }
14422 if (obj5) {
14423 arg6 = (long) SWIG_AsLong(obj5);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
14426 if (obj6) {
14427 {
14428 arg7 = wxString_in_helper(obj6);
14429 if (arg7 == NULL) SWIG_fail;
14430 temp7 = True;
14431 }
14432 }
14433 {
14434 if (!wxPyCheckForApp()) SWIG_fail;
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14442 {
14443 if (temp3)
14444 delete arg3;
14445 }
14446 {
14447 if (temp7)
14448 delete arg7;
14449 }
14450 return resultobj;
14451 fail:
14452 {
14453 if (temp3)
14454 delete arg3;
14455 }
14456 {
14457 if (temp7)
14458 delete arg7;
14459 }
14460 return NULL;
14461 }
14462
14463
14464 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14465 PyObject *resultobj;
14466 wxMDIParentFrame *result;
14467 char *kwnames[] = {
14468 NULL
14469 };
14470
14471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14472 {
14473 if (!wxPyCheckForApp()) SWIG_fail;
14474 PyThreadState* __tstate = wxPyBeginAllowThreads();
14475 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14476
14477 wxPyEndAllowThreads(__tstate);
14478 if (PyErr_Occurred()) SWIG_fail;
14479 }
14480 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14481 return resultobj;
14482 fail:
14483 return NULL;
14484 }
14485
14486
14487 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14488 PyObject *resultobj;
14489 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14490 wxWindow *arg2 = (wxWindow *) 0 ;
14491 int arg3 = (int) (int)-1 ;
14492 wxString const &arg4_defvalue = wxPyEmptyString ;
14493 wxString *arg4 = (wxString *) &arg4_defvalue ;
14494 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14495 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14496 wxSize const &arg6_defvalue = wxDefaultSize ;
14497 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14498 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14499 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14500 wxString *arg8 = (wxString *) &arg8_defvalue ;
14501 bool result;
14502 bool temp4 = False ;
14503 wxPoint temp5 ;
14504 wxSize temp6 ;
14505 bool temp8 = False ;
14506 PyObject * obj0 = 0 ;
14507 PyObject * obj1 = 0 ;
14508 PyObject * obj2 = 0 ;
14509 PyObject * obj3 = 0 ;
14510 PyObject * obj4 = 0 ;
14511 PyObject * obj5 = 0 ;
14512 PyObject * obj6 = 0 ;
14513 PyObject * obj7 = 0 ;
14514 char *kwnames[] = {
14515 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14516 };
14517
14518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14521 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14523 if (obj2) {
14524 arg3 = (int const) SWIG_AsInt(obj2);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 }
14527 if (obj3) {
14528 {
14529 arg4 = wxString_in_helper(obj3);
14530 if (arg4 == NULL) SWIG_fail;
14531 temp4 = True;
14532 }
14533 }
14534 if (obj4) {
14535 {
14536 arg5 = &temp5;
14537 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14538 }
14539 }
14540 if (obj5) {
14541 {
14542 arg6 = &temp6;
14543 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14544 }
14545 }
14546 if (obj6) {
14547 arg7 = (long) SWIG_AsLong(obj6);
14548 if (PyErr_Occurred()) SWIG_fail;
14549 }
14550 if (obj7) {
14551 {
14552 arg8 = wxString_in_helper(obj7);
14553 if (arg8 == NULL) SWIG_fail;
14554 temp8 = True;
14555 }
14556 }
14557 {
14558 PyThreadState* __tstate = wxPyBeginAllowThreads();
14559 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14560
14561 wxPyEndAllowThreads(__tstate);
14562 if (PyErr_Occurred()) SWIG_fail;
14563 }
14564 {
14565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14566 }
14567 {
14568 if (temp4)
14569 delete arg4;
14570 }
14571 {
14572 if (temp8)
14573 delete arg8;
14574 }
14575 return resultobj;
14576 fail:
14577 {
14578 if (temp4)
14579 delete arg4;
14580 }
14581 {
14582 if (temp8)
14583 delete arg8;
14584 }
14585 return NULL;
14586 }
14587
14588
14589 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14590 PyObject *resultobj;
14591 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14592 PyObject * obj0 = 0 ;
14593 char *kwnames[] = {
14594 (char *) "self", NULL
14595 };
14596
14597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14600 {
14601 PyThreadState* __tstate = wxPyBeginAllowThreads();
14602 (arg1)->ActivateNext();
14603
14604 wxPyEndAllowThreads(__tstate);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 }
14607 Py_INCREF(Py_None); resultobj = Py_None;
14608 return resultobj;
14609 fail:
14610 return NULL;
14611 }
14612
14613
14614 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14615 PyObject *resultobj;
14616 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14617 PyObject * obj0 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14625 {
14626 PyThreadState* __tstate = wxPyBeginAllowThreads();
14627 (arg1)->ActivatePrevious();
14628
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
14632 Py_INCREF(Py_None); resultobj = Py_None;
14633 return resultobj;
14634 fail:
14635 return NULL;
14636 }
14637
14638
14639 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14640 PyObject *resultobj;
14641 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14642 PyObject * obj0 = 0 ;
14643 char *kwnames[] = {
14644 (char *) "self", NULL
14645 };
14646
14647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 (arg1)->ArrangeIcons();
14653
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 Py_INCREF(Py_None); resultobj = Py_None;
14658 return resultobj;
14659 fail:
14660 return NULL;
14661 }
14662
14663
14664 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14665 PyObject *resultobj;
14666 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14667 PyObject * obj0 = 0 ;
14668 char *kwnames[] = {
14669 (char *) "self", NULL
14670 };
14671
14672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14675 {
14676 PyThreadState* __tstate = wxPyBeginAllowThreads();
14677 (arg1)->Cascade();
14678
14679 wxPyEndAllowThreads(__tstate);
14680 if (PyErr_Occurred()) SWIG_fail;
14681 }
14682 Py_INCREF(Py_None); resultobj = Py_None;
14683 return resultobj;
14684 fail:
14685 return NULL;
14686 }
14687
14688
14689 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14690 PyObject *resultobj;
14691 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14692 wxMDIChildFrame *result;
14693 PyObject * obj0 = 0 ;
14694 char *kwnames[] = {
14695 (char *) "self", NULL
14696 };
14697
14698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14701 {
14702 PyThreadState* __tstate = wxPyBeginAllowThreads();
14703 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14704
14705 wxPyEndAllowThreads(__tstate);
14706 if (PyErr_Occurred()) SWIG_fail;
14707 }
14708 {
14709 resultobj = wxPyMake_wxObject(result, 0);
14710 }
14711 return resultobj;
14712 fail:
14713 return NULL;
14714 }
14715
14716
14717 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14718 PyObject *resultobj;
14719 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14720 wxMDIClientWindow *result;
14721 PyObject * obj0 = 0 ;
14722 char *kwnames[] = {
14723 (char *) "self", NULL
14724 };
14725
14726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14732
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 {
14737 resultobj = wxPyMake_wxObject(result, 0);
14738 }
14739 return resultobj;
14740 fail:
14741 return NULL;
14742 }
14743
14744
14745 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14746 PyObject *resultobj;
14747 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14748 wxWindow *result;
14749 PyObject * obj0 = 0 ;
14750 char *kwnames[] = {
14751 (char *) "self", NULL
14752 };
14753
14754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14757 {
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 result = (wxWindow *)(arg1)->GetToolBar();
14760
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 {
14765 resultobj = wxPyMake_wxObject(result, 0);
14766 }
14767 return resultobj;
14768 fail:
14769 return NULL;
14770 }
14771
14772
14773 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14774 PyObject *resultobj;
14775 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14776 PyObject * obj0 = 0 ;
14777 char *kwnames[] = {
14778 (char *) "self", NULL
14779 };
14780
14781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14784 {
14785 PyThreadState* __tstate = wxPyBeginAllowThreads();
14786 (arg1)->Tile();
14787
14788 wxPyEndAllowThreads(__tstate);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 }
14791 Py_INCREF(Py_None); resultobj = Py_None;
14792 return resultobj;
14793 fail:
14794 return NULL;
14795 }
14796
14797
14798 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14799 PyObject *obj;
14800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14801 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14802 Py_INCREF(obj);
14803 return Py_BuildValue((char *)"");
14804 }
14805 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14806 PyObject *resultobj;
14807 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14808 int arg2 = (int) (int)-1 ;
14809 wxString const &arg3_defvalue = wxPyEmptyString ;
14810 wxString *arg3 = (wxString *) &arg3_defvalue ;
14811 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14812 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14813 wxSize const &arg5_defvalue = wxDefaultSize ;
14814 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14815 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14816 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14817 wxString *arg7 = (wxString *) &arg7_defvalue ;
14818 wxMDIChildFrame *result;
14819 bool temp3 = False ;
14820 wxPoint temp4 ;
14821 wxSize temp5 ;
14822 bool temp7 = False ;
14823 PyObject * obj0 = 0 ;
14824 PyObject * obj1 = 0 ;
14825 PyObject * obj2 = 0 ;
14826 PyObject * obj3 = 0 ;
14827 PyObject * obj4 = 0 ;
14828 PyObject * obj5 = 0 ;
14829 PyObject * obj6 = 0 ;
14830 char *kwnames[] = {
14831 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14832 };
14833
14834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14837 if (obj1) {
14838 arg2 = (int const) SWIG_AsInt(obj1);
14839 if (PyErr_Occurred()) SWIG_fail;
14840 }
14841 if (obj2) {
14842 {
14843 arg3 = wxString_in_helper(obj2);
14844 if (arg3 == NULL) SWIG_fail;
14845 temp3 = True;
14846 }
14847 }
14848 if (obj3) {
14849 {
14850 arg4 = &temp4;
14851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14852 }
14853 }
14854 if (obj4) {
14855 {
14856 arg5 = &temp5;
14857 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14858 }
14859 }
14860 if (obj5) {
14861 arg6 = (long) SWIG_AsLong(obj5);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 if (obj6) {
14865 {
14866 arg7 = wxString_in_helper(obj6);
14867 if (arg7 == NULL) SWIG_fail;
14868 temp7 = True;
14869 }
14870 }
14871 {
14872 if (!wxPyCheckForApp()) SWIG_fail;
14873 PyThreadState* __tstate = wxPyBeginAllowThreads();
14874 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14875
14876 wxPyEndAllowThreads(__tstate);
14877 if (PyErr_Occurred()) SWIG_fail;
14878 }
14879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
14880 {
14881 if (temp3)
14882 delete arg3;
14883 }
14884 {
14885 if (temp7)
14886 delete arg7;
14887 }
14888 return resultobj;
14889 fail:
14890 {
14891 if (temp3)
14892 delete arg3;
14893 }
14894 {
14895 if (temp7)
14896 delete arg7;
14897 }
14898 return NULL;
14899 }
14900
14901
14902 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14903 PyObject *resultobj;
14904 wxMDIChildFrame *result;
14905 char *kwnames[] = {
14906 NULL
14907 };
14908
14909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14910 {
14911 if (!wxPyCheckForApp()) SWIG_fail;
14912 PyThreadState* __tstate = wxPyBeginAllowThreads();
14913 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14914
14915 wxPyEndAllowThreads(__tstate);
14916 if (PyErr_Occurred()) SWIG_fail;
14917 }
14918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
14919 return resultobj;
14920 fail:
14921 return NULL;
14922 }
14923
14924
14925 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14926 PyObject *resultobj;
14927 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14928 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14929 int arg3 = (int) (int)-1 ;
14930 wxString const &arg4_defvalue = wxPyEmptyString ;
14931 wxString *arg4 = (wxString *) &arg4_defvalue ;
14932 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14933 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14934 wxSize const &arg6_defvalue = wxDefaultSize ;
14935 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14936 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14937 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14938 wxString *arg8 = (wxString *) &arg8_defvalue ;
14939 bool result;
14940 bool temp4 = False ;
14941 wxPoint temp5 ;
14942 wxSize temp6 ;
14943 bool temp8 = False ;
14944 PyObject * obj0 = 0 ;
14945 PyObject * obj1 = 0 ;
14946 PyObject * obj2 = 0 ;
14947 PyObject * obj3 = 0 ;
14948 PyObject * obj4 = 0 ;
14949 PyObject * obj5 = 0 ;
14950 PyObject * obj6 = 0 ;
14951 PyObject * obj7 = 0 ;
14952 char *kwnames[] = {
14953 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14954 };
14955
14956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14961 if (obj2) {
14962 arg3 = (int const) SWIG_AsInt(obj2);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 }
14965 if (obj3) {
14966 {
14967 arg4 = wxString_in_helper(obj3);
14968 if (arg4 == NULL) SWIG_fail;
14969 temp4 = True;
14970 }
14971 }
14972 if (obj4) {
14973 {
14974 arg5 = &temp5;
14975 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14976 }
14977 }
14978 if (obj5) {
14979 {
14980 arg6 = &temp6;
14981 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14982 }
14983 }
14984 if (obj6) {
14985 arg7 = (long) SWIG_AsLong(obj6);
14986 if (PyErr_Occurred()) SWIG_fail;
14987 }
14988 if (obj7) {
14989 {
14990 arg8 = wxString_in_helper(obj7);
14991 if (arg8 == NULL) SWIG_fail;
14992 temp8 = True;
14993 }
14994 }
14995 {
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
14997 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14998
14999 wxPyEndAllowThreads(__tstate);
15000 if (PyErr_Occurred()) SWIG_fail;
15001 }
15002 {
15003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15004 }
15005 {
15006 if (temp4)
15007 delete arg4;
15008 }
15009 {
15010 if (temp8)
15011 delete arg8;
15012 }
15013 return resultobj;
15014 fail:
15015 {
15016 if (temp4)
15017 delete arg4;
15018 }
15019 {
15020 if (temp8)
15021 delete arg8;
15022 }
15023 return NULL;
15024 }
15025
15026
15027 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15028 PyObject *resultobj;
15029 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15030 PyObject * obj0 = 0 ;
15031 char *kwnames[] = {
15032 (char *) "self", NULL
15033 };
15034
15035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15038 {
15039 PyThreadState* __tstate = wxPyBeginAllowThreads();
15040 (arg1)->Activate();
15041
15042 wxPyEndAllowThreads(__tstate);
15043 if (PyErr_Occurred()) SWIG_fail;
15044 }
15045 Py_INCREF(Py_None); resultobj = Py_None;
15046 return resultobj;
15047 fail:
15048 return NULL;
15049 }
15050
15051
15052 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15053 PyObject *resultobj;
15054 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15055 bool arg2 ;
15056 PyObject * obj0 = 0 ;
15057 PyObject * obj1 = 0 ;
15058 char *kwnames[] = {
15059 (char *) "self",(char *) "maximize", NULL
15060 };
15061
15062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15065 arg2 = (bool) SWIG_AsBool(obj1);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 {
15068 PyThreadState* __tstate = wxPyBeginAllowThreads();
15069 (arg1)->Maximize(arg2);
15070
15071 wxPyEndAllowThreads(__tstate);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 }
15074 Py_INCREF(Py_None); resultobj = Py_None;
15075 return resultobj;
15076 fail:
15077 return NULL;
15078 }
15079
15080
15081 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15082 PyObject *resultobj;
15083 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15084 PyObject * obj0 = 0 ;
15085 char *kwnames[] = {
15086 (char *) "self", NULL
15087 };
15088
15089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15092 {
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 (arg1)->Restore();
15095
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 Py_INCREF(Py_None); resultobj = Py_None;
15100 return resultobj;
15101 fail:
15102 return NULL;
15103 }
15104
15105
15106 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15107 PyObject *obj;
15108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15109 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15110 Py_INCREF(obj);
15111 return Py_BuildValue((char *)"");
15112 }
15113 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15114 PyObject *resultobj;
15115 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15116 long arg2 = (long) 0 ;
15117 wxMDIClientWindow *result;
15118 PyObject * obj0 = 0 ;
15119 PyObject * obj1 = 0 ;
15120 char *kwnames[] = {
15121 (char *) "parent",(char *) "style", NULL
15122 };
15123
15124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15127 if (obj1) {
15128 arg2 = (long) SWIG_AsLong(obj1);
15129 if (PyErr_Occurred()) SWIG_fail;
15130 }
15131 {
15132 if (!wxPyCheckForApp()) SWIG_fail;
15133 PyThreadState* __tstate = wxPyBeginAllowThreads();
15134 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15135
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15140 return resultobj;
15141 fail:
15142 return NULL;
15143 }
15144
15145
15146 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15147 PyObject *resultobj;
15148 wxMDIClientWindow *result;
15149 char *kwnames[] = {
15150 NULL
15151 };
15152
15153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15154 {
15155 if (!wxPyCheckForApp()) SWIG_fail;
15156 PyThreadState* __tstate = wxPyBeginAllowThreads();
15157 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15158
15159 wxPyEndAllowThreads(__tstate);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
15162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15163 return resultobj;
15164 fail:
15165 return NULL;
15166 }
15167
15168
15169 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15170 PyObject *resultobj;
15171 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15172 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15173 long arg3 = (long) 0 ;
15174 bool result;
15175 PyObject * obj0 = 0 ;
15176 PyObject * obj1 = 0 ;
15177 PyObject * obj2 = 0 ;
15178 char *kwnames[] = {
15179 (char *) "self",(char *) "parent",(char *) "style", NULL
15180 };
15181
15182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15185 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15187 if (obj2) {
15188 arg3 = (long) SWIG_AsLong(obj2);
15189 if (PyErr_Occurred()) SWIG_fail;
15190 }
15191 {
15192 PyThreadState* __tstate = wxPyBeginAllowThreads();
15193 result = (bool)(arg1)->Create(arg2,arg3);
15194
15195 wxPyEndAllowThreads(__tstate);
15196 if (PyErr_Occurred()) SWIG_fail;
15197 }
15198 {
15199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15200 }
15201 return resultobj;
15202 fail:
15203 return NULL;
15204 }
15205
15206
15207 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15208 PyObject *obj;
15209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15210 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15211 Py_INCREF(obj);
15212 return Py_BuildValue((char *)"");
15213 }
15214 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15215 PyObject *resultobj;
15216 wxWindow *arg1 = (wxWindow *) 0 ;
15217 int arg2 = (int) (int)-1 ;
15218 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15219 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15220 wxSize const &arg4_defvalue = wxDefaultSize ;
15221 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15222 long arg5 = (long) 0 ;
15223 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15224 wxString *arg6 = (wxString *) &arg6_defvalue ;
15225 wxPyWindow *result;
15226 wxPoint temp3 ;
15227 wxSize temp4 ;
15228 bool temp6 = False ;
15229 PyObject * obj0 = 0 ;
15230 PyObject * obj1 = 0 ;
15231 PyObject * obj2 = 0 ;
15232 PyObject * obj3 = 0 ;
15233 PyObject * obj4 = 0 ;
15234 PyObject * obj5 = 0 ;
15235 char *kwnames[] = {
15236 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15237 };
15238
15239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15242 if (obj1) {
15243 arg2 = (int const) SWIG_AsInt(obj1);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 if (obj2) {
15247 {
15248 arg3 = &temp3;
15249 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15250 }
15251 }
15252 if (obj3) {
15253 {
15254 arg4 = &temp4;
15255 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15256 }
15257 }
15258 if (obj4) {
15259 arg5 = (long) SWIG_AsLong(obj4);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 }
15262 if (obj5) {
15263 {
15264 arg6 = wxString_in_helper(obj5);
15265 if (arg6 == NULL) SWIG_fail;
15266 temp6 = True;
15267 }
15268 }
15269 {
15270 if (!wxPyCheckForApp()) SWIG_fail;
15271 PyThreadState* __tstate = wxPyBeginAllowThreads();
15272 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15273
15274 wxPyEndAllowThreads(__tstate);
15275 if (PyErr_Occurred()) SWIG_fail;
15276 }
15277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15278 {
15279 if (temp6)
15280 delete arg6;
15281 }
15282 return resultobj;
15283 fail:
15284 {
15285 if (temp6)
15286 delete arg6;
15287 }
15288 return NULL;
15289 }
15290
15291
15292 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15293 PyObject *resultobj;
15294 wxPyWindow *result;
15295 char *kwnames[] = {
15296 NULL
15297 };
15298
15299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15300 {
15301 if (!wxPyCheckForApp()) SWIG_fail;
15302 PyThreadState* __tstate = wxPyBeginAllowThreads();
15303 result = (wxPyWindow *)new wxPyWindow();
15304
15305 wxPyEndAllowThreads(__tstate);
15306 if (PyErr_Occurred()) SWIG_fail;
15307 }
15308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15309 return resultobj;
15310 fail:
15311 return NULL;
15312 }
15313
15314
15315 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15316 PyObject *resultobj;
15317 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15318 PyObject *arg2 = (PyObject *) 0 ;
15319 PyObject *arg3 = (PyObject *) 0 ;
15320 PyObject * obj0 = 0 ;
15321 PyObject * obj1 = 0 ;
15322 PyObject * obj2 = 0 ;
15323 char *kwnames[] = {
15324 (char *) "self",(char *) "self",(char *) "_class", NULL
15325 };
15326
15327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15330 arg2 = obj1;
15331 arg3 = obj2;
15332 {
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 (arg1)->_setCallbackInfo(arg2,arg3);
15335
15336 wxPyEndAllowThreads(__tstate);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 }
15339 Py_INCREF(Py_None); resultobj = Py_None;
15340 return resultobj;
15341 fail:
15342 return NULL;
15343 }
15344
15345
15346 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15347 PyObject *resultobj;
15348 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15349 wxSize *arg2 = 0 ;
15350 wxSize temp2 ;
15351 PyObject * obj0 = 0 ;
15352 PyObject * obj1 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self",(char *) "size", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15360 {
15361 arg2 = &temp2;
15362 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15363 }
15364 {
15365 PyThreadState* __tstate = wxPyBeginAllowThreads();
15366 (arg1)->SetBestSize((wxSize const &)*arg2);
15367
15368 wxPyEndAllowThreads(__tstate);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 Py_INCREF(Py_None); resultobj = Py_None;
15372 return resultobj;
15373 fail:
15374 return NULL;
15375 }
15376
15377
15378 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15379 PyObject *resultobj;
15380 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15381 int arg2 ;
15382 int arg3 ;
15383 int arg4 ;
15384 int arg5 ;
15385 PyObject * obj0 = 0 ;
15386 PyObject * obj1 = 0 ;
15387 PyObject * obj2 = 0 ;
15388 PyObject * obj3 = 0 ;
15389 PyObject * obj4 = 0 ;
15390 char *kwnames[] = {
15391 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15392 };
15393
15394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15397 arg2 = (int) SWIG_AsInt(obj1);
15398 if (PyErr_Occurred()) SWIG_fail;
15399 arg3 = (int) SWIG_AsInt(obj2);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 arg4 = (int) SWIG_AsInt(obj3);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 arg5 = (int) SWIG_AsInt(obj4);
15404 if (PyErr_Occurred()) SWIG_fail;
15405 {
15406 PyThreadState* __tstate = wxPyBeginAllowThreads();
15407 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15408
15409 wxPyEndAllowThreads(__tstate);
15410 if (PyErr_Occurred()) SWIG_fail;
15411 }
15412 Py_INCREF(Py_None); resultobj = Py_None;
15413 return resultobj;
15414 fail:
15415 return NULL;
15416 }
15417
15418
15419 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15420 PyObject *resultobj;
15421 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15422 int arg2 ;
15423 int arg3 ;
15424 int arg4 ;
15425 int arg5 ;
15426 int arg6 = (int) wxSIZE_AUTO ;
15427 PyObject * obj0 = 0 ;
15428 PyObject * obj1 = 0 ;
15429 PyObject * obj2 = 0 ;
15430 PyObject * obj3 = 0 ;
15431 PyObject * obj4 = 0 ;
15432 PyObject * obj5 = 0 ;
15433 char *kwnames[] = {
15434 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15435 };
15436
15437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15440 arg2 = (int) SWIG_AsInt(obj1);
15441 if (PyErr_Occurred()) SWIG_fail;
15442 arg3 = (int) SWIG_AsInt(obj2);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 arg4 = (int) SWIG_AsInt(obj3);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 arg5 = (int) SWIG_AsInt(obj4);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 if (obj5) {
15449 arg6 = (int) SWIG_AsInt(obj5);
15450 if (PyErr_Occurred()) SWIG_fail;
15451 }
15452 {
15453 PyThreadState* __tstate = wxPyBeginAllowThreads();
15454 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15455
15456 wxPyEndAllowThreads(__tstate);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
15459 Py_INCREF(Py_None); resultobj = Py_None;
15460 return resultobj;
15461 fail:
15462 return NULL;
15463 }
15464
15465
15466 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15467 PyObject *resultobj;
15468 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15469 int arg2 ;
15470 int arg3 ;
15471 PyObject * obj0 = 0 ;
15472 PyObject * obj1 = 0 ;
15473 PyObject * obj2 = 0 ;
15474 char *kwnames[] = {
15475 (char *) "self",(char *) "width",(char *) "height", NULL
15476 };
15477
15478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15481 arg2 = (int) SWIG_AsInt(obj1);
15482 if (PyErr_Occurred()) SWIG_fail;
15483 arg3 = (int) SWIG_AsInt(obj2);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 {
15486 PyThreadState* __tstate = wxPyBeginAllowThreads();
15487 (arg1)->base_DoSetClientSize(arg2,arg3);
15488
15489 wxPyEndAllowThreads(__tstate);
15490 if (PyErr_Occurred()) SWIG_fail;
15491 }
15492 Py_INCREF(Py_None); resultobj = Py_None;
15493 return resultobj;
15494 fail:
15495 return NULL;
15496 }
15497
15498
15499 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15500 PyObject *resultobj;
15501 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15502 int arg2 ;
15503 int arg3 ;
15504 PyObject * obj0 = 0 ;
15505 PyObject * obj1 = 0 ;
15506 PyObject * obj2 = 0 ;
15507 char *kwnames[] = {
15508 (char *) "self",(char *) "x",(char *) "y", NULL
15509 };
15510
15511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15514 arg2 = (int) SWIG_AsInt(obj1);
15515 if (PyErr_Occurred()) SWIG_fail;
15516 arg3 = (int) SWIG_AsInt(obj2);
15517 if (PyErr_Occurred()) SWIG_fail;
15518 {
15519 PyThreadState* __tstate = wxPyBeginAllowThreads();
15520 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15521
15522 wxPyEndAllowThreads(__tstate);
15523 if (PyErr_Occurred()) SWIG_fail;
15524 }
15525 Py_INCREF(Py_None); resultobj = Py_None;
15526 return resultobj;
15527 fail:
15528 return NULL;
15529 }
15530
15531
15532 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15533 PyObject *resultobj;
15534 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15535 int *arg2 = (int *) 0 ;
15536 int *arg3 = (int *) 0 ;
15537 int temp2 ;
15538 int temp3 ;
15539 PyObject * obj0 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self", NULL
15542 };
15543
15544 arg2 = &temp2;
15545 arg3 = &temp3;
15546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15549 {
15550 PyThreadState* __tstate = wxPyBeginAllowThreads();
15551 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15552
15553 wxPyEndAllowThreads(__tstate);
15554 if (PyErr_Occurred()) SWIG_fail;
15555 }
15556 Py_INCREF(Py_None); resultobj = Py_None;
15557 {
15558 PyObject *o = PyInt_FromLong((long) (*arg2));
15559 resultobj = t_output_helper(resultobj,o);
15560 }
15561 {
15562 PyObject *o = PyInt_FromLong((long) (*arg3));
15563 resultobj = t_output_helper(resultobj,o);
15564 }
15565 return resultobj;
15566 fail:
15567 return NULL;
15568 }
15569
15570
15571 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15572 PyObject *resultobj;
15573 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15574 int *arg2 = (int *) 0 ;
15575 int *arg3 = (int *) 0 ;
15576 int temp2 ;
15577 int temp3 ;
15578 PyObject * obj0 = 0 ;
15579 char *kwnames[] = {
15580 (char *) "self", NULL
15581 };
15582
15583 arg2 = &temp2;
15584 arg3 = &temp3;
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 Py_INCREF(Py_None); resultobj = Py_None;
15596 {
15597 PyObject *o = PyInt_FromLong((long) (*arg2));
15598 resultobj = t_output_helper(resultobj,o);
15599 }
15600 {
15601 PyObject *o = PyInt_FromLong((long) (*arg3));
15602 resultobj = t_output_helper(resultobj,o);
15603 }
15604 return resultobj;
15605 fail:
15606 return NULL;
15607 }
15608
15609
15610 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15611 PyObject *resultobj;
15612 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15613 int *arg2 = (int *) 0 ;
15614 int *arg3 = (int *) 0 ;
15615 int temp2 ;
15616 int temp3 ;
15617 PyObject * obj0 = 0 ;
15618 char *kwnames[] = {
15619 (char *) "self", NULL
15620 };
15621
15622 arg2 = &temp2;
15623 arg3 = &temp3;
15624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15627 {
15628 PyThreadState* __tstate = wxPyBeginAllowThreads();
15629 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15630
15631 wxPyEndAllowThreads(__tstate);
15632 if (PyErr_Occurred()) SWIG_fail;
15633 }
15634 Py_INCREF(Py_None); resultobj = Py_None;
15635 {
15636 PyObject *o = PyInt_FromLong((long) (*arg2));
15637 resultobj = t_output_helper(resultobj,o);
15638 }
15639 {
15640 PyObject *o = PyInt_FromLong((long) (*arg3));
15641 resultobj = t_output_helper(resultobj,o);
15642 }
15643 return resultobj;
15644 fail:
15645 return NULL;
15646 }
15647
15648
15649 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15650 PyObject *resultobj;
15651 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15652 wxSize result;
15653 PyObject * obj0 = 0 ;
15654 char *kwnames[] = {
15655 (char *) "self", NULL
15656 };
15657
15658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15661 {
15662 PyThreadState* __tstate = wxPyBeginAllowThreads();
15663 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15664
15665 wxPyEndAllowThreads(__tstate);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 {
15669 wxSize * resultptr;
15670 resultptr = new wxSize((wxSize &) result);
15671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15672 }
15673 return resultobj;
15674 fail:
15675 return NULL;
15676 }
15677
15678
15679 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15680 PyObject *resultobj;
15681 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15682 wxSize result;
15683 PyObject * obj0 = 0 ;
15684 char *kwnames[] = {
15685 (char *) "self", NULL
15686 };
15687
15688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15691 {
15692 PyThreadState* __tstate = wxPyBeginAllowThreads();
15693 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15694
15695 wxPyEndAllowThreads(__tstate);
15696 if (PyErr_Occurred()) SWIG_fail;
15697 }
15698 {
15699 wxSize * resultptr;
15700 resultptr = new wxSize((wxSize &) result);
15701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15702 }
15703 return resultobj;
15704 fail:
15705 return NULL;
15706 }
15707
15708
15709 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15710 PyObject *resultobj;
15711 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15712 PyObject * obj0 = 0 ;
15713 char *kwnames[] = {
15714 (char *) "self", NULL
15715 };
15716
15717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15720 {
15721 PyThreadState* __tstate = wxPyBeginAllowThreads();
15722 (arg1)->base_InitDialog();
15723
15724 wxPyEndAllowThreads(__tstate);
15725 if (PyErr_Occurred()) SWIG_fail;
15726 }
15727 Py_INCREF(Py_None); resultobj = Py_None;
15728 return resultobj;
15729 fail:
15730 return NULL;
15731 }
15732
15733
15734 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15735 PyObject *resultobj;
15736 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15737 bool result;
15738 PyObject * obj0 = 0 ;
15739 char *kwnames[] = {
15740 (char *) "self", NULL
15741 };
15742
15743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15746 {
15747 PyThreadState* __tstate = wxPyBeginAllowThreads();
15748 result = (bool)(arg1)->base_TransferDataToWindow();
15749
15750 wxPyEndAllowThreads(__tstate);
15751 if (PyErr_Occurred()) SWIG_fail;
15752 }
15753 {
15754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15755 }
15756 return resultobj;
15757 fail:
15758 return NULL;
15759 }
15760
15761
15762 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15763 PyObject *resultobj;
15764 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15765 bool result;
15766 PyObject * obj0 = 0 ;
15767 char *kwnames[] = {
15768 (char *) "self", NULL
15769 };
15770
15771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15774 {
15775 PyThreadState* __tstate = wxPyBeginAllowThreads();
15776 result = (bool)(arg1)->base_TransferDataFromWindow();
15777
15778 wxPyEndAllowThreads(__tstate);
15779 if (PyErr_Occurred()) SWIG_fail;
15780 }
15781 {
15782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15783 }
15784 return resultobj;
15785 fail:
15786 return NULL;
15787 }
15788
15789
15790 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15791 PyObject *resultobj;
15792 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15793 bool result;
15794 PyObject * obj0 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "self", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15802 {
15803 PyThreadState* __tstate = wxPyBeginAllowThreads();
15804 result = (bool)(arg1)->base_Validate();
15805
15806 wxPyEndAllowThreads(__tstate);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 {
15810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15811 }
15812 return resultobj;
15813 fail:
15814 return NULL;
15815 }
15816
15817
15818 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15819 PyObject *resultobj;
15820 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15821 bool result;
15822 PyObject * obj0 = 0 ;
15823 char *kwnames[] = {
15824 (char *) "self", NULL
15825 };
15826
15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15830 {
15831 PyThreadState* __tstate = wxPyBeginAllowThreads();
15832 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15833
15834 wxPyEndAllowThreads(__tstate);
15835 if (PyErr_Occurred()) SWIG_fail;
15836 }
15837 {
15838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15839 }
15840 return resultobj;
15841 fail:
15842 return NULL;
15843 }
15844
15845
15846 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15847 PyObject *resultobj;
15848 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15849 bool result;
15850 PyObject * obj0 = 0 ;
15851 char *kwnames[] = {
15852 (char *) "self", NULL
15853 };
15854
15855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15861
15862 wxPyEndAllowThreads(__tstate);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
15865 {
15866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15867 }
15868 return resultobj;
15869 fail:
15870 return NULL;
15871 }
15872
15873
15874 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15875 PyObject *resultobj;
15876 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15877 wxSize result;
15878 PyObject * obj0 = 0 ;
15879 char *kwnames[] = {
15880 (char *) "self", NULL
15881 };
15882
15883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15886 {
15887 PyThreadState* __tstate = wxPyBeginAllowThreads();
15888 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15889
15890 wxPyEndAllowThreads(__tstate);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 }
15893 {
15894 wxSize * resultptr;
15895 resultptr = new wxSize((wxSize &) result);
15896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15897 }
15898 return resultobj;
15899 fail:
15900 return NULL;
15901 }
15902
15903
15904 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15905 PyObject *resultobj;
15906 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15907 wxWindow *arg2 = (wxWindow *) 0 ;
15908 PyObject * obj0 = 0 ;
15909 PyObject * obj1 = 0 ;
15910 char *kwnames[] = {
15911 (char *) "self",(char *) "child", NULL
15912 };
15913
15914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15919 {
15920 PyThreadState* __tstate = wxPyBeginAllowThreads();
15921 (arg1)->base_AddChild(arg2);
15922
15923 wxPyEndAllowThreads(__tstate);
15924 if (PyErr_Occurred()) SWIG_fail;
15925 }
15926 Py_INCREF(Py_None); resultobj = Py_None;
15927 return resultobj;
15928 fail:
15929 return NULL;
15930 }
15931
15932
15933 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15934 PyObject *resultobj;
15935 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15936 wxWindow *arg2 = (wxWindow *) 0 ;
15937 PyObject * obj0 = 0 ;
15938 PyObject * obj1 = 0 ;
15939 char *kwnames[] = {
15940 (char *) "self",(char *) "child", NULL
15941 };
15942
15943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15948 {
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 (arg1)->base_RemoveChild(arg2);
15951
15952 wxPyEndAllowThreads(__tstate);
15953 if (PyErr_Occurred()) SWIG_fail;
15954 }
15955 Py_INCREF(Py_None); resultobj = Py_None;
15956 return resultobj;
15957 fail:
15958 return NULL;
15959 }
15960
15961
15962 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj;
15964 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15965 bool result;
15966 PyObject * obj0 = 0 ;
15967 char *kwnames[] = {
15968 (char *) "self", NULL
15969 };
15970
15971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15974 {
15975 PyThreadState* __tstate = wxPyBeginAllowThreads();
15976 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
15977
15978 wxPyEndAllowThreads(__tstate);
15979 if (PyErr_Occurred()) SWIG_fail;
15980 }
15981 {
15982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15983 }
15984 return resultobj;
15985 fail:
15986 return NULL;
15987 }
15988
15989
15990 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15991 PyObject *resultobj;
15992 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15993 wxColour *arg2 = 0 ;
15994 wxColour temp2 ;
15995 PyObject * obj0 = 0 ;
15996 PyObject * obj1 = 0 ;
15997 char *kwnames[] = {
15998 (char *) "self",(char *) "c", NULL
15999 };
16000
16001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16004 {
16005 arg2 = &temp2;
16006 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16007 }
16008 {
16009 PyThreadState* __tstate = wxPyBeginAllowThreads();
16010 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16011
16012 wxPyEndAllowThreads(__tstate);
16013 if (PyErr_Occurred()) SWIG_fail;
16014 }
16015 Py_INCREF(Py_None); resultobj = Py_None;
16016 return resultobj;
16017 fail:
16018 return NULL;
16019 }
16020
16021
16022 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16023 PyObject *resultobj;
16024 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16025 wxVisualAttributes result;
16026 PyObject * obj0 = 0 ;
16027 char *kwnames[] = {
16028 (char *) "self", NULL
16029 };
16030
16031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16034 {
16035 PyThreadState* __tstate = wxPyBeginAllowThreads();
16036 result = (arg1)->base_GetDefaultAttributes();
16037
16038 wxPyEndAllowThreads(__tstate);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 {
16042 wxVisualAttributes * resultptr;
16043 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16045 }
16046 return resultobj;
16047 fail:
16048 return NULL;
16049 }
16050
16051
16052 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
16053 PyObject *obj;
16054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16055 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16056 Py_INCREF(obj);
16057 return Py_BuildValue((char *)"");
16058 }
16059 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16060 PyObject *resultobj;
16061 wxWindow *arg1 = (wxWindow *) 0 ;
16062 int arg2 = (int) (int)-1 ;
16063 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16064 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16065 wxSize const &arg4_defvalue = wxDefaultSize ;
16066 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16067 long arg5 = (long) 0 ;
16068 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16069 wxString *arg6 = (wxString *) &arg6_defvalue ;
16070 wxPyPanel *result;
16071 wxPoint temp3 ;
16072 wxSize temp4 ;
16073 bool temp6 = False ;
16074 PyObject * obj0 = 0 ;
16075 PyObject * obj1 = 0 ;
16076 PyObject * obj2 = 0 ;
16077 PyObject * obj3 = 0 ;
16078 PyObject * obj4 = 0 ;
16079 PyObject * obj5 = 0 ;
16080 char *kwnames[] = {
16081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16082 };
16083
16084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16087 if (obj1) {
16088 arg2 = (int const) SWIG_AsInt(obj1);
16089 if (PyErr_Occurred()) SWIG_fail;
16090 }
16091 if (obj2) {
16092 {
16093 arg3 = &temp3;
16094 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16095 }
16096 }
16097 if (obj3) {
16098 {
16099 arg4 = &temp4;
16100 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16101 }
16102 }
16103 if (obj4) {
16104 arg5 = (long) SWIG_AsLong(obj4);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 if (obj5) {
16108 {
16109 arg6 = wxString_in_helper(obj5);
16110 if (arg6 == NULL) SWIG_fail;
16111 temp6 = True;
16112 }
16113 }
16114 {
16115 if (!wxPyCheckForApp()) SWIG_fail;
16116 PyThreadState* __tstate = wxPyBeginAllowThreads();
16117 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16118
16119 wxPyEndAllowThreads(__tstate);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 }
16122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16123 {
16124 if (temp6)
16125 delete arg6;
16126 }
16127 return resultobj;
16128 fail:
16129 {
16130 if (temp6)
16131 delete arg6;
16132 }
16133 return NULL;
16134 }
16135
16136
16137 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16138 PyObject *resultobj;
16139 wxPyPanel *result;
16140 char *kwnames[] = {
16141 NULL
16142 };
16143
16144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16145 {
16146 if (!wxPyCheckForApp()) SWIG_fail;
16147 PyThreadState* __tstate = wxPyBeginAllowThreads();
16148 result = (wxPyPanel *)new wxPyPanel();
16149
16150 wxPyEndAllowThreads(__tstate);
16151 if (PyErr_Occurred()) SWIG_fail;
16152 }
16153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16154 return resultobj;
16155 fail:
16156 return NULL;
16157 }
16158
16159
16160 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16161 PyObject *resultobj;
16162 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16163 PyObject *arg2 = (PyObject *) 0 ;
16164 PyObject *arg3 = (PyObject *) 0 ;
16165 PyObject * obj0 = 0 ;
16166 PyObject * obj1 = 0 ;
16167 PyObject * obj2 = 0 ;
16168 char *kwnames[] = {
16169 (char *) "self",(char *) "self",(char *) "_class", NULL
16170 };
16171
16172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16175 arg2 = obj1;
16176 arg3 = obj2;
16177 {
16178 PyThreadState* __tstate = wxPyBeginAllowThreads();
16179 (arg1)->_setCallbackInfo(arg2,arg3);
16180
16181 wxPyEndAllowThreads(__tstate);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 }
16184 Py_INCREF(Py_None); resultobj = Py_None;
16185 return resultobj;
16186 fail:
16187 return NULL;
16188 }
16189
16190
16191 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16192 PyObject *resultobj;
16193 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16194 wxSize *arg2 = 0 ;
16195 wxSize temp2 ;
16196 PyObject * obj0 = 0 ;
16197 PyObject * obj1 = 0 ;
16198 char *kwnames[] = {
16199 (char *) "self",(char *) "size", NULL
16200 };
16201
16202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16205 {
16206 arg2 = &temp2;
16207 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16208 }
16209 {
16210 PyThreadState* __tstate = wxPyBeginAllowThreads();
16211 (arg1)->SetBestSize((wxSize const &)*arg2);
16212
16213 wxPyEndAllowThreads(__tstate);
16214 if (PyErr_Occurred()) SWIG_fail;
16215 }
16216 Py_INCREF(Py_None); resultobj = Py_None;
16217 return resultobj;
16218 fail:
16219 return NULL;
16220 }
16221
16222
16223 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16224 PyObject *resultobj;
16225 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16226 int arg2 ;
16227 int arg3 ;
16228 int arg4 ;
16229 int arg5 ;
16230 PyObject * obj0 = 0 ;
16231 PyObject * obj1 = 0 ;
16232 PyObject * obj2 = 0 ;
16233 PyObject * obj3 = 0 ;
16234 PyObject * obj4 = 0 ;
16235 char *kwnames[] = {
16236 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16237 };
16238
16239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16242 arg2 = (int) SWIG_AsInt(obj1);
16243 if (PyErr_Occurred()) SWIG_fail;
16244 arg3 = (int) SWIG_AsInt(obj2);
16245 if (PyErr_Occurred()) SWIG_fail;
16246 arg4 = (int) SWIG_AsInt(obj3);
16247 if (PyErr_Occurred()) SWIG_fail;
16248 arg5 = (int) SWIG_AsInt(obj4);
16249 if (PyErr_Occurred()) SWIG_fail;
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 Py_INCREF(Py_None); resultobj = Py_None;
16258 return resultobj;
16259 fail:
16260 return NULL;
16261 }
16262
16263
16264 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16265 PyObject *resultobj;
16266 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16267 int arg2 ;
16268 int arg3 ;
16269 int arg4 ;
16270 int arg5 ;
16271 int arg6 = (int) wxSIZE_AUTO ;
16272 PyObject * obj0 = 0 ;
16273 PyObject * obj1 = 0 ;
16274 PyObject * obj2 = 0 ;
16275 PyObject * obj3 = 0 ;
16276 PyObject * obj4 = 0 ;
16277 PyObject * obj5 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16280 };
16281
16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16285 arg2 = (int) SWIG_AsInt(obj1);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 arg3 = (int) SWIG_AsInt(obj2);
16288 if (PyErr_Occurred()) SWIG_fail;
16289 arg4 = (int) SWIG_AsInt(obj3);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 arg5 = (int) SWIG_AsInt(obj4);
16292 if (PyErr_Occurred()) SWIG_fail;
16293 if (obj5) {
16294 arg6 = (int) SWIG_AsInt(obj5);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 {
16298 PyThreadState* __tstate = wxPyBeginAllowThreads();
16299 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16300
16301 wxPyEndAllowThreads(__tstate);
16302 if (PyErr_Occurred()) SWIG_fail;
16303 }
16304 Py_INCREF(Py_None); resultobj = Py_None;
16305 return resultobj;
16306 fail:
16307 return NULL;
16308 }
16309
16310
16311 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16312 PyObject *resultobj;
16313 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16314 int arg2 ;
16315 int arg3 ;
16316 PyObject * obj0 = 0 ;
16317 PyObject * obj1 = 0 ;
16318 PyObject * obj2 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "self",(char *) "width",(char *) "height", NULL
16321 };
16322
16323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16326 arg2 = (int) SWIG_AsInt(obj1);
16327 if (PyErr_Occurred()) SWIG_fail;
16328 arg3 = (int) SWIG_AsInt(obj2);
16329 if (PyErr_Occurred()) SWIG_fail;
16330 {
16331 PyThreadState* __tstate = wxPyBeginAllowThreads();
16332 (arg1)->base_DoSetClientSize(arg2,arg3);
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 Py_INCREF(Py_None); resultobj = Py_None;
16338 return resultobj;
16339 fail:
16340 return NULL;
16341 }
16342
16343
16344 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16345 PyObject *resultobj;
16346 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16347 int arg2 ;
16348 int arg3 ;
16349 PyObject * obj0 = 0 ;
16350 PyObject * obj1 = 0 ;
16351 PyObject * obj2 = 0 ;
16352 char *kwnames[] = {
16353 (char *) "self",(char *) "x",(char *) "y", NULL
16354 };
16355
16356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16359 arg2 = (int) SWIG_AsInt(obj1);
16360 if (PyErr_Occurred()) SWIG_fail;
16361 arg3 = (int) SWIG_AsInt(obj2);
16362 if (PyErr_Occurred()) SWIG_fail;
16363 {
16364 PyThreadState* __tstate = wxPyBeginAllowThreads();
16365 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16366
16367 wxPyEndAllowThreads(__tstate);
16368 if (PyErr_Occurred()) SWIG_fail;
16369 }
16370 Py_INCREF(Py_None); resultobj = Py_None;
16371 return resultobj;
16372 fail:
16373 return NULL;
16374 }
16375
16376
16377 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16378 PyObject *resultobj;
16379 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16380 int *arg2 = (int *) 0 ;
16381 int *arg3 = (int *) 0 ;
16382 int temp2 ;
16383 int temp3 ;
16384 PyObject * obj0 = 0 ;
16385 char *kwnames[] = {
16386 (char *) "self", NULL
16387 };
16388
16389 arg2 = &temp2;
16390 arg3 = &temp3;
16391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16394 {
16395 PyThreadState* __tstate = wxPyBeginAllowThreads();
16396 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16397
16398 wxPyEndAllowThreads(__tstate);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
16401 Py_INCREF(Py_None); resultobj = Py_None;
16402 {
16403 PyObject *o = PyInt_FromLong((long) (*arg2));
16404 resultobj = t_output_helper(resultobj,o);
16405 }
16406 {
16407 PyObject *o = PyInt_FromLong((long) (*arg3));
16408 resultobj = t_output_helper(resultobj,o);
16409 }
16410 return resultobj;
16411 fail:
16412 return NULL;
16413 }
16414
16415
16416 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16417 PyObject *resultobj;
16418 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16419 int *arg2 = (int *) 0 ;
16420 int *arg3 = (int *) 0 ;
16421 int temp2 ;
16422 int temp3 ;
16423 PyObject * obj0 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self", NULL
16426 };
16427
16428 arg2 = &temp2;
16429 arg3 = &temp3;
16430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16433 {
16434 PyThreadState* __tstate = wxPyBeginAllowThreads();
16435 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16436
16437 wxPyEndAllowThreads(__tstate);
16438 if (PyErr_Occurred()) SWIG_fail;
16439 }
16440 Py_INCREF(Py_None); resultobj = Py_None;
16441 {
16442 PyObject *o = PyInt_FromLong((long) (*arg2));
16443 resultobj = t_output_helper(resultobj,o);
16444 }
16445 {
16446 PyObject *o = PyInt_FromLong((long) (*arg3));
16447 resultobj = t_output_helper(resultobj,o);
16448 }
16449 return resultobj;
16450 fail:
16451 return NULL;
16452 }
16453
16454
16455 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16456 PyObject *resultobj;
16457 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16458 int *arg2 = (int *) 0 ;
16459 int *arg3 = (int *) 0 ;
16460 int temp2 ;
16461 int temp3 ;
16462 PyObject * obj0 = 0 ;
16463 char *kwnames[] = {
16464 (char *) "self", NULL
16465 };
16466
16467 arg2 = &temp2;
16468 arg3 = &temp3;
16469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16472 {
16473 PyThreadState* __tstate = wxPyBeginAllowThreads();
16474 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16475
16476 wxPyEndAllowThreads(__tstate);
16477 if (PyErr_Occurred()) SWIG_fail;
16478 }
16479 Py_INCREF(Py_None); resultobj = Py_None;
16480 {
16481 PyObject *o = PyInt_FromLong((long) (*arg2));
16482 resultobj = t_output_helper(resultobj,o);
16483 }
16484 {
16485 PyObject *o = PyInt_FromLong((long) (*arg3));
16486 resultobj = t_output_helper(resultobj,o);
16487 }
16488 return resultobj;
16489 fail:
16490 return NULL;
16491 }
16492
16493
16494 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16495 PyObject *resultobj;
16496 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16497 wxSize result;
16498 PyObject * obj0 = 0 ;
16499 char *kwnames[] = {
16500 (char *) "self", NULL
16501 };
16502
16503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16506 {
16507 PyThreadState* __tstate = wxPyBeginAllowThreads();
16508 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16509
16510 wxPyEndAllowThreads(__tstate);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
16513 {
16514 wxSize * resultptr;
16515 resultptr = new wxSize((wxSize &) result);
16516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16517 }
16518 return resultobj;
16519 fail:
16520 return NULL;
16521 }
16522
16523
16524 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16525 PyObject *resultobj;
16526 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16527 wxSize result;
16528 PyObject * obj0 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "self", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16539
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 {
16544 wxSize * resultptr;
16545 resultptr = new wxSize((wxSize &) result);
16546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16547 }
16548 return resultobj;
16549 fail:
16550 return NULL;
16551 }
16552
16553
16554 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16555 PyObject *resultobj;
16556 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16557 PyObject * obj0 = 0 ;
16558 char *kwnames[] = {
16559 (char *) "self", NULL
16560 };
16561
16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
16567 (arg1)->base_InitDialog();
16568
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
16572 Py_INCREF(Py_None); resultobj = Py_None;
16573 return resultobj;
16574 fail:
16575 return NULL;
16576 }
16577
16578
16579 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16580 PyObject *resultobj;
16581 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16582 bool result;
16583 PyObject * obj0 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self", NULL
16586 };
16587
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16591 {
16592 PyThreadState* __tstate = wxPyBeginAllowThreads();
16593 result = (bool)(arg1)->base_TransferDataToWindow();
16594
16595 wxPyEndAllowThreads(__tstate);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 }
16598 {
16599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16600 }
16601 return resultobj;
16602 fail:
16603 return NULL;
16604 }
16605
16606
16607 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16608 PyObject *resultobj;
16609 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16610 bool result;
16611 PyObject * obj0 = 0 ;
16612 char *kwnames[] = {
16613 (char *) "self", NULL
16614 };
16615
16616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16619 {
16620 PyThreadState* __tstate = wxPyBeginAllowThreads();
16621 result = (bool)(arg1)->base_TransferDataFromWindow();
16622
16623 wxPyEndAllowThreads(__tstate);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 {
16627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16628 }
16629 return resultobj;
16630 fail:
16631 return NULL;
16632 }
16633
16634
16635 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16636 PyObject *resultobj;
16637 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16638 bool result;
16639 PyObject * obj0 = 0 ;
16640 char *kwnames[] = {
16641 (char *) "self", NULL
16642 };
16643
16644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16647 {
16648 PyThreadState* __tstate = wxPyBeginAllowThreads();
16649 result = (bool)(arg1)->base_Validate();
16650
16651 wxPyEndAllowThreads(__tstate);
16652 if (PyErr_Occurred()) SWIG_fail;
16653 }
16654 {
16655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16656 }
16657 return resultobj;
16658 fail:
16659 return NULL;
16660 }
16661
16662
16663 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16664 PyObject *resultobj;
16665 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16666 bool result;
16667 PyObject * obj0 = 0 ;
16668 char *kwnames[] = {
16669 (char *) "self", NULL
16670 };
16671
16672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16675 {
16676 PyThreadState* __tstate = wxPyBeginAllowThreads();
16677 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16678
16679 wxPyEndAllowThreads(__tstate);
16680 if (PyErr_Occurred()) SWIG_fail;
16681 }
16682 {
16683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16684 }
16685 return resultobj;
16686 fail:
16687 return NULL;
16688 }
16689
16690
16691 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16692 PyObject *resultobj;
16693 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16694 bool result;
16695 PyObject * obj0 = 0 ;
16696 char *kwnames[] = {
16697 (char *) "self", NULL
16698 };
16699
16700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16703 {
16704 PyThreadState* __tstate = wxPyBeginAllowThreads();
16705 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16706
16707 wxPyEndAllowThreads(__tstate);
16708 if (PyErr_Occurred()) SWIG_fail;
16709 }
16710 {
16711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16712 }
16713 return resultobj;
16714 fail:
16715 return NULL;
16716 }
16717
16718
16719 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16720 PyObject *resultobj;
16721 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16722 wxSize result;
16723 PyObject * obj0 = 0 ;
16724 char *kwnames[] = {
16725 (char *) "self", NULL
16726 };
16727
16728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16731 {
16732 PyThreadState* __tstate = wxPyBeginAllowThreads();
16733 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16734
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 {
16739 wxSize * resultptr;
16740 resultptr = new wxSize((wxSize &) result);
16741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16742 }
16743 return resultobj;
16744 fail:
16745 return NULL;
16746 }
16747
16748
16749 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16750 PyObject *resultobj;
16751 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16752 wxWindow *arg2 = (wxWindow *) 0 ;
16753 PyObject * obj0 = 0 ;
16754 PyObject * obj1 = 0 ;
16755 char *kwnames[] = {
16756 (char *) "self",(char *) "child", NULL
16757 };
16758
16759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16764 {
16765 PyThreadState* __tstate = wxPyBeginAllowThreads();
16766 (arg1)->base_AddChild(arg2);
16767
16768 wxPyEndAllowThreads(__tstate);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 }
16771 Py_INCREF(Py_None); resultobj = Py_None;
16772 return resultobj;
16773 fail:
16774 return NULL;
16775 }
16776
16777
16778 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16779 PyObject *resultobj;
16780 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16781 wxWindow *arg2 = (wxWindow *) 0 ;
16782 PyObject * obj0 = 0 ;
16783 PyObject * obj1 = 0 ;
16784 char *kwnames[] = {
16785 (char *) "self",(char *) "child", NULL
16786 };
16787
16788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16793 {
16794 PyThreadState* __tstate = wxPyBeginAllowThreads();
16795 (arg1)->base_RemoveChild(arg2);
16796
16797 wxPyEndAllowThreads(__tstate);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 }
16800 Py_INCREF(Py_None); resultobj = Py_None;
16801 return resultobj;
16802 fail:
16803 return NULL;
16804 }
16805
16806
16807 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16808 PyObject *resultobj;
16809 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16810 bool result;
16811 PyObject * obj0 = 0 ;
16812 char *kwnames[] = {
16813 (char *) "self", NULL
16814 };
16815
16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 {
16827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16828 }
16829 return resultobj;
16830 fail:
16831 return NULL;
16832 }
16833
16834
16835 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16836 PyObject *resultobj;
16837 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16838 wxColour *arg2 = 0 ;
16839 wxColour temp2 ;
16840 PyObject * obj0 = 0 ;
16841 PyObject * obj1 = 0 ;
16842 char *kwnames[] = {
16843 (char *) "self",(char *) "c", NULL
16844 };
16845
16846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16849 {
16850 arg2 = &temp2;
16851 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16852 }
16853 {
16854 PyThreadState* __tstate = wxPyBeginAllowThreads();
16855 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16856
16857 wxPyEndAllowThreads(__tstate);
16858 if (PyErr_Occurred()) SWIG_fail;
16859 }
16860 Py_INCREF(Py_None); resultobj = Py_None;
16861 return resultobj;
16862 fail:
16863 return NULL;
16864 }
16865
16866
16867 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16868 PyObject *resultobj;
16869 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16870 wxVisualAttributes result;
16871 PyObject * obj0 = 0 ;
16872 char *kwnames[] = {
16873 (char *) "self", NULL
16874 };
16875
16876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16879 {
16880 PyThreadState* __tstate = wxPyBeginAllowThreads();
16881 result = (arg1)->base_GetDefaultAttributes();
16882
16883 wxPyEndAllowThreads(__tstate);
16884 if (PyErr_Occurred()) SWIG_fail;
16885 }
16886 {
16887 wxVisualAttributes * resultptr;
16888 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16890 }
16891 return resultobj;
16892 fail:
16893 return NULL;
16894 }
16895
16896
16897 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16898 PyObject *obj;
16899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16900 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16901 Py_INCREF(obj);
16902 return Py_BuildValue((char *)"");
16903 }
16904 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16905 PyObject *resultobj;
16906 wxWindow *arg1 = (wxWindow *) 0 ;
16907 int arg2 = (int) (int)-1 ;
16908 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16909 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16910 wxSize const &arg4_defvalue = wxDefaultSize ;
16911 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16912 long arg5 = (long) 0 ;
16913 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16914 wxString *arg6 = (wxString *) &arg6_defvalue ;
16915 wxPyScrolledWindow *result;
16916 wxPoint temp3 ;
16917 wxSize temp4 ;
16918 bool temp6 = False ;
16919 PyObject * obj0 = 0 ;
16920 PyObject * obj1 = 0 ;
16921 PyObject * obj2 = 0 ;
16922 PyObject * obj3 = 0 ;
16923 PyObject * obj4 = 0 ;
16924 PyObject * obj5 = 0 ;
16925 char *kwnames[] = {
16926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16927 };
16928
16929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16932 if (obj1) {
16933 arg2 = (int const) SWIG_AsInt(obj1);
16934 if (PyErr_Occurred()) SWIG_fail;
16935 }
16936 if (obj2) {
16937 {
16938 arg3 = &temp3;
16939 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16940 }
16941 }
16942 if (obj3) {
16943 {
16944 arg4 = &temp4;
16945 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16946 }
16947 }
16948 if (obj4) {
16949 arg5 = (long) SWIG_AsLong(obj4);
16950 if (PyErr_Occurred()) SWIG_fail;
16951 }
16952 if (obj5) {
16953 {
16954 arg6 = wxString_in_helper(obj5);
16955 if (arg6 == NULL) SWIG_fail;
16956 temp6 = True;
16957 }
16958 }
16959 {
16960 if (!wxPyCheckForApp()) SWIG_fail;
16961 PyThreadState* __tstate = wxPyBeginAllowThreads();
16962 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16963
16964 wxPyEndAllowThreads(__tstate);
16965 if (PyErr_Occurred()) SWIG_fail;
16966 }
16967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16968 {
16969 if (temp6)
16970 delete arg6;
16971 }
16972 return resultobj;
16973 fail:
16974 {
16975 if (temp6)
16976 delete arg6;
16977 }
16978 return NULL;
16979 }
16980
16981
16982 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16983 PyObject *resultobj;
16984 wxPyScrolledWindow *result;
16985 char *kwnames[] = {
16986 NULL
16987 };
16988
16989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16990 {
16991 if (!wxPyCheckForApp()) SWIG_fail;
16992 PyThreadState* __tstate = wxPyBeginAllowThreads();
16993 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16994
16995 wxPyEndAllowThreads(__tstate);
16996 if (PyErr_Occurred()) SWIG_fail;
16997 }
16998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16999 return resultobj;
17000 fail:
17001 return NULL;
17002 }
17003
17004
17005 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17006 PyObject *resultobj;
17007 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17008 PyObject *arg2 = (PyObject *) 0 ;
17009 PyObject *arg3 = (PyObject *) 0 ;
17010 PyObject * obj0 = 0 ;
17011 PyObject * obj1 = 0 ;
17012 PyObject * obj2 = 0 ;
17013 char *kwnames[] = {
17014 (char *) "self",(char *) "self",(char *) "_class", NULL
17015 };
17016
17017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17020 arg2 = obj1;
17021 arg3 = obj2;
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 (arg1)->_setCallbackInfo(arg2,arg3);
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 Py_INCREF(Py_None); resultobj = Py_None;
17030 return resultobj;
17031 fail:
17032 return NULL;
17033 }
17034
17035
17036 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17037 PyObject *resultobj;
17038 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17039 wxSize *arg2 = 0 ;
17040 wxSize temp2 ;
17041 PyObject * obj0 = 0 ;
17042 PyObject * obj1 = 0 ;
17043 char *kwnames[] = {
17044 (char *) "self",(char *) "size", NULL
17045 };
17046
17047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17050 {
17051 arg2 = &temp2;
17052 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17053 }
17054 {
17055 PyThreadState* __tstate = wxPyBeginAllowThreads();
17056 (arg1)->SetBestSize((wxSize const &)*arg2);
17057
17058 wxPyEndAllowThreads(__tstate);
17059 if (PyErr_Occurred()) SWIG_fail;
17060 }
17061 Py_INCREF(Py_None); resultobj = Py_None;
17062 return resultobj;
17063 fail:
17064 return NULL;
17065 }
17066
17067
17068 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17069 PyObject *resultobj;
17070 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17071 int arg2 ;
17072 int arg3 ;
17073 int arg4 ;
17074 int arg5 ;
17075 PyObject * obj0 = 0 ;
17076 PyObject * obj1 = 0 ;
17077 PyObject * obj2 = 0 ;
17078 PyObject * obj3 = 0 ;
17079 PyObject * obj4 = 0 ;
17080 char *kwnames[] = {
17081 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17082 };
17083
17084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17087 arg2 = (int) SWIG_AsInt(obj1);
17088 if (PyErr_Occurred()) SWIG_fail;
17089 arg3 = (int) SWIG_AsInt(obj2);
17090 if (PyErr_Occurred()) SWIG_fail;
17091 arg4 = (int) SWIG_AsInt(obj3);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 arg5 = (int) SWIG_AsInt(obj4);
17094 if (PyErr_Occurred()) SWIG_fail;
17095 {
17096 PyThreadState* __tstate = wxPyBeginAllowThreads();
17097 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17098
17099 wxPyEndAllowThreads(__tstate);
17100 if (PyErr_Occurred()) SWIG_fail;
17101 }
17102 Py_INCREF(Py_None); resultobj = Py_None;
17103 return resultobj;
17104 fail:
17105 return NULL;
17106 }
17107
17108
17109 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17110 PyObject *resultobj;
17111 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17112 int arg2 ;
17113 int arg3 ;
17114 int arg4 ;
17115 int arg5 ;
17116 int arg6 = (int) wxSIZE_AUTO ;
17117 PyObject * obj0 = 0 ;
17118 PyObject * obj1 = 0 ;
17119 PyObject * obj2 = 0 ;
17120 PyObject * obj3 = 0 ;
17121 PyObject * obj4 = 0 ;
17122 PyObject * obj5 = 0 ;
17123 char *kwnames[] = {
17124 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17125 };
17126
17127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17130 arg2 = (int) SWIG_AsInt(obj1);
17131 if (PyErr_Occurred()) SWIG_fail;
17132 arg3 = (int) SWIG_AsInt(obj2);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 arg4 = (int) SWIG_AsInt(obj3);
17135 if (PyErr_Occurred()) SWIG_fail;
17136 arg5 = (int) SWIG_AsInt(obj4);
17137 if (PyErr_Occurred()) SWIG_fail;
17138 if (obj5) {
17139 arg6 = (int) SWIG_AsInt(obj5);
17140 if (PyErr_Occurred()) SWIG_fail;
17141 }
17142 {
17143 PyThreadState* __tstate = wxPyBeginAllowThreads();
17144 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17145
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 Py_INCREF(Py_None); resultobj = Py_None;
17150 return resultobj;
17151 fail:
17152 return NULL;
17153 }
17154
17155
17156 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17157 PyObject *resultobj;
17158 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17159 int arg2 ;
17160 int arg3 ;
17161 PyObject * obj0 = 0 ;
17162 PyObject * obj1 = 0 ;
17163 PyObject * obj2 = 0 ;
17164 char *kwnames[] = {
17165 (char *) "self",(char *) "width",(char *) "height", NULL
17166 };
17167
17168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17171 arg2 = (int) SWIG_AsInt(obj1);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 arg3 = (int) SWIG_AsInt(obj2);
17174 if (PyErr_Occurred()) SWIG_fail;
17175 {
17176 PyThreadState* __tstate = wxPyBeginAllowThreads();
17177 (arg1)->base_DoSetClientSize(arg2,arg3);
17178
17179 wxPyEndAllowThreads(__tstate);
17180 if (PyErr_Occurred()) SWIG_fail;
17181 }
17182 Py_INCREF(Py_None); resultobj = Py_None;
17183 return resultobj;
17184 fail:
17185 return NULL;
17186 }
17187
17188
17189 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj;
17191 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17192 int arg2 ;
17193 int arg3 ;
17194 PyObject * obj0 = 0 ;
17195 PyObject * obj1 = 0 ;
17196 PyObject * obj2 = 0 ;
17197 char *kwnames[] = {
17198 (char *) "self",(char *) "x",(char *) "y", NULL
17199 };
17200
17201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17204 arg2 = (int) SWIG_AsInt(obj1);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 arg3 = (int) SWIG_AsInt(obj2);
17207 if (PyErr_Occurred()) SWIG_fail;
17208 {
17209 PyThreadState* __tstate = wxPyBeginAllowThreads();
17210 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17211
17212 wxPyEndAllowThreads(__tstate);
17213 if (PyErr_Occurred()) SWIG_fail;
17214 }
17215 Py_INCREF(Py_None); resultobj = Py_None;
17216 return resultobj;
17217 fail:
17218 return NULL;
17219 }
17220
17221
17222 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17223 PyObject *resultobj;
17224 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17225 int *arg2 = (int *) 0 ;
17226 int *arg3 = (int *) 0 ;
17227 int temp2 ;
17228 int temp3 ;
17229 PyObject * obj0 = 0 ;
17230 char *kwnames[] = {
17231 (char *) "self", NULL
17232 };
17233
17234 arg2 = &temp2;
17235 arg3 = &temp3;
17236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17239 {
17240 PyThreadState* __tstate = wxPyBeginAllowThreads();
17241 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17242
17243 wxPyEndAllowThreads(__tstate);
17244 if (PyErr_Occurred()) SWIG_fail;
17245 }
17246 Py_INCREF(Py_None); resultobj = Py_None;
17247 {
17248 PyObject *o = PyInt_FromLong((long) (*arg2));
17249 resultobj = t_output_helper(resultobj,o);
17250 }
17251 {
17252 PyObject *o = PyInt_FromLong((long) (*arg3));
17253 resultobj = t_output_helper(resultobj,o);
17254 }
17255 return resultobj;
17256 fail:
17257 return NULL;
17258 }
17259
17260
17261 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17262 PyObject *resultobj;
17263 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17264 int *arg2 = (int *) 0 ;
17265 int *arg3 = (int *) 0 ;
17266 int temp2 ;
17267 int temp3 ;
17268 PyObject * obj0 = 0 ;
17269 char *kwnames[] = {
17270 (char *) "self", NULL
17271 };
17272
17273 arg2 = &temp2;
17274 arg3 = &temp3;
17275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17278 {
17279 PyThreadState* __tstate = wxPyBeginAllowThreads();
17280 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17281
17282 wxPyEndAllowThreads(__tstate);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 }
17285 Py_INCREF(Py_None); resultobj = Py_None;
17286 {
17287 PyObject *o = PyInt_FromLong((long) (*arg2));
17288 resultobj = t_output_helper(resultobj,o);
17289 }
17290 {
17291 PyObject *o = PyInt_FromLong((long) (*arg3));
17292 resultobj = t_output_helper(resultobj,o);
17293 }
17294 return resultobj;
17295 fail:
17296 return NULL;
17297 }
17298
17299
17300 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17301 PyObject *resultobj;
17302 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17303 int *arg2 = (int *) 0 ;
17304 int *arg3 = (int *) 0 ;
17305 int temp2 ;
17306 int temp3 ;
17307 PyObject * obj0 = 0 ;
17308 char *kwnames[] = {
17309 (char *) "self", NULL
17310 };
17311
17312 arg2 = &temp2;
17313 arg3 = &temp3;
17314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17317 {
17318 PyThreadState* __tstate = wxPyBeginAllowThreads();
17319 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17320
17321 wxPyEndAllowThreads(__tstate);
17322 if (PyErr_Occurred()) SWIG_fail;
17323 }
17324 Py_INCREF(Py_None); resultobj = Py_None;
17325 {
17326 PyObject *o = PyInt_FromLong((long) (*arg2));
17327 resultobj = t_output_helper(resultobj,o);
17328 }
17329 {
17330 PyObject *o = PyInt_FromLong((long) (*arg3));
17331 resultobj = t_output_helper(resultobj,o);
17332 }
17333 return resultobj;
17334 fail:
17335 return NULL;
17336 }
17337
17338
17339 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17340 PyObject *resultobj;
17341 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17342 wxSize result;
17343 PyObject * obj0 = 0 ;
17344 char *kwnames[] = {
17345 (char *) "self", NULL
17346 };
17347
17348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17351 {
17352 PyThreadState* __tstate = wxPyBeginAllowThreads();
17353 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17354
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 {
17359 wxSize * resultptr;
17360 resultptr = new wxSize((wxSize &) result);
17361 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17362 }
17363 return resultobj;
17364 fail:
17365 return NULL;
17366 }
17367
17368
17369 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17370 PyObject *resultobj;
17371 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17372 wxSize result;
17373 PyObject * obj0 = 0 ;
17374 char *kwnames[] = {
17375 (char *) "self", NULL
17376 };
17377
17378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17381 {
17382 PyThreadState* __tstate = wxPyBeginAllowThreads();
17383 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17384
17385 wxPyEndAllowThreads(__tstate);
17386 if (PyErr_Occurred()) SWIG_fail;
17387 }
17388 {
17389 wxSize * resultptr;
17390 resultptr = new wxSize((wxSize &) result);
17391 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17392 }
17393 return resultobj;
17394 fail:
17395 return NULL;
17396 }
17397
17398
17399 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17400 PyObject *resultobj;
17401 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17402 PyObject * obj0 = 0 ;
17403 char *kwnames[] = {
17404 (char *) "self", NULL
17405 };
17406
17407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17410 {
17411 PyThreadState* __tstate = wxPyBeginAllowThreads();
17412 (arg1)->base_InitDialog();
17413
17414 wxPyEndAllowThreads(__tstate);
17415 if (PyErr_Occurred()) SWIG_fail;
17416 }
17417 Py_INCREF(Py_None); resultobj = Py_None;
17418 return resultobj;
17419 fail:
17420 return NULL;
17421 }
17422
17423
17424 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17425 PyObject *resultobj;
17426 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17427 bool result;
17428 PyObject * obj0 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 result = (bool)(arg1)->base_TransferDataToWindow();
17439
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 {
17444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17445 }
17446 return resultobj;
17447 fail:
17448 return NULL;
17449 }
17450
17451
17452 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17453 PyObject *resultobj;
17454 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17455 bool result;
17456 PyObject * obj0 = 0 ;
17457 char *kwnames[] = {
17458 (char *) "self", NULL
17459 };
17460
17461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 result = (bool)(arg1)->base_TransferDataFromWindow();
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 {
17472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17473 }
17474 return resultobj;
17475 fail:
17476 return NULL;
17477 }
17478
17479
17480 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj;
17482 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17483 bool result;
17484 PyObject * obj0 = 0 ;
17485 char *kwnames[] = {
17486 (char *) "self", NULL
17487 };
17488
17489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17492 {
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 result = (bool)(arg1)->base_Validate();
17495
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
17499 {
17500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17501 }
17502 return resultobj;
17503 fail:
17504 return NULL;
17505 }
17506
17507
17508 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj;
17510 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17511 bool result;
17512 PyObject * obj0 = 0 ;
17513 char *kwnames[] = {
17514 (char *) "self", NULL
17515 };
17516
17517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17520 {
17521 PyThreadState* __tstate = wxPyBeginAllowThreads();
17522 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17523
17524 wxPyEndAllowThreads(__tstate);
17525 if (PyErr_Occurred()) SWIG_fail;
17526 }
17527 {
17528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17529 }
17530 return resultobj;
17531 fail:
17532 return NULL;
17533 }
17534
17535
17536 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17537 PyObject *resultobj;
17538 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17539 bool result;
17540 PyObject * obj0 = 0 ;
17541 char *kwnames[] = {
17542 (char *) "self", NULL
17543 };
17544
17545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17548 {
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17551
17552 wxPyEndAllowThreads(__tstate);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
17555 {
17556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17557 }
17558 return resultobj;
17559 fail:
17560 return NULL;
17561 }
17562
17563
17564 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17565 PyObject *resultobj;
17566 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17567 wxSize result;
17568 PyObject * obj0 = 0 ;
17569 char *kwnames[] = {
17570 (char *) "self", NULL
17571 };
17572
17573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17576 {
17577 PyThreadState* __tstate = wxPyBeginAllowThreads();
17578 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17579
17580 wxPyEndAllowThreads(__tstate);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 }
17583 {
17584 wxSize * resultptr;
17585 resultptr = new wxSize((wxSize &) result);
17586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17587 }
17588 return resultobj;
17589 fail:
17590 return NULL;
17591 }
17592
17593
17594 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17595 PyObject *resultobj;
17596 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17597 wxWindow *arg2 = (wxWindow *) 0 ;
17598 PyObject * obj0 = 0 ;
17599 PyObject * obj1 = 0 ;
17600 char *kwnames[] = {
17601 (char *) "self",(char *) "child", NULL
17602 };
17603
17604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17609 {
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 (arg1)->base_AddChild(arg2);
17612
17613 wxPyEndAllowThreads(__tstate);
17614 if (PyErr_Occurred()) SWIG_fail;
17615 }
17616 Py_INCREF(Py_None); resultobj = Py_None;
17617 return resultobj;
17618 fail:
17619 return NULL;
17620 }
17621
17622
17623 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17624 PyObject *resultobj;
17625 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17626 wxWindow *arg2 = (wxWindow *) 0 ;
17627 PyObject * obj0 = 0 ;
17628 PyObject * obj1 = 0 ;
17629 char *kwnames[] = {
17630 (char *) "self",(char *) "child", NULL
17631 };
17632
17633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17638 {
17639 PyThreadState* __tstate = wxPyBeginAllowThreads();
17640 (arg1)->base_RemoveChild(arg2);
17641
17642 wxPyEndAllowThreads(__tstate);
17643 if (PyErr_Occurred()) SWIG_fail;
17644 }
17645 Py_INCREF(Py_None); resultobj = Py_None;
17646 return resultobj;
17647 fail:
17648 return NULL;
17649 }
17650
17651
17652 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17653 PyObject *resultobj;
17654 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17655 bool result;
17656 PyObject * obj0 = 0 ;
17657 char *kwnames[] = {
17658 (char *) "self", NULL
17659 };
17660
17661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17664 {
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
17667
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 {
17672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17673 }
17674 return resultobj;
17675 fail:
17676 return NULL;
17677 }
17678
17679
17680 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17681 PyObject *resultobj;
17682 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17683 wxColour *arg2 = 0 ;
17684 wxColour temp2 ;
17685 PyObject * obj0 = 0 ;
17686 PyObject * obj1 = 0 ;
17687 char *kwnames[] = {
17688 (char *) "self",(char *) "c", NULL
17689 };
17690
17691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17694 {
17695 arg2 = &temp2;
17696 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17697 }
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17701
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 Py_INCREF(Py_None); resultobj = Py_None;
17706 return resultobj;
17707 fail:
17708 return NULL;
17709 }
17710
17711
17712 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17713 PyObject *resultobj;
17714 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17715 wxVisualAttributes result;
17716 PyObject * obj0 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "self", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17724 {
17725 PyThreadState* __tstate = wxPyBeginAllowThreads();
17726 result = (arg1)->base_GetDefaultAttributes();
17727
17728 wxPyEndAllowThreads(__tstate);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 {
17732 wxVisualAttributes * resultptr;
17733 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17734 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17735 }
17736 return resultobj;
17737 fail:
17738 return NULL;
17739 }
17740
17741
17742 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17743 PyObject *obj;
17744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17745 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17746 Py_INCREF(obj);
17747 return Py_BuildValue((char *)"");
17748 }
17749 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17750 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17751 return 1;
17752 }
17753
17754
17755 static PyObject *_wrap_PrintoutTitleStr_get() {
17756 PyObject *pyobj;
17757
17758 {
17759 #if wxUSE_UNICODE
17760 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17761 #else
17762 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17763 #endif
17764 }
17765 return pyobj;
17766 }
17767
17768
17769 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17770 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17771 return 1;
17772 }
17773
17774
17775 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17776 PyObject *pyobj;
17777
17778 {
17779 #if wxUSE_UNICODE
17780 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17781 #else
17782 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17783 #endif
17784 }
17785 return pyobj;
17786 }
17787
17788
17789 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *self, PyObject *args) {
17790 PyObject *resultobj;
17791 wxPrintData *result;
17792
17793 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
17794 {
17795 PyThreadState* __tstate = wxPyBeginAllowThreads();
17796 result = (wxPrintData *)new wxPrintData();
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17802 return resultobj;
17803 fail:
17804 return NULL;
17805 }
17806
17807
17808 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *self, PyObject *args) {
17809 PyObject *resultobj;
17810 wxPrintData *arg1 = 0 ;
17811 wxPrintData *result;
17812 PyObject * obj0 = 0 ;
17813
17814 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
17815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17816 SWIG_POINTER_EXCEPTION | 0)) == -1)
17817 SWIG_fail;
17818 if (arg1 == NULL) {
17819 PyErr_SetString(PyExc_TypeError,"null reference");
17820 SWIG_fail;
17821 }
17822 {
17823 PyThreadState* __tstate = wxPyBeginAllowThreads();
17824 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
17825
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17830 return resultobj;
17831 fail:
17832 return NULL;
17833 }
17834
17835
17836 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
17837 int argc;
17838 PyObject *argv[2];
17839 int ii;
17840
17841 argc = PyObject_Length(args);
17842 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
17843 argv[ii] = PyTuple_GetItem(args,ii);
17844 }
17845 if (argc == 0) {
17846 return _wrap_new_PrintData__SWIG_0(self,args);
17847 }
17848 if (argc == 1) {
17849 int _v;
17850 {
17851 void *ptr;
17852 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
17853 _v = 0;
17854 PyErr_Clear();
17855 } else {
17856 _v = 1;
17857 }
17858 }
17859 if (_v) {
17860 return _wrap_new_PrintData__SWIG_1(self,args);
17861 }
17862 }
17863
17864 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
17865 return NULL;
17866 }
17867
17868
17869 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxPrintData *arg1 = (wxPrintData *) 0 ;
17872 PyObject * obj0 = 0 ;
17873 char *kwnames[] = {
17874 (char *) "self", NULL
17875 };
17876
17877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17880 {
17881 PyThreadState* __tstate = wxPyBeginAllowThreads();
17882 delete arg1;
17883
17884 wxPyEndAllowThreads(__tstate);
17885 if (PyErr_Occurred()) SWIG_fail;
17886 }
17887 Py_INCREF(Py_None); resultobj = Py_None;
17888 return resultobj;
17889 fail:
17890 return NULL;
17891 }
17892
17893
17894 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17895 PyObject *resultobj;
17896 wxPrintData *arg1 = (wxPrintData *) 0 ;
17897 int result;
17898 PyObject * obj0 = 0 ;
17899 char *kwnames[] = {
17900 (char *) "self", NULL
17901 };
17902
17903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17906 {
17907 PyThreadState* __tstate = wxPyBeginAllowThreads();
17908 result = (int)(arg1)->GetNoCopies();
17909
17910 wxPyEndAllowThreads(__tstate);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 resultobj = SWIG_FromInt((int)result);
17914 return resultobj;
17915 fail:
17916 return NULL;
17917 }
17918
17919
17920 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17921 PyObject *resultobj;
17922 wxPrintData *arg1 = (wxPrintData *) 0 ;
17923 bool result;
17924 PyObject * obj0 = 0 ;
17925 char *kwnames[] = {
17926 (char *) "self", NULL
17927 };
17928
17929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17932 {
17933 PyThreadState* __tstate = wxPyBeginAllowThreads();
17934 result = (bool)(arg1)->GetCollate();
17935
17936 wxPyEndAllowThreads(__tstate);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
17939 {
17940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17941 }
17942 return resultobj;
17943 fail:
17944 return NULL;
17945 }
17946
17947
17948 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj;
17950 wxPrintData *arg1 = (wxPrintData *) 0 ;
17951 int result;
17952 PyObject * obj0 = 0 ;
17953 char *kwnames[] = {
17954 (char *) "self", NULL
17955 };
17956
17957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17960 {
17961 PyThreadState* __tstate = wxPyBeginAllowThreads();
17962 result = (int)(arg1)->GetOrientation();
17963
17964 wxPyEndAllowThreads(__tstate);
17965 if (PyErr_Occurred()) SWIG_fail;
17966 }
17967 resultobj = SWIG_FromInt((int)result);
17968 return resultobj;
17969 fail:
17970 return NULL;
17971 }
17972
17973
17974 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17975 PyObject *resultobj;
17976 wxPrintData *arg1 = (wxPrintData *) 0 ;
17977 bool result;
17978 PyObject * obj0 = 0 ;
17979 char *kwnames[] = {
17980 (char *) "self", NULL
17981 };
17982
17983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17986 {
17987 PyThreadState* __tstate = wxPyBeginAllowThreads();
17988 result = (bool)(arg1)->Ok();
17989
17990 wxPyEndAllowThreads(__tstate);
17991 if (PyErr_Occurred()) SWIG_fail;
17992 }
17993 {
17994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17995 }
17996 return resultobj;
17997 fail:
17998 return NULL;
17999 }
18000
18001
18002 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18003 PyObject *resultobj;
18004 wxPrintData *arg1 = (wxPrintData *) 0 ;
18005 wxString *result;
18006 PyObject * obj0 = 0 ;
18007 char *kwnames[] = {
18008 (char *) "self", NULL
18009 };
18010
18011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 {
18017 wxString const &_result_ref = (arg1)->GetPrinterName();
18018 result = (wxString *) &_result_ref;
18019 }
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 {
18025 #if wxUSE_UNICODE
18026 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18027 #else
18028 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18029 #endif
18030 }
18031 return resultobj;
18032 fail:
18033 return NULL;
18034 }
18035
18036
18037 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18038 PyObject *resultobj;
18039 wxPrintData *arg1 = (wxPrintData *) 0 ;
18040 bool result;
18041 PyObject * obj0 = 0 ;
18042 char *kwnames[] = {
18043 (char *) "self", NULL
18044 };
18045
18046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 result = (bool)(arg1)->GetColour();
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 {
18057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18058 }
18059 return resultobj;
18060 fail:
18061 return NULL;
18062 }
18063
18064
18065 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18066 PyObject *resultobj;
18067 wxPrintData *arg1 = (wxPrintData *) 0 ;
18068 int result;
18069 PyObject * obj0 = 0 ;
18070 char *kwnames[] = {
18071 (char *) "self", NULL
18072 };
18073
18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18077 {
18078 PyThreadState* __tstate = wxPyBeginAllowThreads();
18079 result = (int)(arg1)->GetDuplex();
18080
18081 wxPyEndAllowThreads(__tstate);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 resultobj = SWIG_FromInt((int)result);
18085 return resultobj;
18086 fail:
18087 return NULL;
18088 }
18089
18090
18091 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxPrintData *arg1 = (wxPrintData *) 0 ;
18094 int result;
18095 PyObject * obj0 = 0 ;
18096 char *kwnames[] = {
18097 (char *) "self", NULL
18098 };
18099
18100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = (int)(arg1)->GetPaperId();
18106
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 resultobj = SWIG_FromInt((int)result);
18111 return resultobj;
18112 fail:
18113 return NULL;
18114 }
18115
18116
18117 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18118 PyObject *resultobj;
18119 wxPrintData *arg1 = (wxPrintData *) 0 ;
18120 wxSize *result;
18121 PyObject * obj0 = 0 ;
18122 char *kwnames[] = {
18123 (char *) "self", NULL
18124 };
18125
18126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 {
18132 wxSize const &_result_ref = (arg1)->GetPaperSize();
18133 result = (wxSize *) &_result_ref;
18134 }
18135
18136 wxPyEndAllowThreads(__tstate);
18137 if (PyErr_Occurred()) SWIG_fail;
18138 }
18139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18140 return resultobj;
18141 fail:
18142 return NULL;
18143 }
18144
18145
18146 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18147 PyObject *resultobj;
18148 wxPrintData *arg1 = (wxPrintData *) 0 ;
18149 int result;
18150 PyObject * obj0 = 0 ;
18151 char *kwnames[] = {
18152 (char *) "self", NULL
18153 };
18154
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18158 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 result = (int)(arg1)->GetQuality();
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 resultobj = SWIG_FromInt((int)result);
18166 return resultobj;
18167 fail:
18168 return NULL;
18169 }
18170
18171
18172 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18173 PyObject *resultobj;
18174 wxPrintData *arg1 = (wxPrintData *) 0 ;
18175 int arg2 ;
18176 PyObject * obj0 = 0 ;
18177 PyObject * obj1 = 0 ;
18178 char *kwnames[] = {
18179 (char *) "self",(char *) "v", NULL
18180 };
18181
18182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18185 arg2 = (int) SWIG_AsInt(obj1);
18186 if (PyErr_Occurred()) SWIG_fail;
18187 {
18188 PyThreadState* __tstate = wxPyBeginAllowThreads();
18189 (arg1)->SetNoCopies(arg2);
18190
18191 wxPyEndAllowThreads(__tstate);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 Py_INCREF(Py_None); resultobj = Py_None;
18195 return resultobj;
18196 fail:
18197 return NULL;
18198 }
18199
18200
18201 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18202 PyObject *resultobj;
18203 wxPrintData *arg1 = (wxPrintData *) 0 ;
18204 bool arg2 ;
18205 PyObject * obj0 = 0 ;
18206 PyObject * obj1 = 0 ;
18207 char *kwnames[] = {
18208 (char *) "self",(char *) "flag", NULL
18209 };
18210
18211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18214 arg2 = (bool) SWIG_AsBool(obj1);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 {
18217 PyThreadState* __tstate = wxPyBeginAllowThreads();
18218 (arg1)->SetCollate(arg2);
18219
18220 wxPyEndAllowThreads(__tstate);
18221 if (PyErr_Occurred()) SWIG_fail;
18222 }
18223 Py_INCREF(Py_None); resultobj = Py_None;
18224 return resultobj;
18225 fail:
18226 return NULL;
18227 }
18228
18229
18230 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18231 PyObject *resultobj;
18232 wxPrintData *arg1 = (wxPrintData *) 0 ;
18233 int arg2 ;
18234 PyObject * obj0 = 0 ;
18235 PyObject * obj1 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self",(char *) "orient", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18243 arg2 = (int) SWIG_AsInt(obj1);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 (arg1)->SetOrientation(arg2);
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 Py_INCREF(Py_None); resultobj = Py_None;
18253 return resultobj;
18254 fail:
18255 return NULL;
18256 }
18257
18258
18259 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18260 PyObject *resultobj;
18261 wxPrintData *arg1 = (wxPrintData *) 0 ;
18262 wxString *arg2 = 0 ;
18263 bool temp2 = False ;
18264 PyObject * obj0 = 0 ;
18265 PyObject * obj1 = 0 ;
18266 char *kwnames[] = {
18267 (char *) "self",(char *) "name", NULL
18268 };
18269
18270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18273 {
18274 arg2 = wxString_in_helper(obj1);
18275 if (arg2 == NULL) SWIG_fail;
18276 temp2 = True;
18277 }
18278 {
18279 PyThreadState* __tstate = wxPyBeginAllowThreads();
18280 (arg1)->SetPrinterName((wxString const &)*arg2);
18281
18282 wxPyEndAllowThreads(__tstate);
18283 if (PyErr_Occurred()) SWIG_fail;
18284 }
18285 Py_INCREF(Py_None); resultobj = Py_None;
18286 {
18287 if (temp2)
18288 delete arg2;
18289 }
18290 return resultobj;
18291 fail:
18292 {
18293 if (temp2)
18294 delete arg2;
18295 }
18296 return NULL;
18297 }
18298
18299
18300 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18301 PyObject *resultobj;
18302 wxPrintData *arg1 = (wxPrintData *) 0 ;
18303 bool arg2 ;
18304 PyObject * obj0 = 0 ;
18305 PyObject * obj1 = 0 ;
18306 char *kwnames[] = {
18307 (char *) "self",(char *) "colour", NULL
18308 };
18309
18310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18313 arg2 = (bool) SWIG_AsBool(obj1);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 {
18316 PyThreadState* __tstate = wxPyBeginAllowThreads();
18317 (arg1)->SetColour(arg2);
18318
18319 wxPyEndAllowThreads(__tstate);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
18322 Py_INCREF(Py_None); resultobj = Py_None;
18323 return resultobj;
18324 fail:
18325 return NULL;
18326 }
18327
18328
18329 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18330 PyObject *resultobj;
18331 wxPrintData *arg1 = (wxPrintData *) 0 ;
18332 int arg2 ;
18333 PyObject * obj0 = 0 ;
18334 PyObject * obj1 = 0 ;
18335 char *kwnames[] = {
18336 (char *) "self",(char *) "duplex", NULL
18337 };
18338
18339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18342 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 {
18345 PyThreadState* __tstate = wxPyBeginAllowThreads();
18346 (arg1)->SetDuplex((wxDuplexMode )arg2);
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 Py_INCREF(Py_None); resultobj = Py_None;
18352 return resultobj;
18353 fail:
18354 return NULL;
18355 }
18356
18357
18358 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18359 PyObject *resultobj;
18360 wxPrintData *arg1 = (wxPrintData *) 0 ;
18361 int arg2 ;
18362 PyObject * obj0 = 0 ;
18363 PyObject * obj1 = 0 ;
18364 char *kwnames[] = {
18365 (char *) "self",(char *) "sizeId", NULL
18366 };
18367
18368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18371 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18372 if (PyErr_Occurred()) SWIG_fail;
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 (arg1)->SetPaperId((wxPaperSize )arg2);
18376
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 Py_INCREF(Py_None); resultobj = Py_None;
18381 return resultobj;
18382 fail:
18383 return NULL;
18384 }
18385
18386
18387 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18388 PyObject *resultobj;
18389 wxPrintData *arg1 = (wxPrintData *) 0 ;
18390 wxSize *arg2 = 0 ;
18391 wxSize temp2 ;
18392 PyObject * obj0 = 0 ;
18393 PyObject * obj1 = 0 ;
18394 char *kwnames[] = {
18395 (char *) "self",(char *) "sz", NULL
18396 };
18397
18398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18401 {
18402 arg2 = &temp2;
18403 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18404 }
18405 {
18406 PyThreadState* __tstate = wxPyBeginAllowThreads();
18407 (arg1)->SetPaperSize((wxSize const &)*arg2);
18408
18409 wxPyEndAllowThreads(__tstate);
18410 if (PyErr_Occurred()) SWIG_fail;
18411 }
18412 Py_INCREF(Py_None); resultobj = Py_None;
18413 return resultobj;
18414 fail:
18415 return NULL;
18416 }
18417
18418
18419 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18420 PyObject *resultobj;
18421 wxPrintData *arg1 = (wxPrintData *) 0 ;
18422 int arg2 ;
18423 PyObject * obj0 = 0 ;
18424 PyObject * obj1 = 0 ;
18425 char *kwnames[] = {
18426 (char *) "self",(char *) "quality", NULL
18427 };
18428
18429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18432 arg2 = (int) SWIG_AsInt(obj1);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 {
18435 PyThreadState* __tstate = wxPyBeginAllowThreads();
18436 (arg1)->SetQuality(arg2);
18437
18438 wxPyEndAllowThreads(__tstate);
18439 if (PyErr_Occurred()) SWIG_fail;
18440 }
18441 Py_INCREF(Py_None); resultobj = Py_None;
18442 return resultobj;
18443 fail:
18444 return NULL;
18445 }
18446
18447
18448 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18449 PyObject *resultobj;
18450 wxPrintData *arg1 = (wxPrintData *) 0 ;
18451 wxString *result;
18452 PyObject * obj0 = 0 ;
18453 char *kwnames[] = {
18454 (char *) "self", NULL
18455 };
18456
18457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18460 {
18461 PyThreadState* __tstate = wxPyBeginAllowThreads();
18462 {
18463 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18464 result = (wxString *) &_result_ref;
18465 }
18466
18467 wxPyEndAllowThreads(__tstate);
18468 if (PyErr_Occurred()) SWIG_fail;
18469 }
18470 {
18471 #if wxUSE_UNICODE
18472 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18473 #else
18474 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18475 #endif
18476 }
18477 return resultobj;
18478 fail:
18479 return NULL;
18480 }
18481
18482
18483 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18484 PyObject *resultobj;
18485 wxPrintData *arg1 = (wxPrintData *) 0 ;
18486 wxString *result;
18487 PyObject * obj0 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self", NULL
18490 };
18491
18492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18495 {
18496 PyThreadState* __tstate = wxPyBeginAllowThreads();
18497 {
18498 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18499 result = (wxString *) &_result_ref;
18500 }
18501
18502 wxPyEndAllowThreads(__tstate);
18503 if (PyErr_Occurred()) SWIG_fail;
18504 }
18505 {
18506 #if wxUSE_UNICODE
18507 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18508 #else
18509 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18510 #endif
18511 }
18512 return resultobj;
18513 fail:
18514 return NULL;
18515 }
18516
18517
18518 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj;
18520 wxPrintData *arg1 = (wxPrintData *) 0 ;
18521 wxString *result;
18522 PyObject * obj0 = 0 ;
18523 char *kwnames[] = {
18524 (char *) "self", NULL
18525 };
18526
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18530 {
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 {
18533 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18534 result = (wxString *) &_result_ref;
18535 }
18536
18537 wxPyEndAllowThreads(__tstate);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 {
18541 #if wxUSE_UNICODE
18542 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18543 #else
18544 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18545 #endif
18546 }
18547 return resultobj;
18548 fail:
18549 return NULL;
18550 }
18551
18552
18553 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18554 PyObject *resultobj;
18555 wxPrintData *arg1 = (wxPrintData *) 0 ;
18556 wxString *result;
18557 PyObject * obj0 = 0 ;
18558 char *kwnames[] = {
18559 (char *) "self", NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18565 {
18566 PyThreadState* __tstate = wxPyBeginAllowThreads();
18567 {
18568 wxString const &_result_ref = (arg1)->GetFilename();
18569 result = (wxString *) &_result_ref;
18570 }
18571
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 {
18576 #if wxUSE_UNICODE
18577 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18578 #else
18579 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18580 #endif
18581 }
18582 return resultobj;
18583 fail:
18584 return NULL;
18585 }
18586
18587
18588 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18589 PyObject *resultobj;
18590 wxPrintData *arg1 = (wxPrintData *) 0 ;
18591 wxString *result;
18592 PyObject * obj0 = 0 ;
18593 char *kwnames[] = {
18594 (char *) "self", NULL
18595 };
18596
18597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18600 {
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 {
18603 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18604 result = (wxString *) &_result_ref;
18605 }
18606
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
18610 {
18611 #if wxUSE_UNICODE
18612 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18613 #else
18614 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18615 #endif
18616 }
18617 return resultobj;
18618 fail:
18619 return NULL;
18620 }
18621
18622
18623 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18624 PyObject *resultobj;
18625 wxPrintData *arg1 = (wxPrintData *) 0 ;
18626 double result;
18627 PyObject * obj0 = 0 ;
18628 char *kwnames[] = {
18629 (char *) "self", NULL
18630 };
18631
18632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18635 {
18636 PyThreadState* __tstate = wxPyBeginAllowThreads();
18637 result = (double)(arg1)->GetPrinterScaleX();
18638
18639 wxPyEndAllowThreads(__tstate);
18640 if (PyErr_Occurred()) SWIG_fail;
18641 }
18642 resultobj = SWIG_FromDouble((double)result);
18643 return resultobj;
18644 fail:
18645 return NULL;
18646 }
18647
18648
18649 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18650 PyObject *resultobj;
18651 wxPrintData *arg1 = (wxPrintData *) 0 ;
18652 double result;
18653 PyObject * obj0 = 0 ;
18654 char *kwnames[] = {
18655 (char *) "self", NULL
18656 };
18657
18658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18661 {
18662 PyThreadState* __tstate = wxPyBeginAllowThreads();
18663 result = (double)(arg1)->GetPrinterScaleY();
18664
18665 wxPyEndAllowThreads(__tstate);
18666 if (PyErr_Occurred()) SWIG_fail;
18667 }
18668 resultobj = SWIG_FromDouble((double)result);
18669 return resultobj;
18670 fail:
18671 return NULL;
18672 }
18673
18674
18675 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18676 PyObject *resultobj;
18677 wxPrintData *arg1 = (wxPrintData *) 0 ;
18678 long result;
18679 PyObject * obj0 = 0 ;
18680 char *kwnames[] = {
18681 (char *) "self", NULL
18682 };
18683
18684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18687 {
18688 PyThreadState* __tstate = wxPyBeginAllowThreads();
18689 result = (long)(arg1)->GetPrinterTranslateX();
18690
18691 wxPyEndAllowThreads(__tstate);
18692 if (PyErr_Occurred()) SWIG_fail;
18693 }
18694 resultobj = SWIG_FromLong((long)result);
18695 return resultobj;
18696 fail:
18697 return NULL;
18698 }
18699
18700
18701 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18702 PyObject *resultobj;
18703 wxPrintData *arg1 = (wxPrintData *) 0 ;
18704 long result;
18705 PyObject * obj0 = 0 ;
18706 char *kwnames[] = {
18707 (char *) "self", NULL
18708 };
18709
18710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18713 {
18714 PyThreadState* __tstate = wxPyBeginAllowThreads();
18715 result = (long)(arg1)->GetPrinterTranslateY();
18716
18717 wxPyEndAllowThreads(__tstate);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 }
18720 resultobj = SWIG_FromLong((long)result);
18721 return resultobj;
18722 fail:
18723 return NULL;
18724 }
18725
18726
18727 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18728 PyObject *resultobj;
18729 wxPrintData *arg1 = (wxPrintData *) 0 ;
18730 int result;
18731 PyObject * obj0 = 0 ;
18732 char *kwnames[] = {
18733 (char *) "self", NULL
18734 };
18735
18736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18739 {
18740 PyThreadState* __tstate = wxPyBeginAllowThreads();
18741 result = (int)(arg1)->GetPrintMode();
18742
18743 wxPyEndAllowThreads(__tstate);
18744 if (PyErr_Occurred()) SWIG_fail;
18745 }
18746 resultobj = SWIG_FromInt((int)result);
18747 return resultobj;
18748 fail:
18749 return NULL;
18750 }
18751
18752
18753 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18754 PyObject *resultobj;
18755 wxPrintData *arg1 = (wxPrintData *) 0 ;
18756 wxString *arg2 = 0 ;
18757 bool temp2 = False ;
18758 PyObject * obj0 = 0 ;
18759 PyObject * obj1 = 0 ;
18760 char *kwnames[] = {
18761 (char *) "self",(char *) "command", NULL
18762 };
18763
18764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18767 {
18768 arg2 = wxString_in_helper(obj1);
18769 if (arg2 == NULL) SWIG_fail;
18770 temp2 = True;
18771 }
18772 {
18773 PyThreadState* __tstate = wxPyBeginAllowThreads();
18774 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18775
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 Py_INCREF(Py_None); resultobj = Py_None;
18780 {
18781 if (temp2)
18782 delete arg2;
18783 }
18784 return resultobj;
18785 fail:
18786 {
18787 if (temp2)
18788 delete arg2;
18789 }
18790 return NULL;
18791 }
18792
18793
18794 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18795 PyObject *resultobj;
18796 wxPrintData *arg1 = (wxPrintData *) 0 ;
18797 wxString *arg2 = 0 ;
18798 bool temp2 = False ;
18799 PyObject * obj0 = 0 ;
18800 PyObject * obj1 = 0 ;
18801 char *kwnames[] = {
18802 (char *) "self",(char *) "options", NULL
18803 };
18804
18805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18808 {
18809 arg2 = wxString_in_helper(obj1);
18810 if (arg2 == NULL) SWIG_fail;
18811 temp2 = True;
18812 }
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 Py_INCREF(Py_None); resultobj = Py_None;
18821 {
18822 if (temp2)
18823 delete arg2;
18824 }
18825 return resultobj;
18826 fail:
18827 {
18828 if (temp2)
18829 delete arg2;
18830 }
18831 return NULL;
18832 }
18833
18834
18835 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18836 PyObject *resultobj;
18837 wxPrintData *arg1 = (wxPrintData *) 0 ;
18838 wxString *arg2 = 0 ;
18839 bool temp2 = False ;
18840 PyObject * obj0 = 0 ;
18841 PyObject * obj1 = 0 ;
18842 char *kwnames[] = {
18843 (char *) "self",(char *) "command", NULL
18844 };
18845
18846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18849 {
18850 arg2 = wxString_in_helper(obj1);
18851 if (arg2 == NULL) SWIG_fail;
18852 temp2 = True;
18853 }
18854 {
18855 PyThreadState* __tstate = wxPyBeginAllowThreads();
18856 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18857
18858 wxPyEndAllowThreads(__tstate);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
18861 Py_INCREF(Py_None); resultobj = Py_None;
18862 {
18863 if (temp2)
18864 delete arg2;
18865 }
18866 return resultobj;
18867 fail:
18868 {
18869 if (temp2)
18870 delete arg2;
18871 }
18872 return NULL;
18873 }
18874
18875
18876 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxPrintData *arg1 = (wxPrintData *) 0 ;
18879 wxString *arg2 = 0 ;
18880 bool temp2 = False ;
18881 PyObject * obj0 = 0 ;
18882 PyObject * obj1 = 0 ;
18883 char *kwnames[] = {
18884 (char *) "self",(char *) "filename", NULL
18885 };
18886
18887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18890 {
18891 arg2 = wxString_in_helper(obj1);
18892 if (arg2 == NULL) SWIG_fail;
18893 temp2 = True;
18894 }
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 (arg1)->SetFilename((wxString const &)*arg2);
18898
18899 wxPyEndAllowThreads(__tstate);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
18902 Py_INCREF(Py_None); resultobj = Py_None;
18903 {
18904 if (temp2)
18905 delete arg2;
18906 }
18907 return resultobj;
18908 fail:
18909 {
18910 if (temp2)
18911 delete arg2;
18912 }
18913 return NULL;
18914 }
18915
18916
18917 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18918 PyObject *resultobj;
18919 wxPrintData *arg1 = (wxPrintData *) 0 ;
18920 wxString *arg2 = 0 ;
18921 bool temp2 = False ;
18922 PyObject * obj0 = 0 ;
18923 PyObject * obj1 = 0 ;
18924 char *kwnames[] = {
18925 (char *) "self",(char *) "path", NULL
18926 };
18927
18928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18931 {
18932 arg2 = wxString_in_helper(obj1);
18933 if (arg2 == NULL) SWIG_fail;
18934 temp2 = True;
18935 }
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18939
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 Py_INCREF(Py_None); resultobj = Py_None;
18944 {
18945 if (temp2)
18946 delete arg2;
18947 }
18948 return resultobj;
18949 fail:
18950 {
18951 if (temp2)
18952 delete arg2;
18953 }
18954 return NULL;
18955 }
18956
18957
18958 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18959 PyObject *resultobj;
18960 wxPrintData *arg1 = (wxPrintData *) 0 ;
18961 double arg2 ;
18962 PyObject * obj0 = 0 ;
18963 PyObject * obj1 = 0 ;
18964 char *kwnames[] = {
18965 (char *) "self",(char *) "x", NULL
18966 };
18967
18968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18971 arg2 = (double) SWIG_AsDouble(obj1);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 {
18974 PyThreadState* __tstate = wxPyBeginAllowThreads();
18975 (arg1)->SetPrinterScaleX(arg2);
18976
18977 wxPyEndAllowThreads(__tstate);
18978 if (PyErr_Occurred()) SWIG_fail;
18979 }
18980 Py_INCREF(Py_None); resultobj = Py_None;
18981 return resultobj;
18982 fail:
18983 return NULL;
18984 }
18985
18986
18987 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18988 PyObject *resultobj;
18989 wxPrintData *arg1 = (wxPrintData *) 0 ;
18990 double arg2 ;
18991 PyObject * obj0 = 0 ;
18992 PyObject * obj1 = 0 ;
18993 char *kwnames[] = {
18994 (char *) "self",(char *) "y", NULL
18995 };
18996
18997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19000 arg2 = (double) SWIG_AsDouble(obj1);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 {
19003 PyThreadState* __tstate = wxPyBeginAllowThreads();
19004 (arg1)->SetPrinterScaleY(arg2);
19005
19006 wxPyEndAllowThreads(__tstate);
19007 if (PyErr_Occurred()) SWIG_fail;
19008 }
19009 Py_INCREF(Py_None); resultobj = Py_None;
19010 return resultobj;
19011 fail:
19012 return NULL;
19013 }
19014
19015
19016 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19017 PyObject *resultobj;
19018 wxPrintData *arg1 = (wxPrintData *) 0 ;
19019 double arg2 ;
19020 double arg3 ;
19021 PyObject * obj0 = 0 ;
19022 PyObject * obj1 = 0 ;
19023 PyObject * obj2 = 0 ;
19024 char *kwnames[] = {
19025 (char *) "self",(char *) "x",(char *) "y", NULL
19026 };
19027
19028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19031 arg2 = (double) SWIG_AsDouble(obj1);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 arg3 = (double) SWIG_AsDouble(obj2);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 {
19036 PyThreadState* __tstate = wxPyBeginAllowThreads();
19037 (arg1)->SetPrinterScaling(arg2,arg3);
19038
19039 wxPyEndAllowThreads(__tstate);
19040 if (PyErr_Occurred()) SWIG_fail;
19041 }
19042 Py_INCREF(Py_None); resultobj = Py_None;
19043 return resultobj;
19044 fail:
19045 return NULL;
19046 }
19047
19048
19049 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
19050 PyObject *resultobj;
19051 wxPrintData *arg1 = (wxPrintData *) 0 ;
19052 long arg2 ;
19053 PyObject * obj0 = 0 ;
19054 PyObject * obj1 = 0 ;
19055 char *kwnames[] = {
19056 (char *) "self",(char *) "x", NULL
19057 };
19058
19059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19062 arg2 = (long) SWIG_AsLong(obj1);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 {
19065 PyThreadState* __tstate = wxPyBeginAllowThreads();
19066 (arg1)->SetPrinterTranslateX(arg2);
19067
19068 wxPyEndAllowThreads(__tstate);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 }
19071 Py_INCREF(Py_None); resultobj = Py_None;
19072 return resultobj;
19073 fail:
19074 return NULL;
19075 }
19076
19077
19078 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
19079 PyObject *resultobj;
19080 wxPrintData *arg1 = (wxPrintData *) 0 ;
19081 long arg2 ;
19082 PyObject * obj0 = 0 ;
19083 PyObject * obj1 = 0 ;
19084 char *kwnames[] = {
19085 (char *) "self",(char *) "y", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19091 arg2 = (long) SWIG_AsLong(obj1);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 {
19094 PyThreadState* __tstate = wxPyBeginAllowThreads();
19095 (arg1)->SetPrinterTranslateY(arg2);
19096
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 Py_INCREF(Py_None); resultobj = Py_None;
19101 return resultobj;
19102 fail:
19103 return NULL;
19104 }
19105
19106
19107 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
19108 PyObject *resultobj;
19109 wxPrintData *arg1 = (wxPrintData *) 0 ;
19110 long arg2 ;
19111 long arg3 ;
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 PyObject * obj2 = 0 ;
19115 char *kwnames[] = {
19116 (char *) "self",(char *) "x",(char *) "y", NULL
19117 };
19118
19119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19122 arg2 = (long) SWIG_AsLong(obj1);
19123 if (PyErr_Occurred()) SWIG_fail;
19124 arg3 = (long) SWIG_AsLong(obj2);
19125 if (PyErr_Occurred()) SWIG_fail;
19126 {
19127 PyThreadState* __tstate = wxPyBeginAllowThreads();
19128 (arg1)->SetPrinterTranslation(arg2,arg3);
19129
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 Py_INCREF(Py_None); resultobj = Py_None;
19134 return resultobj;
19135 fail:
19136 return NULL;
19137 }
19138
19139
19140 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj;
19142 wxPrintData *arg1 = (wxPrintData *) 0 ;
19143 int arg2 ;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 char *kwnames[] = {
19147 (char *) "self",(char *) "printMode", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19153 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 {
19156 PyThreadState* __tstate = wxPyBeginAllowThreads();
19157 (arg1)->SetPrintMode((wxPrintMode )arg2);
19158
19159 wxPyEndAllowThreads(__tstate);
19160 if (PyErr_Occurred()) SWIG_fail;
19161 }
19162 Py_INCREF(Py_None); resultobj = Py_None;
19163 return resultobj;
19164 fail:
19165 return NULL;
19166 }
19167
19168
19169 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19170 PyObject *resultobj;
19171 wxPrintData *arg1 = (wxPrintData *) 0 ;
19172 wxOutputStream *result;
19173 PyObject * obj0 = 0 ;
19174 char *kwnames[] = {
19175 (char *) "self", NULL
19176 };
19177
19178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19181 {
19182 PyThreadState* __tstate = wxPyBeginAllowThreads();
19183 result = (wxOutputStream *)(arg1)->GetOutputStream();
19184
19185 wxPyEndAllowThreads(__tstate);
19186 if (PyErr_Occurred()) SWIG_fail;
19187 }
19188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19189 return resultobj;
19190 fail:
19191 return NULL;
19192 }
19193
19194
19195 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19196 PyObject *resultobj;
19197 wxPrintData *arg1 = (wxPrintData *) 0 ;
19198 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19199 PyObject * obj0 = 0 ;
19200 PyObject * obj1 = 0 ;
19201 char *kwnames[] = {
19202 (char *) "self",(char *) "outputstream", NULL
19203 };
19204
19205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19210 {
19211 PyThreadState* __tstate = wxPyBeginAllowThreads();
19212 (arg1)->SetOutputStream(arg2);
19213
19214 wxPyEndAllowThreads(__tstate);
19215 if (PyErr_Occurred()) SWIG_fail;
19216 }
19217 Py_INCREF(Py_None); resultobj = Py_None;
19218 return resultobj;
19219 fail:
19220 return NULL;
19221 }
19222
19223
19224 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
19225 PyObject *obj;
19226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19227 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19228 Py_INCREF(obj);
19229 return Py_BuildValue((char *)"");
19230 }
19231 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *self, PyObject *args) {
19232 PyObject *resultobj;
19233 wxPageSetupDialogData *result;
19234
19235 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19236 {
19237 PyThreadState* __tstate = wxPyBeginAllowThreads();
19238 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19239
19240 wxPyEndAllowThreads(__tstate);
19241 if (PyErr_Occurred()) SWIG_fail;
19242 }
19243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19244 return resultobj;
19245 fail:
19246 return NULL;
19247 }
19248
19249
19250 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *self, PyObject *args) {
19251 PyObject *resultobj;
19252 wxPageSetupDialogData *arg1 = 0 ;
19253 wxPageSetupDialogData *result;
19254 PyObject * obj0 = 0 ;
19255
19256 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19258 SWIG_POINTER_EXCEPTION | 0)) == -1)
19259 SWIG_fail;
19260 if (arg1 == NULL) {
19261 PyErr_SetString(PyExc_TypeError,"null reference");
19262 SWIG_fail;
19263 }
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19267
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19272 return resultobj;
19273 fail:
19274 return NULL;
19275 }
19276
19277
19278 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19279 int argc;
19280 PyObject *argv[2];
19281 int ii;
19282
19283 argc = PyObject_Length(args);
19284 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19285 argv[ii] = PyTuple_GetItem(args,ii);
19286 }
19287 if (argc == 0) {
19288 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19289 }
19290 if (argc == 1) {
19291 int _v;
19292 {
19293 void *ptr;
19294 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19295 _v = 0;
19296 PyErr_Clear();
19297 } else {
19298 _v = 1;
19299 }
19300 }
19301 if (_v) {
19302 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19303 }
19304 }
19305
19306 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19307 return NULL;
19308 }
19309
19310
19311 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19312 PyObject *resultobj;
19313 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19314 PyObject * obj0 = 0 ;
19315 char *kwnames[] = {
19316 (char *) "self", NULL
19317 };
19318
19319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19322 {
19323 PyThreadState* __tstate = wxPyBeginAllowThreads();
19324 delete arg1;
19325
19326 wxPyEndAllowThreads(__tstate);
19327 if (PyErr_Occurred()) SWIG_fail;
19328 }
19329 Py_INCREF(Py_None); resultobj = Py_None;
19330 return resultobj;
19331 fail:
19332 return NULL;
19333 }
19334
19335
19336 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19337 PyObject *resultobj;
19338 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19339 bool arg2 ;
19340 PyObject * obj0 = 0 ;
19341 PyObject * obj1 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self",(char *) "flag", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19349 arg2 = (bool) SWIG_AsBool(obj1);
19350 if (PyErr_Occurred()) SWIG_fail;
19351 {
19352 PyThreadState* __tstate = wxPyBeginAllowThreads();
19353 (arg1)->EnableHelp(arg2);
19354
19355 wxPyEndAllowThreads(__tstate);
19356 if (PyErr_Occurred()) SWIG_fail;
19357 }
19358 Py_INCREF(Py_None); resultobj = Py_None;
19359 return resultobj;
19360 fail:
19361 return NULL;
19362 }
19363
19364
19365 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19366 PyObject *resultobj;
19367 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19368 bool arg2 ;
19369 PyObject * obj0 = 0 ;
19370 PyObject * obj1 = 0 ;
19371 char *kwnames[] = {
19372 (char *) "self",(char *) "flag", NULL
19373 };
19374
19375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19378 arg2 = (bool) SWIG_AsBool(obj1);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 (arg1)->EnableMargins(arg2);
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 Py_INCREF(Py_None); resultobj = Py_None;
19388 return resultobj;
19389 fail:
19390 return NULL;
19391 }
19392
19393
19394 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19395 PyObject *resultobj;
19396 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19397 bool arg2 ;
19398 PyObject * obj0 = 0 ;
19399 PyObject * obj1 = 0 ;
19400 char *kwnames[] = {
19401 (char *) "self",(char *) "flag", NULL
19402 };
19403
19404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19407 arg2 = (bool) SWIG_AsBool(obj1);
19408 if (PyErr_Occurred()) SWIG_fail;
19409 {
19410 PyThreadState* __tstate = wxPyBeginAllowThreads();
19411 (arg1)->EnableOrientation(arg2);
19412
19413 wxPyEndAllowThreads(__tstate);
19414 if (PyErr_Occurred()) SWIG_fail;
19415 }
19416 Py_INCREF(Py_None); resultobj = Py_None;
19417 return resultobj;
19418 fail:
19419 return NULL;
19420 }
19421
19422
19423 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19424 PyObject *resultobj;
19425 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19426 bool arg2 ;
19427 PyObject * obj0 = 0 ;
19428 PyObject * obj1 = 0 ;
19429 char *kwnames[] = {
19430 (char *) "self",(char *) "flag", NULL
19431 };
19432
19433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19436 arg2 = (bool) SWIG_AsBool(obj1);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 {
19439 PyThreadState* __tstate = wxPyBeginAllowThreads();
19440 (arg1)->EnablePaper(arg2);
19441
19442 wxPyEndAllowThreads(__tstate);
19443 if (PyErr_Occurred()) SWIG_fail;
19444 }
19445 Py_INCREF(Py_None); resultobj = Py_None;
19446 return resultobj;
19447 fail:
19448 return NULL;
19449 }
19450
19451
19452 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj;
19454 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19455 bool arg2 ;
19456 PyObject * obj0 = 0 ;
19457 PyObject * obj1 = 0 ;
19458 char *kwnames[] = {
19459 (char *) "self",(char *) "flag", NULL
19460 };
19461
19462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19465 arg2 = (bool) SWIG_AsBool(obj1);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 {
19468 PyThreadState* __tstate = wxPyBeginAllowThreads();
19469 (arg1)->EnablePrinter(arg2);
19470
19471 wxPyEndAllowThreads(__tstate);
19472 if (PyErr_Occurred()) SWIG_fail;
19473 }
19474 Py_INCREF(Py_None); resultobj = Py_None;
19475 return resultobj;
19476 fail:
19477 return NULL;
19478 }
19479
19480
19481 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19482 PyObject *resultobj;
19483 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19484 bool result;
19485 PyObject * obj0 = 0 ;
19486 char *kwnames[] = {
19487 (char *) "self", NULL
19488 };
19489
19490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
19495 result = (bool)(arg1)->GetDefaultMinMargins();
19496
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 {
19501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19502 }
19503 return resultobj;
19504 fail:
19505 return NULL;
19506 }
19507
19508
19509 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19510 PyObject *resultobj;
19511 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19512 bool result;
19513 PyObject * obj0 = 0 ;
19514 char *kwnames[] = {
19515 (char *) "self", NULL
19516 };
19517
19518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 result = (bool)(arg1)->GetEnableMargins();
19524
19525 wxPyEndAllowThreads(__tstate);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
19528 {
19529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19530 }
19531 return resultobj;
19532 fail:
19533 return NULL;
19534 }
19535
19536
19537 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19538 PyObject *resultobj;
19539 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19540 bool result;
19541 PyObject * obj0 = 0 ;
19542 char *kwnames[] = {
19543 (char *) "self", NULL
19544 };
19545
19546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19549 {
19550 PyThreadState* __tstate = wxPyBeginAllowThreads();
19551 result = (bool)(arg1)->GetEnableOrientation();
19552
19553 wxPyEndAllowThreads(__tstate);
19554 if (PyErr_Occurred()) SWIG_fail;
19555 }
19556 {
19557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19558 }
19559 return resultobj;
19560 fail:
19561 return NULL;
19562 }
19563
19564
19565 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19566 PyObject *resultobj;
19567 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19568 bool result;
19569 PyObject * obj0 = 0 ;
19570 char *kwnames[] = {
19571 (char *) "self", NULL
19572 };
19573
19574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 result = (bool)(arg1)->GetEnablePaper();
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 {
19585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19586 }
19587 return resultobj;
19588 fail:
19589 return NULL;
19590 }
19591
19592
19593 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19594 PyObject *resultobj;
19595 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19596 bool result;
19597 PyObject * obj0 = 0 ;
19598 char *kwnames[] = {
19599 (char *) "self", NULL
19600 };
19601
19602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19605 {
19606 PyThreadState* __tstate = wxPyBeginAllowThreads();
19607 result = (bool)(arg1)->GetEnablePrinter();
19608
19609 wxPyEndAllowThreads(__tstate);
19610 if (PyErr_Occurred()) SWIG_fail;
19611 }
19612 {
19613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19614 }
19615 return resultobj;
19616 fail:
19617 return NULL;
19618 }
19619
19620
19621 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19622 PyObject *resultobj;
19623 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19624 bool result;
19625 PyObject * obj0 = 0 ;
19626 char *kwnames[] = {
19627 (char *) "self", NULL
19628 };
19629
19630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19633 {
19634 PyThreadState* __tstate = wxPyBeginAllowThreads();
19635 result = (bool)(arg1)->GetEnableHelp();
19636
19637 wxPyEndAllowThreads(__tstate);
19638 if (PyErr_Occurred()) SWIG_fail;
19639 }
19640 {
19641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19642 }
19643 return resultobj;
19644 fail:
19645 return NULL;
19646 }
19647
19648
19649 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19650 PyObject *resultobj;
19651 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19652 bool result;
19653 PyObject * obj0 = 0 ;
19654 char *kwnames[] = {
19655 (char *) "self", NULL
19656 };
19657
19658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 result = (bool)(arg1)->GetDefaultInfo();
19664
19665 wxPyEndAllowThreads(__tstate);
19666 if (PyErr_Occurred()) SWIG_fail;
19667 }
19668 {
19669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19670 }
19671 return resultobj;
19672 fail:
19673 return NULL;
19674 }
19675
19676
19677 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19678 PyObject *resultobj;
19679 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19680 wxPoint result;
19681 PyObject * obj0 = 0 ;
19682 char *kwnames[] = {
19683 (char *) "self", NULL
19684 };
19685
19686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19689 {
19690 PyThreadState* __tstate = wxPyBeginAllowThreads();
19691 result = (arg1)->GetMarginTopLeft();
19692
19693 wxPyEndAllowThreads(__tstate);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
19696 {
19697 wxPoint * resultptr;
19698 resultptr = new wxPoint((wxPoint &) result);
19699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19700 }
19701 return resultobj;
19702 fail:
19703 return NULL;
19704 }
19705
19706
19707 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19708 PyObject *resultobj;
19709 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19710 wxPoint result;
19711 PyObject * obj0 = 0 ;
19712 char *kwnames[] = {
19713 (char *) "self", NULL
19714 };
19715
19716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19719 {
19720 PyThreadState* __tstate = wxPyBeginAllowThreads();
19721 result = (arg1)->GetMarginBottomRight();
19722
19723 wxPyEndAllowThreads(__tstate);
19724 if (PyErr_Occurred()) SWIG_fail;
19725 }
19726 {
19727 wxPoint * resultptr;
19728 resultptr = new wxPoint((wxPoint &) result);
19729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19730 }
19731 return resultobj;
19732 fail:
19733 return NULL;
19734 }
19735
19736
19737 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19738 PyObject *resultobj;
19739 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19740 wxPoint result;
19741 PyObject * obj0 = 0 ;
19742 char *kwnames[] = {
19743 (char *) "self", NULL
19744 };
19745
19746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19749 {
19750 PyThreadState* __tstate = wxPyBeginAllowThreads();
19751 result = (arg1)->GetMinMarginTopLeft();
19752
19753 wxPyEndAllowThreads(__tstate);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 }
19756 {
19757 wxPoint * resultptr;
19758 resultptr = new wxPoint((wxPoint &) result);
19759 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19760 }
19761 return resultobj;
19762 fail:
19763 return NULL;
19764 }
19765
19766
19767 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19768 PyObject *resultobj;
19769 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19770 wxPoint result;
19771 PyObject * obj0 = 0 ;
19772 char *kwnames[] = {
19773 (char *) "self", NULL
19774 };
19775
19776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19779 {
19780 PyThreadState* __tstate = wxPyBeginAllowThreads();
19781 result = (arg1)->GetMinMarginBottomRight();
19782
19783 wxPyEndAllowThreads(__tstate);
19784 if (PyErr_Occurred()) SWIG_fail;
19785 }
19786 {
19787 wxPoint * resultptr;
19788 resultptr = new wxPoint((wxPoint &) result);
19789 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19790 }
19791 return resultobj;
19792 fail:
19793 return NULL;
19794 }
19795
19796
19797 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19798 PyObject *resultobj;
19799 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19800 int result;
19801 PyObject * obj0 = 0 ;
19802 char *kwnames[] = {
19803 (char *) "self", NULL
19804 };
19805
19806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 result = (int)(arg1)->GetPaperId();
19812
19813 wxPyEndAllowThreads(__tstate);
19814 if (PyErr_Occurred()) SWIG_fail;
19815 }
19816 resultobj = SWIG_FromInt((int)result);
19817 return resultobj;
19818 fail:
19819 return NULL;
19820 }
19821
19822
19823 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19824 PyObject *resultobj;
19825 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19826 wxSize result;
19827 PyObject * obj0 = 0 ;
19828 char *kwnames[] = {
19829 (char *) "self", NULL
19830 };
19831
19832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19835 {
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 result = (arg1)->GetPaperSize();
19838
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 {
19843 wxSize * resultptr;
19844 resultptr = new wxSize((wxSize &) result);
19845 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19846 }
19847 return resultobj;
19848 fail:
19849 return NULL;
19850 }
19851
19852
19853 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj;
19855 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19856 wxPrintData *result;
19857 PyObject * obj0 = 0 ;
19858 char *kwnames[] = {
19859 (char *) "self", NULL
19860 };
19861
19862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19865 {
19866 PyThreadState* __tstate = wxPyBeginAllowThreads();
19867 {
19868 wxPrintData &_result_ref = (arg1)->GetPrintData();
19869 result = (wxPrintData *) &_result_ref;
19870 }
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19876 return resultobj;
19877 fail:
19878 return NULL;
19879 }
19880
19881
19882 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19883 PyObject *resultobj;
19884 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19885 bool result;
19886 PyObject * obj0 = 0 ;
19887 char *kwnames[] = {
19888 (char *) "self", NULL
19889 };
19890
19891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 result = (bool)(arg1)->Ok();
19897
19898 wxPyEndAllowThreads(__tstate);
19899 if (PyErr_Occurred()) SWIG_fail;
19900 }
19901 {
19902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19903 }
19904 return resultobj;
19905 fail:
19906 return NULL;
19907 }
19908
19909
19910 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19911 PyObject *resultobj;
19912 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19913 bool arg2 ;
19914 PyObject * obj0 = 0 ;
19915 PyObject * obj1 = 0 ;
19916 char *kwnames[] = {
19917 (char *) "self",(char *) "flag", NULL
19918 };
19919
19920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19923 arg2 = (bool) SWIG_AsBool(obj1);
19924 if (PyErr_Occurred()) SWIG_fail;
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 (arg1)->SetDefaultInfo(arg2);
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 Py_INCREF(Py_None); resultobj = Py_None;
19933 return resultobj;
19934 fail:
19935 return NULL;
19936 }
19937
19938
19939 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19940 PyObject *resultobj;
19941 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19942 bool arg2 ;
19943 PyObject * obj0 = 0 ;
19944 PyObject * obj1 = 0 ;
19945 char *kwnames[] = {
19946 (char *) "self",(char *) "flag", NULL
19947 };
19948
19949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19952 arg2 = (bool) SWIG_AsBool(obj1);
19953 if (PyErr_Occurred()) SWIG_fail;
19954 {
19955 PyThreadState* __tstate = wxPyBeginAllowThreads();
19956 (arg1)->SetDefaultMinMargins(arg2);
19957
19958 wxPyEndAllowThreads(__tstate);
19959 if (PyErr_Occurred()) SWIG_fail;
19960 }
19961 Py_INCREF(Py_None); resultobj = Py_None;
19962 return resultobj;
19963 fail:
19964 return NULL;
19965 }
19966
19967
19968 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19969 PyObject *resultobj;
19970 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19971 wxPoint *arg2 = 0 ;
19972 wxPoint temp2 ;
19973 PyObject * obj0 = 0 ;
19974 PyObject * obj1 = 0 ;
19975 char *kwnames[] = {
19976 (char *) "self",(char *) "pt", NULL
19977 };
19978
19979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19982 {
19983 arg2 = &temp2;
19984 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19985 }
19986 {
19987 PyThreadState* __tstate = wxPyBeginAllowThreads();
19988 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19989
19990 wxPyEndAllowThreads(__tstate);
19991 if (PyErr_Occurred()) SWIG_fail;
19992 }
19993 Py_INCREF(Py_None); resultobj = Py_None;
19994 return resultobj;
19995 fail:
19996 return NULL;
19997 }
19998
19999
20000 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20001 PyObject *resultobj;
20002 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20003 wxPoint *arg2 = 0 ;
20004 wxPoint temp2 ;
20005 PyObject * obj0 = 0 ;
20006 PyObject * obj1 = 0 ;
20007 char *kwnames[] = {
20008 (char *) "self",(char *) "pt", NULL
20009 };
20010
20011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20014 {
20015 arg2 = &temp2;
20016 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20017 }
20018 {
20019 PyThreadState* __tstate = wxPyBeginAllowThreads();
20020 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20021
20022 wxPyEndAllowThreads(__tstate);
20023 if (PyErr_Occurred()) SWIG_fail;
20024 }
20025 Py_INCREF(Py_None); resultobj = Py_None;
20026 return resultobj;
20027 fail:
20028 return NULL;
20029 }
20030
20031
20032 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20033 PyObject *resultobj;
20034 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20035 wxPoint *arg2 = 0 ;
20036 wxPoint temp2 ;
20037 PyObject * obj0 = 0 ;
20038 PyObject * obj1 = 0 ;
20039 char *kwnames[] = {
20040 (char *) "self",(char *) "pt", NULL
20041 };
20042
20043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20046 {
20047 arg2 = &temp2;
20048 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20049 }
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 Py_INCREF(Py_None); resultobj = Py_None;
20058 return resultobj;
20059 fail:
20060 return NULL;
20061 }
20062
20063
20064 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20065 PyObject *resultobj;
20066 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20067 wxPoint *arg2 = 0 ;
20068 wxPoint temp2 ;
20069 PyObject * obj0 = 0 ;
20070 PyObject * obj1 = 0 ;
20071 char *kwnames[] = {
20072 (char *) "self",(char *) "pt", NULL
20073 };
20074
20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20078 {
20079 arg2 = &temp2;
20080 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20081 }
20082 {
20083 PyThreadState* __tstate = wxPyBeginAllowThreads();
20084 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20085
20086 wxPyEndAllowThreads(__tstate);
20087 if (PyErr_Occurred()) SWIG_fail;
20088 }
20089 Py_INCREF(Py_None); resultobj = Py_None;
20090 return resultobj;
20091 fail:
20092 return NULL;
20093 }
20094
20095
20096 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
20097 PyObject *resultobj;
20098 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20099 int arg2 ;
20100 PyObject * obj0 = 0 ;
20101 PyObject * obj1 = 0 ;
20102 char *kwnames[] = {
20103 (char *) "self",(char *) "id", NULL
20104 };
20105
20106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20109 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
20110 if (PyErr_Occurred()) SWIG_fail;
20111 {
20112 PyThreadState* __tstate = wxPyBeginAllowThreads();
20113 (arg1)->SetPaperId((wxPaperSize )arg2);
20114
20115 wxPyEndAllowThreads(__tstate);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 Py_INCREF(Py_None); resultobj = Py_None;
20119 return resultobj;
20120 fail:
20121 return NULL;
20122 }
20123
20124
20125 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20126 PyObject *resultobj;
20127 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20128 wxSize *arg2 = 0 ;
20129 wxSize temp2 ;
20130 PyObject * obj0 = 0 ;
20131 PyObject * obj1 = 0 ;
20132 char *kwnames[] = {
20133 (char *) "self",(char *) "size", NULL
20134 };
20135
20136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20139 {
20140 arg2 = &temp2;
20141 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20142 }
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 (arg1)->SetPaperSize((wxSize const &)*arg2);
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 Py_INCREF(Py_None); resultobj = Py_None;
20151 return resultobj;
20152 fail:
20153 return NULL;
20154 }
20155
20156
20157 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20158 PyObject *resultobj;
20159 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20160 wxPrintData *arg2 = 0 ;
20161 PyObject * obj0 = 0 ;
20162 PyObject * obj1 = 0 ;
20163 char *kwnames[] = {
20164 (char *) "self",(char *) "printData", NULL
20165 };
20166
20167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20171 SWIG_POINTER_EXCEPTION | 0)) == -1)
20172 SWIG_fail;
20173 if (arg2 == NULL) {
20174 PyErr_SetString(PyExc_TypeError,"null reference");
20175 SWIG_fail;
20176 }
20177 {
20178 PyThreadState* __tstate = wxPyBeginAllowThreads();
20179 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20180
20181 wxPyEndAllowThreads(__tstate);
20182 if (PyErr_Occurred()) SWIG_fail;
20183 }
20184 Py_INCREF(Py_None); resultobj = Py_None;
20185 return resultobj;
20186 fail:
20187 return NULL;
20188 }
20189
20190
20191 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
20192 PyObject *obj;
20193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20194 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20195 Py_INCREF(obj);
20196 return Py_BuildValue((char *)"");
20197 }
20198 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20199 PyObject *resultobj;
20200 wxWindow *arg1 = (wxWindow *) 0 ;
20201 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20202 wxPageSetupDialog *result;
20203 PyObject * obj0 = 0 ;
20204 PyObject * obj1 = 0 ;
20205 char *kwnames[] = {
20206 (char *) "parent",(char *) "data", NULL
20207 };
20208
20209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20212 if (obj1) {
20213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20215 }
20216 {
20217 if (!wxPyCheckForApp()) SWIG_fail;
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
20224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20225 return resultobj;
20226 fail:
20227 return NULL;
20228 }
20229
20230
20231 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj;
20233 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20234 wxPageSetupDialogData *result;
20235 PyObject * obj0 = 0 ;
20236 char *kwnames[] = {
20237 (char *) "self", NULL
20238 };
20239
20240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20243 {
20244 PyThreadState* __tstate = wxPyBeginAllowThreads();
20245 {
20246 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20247 result = (wxPageSetupDialogData *) &_result_ref;
20248 }
20249
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
20253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20254 return resultobj;
20255 fail:
20256 return NULL;
20257 }
20258
20259
20260 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20261 PyObject *resultobj;
20262 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20263 int result;
20264 PyObject * obj0 = 0 ;
20265 char *kwnames[] = {
20266 (char *) "self", NULL
20267 };
20268
20269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 result = (int)(arg1)->ShowModal();
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 resultobj = SWIG_FromInt((int)result);
20280 return resultobj;
20281 fail:
20282 return NULL;
20283 }
20284
20285
20286 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
20287 PyObject *obj;
20288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20289 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20290 Py_INCREF(obj);
20291 return Py_BuildValue((char *)"");
20292 }
20293 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
20294 PyObject *resultobj;
20295 wxPrintDialogData *result;
20296
20297 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20298 {
20299 PyThreadState* __tstate = wxPyBeginAllowThreads();
20300 result = (wxPrintDialogData *)new wxPrintDialogData();
20301
20302 wxPyEndAllowThreads(__tstate);
20303 if (PyErr_Occurred()) SWIG_fail;
20304 }
20305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20306 return resultobj;
20307 fail:
20308 return NULL;
20309 }
20310
20311
20312 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
20313 PyObject *resultobj;
20314 wxPrintData *arg1 = 0 ;
20315 wxPrintDialogData *result;
20316 PyObject * obj0 = 0 ;
20317
20318 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20320 SWIG_POINTER_EXCEPTION | 0)) == -1)
20321 SWIG_fail;
20322 if (arg1 == NULL) {
20323 PyErr_SetString(PyExc_TypeError,"null reference");
20324 SWIG_fail;
20325 }
20326 {
20327 PyThreadState* __tstate = wxPyBeginAllowThreads();
20328 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20329
20330 wxPyEndAllowThreads(__tstate);
20331 if (PyErr_Occurred()) SWIG_fail;
20332 }
20333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20334 return resultobj;
20335 fail:
20336 return NULL;
20337 }
20338
20339
20340 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20341 int argc;
20342 PyObject *argv[2];
20343 int ii;
20344
20345 argc = PyObject_Length(args);
20346 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20347 argv[ii] = PyTuple_GetItem(args,ii);
20348 }
20349 if (argc == 0) {
20350 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20351 }
20352 if (argc == 1) {
20353 int _v;
20354 {
20355 void *ptr;
20356 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20357 _v = 0;
20358 PyErr_Clear();
20359 } else {
20360 _v = 1;
20361 }
20362 }
20363 if (_v) {
20364 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20365 }
20366 }
20367
20368 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20369 return NULL;
20370 }
20371
20372
20373 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20374 PyObject *resultobj;
20375 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20376 PyObject * obj0 = 0 ;
20377 char *kwnames[] = {
20378 (char *) "self", NULL
20379 };
20380
20381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20384 {
20385 PyThreadState* __tstate = wxPyBeginAllowThreads();
20386 delete arg1;
20387
20388 wxPyEndAllowThreads(__tstate);
20389 if (PyErr_Occurred()) SWIG_fail;
20390 }
20391 Py_INCREF(Py_None); resultobj = Py_None;
20392 return resultobj;
20393 fail:
20394 return NULL;
20395 }
20396
20397
20398 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20399 PyObject *resultobj;
20400 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20401 int result;
20402 PyObject * obj0 = 0 ;
20403 char *kwnames[] = {
20404 (char *) "self", NULL
20405 };
20406
20407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20410 {
20411 PyThreadState* __tstate = wxPyBeginAllowThreads();
20412 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20413
20414 wxPyEndAllowThreads(__tstate);
20415 if (PyErr_Occurred()) SWIG_fail;
20416 }
20417 resultobj = SWIG_FromInt((int)result);
20418 return resultobj;
20419 fail:
20420 return NULL;
20421 }
20422
20423
20424 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20425 PyObject *resultobj;
20426 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20427 int result;
20428 PyObject * obj0 = 0 ;
20429 char *kwnames[] = {
20430 (char *) "self", NULL
20431 };
20432
20433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20436 {
20437 PyThreadState* __tstate = wxPyBeginAllowThreads();
20438 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20439
20440 wxPyEndAllowThreads(__tstate);
20441 if (PyErr_Occurred()) SWIG_fail;
20442 }
20443 resultobj = SWIG_FromInt((int)result);
20444 return resultobj;
20445 fail:
20446 return NULL;
20447 }
20448
20449
20450 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20451 PyObject *resultobj;
20452 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20453 int result;
20454 PyObject * obj0 = 0 ;
20455 char *kwnames[] = {
20456 (char *) "self", NULL
20457 };
20458
20459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20462 {
20463 PyThreadState* __tstate = wxPyBeginAllowThreads();
20464 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20465
20466 wxPyEndAllowThreads(__tstate);
20467 if (PyErr_Occurred()) SWIG_fail;
20468 }
20469 resultobj = SWIG_FromInt((int)result);
20470 return resultobj;
20471 fail:
20472 return NULL;
20473 }
20474
20475
20476 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20477 PyObject *resultobj;
20478 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20479 int result;
20480 PyObject * obj0 = 0 ;
20481 char *kwnames[] = {
20482 (char *) "self", NULL
20483 };
20484
20485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20488 {
20489 PyThreadState* __tstate = wxPyBeginAllowThreads();
20490 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20491
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 resultobj = SWIG_FromInt((int)result);
20496 return resultobj;
20497 fail:
20498 return NULL;
20499 }
20500
20501
20502 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20503 PyObject *resultobj;
20504 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20505 int result;
20506 PyObject * obj0 = 0 ;
20507 char *kwnames[] = {
20508 (char *) "self", NULL
20509 };
20510
20511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20514 {
20515 PyThreadState* __tstate = wxPyBeginAllowThreads();
20516 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20517
20518 wxPyEndAllowThreads(__tstate);
20519 if (PyErr_Occurred()) SWIG_fail;
20520 }
20521 resultobj = SWIG_FromInt((int)result);
20522 return resultobj;
20523 fail:
20524 return NULL;
20525 }
20526
20527
20528 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20529 PyObject *resultobj;
20530 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20531 bool result;
20532 PyObject * obj0 = 0 ;
20533 char *kwnames[] = {
20534 (char *) "self", NULL
20535 };
20536
20537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20540 {
20541 PyThreadState* __tstate = wxPyBeginAllowThreads();
20542 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20543
20544 wxPyEndAllowThreads(__tstate);
20545 if (PyErr_Occurred()) SWIG_fail;
20546 }
20547 {
20548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20549 }
20550 return resultobj;
20551 fail:
20552 return NULL;
20553 }
20554
20555
20556 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20557 PyObject *resultobj;
20558 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20559 bool result;
20560 PyObject * obj0 = 0 ;
20561 char *kwnames[] = {
20562 (char *) "self", NULL
20563 };
20564
20565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20568 {
20569 PyThreadState* __tstate = wxPyBeginAllowThreads();
20570 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20571
20572 wxPyEndAllowThreads(__tstate);
20573 if (PyErr_Occurred()) SWIG_fail;
20574 }
20575 {
20576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20577 }
20578 return resultobj;
20579 fail:
20580 return NULL;
20581 }
20582
20583
20584 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20585 PyObject *resultobj;
20586 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20587 bool result;
20588 PyObject * obj0 = 0 ;
20589 char *kwnames[] = {
20590 (char *) "self", NULL
20591 };
20592
20593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20596 {
20597 PyThreadState* __tstate = wxPyBeginAllowThreads();
20598 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20599
20600 wxPyEndAllowThreads(__tstate);
20601 if (PyErr_Occurred()) SWIG_fail;
20602 }
20603 {
20604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20605 }
20606 return resultobj;
20607 fail:
20608 return NULL;
20609 }
20610
20611
20612 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20613 PyObject *resultobj;
20614 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20615 bool result;
20616 PyObject * obj0 = 0 ;
20617 char *kwnames[] = {
20618 (char *) "self", NULL
20619 };
20620
20621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20624 {
20625 PyThreadState* __tstate = wxPyBeginAllowThreads();
20626 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20627
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
20631 {
20632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20633 }
20634 return resultobj;
20635 fail:
20636 return NULL;
20637 }
20638
20639
20640 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20641 PyObject *resultobj;
20642 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20643 bool result;
20644 PyObject * obj0 = 0 ;
20645 char *kwnames[] = {
20646 (char *) "self", NULL
20647 };
20648
20649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20652 {
20653 PyThreadState* __tstate = wxPyBeginAllowThreads();
20654 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20655
20656 wxPyEndAllowThreads(__tstate);
20657 if (PyErr_Occurred()) SWIG_fail;
20658 }
20659 {
20660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20661 }
20662 return resultobj;
20663 fail:
20664 return NULL;
20665 }
20666
20667
20668 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20669 PyObject *resultobj;
20670 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20671 int arg2 ;
20672 PyObject * obj0 = 0 ;
20673 PyObject * obj1 = 0 ;
20674 char *kwnames[] = {
20675 (char *) "self",(char *) "v", NULL
20676 };
20677
20678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20681 arg2 = (int) SWIG_AsInt(obj1);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 {
20684 PyThreadState* __tstate = wxPyBeginAllowThreads();
20685 (arg1)->SetFromPage(arg2);
20686
20687 wxPyEndAllowThreads(__tstate);
20688 if (PyErr_Occurred()) SWIG_fail;
20689 }
20690 Py_INCREF(Py_None); resultobj = Py_None;
20691 return resultobj;
20692 fail:
20693 return NULL;
20694 }
20695
20696
20697 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20698 PyObject *resultobj;
20699 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20700 int arg2 ;
20701 PyObject * obj0 = 0 ;
20702 PyObject * obj1 = 0 ;
20703 char *kwnames[] = {
20704 (char *) "self",(char *) "v", NULL
20705 };
20706
20707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20710 arg2 = (int) SWIG_AsInt(obj1);
20711 if (PyErr_Occurred()) SWIG_fail;
20712 {
20713 PyThreadState* __tstate = wxPyBeginAllowThreads();
20714 (arg1)->SetToPage(arg2);
20715
20716 wxPyEndAllowThreads(__tstate);
20717 if (PyErr_Occurred()) SWIG_fail;
20718 }
20719 Py_INCREF(Py_None); resultobj = Py_None;
20720 return resultobj;
20721 fail:
20722 return NULL;
20723 }
20724
20725
20726 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj;
20728 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20729 int arg2 ;
20730 PyObject * obj0 = 0 ;
20731 PyObject * obj1 = 0 ;
20732 char *kwnames[] = {
20733 (char *) "self",(char *) "v", NULL
20734 };
20735
20736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20739 arg2 = (int) SWIG_AsInt(obj1);
20740 if (PyErr_Occurred()) SWIG_fail;
20741 {
20742 PyThreadState* __tstate = wxPyBeginAllowThreads();
20743 (arg1)->SetMinPage(arg2);
20744
20745 wxPyEndAllowThreads(__tstate);
20746 if (PyErr_Occurred()) SWIG_fail;
20747 }
20748 Py_INCREF(Py_None); resultobj = Py_None;
20749 return resultobj;
20750 fail:
20751 return NULL;
20752 }
20753
20754
20755 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20756 PyObject *resultobj;
20757 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20758 int arg2 ;
20759 PyObject * obj0 = 0 ;
20760 PyObject * obj1 = 0 ;
20761 char *kwnames[] = {
20762 (char *) "self",(char *) "v", NULL
20763 };
20764
20765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20768 arg2 = (int) SWIG_AsInt(obj1);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 {
20771 PyThreadState* __tstate = wxPyBeginAllowThreads();
20772 (arg1)->SetMaxPage(arg2);
20773
20774 wxPyEndAllowThreads(__tstate);
20775 if (PyErr_Occurred()) SWIG_fail;
20776 }
20777 Py_INCREF(Py_None); resultobj = Py_None;
20778 return resultobj;
20779 fail:
20780 return NULL;
20781 }
20782
20783
20784 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20785 PyObject *resultobj;
20786 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20787 int arg2 ;
20788 PyObject * obj0 = 0 ;
20789 PyObject * obj1 = 0 ;
20790 char *kwnames[] = {
20791 (char *) "self",(char *) "v", NULL
20792 };
20793
20794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20797 arg2 = (int) SWIG_AsInt(obj1);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 {
20800 PyThreadState* __tstate = wxPyBeginAllowThreads();
20801 (arg1)->SetNoCopies(arg2);
20802
20803 wxPyEndAllowThreads(__tstate);
20804 if (PyErr_Occurred()) SWIG_fail;
20805 }
20806 Py_INCREF(Py_None); resultobj = Py_None;
20807 return resultobj;
20808 fail:
20809 return NULL;
20810 }
20811
20812
20813 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20814 PyObject *resultobj;
20815 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20816 bool arg2 ;
20817 PyObject * obj0 = 0 ;
20818 PyObject * obj1 = 0 ;
20819 char *kwnames[] = {
20820 (char *) "self",(char *) "flag", NULL
20821 };
20822
20823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20826 arg2 = (bool) SWIG_AsBool(obj1);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 {
20829 PyThreadState* __tstate = wxPyBeginAllowThreads();
20830 (arg1)->SetAllPages(arg2);
20831
20832 wxPyEndAllowThreads(__tstate);
20833 if (PyErr_Occurred()) SWIG_fail;
20834 }
20835 Py_INCREF(Py_None); resultobj = Py_None;
20836 return resultobj;
20837 fail:
20838 return NULL;
20839 }
20840
20841
20842 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20843 PyObject *resultobj;
20844 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20845 bool arg2 ;
20846 PyObject * obj0 = 0 ;
20847 PyObject * obj1 = 0 ;
20848 char *kwnames[] = {
20849 (char *) "self",(char *) "flag", NULL
20850 };
20851
20852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20855 arg2 = (bool) SWIG_AsBool(obj1);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 {
20858 PyThreadState* __tstate = wxPyBeginAllowThreads();
20859 (arg1)->SetSelection(arg2);
20860
20861 wxPyEndAllowThreads(__tstate);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 Py_INCREF(Py_None); resultobj = Py_None;
20865 return resultobj;
20866 fail:
20867 return NULL;
20868 }
20869
20870
20871 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20872 PyObject *resultobj;
20873 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20874 bool arg2 ;
20875 PyObject * obj0 = 0 ;
20876 PyObject * obj1 = 0 ;
20877 char *kwnames[] = {
20878 (char *) "self",(char *) "flag", NULL
20879 };
20880
20881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20884 arg2 = (bool) SWIG_AsBool(obj1);
20885 if (PyErr_Occurred()) SWIG_fail;
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 (arg1)->SetCollate(arg2);
20889
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
20893 Py_INCREF(Py_None); resultobj = Py_None;
20894 return resultobj;
20895 fail:
20896 return NULL;
20897 }
20898
20899
20900 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20901 PyObject *resultobj;
20902 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20903 bool arg2 ;
20904 PyObject * obj0 = 0 ;
20905 PyObject * obj1 = 0 ;
20906 char *kwnames[] = {
20907 (char *) "self",(char *) "flag", NULL
20908 };
20909
20910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20913 arg2 = (bool) SWIG_AsBool(obj1);
20914 if (PyErr_Occurred()) SWIG_fail;
20915 {
20916 PyThreadState* __tstate = wxPyBeginAllowThreads();
20917 (arg1)->SetPrintToFile(arg2);
20918
20919 wxPyEndAllowThreads(__tstate);
20920 if (PyErr_Occurred()) SWIG_fail;
20921 }
20922 Py_INCREF(Py_None); resultobj = Py_None;
20923 return resultobj;
20924 fail:
20925 return NULL;
20926 }
20927
20928
20929 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20930 PyObject *resultobj;
20931 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20932 bool arg2 ;
20933 PyObject * obj0 = 0 ;
20934 PyObject * obj1 = 0 ;
20935 char *kwnames[] = {
20936 (char *) "self",(char *) "flag", NULL
20937 };
20938
20939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20942 arg2 = (bool) SWIG_AsBool(obj1);
20943 if (PyErr_Occurred()) SWIG_fail;
20944 {
20945 PyThreadState* __tstate = wxPyBeginAllowThreads();
20946 (arg1)->SetSetupDialog(arg2);
20947
20948 wxPyEndAllowThreads(__tstate);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 }
20951 Py_INCREF(Py_None); resultobj = Py_None;
20952 return resultobj;
20953 fail:
20954 return NULL;
20955 }
20956
20957
20958 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20959 PyObject *resultobj;
20960 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20961 bool arg2 ;
20962 PyObject * obj0 = 0 ;
20963 PyObject * obj1 = 0 ;
20964 char *kwnames[] = {
20965 (char *) "self",(char *) "flag", NULL
20966 };
20967
20968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20971 arg2 = (bool) SWIG_AsBool(obj1);
20972 if (PyErr_Occurred()) SWIG_fail;
20973 {
20974 PyThreadState* __tstate = wxPyBeginAllowThreads();
20975 (arg1)->EnablePrintToFile(arg2);
20976
20977 wxPyEndAllowThreads(__tstate);
20978 if (PyErr_Occurred()) SWIG_fail;
20979 }
20980 Py_INCREF(Py_None); resultobj = Py_None;
20981 return resultobj;
20982 fail:
20983 return NULL;
20984 }
20985
20986
20987 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20988 PyObject *resultobj;
20989 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20990 bool arg2 ;
20991 PyObject * obj0 = 0 ;
20992 PyObject * obj1 = 0 ;
20993 char *kwnames[] = {
20994 (char *) "self",(char *) "flag", NULL
20995 };
20996
20997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21000 arg2 = (bool) SWIG_AsBool(obj1);
21001 if (PyErr_Occurred()) SWIG_fail;
21002 {
21003 PyThreadState* __tstate = wxPyBeginAllowThreads();
21004 (arg1)->EnableSelection(arg2);
21005
21006 wxPyEndAllowThreads(__tstate);
21007 if (PyErr_Occurred()) SWIG_fail;
21008 }
21009 Py_INCREF(Py_None); resultobj = Py_None;
21010 return resultobj;
21011 fail:
21012 return NULL;
21013 }
21014
21015
21016 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21017 PyObject *resultobj;
21018 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21019 bool arg2 ;
21020 PyObject * obj0 = 0 ;
21021 PyObject * obj1 = 0 ;
21022 char *kwnames[] = {
21023 (char *) "self",(char *) "flag", NULL
21024 };
21025
21026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21029 arg2 = (bool) SWIG_AsBool(obj1);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 {
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
21033 (arg1)->EnablePageNumbers(arg2);
21034
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 Py_INCREF(Py_None); resultobj = Py_None;
21039 return resultobj;
21040 fail:
21041 return NULL;
21042 }
21043
21044
21045 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21046 PyObject *resultobj;
21047 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21048 bool arg2 ;
21049 PyObject * obj0 = 0 ;
21050 PyObject * obj1 = 0 ;
21051 char *kwnames[] = {
21052 (char *) "self",(char *) "flag", NULL
21053 };
21054
21055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21058 arg2 = (bool) SWIG_AsBool(obj1);
21059 if (PyErr_Occurred()) SWIG_fail;
21060 {
21061 PyThreadState* __tstate = wxPyBeginAllowThreads();
21062 (arg1)->EnableHelp(arg2);
21063
21064 wxPyEndAllowThreads(__tstate);
21065 if (PyErr_Occurred()) SWIG_fail;
21066 }
21067 Py_INCREF(Py_None); resultobj = Py_None;
21068 return resultobj;
21069 fail:
21070 return NULL;
21071 }
21072
21073
21074 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21075 PyObject *resultobj;
21076 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21077 bool result;
21078 PyObject * obj0 = 0 ;
21079 char *kwnames[] = {
21080 (char *) "self", NULL
21081 };
21082
21083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21086 {
21087 PyThreadState* __tstate = wxPyBeginAllowThreads();
21088 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21089
21090 wxPyEndAllowThreads(__tstate);
21091 if (PyErr_Occurred()) SWIG_fail;
21092 }
21093 {
21094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21095 }
21096 return resultobj;
21097 fail:
21098 return NULL;
21099 }
21100
21101
21102 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21103 PyObject *resultobj;
21104 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21105 bool result;
21106 PyObject * obj0 = 0 ;
21107 char *kwnames[] = {
21108 (char *) "self", NULL
21109 };
21110
21111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21114 {
21115 PyThreadState* __tstate = wxPyBeginAllowThreads();
21116 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21117
21118 wxPyEndAllowThreads(__tstate);
21119 if (PyErr_Occurred()) SWIG_fail;
21120 }
21121 {
21122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21123 }
21124 return resultobj;
21125 fail:
21126 return NULL;
21127 }
21128
21129
21130 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21131 PyObject *resultobj;
21132 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21133 bool result;
21134 PyObject * obj0 = 0 ;
21135 char *kwnames[] = {
21136 (char *) "self", NULL
21137 };
21138
21139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21142 {
21143 PyThreadState* __tstate = wxPyBeginAllowThreads();
21144 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21145
21146 wxPyEndAllowThreads(__tstate);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 }
21149 {
21150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21151 }
21152 return resultobj;
21153 fail:
21154 return NULL;
21155 }
21156
21157
21158 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21159 PyObject *resultobj;
21160 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21161 bool result;
21162 PyObject * obj0 = 0 ;
21163 char *kwnames[] = {
21164 (char *) "self", NULL
21165 };
21166
21167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21170 {
21171 PyThreadState* __tstate = wxPyBeginAllowThreads();
21172 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21173
21174 wxPyEndAllowThreads(__tstate);
21175 if (PyErr_Occurred()) SWIG_fail;
21176 }
21177 {
21178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21179 }
21180 return resultobj;
21181 fail:
21182 return NULL;
21183 }
21184
21185
21186 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21187 PyObject *resultobj;
21188 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21189 bool result;
21190 PyObject * obj0 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21198 {
21199 PyThreadState* __tstate = wxPyBeginAllowThreads();
21200 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21201
21202 wxPyEndAllowThreads(__tstate);
21203 if (PyErr_Occurred()) SWIG_fail;
21204 }
21205 {
21206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21207 }
21208 return resultobj;
21209 fail:
21210 return NULL;
21211 }
21212
21213
21214 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21215 PyObject *resultobj;
21216 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21217 wxPrintData *result;
21218 PyObject * obj0 = 0 ;
21219 char *kwnames[] = {
21220 (char *) "self", NULL
21221 };
21222
21223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21226 {
21227 PyThreadState* __tstate = wxPyBeginAllowThreads();
21228 {
21229 wxPrintData &_result_ref = (arg1)->GetPrintData();
21230 result = (wxPrintData *) &_result_ref;
21231 }
21232
21233 wxPyEndAllowThreads(__tstate);
21234 if (PyErr_Occurred()) SWIG_fail;
21235 }
21236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21237 return resultobj;
21238 fail:
21239 return NULL;
21240 }
21241
21242
21243 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21244 PyObject *resultobj;
21245 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21246 wxPrintData *arg2 = 0 ;
21247 PyObject * obj0 = 0 ;
21248 PyObject * obj1 = 0 ;
21249 char *kwnames[] = {
21250 (char *) "self",(char *) "printData", NULL
21251 };
21252
21253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21256 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21257 SWIG_POINTER_EXCEPTION | 0)) == -1)
21258 SWIG_fail;
21259 if (arg2 == NULL) {
21260 PyErr_SetString(PyExc_TypeError,"null reference");
21261 SWIG_fail;
21262 }
21263 {
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21266
21267 wxPyEndAllowThreads(__tstate);
21268 if (PyErr_Occurred()) SWIG_fail;
21269 }
21270 Py_INCREF(Py_None); resultobj = Py_None;
21271 return resultobj;
21272 fail:
21273 return NULL;
21274 }
21275
21276
21277 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
21278 PyObject *obj;
21279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21280 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21281 Py_INCREF(obj);
21282 return Py_BuildValue((char *)"");
21283 }
21284 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21285 PyObject *resultobj;
21286 wxWindow *arg1 = (wxWindow *) 0 ;
21287 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21288 wxPrintDialog *result;
21289 PyObject * obj0 = 0 ;
21290 PyObject * obj1 = 0 ;
21291 char *kwnames[] = {
21292 (char *) "parent",(char *) "data", NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21298 if (obj1) {
21299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21301 }
21302 {
21303 if (!wxPyCheckForApp()) SWIG_fail;
21304 PyThreadState* __tstate = wxPyBeginAllowThreads();
21305 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21306
21307 wxPyEndAllowThreads(__tstate);
21308 if (PyErr_Occurred()) SWIG_fail;
21309 }
21310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21311 return resultobj;
21312 fail:
21313 return NULL;
21314 }
21315
21316
21317 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21318 PyObject *resultobj;
21319 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21320 wxPrintDialogData *result;
21321 PyObject * obj0 = 0 ;
21322 char *kwnames[] = {
21323 (char *) "self", NULL
21324 };
21325
21326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21329 {
21330 PyThreadState* __tstate = wxPyBeginAllowThreads();
21331 {
21332 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21333 result = (wxPrintDialogData *) &_result_ref;
21334 }
21335
21336 wxPyEndAllowThreads(__tstate);
21337 if (PyErr_Occurred()) SWIG_fail;
21338 }
21339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21340 return resultobj;
21341 fail:
21342 return NULL;
21343 }
21344
21345
21346 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21347 PyObject *resultobj;
21348 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21349 wxDC *result;
21350 PyObject * obj0 = 0 ;
21351 char *kwnames[] = {
21352 (char *) "self", NULL
21353 };
21354
21355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21358 {
21359 PyThreadState* __tstate = wxPyBeginAllowThreads();
21360 result = (wxDC *)(arg1)->GetPrintDC();
21361
21362 wxPyEndAllowThreads(__tstate);
21363 if (PyErr_Occurred()) SWIG_fail;
21364 }
21365 {
21366 resultobj = wxPyMake_wxObject(result, 1);
21367 }
21368 return resultobj;
21369 fail:
21370 return NULL;
21371 }
21372
21373
21374 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21375 PyObject *resultobj;
21376 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21377 int result;
21378 PyObject * obj0 = 0 ;
21379 char *kwnames[] = {
21380 (char *) "self", NULL
21381 };
21382
21383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21386 {
21387 PyThreadState* __tstate = wxPyBeginAllowThreads();
21388 result = (int)(arg1)->ShowModal();
21389
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
21393 resultobj = SWIG_FromInt((int)result);
21394 return resultobj;
21395 fail:
21396 return NULL;
21397 }
21398
21399
21400 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21401 PyObject *obj;
21402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21403 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21404 Py_INCREF(obj);
21405 return Py_BuildValue((char *)"");
21406 }
21407 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21408 PyObject *resultobj;
21409 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21410 wxPrinter *result;
21411 PyObject * obj0 = 0 ;
21412 char *kwnames[] = {
21413 (char *) "data", NULL
21414 };
21415
21416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21417 if (obj0) {
21418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21420 }
21421 {
21422 if (!wxPyCheckForApp()) SWIG_fail;
21423 PyThreadState* __tstate = wxPyBeginAllowThreads();
21424 result = (wxPrinter *)new wxPrinter(arg1);
21425
21426 wxPyEndAllowThreads(__tstate);
21427 if (PyErr_Occurred()) SWIG_fail;
21428 }
21429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21430 return resultobj;
21431 fail:
21432 return NULL;
21433 }
21434
21435
21436 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21437 PyObject *resultobj;
21438 wxPrinter *arg1 = (wxPrinter *) 0 ;
21439 PyObject * obj0 = 0 ;
21440 char *kwnames[] = {
21441 (char *) "self", NULL
21442 };
21443
21444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21447 {
21448 PyThreadState* __tstate = wxPyBeginAllowThreads();
21449 delete arg1;
21450
21451 wxPyEndAllowThreads(__tstate);
21452 if (PyErr_Occurred()) SWIG_fail;
21453 }
21454 Py_INCREF(Py_None); resultobj = Py_None;
21455 return resultobj;
21456 fail:
21457 return NULL;
21458 }
21459
21460
21461 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21462 PyObject *resultobj;
21463 wxPrinter *arg1 = (wxPrinter *) 0 ;
21464 wxWindow *arg2 = (wxWindow *) 0 ;
21465 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21466 PyObject * obj0 = 0 ;
21467 PyObject * obj1 = 0 ;
21468 PyObject * obj2 = 0 ;
21469 char *kwnames[] = {
21470 (char *) "self",(char *) "parent",(char *) "printout", NULL
21471 };
21472
21473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21478 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21480 {
21481 PyThreadState* __tstate = wxPyBeginAllowThreads();
21482 (arg1)->CreateAbortWindow(arg2,arg3);
21483
21484 wxPyEndAllowThreads(__tstate);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 Py_INCREF(Py_None); resultobj = Py_None;
21488 return resultobj;
21489 fail:
21490 return NULL;
21491 }
21492
21493
21494 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21495 PyObject *resultobj;
21496 wxPrinter *arg1 = (wxPrinter *) 0 ;
21497 wxPrintDialogData *result;
21498 PyObject * obj0 = 0 ;
21499 char *kwnames[] = {
21500 (char *) "self", NULL
21501 };
21502
21503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21506 {
21507 PyThreadState* __tstate = wxPyBeginAllowThreads();
21508 {
21509 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21510 result = (wxPrintDialogData *) &_result_ref;
21511 }
21512
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21517 return resultobj;
21518 fail:
21519 return NULL;
21520 }
21521
21522
21523 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21524 PyObject *resultobj;
21525 wxPrinter *arg1 = (wxPrinter *) 0 ;
21526 wxWindow *arg2 = (wxWindow *) 0 ;
21527 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21528 int arg4 = (int) True ;
21529 bool result;
21530 PyObject * obj0 = 0 ;
21531 PyObject * obj1 = 0 ;
21532 PyObject * obj2 = 0 ;
21533 PyObject * obj3 = 0 ;
21534 char *kwnames[] = {
21535 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21536 };
21537
21538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21543 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21545 if (obj3) {
21546 arg4 = (int) SWIG_AsInt(obj3);
21547 if (PyErr_Occurred()) SWIG_fail;
21548 }
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 {
21557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21558 }
21559 return resultobj;
21560 fail:
21561 return NULL;
21562 }
21563
21564
21565 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21566 PyObject *resultobj;
21567 wxPrinter *arg1 = (wxPrinter *) 0 ;
21568 wxWindow *arg2 = (wxWindow *) 0 ;
21569 wxDC *result;
21570 PyObject * obj0 = 0 ;
21571 PyObject * obj1 = 0 ;
21572 char *kwnames[] = {
21573 (char *) "self",(char *) "parent", NULL
21574 };
21575
21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21581 {
21582 PyThreadState* __tstate = wxPyBeginAllowThreads();
21583 result = (wxDC *)(arg1)->PrintDialog(arg2);
21584
21585 wxPyEndAllowThreads(__tstate);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 }
21588 {
21589 resultobj = wxPyMake_wxObject(result, 0);
21590 }
21591 return resultobj;
21592 fail:
21593 return NULL;
21594 }
21595
21596
21597 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21598 PyObject *resultobj;
21599 wxPrinter *arg1 = (wxPrinter *) 0 ;
21600 wxWindow *arg2 = (wxWindow *) 0 ;
21601 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21602 wxString *arg4 = 0 ;
21603 bool temp4 = False ;
21604 PyObject * obj0 = 0 ;
21605 PyObject * obj1 = 0 ;
21606 PyObject * obj2 = 0 ;
21607 PyObject * obj3 = 0 ;
21608 char *kwnames[] = {
21609 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21610 };
21611
21612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21617 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21619 {
21620 arg4 = wxString_in_helper(obj3);
21621 if (arg4 == NULL) SWIG_fail;
21622 temp4 = True;
21623 }
21624 {
21625 PyThreadState* __tstate = wxPyBeginAllowThreads();
21626 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21627
21628 wxPyEndAllowThreads(__tstate);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 }
21631 Py_INCREF(Py_None); resultobj = Py_None;
21632 {
21633 if (temp4)
21634 delete arg4;
21635 }
21636 return resultobj;
21637 fail:
21638 {
21639 if (temp4)
21640 delete arg4;
21641 }
21642 return NULL;
21643 }
21644
21645
21646 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21647 PyObject *resultobj;
21648 wxPrinter *arg1 = (wxPrinter *) 0 ;
21649 wxWindow *arg2 = (wxWindow *) 0 ;
21650 bool result;
21651 PyObject * obj0 = 0 ;
21652 PyObject * obj1 = 0 ;
21653 char *kwnames[] = {
21654 (char *) "self",(char *) "parent", NULL
21655 };
21656
21657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21662 {
21663 PyThreadState* __tstate = wxPyBeginAllowThreads();
21664 result = (bool)(arg1)->Setup(arg2);
21665
21666 wxPyEndAllowThreads(__tstate);
21667 if (PyErr_Occurred()) SWIG_fail;
21668 }
21669 {
21670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21671 }
21672 return resultobj;
21673 fail:
21674 return NULL;
21675 }
21676
21677
21678 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21679 PyObject *resultobj;
21680 wxPrinter *arg1 = (wxPrinter *) 0 ;
21681 bool result;
21682 PyObject * obj0 = 0 ;
21683 char *kwnames[] = {
21684 (char *) "self", NULL
21685 };
21686
21687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21690 {
21691 PyThreadState* __tstate = wxPyBeginAllowThreads();
21692 result = (bool)(arg1)->GetAbort();
21693
21694 wxPyEndAllowThreads(__tstate);
21695 if (PyErr_Occurred()) SWIG_fail;
21696 }
21697 {
21698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21699 }
21700 return resultobj;
21701 fail:
21702 return NULL;
21703 }
21704
21705
21706 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21707 PyObject *resultobj;
21708 int result;
21709 char *kwnames[] = {
21710 NULL
21711 };
21712
21713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21714 {
21715 PyThreadState* __tstate = wxPyBeginAllowThreads();
21716 result = (int)wxPrinter::GetLastError();
21717
21718 wxPyEndAllowThreads(__tstate);
21719 if (PyErr_Occurred()) SWIG_fail;
21720 }
21721 resultobj = SWIG_FromInt((int)result);
21722 return resultobj;
21723 fail:
21724 return NULL;
21725 }
21726
21727
21728 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21729 PyObject *obj;
21730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21731 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21732 Py_INCREF(obj);
21733 return Py_BuildValue((char *)"");
21734 }
21735 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21736 PyObject *resultobj;
21737 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21738 wxString *arg1 = (wxString *) &arg1_defvalue ;
21739 wxPyPrintout *result;
21740 bool temp1 = False ;
21741 PyObject * obj0 = 0 ;
21742 char *kwnames[] = {
21743 (char *) "title", NULL
21744 };
21745
21746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21747 if (obj0) {
21748 {
21749 arg1 = wxString_in_helper(obj0);
21750 if (arg1 == NULL) SWIG_fail;
21751 temp1 = True;
21752 }
21753 }
21754 {
21755 if (!wxPyCheckForApp()) SWIG_fail;
21756 PyThreadState* __tstate = wxPyBeginAllowThreads();
21757 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21758
21759 wxPyEndAllowThreads(__tstate);
21760 if (PyErr_Occurred()) SWIG_fail;
21761 }
21762 {
21763 resultobj = wxPyMake_wxObject(result, 1);
21764 }
21765 {
21766 if (temp1)
21767 delete arg1;
21768 }
21769 return resultobj;
21770 fail:
21771 {
21772 if (temp1)
21773 delete arg1;
21774 }
21775 return NULL;
21776 }
21777
21778
21779 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21780 PyObject *resultobj;
21781 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21782 PyObject *arg2 = (PyObject *) 0 ;
21783 PyObject *arg3 = (PyObject *) 0 ;
21784 PyObject * obj0 = 0 ;
21785 PyObject * obj1 = 0 ;
21786 PyObject * obj2 = 0 ;
21787 char *kwnames[] = {
21788 (char *) "self",(char *) "self",(char *) "_class", NULL
21789 };
21790
21791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21794 arg2 = obj1;
21795 arg3 = obj2;
21796 {
21797 PyThreadState* __tstate = wxPyBeginAllowThreads();
21798 (arg1)->_setCallbackInfo(arg2,arg3);
21799
21800 wxPyEndAllowThreads(__tstate);
21801 if (PyErr_Occurred()) SWIG_fail;
21802 }
21803 Py_INCREF(Py_None); resultobj = Py_None;
21804 return resultobj;
21805 fail:
21806 return NULL;
21807 }
21808
21809
21810 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21811 PyObject *resultobj;
21812 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21813 wxString result;
21814 PyObject * obj0 = 0 ;
21815 char *kwnames[] = {
21816 (char *) "self", NULL
21817 };
21818
21819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21822 {
21823 PyThreadState* __tstate = wxPyBeginAllowThreads();
21824 result = ((wxPyPrintout const *)arg1)->GetTitle();
21825
21826 wxPyEndAllowThreads(__tstate);
21827 if (PyErr_Occurred()) SWIG_fail;
21828 }
21829 {
21830 #if wxUSE_UNICODE
21831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21832 #else
21833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21834 #endif
21835 }
21836 return resultobj;
21837 fail:
21838 return NULL;
21839 }
21840
21841
21842 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj;
21844 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21845 wxDC *result;
21846 PyObject * obj0 = 0 ;
21847 char *kwnames[] = {
21848 (char *) "self", NULL
21849 };
21850
21851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21854 {
21855 PyThreadState* __tstate = wxPyBeginAllowThreads();
21856 result = (wxDC *)(arg1)->GetDC();
21857
21858 wxPyEndAllowThreads(__tstate);
21859 if (PyErr_Occurred()) SWIG_fail;
21860 }
21861 {
21862 resultobj = wxPyMake_wxObject(result, 0);
21863 }
21864 return resultobj;
21865 fail:
21866 return NULL;
21867 }
21868
21869
21870 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21871 PyObject *resultobj;
21872 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21873 wxDC *arg2 = (wxDC *) 0 ;
21874 PyObject * obj0 = 0 ;
21875 PyObject * obj1 = 0 ;
21876 char *kwnames[] = {
21877 (char *) "self",(char *) "dc", NULL
21878 };
21879
21880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21885 {
21886 PyThreadState* __tstate = wxPyBeginAllowThreads();
21887 (arg1)->SetDC(arg2);
21888
21889 wxPyEndAllowThreads(__tstate);
21890 if (PyErr_Occurred()) SWIG_fail;
21891 }
21892 Py_INCREF(Py_None); resultobj = Py_None;
21893 return resultobj;
21894 fail:
21895 return NULL;
21896 }
21897
21898
21899 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21900 PyObject *resultobj;
21901 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21902 int arg2 ;
21903 int arg3 ;
21904 PyObject * obj0 = 0 ;
21905 PyObject * obj1 = 0 ;
21906 PyObject * obj2 = 0 ;
21907 char *kwnames[] = {
21908 (char *) "self",(char *) "w",(char *) "h", NULL
21909 };
21910
21911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21914 arg2 = (int) SWIG_AsInt(obj1);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 arg3 = (int) SWIG_AsInt(obj2);
21917 if (PyErr_Occurred()) SWIG_fail;
21918 {
21919 PyThreadState* __tstate = wxPyBeginAllowThreads();
21920 (arg1)->SetPageSizePixels(arg2,arg3);
21921
21922 wxPyEndAllowThreads(__tstate);
21923 if (PyErr_Occurred()) SWIG_fail;
21924 }
21925 Py_INCREF(Py_None); resultobj = Py_None;
21926 return resultobj;
21927 fail:
21928 return NULL;
21929 }
21930
21931
21932 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21933 PyObject *resultobj;
21934 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21935 int *arg2 = (int *) 0 ;
21936 int *arg3 = (int *) 0 ;
21937 int temp2 ;
21938 int temp3 ;
21939 PyObject * obj0 = 0 ;
21940 char *kwnames[] = {
21941 (char *) "self", NULL
21942 };
21943
21944 arg2 = &temp2;
21945 arg3 = &temp3;
21946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21949 {
21950 PyThreadState* __tstate = wxPyBeginAllowThreads();
21951 (arg1)->GetPageSizePixels(arg2,arg3);
21952
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 Py_INCREF(Py_None); resultobj = Py_None;
21957 {
21958 PyObject *o = PyInt_FromLong((long) (*arg2));
21959 resultobj = t_output_helper(resultobj,o);
21960 }
21961 {
21962 PyObject *o = PyInt_FromLong((long) (*arg3));
21963 resultobj = t_output_helper(resultobj,o);
21964 }
21965 return resultobj;
21966 fail:
21967 return NULL;
21968 }
21969
21970
21971 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21972 PyObject *resultobj;
21973 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21974 int arg2 ;
21975 int arg3 ;
21976 PyObject * obj0 = 0 ;
21977 PyObject * obj1 = 0 ;
21978 PyObject * obj2 = 0 ;
21979 char *kwnames[] = {
21980 (char *) "self",(char *) "w",(char *) "h", NULL
21981 };
21982
21983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21986 arg2 = (int) SWIG_AsInt(obj1);
21987 if (PyErr_Occurred()) SWIG_fail;
21988 arg3 = (int) SWIG_AsInt(obj2);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 {
21991 PyThreadState* __tstate = wxPyBeginAllowThreads();
21992 (arg1)->SetPageSizeMM(arg2,arg3);
21993
21994 wxPyEndAllowThreads(__tstate);
21995 if (PyErr_Occurred()) SWIG_fail;
21996 }
21997 Py_INCREF(Py_None); resultobj = Py_None;
21998 return resultobj;
21999 fail:
22000 return NULL;
22001 }
22002
22003
22004 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
22005 PyObject *resultobj;
22006 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22007 int *arg2 = (int *) 0 ;
22008 int *arg3 = (int *) 0 ;
22009 int temp2 ;
22010 int temp3 ;
22011 PyObject * obj0 = 0 ;
22012 char *kwnames[] = {
22013 (char *) "self", NULL
22014 };
22015
22016 arg2 = &temp2;
22017 arg3 = &temp3;
22018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22021 {
22022 PyThreadState* __tstate = wxPyBeginAllowThreads();
22023 (arg1)->GetPageSizeMM(arg2,arg3);
22024
22025 wxPyEndAllowThreads(__tstate);
22026 if (PyErr_Occurred()) SWIG_fail;
22027 }
22028 Py_INCREF(Py_None); resultobj = Py_None;
22029 {
22030 PyObject *o = PyInt_FromLong((long) (*arg2));
22031 resultobj = t_output_helper(resultobj,o);
22032 }
22033 {
22034 PyObject *o = PyInt_FromLong((long) (*arg3));
22035 resultobj = t_output_helper(resultobj,o);
22036 }
22037 return resultobj;
22038 fail:
22039 return NULL;
22040 }
22041
22042
22043 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22044 PyObject *resultobj;
22045 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22046 int arg2 ;
22047 int arg3 ;
22048 PyObject * obj0 = 0 ;
22049 PyObject * obj1 = 0 ;
22050 PyObject * obj2 = 0 ;
22051 char *kwnames[] = {
22052 (char *) "self",(char *) "x",(char *) "y", NULL
22053 };
22054
22055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22058 arg2 = (int) SWIG_AsInt(obj1);
22059 if (PyErr_Occurred()) SWIG_fail;
22060 arg3 = (int) SWIG_AsInt(obj2);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 {
22063 PyThreadState* __tstate = wxPyBeginAllowThreads();
22064 (arg1)->SetPPIScreen(arg2,arg3);
22065
22066 wxPyEndAllowThreads(__tstate);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 }
22069 Py_INCREF(Py_None); resultobj = Py_None;
22070 return resultobj;
22071 fail:
22072 return NULL;
22073 }
22074
22075
22076 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22077 PyObject *resultobj;
22078 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22079 int *arg2 = (int *) 0 ;
22080 int *arg3 = (int *) 0 ;
22081 int temp2 ;
22082 int temp3 ;
22083 PyObject * obj0 = 0 ;
22084 char *kwnames[] = {
22085 (char *) "self", NULL
22086 };
22087
22088 arg2 = &temp2;
22089 arg3 = &temp3;
22090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22093 {
22094 PyThreadState* __tstate = wxPyBeginAllowThreads();
22095 (arg1)->GetPPIScreen(arg2,arg3);
22096
22097 wxPyEndAllowThreads(__tstate);
22098 if (PyErr_Occurred()) SWIG_fail;
22099 }
22100 Py_INCREF(Py_None); resultobj = Py_None;
22101 {
22102 PyObject *o = PyInt_FromLong((long) (*arg2));
22103 resultobj = t_output_helper(resultobj,o);
22104 }
22105 {
22106 PyObject *o = PyInt_FromLong((long) (*arg3));
22107 resultobj = t_output_helper(resultobj,o);
22108 }
22109 return resultobj;
22110 fail:
22111 return NULL;
22112 }
22113
22114
22115 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22116 PyObject *resultobj;
22117 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22118 int arg2 ;
22119 int arg3 ;
22120 PyObject * obj0 = 0 ;
22121 PyObject * obj1 = 0 ;
22122 PyObject * obj2 = 0 ;
22123 char *kwnames[] = {
22124 (char *) "self",(char *) "x",(char *) "y", NULL
22125 };
22126
22127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22130 arg2 = (int) SWIG_AsInt(obj1);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 arg3 = (int) SWIG_AsInt(obj2);
22133 if (PyErr_Occurred()) SWIG_fail;
22134 {
22135 PyThreadState* __tstate = wxPyBeginAllowThreads();
22136 (arg1)->SetPPIPrinter(arg2,arg3);
22137
22138 wxPyEndAllowThreads(__tstate);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
22141 Py_INCREF(Py_None); resultobj = Py_None;
22142 return resultobj;
22143 fail:
22144 return NULL;
22145 }
22146
22147
22148 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22149 PyObject *resultobj;
22150 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22151 int *arg2 = (int *) 0 ;
22152 int *arg3 = (int *) 0 ;
22153 int temp2 ;
22154 int temp3 ;
22155 PyObject * obj0 = 0 ;
22156 char *kwnames[] = {
22157 (char *) "self", NULL
22158 };
22159
22160 arg2 = &temp2;
22161 arg3 = &temp3;
22162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22165 {
22166 PyThreadState* __tstate = wxPyBeginAllowThreads();
22167 (arg1)->GetPPIPrinter(arg2,arg3);
22168
22169 wxPyEndAllowThreads(__tstate);
22170 if (PyErr_Occurred()) SWIG_fail;
22171 }
22172 Py_INCREF(Py_None); resultobj = Py_None;
22173 {
22174 PyObject *o = PyInt_FromLong((long) (*arg2));
22175 resultobj = t_output_helper(resultobj,o);
22176 }
22177 {
22178 PyObject *o = PyInt_FromLong((long) (*arg3));
22179 resultobj = t_output_helper(resultobj,o);
22180 }
22181 return resultobj;
22182 fail:
22183 return NULL;
22184 }
22185
22186
22187 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22188 PyObject *resultobj;
22189 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22190 bool result;
22191 PyObject * obj0 = 0 ;
22192 char *kwnames[] = {
22193 (char *) "self", NULL
22194 };
22195
22196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22199 {
22200 PyThreadState* __tstate = wxPyBeginAllowThreads();
22201 result = (bool)(arg1)->IsPreview();
22202
22203 wxPyEndAllowThreads(__tstate);
22204 if (PyErr_Occurred()) SWIG_fail;
22205 }
22206 {
22207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22208 }
22209 return resultobj;
22210 fail:
22211 return NULL;
22212 }
22213
22214
22215 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22216 PyObject *resultobj;
22217 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22218 bool arg2 ;
22219 PyObject * obj0 = 0 ;
22220 PyObject * obj1 = 0 ;
22221 char *kwnames[] = {
22222 (char *) "self",(char *) "p", NULL
22223 };
22224
22225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22228 arg2 = (bool) SWIG_AsBool(obj1);
22229 if (PyErr_Occurred()) SWIG_fail;
22230 {
22231 PyThreadState* __tstate = wxPyBeginAllowThreads();
22232 (arg1)->SetIsPreview(arg2);
22233
22234 wxPyEndAllowThreads(__tstate);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
22237 Py_INCREF(Py_None); resultobj = Py_None;
22238 return resultobj;
22239 fail:
22240 return NULL;
22241 }
22242
22243
22244 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22245 PyObject *resultobj;
22246 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22247 int arg2 ;
22248 int arg3 ;
22249 bool result;
22250 PyObject * obj0 = 0 ;
22251 PyObject * obj1 = 0 ;
22252 PyObject * obj2 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22260 arg2 = (int) SWIG_AsInt(obj1);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 arg3 = (int) SWIG_AsInt(obj2);
22263 if (PyErr_Occurred()) SWIG_fail;
22264 {
22265 PyThreadState* __tstate = wxPyBeginAllowThreads();
22266 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22267
22268 wxPyEndAllowThreads(__tstate);
22269 if (PyErr_Occurred()) SWIG_fail;
22270 }
22271 {
22272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22273 }
22274 return resultobj;
22275 fail:
22276 return NULL;
22277 }
22278
22279
22280 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22281 PyObject *resultobj;
22282 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22283 PyObject * obj0 = 0 ;
22284 char *kwnames[] = {
22285 (char *) "self", NULL
22286 };
22287
22288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22291 {
22292 PyThreadState* __tstate = wxPyBeginAllowThreads();
22293 (arg1)->base_OnEndDocument();
22294
22295 wxPyEndAllowThreads(__tstate);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 }
22298 Py_INCREF(Py_None); resultobj = Py_None;
22299 return resultobj;
22300 fail:
22301 return NULL;
22302 }
22303
22304
22305 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22306 PyObject *resultobj;
22307 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22308 PyObject * obj0 = 0 ;
22309 char *kwnames[] = {
22310 (char *) "self", NULL
22311 };
22312
22313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22316 {
22317 PyThreadState* __tstate = wxPyBeginAllowThreads();
22318 (arg1)->base_OnBeginPrinting();
22319
22320 wxPyEndAllowThreads(__tstate);
22321 if (PyErr_Occurred()) SWIG_fail;
22322 }
22323 Py_INCREF(Py_None); resultobj = Py_None;
22324 return resultobj;
22325 fail:
22326 return NULL;
22327 }
22328
22329
22330 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22331 PyObject *resultobj;
22332 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22333 PyObject * obj0 = 0 ;
22334 char *kwnames[] = {
22335 (char *) "self", NULL
22336 };
22337
22338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22341 {
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 (arg1)->base_OnEndPrinting();
22344
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 Py_INCREF(Py_None); resultobj = Py_None;
22349 return resultobj;
22350 fail:
22351 return NULL;
22352 }
22353
22354
22355 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22356 PyObject *resultobj;
22357 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22358 PyObject * obj0 = 0 ;
22359 char *kwnames[] = {
22360 (char *) "self", NULL
22361 };
22362
22363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22366 {
22367 PyThreadState* __tstate = wxPyBeginAllowThreads();
22368 (arg1)->base_OnPreparePrinting();
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 Py_INCREF(Py_None); resultobj = Py_None;
22374 return resultobj;
22375 fail:
22376 return NULL;
22377 }
22378
22379
22380 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22381 PyObject *resultobj;
22382 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22383 int arg2 ;
22384 bool result;
22385 PyObject * obj0 = 0 ;
22386 PyObject * obj1 = 0 ;
22387 char *kwnames[] = {
22388 (char *) "self",(char *) "page", NULL
22389 };
22390
22391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22394 arg2 = (int) SWIG_AsInt(obj1);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 {
22397 PyThreadState* __tstate = wxPyBeginAllowThreads();
22398 result = (bool)(arg1)->base_HasPage(arg2);
22399
22400 wxPyEndAllowThreads(__tstate);
22401 if (PyErr_Occurred()) SWIG_fail;
22402 }
22403 {
22404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22405 }
22406 return resultobj;
22407 fail:
22408 return NULL;
22409 }
22410
22411
22412 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22413 PyObject *resultobj;
22414 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22415 int *arg2 = (int *) 0 ;
22416 int *arg3 = (int *) 0 ;
22417 int *arg4 = (int *) 0 ;
22418 int *arg5 = (int *) 0 ;
22419 int temp2 ;
22420 int temp3 ;
22421 int temp4 ;
22422 int temp5 ;
22423 PyObject * obj0 = 0 ;
22424 char *kwnames[] = {
22425 (char *) "self", NULL
22426 };
22427
22428 arg2 = &temp2;
22429 arg3 = &temp3;
22430 arg4 = &temp4;
22431 arg5 = &temp5;
22432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22438
22439 wxPyEndAllowThreads(__tstate);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 Py_INCREF(Py_None); resultobj = Py_None;
22443 {
22444 PyObject *o = PyInt_FromLong((long) (*arg2));
22445 resultobj = t_output_helper(resultobj,o);
22446 }
22447 {
22448 PyObject *o = PyInt_FromLong((long) (*arg3));
22449 resultobj = t_output_helper(resultobj,o);
22450 }
22451 {
22452 PyObject *o = PyInt_FromLong((long) (*arg4));
22453 resultobj = t_output_helper(resultobj,o);
22454 }
22455 {
22456 PyObject *o = PyInt_FromLong((long) (*arg5));
22457 resultobj = t_output_helper(resultobj,o);
22458 }
22459 return resultobj;
22460 fail:
22461 return NULL;
22462 }
22463
22464
22465 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22466 PyObject *obj;
22467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22468 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22469 Py_INCREF(obj);
22470 return Py_BuildValue((char *)"");
22471 }
22472 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22473 PyObject *resultobj;
22474 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22475 wxWindow *arg2 = (wxWindow *) 0 ;
22476 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22477 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22478 wxSize const &arg4_defvalue = wxDefaultSize ;
22479 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22480 long arg5 = (long) 0 ;
22481 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22482 wxString *arg6 = (wxString *) &arg6_defvalue ;
22483 wxPreviewCanvas *result;
22484 wxPoint temp3 ;
22485 wxSize temp4 ;
22486 bool temp6 = False ;
22487 PyObject * obj0 = 0 ;
22488 PyObject * obj1 = 0 ;
22489 PyObject * obj2 = 0 ;
22490 PyObject * obj3 = 0 ;
22491 PyObject * obj4 = 0 ;
22492 PyObject * obj5 = 0 ;
22493 char *kwnames[] = {
22494 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22495 };
22496
22497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22502 if (obj2) {
22503 {
22504 arg3 = &temp3;
22505 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22506 }
22507 }
22508 if (obj3) {
22509 {
22510 arg4 = &temp4;
22511 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22512 }
22513 }
22514 if (obj4) {
22515 arg5 = (long) SWIG_AsLong(obj4);
22516 if (PyErr_Occurred()) SWIG_fail;
22517 }
22518 if (obj5) {
22519 {
22520 arg6 = wxString_in_helper(obj5);
22521 if (arg6 == NULL) SWIG_fail;
22522 temp6 = True;
22523 }
22524 }
22525 {
22526 if (!wxPyCheckForApp()) SWIG_fail;
22527 PyThreadState* __tstate = wxPyBeginAllowThreads();
22528 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22529
22530 wxPyEndAllowThreads(__tstate);
22531 if (PyErr_Occurred()) SWIG_fail;
22532 }
22533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22534 {
22535 if (temp6)
22536 delete arg6;
22537 }
22538 return resultobj;
22539 fail:
22540 {
22541 if (temp6)
22542 delete arg6;
22543 }
22544 return NULL;
22545 }
22546
22547
22548 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22549 PyObject *obj;
22550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22551 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22552 Py_INCREF(obj);
22553 return Py_BuildValue((char *)"");
22554 }
22555 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22556 PyObject *resultobj;
22557 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22558 wxFrame *arg2 = (wxFrame *) 0 ;
22559 wxString *arg3 = 0 ;
22560 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22561 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22562 wxSize const &arg5_defvalue = wxDefaultSize ;
22563 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22564 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22565 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22566 wxString *arg7 = (wxString *) &arg7_defvalue ;
22567 wxPreviewFrame *result;
22568 bool temp3 = False ;
22569 wxPoint temp4 ;
22570 wxSize temp5 ;
22571 bool temp7 = False ;
22572 PyObject * obj0 = 0 ;
22573 PyObject * obj1 = 0 ;
22574 PyObject * obj2 = 0 ;
22575 PyObject * obj3 = 0 ;
22576 PyObject * obj4 = 0 ;
22577 PyObject * obj5 = 0 ;
22578 PyObject * obj6 = 0 ;
22579 char *kwnames[] = {
22580 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22581 };
22582
22583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22588 {
22589 arg3 = wxString_in_helper(obj2);
22590 if (arg3 == NULL) SWIG_fail;
22591 temp3 = True;
22592 }
22593 if (obj3) {
22594 {
22595 arg4 = &temp4;
22596 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22597 }
22598 }
22599 if (obj4) {
22600 {
22601 arg5 = &temp5;
22602 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22603 }
22604 }
22605 if (obj5) {
22606 arg6 = (long) SWIG_AsLong(obj5);
22607 if (PyErr_Occurred()) SWIG_fail;
22608 }
22609 if (obj6) {
22610 {
22611 arg7 = wxString_in_helper(obj6);
22612 if (arg7 == NULL) SWIG_fail;
22613 temp7 = True;
22614 }
22615 }
22616 {
22617 if (!wxPyCheckForApp()) SWIG_fail;
22618 PyThreadState* __tstate = wxPyBeginAllowThreads();
22619 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22620
22621 wxPyEndAllowThreads(__tstate);
22622 if (PyErr_Occurred()) SWIG_fail;
22623 }
22624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22625 {
22626 if (temp3)
22627 delete arg3;
22628 }
22629 {
22630 if (temp7)
22631 delete arg7;
22632 }
22633 return resultobj;
22634 fail:
22635 {
22636 if (temp3)
22637 delete arg3;
22638 }
22639 {
22640 if (temp7)
22641 delete arg7;
22642 }
22643 return NULL;
22644 }
22645
22646
22647 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22648 PyObject *resultobj;
22649 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22650 PyObject * obj0 = 0 ;
22651 char *kwnames[] = {
22652 (char *) "self", NULL
22653 };
22654
22655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22658 {
22659 PyThreadState* __tstate = wxPyBeginAllowThreads();
22660 (arg1)->Initialize();
22661
22662 wxPyEndAllowThreads(__tstate);
22663 if (PyErr_Occurred()) SWIG_fail;
22664 }
22665 Py_INCREF(Py_None); resultobj = Py_None;
22666 return resultobj;
22667 fail:
22668 return NULL;
22669 }
22670
22671
22672 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22673 PyObject *resultobj;
22674 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22675 PyObject * obj0 = 0 ;
22676 char *kwnames[] = {
22677 (char *) "self", NULL
22678 };
22679
22680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22683 {
22684 PyThreadState* __tstate = wxPyBeginAllowThreads();
22685 (arg1)->CreateControlBar();
22686
22687 wxPyEndAllowThreads(__tstate);
22688 if (PyErr_Occurred()) SWIG_fail;
22689 }
22690 Py_INCREF(Py_None); resultobj = Py_None;
22691 return resultobj;
22692 fail:
22693 return NULL;
22694 }
22695
22696
22697 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22698 PyObject *resultobj;
22699 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22700 PyObject * obj0 = 0 ;
22701 char *kwnames[] = {
22702 (char *) "self", NULL
22703 };
22704
22705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22708 {
22709 PyThreadState* __tstate = wxPyBeginAllowThreads();
22710 (arg1)->CreateCanvas();
22711
22712 wxPyEndAllowThreads(__tstate);
22713 if (PyErr_Occurred()) SWIG_fail;
22714 }
22715 Py_INCREF(Py_None); resultobj = Py_None;
22716 return resultobj;
22717 fail:
22718 return NULL;
22719 }
22720
22721
22722 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22723 PyObject *resultobj;
22724 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22725 wxPreviewControlBar *result;
22726 PyObject * obj0 = 0 ;
22727 char *kwnames[] = {
22728 (char *) "self", NULL
22729 };
22730
22731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22734 {
22735 PyThreadState* __tstate = wxPyBeginAllowThreads();
22736 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22737
22738 wxPyEndAllowThreads(__tstate);
22739 if (PyErr_Occurred()) SWIG_fail;
22740 }
22741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22742 return resultobj;
22743 fail:
22744 return NULL;
22745 }
22746
22747
22748 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22749 PyObject *obj;
22750 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22751 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22752 Py_INCREF(obj);
22753 return Py_BuildValue((char *)"");
22754 }
22755 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22756 PyObject *resultobj;
22757 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22758 long arg2 ;
22759 wxWindow *arg3 = (wxWindow *) 0 ;
22760 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22761 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22762 wxSize const &arg5_defvalue = wxDefaultSize ;
22763 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22764 long arg6 = (long) wxTAB_TRAVERSAL ;
22765 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22766 wxString *arg7 = (wxString *) &arg7_defvalue ;
22767 wxPreviewControlBar *result;
22768 wxPoint temp4 ;
22769 wxSize temp5 ;
22770 bool temp7 = False ;
22771 PyObject * obj0 = 0 ;
22772 PyObject * obj1 = 0 ;
22773 PyObject * obj2 = 0 ;
22774 PyObject * obj3 = 0 ;
22775 PyObject * obj4 = 0 ;
22776 PyObject * obj5 = 0 ;
22777 PyObject * obj6 = 0 ;
22778 char *kwnames[] = {
22779 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22780 };
22781
22782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22785 arg2 = (long) SWIG_AsLong(obj1);
22786 if (PyErr_Occurred()) SWIG_fail;
22787 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22789 if (obj3) {
22790 {
22791 arg4 = &temp4;
22792 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22793 }
22794 }
22795 if (obj4) {
22796 {
22797 arg5 = &temp5;
22798 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22799 }
22800 }
22801 if (obj5) {
22802 arg6 = (long) SWIG_AsLong(obj5);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 if (obj6) {
22806 {
22807 arg7 = wxString_in_helper(obj6);
22808 if (arg7 == NULL) SWIG_fail;
22809 temp7 = True;
22810 }
22811 }
22812 {
22813 if (!wxPyCheckForApp()) SWIG_fail;
22814 PyThreadState* __tstate = wxPyBeginAllowThreads();
22815 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22816
22817 wxPyEndAllowThreads(__tstate);
22818 if (PyErr_Occurred()) SWIG_fail;
22819 }
22820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22821 {
22822 if (temp7)
22823 delete arg7;
22824 }
22825 return resultobj;
22826 fail:
22827 {
22828 if (temp7)
22829 delete arg7;
22830 }
22831 return NULL;
22832 }
22833
22834
22835 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22836 PyObject *resultobj;
22837 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22838 int result;
22839 PyObject * obj0 = 0 ;
22840 char *kwnames[] = {
22841 (char *) "self", NULL
22842 };
22843
22844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22847 {
22848 PyThreadState* __tstate = wxPyBeginAllowThreads();
22849 result = (int)(arg1)->GetZoomControl();
22850
22851 wxPyEndAllowThreads(__tstate);
22852 if (PyErr_Occurred()) SWIG_fail;
22853 }
22854 resultobj = SWIG_FromInt((int)result);
22855 return resultobj;
22856 fail:
22857 return NULL;
22858 }
22859
22860
22861 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22862 PyObject *resultobj;
22863 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22864 int arg2 ;
22865 PyObject * obj0 = 0 ;
22866 PyObject * obj1 = 0 ;
22867 char *kwnames[] = {
22868 (char *) "self",(char *) "zoom", NULL
22869 };
22870
22871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22874 arg2 = (int) SWIG_AsInt(obj1);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 {
22877 PyThreadState* __tstate = wxPyBeginAllowThreads();
22878 (arg1)->SetZoomControl(arg2);
22879
22880 wxPyEndAllowThreads(__tstate);
22881 if (PyErr_Occurred()) SWIG_fail;
22882 }
22883 Py_INCREF(Py_None); resultobj = Py_None;
22884 return resultobj;
22885 fail:
22886 return NULL;
22887 }
22888
22889
22890 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22891 PyObject *resultobj;
22892 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22893 wxPrintPreview *result;
22894 PyObject * obj0 = 0 ;
22895 char *kwnames[] = {
22896 (char *) "self", NULL
22897 };
22898
22899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22902 {
22903 PyThreadState* __tstate = wxPyBeginAllowThreads();
22904 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22905
22906 wxPyEndAllowThreads(__tstate);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 }
22909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22910 return resultobj;
22911 fail:
22912 return NULL;
22913 }
22914
22915
22916 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22917 PyObject *resultobj;
22918 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22919 PyObject * obj0 = 0 ;
22920 char *kwnames[] = {
22921 (char *) "self", NULL
22922 };
22923
22924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22927 {
22928 PyThreadState* __tstate = wxPyBeginAllowThreads();
22929 (arg1)->OnNext();
22930
22931 wxPyEndAllowThreads(__tstate);
22932 if (PyErr_Occurred()) SWIG_fail;
22933 }
22934 Py_INCREF(Py_None); resultobj = Py_None;
22935 return resultobj;
22936 fail:
22937 return NULL;
22938 }
22939
22940
22941 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22942 PyObject *resultobj;
22943 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22944 PyObject * obj0 = 0 ;
22945 char *kwnames[] = {
22946 (char *) "self", NULL
22947 };
22948
22949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22952 {
22953 PyThreadState* __tstate = wxPyBeginAllowThreads();
22954 (arg1)->OnPrevious();
22955
22956 wxPyEndAllowThreads(__tstate);
22957 if (PyErr_Occurred()) SWIG_fail;
22958 }
22959 Py_INCREF(Py_None); resultobj = Py_None;
22960 return resultobj;
22961 fail:
22962 return NULL;
22963 }
22964
22965
22966 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22967 PyObject *resultobj;
22968 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22969 PyObject * obj0 = 0 ;
22970 char *kwnames[] = {
22971 (char *) "self", NULL
22972 };
22973
22974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22977 {
22978 PyThreadState* __tstate = wxPyBeginAllowThreads();
22979 (arg1)->OnFirst();
22980
22981 wxPyEndAllowThreads(__tstate);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 }
22984 Py_INCREF(Py_None); resultobj = Py_None;
22985 return resultobj;
22986 fail:
22987 return NULL;
22988 }
22989
22990
22991 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22992 PyObject *resultobj;
22993 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22994 PyObject * obj0 = 0 ;
22995 char *kwnames[] = {
22996 (char *) "self", NULL
22997 };
22998
22999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23002 {
23003 PyThreadState* __tstate = wxPyBeginAllowThreads();
23004 (arg1)->OnLast();
23005
23006 wxPyEndAllowThreads(__tstate);
23007 if (PyErr_Occurred()) SWIG_fail;
23008 }
23009 Py_INCREF(Py_None); resultobj = Py_None;
23010 return resultobj;
23011 fail:
23012 return NULL;
23013 }
23014
23015
23016 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
23017 PyObject *resultobj;
23018 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23019 PyObject * obj0 = 0 ;
23020 char *kwnames[] = {
23021 (char *) "self", NULL
23022 };
23023
23024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23027 {
23028 PyThreadState* __tstate = wxPyBeginAllowThreads();
23029 (arg1)->OnGoto();
23030
23031 wxPyEndAllowThreads(__tstate);
23032 if (PyErr_Occurred()) SWIG_fail;
23033 }
23034 Py_INCREF(Py_None); resultobj = Py_None;
23035 return resultobj;
23036 fail:
23037 return NULL;
23038 }
23039
23040
23041 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
23042 PyObject *obj;
23043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23044 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23045 Py_INCREF(obj);
23046 return Py_BuildValue((char *)"");
23047 }
23048 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23049 PyObject *resultobj;
23050 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23051 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23052 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23053 wxPrintPreview *result;
23054 PyObject * obj0 = 0 ;
23055 PyObject * obj1 = 0 ;
23056 PyObject * obj2 = 0 ;
23057
23058 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23063 if (obj2) {
23064 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23066 }
23067 {
23068 if (!wxPyCheckForApp()) SWIG_fail;
23069 PyThreadState* __tstate = wxPyBeginAllowThreads();
23070 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23071
23072 wxPyEndAllowThreads(__tstate);
23073 if (PyErr_Occurred()) SWIG_fail;
23074 }
23075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23076 return resultobj;
23077 fail:
23078 return NULL;
23079 }
23080
23081
23082 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23083 PyObject *resultobj;
23084 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23085 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23086 wxPrintData *arg3 = (wxPrintData *) 0 ;
23087 wxPrintPreview *result;
23088 PyObject * obj0 = 0 ;
23089 PyObject * obj1 = 0 ;
23090 PyObject * obj2 = 0 ;
23091
23092 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23097 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23099 {
23100 if (!wxPyCheckForApp()) SWIG_fail;
23101 PyThreadState* __tstate = wxPyBeginAllowThreads();
23102 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23103
23104 wxPyEndAllowThreads(__tstate);
23105 if (PyErr_Occurred()) SWIG_fail;
23106 }
23107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23108 return resultobj;
23109 fail:
23110 return NULL;
23111 }
23112
23113
23114 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23115 int argc;
23116 PyObject *argv[4];
23117 int ii;
23118
23119 argc = PyObject_Length(args);
23120 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23121 argv[ii] = PyTuple_GetItem(args,ii);
23122 }
23123 if ((argc >= 2) && (argc <= 3)) {
23124 int _v;
23125 {
23126 void *ptr;
23127 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23128 _v = 0;
23129 PyErr_Clear();
23130 } else {
23131 _v = 1;
23132 }
23133 }
23134 if (_v) {
23135 {
23136 void *ptr;
23137 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23138 _v = 0;
23139 PyErr_Clear();
23140 } else {
23141 _v = 1;
23142 }
23143 }
23144 if (_v) {
23145 if (argc <= 2) {
23146 return _wrap_new_PrintPreview__SWIG_0(self,args);
23147 }
23148 {
23149 void *ptr;
23150 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23151 _v = 0;
23152 PyErr_Clear();
23153 } else {
23154 _v = 1;
23155 }
23156 }
23157 if (_v) {
23158 return _wrap_new_PrintPreview__SWIG_0(self,args);
23159 }
23160 }
23161 }
23162 }
23163 if (argc == 3) {
23164 int _v;
23165 {
23166 void *ptr;
23167 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23168 _v = 0;
23169 PyErr_Clear();
23170 } else {
23171 _v = 1;
23172 }
23173 }
23174 if (_v) {
23175 {
23176 void *ptr;
23177 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23178 _v = 0;
23179 PyErr_Clear();
23180 } else {
23181 _v = 1;
23182 }
23183 }
23184 if (_v) {
23185 {
23186 void *ptr;
23187 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23188 _v = 0;
23189 PyErr_Clear();
23190 } else {
23191 _v = 1;
23192 }
23193 }
23194 if (_v) {
23195 return _wrap_new_PrintPreview__SWIG_1(self,args);
23196 }
23197 }
23198 }
23199 }
23200
23201 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23202 return NULL;
23203 }
23204
23205
23206 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23207 PyObject *resultobj;
23208 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23209 int arg2 ;
23210 bool result;
23211 PyObject * obj0 = 0 ;
23212 PyObject * obj1 = 0 ;
23213 char *kwnames[] = {
23214 (char *) "self",(char *) "pageNum", NULL
23215 };
23216
23217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23220 arg2 = (int) SWIG_AsInt(obj1);
23221 if (PyErr_Occurred()) SWIG_fail;
23222 {
23223 PyThreadState* __tstate = wxPyBeginAllowThreads();
23224 result = (bool)(arg1)->SetCurrentPage(arg2);
23225
23226 wxPyEndAllowThreads(__tstate);
23227 if (PyErr_Occurred()) SWIG_fail;
23228 }
23229 {
23230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23231 }
23232 return resultobj;
23233 fail:
23234 return NULL;
23235 }
23236
23237
23238 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23239 PyObject *resultobj;
23240 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23241 int result;
23242 PyObject * obj0 = 0 ;
23243 char *kwnames[] = {
23244 (char *) "self", NULL
23245 };
23246
23247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23250 {
23251 PyThreadState* __tstate = wxPyBeginAllowThreads();
23252 result = (int)(arg1)->GetCurrentPage();
23253
23254 wxPyEndAllowThreads(__tstate);
23255 if (PyErr_Occurred()) SWIG_fail;
23256 }
23257 resultobj = SWIG_FromInt((int)result);
23258 return resultobj;
23259 fail:
23260 return NULL;
23261 }
23262
23263
23264 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23265 PyObject *resultobj;
23266 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23267 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23268 PyObject * obj0 = 0 ;
23269 PyObject * obj1 = 0 ;
23270 char *kwnames[] = {
23271 (char *) "self",(char *) "printout", NULL
23272 };
23273
23274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23277 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23279 {
23280 PyThreadState* __tstate = wxPyBeginAllowThreads();
23281 (arg1)->SetPrintout(arg2);
23282
23283 wxPyEndAllowThreads(__tstate);
23284 if (PyErr_Occurred()) SWIG_fail;
23285 }
23286 Py_INCREF(Py_None); resultobj = Py_None;
23287 return resultobj;
23288 fail:
23289 return NULL;
23290 }
23291
23292
23293 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23294 PyObject *resultobj;
23295 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23296 wxPyPrintout *result;
23297 PyObject * obj0 = 0 ;
23298 char *kwnames[] = {
23299 (char *) "self", NULL
23300 };
23301
23302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23305 {
23306 PyThreadState* __tstate = wxPyBeginAllowThreads();
23307 result = (wxPyPrintout *)(arg1)->GetPrintout();
23308
23309 wxPyEndAllowThreads(__tstate);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 {
23313 resultobj = wxPyMake_wxObject(result, 0);
23314 }
23315 return resultobj;
23316 fail:
23317 return NULL;
23318 }
23319
23320
23321 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
23322 PyObject *resultobj;
23323 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23324 wxPyPrintout *result;
23325 PyObject * obj0 = 0 ;
23326 char *kwnames[] = {
23327 (char *) "self", NULL
23328 };
23329
23330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23333 {
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23336
23337 wxPyEndAllowThreads(__tstate);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
23340 {
23341 resultobj = wxPyMake_wxObject(result, 0);
23342 }
23343 return resultobj;
23344 fail:
23345 return NULL;
23346 }
23347
23348
23349 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23350 PyObject *resultobj;
23351 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23352 wxFrame *arg2 = (wxFrame *) 0 ;
23353 PyObject * obj0 = 0 ;
23354 PyObject * obj1 = 0 ;
23355 char *kwnames[] = {
23356 (char *) "self",(char *) "frame", NULL
23357 };
23358
23359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23362 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23364 {
23365 PyThreadState* __tstate = wxPyBeginAllowThreads();
23366 (arg1)->SetFrame(arg2);
23367
23368 wxPyEndAllowThreads(__tstate);
23369 if (PyErr_Occurred()) SWIG_fail;
23370 }
23371 Py_INCREF(Py_None); resultobj = Py_None;
23372 return resultobj;
23373 fail:
23374 return NULL;
23375 }
23376
23377
23378 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23379 PyObject *resultobj;
23380 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23381 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23382 PyObject * obj0 = 0 ;
23383 PyObject * obj1 = 0 ;
23384 char *kwnames[] = {
23385 (char *) "self",(char *) "canvas", NULL
23386 };
23387
23388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23391 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23393 {
23394 PyThreadState* __tstate = wxPyBeginAllowThreads();
23395 (arg1)->SetCanvas(arg2);
23396
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
23400 Py_INCREF(Py_None); resultobj = Py_None;
23401 return resultobj;
23402 fail:
23403 return NULL;
23404 }
23405
23406
23407 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23408 PyObject *resultobj;
23409 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23410 wxFrame *result;
23411 PyObject * obj0 = 0 ;
23412 char *kwnames[] = {
23413 (char *) "self", NULL
23414 };
23415
23416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23419 {
23420 PyThreadState* __tstate = wxPyBeginAllowThreads();
23421 result = (wxFrame *)(arg1)->GetFrame();
23422
23423 wxPyEndAllowThreads(__tstate);
23424 if (PyErr_Occurred()) SWIG_fail;
23425 }
23426 {
23427 resultobj = wxPyMake_wxObject(result, 0);
23428 }
23429 return resultobj;
23430 fail:
23431 return NULL;
23432 }
23433
23434
23435 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23436 PyObject *resultobj;
23437 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23438 wxPreviewCanvas *result;
23439 PyObject * obj0 = 0 ;
23440 char *kwnames[] = {
23441 (char *) "self", NULL
23442 };
23443
23444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23447 {
23448 PyThreadState* __tstate = wxPyBeginAllowThreads();
23449 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23450
23451 wxPyEndAllowThreads(__tstate);
23452 if (PyErr_Occurred()) SWIG_fail;
23453 }
23454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23455 return resultobj;
23456 fail:
23457 return NULL;
23458 }
23459
23460
23461 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23462 PyObject *resultobj;
23463 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23464 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23465 wxDC *arg3 = 0 ;
23466 bool result;
23467 PyObject * obj0 = 0 ;
23468 PyObject * obj1 = 0 ;
23469 PyObject * obj2 = 0 ;
23470 char *kwnames[] = {
23471 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23472 };
23473
23474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23479 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23480 SWIG_POINTER_EXCEPTION | 0)) == -1)
23481 SWIG_fail;
23482 if (arg3 == NULL) {
23483 PyErr_SetString(PyExc_TypeError,"null reference");
23484 SWIG_fail;
23485 }
23486 {
23487 PyThreadState* __tstate = wxPyBeginAllowThreads();
23488 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23489
23490 wxPyEndAllowThreads(__tstate);
23491 if (PyErr_Occurred()) SWIG_fail;
23492 }
23493 {
23494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23495 }
23496 return resultobj;
23497 fail:
23498 return NULL;
23499 }
23500
23501
23502 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23503 PyObject *resultobj;
23504 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23505 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23506 wxDC *arg3 = 0 ;
23507 bool result;
23508 PyObject * obj0 = 0 ;
23509 PyObject * obj1 = 0 ;
23510 PyObject * obj2 = 0 ;
23511 char *kwnames[] = {
23512 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23513 };
23514
23515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23520 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23521 SWIG_POINTER_EXCEPTION | 0)) == -1)
23522 SWIG_fail;
23523 if (arg3 == NULL) {
23524 PyErr_SetString(PyExc_TypeError,"null reference");
23525 SWIG_fail;
23526 }
23527 {
23528 PyThreadState* __tstate = wxPyBeginAllowThreads();
23529 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23530
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
23534 {
23535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23536 }
23537 return resultobj;
23538 fail:
23539 return NULL;
23540 }
23541
23542
23543 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23544 PyObject *resultobj;
23545 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23546 int arg2 ;
23547 bool result;
23548 PyObject * obj0 = 0 ;
23549 PyObject * obj1 = 0 ;
23550 char *kwnames[] = {
23551 (char *) "self",(char *) "pageNum", NULL
23552 };
23553
23554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23557 arg2 = (int) SWIG_AsInt(obj1);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 {
23560 PyThreadState* __tstate = wxPyBeginAllowThreads();
23561 result = (bool)(arg1)->RenderPage(arg2);
23562
23563 wxPyEndAllowThreads(__tstate);
23564 if (PyErr_Occurred()) SWIG_fail;
23565 }
23566 {
23567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23568 }
23569 return resultobj;
23570 fail:
23571 return NULL;
23572 }
23573
23574
23575 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23576 PyObject *resultobj;
23577 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23578 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23579 PyObject * obj0 = 0 ;
23580 PyObject * obj1 = 0 ;
23581 char *kwnames[] = {
23582 (char *) "self",(char *) "canvas", NULL
23583 };
23584
23585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23590 {
23591 PyThreadState* __tstate = wxPyBeginAllowThreads();
23592 (arg1)->AdjustScrollbars(arg2);
23593
23594 wxPyEndAllowThreads(__tstate);
23595 if (PyErr_Occurred()) SWIG_fail;
23596 }
23597 Py_INCREF(Py_None); resultobj = Py_None;
23598 return resultobj;
23599 fail:
23600 return NULL;
23601 }
23602
23603
23604 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23605 PyObject *resultobj;
23606 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23607 wxPrintDialogData *result;
23608 PyObject * obj0 = 0 ;
23609 char *kwnames[] = {
23610 (char *) "self", NULL
23611 };
23612
23613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23616 {
23617 PyThreadState* __tstate = wxPyBeginAllowThreads();
23618 {
23619 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23620 result = (wxPrintDialogData *) &_result_ref;
23621 }
23622
23623 wxPyEndAllowThreads(__tstate);
23624 if (PyErr_Occurred()) SWIG_fail;
23625 }
23626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23627 return resultobj;
23628 fail:
23629 return NULL;
23630 }
23631
23632
23633 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23634 PyObject *resultobj;
23635 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23636 int arg2 ;
23637 PyObject * obj0 = 0 ;
23638 PyObject * obj1 = 0 ;
23639 char *kwnames[] = {
23640 (char *) "self",(char *) "percent", NULL
23641 };
23642
23643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23646 arg2 = (int) SWIG_AsInt(obj1);
23647 if (PyErr_Occurred()) SWIG_fail;
23648 {
23649 PyThreadState* __tstate = wxPyBeginAllowThreads();
23650 (arg1)->SetZoom(arg2);
23651
23652 wxPyEndAllowThreads(__tstate);
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
23655 Py_INCREF(Py_None); resultobj = Py_None;
23656 return resultobj;
23657 fail:
23658 return NULL;
23659 }
23660
23661
23662 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23663 PyObject *resultobj;
23664 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23665 int result;
23666 PyObject * obj0 = 0 ;
23667 char *kwnames[] = {
23668 (char *) "self", NULL
23669 };
23670
23671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 result = (int)(arg1)->GetZoom();
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 resultobj = SWIG_FromInt((int)result);
23682 return resultobj;
23683 fail:
23684 return NULL;
23685 }
23686
23687
23688 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23689 PyObject *resultobj;
23690 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23691 int result;
23692 PyObject * obj0 = 0 ;
23693 char *kwnames[] = {
23694 (char *) "self", NULL
23695 };
23696
23697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23700 {
23701 PyThreadState* __tstate = wxPyBeginAllowThreads();
23702 result = (int)(arg1)->GetMaxPage();
23703
23704 wxPyEndAllowThreads(__tstate);
23705 if (PyErr_Occurred()) SWIG_fail;
23706 }
23707 resultobj = SWIG_FromInt((int)result);
23708 return resultobj;
23709 fail:
23710 return NULL;
23711 }
23712
23713
23714 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23715 PyObject *resultobj;
23716 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23717 int result;
23718 PyObject * obj0 = 0 ;
23719 char *kwnames[] = {
23720 (char *) "self", NULL
23721 };
23722
23723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23726 {
23727 PyThreadState* __tstate = wxPyBeginAllowThreads();
23728 result = (int)(arg1)->GetMinPage();
23729
23730 wxPyEndAllowThreads(__tstate);
23731 if (PyErr_Occurred()) SWIG_fail;
23732 }
23733 resultobj = SWIG_FromInt((int)result);
23734 return resultobj;
23735 fail:
23736 return NULL;
23737 }
23738
23739
23740 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23741 PyObject *resultobj;
23742 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23743 bool result;
23744 PyObject * obj0 = 0 ;
23745 char *kwnames[] = {
23746 (char *) "self", NULL
23747 };
23748
23749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23752 {
23753 PyThreadState* __tstate = wxPyBeginAllowThreads();
23754 result = (bool)(arg1)->Ok();
23755
23756 wxPyEndAllowThreads(__tstate);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
23759 {
23760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23761 }
23762 return resultobj;
23763 fail:
23764 return NULL;
23765 }
23766
23767
23768 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23769 PyObject *resultobj;
23770 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23771 bool arg2 ;
23772 PyObject * obj0 = 0 ;
23773 PyObject * obj1 = 0 ;
23774 char *kwnames[] = {
23775 (char *) "self",(char *) "ok", NULL
23776 };
23777
23778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23781 arg2 = (bool) SWIG_AsBool(obj1);
23782 if (PyErr_Occurred()) SWIG_fail;
23783 {
23784 PyThreadState* __tstate = wxPyBeginAllowThreads();
23785 (arg1)->SetOk(arg2);
23786
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 Py_INCREF(Py_None); resultobj = Py_None;
23791 return resultobj;
23792 fail:
23793 return NULL;
23794 }
23795
23796
23797 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23798 PyObject *resultobj;
23799 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23800 bool arg2 ;
23801 bool result;
23802 PyObject * obj0 = 0 ;
23803 PyObject * obj1 = 0 ;
23804 char *kwnames[] = {
23805 (char *) "self",(char *) "interactive", NULL
23806 };
23807
23808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23811 arg2 = (bool) SWIG_AsBool(obj1);
23812 if (PyErr_Occurred()) SWIG_fail;
23813 {
23814 PyThreadState* __tstate = wxPyBeginAllowThreads();
23815 result = (bool)(arg1)->Print(arg2);
23816
23817 wxPyEndAllowThreads(__tstate);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
23820 {
23821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23822 }
23823 return resultobj;
23824 fail:
23825 return NULL;
23826 }
23827
23828
23829 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23830 PyObject *resultobj;
23831 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23832 PyObject * obj0 = 0 ;
23833 char *kwnames[] = {
23834 (char *) "self", NULL
23835 };
23836
23837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 (arg1)->DetermineScaling();
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
23847 Py_INCREF(Py_None); resultobj = Py_None;
23848 return resultobj;
23849 fail:
23850 return NULL;
23851 }
23852
23853
23854 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23855 PyObject *obj;
23856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23857 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23858 Py_INCREF(obj);
23859 return Py_BuildValue((char *)"");
23860 }
23861 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23862 PyObject *resultobj;
23863 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23864 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23865 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23866 wxPyPrintPreview *result;
23867 PyObject * obj0 = 0 ;
23868 PyObject * obj1 = 0 ;
23869 PyObject * obj2 = 0 ;
23870
23871 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23874 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23876 if (obj2) {
23877 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23879 }
23880 {
23881 if (!wxPyCheckForApp()) SWIG_fail;
23882 PyThreadState* __tstate = wxPyBeginAllowThreads();
23883 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23884
23885 wxPyEndAllowThreads(__tstate);
23886 if (PyErr_Occurred()) SWIG_fail;
23887 }
23888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23889 return resultobj;
23890 fail:
23891 return NULL;
23892 }
23893
23894
23895 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23896 PyObject *resultobj;
23897 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23898 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23899 wxPrintData *arg3 = (wxPrintData *) 0 ;
23900 wxPyPrintPreview *result;
23901 PyObject * obj0 = 0 ;
23902 PyObject * obj1 = 0 ;
23903 PyObject * obj2 = 0 ;
23904
23905 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23910 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23912 {
23913 if (!wxPyCheckForApp()) SWIG_fail;
23914 PyThreadState* __tstate = wxPyBeginAllowThreads();
23915 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23916
23917 wxPyEndAllowThreads(__tstate);
23918 if (PyErr_Occurred()) SWIG_fail;
23919 }
23920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23921 return resultobj;
23922 fail:
23923 return NULL;
23924 }
23925
23926
23927 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23928 int argc;
23929 PyObject *argv[4];
23930 int ii;
23931
23932 argc = PyObject_Length(args);
23933 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23934 argv[ii] = PyTuple_GetItem(args,ii);
23935 }
23936 if ((argc >= 2) && (argc <= 3)) {
23937 int _v;
23938 {
23939 void *ptr;
23940 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23941 _v = 0;
23942 PyErr_Clear();
23943 } else {
23944 _v = 1;
23945 }
23946 }
23947 if (_v) {
23948 {
23949 void *ptr;
23950 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23951 _v = 0;
23952 PyErr_Clear();
23953 } else {
23954 _v = 1;
23955 }
23956 }
23957 if (_v) {
23958 if (argc <= 2) {
23959 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23960 }
23961 {
23962 void *ptr;
23963 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23964 _v = 0;
23965 PyErr_Clear();
23966 } else {
23967 _v = 1;
23968 }
23969 }
23970 if (_v) {
23971 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23972 }
23973 }
23974 }
23975 }
23976 if (argc == 3) {
23977 int _v;
23978 {
23979 void *ptr;
23980 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23981 _v = 0;
23982 PyErr_Clear();
23983 } else {
23984 _v = 1;
23985 }
23986 }
23987 if (_v) {
23988 {
23989 void *ptr;
23990 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23991 _v = 0;
23992 PyErr_Clear();
23993 } else {
23994 _v = 1;
23995 }
23996 }
23997 if (_v) {
23998 {
23999 void *ptr;
24000 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24001 _v = 0;
24002 PyErr_Clear();
24003 } else {
24004 _v = 1;
24005 }
24006 }
24007 if (_v) {
24008 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24009 }
24010 }
24011 }
24012 }
24013
24014 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24015 return NULL;
24016 }
24017
24018
24019 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24020 PyObject *resultobj;
24021 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24022 PyObject *arg2 = (PyObject *) 0 ;
24023 PyObject *arg3 = (PyObject *) 0 ;
24024 PyObject * obj0 = 0 ;
24025 PyObject * obj1 = 0 ;
24026 PyObject * obj2 = 0 ;
24027 char *kwnames[] = {
24028 (char *) "self",(char *) "self",(char *) "_class", NULL
24029 };
24030
24031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24034 arg2 = obj1;
24035 arg3 = obj2;
24036 {
24037 PyThreadState* __tstate = wxPyBeginAllowThreads();
24038 (arg1)->_setCallbackInfo(arg2,arg3);
24039
24040 wxPyEndAllowThreads(__tstate);
24041 if (PyErr_Occurred()) SWIG_fail;
24042 }
24043 Py_INCREF(Py_None); resultobj = Py_None;
24044 return resultobj;
24045 fail:
24046 return NULL;
24047 }
24048
24049
24050 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24051 PyObject *resultobj;
24052 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24053 int arg2 ;
24054 bool result;
24055 PyObject * obj0 = 0 ;
24056 PyObject * obj1 = 0 ;
24057 char *kwnames[] = {
24058 (char *) "self",(char *) "pageNum", NULL
24059 };
24060
24061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24064 arg2 = (int) SWIG_AsInt(obj1);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 {
24067 PyThreadState* __tstate = wxPyBeginAllowThreads();
24068 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24069
24070 wxPyEndAllowThreads(__tstate);
24071 if (PyErr_Occurred()) SWIG_fail;
24072 }
24073 {
24074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24075 }
24076 return resultobj;
24077 fail:
24078 return NULL;
24079 }
24080
24081
24082 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24083 PyObject *resultobj;
24084 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24085 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24086 wxDC *arg3 = 0 ;
24087 bool result;
24088 PyObject * obj0 = 0 ;
24089 PyObject * obj1 = 0 ;
24090 PyObject * obj2 = 0 ;
24091 char *kwnames[] = {
24092 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24093 };
24094
24095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24100 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24101 SWIG_POINTER_EXCEPTION | 0)) == -1)
24102 SWIG_fail;
24103 if (arg3 == NULL) {
24104 PyErr_SetString(PyExc_TypeError,"null reference");
24105 SWIG_fail;
24106 }
24107 {
24108 PyThreadState* __tstate = wxPyBeginAllowThreads();
24109 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24110
24111 wxPyEndAllowThreads(__tstate);
24112 if (PyErr_Occurred()) SWIG_fail;
24113 }
24114 {
24115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24116 }
24117 return resultobj;
24118 fail:
24119 return NULL;
24120 }
24121
24122
24123 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24124 PyObject *resultobj;
24125 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24126 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24127 wxDC *arg3 = 0 ;
24128 bool result;
24129 PyObject * obj0 = 0 ;
24130 PyObject * obj1 = 0 ;
24131 PyObject * obj2 = 0 ;
24132 char *kwnames[] = {
24133 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24134 };
24135
24136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24141 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24142 SWIG_POINTER_EXCEPTION | 0)) == -1)
24143 SWIG_fail;
24144 if (arg3 == NULL) {
24145 PyErr_SetString(PyExc_TypeError,"null reference");
24146 SWIG_fail;
24147 }
24148 {
24149 PyThreadState* __tstate = wxPyBeginAllowThreads();
24150 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24151
24152 wxPyEndAllowThreads(__tstate);
24153 if (PyErr_Occurred()) SWIG_fail;
24154 }
24155 {
24156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24157 }
24158 return resultobj;
24159 fail:
24160 return NULL;
24161 }
24162
24163
24164 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24165 PyObject *resultobj;
24166 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24167 int arg2 ;
24168 bool result;
24169 PyObject * obj0 = 0 ;
24170 PyObject * obj1 = 0 ;
24171 char *kwnames[] = {
24172 (char *) "self",(char *) "pageNum", NULL
24173 };
24174
24175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24178 arg2 = (int) SWIG_AsInt(obj1);
24179 if (PyErr_Occurred()) SWIG_fail;
24180 {
24181 PyThreadState* __tstate = wxPyBeginAllowThreads();
24182 result = (bool)(arg1)->base_RenderPage(arg2);
24183
24184 wxPyEndAllowThreads(__tstate);
24185 if (PyErr_Occurred()) SWIG_fail;
24186 }
24187 {
24188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24189 }
24190 return resultobj;
24191 fail:
24192 return NULL;
24193 }
24194
24195
24196 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
24197 PyObject *resultobj;
24198 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24199 int arg2 ;
24200 PyObject * obj0 = 0 ;
24201 PyObject * obj1 = 0 ;
24202 char *kwnames[] = {
24203 (char *) "self",(char *) "percent", NULL
24204 };
24205
24206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24209 arg2 = (int) SWIG_AsInt(obj1);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 {
24212 PyThreadState* __tstate = wxPyBeginAllowThreads();
24213 (arg1)->base_SetZoom(arg2);
24214
24215 wxPyEndAllowThreads(__tstate);
24216 if (PyErr_Occurred()) SWIG_fail;
24217 }
24218 Py_INCREF(Py_None); resultobj = Py_None;
24219 return resultobj;
24220 fail:
24221 return NULL;
24222 }
24223
24224
24225 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24226 PyObject *resultobj;
24227 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24228 bool arg2 ;
24229 bool result;
24230 PyObject * obj0 = 0 ;
24231 PyObject * obj1 = 0 ;
24232 char *kwnames[] = {
24233 (char *) "self",(char *) "interactive", NULL
24234 };
24235
24236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24239 arg2 = (bool) SWIG_AsBool(obj1);
24240 if (PyErr_Occurred()) SWIG_fail;
24241 {
24242 PyThreadState* __tstate = wxPyBeginAllowThreads();
24243 result = (bool)(arg1)->base_Print(arg2);
24244
24245 wxPyEndAllowThreads(__tstate);
24246 if (PyErr_Occurred()) SWIG_fail;
24247 }
24248 {
24249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24250 }
24251 return resultobj;
24252 fail:
24253 return NULL;
24254 }
24255
24256
24257 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24258 PyObject *resultobj;
24259 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24260 PyObject * obj0 = 0 ;
24261 char *kwnames[] = {
24262 (char *) "self", NULL
24263 };
24264
24265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24268 {
24269 PyThreadState* __tstate = wxPyBeginAllowThreads();
24270 (arg1)->base_DetermineScaling();
24271
24272 wxPyEndAllowThreads(__tstate);
24273 if (PyErr_Occurred()) SWIG_fail;
24274 }
24275 Py_INCREF(Py_None); resultobj = Py_None;
24276 return resultobj;
24277 fail:
24278 return NULL;
24279 }
24280
24281
24282 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
24283 PyObject *obj;
24284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24285 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24286 Py_INCREF(obj);
24287 return Py_BuildValue((char *)"");
24288 }
24289 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
24290 PyObject *resultobj;
24291 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24292 wxFrame *arg2 = (wxFrame *) 0 ;
24293 wxString *arg3 = 0 ;
24294 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24295 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24296 wxSize const &arg5_defvalue = wxDefaultSize ;
24297 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24298 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24299 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24300 wxString *arg7 = (wxString *) &arg7_defvalue ;
24301 wxPyPreviewFrame *result;
24302 bool temp3 = False ;
24303 wxPoint temp4 ;
24304 wxSize temp5 ;
24305 bool temp7 = False ;
24306 PyObject * obj0 = 0 ;
24307 PyObject * obj1 = 0 ;
24308 PyObject * obj2 = 0 ;
24309 PyObject * obj3 = 0 ;
24310 PyObject * obj4 = 0 ;
24311 PyObject * obj5 = 0 ;
24312 PyObject * obj6 = 0 ;
24313 char *kwnames[] = {
24314 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24315 };
24316
24317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24322 {
24323 arg3 = wxString_in_helper(obj2);
24324 if (arg3 == NULL) SWIG_fail;
24325 temp3 = True;
24326 }
24327 if (obj3) {
24328 {
24329 arg4 = &temp4;
24330 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24331 }
24332 }
24333 if (obj4) {
24334 {
24335 arg5 = &temp5;
24336 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24337 }
24338 }
24339 if (obj5) {
24340 arg6 = (long) SWIG_AsLong(obj5);
24341 if (PyErr_Occurred()) SWIG_fail;
24342 }
24343 if (obj6) {
24344 {
24345 arg7 = wxString_in_helper(obj6);
24346 if (arg7 == NULL) SWIG_fail;
24347 temp7 = True;
24348 }
24349 }
24350 {
24351 if (!wxPyCheckForApp()) SWIG_fail;
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24354
24355 wxPyEndAllowThreads(__tstate);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 }
24358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24359 {
24360 if (temp3)
24361 delete arg3;
24362 }
24363 {
24364 if (temp7)
24365 delete arg7;
24366 }
24367 return resultobj;
24368 fail:
24369 {
24370 if (temp3)
24371 delete arg3;
24372 }
24373 {
24374 if (temp7)
24375 delete arg7;
24376 }
24377 return NULL;
24378 }
24379
24380
24381 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24382 PyObject *resultobj;
24383 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24384 PyObject *arg2 = (PyObject *) 0 ;
24385 PyObject *arg3 = (PyObject *) 0 ;
24386 PyObject * obj0 = 0 ;
24387 PyObject * obj1 = 0 ;
24388 PyObject * obj2 = 0 ;
24389 char *kwnames[] = {
24390 (char *) "self",(char *) "self",(char *) "_class", NULL
24391 };
24392
24393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24396 arg2 = obj1;
24397 arg3 = obj2;
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 (arg1)->_setCallbackInfo(arg2,arg3);
24401
24402 wxPyEndAllowThreads(__tstate);
24403 if (PyErr_Occurred()) SWIG_fail;
24404 }
24405 Py_INCREF(Py_None); resultobj = Py_None;
24406 return resultobj;
24407 fail:
24408 return NULL;
24409 }
24410
24411
24412 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24413 PyObject *resultobj;
24414 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24415 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24416 PyObject * obj0 = 0 ;
24417 PyObject * obj1 = 0 ;
24418 char *kwnames[] = {
24419 (char *) "self",(char *) "canvas", NULL
24420 };
24421
24422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24427 {
24428 PyThreadState* __tstate = wxPyBeginAllowThreads();
24429 (arg1)->SetPreviewCanvas(arg2);
24430
24431 wxPyEndAllowThreads(__tstate);
24432 if (PyErr_Occurred()) SWIG_fail;
24433 }
24434 Py_INCREF(Py_None); resultobj = Py_None;
24435 return resultobj;
24436 fail:
24437 return NULL;
24438 }
24439
24440
24441 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24442 PyObject *resultobj;
24443 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24444 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24445 PyObject * obj0 = 0 ;
24446 PyObject * obj1 = 0 ;
24447 char *kwnames[] = {
24448 (char *) "self",(char *) "bar", NULL
24449 };
24450
24451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24454 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24456 {
24457 PyThreadState* __tstate = wxPyBeginAllowThreads();
24458 (arg1)->SetControlBar(arg2);
24459
24460 wxPyEndAllowThreads(__tstate);
24461 if (PyErr_Occurred()) SWIG_fail;
24462 }
24463 Py_INCREF(Py_None); resultobj = Py_None;
24464 return resultobj;
24465 fail:
24466 return NULL;
24467 }
24468
24469
24470 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24471 PyObject *resultobj;
24472 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24473 PyObject * obj0 = 0 ;
24474 char *kwnames[] = {
24475 (char *) "self", NULL
24476 };
24477
24478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24481 {
24482 PyThreadState* __tstate = wxPyBeginAllowThreads();
24483 (arg1)->base_Initialize();
24484
24485 wxPyEndAllowThreads(__tstate);
24486 if (PyErr_Occurred()) SWIG_fail;
24487 }
24488 Py_INCREF(Py_None); resultobj = Py_None;
24489 return resultobj;
24490 fail:
24491 return NULL;
24492 }
24493
24494
24495 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24496 PyObject *resultobj;
24497 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24498 PyObject * obj0 = 0 ;
24499 char *kwnames[] = {
24500 (char *) "self", NULL
24501 };
24502
24503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24506 {
24507 PyThreadState* __tstate = wxPyBeginAllowThreads();
24508 (arg1)->base_CreateCanvas();
24509
24510 wxPyEndAllowThreads(__tstate);
24511 if (PyErr_Occurred()) SWIG_fail;
24512 }
24513 Py_INCREF(Py_None); resultobj = Py_None;
24514 return resultobj;
24515 fail:
24516 return NULL;
24517 }
24518
24519
24520 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24521 PyObject *resultobj;
24522 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24523 PyObject * obj0 = 0 ;
24524 char *kwnames[] = {
24525 (char *) "self", NULL
24526 };
24527
24528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24531 {
24532 PyThreadState* __tstate = wxPyBeginAllowThreads();
24533 (arg1)->base_CreateControlBar();
24534
24535 wxPyEndAllowThreads(__tstate);
24536 if (PyErr_Occurred()) SWIG_fail;
24537 }
24538 Py_INCREF(Py_None); resultobj = Py_None;
24539 return resultobj;
24540 fail:
24541 return NULL;
24542 }
24543
24544
24545 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24546 PyObject *obj;
24547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24548 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24549 Py_INCREF(obj);
24550 return Py_BuildValue((char *)"");
24551 }
24552 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24553 PyObject *resultobj;
24554 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24555 long arg2 ;
24556 wxWindow *arg3 = (wxWindow *) 0 ;
24557 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24558 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24559 wxSize const &arg5_defvalue = wxDefaultSize ;
24560 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24561 long arg6 = (long) 0 ;
24562 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24563 wxString *arg7 = (wxString *) &arg7_defvalue ;
24564 wxPyPreviewControlBar *result;
24565 wxPoint temp4 ;
24566 wxSize temp5 ;
24567 bool temp7 = False ;
24568 PyObject * obj0 = 0 ;
24569 PyObject * obj1 = 0 ;
24570 PyObject * obj2 = 0 ;
24571 PyObject * obj3 = 0 ;
24572 PyObject * obj4 = 0 ;
24573 PyObject * obj5 = 0 ;
24574 PyObject * obj6 = 0 ;
24575 char *kwnames[] = {
24576 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24577 };
24578
24579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24582 arg2 = (long) SWIG_AsLong(obj1);
24583 if (PyErr_Occurred()) SWIG_fail;
24584 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24586 if (obj3) {
24587 {
24588 arg4 = &temp4;
24589 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24590 }
24591 }
24592 if (obj4) {
24593 {
24594 arg5 = &temp5;
24595 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24596 }
24597 }
24598 if (obj5) {
24599 arg6 = (long) SWIG_AsLong(obj5);
24600 if (PyErr_Occurred()) SWIG_fail;
24601 }
24602 if (obj6) {
24603 {
24604 arg7 = wxString_in_helper(obj6);
24605 if (arg7 == NULL) SWIG_fail;
24606 temp7 = True;
24607 }
24608 }
24609 {
24610 if (!wxPyCheckForApp()) SWIG_fail;
24611 PyThreadState* __tstate = wxPyBeginAllowThreads();
24612 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24613
24614 wxPyEndAllowThreads(__tstate);
24615 if (PyErr_Occurred()) SWIG_fail;
24616 }
24617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24618 {
24619 if (temp7)
24620 delete arg7;
24621 }
24622 return resultobj;
24623 fail:
24624 {
24625 if (temp7)
24626 delete arg7;
24627 }
24628 return NULL;
24629 }
24630
24631
24632 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24633 PyObject *resultobj;
24634 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24635 PyObject *arg2 = (PyObject *) 0 ;
24636 PyObject *arg3 = (PyObject *) 0 ;
24637 PyObject * obj0 = 0 ;
24638 PyObject * obj1 = 0 ;
24639 PyObject * obj2 = 0 ;
24640 char *kwnames[] = {
24641 (char *) "self",(char *) "self",(char *) "_class", NULL
24642 };
24643
24644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24647 arg2 = obj1;
24648 arg3 = obj2;
24649 {
24650 PyThreadState* __tstate = wxPyBeginAllowThreads();
24651 (arg1)->_setCallbackInfo(arg2,arg3);
24652
24653 wxPyEndAllowThreads(__tstate);
24654 if (PyErr_Occurred()) SWIG_fail;
24655 }
24656 Py_INCREF(Py_None); resultobj = Py_None;
24657 return resultobj;
24658 fail:
24659 return NULL;
24660 }
24661
24662
24663 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24664 PyObject *resultobj;
24665 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24666 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24667 PyObject * obj0 = 0 ;
24668 PyObject * obj1 = 0 ;
24669 char *kwnames[] = {
24670 (char *) "self",(char *) "preview", NULL
24671 };
24672
24673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24676 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24678 {
24679 PyThreadState* __tstate = wxPyBeginAllowThreads();
24680 (arg1)->SetPrintPreview(arg2);
24681
24682 wxPyEndAllowThreads(__tstate);
24683 if (PyErr_Occurred()) SWIG_fail;
24684 }
24685 Py_INCREF(Py_None); resultobj = Py_None;
24686 return resultobj;
24687 fail:
24688 return NULL;
24689 }
24690
24691
24692 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24693 PyObject *resultobj;
24694 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24695 PyObject * obj0 = 0 ;
24696 char *kwnames[] = {
24697 (char *) "self", NULL
24698 };
24699
24700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24703 {
24704 PyThreadState* __tstate = wxPyBeginAllowThreads();
24705 (arg1)->base_CreateButtons();
24706
24707 wxPyEndAllowThreads(__tstate);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 Py_INCREF(Py_None); resultobj = Py_None;
24711 return resultobj;
24712 fail:
24713 return NULL;
24714 }
24715
24716
24717 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24718 PyObject *resultobj;
24719 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24720 int arg2 ;
24721 PyObject * obj0 = 0 ;
24722 PyObject * obj1 = 0 ;
24723 char *kwnames[] = {
24724 (char *) "self",(char *) "zoom", NULL
24725 };
24726
24727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24730 arg2 = (int) SWIG_AsInt(obj1);
24731 if (PyErr_Occurred()) SWIG_fail;
24732 {
24733 PyThreadState* __tstate = wxPyBeginAllowThreads();
24734 (arg1)->base_SetZoomControl(arg2);
24735
24736 wxPyEndAllowThreads(__tstate);
24737 if (PyErr_Occurred()) SWIG_fail;
24738 }
24739 Py_INCREF(Py_None); resultobj = Py_None;
24740 return resultobj;
24741 fail:
24742 return NULL;
24743 }
24744
24745
24746 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24747 PyObject *obj;
24748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24749 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24750 Py_INCREF(obj);
24751 return Py_BuildValue((char *)"");
24752 }
24753 static PyMethodDef SwigMethods[] = {
24754 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24760 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24775 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24776 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24785 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24801 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24825 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24837 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24841 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24845 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24850 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24866 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24894 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24901 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24924 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24932 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24944 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24950 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24959 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24965 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24968 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24971 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24975 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24993 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
25019 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
25027 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
25031 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
25033 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
25042 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
25045 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
25052 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
25070 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
25074 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
25079 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
25083 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
25099 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
25102 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
25104 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
25108 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
25117 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
25126 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
25132 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
25144 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
25151 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
25155 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
25181 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
25207 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
25233 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS },
25234 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
25279 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS },
25280 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
25311 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
25315 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
25316 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25342 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25349 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25351 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25354 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25365 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25367 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25369 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25371 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25380 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25383 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25384 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25385 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25387 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25388 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25389 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25390 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25391 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25392 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25393 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25395 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25396 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25398 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25399 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25400 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25401 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25402 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25403 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25404 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25405 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25406 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25407 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25408 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25409 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25410 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25411 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25412 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25413 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25414 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25415 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25416 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25417 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25418 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25419 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25420 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25421 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25422 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25423 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25424 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25425 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25426 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25427 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25428 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25429 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25430 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25431 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25432 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25433 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25434 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25435 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25436 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25437 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25438 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25439 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25440 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25441 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25442 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25443 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25444 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25445 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25446 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25447 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25448 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25449 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25450 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25451 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25452 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25453 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25454 { NULL, NULL }
25455 };
25456
25457
25458 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25459
25460 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25461 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25462 }
25463 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25464 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25465 }
25466 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25467 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25468 }
25469 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25470 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25471 }
25472 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25473 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25474 }
25475 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25476 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25477 }
25478 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25479 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25480 }
25481 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25482 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25483 }
25484 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25485 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25486 }
25487 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25488 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25489 }
25490 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25491 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25492 }
25493 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25494 return (void *)((wxEvent *) ((wxPyEvent *) x));
25495 }
25496 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25497 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25498 }
25499 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25500 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25501 }
25502 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25503 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25504 }
25505 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25506 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25507 }
25508 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25509 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25510 }
25511 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25512 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25513 }
25514 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25515 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25516 }
25517 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25518 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25519 }
25520 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25521 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25522 }
25523 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25524 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25525 }
25526 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25527 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25528 }
25529 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25530 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25531 }
25532 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25533 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25534 }
25535 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25536 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25537 }
25538 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25539 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25540 }
25541 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25542 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25543 }
25544 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25545 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25546 }
25547 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25548 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25549 }
25550 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25551 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25552 }
25553 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25554 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25555 }
25556 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25557 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25558 }
25559 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25560 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25561 }
25562 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25563 return (void *)((wxEvent *) ((wxShowEvent *) x));
25564 }
25565 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25566 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25567 }
25568 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25569 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25570 }
25571 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25572 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25573 }
25574 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25575 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25576 }
25577 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25578 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25579 }
25580 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25581 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25582 }
25583 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25584 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25585 }
25586 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25587 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25588 }
25589 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25590 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25591 }
25592 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25593 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25594 }
25595 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25596 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25597 }
25598 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25599 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25600 }
25601 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25602 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25603 }
25604 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25605 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25606 }
25607 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25608 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25609 }
25610 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25611 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25612 }
25613 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25614 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25615 }
25616 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25617 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25618 }
25619 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25620 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25621 }
25622 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25623 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25624 }
25625 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25626 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25627 }
25628 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25629 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25630 }
25631 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25632 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25633 }
25634 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25635 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25636 }
25637 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25638 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25639 }
25640 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25641 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25642 }
25643 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25644 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25645 }
25646 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25647 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25648 }
25649 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25650 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25651 }
25652 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25653 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25654 }
25655 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25656 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25657 }
25658 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25659 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25660 }
25661 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25662 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25663 }
25664 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25665 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25666 }
25667 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25668 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25669 }
25670 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25671 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25672 }
25673 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25674 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25675 }
25676 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25677 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25678 }
25679 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25680 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25681 }
25682 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25683 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25684 }
25685 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25686 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25687 }
25688 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25689 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25690 }
25691 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25692 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25693 }
25694 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25695 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25696 }
25697 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25698 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25699 }
25700 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25701 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25702 }
25703 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25704 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25705 }
25706 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25707 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25708 }
25709 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25710 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25711 }
25712 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25713 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25714 }
25715 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25716 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25717 }
25718 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25719 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25720 }
25721 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25722 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25723 }
25724 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25725 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25726 }
25727 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25728 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25729 }
25730 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25731 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25732 }
25733 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25734 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25735 }
25736 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25737 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25738 }
25739 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25740 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25741 }
25742 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25743 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25744 }
25745 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25746 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25747 }
25748 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
25749 return (void *)((wxFrame *) ((wxTipWindow *) x));
25750 }
25751 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25752 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25753 }
25754 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25755 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25756 }
25757 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25758 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25759 }
25760 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25761 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25762 }
25763 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25764 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25765 }
25766 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25767 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25768 }
25769 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25770 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25771 }
25772 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25774 }
25775 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25777 }
25778 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25779 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25780 }
25781 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25782 return (void *)((wxObject *) ((wxSizerItem *) x));
25783 }
25784 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25785 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25786 }
25787 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25788 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25789 }
25790 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25791 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25792 }
25793 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25794 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25795 }
25796 static void *_p_wxSizerTo_p_wxObject(void *x) {
25797 return (void *)((wxObject *) ((wxSizer *) x));
25798 }
25799 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25800 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25801 }
25802 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25803 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25804 }
25805 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25807 }
25808 static void *_p_wxEventTo_p_wxObject(void *x) {
25809 return (void *)((wxObject *) ((wxEvent *) x));
25810 }
25811 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25812 return (void *)((wxObject *) ((wxFontData *) x));
25813 }
25814 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25815 return (void *)((wxObject *) ((wxPrintData *) x));
25816 }
25817 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25818 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25819 }
25820 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25821 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25822 }
25823 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25824 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25825 }
25826 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25827 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25828 }
25829 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25830 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25831 }
25832 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25833 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25834 }
25835 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25836 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25837 }
25838 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25839 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25840 }
25841 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25842 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25843 }
25844 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25845 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25846 }
25847 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25848 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25849 }
25850 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25851 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25852 }
25853 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25855 }
25856 static void *_p_wxControlTo_p_wxObject(void *x) {
25857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25858 }
25859 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25860 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25861 }
25862 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25863 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25864 }
25865 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25866 return (void *)((wxObject *) ((wxFSFile *) x));
25867 }
25868 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25869 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25870 }
25871 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25872 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25873 }
25874 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25876 }
25877 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25878 return (void *)((wxObject *) ((wxColourData *) x));
25879 }
25880 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25881 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25882 }
25883 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25884 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25885 }
25886 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25888 }
25889 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25891 }
25892 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25894 }
25895 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25896 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25897 }
25898 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25900 }
25901 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25903 }
25904 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25906 }
25907 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25909 }
25910 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25912 }
25913 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25914 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25915 }
25916 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25917 return (void *)((wxObject *) ((wxPrinter *) x));
25918 }
25919 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25920 return (void *)((wxObject *) ((wxMenuItem *) x));
25921 }
25922 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25923 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25924 }
25925 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25926 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25927 }
25928 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25929 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25930 }
25931 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25932 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25933 }
25934 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25935 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25936 }
25937 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25938 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25939 }
25940 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25941 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25942 }
25943 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25944 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25945 }
25946 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25947 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25948 }
25949 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25950 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25951 }
25952 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25953 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25954 }
25955 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25956 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25957 }
25958 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25959 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25960 }
25961 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25962 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25963 }
25964 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25965 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25966 }
25967 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25968 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25969 }
25970 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25971 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25972 }
25973 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25974 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25975 }
25976 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25977 return (void *)((wxObject *) ((wxImageHandler *) x));
25978 }
25979 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25980 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25981 }
25982 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25983 return (void *)((wxObject *) ((wxEvtHandler *) x));
25984 }
25985 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25986 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25987 }
25988 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25989 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25990 }
25991 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25993 }
25994 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25995 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25996 }
25997 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25999 }
26000 static void *_p_wxImageTo_p_wxObject(void *x) {
26001 return (void *)((wxObject *) ((wxImage *) x));
26002 }
26003 static void *_p_wxFrameTo_p_wxObject(void *x) {
26004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26005 }
26006 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26007 return (void *)((wxObject *) ((wxPyPrintout *) x));
26008 }
26009 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26010 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26011 }
26012 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26013 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26014 }
26015 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26017 }
26018 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26020 }
26021 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26022 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26023 }
26024 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26025 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26026 }
26027 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26028 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26029 }
26030 static void *_p_wxWindowTo_p_wxObject(void *x) {
26031 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26032 }
26033 static void *_p_wxMenuTo_p_wxObject(void *x) {
26034 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26035 }
26036 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26038 }
26039 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26041 }
26042 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26044 }
26045 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26047 }
26048 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26050 }
26051 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26053 }
26054 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26056 }
26057 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26059 }
26060 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26062 }
26063 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26065 }
26066 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26068 }
26069 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26071 }
26072 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26074 }
26075 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26076 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26077 }
26078 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26079 return (void *)((wxObject *) ((wxPrintPreview *) x));
26080 }
26081 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26082 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26083 }
26084 static void *_p_wxPanelTo_p_wxObject(void *x) {
26085 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26086 }
26087 static void *_p_wxDialogTo_p_wxObject(void *x) {
26088 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26089 }
26090 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26092 }
26093 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26095 }
26096 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26098 }
26099 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26101 }
26102 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26103 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26104 }
26105 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26106 return (void *)((wxObject *) ((wxFileSystem *) x));
26107 }
26108 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26109 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26110 }
26111 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26112 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26113 }
26114 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26115 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26116 }
26117 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26118 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26119 }
26120 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26121 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26122 }
26123 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26124 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26125 }
26126 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26127 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26128 }
26129 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26130 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26131 }
26132 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26133 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26134 }
26135 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26136 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26137 }
26138 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26139 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26140 }
26141 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26142 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26143 }
26144 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26145 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26146 }
26147 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26149 }
26150 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26151 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26152 }
26153 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26154 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26155 }
26156 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26157 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26158 }
26159 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26160 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26161 }
26162 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26163 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26164 }
26165 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26166 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26167 }
26168 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26169 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26170 }
26171 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26172 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26173 }
26174 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26175 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26176 }
26177 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26178 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26179 }
26180 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26181 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26182 }
26183 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26184 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26185 }
26186 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26187 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26188 }
26189 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26190 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26191 }
26192 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26193 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26194 }
26195 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26196 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26197 }
26198 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26199 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26200 }
26201 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
26202 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
26203 }
26204 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26205 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26206 }
26207 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26208 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26209 }
26210 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26211 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26212 }
26213 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26214 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26215 }
26216 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26217 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26218 }
26219 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26220 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26221 }
26222 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26223 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26224 }
26225 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26226 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26227 }
26228 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26229 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26230 }
26231 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26232 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26233 }
26234 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26235 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26236 }
26237 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26238 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26239 }
26240 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26241 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26242 }
26243 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26244 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26245 }
26246 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26247 return (void *)((wxWindow *) ((wxMenuBar *) x));
26248 }
26249 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26250 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26251 }
26252 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26253 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26254 }
26255 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26256 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26257 }
26258 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26259 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26260 }
26261 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26262 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26263 }
26264 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26265 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26266 }
26267 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26268 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26269 }
26270 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26271 return (void *)((wxWindow *) ((wxPanel *) x));
26272 }
26273 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26274 return (void *)((wxWindow *) ((wxStatusBar *) x));
26275 }
26276 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26277 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26278 }
26279 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26280 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26281 }
26282 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26283 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26284 }
26285 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26286 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26287 }
26288 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26289 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26290 }
26291 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26292 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26293 }
26294 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26295 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26296 }
26297 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26298 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26299 }
26300 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26301 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26302 }
26303 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26304 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26305 }
26306 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26307 return (void *)((wxWindow *) ((wxSashWindow *) x));
26308 }
26309 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26310 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26311 }
26312 static void *_p_wxControlTo_p_wxWindow(void *x) {
26313 return (void *)((wxWindow *) ((wxControl *) x));
26314 }
26315 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26316 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26317 }
26318 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26319 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26320 }
26321 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26322 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26323 }
26324 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26325 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26326 }
26327 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26328 return (void *)((wxWindow *) ((wxPyWindow *) x));
26329 }
26330 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26331 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26332 }
26333 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26334 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26335 }
26336 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26337 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26338 }
26339 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26340 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26341 }
26342 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26343 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26344 }
26345 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26346 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26347 }
26348 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26349 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26350 }
26351 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26352 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26353 }
26354 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26355 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26356 }
26357 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26358 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26359 }
26360 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26361 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26362 }
26363 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26364 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26365 }
26366 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26367 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26368 }
26369 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26370 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26371 }
26372 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26373 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26374 }
26375 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26376 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26377 }
26378 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26379 return (void *)((wxDialog *) ((wxColourDialog *) x));
26380 }
26381 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26382 return (void *)((wxDialog *) ((wxDirDialog *) x));
26383 }
26384 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26385 return (void *)((wxDialog *) ((wxFontDialog *) x));
26386 }
26387 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26388 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26389 }
26390 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26391 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26392 }
26393 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26394 return (void *)((wxDialog *) ((wxFileDialog *) x));
26395 }
26396 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26397 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26398 }
26399 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26400 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26401 }
26402 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26403 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26404 }
26405 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26406 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26407 }
26408 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26409 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26410 }
26411 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26412 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26413 }
26414 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26415 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26416 }
26417 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26418 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26419 }
26420 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26421 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26422 }
26423 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26424 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26425 }
26426 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26427 return (void *)((wxPanel *) ((wxPyPanel *) x));
26428 }
26429 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26430 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26431 }
26432 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26433 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26434 }
26435 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26436 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26437 }
26438 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26439 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26440 }
26441 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26442 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26443 }
26444 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26445 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26446 }
26447 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26448 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26449 }
26450 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26451 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26452 }
26453 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26454 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26455 }
26456 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26457 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26458 }
26459 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26460 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26461 }
26462 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26463 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26464 }
26465 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26466 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26467 }
26468 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26469 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26470 }
26471 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26472 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26473 }
26474 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}};
26475 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}};
26476 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}};
26477 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}};
26478 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}};
26479 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}};
26480 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}};
26481 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}};
26482 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}};
26483 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}};
26484 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}};
26485 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}};
26486 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}};
26487 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}};
26488 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}};
26489 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}};
26490 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}};
26491 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}};
26492 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}};
26493 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}};
26494 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}};
26495 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}};
26496 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}};
26497 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}};
26498 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}};
26499 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}};
26500 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}};
26501 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}};
26502 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}};
26503 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}};
26504 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}};
26505 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}};
26506 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}};
26507 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}};
26508 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}};
26509 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}};
26510 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}};
26511 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}};
26512 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}};
26513 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}};
26514 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}};
26515 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}};
26516 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}};
26517 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}};
26518 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}};
26519 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}};
26520 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}};
26521 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}};
26522 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}};
26523 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}};
26524 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}};
26525 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}};
26526 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}};
26527 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}};
26528 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}};
26529 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}};
26530 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}};
26531 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}};
26532 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}};
26533 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}};
26534 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}};
26535 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}};
26536 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}};
26537 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}};
26538 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}};
26539 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}};
26540 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}};
26541 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}};
26542 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}};
26543 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}};
26544 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}};
26545 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}};
26546 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}};
26547 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}};
26548 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}};
26549 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}};
26550 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}};
26551 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}};
26552 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}};
26553 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}};
26554 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}};
26555 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}};
26556 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}};
26557 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}};
26558 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}};
26559 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}};
26560
26561 static swig_type_info *swig_types_initial[] = {
26562 _swigt__p_wxQueryLayoutInfoEvent,
26563 _swigt__p_wxPreviewFrame,
26564 _swigt__p_wxPyPreviewFrame,
26565 _swigt__p_wxPyPanel,
26566 _swigt__p_wxMenu,
26567 _swigt__p_wxFontData,
26568 _swigt__p_wxEvent,
26569 _swigt__p_wxPrintData,
26570 _swigt__p_wxTaskBarIcon,
26571 _swigt__p_wxIconBundle,
26572 _swigt__p_wxLayoutAlgorithm,
26573 _swigt__p_wxFindDialogEvent,
26574 _swigt__p_wxPreviewCanvas,
26575 _swigt__p_wxFont,
26576 _swigt__p_wxSplitterEvent,
26577 _swigt__p_wxRegion,
26578 _swigt__p_wxFindReplaceData,
26579 _swigt__p_int,
26580 _swigt__p_wxSize,
26581 _swigt__p_wxDC,
26582 _swigt__p_wxIcon,
26583 _swigt__p_wxVisualAttributes,
26584 _swigt__p_wxMDIChildFrame,
26585 _swigt__p_wxColourData,
26586 _swigt__p_wxNotifyEvent,
26587 _swigt__p_wxPyWindow,
26588 _swigt__p_wxSplashScreen,
26589 _swigt__p_wxFindReplaceDialog,
26590 _swigt__p_wxProgressDialog,
26591 _swigt__p_wxMessageDialog,
26592 _swigt__p_wxTextEntryDialog,
26593 _swigt__p_wxSingleChoiceDialog,
26594 _swigt__p_wxMultiChoiceDialog,
26595 _swigt__p_wxFileDialog,
26596 _swigt__p_wxPrinter,
26597 _swigt__p_wxArrayInt,
26598 _swigt__p_wxEvtHandler,
26599 _swigt__p_wxCalculateLayoutEvent,
26600 _swigt__p_wxPyHtmlListBox,
26601 _swigt__p_wxPyVListBox,
26602 _swigt__p_wxRect,
26603 _swigt__p_char,
26604 _swigt__p_wxMiniFrame,
26605 _swigt__p_wxFrame,
26606 _swigt__p_wxPyPrintout,
26607 _swigt__p_wxTaskBarIconEvent,
26608 _swigt__p_wxScrollWinEvent,
26609 _swigt__p_wxStatusBar,
26610 _swigt__p_wxMDIParentFrame,
26611 _swigt__p_wxPoint,
26612 _swigt__p_wxObject,
26613 _swigt__p_wxOutputStream,
26614 _swigt__p_wxPyScrolledWindow,
26615 _swigt__p_wxMDIClientWindow,
26616 _swigt__p_wxTipWindow,
26617 _swigt__p_wxPyPopupTransientWindow,
26618 _swigt__p_wxSashLayoutWindow,
26619 _swigt__p_wxSplitterWindow,
26620 _swigt__p_wxSplashScreenWindow,
26621 _swigt__p_wxPyVScrolledWindow,
26622 _swigt__p_wxPopupWindow,
26623 _swigt__p_wxSashWindow,
26624 _swigt__p_wxTopLevelWindow,
26625 _swigt__p_wxWindow,
26626 _swigt__p_wxScrolledWindow,
26627 _swigt__p_wxMenuBar,
26628 _swigt__p_wxPrintPreview,
26629 _swigt__p_wxSashEvent,
26630 _swigt__p_wxString,
26631 _swigt__p_wxPyPrintPreview,
26632 _swigt__p_wxFontDialog,
26633 _swigt__p_wxDirDialog,
26634 _swigt__p_wxColourDialog,
26635 _swigt__p_wxDialog,
26636 _swigt__p_wxPanel,
26637 _swigt__p_wxPageSetupDialog,
26638 _swigt__p_wxPrintDialog,
26639 _swigt__p_wxFileSystem,
26640 _swigt__p_wxBitmap,
26641 _swigt__p_wxCommandEvent,
26642 _swigt__p_wxPreviewControlBar,
26643 _swigt__p_wxPyPreviewControlBar,
26644 _swigt__p_wxColour,
26645 _swigt__p_wxToolBar,
26646 _swigt__p_wxPageSetupDialogData,
26647 _swigt__p_wxPrintDialogData,
26648 0
26649 };
26650
26651
26652 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26653
26654 static swig_const_info swig_const_table[] = {
26655 {0}};
26656
26657 #ifdef __cplusplus
26658 }
26659 #endif
26660
26661 #ifdef __cplusplus
26662 extern "C"
26663 #endif
26664 SWIGEXPORT(void) SWIG_init(void) {
26665 static PyObject *SWIG_globals = 0;
26666 static int typeinit = 0;
26667 PyObject *m, *d;
26668 int i;
26669 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26670 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26671 d = PyModule_GetDict(m);
26672
26673 if (!typeinit) {
26674 for (i = 0; swig_types_initial[i]; i++) {
26675 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26676 }
26677 typeinit = 1;
26678 }
26679 SWIG_InstallConstants(d,swig_const_table);
26680
26681 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26682 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26683 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26684 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26685 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26686 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26687 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26688 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26689 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26690 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26691 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26692 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26693 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26694 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26695 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26696 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26697 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26698 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26699 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26700 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26701 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26702 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26703 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26704 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26705 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26706 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26707 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26708 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26709 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26710 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26711 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26712 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26713 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26714 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26715 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26716 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26717 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26718 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26719 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26720 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26721 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26722 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26723 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26724 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26725 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26726 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26727 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26728 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26729 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26730 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26731 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26732 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26733 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26734 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26735 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26736 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26737 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26738 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26739 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26740 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26741 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26742 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26743 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26744 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26745 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26746 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26747 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26748 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26749 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26750 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26751 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26752 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26753 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26754 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26755 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26756 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26757 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26758 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26759 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26760 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26761 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26762 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26763 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26764 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26765 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26766 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26767 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26768 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26769 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26770 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26771 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26772 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26773 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26774
26775 // Map renamed classes back to their common name for OOR
26776 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26777 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26778 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26779
26780 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26781 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26782 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26783 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26784 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26785 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26786 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26787 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26788 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26789 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26790 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26791 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26792 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26793 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26794 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26795 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26796 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26797 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26798 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26799 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26800 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26801 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26802 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26803 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26804 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26805 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26806 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26807 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26808 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26809 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26810 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26811 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26812 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26813 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26814 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26815 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26816 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26817 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26818 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26819 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26820 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26821 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26822 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26823 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26824 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26825 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26826 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26827 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26828 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26829 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26830 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26831 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26832 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26833 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26834 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26835 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26836 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26837 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26838 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26839 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26840
26841 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26842
26843 }
26844