]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/windows_wrap.cpp
Add the wx module to the namespace
[wxWidgets.git] / wxPython / src / mac / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxMDIClientWindow swig_types[52]
262 #define SWIGTYPE_p_wxTipWindow swig_types[53]
263 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPopupWindow swig_types[58]
268 #define SWIGTYPE_p_wxSashWindow swig_types[59]
269 #define SWIGTYPE_p_wxTopLevelWindow swig_types[60]
270 #define SWIGTYPE_p_wxWindow swig_types[61]
271 #define SWIGTYPE_p_wxScrolledWindow swig_types[62]
272 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
273 #define SWIGTYPE_p_wxMenuBar swig_types[64]
274 #define SWIGTYPE_p_wxPrintPreview swig_types[65]
275 #define SWIGTYPE_p_wxSashEvent swig_types[66]
276 #define SWIGTYPE_p_wxString swig_types[67]
277 #define SWIGTYPE_p_wxPyPrintPreview swig_types[68]
278 #define SWIGTYPE_p_wxFontDialog swig_types[69]
279 #define SWIGTYPE_p_wxDirDialog swig_types[70]
280 #define SWIGTYPE_p_wxColourDialog swig_types[71]
281 #define SWIGTYPE_p_wxDialog swig_types[72]
282 #define SWIGTYPE_p_wxPanel swig_types[73]
283 #define SWIGTYPE_p_wxPageSetupDialog swig_types[74]
284 #define SWIGTYPE_p_wxPrintDialog swig_types[75]
285 #define SWIGTYPE_p_wxBitmap swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxPreviewControlBar swig_types[78]
288 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[82]
292 #define SWIGTYPE_p_wxPrintDialogData swig_types[83]
293 static swig_type_info *swig_types[85];
294
295 /* -------- TYPES TABLE (END) -------- */
296
297
298 /*-----------------------------------------------
299 @(target):= _windows.so
300 ------------------------------------------------*/
301 #define SWIG_init init_windows
302
303 #define SWIG_name "_windows"
304
305 /* Auxiliar swig macros */
306
307 #ifdef __cplusplus
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
315
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
318 #else
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
320 #endif
321
322 #else /* C case */
323
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
332
333 #endif /* __cplusplus */
334
335
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346
347
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
350
351
352 static const wxString wxPyEmptyString(wxEmptyString);
353 static const wxString wxPyPanelNameStr(wxPanelNameStr);
354
355
356
357 #include <limits.h>
358
359
360 SWIGSTATICINLINE(long)
361 SWIG_CheckLongInRange(long value, const char* type,
362 long min_value, long max_value)
363 {
364 if (!PyErr_Occurred()) {
365 if (value < min_value) {
366 PyObject *err =
367 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
368 value, type, min_value);
369
370 PyErr_SetObject(PyExc_OverflowError, err);
371 Py_DECREF(err);
372 } else if (value > max_value) {
373 PyObject *err =
374 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
375 value, type, max_value);
376 PyErr_SetObject(PyExc_OverflowError, err);
377 Py_DECREF(err);
378 }
379 }
380 return value;
381 }
382
383
384 SWIGSTATICINLINE(long)
385 SWIG_AsLong(PyObject * obj)
386 {
387 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
388 }
389
390
391 #if INT_MAX != LONG_MAX
392 SWIGSTATICINLINE(int)
393 SWIG_AsInt(PyObject *obj)
394 {
395 return swig_numeric_cast(int,
396 SWIG_CheckLongInRange(SWIG_AsLong(obj),
397 "int", INT_MIN, INT_MAX));
398 }
399 #else
400 #define SWIG_AsInt SWIG_AsLong
401 #endif
402
403
404 SWIGSTATICINLINE(int)
405 SWIG_CheckInt(PyObject* obj)
406 {
407 SWIG_AsInt(obj);
408 if (PyErr_Occurred()) {
409 PyErr_Clear();
410 return 0;
411 } else {
412 return 1;
413 }
414 }
415
416
417 SWIGSTATICINLINE(int)
418 SWIG_CheckLong(PyObject* obj)
419 {
420 SWIG_AsLong(obj);
421 if (PyErr_Occurred()) {
422 PyErr_Clear();
423 return 0;
424 } else {
425 return 1;
426 }
427 }
428
429
430 SWIGSTATICINLINE(bool)
431 SWIG_AsBool(PyObject *obj)
432 {
433 return PyObject_IsTrue(obj) ? true : false;
434 }
435
436
437 SWIGSTATICINLINE(int)
438 SWIG_CheckBool(PyObject* obj)
439 {
440 SWIG_AsBool(obj);
441 if (PyErr_Occurred()) {
442 PyErr_Clear();
443 return 0;
444 } else {
445 return 1;
446 }
447 }
448
449
450 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
451 PyObject* o2;
452 PyObject* o3;
453
454 if (!target) {
455 target = o;
456 } else if (target == Py_None) {
457 Py_DECREF(Py_None);
458 target = o;
459 } else {
460 if (!PyTuple_Check(target)) {
461 o2 = target;
462 target = PyTuple_New(1);
463 PyTuple_SetItem(target, 0, o2);
464 }
465 o3 = PyTuple_New(1);
466 PyTuple_SetItem(o3, 0, o);
467
468 o2 = target;
469 target = PySequence_Concat(o2, o3);
470 Py_DECREF(o2);
471 Py_DECREF(o3);
472 }
473 return target;
474 }
475
476
477 SWIGSTATICINLINE(double)
478 SWIG_AsDouble(PyObject *obj)
479 {
480 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
481 #if HAVE_LONG_LONG
482 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
483 #else
484 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
485 #endif
486 if (PyErr_Occurred()) {
487 PyErr_Clear();
488 PyErr_SetString(PyExc_TypeError, "a double is expected");
489 }
490 return val;
491 }
492
493
494 SWIGSTATICINLINE(int)
495 SWIG_CheckDouble(PyObject* obj)
496 {
497 SWIG_AsDouble(obj);
498 if (PyErr_Occurred()) {
499 PyErr_Clear();
500 return 0;
501 } else {
502 return 1;
503 }
504 }
505
506 static const wxString wxPyFrameNameStr(wxFrameNameStr);
507 static const wxString wxPyDialogNameStr(wxDialogNameStr);
508 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
509 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
510 bool wxDialog_IsModalShowing(wxDialog *self){
511
512
513
514 return self->IsModalShowing();
515
516 }
517
518
519 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
520 wxRect r;
521 self->GetFieldRect(i, r);
522 return r;
523 }
524 static const wxString wxPySplitterNameStr(wxT("splitter"));
525 static const wxString wxPySashNameStr(wxT("sashWindow"));
526 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
527
528 #include <wx/popupwin.h>
529
530
531 class wxPopupWindow : public wxWindow {
532 public:
533 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
534 wxPopupWindow() { wxPyRaiseNotImplemented(); }
535 };
536
537 class wxPyPopupTransientWindow : public wxPopupWindow
538 {
539 public:
540 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
541 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
542 };
543
544
545 #include <wx/tipwin.h>
546
547 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
548 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
549 }
550
551 #include <wx/tipwin.h>
552
553
554 #include <wx/vscroll.h>
555
556
557 class wxPyVScrolledWindow : public wxVScrolledWindow
558 {
559 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
560 public:
561 wxPyVScrolledWindow() : wxVScrolledWindow() {}
562
563 wxPyVScrolledWindow(wxWindow *parent,
564 wxWindowID id = wxID_ANY,
565 const wxPoint& pos = wxDefaultPosition,
566 const wxSize& size = wxDefaultSize,
567 long style = 0,
568 const wxString& name = wxPyPanelNameStr)
569 : wxVScrolledWindow(parent, id, pos, size, style, name)
570 {}
571
572 // Overridable virtuals
573
574 // this function must be overridden in the derived class and it should
575 // return the height of the given line in pixels
576 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
577
578
579 // this function doesn't have to be overridden but it may be useful to do
580 // it if calculating the lines heights is a relatively expensive operation
581 // as it gives the user code a possibility to calculate several of them at
582 // once
583 //
584 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
585 // shouldn't rely on the latter being called for all lines in the interval
586 // specified here. It is also possible that OnGetLineHeight() will be
587 // called for the lines outside of this interval, so this is really just a
588 // hint, not a promise.
589 //
590 // finally note that lineMin is inclusive, while lineMax is exclusive, as
591 // usual
592 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
593
594
595 // when the number of lines changes, we try to estimate the total height
596 // of all lines which is a rather expensive operation in terms of lines
597 // access, so if the user code may estimate the average height
598 // better/faster than we do, it should override this function to implement
599 // its own logic
600 //
601 // this function should return the best guess for the total height it may
602 // make
603 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
604
605
606 // Also expose some other interesting protected methods
607
608
609 // find the index of the line we need to show at the top of the window such
610 // that the last (fully or partially) visible line is the given one
611 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
612 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
613
614 // get the total height of the lines between lineMin (inclusive) and
615 // lineMax (exclusive)
616 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
617 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
618
619
620 PYPRIVATE;
621 };
622
623 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
624
625 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
626 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
627 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
628
629
630 SWIGSTATICINLINE(unsigned long)
631 SWIG_AsUnsignedLong(PyObject * obj)
632 {
633 if (PyLong_Check(obj)) {
634 return PyLong_AsUnsignedLong(obj);
635 } else {
636 long i = PyInt_AsLong(obj);
637 if ( !PyErr_Occurred() && (i < 0)) {
638 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
639 }
640 return i;
641 }
642 }
643
644
645 SWIGSTATICINLINE(int)
646 SWIG_CheckUnsignedLong(PyObject* obj)
647 {
648 SWIG_AsUnsignedLong(obj);
649 if (PyErr_Occurred()) {
650 PyErr_Clear();
651 return 0;
652 } else {
653 return 1;
654 }
655 }
656
657
658 SWIGSTATICINLINE(PyObject* )
659 SWIG_FromUnsignedLong(unsigned long value)
660 {
661 return (value > LONG_MAX) ?
662 PyLong_FromUnsignedLong(value)
663 : PyInt_FromLong(swig_numeric_cast(long,value));
664 }
665
666
667 #include <wx/vlbox.h>
668
669 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
670
671 class wxPyVListBox : public wxVListBox
672 {
673 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
674 public:
675 wxPyVListBox() : wxVListBox() {}
676
677 wxPyVListBox(wxWindow *parent,
678 wxWindowID id = wxID_ANY,
679 const wxPoint& pos = wxDefaultPosition,
680 const wxSize& size = wxDefaultSize,
681 long style = 0,
682 const wxString& name = wxPyVListBoxNameStr)
683 : wxVListBox(parent, id, pos, size, style, name)
684 {}
685
686 // Overridable virtuals
687
688 // the derived class must implement this function to actually draw the item
689 // with the given index on the provided DC
690 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
691 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
692
693
694 // the derived class must implement this method to return the height of the
695 // specified item
696 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
697 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
698
699
700 // this method may be used to draw separators between the lines; note that
701 // the rectangle may be modified, typically to deflate it a bit before
702 // passing to OnDrawItem()
703 //
704 // the base class version doesn't do anything
705 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
706 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
707
708
709 // this method is used to draw the items background and, maybe, a border
710 // around it
711 //
712 // the base class version implements a reasonable default behaviour which
713 // consists in drawing the selected item with the standard background
714 // colour and drawing a border around the item if it is either selected or
715 // current
716 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
717 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
718
719
720 PYPRIVATE;
721 };
722
723 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
724
725 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
726 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
727 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
728 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
729
730
731
732 #include <wx/htmllbox.h>
733
734
735 class wxPyHtmlListBox : public wxHtmlListBox
736 {
737 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
738 public:
739 wxPyHtmlListBox() : wxHtmlListBox() {}
740
741 wxPyHtmlListBox(wxWindow *parent,
742 wxWindowID id = wxID_ANY,
743 const wxPoint& pos = wxDefaultPosition,
744 const wxSize& size = wxDefaultSize,
745 long style = 0,
746 const wxString& name = wxPyVListBoxNameStr)
747 : wxHtmlListBox(parent, id, pos, size, style, name)
748 {}
749
750 // Overridable virtuals
751
752 // this method must be implemented in the derived class and should return
753 // the body (i.e. without <html>) of the HTML for the given item
754 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
755
756 // this function may be overridden to decorate HTML returned by OnGetItem()
757 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
758
759 // TODO:
760 // // this method allows to customize the selection appearance: it may be used
761 // // to specify the colour of the text which normally has the given colour
762 // // colFg when it is inside the selection
763 // //
764 // // by default, the original colour is not used at all and all text has the
765 // // same (default for this system) colour inside selection
766 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
767
768 // // this is the same as GetSelectedTextColour() but allows to customize the
769 // // background colour -- this is even more rarely used as you can change it
770 // // globally using SetSelectionBackground()
771 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
772
773
774 PYPRIVATE;
775 };
776
777
778 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
779
780 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
781 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
782
783
784
785
786
787 #ifdef __WXMAC__
788 // implement dummy classes and such for wxMac
789
790 class wxTaskBarIcon : public wxEvtHandler
791 {
792 public:
793 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
794 };
795
796
797 class wxTaskBarIconEvent : public wxEvent
798 {
799 public:
800 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
801 { wxPyRaiseNotImplemented(); }
802 virtual wxEvent* Clone() const { return NULL; }
803 };
804
805 enum {
806 wxEVT_TASKBAR_MOVE = 0,
807 wxEVT_TASKBAR_LEFT_DOWN = 0,
808 wxEVT_TASKBAR_LEFT_UP = 0,
809 wxEVT_TASKBAR_RIGHT_DOWN = 0,
810 wxEVT_TASKBAR_RIGHT_UP = 0,
811 wxEVT_TASKBAR_LEFT_DCLICK = 0,
812 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
813 };
814 #endif
815
816 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
817 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
818 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
819 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
820 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
821 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
822 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
823 wxArrayString arr;
824 self->GetFilenames(arr);
825 return wxArrayString2PyList_helper(arr);
826 }
827 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
828 wxArrayString arr;
829 self->GetPaths(arr);
830 return wxArrayString2PyList_helper(arr);
831 }
832 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
833 return wxArrayInt2PyList_helper(self->GetSelections());
834 }
835 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
836 return new wxSingleChoiceDialog(parent, message, caption,
837 choices, choices_array, NULL, style, pos);
838 }
839
840 #include <wx/mdi.h>
841
842 // C++ version of Python aware wxWindow
843 class wxPyWindow : public wxWindow
844 {
845 DECLARE_DYNAMIC_CLASS(wxPyWindow)
846 public:
847 wxPyWindow() : wxWindow() {}
848 wxPyWindow(wxWindow* parent, const wxWindowID id,
849 const wxPoint& pos = wxDefaultPosition,
850 const wxSize& size = wxDefaultSize,
851 long style = 0,
852 const wxString& name = wxPyPanelNameStr)
853 : wxWindow(parent, id, pos, size, style, name) {}
854
855
856 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
857 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
858 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
859 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
860
861 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
862 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
863 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
864
865 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
866 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
867
868 DEC_PYCALLBACK__(InitDialog);
869 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
870 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
871 DEC_PYCALLBACK_BOOL_(Validate);
872
873 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
874 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
875 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
876
877 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
878 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
879
880 PYPRIVATE;
881 };
882
883 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
884
885 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
886 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
887 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
888 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
889
890 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
891 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
892 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
893
894 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
895 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
896
897 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
898 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
899 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
900 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
901
902 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
903 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
904 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
905
906 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
907 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
908
909
910 // C++ version of Python aware wxPanel
911 class wxPyPanel : public wxPanel
912 {
913 DECLARE_DYNAMIC_CLASS(wxPyPanel)
914 public:
915 wxPyPanel() : wxPanel() {}
916 wxPyPanel(wxWindow* parent, const wxWindowID id,
917 const wxPoint& pos = wxDefaultPosition,
918 const wxSize& size = wxDefaultSize,
919 long style = 0,
920 const wxString& name = wxPyPanelNameStr)
921 : wxPanel(parent, id, pos, size, style, name) {}
922
923
924 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
925 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
926 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
927 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
928
929 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
930 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
931 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
932
933 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
934 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
935
936 DEC_PYCALLBACK__(InitDialog);
937 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
938 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
939 DEC_PYCALLBACK_BOOL_(Validate);
940
941 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
942 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
943 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
944
945 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
946 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
947
948 PYPRIVATE;
949 };
950
951 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
952
953 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
954 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
955 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
956 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
957
958 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
959 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
960 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
961
962 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
963 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
964
965 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
966 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
967 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
968 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
969
970 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
971 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
972 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
973
974 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
975 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
976
977
978
979 #include "wx/wxPython/printfw.h"
980
981
982 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
983 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
984
985
986
987 // Since this one would be tough and ugly to do with the Macros...
988 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
989 bool hadErr = False;
990 bool found;
991
992 wxPyBeginBlockThreads();
993 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
994 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
995 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
996 PyObject* val;
997
998 val = PyTuple_GetItem(result, 0);
999 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1000 else hadErr = True;
1001
1002 val = PyTuple_GetItem(result, 1);
1003 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1004 else hadErr = True;
1005
1006 val = PyTuple_GetItem(result, 2);
1007 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1008 else hadErr = True;
1009
1010 val = PyTuple_GetItem(result, 3);
1011 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1012 else hadErr = True;
1013 }
1014 else
1015 hadErr = True;
1016
1017 if (hadErr) {
1018 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1019 PyErr_Print();
1020 }
1021 Py_DECREF(result);
1022 }
1023 wxPyEndBlockThreads();
1024 if (! found)
1025 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1026 }
1027
1028 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1029 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1030 }
1031
1032
1033 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1034 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1035 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1036 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1037 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1038 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1039 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1040
1041
1042
1043
1044
1045 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1046 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1047 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1048
1049
1050 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1051 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1052 bool rval=False; \
1053 bool found; \
1054 wxPyBeginBlockThreads(); \
1055 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1056 PyObject* win = wxPyMake_wxObject(a); \
1057 PyObject* dc = wxPyMake_wxObject(&b); \
1058 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1059 Py_DECREF(win); \
1060 Py_DECREF(dc); \
1061 } \
1062 wxPyEndBlockThreads(); \
1063 if (! found) \
1064 rval = PCLASS::CBNAME(a, b); \
1065 return rval; \
1066 } \
1067 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1068 return PCLASS::CBNAME(a, b); \
1069 }
1070
1071
1072
1073
1074 class wxPyPrintPreview : public wxPrintPreview
1075 {
1076 DECLARE_CLASS(wxPyPrintPreview)
1077 public:
1078 wxPyPrintPreview(wxPyPrintout* printout,
1079 wxPyPrintout* printoutForPrinting,
1080 wxPrintData* data=NULL)
1081 : wxPrintPreview(printout, printoutForPrinting, data)
1082 {}
1083
1084 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1085 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1086 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1087 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1088 DEC_PYCALLBACK_VOID_INT(SetZoom);
1089 DEC_PYCALLBACK_BOOL_BOOL(Print);
1090 DEC_PYCALLBACK_VOID_(DetermineScaling);
1091
1092 PYPRIVATE;
1093 };
1094
1095 // Stupid renamed classes... Fix this in 2.5...
1096 #if defined(__WXMSW__)
1097 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1098 #elif defined(__WXMAC__)
1099 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1100 #else
1101 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1102 #endif
1103
1104 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1105 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1106 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1107 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1108 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1109 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1110 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1111
1112
1113 class wxPyPreviewFrame : public wxPreviewFrame
1114 {
1115 DECLARE_CLASS(wxPyPreviewFrame);
1116 public:
1117 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1118 const wxString& title,
1119 const wxPoint& pos = wxDefaultPosition,
1120 const wxSize& size = wxDefaultSize,
1121 long style = wxDEFAULT_FRAME_STYLE,
1122 const wxString& name = wxPyFrameNameStr)
1123 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1124 {}
1125
1126 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1127 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1128
1129 DEC_PYCALLBACK_VOID_(Initialize);
1130 DEC_PYCALLBACK_VOID_(CreateCanvas);
1131 DEC_PYCALLBACK_VOID_(CreateControlBar);
1132
1133 PYPRIVATE;
1134 };
1135
1136 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1137
1138 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1139 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1140 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1141
1142
1143 class wxPyPreviewControlBar : public wxPreviewControlBar
1144 {
1145 DECLARE_CLASS(wxPyPreviewControlBar);
1146 public:
1147 wxPyPreviewControlBar(wxPrintPreview *preview,
1148 long buttons,
1149 wxWindow *parent,
1150 const wxPoint& pos = wxDefaultPosition,
1151 const wxSize& size = wxDefaultSize,
1152 long style = 0,
1153 const wxString& name = wxPyPanelNameStr)
1154 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1155 {}
1156
1157 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1158
1159 DEC_PYCALLBACK_VOID_(CreateButtons);
1160 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1161
1162 PYPRIVATE;
1163 };
1164
1165 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1166 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1167 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1168
1169 #ifdef __cplusplus
1170 extern "C" {
1171 #endif
1172 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1173 PyObject *resultobj;
1174 wxWindow *arg1 = (wxWindow *) 0 ;
1175 int arg2 = (int) (int)-1 ;
1176 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1177 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1178 wxSize const &arg4_defvalue = wxDefaultSize ;
1179 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1180 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1181 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1182 wxString *arg6 = (wxString *) &arg6_defvalue ;
1183 wxPanel *result;
1184 wxPoint temp3 ;
1185 wxSize temp4 ;
1186 bool temp6 = False ;
1187 PyObject * obj0 = 0 ;
1188 PyObject * obj1 = 0 ;
1189 PyObject * obj2 = 0 ;
1190 PyObject * obj3 = 0 ;
1191 PyObject * obj4 = 0 ;
1192 PyObject * obj5 = 0 ;
1193 char *kwnames[] = {
1194 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1195 };
1196
1197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1200 if (obj1) {
1201 arg2 = (int const) SWIG_AsInt(obj1);
1202 if (PyErr_Occurred()) SWIG_fail;
1203 }
1204 if (obj2) {
1205 {
1206 arg3 = &temp3;
1207 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1208 }
1209 }
1210 if (obj3) {
1211 {
1212 arg4 = &temp4;
1213 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1214 }
1215 }
1216 if (obj4) {
1217 arg5 = (long) SWIG_AsLong(obj4);
1218 if (PyErr_Occurred()) SWIG_fail;
1219 }
1220 if (obj5) {
1221 {
1222 arg6 = wxString_in_helper(obj5);
1223 if (arg6 == NULL) SWIG_fail;
1224 temp6 = True;
1225 }
1226 }
1227 {
1228 PyThreadState* __tstate = wxPyBeginAllowThreads();
1229 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1230
1231 wxPyEndAllowThreads(__tstate);
1232 if (PyErr_Occurred()) SWIG_fail;
1233 }
1234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1235 {
1236 if (temp6)
1237 delete arg6;
1238 }
1239 return resultobj;
1240 fail:
1241 {
1242 if (temp6)
1243 delete arg6;
1244 }
1245 return NULL;
1246 }
1247
1248
1249 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1250 PyObject *resultobj;
1251 wxPanel *result;
1252 char *kwnames[] = {
1253 NULL
1254 };
1255
1256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1257 {
1258 PyThreadState* __tstate = wxPyBeginAllowThreads();
1259 result = (wxPanel *)new wxPanel();
1260
1261 wxPyEndAllowThreads(__tstate);
1262 if (PyErr_Occurred()) SWIG_fail;
1263 }
1264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1265 return resultobj;
1266 fail:
1267 return NULL;
1268 }
1269
1270
1271 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1272 PyObject *resultobj;
1273 wxPanel *arg1 = (wxPanel *) 0 ;
1274 wxWindow *arg2 = (wxWindow *) 0 ;
1275 int arg3 ;
1276 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1277 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1278 wxSize const &arg5_defvalue = wxDefaultSize ;
1279 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1280 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1281 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1282 wxString *arg7 = (wxString *) &arg7_defvalue ;
1283 bool result;
1284 wxPoint temp4 ;
1285 wxSize temp5 ;
1286 bool temp7 = False ;
1287 PyObject * obj0 = 0 ;
1288 PyObject * obj1 = 0 ;
1289 PyObject * obj2 = 0 ;
1290 PyObject * obj3 = 0 ;
1291 PyObject * obj4 = 0 ;
1292 PyObject * obj5 = 0 ;
1293 PyObject * obj6 = 0 ;
1294 char *kwnames[] = {
1295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1296 };
1297
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1301 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1303 arg3 = (int const) SWIG_AsInt(obj2);
1304 if (PyErr_Occurred()) SWIG_fail;
1305 if (obj3) {
1306 {
1307 arg4 = &temp4;
1308 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1309 }
1310 }
1311 if (obj4) {
1312 {
1313 arg5 = &temp5;
1314 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1315 }
1316 }
1317 if (obj5) {
1318 arg6 = (long) SWIG_AsLong(obj5);
1319 if (PyErr_Occurred()) SWIG_fail;
1320 }
1321 if (obj6) {
1322 {
1323 arg7 = wxString_in_helper(obj6);
1324 if (arg7 == NULL) SWIG_fail;
1325 temp7 = True;
1326 }
1327 }
1328 {
1329 PyThreadState* __tstate = wxPyBeginAllowThreads();
1330 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1331
1332 wxPyEndAllowThreads(__tstate);
1333 if (PyErr_Occurred()) SWIG_fail;
1334 }
1335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1336 {
1337 if (temp7)
1338 delete arg7;
1339 }
1340 return resultobj;
1341 fail:
1342 {
1343 if (temp7)
1344 delete arg7;
1345 }
1346 return NULL;
1347 }
1348
1349
1350 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1351 PyObject *resultobj;
1352 wxPanel *arg1 = (wxPanel *) 0 ;
1353 PyObject * obj0 = 0 ;
1354 char *kwnames[] = {
1355 (char *) "self", NULL
1356 };
1357
1358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1361 {
1362 PyThreadState* __tstate = wxPyBeginAllowThreads();
1363 (arg1)->InitDialog();
1364
1365 wxPyEndAllowThreads(__tstate);
1366 if (PyErr_Occurred()) SWIG_fail;
1367 }
1368 Py_INCREF(Py_None); resultobj = Py_None;
1369 return resultobj;
1370 fail:
1371 return NULL;
1372 }
1373
1374
1375 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1376 PyObject *obj;
1377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1378 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1379 Py_INCREF(obj);
1380 return Py_BuildValue((char *)"");
1381 }
1382 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1383 PyObject *resultobj;
1384 wxWindow *arg1 = (wxWindow *) 0 ;
1385 int arg2 = (int) (int)-1 ;
1386 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1387 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1388 wxSize const &arg4_defvalue = wxDefaultSize ;
1389 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1390 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1391 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1392 wxString *arg6 = (wxString *) &arg6_defvalue ;
1393 wxScrolledWindow *result;
1394 wxPoint temp3 ;
1395 wxSize temp4 ;
1396 bool temp6 = False ;
1397 PyObject * obj0 = 0 ;
1398 PyObject * obj1 = 0 ;
1399 PyObject * obj2 = 0 ;
1400 PyObject * obj3 = 0 ;
1401 PyObject * obj4 = 0 ;
1402 PyObject * obj5 = 0 ;
1403 char *kwnames[] = {
1404 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1405 };
1406
1407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1410 if (obj1) {
1411 arg2 = (int const) SWIG_AsInt(obj1);
1412 if (PyErr_Occurred()) SWIG_fail;
1413 }
1414 if (obj2) {
1415 {
1416 arg3 = &temp3;
1417 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1418 }
1419 }
1420 if (obj3) {
1421 {
1422 arg4 = &temp4;
1423 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1424 }
1425 }
1426 if (obj4) {
1427 arg5 = (long) SWIG_AsLong(obj4);
1428 if (PyErr_Occurred()) SWIG_fail;
1429 }
1430 if (obj5) {
1431 {
1432 arg6 = wxString_in_helper(obj5);
1433 if (arg6 == NULL) SWIG_fail;
1434 temp6 = True;
1435 }
1436 }
1437 {
1438 PyThreadState* __tstate = wxPyBeginAllowThreads();
1439 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1440
1441 wxPyEndAllowThreads(__tstate);
1442 if (PyErr_Occurred()) SWIG_fail;
1443 }
1444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1445 {
1446 if (temp6)
1447 delete arg6;
1448 }
1449 return resultobj;
1450 fail:
1451 {
1452 if (temp6)
1453 delete arg6;
1454 }
1455 return NULL;
1456 }
1457
1458
1459 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1460 PyObject *resultobj;
1461 wxScrolledWindow *result;
1462 char *kwnames[] = {
1463 NULL
1464 };
1465
1466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1467 {
1468 PyThreadState* __tstate = wxPyBeginAllowThreads();
1469 result = (wxScrolledWindow *)new wxScrolledWindow();
1470
1471 wxPyEndAllowThreads(__tstate);
1472 if (PyErr_Occurred()) SWIG_fail;
1473 }
1474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1475 return resultobj;
1476 fail:
1477 return NULL;
1478 }
1479
1480
1481 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1482 PyObject *resultobj;
1483 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1484 wxWindow *arg2 = (wxWindow *) 0 ;
1485 int arg3 = (int) (int)-1 ;
1486 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1487 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1488 wxSize const &arg5_defvalue = wxDefaultSize ;
1489 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1490 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1491 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1492 wxString *arg7 = (wxString *) &arg7_defvalue ;
1493 bool result;
1494 wxPoint temp4 ;
1495 wxSize temp5 ;
1496 bool temp7 = False ;
1497 PyObject * obj0 = 0 ;
1498 PyObject * obj1 = 0 ;
1499 PyObject * obj2 = 0 ;
1500 PyObject * obj3 = 0 ;
1501 PyObject * obj4 = 0 ;
1502 PyObject * obj5 = 0 ;
1503 PyObject * obj6 = 0 ;
1504 char *kwnames[] = {
1505 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1506 };
1507
1508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1511 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1513 if (obj2) {
1514 arg3 = (int const) SWIG_AsInt(obj2);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 if (obj3) {
1518 {
1519 arg4 = &temp4;
1520 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1521 }
1522 }
1523 if (obj4) {
1524 {
1525 arg5 = &temp5;
1526 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1527 }
1528 }
1529 if (obj5) {
1530 arg6 = (long) SWIG_AsLong(obj5);
1531 if (PyErr_Occurred()) SWIG_fail;
1532 }
1533 if (obj6) {
1534 {
1535 arg7 = wxString_in_helper(obj6);
1536 if (arg7 == NULL) SWIG_fail;
1537 temp7 = True;
1538 }
1539 }
1540 {
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
1547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1548 {
1549 if (temp7)
1550 delete arg7;
1551 }
1552 return resultobj;
1553 fail:
1554 {
1555 if (temp7)
1556 delete arg7;
1557 }
1558 return NULL;
1559 }
1560
1561
1562 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1563 PyObject *resultobj;
1564 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1565 int arg2 ;
1566 int arg3 ;
1567 int arg4 ;
1568 int arg5 ;
1569 int arg6 = (int) 0 ;
1570 int arg7 = (int) 0 ;
1571 bool arg8 = (bool) False ;
1572 PyObject * obj0 = 0 ;
1573 PyObject * obj1 = 0 ;
1574 PyObject * obj2 = 0 ;
1575 PyObject * obj3 = 0 ;
1576 PyObject * obj4 = 0 ;
1577 PyObject * obj5 = 0 ;
1578 PyObject * obj6 = 0 ;
1579 PyObject * obj7 = 0 ;
1580 char *kwnames[] = {
1581 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1582 };
1583
1584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1587 arg2 = (int) SWIG_AsInt(obj1);
1588 if (PyErr_Occurred()) SWIG_fail;
1589 arg3 = (int) SWIG_AsInt(obj2);
1590 if (PyErr_Occurred()) SWIG_fail;
1591 arg4 = (int) SWIG_AsInt(obj3);
1592 if (PyErr_Occurred()) SWIG_fail;
1593 arg5 = (int) SWIG_AsInt(obj4);
1594 if (PyErr_Occurred()) SWIG_fail;
1595 if (obj5) {
1596 arg6 = (int) SWIG_AsInt(obj5);
1597 if (PyErr_Occurred()) SWIG_fail;
1598 }
1599 if (obj6) {
1600 arg7 = (int) SWIG_AsInt(obj6);
1601 if (PyErr_Occurred()) SWIG_fail;
1602 }
1603 if (obj7) {
1604 arg8 = (bool) SWIG_AsBool(obj7);
1605 if (PyErr_Occurred()) SWIG_fail;
1606 }
1607 {
1608 PyThreadState* __tstate = wxPyBeginAllowThreads();
1609 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1610
1611 wxPyEndAllowThreads(__tstate);
1612 if (PyErr_Occurred()) SWIG_fail;
1613 }
1614 Py_INCREF(Py_None); resultobj = Py_None;
1615 return resultobj;
1616 fail:
1617 return NULL;
1618 }
1619
1620
1621 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1622 PyObject *resultobj;
1623 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1624 int arg2 ;
1625 int arg3 ;
1626 PyObject * obj0 = 0 ;
1627 PyObject * obj1 = 0 ;
1628 PyObject * obj2 = 0 ;
1629 char *kwnames[] = {
1630 (char *) "self",(char *) "x",(char *) "y", NULL
1631 };
1632
1633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1636 arg2 = (int) SWIG_AsInt(obj1);
1637 if (PyErr_Occurred()) SWIG_fail;
1638 arg3 = (int) SWIG_AsInt(obj2);
1639 if (PyErr_Occurred()) SWIG_fail;
1640 {
1641 PyThreadState* __tstate = wxPyBeginAllowThreads();
1642 (arg1)->Scroll(arg2,arg3);
1643
1644 wxPyEndAllowThreads(__tstate);
1645 if (PyErr_Occurred()) SWIG_fail;
1646 }
1647 Py_INCREF(Py_None); resultobj = Py_None;
1648 return resultobj;
1649 fail:
1650 return NULL;
1651 }
1652
1653
1654 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1655 PyObject *resultobj;
1656 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1657 int arg2 ;
1658 int result;
1659 PyObject * obj0 = 0 ;
1660 PyObject * obj1 = 0 ;
1661 char *kwnames[] = {
1662 (char *) "self",(char *) "orient", NULL
1663 };
1664
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1668 arg2 = (int) SWIG_AsInt(obj1);
1669 if (PyErr_Occurred()) SWIG_fail;
1670 {
1671 PyThreadState* __tstate = wxPyBeginAllowThreads();
1672 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1673
1674 wxPyEndAllowThreads(__tstate);
1675 if (PyErr_Occurred()) SWIG_fail;
1676 }
1677 resultobj = SWIG_FromInt((int)result);
1678 return resultobj;
1679 fail:
1680 return NULL;
1681 }
1682
1683
1684 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1685 PyObject *resultobj;
1686 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1687 int arg2 ;
1688 int arg3 ;
1689 PyObject * obj0 = 0 ;
1690 PyObject * obj1 = 0 ;
1691 PyObject * obj2 = 0 ;
1692 char *kwnames[] = {
1693 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1694 };
1695
1696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1699 arg2 = (int) SWIG_AsInt(obj1);
1700 if (PyErr_Occurred()) SWIG_fail;
1701 arg3 = (int) SWIG_AsInt(obj2);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 {
1704 PyThreadState* __tstate = wxPyBeginAllowThreads();
1705 (arg1)->SetScrollPageSize(arg2,arg3);
1706
1707 wxPyEndAllowThreads(__tstate);
1708 if (PyErr_Occurred()) SWIG_fail;
1709 }
1710 Py_INCREF(Py_None); resultobj = Py_None;
1711 return resultobj;
1712 fail:
1713 return NULL;
1714 }
1715
1716
1717 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
1718 PyObject *resultobj;
1719 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1720 int arg2 ;
1721 int arg3 ;
1722 PyObject * obj0 = 0 ;
1723 PyObject * obj1 = 0 ;
1724 PyObject * obj2 = 0 ;
1725 char *kwnames[] = {
1726 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1727 };
1728
1729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1732 arg2 = (int) SWIG_AsInt(obj1);
1733 if (PyErr_Occurred()) SWIG_fail;
1734 arg3 = (int) SWIG_AsInt(obj2);
1735 if (PyErr_Occurred()) SWIG_fail;
1736 {
1737 PyThreadState* __tstate = wxPyBeginAllowThreads();
1738 (arg1)->SetScrollRate(arg2,arg3);
1739
1740 wxPyEndAllowThreads(__tstate);
1741 if (PyErr_Occurred()) SWIG_fail;
1742 }
1743 Py_INCREF(Py_None); resultobj = Py_None;
1744 return resultobj;
1745 fail:
1746 return NULL;
1747 }
1748
1749
1750 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
1751 PyObject *resultobj;
1752 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1753 int *arg2 = (int *) 0 ;
1754 int *arg3 = (int *) 0 ;
1755 int temp2 ;
1756 int temp3 ;
1757 PyObject * obj0 = 0 ;
1758 char *kwnames[] = {
1759 (char *) "self", NULL
1760 };
1761
1762 arg2 = &temp2;
1763 arg3 = &temp3;
1764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1767 {
1768 PyThreadState* __tstate = wxPyBeginAllowThreads();
1769 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1770
1771 wxPyEndAllowThreads(__tstate);
1772 if (PyErr_Occurred()) SWIG_fail;
1773 }
1774 Py_INCREF(Py_None); resultobj = Py_None;
1775 {
1776 PyObject *o = PyInt_FromLong((long) (*arg2));
1777 resultobj = t_output_helper(resultobj,o);
1778 }
1779 {
1780 PyObject *o = PyInt_FromLong((long) (*arg3));
1781 resultobj = t_output_helper(resultobj,o);
1782 }
1783 return resultobj;
1784 fail:
1785 return NULL;
1786 }
1787
1788
1789 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
1790 PyObject *resultobj;
1791 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1792 bool arg2 ;
1793 bool arg3 ;
1794 PyObject * obj0 = 0 ;
1795 PyObject * obj1 = 0 ;
1796 PyObject * obj2 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1804 arg2 = (bool) SWIG_AsBool(obj1);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 arg3 = (bool) SWIG_AsBool(obj2);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 (arg1)->EnableScrolling(arg2,arg3);
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 Py_INCREF(Py_None); resultobj = Py_None;
1816 return resultobj;
1817 fail:
1818 return NULL;
1819 }
1820
1821
1822 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
1823 PyObject *resultobj;
1824 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1825 int *arg2 = (int *) 0 ;
1826 int *arg3 = (int *) 0 ;
1827 int temp2 ;
1828 int temp3 ;
1829 PyObject * obj0 = 0 ;
1830 char *kwnames[] = {
1831 (char *) "self", NULL
1832 };
1833
1834 arg2 = &temp2;
1835 arg3 = &temp3;
1836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1839 {
1840 PyThreadState* __tstate = wxPyBeginAllowThreads();
1841 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1842
1843 wxPyEndAllowThreads(__tstate);
1844 if (PyErr_Occurred()) SWIG_fail;
1845 }
1846 Py_INCREF(Py_None); resultobj = Py_None;
1847 {
1848 PyObject *o = PyInt_FromLong((long) (*arg2));
1849 resultobj = t_output_helper(resultobj,o);
1850 }
1851 {
1852 PyObject *o = PyInt_FromLong((long) (*arg3));
1853 resultobj = t_output_helper(resultobj,o);
1854 }
1855 return resultobj;
1856 fail:
1857 return NULL;
1858 }
1859
1860
1861 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
1862 PyObject *resultobj;
1863 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1864 double arg2 ;
1865 double arg3 ;
1866 PyObject * obj0 = 0 ;
1867 PyObject * obj1 = 0 ;
1868 PyObject * obj2 = 0 ;
1869 char *kwnames[] = {
1870 (char *) "self",(char *) "xs",(char *) "ys", NULL
1871 };
1872
1873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1876 arg2 = (double) SWIG_AsDouble(obj1);
1877 if (PyErr_Occurred()) SWIG_fail;
1878 arg3 = (double) SWIG_AsDouble(obj2);
1879 if (PyErr_Occurred()) SWIG_fail;
1880 {
1881 PyThreadState* __tstate = wxPyBeginAllowThreads();
1882 (arg1)->SetScale(arg2,arg3);
1883
1884 wxPyEndAllowThreads(__tstate);
1885 if (PyErr_Occurred()) SWIG_fail;
1886 }
1887 Py_INCREF(Py_None); resultobj = Py_None;
1888 return resultobj;
1889 fail:
1890 return NULL;
1891 }
1892
1893
1894 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
1895 PyObject *resultobj;
1896 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1897 double result;
1898 PyObject * obj0 = 0 ;
1899 char *kwnames[] = {
1900 (char *) "self", NULL
1901 };
1902
1903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1906 {
1907 PyThreadState* __tstate = wxPyBeginAllowThreads();
1908 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1909
1910 wxPyEndAllowThreads(__tstate);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 }
1913 resultobj = SWIG_FromDouble((double)result);
1914 return resultobj;
1915 fail:
1916 return NULL;
1917 }
1918
1919
1920 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1923 double result;
1924 PyObject * obj0 = 0 ;
1925 char *kwnames[] = {
1926 (char *) "self", NULL
1927 };
1928
1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1932 {
1933 PyThreadState* __tstate = wxPyBeginAllowThreads();
1934 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1935
1936 wxPyEndAllowThreads(__tstate);
1937 if (PyErr_Occurred()) SWIG_fail;
1938 }
1939 resultobj = SWIG_FromDouble((double)result);
1940 return resultobj;
1941 fail:
1942 return NULL;
1943 }
1944
1945
1946 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
1947 PyObject *resultobj;
1948 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1949 wxPoint *arg2 = 0 ;
1950 wxPoint result;
1951 wxPoint temp2 ;
1952 PyObject * obj0 = 0 ;
1953 PyObject * obj1 = 0 ;
1954
1955 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1958 {
1959 arg2 = &temp2;
1960 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1961 }
1962 {
1963 PyThreadState* __tstate = wxPyBeginAllowThreads();
1964 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1965
1966 wxPyEndAllowThreads(__tstate);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 }
1969 {
1970 wxPoint * resultptr;
1971 resultptr = new wxPoint((wxPoint &) result);
1972 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
1973 }
1974 return resultobj;
1975 fail:
1976 return NULL;
1977 }
1978
1979
1980 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
1981 PyObject *resultobj;
1982 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1983 int arg2 ;
1984 int arg3 ;
1985 int *arg4 = (int *) 0 ;
1986 int *arg5 = (int *) 0 ;
1987 int temp4 ;
1988 int temp5 ;
1989 PyObject * obj0 = 0 ;
1990 PyObject * obj1 = 0 ;
1991 PyObject * obj2 = 0 ;
1992
1993 arg4 = &temp4;
1994 arg5 = &temp5;
1995 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
1996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1998 arg2 = (int) SWIG_AsInt(obj1);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 arg3 = (int) SWIG_AsInt(obj2);
2001 if (PyErr_Occurred()) SWIG_fail;
2002 {
2003 PyThreadState* __tstate = wxPyBeginAllowThreads();
2004 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2005
2006 wxPyEndAllowThreads(__tstate);
2007 if (PyErr_Occurred()) SWIG_fail;
2008 }
2009 Py_INCREF(Py_None); resultobj = Py_None;
2010 {
2011 PyObject *o = PyInt_FromLong((long) (*arg4));
2012 resultobj = t_output_helper(resultobj,o);
2013 }
2014 {
2015 PyObject *o = PyInt_FromLong((long) (*arg5));
2016 resultobj = t_output_helper(resultobj,o);
2017 }
2018 return resultobj;
2019 fail:
2020 return NULL;
2021 }
2022
2023
2024 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2025 int argc;
2026 PyObject *argv[4];
2027 int ii;
2028
2029 argc = PyObject_Length(args);
2030 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2031 argv[ii] = PyTuple_GetItem(args,ii);
2032 }
2033 if (argc == 2) {
2034 int _v;
2035 {
2036 void *ptr;
2037 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2038 _v = 0;
2039 PyErr_Clear();
2040 } else {
2041 _v = 1;
2042 }
2043 }
2044 if (_v) {
2045 {
2046 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2047 }
2048 if (_v) {
2049 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2050 }
2051 }
2052 }
2053 if (argc == 3) {
2054 int _v;
2055 {
2056 void *ptr;
2057 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2058 _v = 0;
2059 PyErr_Clear();
2060 } else {
2061 _v = 1;
2062 }
2063 }
2064 if (_v) {
2065 _v = SWIG_CheckInt(argv[1]);
2066 if (_v) {
2067 _v = SWIG_CheckInt(argv[2]);
2068 if (_v) {
2069 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2070 }
2071 }
2072 }
2073 }
2074
2075 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2076 return NULL;
2077 }
2078
2079
2080 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2081 PyObject *resultobj;
2082 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2083 wxPoint *arg2 = 0 ;
2084 wxPoint result;
2085 wxPoint temp2 ;
2086 PyObject * obj0 = 0 ;
2087 PyObject * obj1 = 0 ;
2088
2089 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2092 {
2093 arg2 = &temp2;
2094 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2095 }
2096 {
2097 PyThreadState* __tstate = wxPyBeginAllowThreads();
2098 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2099
2100 wxPyEndAllowThreads(__tstate);
2101 if (PyErr_Occurred()) SWIG_fail;
2102 }
2103 {
2104 wxPoint * resultptr;
2105 resultptr = new wxPoint((wxPoint &) result);
2106 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2107 }
2108 return resultobj;
2109 fail:
2110 return NULL;
2111 }
2112
2113
2114 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2115 PyObject *resultobj;
2116 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2117 int arg2 ;
2118 int arg3 ;
2119 int *arg4 = (int *) 0 ;
2120 int *arg5 = (int *) 0 ;
2121 int temp4 ;
2122 int temp5 ;
2123 PyObject * obj0 = 0 ;
2124 PyObject * obj1 = 0 ;
2125 PyObject * obj2 = 0 ;
2126
2127 arg4 = &temp4;
2128 arg5 = &temp5;
2129 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2132 arg2 = (int) SWIG_AsInt(obj1);
2133 if (PyErr_Occurred()) SWIG_fail;
2134 arg3 = (int) SWIG_AsInt(obj2);
2135 if (PyErr_Occurred()) SWIG_fail;
2136 {
2137 PyThreadState* __tstate = wxPyBeginAllowThreads();
2138 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2139
2140 wxPyEndAllowThreads(__tstate);
2141 if (PyErr_Occurred()) SWIG_fail;
2142 }
2143 Py_INCREF(Py_None); resultobj = Py_None;
2144 {
2145 PyObject *o = PyInt_FromLong((long) (*arg4));
2146 resultobj = t_output_helper(resultobj,o);
2147 }
2148 {
2149 PyObject *o = PyInt_FromLong((long) (*arg5));
2150 resultobj = t_output_helper(resultobj,o);
2151 }
2152 return resultobj;
2153 fail:
2154 return NULL;
2155 }
2156
2157
2158 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2159 int argc;
2160 PyObject *argv[4];
2161 int ii;
2162
2163 argc = PyObject_Length(args);
2164 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2165 argv[ii] = PyTuple_GetItem(args,ii);
2166 }
2167 if (argc == 2) {
2168 int _v;
2169 {
2170 void *ptr;
2171 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2172 _v = 0;
2173 PyErr_Clear();
2174 } else {
2175 _v = 1;
2176 }
2177 }
2178 if (_v) {
2179 {
2180 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2181 }
2182 if (_v) {
2183 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2184 }
2185 }
2186 }
2187 if (argc == 3) {
2188 int _v;
2189 {
2190 void *ptr;
2191 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2192 _v = 0;
2193 PyErr_Clear();
2194 } else {
2195 _v = 1;
2196 }
2197 }
2198 if (_v) {
2199 _v = SWIG_CheckInt(argv[1]);
2200 if (_v) {
2201 _v = SWIG_CheckInt(argv[2]);
2202 if (_v) {
2203 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2204 }
2205 }
2206 }
2207 }
2208
2209 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2210 return NULL;
2211 }
2212
2213
2214 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2215 PyObject *resultobj;
2216 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2217 PyObject * obj0 = 0 ;
2218 char *kwnames[] = {
2219 (char *) "self", NULL
2220 };
2221
2222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2225 {
2226 PyThreadState* __tstate = wxPyBeginAllowThreads();
2227 (arg1)->AdjustScrollbars();
2228
2229 wxPyEndAllowThreads(__tstate);
2230 if (PyErr_Occurred()) SWIG_fail;
2231 }
2232 Py_INCREF(Py_None); resultobj = Py_None;
2233 return resultobj;
2234 fail:
2235 return NULL;
2236 }
2237
2238
2239 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2240 PyObject *resultobj;
2241 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2242 wxScrollWinEvent *arg2 = 0 ;
2243 int result;
2244 PyObject * obj0 = 0 ;
2245 PyObject * obj1 = 0 ;
2246 char *kwnames[] = {
2247 (char *) "self",(char *) "event", NULL
2248 };
2249
2250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2254 SWIG_POINTER_EXCEPTION | 0)) == -1)
2255 SWIG_fail;
2256 if (arg2 == NULL) {
2257 PyErr_SetString(PyExc_TypeError,"null reference");
2258 SWIG_fail;
2259 }
2260 {
2261 PyThreadState* __tstate = wxPyBeginAllowThreads();
2262 result = (int)(arg1)->CalcScrollInc(*arg2);
2263
2264 wxPyEndAllowThreads(__tstate);
2265 if (PyErr_Occurred()) SWIG_fail;
2266 }
2267 resultobj = SWIG_FromInt((int)result);
2268 return resultobj;
2269 fail:
2270 return NULL;
2271 }
2272
2273
2274 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2275 PyObject *resultobj;
2276 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2277 wxWindow *arg2 = (wxWindow *) 0 ;
2278 PyObject * obj0 = 0 ;
2279 PyObject * obj1 = 0 ;
2280 char *kwnames[] = {
2281 (char *) "self",(char *) "target", NULL
2282 };
2283
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2289 {
2290 PyThreadState* __tstate = wxPyBeginAllowThreads();
2291 (arg1)->SetTargetWindow(arg2);
2292
2293 wxPyEndAllowThreads(__tstate);
2294 if (PyErr_Occurred()) SWIG_fail;
2295 }
2296 Py_INCREF(Py_None); resultobj = Py_None;
2297 return resultobj;
2298 fail:
2299 return NULL;
2300 }
2301
2302
2303 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2304 PyObject *resultobj;
2305 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2306 wxWindow *result;
2307 PyObject * obj0 = 0 ;
2308 char *kwnames[] = {
2309 (char *) "self", NULL
2310 };
2311
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2315 {
2316 PyThreadState* __tstate = wxPyBeginAllowThreads();
2317 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2318
2319 wxPyEndAllowThreads(__tstate);
2320 if (PyErr_Occurred()) SWIG_fail;
2321 }
2322 {
2323 resultobj = wxPyMake_wxObject(result);
2324 }
2325 return resultobj;
2326 fail:
2327 return NULL;
2328 }
2329
2330
2331 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2332 PyObject *resultobj;
2333 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2334 wxRect *arg2 = 0 ;
2335 wxRect temp2 ;
2336 PyObject * obj0 = 0 ;
2337 PyObject * obj1 = 0 ;
2338 char *kwnames[] = {
2339 (char *) "self",(char *) "rect", NULL
2340 };
2341
2342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2345 {
2346 arg2 = &temp2;
2347 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2348 }
2349 {
2350 PyThreadState* __tstate = wxPyBeginAllowThreads();
2351 (arg1)->SetTargetRect((wxRect const &)*arg2);
2352
2353 wxPyEndAllowThreads(__tstate);
2354 if (PyErr_Occurred()) SWIG_fail;
2355 }
2356 Py_INCREF(Py_None); resultobj = Py_None;
2357 return resultobj;
2358 fail:
2359 return NULL;
2360 }
2361
2362
2363 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2364 PyObject *resultobj;
2365 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2366 wxRect result;
2367 PyObject * obj0 = 0 ;
2368 char *kwnames[] = {
2369 (char *) "self", NULL
2370 };
2371
2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2375 {
2376 PyThreadState* __tstate = wxPyBeginAllowThreads();
2377 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2378
2379 wxPyEndAllowThreads(__tstate);
2380 if (PyErr_Occurred()) SWIG_fail;
2381 }
2382 {
2383 wxRect * resultptr;
2384 resultptr = new wxRect((wxRect &) result);
2385 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2386 }
2387 return resultobj;
2388 fail:
2389 return NULL;
2390 }
2391
2392
2393 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2394 PyObject *obj;
2395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2396 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2397 Py_INCREF(obj);
2398 return Py_BuildValue((char *)"");
2399 }
2400 static int _wrap_FrameNameStr_set(PyObject *) {
2401 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2402 return 1;
2403 }
2404
2405
2406 static PyObject *_wrap_FrameNameStr_get() {
2407 PyObject *pyobj;
2408
2409 {
2410 #if wxUSE_UNICODE
2411 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2412 #else
2413 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2414 #endif
2415 }
2416 return pyobj;
2417 }
2418
2419
2420 static int _wrap_DialogNameStr_set(PyObject *) {
2421 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2422 return 1;
2423 }
2424
2425
2426 static PyObject *_wrap_DialogNameStr_get() {
2427 PyObject *pyobj;
2428
2429 {
2430 #if wxUSE_UNICODE
2431 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2432 #else
2433 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2434 #endif
2435 }
2436 return pyobj;
2437 }
2438
2439
2440 static int _wrap_StatusLineNameStr_set(PyObject *) {
2441 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2442 return 1;
2443 }
2444
2445
2446 static PyObject *_wrap_StatusLineNameStr_get() {
2447 PyObject *pyobj;
2448
2449 {
2450 #if wxUSE_UNICODE
2451 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2452 #else
2453 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2454 #endif
2455 }
2456 return pyobj;
2457 }
2458
2459
2460 static int _wrap_ToolBarNameStr_set(PyObject *) {
2461 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2462 return 1;
2463 }
2464
2465
2466 static PyObject *_wrap_ToolBarNameStr_get() {
2467 PyObject *pyobj;
2468
2469 {
2470 #if wxUSE_UNICODE
2471 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2472 #else
2473 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2474 #endif
2475 }
2476 return pyobj;
2477 }
2478
2479
2480 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2481 PyObject *resultobj;
2482 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2483 bool arg2 = (bool) True ;
2484 PyObject * obj0 = 0 ;
2485 PyObject * obj1 = 0 ;
2486 char *kwnames[] = {
2487 (char *) "self",(char *) "maximize", NULL
2488 };
2489
2490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2493 if (obj1) {
2494 arg2 = (bool) SWIG_AsBool(obj1);
2495 if (PyErr_Occurred()) SWIG_fail;
2496 }
2497 {
2498 PyThreadState* __tstate = wxPyBeginAllowThreads();
2499 (arg1)->Maximize(arg2);
2500
2501 wxPyEndAllowThreads(__tstate);
2502 if (PyErr_Occurred()) SWIG_fail;
2503 }
2504 Py_INCREF(Py_None); resultobj = Py_None;
2505 return resultobj;
2506 fail:
2507 return NULL;
2508 }
2509
2510
2511 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2512 PyObject *resultobj;
2513 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2514 PyObject * obj0 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "self", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2522 {
2523 PyThreadState* __tstate = wxPyBeginAllowThreads();
2524 (arg1)->Restore();
2525
2526 wxPyEndAllowThreads(__tstate);
2527 if (PyErr_Occurred()) SWIG_fail;
2528 }
2529 Py_INCREF(Py_None); resultobj = Py_None;
2530 return resultobj;
2531 fail:
2532 return NULL;
2533 }
2534
2535
2536 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2537 PyObject *resultobj;
2538 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2539 bool arg2 = (bool) True ;
2540 PyObject * obj0 = 0 ;
2541 PyObject * obj1 = 0 ;
2542 char *kwnames[] = {
2543 (char *) "self",(char *) "iconize", NULL
2544 };
2545
2546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2549 if (obj1) {
2550 arg2 = (bool) SWIG_AsBool(obj1);
2551 if (PyErr_Occurred()) SWIG_fail;
2552 }
2553 {
2554 PyThreadState* __tstate = wxPyBeginAllowThreads();
2555 (arg1)->Iconize(arg2);
2556
2557 wxPyEndAllowThreads(__tstate);
2558 if (PyErr_Occurred()) SWIG_fail;
2559 }
2560 Py_INCREF(Py_None); resultobj = Py_None;
2561 return resultobj;
2562 fail:
2563 return NULL;
2564 }
2565
2566
2567 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2568 PyObject *resultobj;
2569 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2570 bool result;
2571 PyObject * obj0 = 0 ;
2572 char *kwnames[] = {
2573 (char *) "self", NULL
2574 };
2575
2576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2579 {
2580 PyThreadState* __tstate = wxPyBeginAllowThreads();
2581 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2582
2583 wxPyEndAllowThreads(__tstate);
2584 if (PyErr_Occurred()) SWIG_fail;
2585 }
2586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2587 return resultobj;
2588 fail:
2589 return NULL;
2590 }
2591
2592
2593 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2594 PyObject *resultobj;
2595 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2596 bool result;
2597 PyObject * obj0 = 0 ;
2598 char *kwnames[] = {
2599 (char *) "self", NULL
2600 };
2601
2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2605 {
2606 PyThreadState* __tstate = wxPyBeginAllowThreads();
2607 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2608
2609 wxPyEndAllowThreads(__tstate);
2610 if (PyErr_Occurred()) SWIG_fail;
2611 }
2612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2613 return resultobj;
2614 fail:
2615 return NULL;
2616 }
2617
2618
2619 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2620 PyObject *resultobj;
2621 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2622 wxIcon result;
2623 PyObject * obj0 = 0 ;
2624 char *kwnames[] = {
2625 (char *) "self", NULL
2626 };
2627
2628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2631 {
2632 PyThreadState* __tstate = wxPyBeginAllowThreads();
2633 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2634
2635 wxPyEndAllowThreads(__tstate);
2636 if (PyErr_Occurred()) SWIG_fail;
2637 }
2638 {
2639 wxIcon * resultptr;
2640 resultptr = new wxIcon((wxIcon &) result);
2641 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2642 }
2643 return resultobj;
2644 fail:
2645 return NULL;
2646 }
2647
2648
2649 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2650 PyObject *resultobj;
2651 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2652 wxIcon *arg2 = 0 ;
2653 PyObject * obj0 = 0 ;
2654 PyObject * obj1 = 0 ;
2655 char *kwnames[] = {
2656 (char *) "self",(char *) "icon", NULL
2657 };
2658
2659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2663 SWIG_POINTER_EXCEPTION | 0)) == -1)
2664 SWIG_fail;
2665 if (arg2 == NULL) {
2666 PyErr_SetString(PyExc_TypeError,"null reference");
2667 SWIG_fail;
2668 }
2669 {
2670 PyThreadState* __tstate = wxPyBeginAllowThreads();
2671 (arg1)->SetIcon((wxIcon const &)*arg2);
2672
2673 wxPyEndAllowThreads(__tstate);
2674 if (PyErr_Occurred()) SWIG_fail;
2675 }
2676 Py_INCREF(Py_None); resultobj = Py_None;
2677 return resultobj;
2678 fail:
2679 return NULL;
2680 }
2681
2682
2683 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
2684 PyObject *resultobj;
2685 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2686 wxIconBundle *arg2 = 0 ;
2687 PyObject * obj0 = 0 ;
2688 PyObject * obj1 = 0 ;
2689 char *kwnames[] = {
2690 (char *) "self",(char *) "icons", NULL
2691 };
2692
2693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2697 SWIG_POINTER_EXCEPTION | 0)) == -1)
2698 SWIG_fail;
2699 if (arg2 == NULL) {
2700 PyErr_SetString(PyExc_TypeError,"null reference");
2701 SWIG_fail;
2702 }
2703 {
2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
2705 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2706
2707 wxPyEndAllowThreads(__tstate);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 }
2710 Py_INCREF(Py_None); resultobj = Py_None;
2711 return resultobj;
2712 fail:
2713 return NULL;
2714 }
2715
2716
2717 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
2718 PyObject *resultobj;
2719 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2720 bool arg2 ;
2721 long arg3 = (long) wxFULLSCREEN_ALL ;
2722 bool result;
2723 PyObject * obj0 = 0 ;
2724 PyObject * obj1 = 0 ;
2725 PyObject * obj2 = 0 ;
2726 char *kwnames[] = {
2727 (char *) "self",(char *) "show",(char *) "style", NULL
2728 };
2729
2730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2733 arg2 = (bool) SWIG_AsBool(obj1);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 if (obj2) {
2736 arg3 = (long) SWIG_AsLong(obj2);
2737 if (PyErr_Occurred()) SWIG_fail;
2738 }
2739 {
2740 PyThreadState* __tstate = wxPyBeginAllowThreads();
2741 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2742
2743 wxPyEndAllowThreads(__tstate);
2744 if (PyErr_Occurred()) SWIG_fail;
2745 }
2746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2747 return resultobj;
2748 fail:
2749 return NULL;
2750 }
2751
2752
2753 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
2754 PyObject *resultobj;
2755 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2756 bool result;
2757 PyObject * obj0 = 0 ;
2758 char *kwnames[] = {
2759 (char *) "self", NULL
2760 };
2761
2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2765 {
2766 PyThreadState* __tstate = wxPyBeginAllowThreads();
2767 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2768
2769 wxPyEndAllowThreads(__tstate);
2770 if (PyErr_Occurred()) SWIG_fail;
2771 }
2772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2773 return resultobj;
2774 fail:
2775 return NULL;
2776 }
2777
2778
2779 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
2780 PyObject *resultobj;
2781 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2782 wxString *arg2 = 0 ;
2783 bool temp2 = False ;
2784 PyObject * obj0 = 0 ;
2785 PyObject * obj1 = 0 ;
2786 char *kwnames[] = {
2787 (char *) "self",(char *) "title", NULL
2788 };
2789
2790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2793 {
2794 arg2 = wxString_in_helper(obj1);
2795 if (arg2 == NULL) SWIG_fail;
2796 temp2 = True;
2797 }
2798 {
2799 PyThreadState* __tstate = wxPyBeginAllowThreads();
2800 (arg1)->SetTitle((wxString const &)*arg2);
2801
2802 wxPyEndAllowThreads(__tstate);
2803 if (PyErr_Occurred()) SWIG_fail;
2804 }
2805 Py_INCREF(Py_None); resultobj = Py_None;
2806 {
2807 if (temp2)
2808 delete arg2;
2809 }
2810 return resultobj;
2811 fail:
2812 {
2813 if (temp2)
2814 delete arg2;
2815 }
2816 return NULL;
2817 }
2818
2819
2820 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
2821 PyObject *resultobj;
2822 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2823 wxString result;
2824 PyObject * obj0 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "self", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2832 {
2833 PyThreadState* __tstate = wxPyBeginAllowThreads();
2834 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2835
2836 wxPyEndAllowThreads(__tstate);
2837 if (PyErr_Occurred()) SWIG_fail;
2838 }
2839 {
2840 #if wxUSE_UNICODE
2841 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2842 #else
2843 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2844 #endif
2845 }
2846 return resultobj;
2847 fail:
2848 return NULL;
2849 }
2850
2851
2852 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
2853 PyObject *resultobj;
2854 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2855 wxRegion *arg2 = 0 ;
2856 bool result;
2857 PyObject * obj0 = 0 ;
2858 PyObject * obj1 = 0 ;
2859 char *kwnames[] = {
2860 (char *) "self",(char *) "region", NULL
2861 };
2862
2863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2866 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2867 SWIG_POINTER_EXCEPTION | 0)) == -1)
2868 SWIG_fail;
2869 if (arg2 == NULL) {
2870 PyErr_SetString(PyExc_TypeError,"null reference");
2871 SWIG_fail;
2872 }
2873 {
2874 PyThreadState* __tstate = wxPyBeginAllowThreads();
2875 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2876
2877 wxPyEndAllowThreads(__tstate);
2878 if (PyErr_Occurred()) SWIG_fail;
2879 }
2880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2881 return resultobj;
2882 fail:
2883 return NULL;
2884 }
2885
2886
2887 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
2888 PyObject *obj;
2889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2890 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2891 Py_INCREF(obj);
2892 return Py_BuildValue((char *)"");
2893 }
2894 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
2895 PyObject *resultobj;
2896 wxWindow *arg1 = (wxWindow *) 0 ;
2897 int arg2 ;
2898 wxString *arg3 = 0 ;
2899 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2900 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2901 wxSize const &arg5_defvalue = wxDefaultSize ;
2902 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2903 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2904 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2905 wxString *arg7 = (wxString *) &arg7_defvalue ;
2906 wxFrame *result;
2907 bool temp3 = False ;
2908 wxPoint temp4 ;
2909 wxSize temp5 ;
2910 bool temp7 = False ;
2911 PyObject * obj0 = 0 ;
2912 PyObject * obj1 = 0 ;
2913 PyObject * obj2 = 0 ;
2914 PyObject * obj3 = 0 ;
2915 PyObject * obj4 = 0 ;
2916 PyObject * obj5 = 0 ;
2917 PyObject * obj6 = 0 ;
2918 char *kwnames[] = {
2919 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2920 };
2921
2922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2925 arg2 = (int const) SWIG_AsInt(obj1);
2926 if (PyErr_Occurred()) SWIG_fail;
2927 {
2928 arg3 = wxString_in_helper(obj2);
2929 if (arg3 == NULL) SWIG_fail;
2930 temp3 = True;
2931 }
2932 if (obj3) {
2933 {
2934 arg4 = &temp4;
2935 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2936 }
2937 }
2938 if (obj4) {
2939 {
2940 arg5 = &temp5;
2941 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2942 }
2943 }
2944 if (obj5) {
2945 arg6 = (long) SWIG_AsLong(obj5);
2946 if (PyErr_Occurred()) SWIG_fail;
2947 }
2948 if (obj6) {
2949 {
2950 arg7 = wxString_in_helper(obj6);
2951 if (arg7 == NULL) SWIG_fail;
2952 temp7 = True;
2953 }
2954 }
2955 {
2956 PyThreadState* __tstate = wxPyBeginAllowThreads();
2957 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2958
2959 wxPyEndAllowThreads(__tstate);
2960 if (PyErr_Occurred()) SWIG_fail;
2961 }
2962 {
2963 resultobj = wxPyMake_wxObject(result);
2964 }
2965 {
2966 if (temp3)
2967 delete arg3;
2968 }
2969 {
2970 if (temp7)
2971 delete arg7;
2972 }
2973 return resultobj;
2974 fail:
2975 {
2976 if (temp3)
2977 delete arg3;
2978 }
2979 {
2980 if (temp7)
2981 delete arg7;
2982 }
2983 return NULL;
2984 }
2985
2986
2987 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
2988 PyObject *resultobj;
2989 wxFrame *result;
2990 char *kwnames[] = {
2991 NULL
2992 };
2993
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2995 {
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 result = (wxFrame *)new wxFrame();
2998
2999 wxPyEndAllowThreads(__tstate);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 {
3003 resultobj = wxPyMake_wxObject(result);
3004 }
3005 return resultobj;
3006 fail:
3007 return NULL;
3008 }
3009
3010
3011 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3012 PyObject *resultobj;
3013 wxFrame *arg1 = (wxFrame *) 0 ;
3014 wxWindow *arg2 = (wxWindow *) 0 ;
3015 int arg3 ;
3016 wxString *arg4 = 0 ;
3017 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3018 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3019 wxSize const &arg6_defvalue = wxDefaultSize ;
3020 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3021 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3022 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3023 wxString *arg8 = (wxString *) &arg8_defvalue ;
3024 bool result;
3025 bool temp4 = False ;
3026 wxPoint temp5 ;
3027 wxSize temp6 ;
3028 bool temp8 = False ;
3029 PyObject * obj0 = 0 ;
3030 PyObject * obj1 = 0 ;
3031 PyObject * obj2 = 0 ;
3032 PyObject * obj3 = 0 ;
3033 PyObject * obj4 = 0 ;
3034 PyObject * obj5 = 0 ;
3035 PyObject * obj6 = 0 ;
3036 PyObject * obj7 = 0 ;
3037 char *kwnames[] = {
3038 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3039 };
3040
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3046 arg3 = (int const) SWIG_AsInt(obj2);
3047 if (PyErr_Occurred()) SWIG_fail;
3048 {
3049 arg4 = wxString_in_helper(obj3);
3050 if (arg4 == NULL) SWIG_fail;
3051 temp4 = True;
3052 }
3053 if (obj4) {
3054 {
3055 arg5 = &temp5;
3056 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3057 }
3058 }
3059 if (obj5) {
3060 {
3061 arg6 = &temp6;
3062 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3063 }
3064 }
3065 if (obj6) {
3066 arg7 = (long) SWIG_AsLong(obj6);
3067 if (PyErr_Occurred()) SWIG_fail;
3068 }
3069 if (obj7) {
3070 {
3071 arg8 = wxString_in_helper(obj7);
3072 if (arg8 == NULL) SWIG_fail;
3073 temp8 = True;
3074 }
3075 }
3076 {
3077 PyThreadState* __tstate = wxPyBeginAllowThreads();
3078 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3079
3080 wxPyEndAllowThreads(__tstate);
3081 if (PyErr_Occurred()) SWIG_fail;
3082 }
3083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3084 {
3085 if (temp4)
3086 delete arg4;
3087 }
3088 {
3089 if (temp8)
3090 delete arg8;
3091 }
3092 return resultobj;
3093 fail:
3094 {
3095 if (temp4)
3096 delete arg4;
3097 }
3098 {
3099 if (temp8)
3100 delete arg8;
3101 }
3102 return NULL;
3103 }
3104
3105
3106 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3107 PyObject *resultobj;
3108 wxFrame *arg1 = (wxFrame *) 0 ;
3109 wxPoint result;
3110 PyObject * obj0 = 0 ;
3111 char *kwnames[] = {
3112 (char *) "self", NULL
3113 };
3114
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3118 {
3119 PyThreadState* __tstate = wxPyBeginAllowThreads();
3120 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3121
3122 wxPyEndAllowThreads(__tstate);
3123 if (PyErr_Occurred()) SWIG_fail;
3124 }
3125 {
3126 wxPoint * resultptr;
3127 resultptr = new wxPoint((wxPoint &) result);
3128 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3129 }
3130 return resultobj;
3131 fail:
3132 return NULL;
3133 }
3134
3135
3136 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3137 PyObject *resultobj;
3138 wxFrame *arg1 = (wxFrame *) 0 ;
3139 PyObject * obj0 = 0 ;
3140 char *kwnames[] = {
3141 (char *) "self", NULL
3142 };
3143
3144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 (arg1)->SendSizeEvent();
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 Py_INCREF(Py_None); resultobj = Py_None;
3155 return resultobj;
3156 fail:
3157 return NULL;
3158 }
3159
3160
3161 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3162 PyObject *resultobj;
3163 wxFrame *arg1 = (wxFrame *) 0 ;
3164 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3165 PyObject * obj0 = 0 ;
3166 PyObject * obj1 = 0 ;
3167 char *kwnames[] = {
3168 (char *) "self",(char *) "menubar", NULL
3169 };
3170
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3176 {
3177 PyThreadState* __tstate = wxPyBeginAllowThreads();
3178 (arg1)->SetMenuBar(arg2);
3179
3180 wxPyEndAllowThreads(__tstate);
3181 if (PyErr_Occurred()) SWIG_fail;
3182 }
3183 Py_INCREF(Py_None); resultobj = Py_None;
3184 return resultobj;
3185 fail:
3186 return NULL;
3187 }
3188
3189
3190 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3191 PyObject *resultobj;
3192 wxFrame *arg1 = (wxFrame *) 0 ;
3193 wxMenuBar *result;
3194 PyObject * obj0 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
3204 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
3209 {
3210 resultobj = wxPyMake_wxObject(result);
3211 }
3212 return resultobj;
3213 fail:
3214 return NULL;
3215 }
3216
3217
3218 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3219 PyObject *resultobj;
3220 wxFrame *arg1 = (wxFrame *) 0 ;
3221 int arg2 ;
3222 bool result;
3223 PyObject * obj0 = 0 ;
3224 PyObject * obj1 = 0 ;
3225 char *kwnames[] = {
3226 (char *) "self",(char *) "winid", NULL
3227 };
3228
3229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3232 arg2 = (int) SWIG_AsInt(obj1);
3233 if (PyErr_Occurred()) SWIG_fail;
3234 {
3235 PyThreadState* __tstate = wxPyBeginAllowThreads();
3236 result = (bool)(arg1)->ProcessCommand(arg2);
3237
3238 wxPyEndAllowThreads(__tstate);
3239 if (PyErr_Occurred()) SWIG_fail;
3240 }
3241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3242 return resultobj;
3243 fail:
3244 return NULL;
3245 }
3246
3247
3248 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3249 PyObject *resultobj;
3250 wxFrame *arg1 = (wxFrame *) 0 ;
3251 int arg2 = (int) 1 ;
3252 long arg3 = (long) wxST_SIZEGRIP ;
3253 int arg4 = (int) 0 ;
3254 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3255 wxString *arg5 = (wxString *) &arg5_defvalue ;
3256 wxStatusBar *result;
3257 bool temp5 = False ;
3258 PyObject * obj0 = 0 ;
3259 PyObject * obj1 = 0 ;
3260 PyObject * obj2 = 0 ;
3261 PyObject * obj3 = 0 ;
3262 PyObject * obj4 = 0 ;
3263 char *kwnames[] = {
3264 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3265 };
3266
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3270 if (obj1) {
3271 arg2 = (int) SWIG_AsInt(obj1);
3272 if (PyErr_Occurred()) SWIG_fail;
3273 }
3274 if (obj2) {
3275 arg3 = (long) SWIG_AsLong(obj2);
3276 if (PyErr_Occurred()) SWIG_fail;
3277 }
3278 if (obj3) {
3279 arg4 = (int) SWIG_AsInt(obj3);
3280 if (PyErr_Occurred()) SWIG_fail;
3281 }
3282 if (obj4) {
3283 {
3284 arg5 = wxString_in_helper(obj4);
3285 if (arg5 == NULL) SWIG_fail;
3286 temp5 = True;
3287 }
3288 }
3289 {
3290 PyThreadState* __tstate = wxPyBeginAllowThreads();
3291 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3292
3293 wxPyEndAllowThreads(__tstate);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
3296 {
3297 resultobj = wxPyMake_wxObject(result);
3298 }
3299 {
3300 if (temp5)
3301 delete arg5;
3302 }
3303 return resultobj;
3304 fail:
3305 {
3306 if (temp5)
3307 delete arg5;
3308 }
3309 return NULL;
3310 }
3311
3312
3313 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3314 PyObject *resultobj;
3315 wxFrame *arg1 = (wxFrame *) 0 ;
3316 wxStatusBar *result;
3317 PyObject * obj0 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3325 {
3326 PyThreadState* __tstate = wxPyBeginAllowThreads();
3327 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3328
3329 wxPyEndAllowThreads(__tstate);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 {
3333 resultobj = wxPyMake_wxObject(result);
3334 }
3335 return resultobj;
3336 fail:
3337 return NULL;
3338 }
3339
3340
3341 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3342 PyObject *resultobj;
3343 wxFrame *arg1 = (wxFrame *) 0 ;
3344 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3345 PyObject * obj0 = 0 ;
3346 PyObject * obj1 = 0 ;
3347 char *kwnames[] = {
3348 (char *) "self",(char *) "statBar", NULL
3349 };
3350
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3356 {
3357 PyThreadState* __tstate = wxPyBeginAllowThreads();
3358 (arg1)->SetStatusBar(arg2);
3359
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
3363 Py_INCREF(Py_None); resultobj = Py_None;
3364 return resultobj;
3365 fail:
3366 return NULL;
3367 }
3368
3369
3370 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3371 PyObject *resultobj;
3372 wxFrame *arg1 = (wxFrame *) 0 ;
3373 wxString *arg2 = 0 ;
3374 int arg3 = (int) 0 ;
3375 bool temp2 = False ;
3376 PyObject * obj0 = 0 ;
3377 PyObject * obj1 = 0 ;
3378 PyObject * obj2 = 0 ;
3379 char *kwnames[] = {
3380 (char *) "self",(char *) "text",(char *) "number", NULL
3381 };
3382
3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3386 {
3387 arg2 = wxString_in_helper(obj1);
3388 if (arg2 == NULL) SWIG_fail;
3389 temp2 = True;
3390 }
3391 if (obj2) {
3392 arg3 = (int) SWIG_AsInt(obj2);
3393 if (PyErr_Occurred()) SWIG_fail;
3394 }
3395 {
3396 PyThreadState* __tstate = wxPyBeginAllowThreads();
3397 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3398
3399 wxPyEndAllowThreads(__tstate);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
3402 Py_INCREF(Py_None); resultobj = Py_None;
3403 {
3404 if (temp2)
3405 delete arg2;
3406 }
3407 return resultobj;
3408 fail:
3409 {
3410 if (temp2)
3411 delete arg2;
3412 }
3413 return NULL;
3414 }
3415
3416
3417 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3418 PyObject *resultobj;
3419 wxFrame *arg1 = (wxFrame *) 0 ;
3420 int arg2 ;
3421 int *arg3 = (int *) 0 ;
3422 PyObject * obj0 = 0 ;
3423 PyObject * obj1 = 0 ;
3424 char *kwnames[] = {
3425 (char *) "self",(char *) "widths", NULL
3426 };
3427
3428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3431 {
3432 arg2 = PyList_Size(obj1);
3433 arg3 = int_LIST_helper(obj1);
3434 if (arg3 == NULL) SWIG_fail;
3435 }
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 Py_INCREF(Py_None); resultobj = Py_None;
3444 {
3445 if (arg3) delete [] arg3;
3446 }
3447 return resultobj;
3448 fail:
3449 {
3450 if (arg3) delete [] arg3;
3451 }
3452 return NULL;
3453 }
3454
3455
3456 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3457 PyObject *resultobj;
3458 wxFrame *arg1 = (wxFrame *) 0 ;
3459 wxString *arg2 = 0 ;
3460 int arg3 = (int) 0 ;
3461 bool temp2 = False ;
3462 PyObject * obj0 = 0 ;
3463 PyObject * obj1 = 0 ;
3464 PyObject * obj2 = 0 ;
3465 char *kwnames[] = {
3466 (char *) "self",(char *) "text",(char *) "number", NULL
3467 };
3468
3469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3472 {
3473 arg2 = wxString_in_helper(obj1);
3474 if (arg2 == NULL) SWIG_fail;
3475 temp2 = True;
3476 }
3477 if (obj2) {
3478 arg3 = (int) SWIG_AsInt(obj2);
3479 if (PyErr_Occurred()) SWIG_fail;
3480 }
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
3483 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 Py_INCREF(Py_None); resultobj = Py_None;
3489 {
3490 if (temp2)
3491 delete arg2;
3492 }
3493 return resultobj;
3494 fail:
3495 {
3496 if (temp2)
3497 delete arg2;
3498 }
3499 return NULL;
3500 }
3501
3502
3503 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3504 PyObject *resultobj;
3505 wxFrame *arg1 = (wxFrame *) 0 ;
3506 int arg2 = (int) 0 ;
3507 PyObject * obj0 = 0 ;
3508 PyObject * obj1 = 0 ;
3509 char *kwnames[] = {
3510 (char *) "self",(char *) "number", NULL
3511 };
3512
3513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3516 if (obj1) {
3517 arg2 = (int) SWIG_AsInt(obj1);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 }
3520 {
3521 PyThreadState* __tstate = wxPyBeginAllowThreads();
3522 (arg1)->PopStatusText(arg2);
3523
3524 wxPyEndAllowThreads(__tstate);
3525 if (PyErr_Occurred()) SWIG_fail;
3526 }
3527 Py_INCREF(Py_None); resultobj = Py_None;
3528 return resultobj;
3529 fail:
3530 return NULL;
3531 }
3532
3533
3534 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3535 PyObject *resultobj;
3536 wxFrame *arg1 = (wxFrame *) 0 ;
3537 int arg2 ;
3538 PyObject * obj0 = 0 ;
3539 PyObject * obj1 = 0 ;
3540 char *kwnames[] = {
3541 (char *) "self",(char *) "n", NULL
3542 };
3543
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3547 arg2 = (int) SWIG_AsInt(obj1);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 {
3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
3551 (arg1)->SetStatusBarPane(arg2);
3552
3553 wxPyEndAllowThreads(__tstate);
3554 if (PyErr_Occurred()) SWIG_fail;
3555 }
3556 Py_INCREF(Py_None); resultobj = Py_None;
3557 return resultobj;
3558 fail:
3559 return NULL;
3560 }
3561
3562
3563 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3564 PyObject *resultobj;
3565 wxFrame *arg1 = (wxFrame *) 0 ;
3566 int result;
3567 PyObject * obj0 = 0 ;
3568 char *kwnames[] = {
3569 (char *) "self", NULL
3570 };
3571
3572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3575 {
3576 PyThreadState* __tstate = wxPyBeginAllowThreads();
3577 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3578
3579 wxPyEndAllowThreads(__tstate);
3580 if (PyErr_Occurred()) SWIG_fail;
3581 }
3582 resultobj = SWIG_FromInt((int)result);
3583 return resultobj;
3584 fail:
3585 return NULL;
3586 }
3587
3588
3589 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3590 PyObject *resultobj;
3591 wxFrame *arg1 = (wxFrame *) 0 ;
3592 long arg2 = (long) -1 ;
3593 int arg3 = (int) -1 ;
3594 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3595 wxString *arg4 = (wxString *) &arg4_defvalue ;
3596 wxToolBar *result;
3597 bool temp4 = False ;
3598 PyObject * obj0 = 0 ;
3599 PyObject * obj1 = 0 ;
3600 PyObject * obj2 = 0 ;
3601 PyObject * obj3 = 0 ;
3602 char *kwnames[] = {
3603 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3604 };
3605
3606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3609 if (obj1) {
3610 arg2 = (long) SWIG_AsLong(obj1);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 if (obj2) {
3614 arg3 = (int) SWIG_AsInt(obj2);
3615 if (PyErr_Occurred()) SWIG_fail;
3616 }
3617 if (obj3) {
3618 {
3619 arg4 = wxString_in_helper(obj3);
3620 if (arg4 == NULL) SWIG_fail;
3621 temp4 = True;
3622 }
3623 }
3624 {
3625 PyThreadState* __tstate = wxPyBeginAllowThreads();
3626 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3627
3628 wxPyEndAllowThreads(__tstate);
3629 if (PyErr_Occurred()) SWIG_fail;
3630 }
3631 {
3632 resultobj = wxPyMake_wxObject(result);
3633 }
3634 {
3635 if (temp4)
3636 delete arg4;
3637 }
3638 return resultobj;
3639 fail:
3640 {
3641 if (temp4)
3642 delete arg4;
3643 }
3644 return NULL;
3645 }
3646
3647
3648 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxFrame *arg1 = (wxFrame *) 0 ;
3651 wxToolBar *result;
3652 PyObject * obj0 = 0 ;
3653 char *kwnames[] = {
3654 (char *) "self", NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
3667 {
3668 resultobj = wxPyMake_wxObject(result);
3669 }
3670 return resultobj;
3671 fail:
3672 return NULL;
3673 }
3674
3675
3676 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3677 PyObject *resultobj;
3678 wxFrame *arg1 = (wxFrame *) 0 ;
3679 wxToolBar *arg2 = (wxToolBar *) 0 ;
3680 PyObject * obj0 = 0 ;
3681 PyObject * obj1 = 0 ;
3682 char *kwnames[] = {
3683 (char *) "self",(char *) "toolbar", NULL
3684 };
3685
3686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3689 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 (arg1)->SetToolBar(arg2);
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 Py_INCREF(Py_None); resultobj = Py_None;
3699 return resultobj;
3700 fail:
3701 return NULL;
3702 }
3703
3704
3705 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
3706 PyObject *resultobj;
3707 wxFrame *arg1 = (wxFrame *) 0 ;
3708 wxString *arg2 = 0 ;
3709 bool arg3 ;
3710 bool temp2 = False ;
3711 PyObject * obj0 = 0 ;
3712 PyObject * obj1 = 0 ;
3713 PyObject * obj2 = 0 ;
3714 char *kwnames[] = {
3715 (char *) "self",(char *) "text",(char *) "show", NULL
3716 };
3717
3718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3721 {
3722 arg2 = wxString_in_helper(obj1);
3723 if (arg2 == NULL) SWIG_fail;
3724 temp2 = True;
3725 }
3726 arg3 = (bool) SWIG_AsBool(obj2);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 {
3729 PyThreadState* __tstate = wxPyBeginAllowThreads();
3730 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3731
3732 wxPyEndAllowThreads(__tstate);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 Py_INCREF(Py_None); resultobj = Py_None;
3736 {
3737 if (temp2)
3738 delete arg2;
3739 }
3740 return resultobj;
3741 fail:
3742 {
3743 if (temp2)
3744 delete arg2;
3745 }
3746 return NULL;
3747 }
3748
3749
3750 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj;
3752 wxFrame *arg1 = (wxFrame *) 0 ;
3753 wxMenu *arg2 = (wxMenu *) NULL ;
3754 PyObject * obj0 = 0 ;
3755 PyObject * obj1 = 0 ;
3756 char *kwnames[] = {
3757 (char *) "self",(char *) "menu", NULL
3758 };
3759
3760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3763 if (obj1) {
3764 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3766 }
3767 {
3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
3769 (arg1)->DoMenuUpdates(arg2);
3770
3771 wxPyEndAllowThreads(__tstate);
3772 if (PyErr_Occurred()) SWIG_fail;
3773 }
3774 Py_INCREF(Py_None); resultobj = Py_None;
3775 return resultobj;
3776 fail:
3777 return NULL;
3778 }
3779
3780
3781 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
3782 PyObject *obj;
3783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3784 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3785 Py_INCREF(obj);
3786 return Py_BuildValue((char *)"");
3787 }
3788 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
3789 PyObject *resultobj;
3790 wxWindow *arg1 = (wxWindow *) 0 ;
3791 int arg2 ;
3792 wxString *arg3 = 0 ;
3793 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3794 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3795 wxSize const &arg5_defvalue = wxDefaultSize ;
3796 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3797 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3798 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3799 wxString *arg7 = (wxString *) &arg7_defvalue ;
3800 wxDialog *result;
3801 bool temp3 = False ;
3802 wxPoint temp4 ;
3803 wxSize temp5 ;
3804 bool temp7 = False ;
3805 PyObject * obj0 = 0 ;
3806 PyObject * obj1 = 0 ;
3807 PyObject * obj2 = 0 ;
3808 PyObject * obj3 = 0 ;
3809 PyObject * obj4 = 0 ;
3810 PyObject * obj5 = 0 ;
3811 PyObject * obj6 = 0 ;
3812 char *kwnames[] = {
3813 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3814 };
3815
3816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3819 arg2 = (int const) SWIG_AsInt(obj1);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 {
3822 arg3 = wxString_in_helper(obj2);
3823 if (arg3 == NULL) SWIG_fail;
3824 temp3 = True;
3825 }
3826 if (obj3) {
3827 {
3828 arg4 = &temp4;
3829 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3830 }
3831 }
3832 if (obj4) {
3833 {
3834 arg5 = &temp5;
3835 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3836 }
3837 }
3838 if (obj5) {
3839 arg6 = (long) SWIG_AsLong(obj5);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 }
3842 if (obj6) {
3843 {
3844 arg7 = wxString_in_helper(obj6);
3845 if (arg7 == NULL) SWIG_fail;
3846 temp7 = True;
3847 }
3848 }
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3852
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3857 {
3858 if (temp3)
3859 delete arg3;
3860 }
3861 {
3862 if (temp7)
3863 delete arg7;
3864 }
3865 return resultobj;
3866 fail:
3867 {
3868 if (temp3)
3869 delete arg3;
3870 }
3871 {
3872 if (temp7)
3873 delete arg7;
3874 }
3875 return NULL;
3876 }
3877
3878
3879 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
3880 PyObject *resultobj;
3881 wxDialog *result;
3882 char *kwnames[] = {
3883 NULL
3884 };
3885
3886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 result = (wxDialog *)new wxDialog();
3890
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3895 return resultobj;
3896 fail:
3897 return NULL;
3898 }
3899
3900
3901 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3902 PyObject *resultobj;
3903 wxDialog *arg1 = (wxDialog *) 0 ;
3904 wxWindow *arg2 = (wxWindow *) 0 ;
3905 int arg3 ;
3906 wxString *arg4 = 0 ;
3907 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3908 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3909 wxSize const &arg6_defvalue = wxDefaultSize ;
3910 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3911 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3912 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3913 wxString *arg8 = (wxString *) &arg8_defvalue ;
3914 bool result;
3915 bool temp4 = False ;
3916 wxPoint temp5 ;
3917 wxSize temp6 ;
3918 bool temp8 = False ;
3919 PyObject * obj0 = 0 ;
3920 PyObject * obj1 = 0 ;
3921 PyObject * obj2 = 0 ;
3922 PyObject * obj3 = 0 ;
3923 PyObject * obj4 = 0 ;
3924 PyObject * obj5 = 0 ;
3925 PyObject * obj6 = 0 ;
3926 PyObject * obj7 = 0 ;
3927 char *kwnames[] = {
3928 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3929 };
3930
3931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3936 arg3 = (int const) SWIG_AsInt(obj2);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 {
3939 arg4 = wxString_in_helper(obj3);
3940 if (arg4 == NULL) SWIG_fail;
3941 temp4 = True;
3942 }
3943 if (obj4) {
3944 {
3945 arg5 = &temp5;
3946 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3947 }
3948 }
3949 if (obj5) {
3950 {
3951 arg6 = &temp6;
3952 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3953 }
3954 }
3955 if (obj6) {
3956 arg7 = (long) SWIG_AsLong(obj6);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 if (obj7) {
3960 {
3961 arg8 = wxString_in_helper(obj7);
3962 if (arg8 == NULL) SWIG_fail;
3963 temp8 = True;
3964 }
3965 }
3966 {
3967 PyThreadState* __tstate = wxPyBeginAllowThreads();
3968 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3969
3970 wxPyEndAllowThreads(__tstate);
3971 if (PyErr_Occurred()) SWIG_fail;
3972 }
3973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3974 {
3975 if (temp4)
3976 delete arg4;
3977 }
3978 {
3979 if (temp8)
3980 delete arg8;
3981 }
3982 return resultobj;
3983 fail:
3984 {
3985 if (temp4)
3986 delete arg4;
3987 }
3988 {
3989 if (temp8)
3990 delete arg8;
3991 }
3992 return NULL;
3993 }
3994
3995
3996 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
3997 PyObject *resultobj;
3998 wxDialog *arg1 = (wxDialog *) 0 ;
3999 int arg2 ;
4000 PyObject * obj0 = 0 ;
4001 PyObject * obj1 = 0 ;
4002 char *kwnames[] = {
4003 (char *) "self",(char *) "returnCode", NULL
4004 };
4005
4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4009 arg2 = (int) SWIG_AsInt(obj1);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 (arg1)->SetReturnCode(arg2);
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 Py_INCREF(Py_None); resultobj = Py_None;
4019 return resultobj;
4020 fail:
4021 return NULL;
4022 }
4023
4024
4025 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj;
4027 wxDialog *arg1 = (wxDialog *) 0 ;
4028 int result;
4029 PyObject * obj0 = 0 ;
4030 char *kwnames[] = {
4031 (char *) "self", NULL
4032 };
4033
4034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 resultobj = SWIG_FromInt((int)result);
4045 return resultobj;
4046 fail:
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxDialog *arg1 = (wxDialog *) 0 ;
4054 wxString *arg2 = 0 ;
4055 wxSizer *result;
4056 bool temp2 = False ;
4057 PyObject * obj0 = 0 ;
4058 PyObject * obj1 = 0 ;
4059 char *kwnames[] = {
4060 (char *) "self",(char *) "message", NULL
4061 };
4062
4063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4066 {
4067 arg2 = wxString_in_helper(obj1);
4068 if (arg2 == NULL) SWIG_fail;
4069 temp2 = True;
4070 }
4071 {
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4074
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 {
4079 resultobj = wxPyMake_wxSizer(result);
4080 }
4081 {
4082 if (temp2)
4083 delete arg2;
4084 }
4085 return resultobj;
4086 fail:
4087 {
4088 if (temp2)
4089 delete arg2;
4090 }
4091 return NULL;
4092 }
4093
4094
4095 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4096 PyObject *resultobj;
4097 wxDialog *arg1 = (wxDialog *) 0 ;
4098 long arg2 ;
4099 wxSizer *result;
4100 PyObject * obj0 = 0 ;
4101 PyObject * obj1 = 0 ;
4102 char *kwnames[] = {
4103 (char *) "self",(char *) "flags", NULL
4104 };
4105
4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4109 arg2 = (long) SWIG_AsLong(obj1);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 {
4112 PyThreadState* __tstate = wxPyBeginAllowThreads();
4113 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4114
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
4118 {
4119 resultobj = wxPyMake_wxSizer(result);
4120 }
4121 return resultobj;
4122 fail:
4123 return NULL;
4124 }
4125
4126
4127 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4128 PyObject *resultobj;
4129 wxDialog *arg1 = (wxDialog *) 0 ;
4130 bool result;
4131 PyObject * obj0 = 0 ;
4132 char *kwnames[] = {
4133 (char *) "self", NULL
4134 };
4135
4136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4139 {
4140 PyThreadState* __tstate = wxPyBeginAllowThreads();
4141 result = (bool)((wxDialog const *)arg1)->IsModal();
4142
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4147 return resultobj;
4148 fail:
4149 return NULL;
4150 }
4151
4152
4153 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4154 PyObject *resultobj;
4155 wxDialog *arg1 = (wxDialog *) 0 ;
4156 int result;
4157 PyObject * obj0 = 0 ;
4158 char *kwnames[] = {
4159 (char *) "self", NULL
4160 };
4161
4162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4165 {
4166 PyThreadState* __tstate = wxPyBeginAllowThreads();
4167 result = (int)(arg1)->ShowModal();
4168
4169 wxPyEndAllowThreads(__tstate);
4170 if (PyErr_Occurred()) SWIG_fail;
4171 }
4172 resultobj = SWIG_FromInt((int)result);
4173 return resultobj;
4174 fail:
4175 return NULL;
4176 }
4177
4178
4179 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4180 PyObject *resultobj;
4181 wxDialog *arg1 = (wxDialog *) 0 ;
4182 int arg2 ;
4183 PyObject * obj0 = 0 ;
4184 PyObject * obj1 = 0 ;
4185 char *kwnames[] = {
4186 (char *) "self",(char *) "retCode", NULL
4187 };
4188
4189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4192 arg2 = (int) SWIG_AsInt(obj1);
4193 if (PyErr_Occurred()) SWIG_fail;
4194 {
4195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4196 (arg1)->EndModal(arg2);
4197
4198 wxPyEndAllowThreads(__tstate);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 }
4201 Py_INCREF(Py_None); resultobj = Py_None;
4202 return resultobj;
4203 fail:
4204 return NULL;
4205 }
4206
4207
4208 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *, PyObject *args, PyObject *kwargs) {
4209 PyObject *resultobj;
4210 wxDialog *arg1 = (wxDialog *) 0 ;
4211 bool result;
4212 PyObject * obj0 = 0 ;
4213 char *kwnames[] = {
4214 (char *) "self", NULL
4215 };
4216
4217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4220 {
4221 PyThreadState* __tstate = wxPyBeginAllowThreads();
4222 result = (bool)wxDialog_IsModalShowing(arg1);
4223
4224 wxPyEndAllowThreads(__tstate);
4225 if (PyErr_Occurred()) SWIG_fail;
4226 }
4227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4228 return resultobj;
4229 fail:
4230 return NULL;
4231 }
4232
4233
4234 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4235 PyObject *obj;
4236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4237 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4238 Py_INCREF(obj);
4239 return Py_BuildValue((char *)"");
4240 }
4241 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4242 PyObject *resultobj;
4243 wxWindow *arg1 = (wxWindow *) 0 ;
4244 int arg2 ;
4245 wxString *arg3 = 0 ;
4246 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4247 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4248 wxSize const &arg5_defvalue = wxDefaultSize ;
4249 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4250 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4251 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4252 wxString *arg7 = (wxString *) &arg7_defvalue ;
4253 wxMiniFrame *result;
4254 bool temp3 = False ;
4255 wxPoint temp4 ;
4256 wxSize temp5 ;
4257 bool temp7 = False ;
4258 PyObject * obj0 = 0 ;
4259 PyObject * obj1 = 0 ;
4260 PyObject * obj2 = 0 ;
4261 PyObject * obj3 = 0 ;
4262 PyObject * obj4 = 0 ;
4263 PyObject * obj5 = 0 ;
4264 PyObject * obj6 = 0 ;
4265 char *kwnames[] = {
4266 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4267 };
4268
4269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4272 arg2 = (int const) SWIG_AsInt(obj1);
4273 if (PyErr_Occurred()) SWIG_fail;
4274 {
4275 arg3 = wxString_in_helper(obj2);
4276 if (arg3 == NULL) SWIG_fail;
4277 temp3 = True;
4278 }
4279 if (obj3) {
4280 {
4281 arg4 = &temp4;
4282 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4283 }
4284 }
4285 if (obj4) {
4286 {
4287 arg5 = &temp5;
4288 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4289 }
4290 }
4291 if (obj5) {
4292 arg6 = (long) SWIG_AsLong(obj5);
4293 if (PyErr_Occurred()) SWIG_fail;
4294 }
4295 if (obj6) {
4296 {
4297 arg7 = wxString_in_helper(obj6);
4298 if (arg7 == NULL) SWIG_fail;
4299 temp7 = True;
4300 }
4301 }
4302 {
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
4304 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4305
4306 wxPyEndAllowThreads(__tstate);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4310 {
4311 if (temp3)
4312 delete arg3;
4313 }
4314 {
4315 if (temp7)
4316 delete arg7;
4317 }
4318 return resultobj;
4319 fail:
4320 {
4321 if (temp3)
4322 delete arg3;
4323 }
4324 {
4325 if (temp7)
4326 delete arg7;
4327 }
4328 return NULL;
4329 }
4330
4331
4332 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4333 PyObject *resultobj;
4334 wxMiniFrame *result;
4335 char *kwnames[] = {
4336 NULL
4337 };
4338
4339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4340 {
4341 PyThreadState* __tstate = wxPyBeginAllowThreads();
4342 result = (wxMiniFrame *)new wxMiniFrame();
4343
4344 wxPyEndAllowThreads(__tstate);
4345 if (PyErr_Occurred()) SWIG_fail;
4346 }
4347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4348 return resultobj;
4349 fail:
4350 return NULL;
4351 }
4352
4353
4354 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4355 PyObject *resultobj;
4356 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4357 wxWindow *arg2 = (wxWindow *) 0 ;
4358 int arg3 ;
4359 wxString *arg4 = 0 ;
4360 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4361 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4362 wxSize const &arg6_defvalue = wxDefaultSize ;
4363 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4364 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4365 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4366 wxString *arg8 = (wxString *) &arg8_defvalue ;
4367 bool result;
4368 bool temp4 = False ;
4369 wxPoint temp5 ;
4370 wxSize temp6 ;
4371 bool temp8 = False ;
4372 PyObject * obj0 = 0 ;
4373 PyObject * obj1 = 0 ;
4374 PyObject * obj2 = 0 ;
4375 PyObject * obj3 = 0 ;
4376 PyObject * obj4 = 0 ;
4377 PyObject * obj5 = 0 ;
4378 PyObject * obj6 = 0 ;
4379 PyObject * obj7 = 0 ;
4380 char *kwnames[] = {
4381 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4382 };
4383
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4389 arg3 = (int const) SWIG_AsInt(obj2);
4390 if (PyErr_Occurred()) SWIG_fail;
4391 {
4392 arg4 = wxString_in_helper(obj3);
4393 if (arg4 == NULL) SWIG_fail;
4394 temp4 = True;
4395 }
4396 if (obj4) {
4397 {
4398 arg5 = &temp5;
4399 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4400 }
4401 }
4402 if (obj5) {
4403 {
4404 arg6 = &temp6;
4405 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4406 }
4407 }
4408 if (obj6) {
4409 arg7 = (long) SWIG_AsLong(obj6);
4410 if (PyErr_Occurred()) SWIG_fail;
4411 }
4412 if (obj7) {
4413 {
4414 arg8 = wxString_in_helper(obj7);
4415 if (arg8 == NULL) SWIG_fail;
4416 temp8 = True;
4417 }
4418 }
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4422
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4427 {
4428 if (temp4)
4429 delete arg4;
4430 }
4431 {
4432 if (temp8)
4433 delete arg8;
4434 }
4435 return resultobj;
4436 fail:
4437 {
4438 if (temp4)
4439 delete arg4;
4440 }
4441 {
4442 if (temp8)
4443 delete arg8;
4444 }
4445 return NULL;
4446 }
4447
4448
4449 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
4450 PyObject *obj;
4451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4452 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4453 Py_INCREF(obj);
4454 return Py_BuildValue((char *)"");
4455 }
4456 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4457 PyObject *resultobj;
4458 wxBitmap *arg1 = 0 ;
4459 wxWindow *arg2 = (wxWindow *) 0 ;
4460 int arg3 ;
4461 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4462 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4463 wxSize const &arg5_defvalue = wxDefaultSize ;
4464 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4465 long arg6 = (long) wxNO_BORDER ;
4466 wxSplashScreenWindow *result;
4467 wxPoint temp4 ;
4468 wxSize temp5 ;
4469 PyObject * obj0 = 0 ;
4470 PyObject * obj1 = 0 ;
4471 PyObject * obj2 = 0 ;
4472 PyObject * obj3 = 0 ;
4473 PyObject * obj4 = 0 ;
4474 PyObject * obj5 = 0 ;
4475 char *kwnames[] = {
4476 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4477 };
4478
4479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4481 SWIG_POINTER_EXCEPTION | 0)) == -1)
4482 SWIG_fail;
4483 if (arg1 == NULL) {
4484 PyErr_SetString(PyExc_TypeError,"null reference");
4485 SWIG_fail;
4486 }
4487 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4489 arg3 = (int) SWIG_AsInt(obj2);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 if (obj3) {
4492 {
4493 arg4 = &temp4;
4494 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4495 }
4496 }
4497 if (obj4) {
4498 {
4499 arg5 = &temp5;
4500 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4501 }
4502 }
4503 if (obj5) {
4504 arg6 = (long) SWIG_AsLong(obj5);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 {
4508 PyThreadState* __tstate = wxPyBeginAllowThreads();
4509 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4510
4511 wxPyEndAllowThreads(__tstate);
4512 if (PyErr_Occurred()) SWIG_fail;
4513 }
4514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4515 return resultobj;
4516 fail:
4517 return NULL;
4518 }
4519
4520
4521 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4522 PyObject *resultobj;
4523 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4524 wxBitmap *arg2 = 0 ;
4525 PyObject * obj0 = 0 ;
4526 PyObject * obj1 = 0 ;
4527 char *kwnames[] = {
4528 (char *) "self",(char *) "bitmap", NULL
4529 };
4530
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4535 SWIG_POINTER_EXCEPTION | 0)) == -1)
4536 SWIG_fail;
4537 if (arg2 == NULL) {
4538 PyErr_SetString(PyExc_TypeError,"null reference");
4539 SWIG_fail;
4540 }
4541 {
4542 PyThreadState* __tstate = wxPyBeginAllowThreads();
4543 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4544
4545 wxPyEndAllowThreads(__tstate);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 }
4548 Py_INCREF(Py_None); resultobj = Py_None;
4549 return resultobj;
4550 fail:
4551 return NULL;
4552 }
4553
4554
4555 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4556 PyObject *resultobj;
4557 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4558 wxBitmap *result;
4559 PyObject * obj0 = 0 ;
4560 char *kwnames[] = {
4561 (char *) "self", NULL
4562 };
4563
4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4567 {
4568 PyThreadState* __tstate = wxPyBeginAllowThreads();
4569 {
4570 wxBitmap &_result_ref = (arg1)->GetBitmap();
4571 result = (wxBitmap *) &_result_ref;
4572 }
4573
4574 wxPyEndAllowThreads(__tstate);
4575 if (PyErr_Occurred()) SWIG_fail;
4576 }
4577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
4578 return resultobj;
4579 fail:
4580 return NULL;
4581 }
4582
4583
4584 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
4585 PyObject *obj;
4586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4587 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4588 Py_INCREF(obj);
4589 return Py_BuildValue((char *)"");
4590 }
4591 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4592 PyObject *resultobj;
4593 wxBitmap *arg1 = 0 ;
4594 long arg2 ;
4595 int arg3 ;
4596 wxWindow *arg4 = (wxWindow *) 0 ;
4597 int arg5 ;
4598 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4599 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4600 wxSize const &arg7_defvalue = wxDefaultSize ;
4601 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4602 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4603 wxSplashScreen *result;
4604 wxPoint temp6 ;
4605 wxSize temp7 ;
4606 PyObject * obj0 = 0 ;
4607 PyObject * obj1 = 0 ;
4608 PyObject * obj2 = 0 ;
4609 PyObject * obj3 = 0 ;
4610 PyObject * obj4 = 0 ;
4611 PyObject * obj5 = 0 ;
4612 PyObject * obj6 = 0 ;
4613 PyObject * obj7 = 0 ;
4614 char *kwnames[] = {
4615 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4616 };
4617
4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4620 SWIG_POINTER_EXCEPTION | 0)) == -1)
4621 SWIG_fail;
4622 if (arg1 == NULL) {
4623 PyErr_SetString(PyExc_TypeError,"null reference");
4624 SWIG_fail;
4625 }
4626 arg2 = (long) SWIG_AsLong(obj1);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 arg3 = (int) SWIG_AsInt(obj2);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4632 arg5 = (int) SWIG_AsInt(obj4);
4633 if (PyErr_Occurred()) SWIG_fail;
4634 if (obj5) {
4635 {
4636 arg6 = &temp6;
4637 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4638 }
4639 }
4640 if (obj6) {
4641 {
4642 arg7 = &temp7;
4643 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4644 }
4645 }
4646 if (obj7) {
4647 arg8 = (long) SWIG_AsLong(obj7);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4658 return resultobj;
4659 fail:
4660 return NULL;
4661 }
4662
4663
4664 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4665 PyObject *resultobj;
4666 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4667 long result;
4668 PyObject * obj0 = 0 ;
4669 char *kwnames[] = {
4670 (char *) "self", NULL
4671 };
4672
4673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4676 {
4677 PyThreadState* __tstate = wxPyBeginAllowThreads();
4678 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4679
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 resultobj = SWIG_FromLong((long)result);
4684 return resultobj;
4685 fail:
4686 return NULL;
4687 }
4688
4689
4690 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4691 PyObject *resultobj;
4692 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4693 wxSplashScreenWindow *result;
4694 PyObject * obj0 = 0 ;
4695 char *kwnames[] = {
4696 (char *) "self", NULL
4697 };
4698
4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4702 {
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4705
4706 wxPyEndAllowThreads(__tstate);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4710 return resultobj;
4711 fail:
4712 return NULL;
4713 }
4714
4715
4716 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
4717 PyObject *resultobj;
4718 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4719 int result;
4720 PyObject * obj0 = 0 ;
4721 char *kwnames[] = {
4722 (char *) "self", NULL
4723 };
4724
4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4731
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 resultobj = SWIG_FromInt((int)result);
4736 return resultobj;
4737 fail:
4738 return NULL;
4739 }
4740
4741
4742 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
4743 PyObject *obj;
4744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4745 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4746 Py_INCREF(obj);
4747 return Py_BuildValue((char *)"");
4748 }
4749 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
4750 PyObject *resultobj;
4751 wxWindow *arg1 = (wxWindow *) 0 ;
4752 int arg2 = (int) -1 ;
4753 long arg3 = (long) wxST_SIZEGRIP ;
4754 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4755 wxString *arg4 = (wxString *) &arg4_defvalue ;
4756 wxStatusBar *result;
4757 bool temp4 = False ;
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4760 PyObject * obj2 = 0 ;
4761 PyObject * obj3 = 0 ;
4762 char *kwnames[] = {
4763 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4764 };
4765
4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4769 if (obj1) {
4770 arg2 = (int) SWIG_AsInt(obj1);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 if (obj2) {
4774 arg3 = (long) SWIG_AsLong(obj2);
4775 if (PyErr_Occurred()) SWIG_fail;
4776 }
4777 if (obj3) {
4778 {
4779 arg4 = wxString_in_helper(obj3);
4780 if (arg4 == NULL) SWIG_fail;
4781 temp4 = True;
4782 }
4783 }
4784 {
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4787
4788 wxPyEndAllowThreads(__tstate);
4789 if (PyErr_Occurred()) SWIG_fail;
4790 }
4791 {
4792 resultobj = wxPyMake_wxObject(result);
4793 }
4794 {
4795 if (temp4)
4796 delete arg4;
4797 }
4798 return resultobj;
4799 fail:
4800 {
4801 if (temp4)
4802 delete arg4;
4803 }
4804 return NULL;
4805 }
4806
4807
4808 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
4809 PyObject *resultobj;
4810 wxStatusBar *result;
4811 char *kwnames[] = {
4812 NULL
4813 };
4814
4815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 result = (wxStatusBar *)new wxStatusBar();
4819
4820 wxPyEndAllowThreads(__tstate);
4821 if (PyErr_Occurred()) SWIG_fail;
4822 }
4823 {
4824 resultobj = wxPyMake_wxObject(result);
4825 }
4826 return resultobj;
4827 fail:
4828 return NULL;
4829 }
4830
4831
4832 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4833 PyObject *resultobj;
4834 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4835 wxWindow *arg2 = (wxWindow *) 0 ;
4836 int arg3 ;
4837 long arg4 = (long) wxST_SIZEGRIP ;
4838 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4839 wxString *arg5 = (wxString *) &arg5_defvalue ;
4840 bool result;
4841 bool temp5 = False ;
4842 PyObject * obj0 = 0 ;
4843 PyObject * obj1 = 0 ;
4844 PyObject * obj2 = 0 ;
4845 PyObject * obj3 = 0 ;
4846 PyObject * obj4 = 0 ;
4847 char *kwnames[] = {
4848 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4849 };
4850
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4856 arg3 = (int) SWIG_AsInt(obj2);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 if (obj3) {
4859 arg4 = (long) SWIG_AsLong(obj3);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4862 if (obj4) {
4863 {
4864 arg5 = wxString_in_helper(obj4);
4865 if (arg5 == NULL) SWIG_fail;
4866 temp5 = True;
4867 }
4868 }
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4877 {
4878 if (temp5)
4879 delete arg5;
4880 }
4881 return resultobj;
4882 fail:
4883 {
4884 if (temp5)
4885 delete arg5;
4886 }
4887 return NULL;
4888 }
4889
4890
4891 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
4892 PyObject *resultobj;
4893 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4894 int arg2 = (int) 1 ;
4895 PyObject * obj0 = 0 ;
4896 PyObject * obj1 = 0 ;
4897 char *kwnames[] = {
4898 (char *) "self",(char *) "number", NULL
4899 };
4900
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4904 if (obj1) {
4905 arg2 = (int) SWIG_AsInt(obj1);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 (arg1)->SetFieldsCount(arg2);
4911
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 Py_INCREF(Py_None); resultobj = Py_None;
4916 return resultobj;
4917 fail:
4918 return NULL;
4919 }
4920
4921
4922 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
4923 PyObject *resultobj;
4924 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4925 int result;
4926 PyObject * obj0 = 0 ;
4927 char *kwnames[] = {
4928 (char *) "self", NULL
4929 };
4930
4931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4934 {
4935 PyThreadState* __tstate = wxPyBeginAllowThreads();
4936 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4937
4938 wxPyEndAllowThreads(__tstate);
4939 if (PyErr_Occurred()) SWIG_fail;
4940 }
4941 resultobj = SWIG_FromInt((int)result);
4942 return resultobj;
4943 fail:
4944 return NULL;
4945 }
4946
4947
4948 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
4949 PyObject *resultobj;
4950 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4951 wxString *arg2 = 0 ;
4952 int arg3 = (int) 0 ;
4953 bool temp2 = False ;
4954 PyObject * obj0 = 0 ;
4955 PyObject * obj1 = 0 ;
4956 PyObject * obj2 = 0 ;
4957 char *kwnames[] = {
4958 (char *) "self",(char *) "text",(char *) "number", NULL
4959 };
4960
4961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4964 {
4965 arg2 = wxString_in_helper(obj1);
4966 if (arg2 == NULL) SWIG_fail;
4967 temp2 = True;
4968 }
4969 if (obj2) {
4970 arg3 = (int) SWIG_AsInt(obj2);
4971 if (PyErr_Occurred()) SWIG_fail;
4972 }
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4976
4977 wxPyEndAllowThreads(__tstate);
4978 if (PyErr_Occurred()) SWIG_fail;
4979 }
4980 Py_INCREF(Py_None); resultobj = Py_None;
4981 {
4982 if (temp2)
4983 delete arg2;
4984 }
4985 return resultobj;
4986 fail:
4987 {
4988 if (temp2)
4989 delete arg2;
4990 }
4991 return NULL;
4992 }
4993
4994
4995 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
4996 PyObject *resultobj;
4997 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4998 int arg2 = (int) 0 ;
4999 wxString result;
5000 PyObject * obj0 = 0 ;
5001 PyObject * obj1 = 0 ;
5002 char *kwnames[] = {
5003 (char *) "self",(char *) "number", NULL
5004 };
5005
5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5009 if (obj1) {
5010 arg2 = (int) SWIG_AsInt(obj1);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 {
5014 PyThreadState* __tstate = wxPyBeginAllowThreads();
5015 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5016
5017 wxPyEndAllowThreads(__tstate);
5018 if (PyErr_Occurred()) SWIG_fail;
5019 }
5020 {
5021 #if wxUSE_UNICODE
5022 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5023 #else
5024 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5025 #endif
5026 }
5027 return resultobj;
5028 fail:
5029 return NULL;
5030 }
5031
5032
5033 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5034 PyObject *resultobj;
5035 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5036 wxString *arg2 = 0 ;
5037 int arg3 = (int) 0 ;
5038 bool temp2 = False ;
5039 PyObject * obj0 = 0 ;
5040 PyObject * obj1 = 0 ;
5041 PyObject * obj2 = 0 ;
5042 char *kwnames[] = {
5043 (char *) "self",(char *) "text",(char *) "number", NULL
5044 };
5045
5046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5049 {
5050 arg2 = wxString_in_helper(obj1);
5051 if (arg2 == NULL) SWIG_fail;
5052 temp2 = True;
5053 }
5054 if (obj2) {
5055 arg3 = (int) SWIG_AsInt(obj2);
5056 if (PyErr_Occurred()) SWIG_fail;
5057 }
5058 {
5059 PyThreadState* __tstate = wxPyBeginAllowThreads();
5060 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5061
5062 wxPyEndAllowThreads(__tstate);
5063 if (PyErr_Occurred()) SWIG_fail;
5064 }
5065 Py_INCREF(Py_None); resultobj = Py_None;
5066 {
5067 if (temp2)
5068 delete arg2;
5069 }
5070 return resultobj;
5071 fail:
5072 {
5073 if (temp2)
5074 delete arg2;
5075 }
5076 return NULL;
5077 }
5078
5079
5080 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj;
5082 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5083 int arg2 = (int) 0 ;
5084 PyObject * obj0 = 0 ;
5085 PyObject * obj1 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "self",(char *) "number", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5093 if (obj1) {
5094 arg2 = (int) SWIG_AsInt(obj1);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 (arg1)->PopStatusText(arg2);
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 Py_INCREF(Py_None); resultobj = Py_None;
5105 return resultobj;
5106 fail:
5107 return NULL;
5108 }
5109
5110
5111 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5112 PyObject *resultobj;
5113 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5114 int arg2 ;
5115 int *arg3 = (int *) 0 ;
5116 PyObject * obj0 = 0 ;
5117 PyObject * obj1 = 0 ;
5118 char *kwnames[] = {
5119 (char *) "self",(char *) "widths", NULL
5120 };
5121
5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5125 {
5126 arg2 = PyList_Size(obj1);
5127 arg3 = int_LIST_helper(obj1);
5128 if (arg3 == NULL) SWIG_fail;
5129 }
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5133
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 Py_INCREF(Py_None); resultobj = Py_None;
5138 {
5139 if (arg3) delete [] arg3;
5140 }
5141 return resultobj;
5142 fail:
5143 {
5144 if (arg3) delete [] arg3;
5145 }
5146 return NULL;
5147 }
5148
5149
5150 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5151 PyObject *resultobj;
5152 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5153 int arg2 ;
5154 wxRect result;
5155 PyObject * obj0 = 0 ;
5156 PyObject * obj1 = 0 ;
5157 char *kwnames[] = {
5158 (char *) "self",(char *) "i", NULL
5159 };
5160
5161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5164 arg2 = (int) SWIG_AsInt(obj1);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 {
5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
5168 result = wxStatusBar_GetFieldRect(arg1,arg2);
5169
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 {
5174 wxRect * resultptr;
5175 resultptr = new wxRect((wxRect &) result);
5176 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5177 }
5178 return resultobj;
5179 fail:
5180 return NULL;
5181 }
5182
5183
5184 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5185 PyObject *resultobj;
5186 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5187 int arg2 ;
5188 PyObject * obj0 = 0 ;
5189 PyObject * obj1 = 0 ;
5190 char *kwnames[] = {
5191 (char *) "self",(char *) "height", NULL
5192 };
5193
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5197 arg2 = (int) SWIG_AsInt(obj1);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 (arg1)->SetMinHeight(arg2);
5202
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 Py_INCREF(Py_None); resultobj = Py_None;
5207 return resultobj;
5208 fail:
5209 return NULL;
5210 }
5211
5212
5213 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5214 PyObject *resultobj;
5215 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5216 int result;
5217 PyObject * obj0 = 0 ;
5218 char *kwnames[] = {
5219 (char *) "self", NULL
5220 };
5221
5222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5225 {
5226 PyThreadState* __tstate = wxPyBeginAllowThreads();
5227 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5228
5229 wxPyEndAllowThreads(__tstate);
5230 if (PyErr_Occurred()) SWIG_fail;
5231 }
5232 resultobj = SWIG_FromInt((int)result);
5233 return resultobj;
5234 fail:
5235 return NULL;
5236 }
5237
5238
5239 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5240 PyObject *resultobj;
5241 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5242 int result;
5243 PyObject * obj0 = 0 ;
5244 char *kwnames[] = {
5245 (char *) "self", NULL
5246 };
5247
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 resultobj = SWIG_FromInt((int)result);
5259 return resultobj;
5260 fail:
5261 return NULL;
5262 }
5263
5264
5265 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5266 PyObject *obj;
5267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5268 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5269 Py_INCREF(obj);
5270 return Py_BuildValue((char *)"");
5271 }
5272 static int _wrap_SplitterNameStr_set(PyObject *) {
5273 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5274 return 1;
5275 }
5276
5277
5278 static PyObject *_wrap_SplitterNameStr_get() {
5279 PyObject *pyobj;
5280
5281 {
5282 #if wxUSE_UNICODE
5283 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5284 #else
5285 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5286 #endif
5287 }
5288 return pyobj;
5289 }
5290
5291
5292 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5293 PyObject *resultobj;
5294 wxWindow *arg1 = (wxWindow *) 0 ;
5295 int arg2 ;
5296 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5297 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5298 wxSize const &arg4_defvalue = wxDefaultSize ;
5299 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5300 long arg5 = (long) wxSP_3D ;
5301 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5302 wxString *arg6 = (wxString *) &arg6_defvalue ;
5303 wxSplitterWindow *result;
5304 wxPoint temp3 ;
5305 wxSize temp4 ;
5306 bool temp6 = False ;
5307 PyObject * obj0 = 0 ;
5308 PyObject * obj1 = 0 ;
5309 PyObject * obj2 = 0 ;
5310 PyObject * obj3 = 0 ;
5311 PyObject * obj4 = 0 ;
5312 PyObject * obj5 = 0 ;
5313 char *kwnames[] = {
5314 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5315 };
5316
5317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5320 arg2 = (int) SWIG_AsInt(obj1);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 if (obj2) {
5323 {
5324 arg3 = &temp3;
5325 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5326 }
5327 }
5328 if (obj3) {
5329 {
5330 arg4 = &temp4;
5331 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5332 }
5333 }
5334 if (obj4) {
5335 arg5 = (long) SWIG_AsLong(obj4);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
5338 if (obj5) {
5339 {
5340 arg6 = wxString_in_helper(obj5);
5341 if (arg6 == NULL) SWIG_fail;
5342 temp6 = True;
5343 }
5344 }
5345 {
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5348
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5353 {
5354 if (temp6)
5355 delete arg6;
5356 }
5357 return resultobj;
5358 fail:
5359 {
5360 if (temp6)
5361 delete arg6;
5362 }
5363 return NULL;
5364 }
5365
5366
5367 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5368 PyObject *resultobj;
5369 wxSplitterWindow *result;
5370 char *kwnames[] = {
5371 NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 result = (wxSplitterWindow *)new wxSplitterWindow();
5378
5379 wxPyEndAllowThreads(__tstate);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
5382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5383 return resultobj;
5384 fail:
5385 return NULL;
5386 }
5387
5388
5389 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5390 PyObject *resultobj;
5391 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5392 wxWindow *arg2 = (wxWindow *) 0 ;
5393 int arg3 ;
5394 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5395 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5396 wxSize const &arg5_defvalue = wxDefaultSize ;
5397 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5398 long arg6 = (long) wxSP_3D ;
5399 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5400 wxString *arg7 = (wxString *) &arg7_defvalue ;
5401 bool result;
5402 wxPoint temp4 ;
5403 wxSize temp5 ;
5404 bool temp7 = False ;
5405 PyObject * obj0 = 0 ;
5406 PyObject * obj1 = 0 ;
5407 PyObject * obj2 = 0 ;
5408 PyObject * obj3 = 0 ;
5409 PyObject * obj4 = 0 ;
5410 PyObject * obj5 = 0 ;
5411 PyObject * obj6 = 0 ;
5412 char *kwnames[] = {
5413 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5414 };
5415
5416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5421 arg3 = (int) SWIG_AsInt(obj2);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 if (obj3) {
5424 {
5425 arg4 = &temp4;
5426 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5427 }
5428 }
5429 if (obj4) {
5430 {
5431 arg5 = &temp5;
5432 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5433 }
5434 }
5435 if (obj5) {
5436 arg6 = (long) SWIG_AsLong(obj5);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 if (obj6) {
5440 {
5441 arg7 = wxString_in_helper(obj6);
5442 if (arg7 == NULL) SWIG_fail;
5443 temp7 = True;
5444 }
5445 }
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5454 {
5455 if (temp7)
5456 delete arg7;
5457 }
5458 return resultobj;
5459 fail:
5460 {
5461 if (temp7)
5462 delete arg7;
5463 }
5464 return NULL;
5465 }
5466
5467
5468 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
5469 PyObject *resultobj;
5470 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5471 wxWindow *result;
5472 PyObject * obj0 = 0 ;
5473 char *kwnames[] = {
5474 (char *) "self", NULL
5475 };
5476
5477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5480 {
5481 PyThreadState* __tstate = wxPyBeginAllowThreads();
5482 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5483
5484 wxPyEndAllowThreads(__tstate);
5485 if (PyErr_Occurred()) SWIG_fail;
5486 }
5487 {
5488 resultobj = wxPyMake_wxObject(result);
5489 }
5490 return resultobj;
5491 fail:
5492 return NULL;
5493 }
5494
5495
5496 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5499 wxWindow *result;
5500 PyObject * obj0 = 0 ;
5501 char *kwnames[] = {
5502 (char *) "self", NULL
5503 };
5504
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5508 {
5509 PyThreadState* __tstate = wxPyBeginAllowThreads();
5510 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5511
5512 wxPyEndAllowThreads(__tstate);
5513 if (PyErr_Occurred()) SWIG_fail;
5514 }
5515 {
5516 resultobj = wxPyMake_wxObject(result);
5517 }
5518 return resultobj;
5519 fail:
5520 return NULL;
5521 }
5522
5523
5524 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
5525 PyObject *resultobj;
5526 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5527 int arg2 ;
5528 PyObject * obj0 = 0 ;
5529 PyObject * obj1 = 0 ;
5530 char *kwnames[] = {
5531 (char *) "self",(char *) "mode", NULL
5532 };
5533
5534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5537 arg2 = (int) SWIG_AsInt(obj1);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 {
5540 PyThreadState* __tstate = wxPyBeginAllowThreads();
5541 (arg1)->SetSplitMode(arg2);
5542
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 Py_INCREF(Py_None); resultobj = Py_None;
5547 return resultobj;
5548 fail:
5549 return NULL;
5550 }
5551
5552
5553 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
5554 PyObject *resultobj;
5555 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5556 int result;
5557 PyObject * obj0 = 0 ;
5558 char *kwnames[] = {
5559 (char *) "self", NULL
5560 };
5561
5562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 resultobj = SWIG_FromInt((int)result);
5573 return resultobj;
5574 fail:
5575 return NULL;
5576 }
5577
5578
5579 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
5580 PyObject *resultobj;
5581 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5582 wxWindow *arg2 = (wxWindow *) 0 ;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self",(char *) "window", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5594 {
5595 PyThreadState* __tstate = wxPyBeginAllowThreads();
5596 (arg1)->Initialize(arg2);
5597
5598 wxPyEndAllowThreads(__tstate);
5599 if (PyErr_Occurred()) SWIG_fail;
5600 }
5601 Py_INCREF(Py_None); resultobj = Py_None;
5602 return resultobj;
5603 fail:
5604 return NULL;
5605 }
5606
5607
5608 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
5609 PyObject *resultobj;
5610 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5611 wxWindow *arg2 = (wxWindow *) 0 ;
5612 wxWindow *arg3 = (wxWindow *) 0 ;
5613 int arg4 = (int) 0 ;
5614 bool result;
5615 PyObject * obj0 = 0 ;
5616 PyObject * obj1 = 0 ;
5617 PyObject * obj2 = 0 ;
5618 PyObject * obj3 = 0 ;
5619 char *kwnames[] = {
5620 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5621 };
5622
5623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5628 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5630 if (obj3) {
5631 arg4 = (int) SWIG_AsInt(obj3);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 {
5635 PyThreadState* __tstate = wxPyBeginAllowThreads();
5636 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5637
5638 wxPyEndAllowThreads(__tstate);
5639 if (PyErr_Occurred()) SWIG_fail;
5640 }
5641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5642 return resultobj;
5643 fail:
5644 return NULL;
5645 }
5646
5647
5648 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
5649 PyObject *resultobj;
5650 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5651 wxWindow *arg2 = (wxWindow *) 0 ;
5652 wxWindow *arg3 = (wxWindow *) 0 ;
5653 int arg4 = (int) 0 ;
5654 bool result;
5655 PyObject * obj0 = 0 ;
5656 PyObject * obj1 = 0 ;
5657 PyObject * obj2 = 0 ;
5658 PyObject * obj3 = 0 ;
5659 char *kwnames[] = {
5660 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5661 };
5662
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5668 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5670 if (obj3) {
5671 arg4 = (int) SWIG_AsInt(obj3);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 {
5675 PyThreadState* __tstate = wxPyBeginAllowThreads();
5676 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5677
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 }
5681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5682 return resultobj;
5683 fail:
5684 return NULL;
5685 }
5686
5687
5688 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
5689 PyObject *resultobj;
5690 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5691 wxWindow *arg2 = (wxWindow *) NULL ;
5692 bool result;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 char *kwnames[] = {
5696 (char *) "self",(char *) "toRemove", NULL
5697 };
5698
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5702 if (obj1) {
5703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5705 }
5706 {
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 result = (bool)(arg1)->Unsplit(arg2);
5709
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5714 return resultobj;
5715 fail:
5716 return NULL;
5717 }
5718
5719
5720 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5721 PyObject *resultobj;
5722 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5723 wxWindow *arg2 = (wxWindow *) 0 ;
5724 wxWindow *arg3 = (wxWindow *) 0 ;
5725 bool result;
5726 PyObject * obj0 = 0 ;
5727 PyObject * obj1 = 0 ;
5728 PyObject * obj2 = 0 ;
5729 char *kwnames[] = {
5730 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5731 };
5732
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5738 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5740 {
5741 PyThreadState* __tstate = wxPyBeginAllowThreads();
5742 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5743
5744 wxPyEndAllowThreads(__tstate);
5745 if (PyErr_Occurred()) SWIG_fail;
5746 }
5747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5748 return resultobj;
5749 fail:
5750 return NULL;
5751 }
5752
5753
5754 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
5755 PyObject *resultobj;
5756 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5757 bool result;
5758 PyObject * obj0 = 0 ;
5759 char *kwnames[] = {
5760 (char *) "self", NULL
5761 };
5762
5763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5766 {
5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
5768 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5769
5770 wxPyEndAllowThreads(__tstate);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
5773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5774 return resultobj;
5775 fail:
5776 return NULL;
5777 }
5778
5779
5780 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
5781 PyObject *resultobj;
5782 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5783 int arg2 ;
5784 PyObject * obj0 = 0 ;
5785 PyObject * obj1 = 0 ;
5786 char *kwnames[] = {
5787 (char *) "self",(char *) "width", NULL
5788 };
5789
5790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5793 arg2 = (int) SWIG_AsInt(obj1);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 (arg1)->SetSashSize(arg2);
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
5802 Py_INCREF(Py_None); resultobj = Py_None;
5803 return resultobj;
5804 fail:
5805 return NULL;
5806 }
5807
5808
5809 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
5810 PyObject *resultobj;
5811 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5812 int arg2 ;
5813 PyObject * obj0 = 0 ;
5814 PyObject * obj1 = 0 ;
5815 char *kwnames[] = {
5816 (char *) "self",(char *) "width", NULL
5817 };
5818
5819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5822 arg2 = (int) SWIG_AsInt(obj1);
5823 if (PyErr_Occurred()) SWIG_fail;
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 (arg1)->SetBorderSize(arg2);
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 Py_INCREF(Py_None); resultobj = Py_None;
5832 return resultobj;
5833 fail:
5834 return NULL;
5835 }
5836
5837
5838 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5841 int result;
5842 PyObject * obj0 = 0 ;
5843 char *kwnames[] = {
5844 (char *) "self", NULL
5845 };
5846
5847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5850 {
5851 PyThreadState* __tstate = wxPyBeginAllowThreads();
5852 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5853
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 resultobj = SWIG_FromInt((int)result);
5858 return resultobj;
5859 fail:
5860 return NULL;
5861 }
5862
5863
5864 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
5865 PyObject *resultobj;
5866 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5867 int result;
5868 PyObject * obj0 = 0 ;
5869 char *kwnames[] = {
5870 (char *) "self", NULL
5871 };
5872
5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5879
5880 wxPyEndAllowThreads(__tstate);
5881 if (PyErr_Occurred()) SWIG_fail;
5882 }
5883 resultobj = SWIG_FromInt((int)result);
5884 return resultobj;
5885 fail:
5886 return NULL;
5887 }
5888
5889
5890 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj;
5892 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5893 int arg2 ;
5894 bool arg3 = (bool) True ;
5895 PyObject * obj0 = 0 ;
5896 PyObject * obj1 = 0 ;
5897 PyObject * obj2 = 0 ;
5898 char *kwnames[] = {
5899 (char *) "self",(char *) "position",(char *) "redraw", NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
5903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5905 arg2 = (int) SWIG_AsInt(obj1);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 if (obj2) {
5908 arg3 = (bool) SWIG_AsBool(obj2);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 {
5912 PyThreadState* __tstate = wxPyBeginAllowThreads();
5913 (arg1)->SetSashPosition(arg2,arg3);
5914
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
5918 Py_INCREF(Py_None); resultobj = Py_None;
5919 return resultobj;
5920 fail:
5921 return NULL;
5922 }
5923
5924
5925 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj;
5927 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5928 int result;
5929 PyObject * obj0 = 0 ;
5930 char *kwnames[] = {
5931 (char *) "self", NULL
5932 };
5933
5934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5937 {
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5939 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5940
5941 wxPyEndAllowThreads(__tstate);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 }
5944 resultobj = SWIG_FromInt((int)result);
5945 return resultobj;
5946 fail:
5947 return NULL;
5948 }
5949
5950
5951 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
5952 PyObject *resultobj;
5953 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5954 int arg2 ;
5955 PyObject * obj0 = 0 ;
5956 PyObject * obj1 = 0 ;
5957 char *kwnames[] = {
5958 (char *) "self",(char *) "min", NULL
5959 };
5960
5961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
5962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5964 arg2 = (int) SWIG_AsInt(obj1);
5965 if (PyErr_Occurred()) SWIG_fail;
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 (arg1)->SetMinimumPaneSize(arg2);
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 Py_INCREF(Py_None); resultobj = Py_None;
5974 return resultobj;
5975 fail:
5976 return NULL;
5977 }
5978
5979
5980 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj;
5982 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5983 int result;
5984 PyObject * obj0 = 0 ;
5985 char *kwnames[] = {
5986 (char *) "self", NULL
5987 };
5988
5989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5992 {
5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
5994 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5995
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 resultobj = SWIG_FromInt((int)result);
6000 return resultobj;
6001 fail:
6002 return NULL;
6003 }
6004
6005
6006 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6007 PyObject *resultobj;
6008 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6009 int arg2 ;
6010 int arg3 ;
6011 int arg4 = (int) 5 ;
6012 bool result;
6013 PyObject * obj0 = 0 ;
6014 PyObject * obj1 = 0 ;
6015 PyObject * obj2 = 0 ;
6016 PyObject * obj3 = 0 ;
6017 char *kwnames[] = {
6018 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6019 };
6020
6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6024 arg2 = (int) SWIG_AsInt(obj1);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 arg3 = (int) SWIG_AsInt(obj2);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 if (obj3) {
6029 arg4 = (int) SWIG_AsInt(obj3);
6030 if (PyErr_Occurred()) SWIG_fail;
6031 }
6032 {
6033 PyThreadState* __tstate = wxPyBeginAllowThreads();
6034 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6035
6036 wxPyEndAllowThreads(__tstate);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 }
6039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6040 return resultobj;
6041 fail:
6042 return NULL;
6043 }
6044
6045
6046 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6047 PyObject *resultobj;
6048 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6049 PyObject * obj0 = 0 ;
6050 char *kwnames[] = {
6051 (char *) "self", NULL
6052 };
6053
6054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6057 {
6058 PyThreadState* __tstate = wxPyBeginAllowThreads();
6059 (arg1)->SizeWindows();
6060
6061 wxPyEndAllowThreads(__tstate);
6062 if (PyErr_Occurred()) SWIG_fail;
6063 }
6064 Py_INCREF(Py_None); resultobj = Py_None;
6065 return resultobj;
6066 fail:
6067 return NULL;
6068 }
6069
6070
6071 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6072 PyObject *resultobj;
6073 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6074 bool arg2 ;
6075 PyObject * obj0 = 0 ;
6076 PyObject * obj1 = 0 ;
6077 char *kwnames[] = {
6078 (char *) "self",(char *) "needUpdating", NULL
6079 };
6080
6081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6084 arg2 = (bool) SWIG_AsBool(obj1);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 (arg1)->SetNeedUpdating(arg2);
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 Py_INCREF(Py_None); resultobj = Py_None;
6094 return resultobj;
6095 fail:
6096 return NULL;
6097 }
6098
6099
6100 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6101 PyObject *resultobj;
6102 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6103 bool result;
6104 PyObject * obj0 = 0 ;
6105 char *kwnames[] = {
6106 (char *) "self", NULL
6107 };
6108
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6120 return resultobj;
6121 fail:
6122 return NULL;
6123 }
6124
6125
6126 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6127 PyObject *obj;
6128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6129 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6130 Py_INCREF(obj);
6131 return Py_BuildValue((char *)"");
6132 }
6133 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6134 PyObject *resultobj;
6135 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6136 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6137 wxSplitterEvent *result;
6138 PyObject * obj0 = 0 ;
6139 PyObject * obj1 = 0 ;
6140 char *kwnames[] = {
6141 (char *) "type",(char *) "splitter", NULL
6142 };
6143
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6145 if (obj0) {
6146 arg1 = (wxEventType) SWIG_AsInt(obj0);
6147 if (PyErr_Occurred()) SWIG_fail;
6148 }
6149 if (obj1) {
6150 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6152 }
6153 {
6154 PyThreadState* __tstate = wxPyBeginAllowThreads();
6155 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6156
6157 wxPyEndAllowThreads(__tstate);
6158 if (PyErr_Occurred()) SWIG_fail;
6159 }
6160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6161 return resultobj;
6162 fail:
6163 return NULL;
6164 }
6165
6166
6167 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6168 PyObject *resultobj;
6169 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6170 int arg2 ;
6171 PyObject * obj0 = 0 ;
6172 PyObject * obj1 = 0 ;
6173 char *kwnames[] = {
6174 (char *) "self",(char *) "pos", NULL
6175 };
6176
6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6180 arg2 = (int) SWIG_AsInt(obj1);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 {
6183 PyThreadState* __tstate = wxPyBeginAllowThreads();
6184 (arg1)->SetSashPosition(arg2);
6185
6186 wxPyEndAllowThreads(__tstate);
6187 if (PyErr_Occurred()) SWIG_fail;
6188 }
6189 Py_INCREF(Py_None); resultobj = Py_None;
6190 return resultobj;
6191 fail:
6192 return NULL;
6193 }
6194
6195
6196 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6197 PyObject *resultobj;
6198 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6199 int result;
6200 PyObject * obj0 = 0 ;
6201 char *kwnames[] = {
6202 (char *) "self", NULL
6203 };
6204
6205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6208 {
6209 PyThreadState* __tstate = wxPyBeginAllowThreads();
6210 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6211
6212 wxPyEndAllowThreads(__tstate);
6213 if (PyErr_Occurred()) SWIG_fail;
6214 }
6215 resultobj = SWIG_FromInt((int)result);
6216 return resultobj;
6217 fail:
6218 return NULL;
6219 }
6220
6221
6222 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6223 PyObject *resultobj;
6224 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6225 wxWindow *result;
6226 PyObject * obj0 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "self", NULL
6229 };
6230
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6234 {
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6237
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 {
6242 resultobj = wxPyMake_wxObject(result);
6243 }
6244 return resultobj;
6245 fail:
6246 return NULL;
6247 }
6248
6249
6250 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6251 PyObject *resultobj;
6252 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6253 int result;
6254 PyObject * obj0 = 0 ;
6255 char *kwnames[] = {
6256 (char *) "self", NULL
6257 };
6258
6259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6262 {
6263 PyThreadState* __tstate = wxPyBeginAllowThreads();
6264 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6265
6266 wxPyEndAllowThreads(__tstate);
6267 if (PyErr_Occurred()) SWIG_fail;
6268 }
6269 resultobj = SWIG_FromInt((int)result);
6270 return resultobj;
6271 fail:
6272 return NULL;
6273 }
6274
6275
6276 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6277 PyObject *resultobj;
6278 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6279 int result;
6280 PyObject * obj0 = 0 ;
6281 char *kwnames[] = {
6282 (char *) "self", NULL
6283 };
6284
6285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6288 {
6289 PyThreadState* __tstate = wxPyBeginAllowThreads();
6290 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6291
6292 wxPyEndAllowThreads(__tstate);
6293 if (PyErr_Occurred()) SWIG_fail;
6294 }
6295 resultobj = SWIG_FromInt((int)result);
6296 return resultobj;
6297 fail:
6298 return NULL;
6299 }
6300
6301
6302 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
6303 PyObject *obj;
6304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6305 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6306 Py_INCREF(obj);
6307 return Py_BuildValue((char *)"");
6308 }
6309 static int _wrap_SashNameStr_set(PyObject *) {
6310 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6311 return 1;
6312 }
6313
6314
6315 static PyObject *_wrap_SashNameStr_get() {
6316 PyObject *pyobj;
6317
6318 {
6319 #if wxUSE_UNICODE
6320 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6321 #else
6322 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6323 #endif
6324 }
6325 return pyobj;
6326 }
6327
6328
6329 static int _wrap_SashLayoutNameStr_set(PyObject *) {
6330 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6331 return 1;
6332 }
6333
6334
6335 static PyObject *_wrap_SashLayoutNameStr_get() {
6336 PyObject *pyobj;
6337
6338 {
6339 #if wxUSE_UNICODE
6340 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6341 #else
6342 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6343 #endif
6344 }
6345 return pyobj;
6346 }
6347
6348
6349 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6350 PyObject *resultobj;
6351 wxWindow *arg1 = (wxWindow *) 0 ;
6352 int arg2 ;
6353 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6354 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6355 wxSize const &arg4_defvalue = wxDefaultSize ;
6356 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6357 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6358 wxString const &arg6_defvalue = wxPySashNameStr ;
6359 wxString *arg6 = (wxString *) &arg6_defvalue ;
6360 wxSashWindow *result;
6361 wxPoint temp3 ;
6362 wxSize temp4 ;
6363 bool temp6 = False ;
6364 PyObject * obj0 = 0 ;
6365 PyObject * obj1 = 0 ;
6366 PyObject * obj2 = 0 ;
6367 PyObject * obj3 = 0 ;
6368 PyObject * obj4 = 0 ;
6369 PyObject * obj5 = 0 ;
6370 char *kwnames[] = {
6371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6377 arg2 = (int) SWIG_AsInt(obj1);
6378 if (PyErr_Occurred()) SWIG_fail;
6379 if (obj2) {
6380 {
6381 arg3 = &temp3;
6382 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6383 }
6384 }
6385 if (obj3) {
6386 {
6387 arg4 = &temp4;
6388 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6389 }
6390 }
6391 if (obj4) {
6392 arg5 = (long) SWIG_AsLong(obj4);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
6395 if (obj5) {
6396 {
6397 arg6 = wxString_in_helper(obj5);
6398 if (arg6 == NULL) SWIG_fail;
6399 temp6 = True;
6400 }
6401 }
6402 {
6403 PyThreadState* __tstate = wxPyBeginAllowThreads();
6404 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6405
6406 wxPyEndAllowThreads(__tstate);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 }
6409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6410 {
6411 if (temp6)
6412 delete arg6;
6413 }
6414 return resultobj;
6415 fail:
6416 {
6417 if (temp6)
6418 delete arg6;
6419 }
6420 return NULL;
6421 }
6422
6423
6424 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6425 PyObject *resultobj;
6426 wxSashWindow *result;
6427 char *kwnames[] = {
6428 NULL
6429 };
6430
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6432 {
6433 PyThreadState* __tstate = wxPyBeginAllowThreads();
6434 result = (wxSashWindow *)new wxSashWindow();
6435
6436 wxPyEndAllowThreads(__tstate);
6437 if (PyErr_Occurred()) SWIG_fail;
6438 }
6439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6440 return resultobj;
6441 fail:
6442 return NULL;
6443 }
6444
6445
6446 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6447 PyObject *resultobj;
6448 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6449 wxWindow *arg2 = (wxWindow *) 0 ;
6450 int arg3 ;
6451 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6452 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6453 wxSize const &arg5_defvalue = wxDefaultSize ;
6454 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6455 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6456 wxString const &arg7_defvalue = wxPySashNameStr ;
6457 wxString *arg7 = (wxString *) &arg7_defvalue ;
6458 bool result;
6459 wxPoint temp4 ;
6460 wxSize temp5 ;
6461 bool temp7 = False ;
6462 PyObject * obj0 = 0 ;
6463 PyObject * obj1 = 0 ;
6464 PyObject * obj2 = 0 ;
6465 PyObject * obj3 = 0 ;
6466 PyObject * obj4 = 0 ;
6467 PyObject * obj5 = 0 ;
6468 PyObject * obj6 = 0 ;
6469 char *kwnames[] = {
6470 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6471 };
6472
6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6478 arg3 = (int) SWIG_AsInt(obj2);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 if (obj3) {
6481 {
6482 arg4 = &temp4;
6483 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6484 }
6485 }
6486 if (obj4) {
6487 {
6488 arg5 = &temp5;
6489 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6490 }
6491 }
6492 if (obj5) {
6493 arg6 = (long) SWIG_AsLong(obj5);
6494 if (PyErr_Occurred()) SWIG_fail;
6495 }
6496 if (obj6) {
6497 {
6498 arg7 = wxString_in_helper(obj6);
6499 if (arg7 == NULL) SWIG_fail;
6500 temp7 = True;
6501 }
6502 }
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6506
6507 wxPyEndAllowThreads(__tstate);
6508 if (PyErr_Occurred()) SWIG_fail;
6509 }
6510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6511 {
6512 if (temp7)
6513 delete arg7;
6514 }
6515 return resultobj;
6516 fail:
6517 {
6518 if (temp7)
6519 delete arg7;
6520 }
6521 return NULL;
6522 }
6523
6524
6525 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6526 PyObject *resultobj;
6527 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6528 int arg2 ;
6529 bool arg3 ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 PyObject * obj2 = 0 ;
6533 char *kwnames[] = {
6534 (char *) "self",(char *) "edge",(char *) "sash", NULL
6535 };
6536
6537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6540 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6541 if (PyErr_Occurred()) SWIG_fail;
6542 arg3 = (bool) SWIG_AsBool(obj2);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6547
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 Py_INCREF(Py_None); resultobj = Py_None;
6552 return resultobj;
6553 fail:
6554 return NULL;
6555 }
6556
6557
6558 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6559 PyObject *resultobj;
6560 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6561 int arg2 ;
6562 bool result;
6563 PyObject * obj0 = 0 ;
6564 PyObject * obj1 = 0 ;
6565 char *kwnames[] = {
6566 (char *) "self",(char *) "edge", NULL
6567 };
6568
6569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6572 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 {
6575 PyThreadState* __tstate = wxPyBeginAllowThreads();
6576 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6577
6578 wxPyEndAllowThreads(__tstate);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 }
6581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6582 return resultobj;
6583 fail:
6584 return NULL;
6585 }
6586
6587
6588 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
6589 PyObject *resultobj;
6590 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6591 int arg2 ;
6592 bool arg3 ;
6593 PyObject * obj0 = 0 ;
6594 PyObject * obj1 = 0 ;
6595 PyObject * obj2 = 0 ;
6596 char *kwnames[] = {
6597 (char *) "self",(char *) "edge",(char *) "border", NULL
6598 };
6599
6600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6603 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 arg3 = (bool) SWIG_AsBool(obj2);
6606 if (PyErr_Occurred()) SWIG_fail;
6607 {
6608 PyThreadState* __tstate = wxPyBeginAllowThreads();
6609 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6610
6611 wxPyEndAllowThreads(__tstate);
6612 if (PyErr_Occurred()) SWIG_fail;
6613 }
6614 Py_INCREF(Py_None); resultobj = Py_None;
6615 return resultobj;
6616 fail:
6617 return NULL;
6618 }
6619
6620
6621 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
6622 PyObject *resultobj;
6623 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6624 int arg2 ;
6625 bool result;
6626 PyObject * obj0 = 0 ;
6627 PyObject * obj1 = 0 ;
6628 char *kwnames[] = {
6629 (char *) "self",(char *) "edge", NULL
6630 };
6631
6632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6635 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6645 return resultobj;
6646 fail:
6647 return NULL;
6648 }
6649
6650
6651 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
6652 PyObject *resultobj;
6653 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6654 int arg2 ;
6655 int result;
6656 PyObject * obj0 = 0 ;
6657 PyObject * obj1 = 0 ;
6658 char *kwnames[] = {
6659 (char *) "self",(char *) "edge", NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6665 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6666 if (PyErr_Occurred()) SWIG_fail;
6667 {
6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
6669 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6670
6671 wxPyEndAllowThreads(__tstate);
6672 if (PyErr_Occurred()) SWIG_fail;
6673 }
6674 resultobj = SWIG_FromInt((int)result);
6675 return resultobj;
6676 fail:
6677 return NULL;
6678 }
6679
6680
6681 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6682 PyObject *resultobj;
6683 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6684 int arg2 ;
6685 PyObject * obj0 = 0 ;
6686 PyObject * obj1 = 0 ;
6687 char *kwnames[] = {
6688 (char *) "self",(char *) "width", NULL
6689 };
6690
6691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6694 arg2 = (int) SWIG_AsInt(obj1);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 (arg1)->SetDefaultBorderSize(arg2);
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 Py_INCREF(Py_None); resultobj = Py_None;
6704 return resultobj;
6705 fail:
6706 return NULL;
6707 }
6708
6709
6710 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6711 PyObject *resultobj;
6712 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6713 int result;
6714 PyObject * obj0 = 0 ;
6715 char *kwnames[] = {
6716 (char *) "self", NULL
6717 };
6718
6719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6722 {
6723 PyThreadState* __tstate = wxPyBeginAllowThreads();
6724 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6725
6726 wxPyEndAllowThreads(__tstate);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 }
6729 resultobj = SWIG_FromInt((int)result);
6730 return resultobj;
6731 fail:
6732 return NULL;
6733 }
6734
6735
6736 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6737 PyObject *resultobj;
6738 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6739 int arg2 ;
6740 PyObject * obj0 = 0 ;
6741 PyObject * obj1 = 0 ;
6742 char *kwnames[] = {
6743 (char *) "self",(char *) "width", NULL
6744 };
6745
6746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6749 arg2 = (int) SWIG_AsInt(obj1);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 {
6752 PyThreadState* __tstate = wxPyBeginAllowThreads();
6753 (arg1)->SetExtraBorderSize(arg2);
6754
6755 wxPyEndAllowThreads(__tstate);
6756 if (PyErr_Occurred()) SWIG_fail;
6757 }
6758 Py_INCREF(Py_None); resultobj = Py_None;
6759 return resultobj;
6760 fail:
6761 return NULL;
6762 }
6763
6764
6765 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj;
6767 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6768 int result;
6769 PyObject * obj0 = 0 ;
6770 char *kwnames[] = {
6771 (char *) "self", NULL
6772 };
6773
6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6780
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 resultobj = SWIG_FromInt((int)result);
6785 return resultobj;
6786 fail:
6787 return NULL;
6788 }
6789
6790
6791 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
6792 PyObject *resultobj;
6793 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6794 int arg2 ;
6795 PyObject * obj0 = 0 ;
6796 PyObject * obj1 = 0 ;
6797 char *kwnames[] = {
6798 (char *) "self",(char *) "min", NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6804 arg2 = (int) SWIG_AsInt(obj1);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 (arg1)->SetMinimumSizeX(arg2);
6809
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 Py_INCREF(Py_None); resultobj = Py_None;
6814 return resultobj;
6815 fail:
6816 return NULL;
6817 }
6818
6819
6820 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
6821 PyObject *resultobj;
6822 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6823 int arg2 ;
6824 PyObject * obj0 = 0 ;
6825 PyObject * obj1 = 0 ;
6826 char *kwnames[] = {
6827 (char *) "self",(char *) "min", NULL
6828 };
6829
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6833 arg2 = (int) SWIG_AsInt(obj1);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 (arg1)->SetMinimumSizeY(arg2);
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 Py_INCREF(Py_None); resultobj = Py_None;
6843 return resultobj;
6844 fail:
6845 return NULL;
6846 }
6847
6848
6849 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
6850 PyObject *resultobj;
6851 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6852 int result;
6853 PyObject * obj0 = 0 ;
6854 char *kwnames[] = {
6855 (char *) "self", NULL
6856 };
6857
6858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6861 {
6862 PyThreadState* __tstate = wxPyBeginAllowThreads();
6863 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6864
6865 wxPyEndAllowThreads(__tstate);
6866 if (PyErr_Occurred()) SWIG_fail;
6867 }
6868 resultobj = SWIG_FromInt((int)result);
6869 return resultobj;
6870 fail:
6871 return NULL;
6872 }
6873
6874
6875 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
6876 PyObject *resultobj;
6877 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6878 int result;
6879 PyObject * obj0 = 0 ;
6880 char *kwnames[] = {
6881 (char *) "self", NULL
6882 };
6883
6884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6887 {
6888 PyThreadState* __tstate = wxPyBeginAllowThreads();
6889 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6890
6891 wxPyEndAllowThreads(__tstate);
6892 if (PyErr_Occurred()) SWIG_fail;
6893 }
6894 resultobj = SWIG_FromInt((int)result);
6895 return resultobj;
6896 fail:
6897 return NULL;
6898 }
6899
6900
6901 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
6902 PyObject *resultobj;
6903 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6904 int arg2 ;
6905 PyObject * obj0 = 0 ;
6906 PyObject * obj1 = 0 ;
6907 char *kwnames[] = {
6908 (char *) "self",(char *) "max", NULL
6909 };
6910
6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
6912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6914 arg2 = (int) SWIG_AsInt(obj1);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 {
6917 PyThreadState* __tstate = wxPyBeginAllowThreads();
6918 (arg1)->SetMaximumSizeX(arg2);
6919
6920 wxPyEndAllowThreads(__tstate);
6921 if (PyErr_Occurred()) SWIG_fail;
6922 }
6923 Py_INCREF(Py_None); resultobj = Py_None;
6924 return resultobj;
6925 fail:
6926 return NULL;
6927 }
6928
6929
6930 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
6931 PyObject *resultobj;
6932 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6933 int arg2 ;
6934 PyObject * obj0 = 0 ;
6935 PyObject * obj1 = 0 ;
6936 char *kwnames[] = {
6937 (char *) "self",(char *) "max", NULL
6938 };
6939
6940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
6941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6943 arg2 = (int) SWIG_AsInt(obj1);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 (arg1)->SetMaximumSizeY(arg2);
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 Py_INCREF(Py_None); resultobj = Py_None;
6953 return resultobj;
6954 fail:
6955 return NULL;
6956 }
6957
6958
6959 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
6960 PyObject *resultobj;
6961 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6962 int result;
6963 PyObject * obj0 = 0 ;
6964 char *kwnames[] = {
6965 (char *) "self", NULL
6966 };
6967
6968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6971 {
6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6973 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6974
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
6978 resultobj = SWIG_FromInt((int)result);
6979 return resultobj;
6980 fail:
6981 return NULL;
6982 }
6983
6984
6985 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
6986 PyObject *resultobj;
6987 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6988 int result;
6989 PyObject * obj0 = 0 ;
6990 char *kwnames[] = {
6991 (char *) "self", NULL
6992 };
6993
6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 resultobj = SWIG_FromInt((int)result);
7005 return resultobj;
7006 fail:
7007 return NULL;
7008 }
7009
7010
7011 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7012 PyObject *resultobj;
7013 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7014 int arg2 ;
7015 int arg3 ;
7016 int arg4 = (int) 2 ;
7017 int result;
7018 PyObject * obj0 = 0 ;
7019 PyObject * obj1 = 0 ;
7020 PyObject * obj2 = 0 ;
7021 PyObject * obj3 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7029 arg2 = (int) SWIG_AsInt(obj1);
7030 if (PyErr_Occurred()) SWIG_fail;
7031 arg3 = (int) SWIG_AsInt(obj2);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 if (obj3) {
7034 arg4 = (int) SWIG_AsInt(obj3);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 {
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7040
7041 wxPyEndAllowThreads(__tstate);
7042 if (PyErr_Occurred()) SWIG_fail;
7043 }
7044 resultobj = SWIG_FromInt((int)result);
7045 return resultobj;
7046 fail:
7047 return NULL;
7048 }
7049
7050
7051 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7052 PyObject *resultobj;
7053 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7054 PyObject * obj0 = 0 ;
7055 char *kwnames[] = {
7056 (char *) "self", NULL
7057 };
7058
7059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 (arg1)->SizeWindows();
7065
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 Py_INCREF(Py_None); resultobj = Py_None;
7070 return resultobj;
7071 fail:
7072 return NULL;
7073 }
7074
7075
7076 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7077 PyObject *obj;
7078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7079 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7080 Py_INCREF(obj);
7081 return Py_BuildValue((char *)"");
7082 }
7083 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj;
7085 int arg1 = (int) 0 ;
7086 int arg2 = (int) wxSASH_NONE ;
7087 wxSashEvent *result;
7088 PyObject * obj0 = 0 ;
7089 PyObject * obj1 = 0 ;
7090 char *kwnames[] = {
7091 (char *) "id",(char *) "edge", NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7095 if (obj0) {
7096 arg1 = (int) SWIG_AsInt(obj0);
7097 if (PyErr_Occurred()) SWIG_fail;
7098 }
7099 if (obj1) {
7100 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7101 if (PyErr_Occurred()) SWIG_fail;
7102 }
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7111 return resultobj;
7112 fail:
7113 return NULL;
7114 }
7115
7116
7117 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7118 PyObject *resultobj;
7119 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7120 int arg2 ;
7121 PyObject * obj0 = 0 ;
7122 PyObject * obj1 = 0 ;
7123 char *kwnames[] = {
7124 (char *) "self",(char *) "edge", NULL
7125 };
7126
7127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7130 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7131 if (PyErr_Occurred()) SWIG_fail;
7132 {
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7135
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 Py_INCREF(Py_None); resultobj = Py_None;
7140 return resultobj;
7141 fail:
7142 return NULL;
7143 }
7144
7145
7146 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7147 PyObject *resultobj;
7148 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7149 int result;
7150 PyObject * obj0 = 0 ;
7151 char *kwnames[] = {
7152 (char *) "self", NULL
7153 };
7154
7155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7158 {
7159 PyThreadState* __tstate = wxPyBeginAllowThreads();
7160 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7161
7162 wxPyEndAllowThreads(__tstate);
7163 if (PyErr_Occurred()) SWIG_fail;
7164 }
7165 resultobj = SWIG_FromInt((int)result);
7166 return resultobj;
7167 fail:
7168 return NULL;
7169 }
7170
7171
7172 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7173 PyObject *resultobj;
7174 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7175 wxRect *arg2 = 0 ;
7176 wxRect temp2 ;
7177 PyObject * obj0 = 0 ;
7178 PyObject * obj1 = 0 ;
7179 char *kwnames[] = {
7180 (char *) "self",(char *) "rect", NULL
7181 };
7182
7183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7186 {
7187 arg2 = &temp2;
7188 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7189 }
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 (arg1)->SetDragRect((wxRect const &)*arg2);
7193
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 Py_INCREF(Py_None); resultobj = Py_None;
7198 return resultobj;
7199 fail:
7200 return NULL;
7201 }
7202
7203
7204 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7205 PyObject *resultobj;
7206 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7207 wxRect result;
7208 PyObject * obj0 = 0 ;
7209 char *kwnames[] = {
7210 (char *) "self", NULL
7211 };
7212
7213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 result = ((wxSashEvent const *)arg1)->GetDragRect();
7219
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 }
7223 {
7224 wxRect * resultptr;
7225 resultptr = new wxRect((wxRect &) result);
7226 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7227 }
7228 return resultobj;
7229 fail:
7230 return NULL;
7231 }
7232
7233
7234 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7235 PyObject *resultobj;
7236 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7237 int arg2 ;
7238 PyObject * obj0 = 0 ;
7239 PyObject * obj1 = 0 ;
7240 char *kwnames[] = {
7241 (char *) "self",(char *) "status", NULL
7242 };
7243
7244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7247 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 {
7250 PyThreadState* __tstate = wxPyBeginAllowThreads();
7251 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7252
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 Py_INCREF(Py_None); resultobj = Py_None;
7257 return resultobj;
7258 fail:
7259 return NULL;
7260 }
7261
7262
7263 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7264 PyObject *resultobj;
7265 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7266 int result;
7267 PyObject * obj0 = 0 ;
7268 char *kwnames[] = {
7269 (char *) "self", NULL
7270 };
7271
7272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7275 {
7276 PyThreadState* __tstate = wxPyBeginAllowThreads();
7277 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7278
7279 wxPyEndAllowThreads(__tstate);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 }
7282 resultobj = SWIG_FromInt((int)result);
7283 return resultobj;
7284 fail:
7285 return NULL;
7286 }
7287
7288
7289 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
7290 PyObject *obj;
7291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7292 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7293 Py_INCREF(obj);
7294 return Py_BuildValue((char *)"");
7295 }
7296 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7297 PyObject *resultobj;
7298 int arg1 = (int) 0 ;
7299 wxQueryLayoutInfoEvent *result;
7300 PyObject * obj0 = 0 ;
7301 char *kwnames[] = {
7302 (char *) "id", NULL
7303 };
7304
7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7306 if (obj0) {
7307 arg1 = (int) SWIG_AsInt(obj0);
7308 if (PyErr_Occurred()) SWIG_fail;
7309 }
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7318 return resultobj;
7319 fail:
7320 return NULL;
7321 }
7322
7323
7324 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj;
7326 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7327 int arg2 ;
7328 PyObject * obj0 = 0 ;
7329 PyObject * obj1 = 0 ;
7330 char *kwnames[] = {
7331 (char *) "self",(char *) "length", NULL
7332 };
7333
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7337 arg2 = (int) SWIG_AsInt(obj1);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 (arg1)->SetRequestedLength(arg2);
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
7346 Py_INCREF(Py_None); resultobj = Py_None;
7347 return resultobj;
7348 fail:
7349 return NULL;
7350 }
7351
7352
7353 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7354 PyObject *resultobj;
7355 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7356 int result;
7357 PyObject * obj0 = 0 ;
7358 char *kwnames[] = {
7359 (char *) "self", NULL
7360 };
7361
7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7365 {
7366 PyThreadState* __tstate = wxPyBeginAllowThreads();
7367 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7368
7369 wxPyEndAllowThreads(__tstate);
7370 if (PyErr_Occurred()) SWIG_fail;
7371 }
7372 resultobj = SWIG_FromInt((int)result);
7373 return resultobj;
7374 fail:
7375 return NULL;
7376 }
7377
7378
7379 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7380 PyObject *resultobj;
7381 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7382 int arg2 ;
7383 PyObject * obj0 = 0 ;
7384 PyObject * obj1 = 0 ;
7385 char *kwnames[] = {
7386 (char *) "self",(char *) "flags", NULL
7387 };
7388
7389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7392 arg2 = (int) SWIG_AsInt(obj1);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 (arg1)->SetFlags(arg2);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 Py_INCREF(Py_None); resultobj = Py_None;
7402 return resultobj;
7403 fail:
7404 return NULL;
7405 }
7406
7407
7408 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj;
7410 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7411 int result;
7412 PyObject * obj0 = 0 ;
7413 char *kwnames[] = {
7414 (char *) "self", NULL
7415 };
7416
7417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7420 {
7421 PyThreadState* __tstate = wxPyBeginAllowThreads();
7422 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7423
7424 wxPyEndAllowThreads(__tstate);
7425 if (PyErr_Occurred()) SWIG_fail;
7426 }
7427 resultobj = SWIG_FromInt((int)result);
7428 return resultobj;
7429 fail:
7430 return NULL;
7431 }
7432
7433
7434 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7435 PyObject *resultobj;
7436 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7437 wxSize *arg2 = 0 ;
7438 wxSize temp2 ;
7439 PyObject * obj0 = 0 ;
7440 PyObject * obj1 = 0 ;
7441 char *kwnames[] = {
7442 (char *) "self",(char *) "size", NULL
7443 };
7444
7445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7448 {
7449 arg2 = &temp2;
7450 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7451 }
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
7454 (arg1)->SetSize((wxSize const &)*arg2);
7455
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 }
7459 Py_INCREF(Py_None); resultobj = Py_None;
7460 return resultobj;
7461 fail:
7462 return NULL;
7463 }
7464
7465
7466 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7467 PyObject *resultobj;
7468 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7469 wxSize result;
7470 PyObject * obj0 = 0 ;
7471 char *kwnames[] = {
7472 (char *) "self", NULL
7473 };
7474
7475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7478 {
7479 PyThreadState* __tstate = wxPyBeginAllowThreads();
7480 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7481
7482 wxPyEndAllowThreads(__tstate);
7483 if (PyErr_Occurred()) SWIG_fail;
7484 }
7485 {
7486 wxSize * resultptr;
7487 resultptr = new wxSize((wxSize &) result);
7488 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7489 }
7490 return resultobj;
7491 fail:
7492 return NULL;
7493 }
7494
7495
7496 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7497 PyObject *resultobj;
7498 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7499 int arg2 ;
7500 PyObject * obj0 = 0 ;
7501 PyObject * obj1 = 0 ;
7502 char *kwnames[] = {
7503 (char *) "self",(char *) "orient", NULL
7504 };
7505
7506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7509 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 {
7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
7513 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7514
7515 wxPyEndAllowThreads(__tstate);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 }
7518 Py_INCREF(Py_None); resultobj = Py_None;
7519 return resultobj;
7520 fail:
7521 return NULL;
7522 }
7523
7524
7525 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7526 PyObject *resultobj;
7527 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7528 int result;
7529 PyObject * obj0 = 0 ;
7530 char *kwnames[] = {
7531 (char *) "self", NULL
7532 };
7533
7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7539 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7540
7541 wxPyEndAllowThreads(__tstate);
7542 if (PyErr_Occurred()) SWIG_fail;
7543 }
7544 resultobj = SWIG_FromInt((int)result);
7545 return resultobj;
7546 fail:
7547 return NULL;
7548 }
7549
7550
7551 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7552 PyObject *resultobj;
7553 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7554 int arg2 ;
7555 PyObject * obj0 = 0 ;
7556 PyObject * obj1 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "self",(char *) "align", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7564 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 Py_INCREF(Py_None); resultobj = Py_None;
7574 return resultobj;
7575 fail:
7576 return NULL;
7577 }
7578
7579
7580 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7581 PyObject *resultobj;
7582 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7583 int result;
7584 PyObject * obj0 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "self", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7592 {
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
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 * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
7607 PyObject *obj;
7608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7609 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7610 Py_INCREF(obj);
7611 return Py_BuildValue((char *)"");
7612 }
7613 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7614 PyObject *resultobj;
7615 int arg1 = (int) 0 ;
7616 wxCalculateLayoutEvent *result;
7617 PyObject * obj0 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "id", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7623 if (obj0) {
7624 arg1 = (int) SWIG_AsInt(obj0);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 }
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7635 return resultobj;
7636 fail:
7637 return NULL;
7638 }
7639
7640
7641 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj;
7643 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7644 int arg2 ;
7645 PyObject * obj0 = 0 ;
7646 PyObject * obj1 = 0 ;
7647 char *kwnames[] = {
7648 (char *) "self",(char *) "flags", NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7654 arg2 = (int) SWIG_AsInt(obj1);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 (arg1)->SetFlags(arg2);
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 Py_INCREF(Py_None); resultobj = Py_None;
7664 return resultobj;
7665 fail:
7666 return NULL;
7667 }
7668
7669
7670 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7671 PyObject *resultobj;
7672 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7673 int result;
7674 PyObject * obj0 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7685
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 resultobj = SWIG_FromInt((int)result);
7690 return resultobj;
7691 fail:
7692 return NULL;
7693 }
7694
7695
7696 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7697 PyObject *resultobj;
7698 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7699 wxRect *arg2 = 0 ;
7700 wxRect temp2 ;
7701 PyObject * obj0 = 0 ;
7702 PyObject * obj1 = 0 ;
7703 char *kwnames[] = {
7704 (char *) "self",(char *) "rect", NULL
7705 };
7706
7707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7710 {
7711 arg2 = &temp2;
7712 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7713 }
7714 {
7715 PyThreadState* __tstate = wxPyBeginAllowThreads();
7716 (arg1)->SetRect((wxRect const &)*arg2);
7717
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
7721 Py_INCREF(Py_None); resultobj = Py_None;
7722 return resultobj;
7723 fail:
7724 return NULL;
7725 }
7726
7727
7728 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7729 PyObject *resultobj;
7730 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7731 wxRect result;
7732 PyObject * obj0 = 0 ;
7733 char *kwnames[] = {
7734 (char *) "self", NULL
7735 };
7736
7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7743
7744 wxPyEndAllowThreads(__tstate);
7745 if (PyErr_Occurred()) SWIG_fail;
7746 }
7747 {
7748 wxRect * resultptr;
7749 resultptr = new wxRect((wxRect &) result);
7750 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7751 }
7752 return resultobj;
7753 fail:
7754 return NULL;
7755 }
7756
7757
7758 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
7759 PyObject *obj;
7760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7761 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7762 Py_INCREF(obj);
7763 return Py_BuildValue((char *)"");
7764 }
7765 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7766 PyObject *resultobj;
7767 wxWindow *arg1 = (wxWindow *) 0 ;
7768 int arg2 ;
7769 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7770 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7771 wxSize const &arg4_defvalue = wxDefaultSize ;
7772 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7773 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7774 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7775 wxString *arg6 = (wxString *) &arg6_defvalue ;
7776 wxSashLayoutWindow *result;
7777 wxPoint temp3 ;
7778 wxSize temp4 ;
7779 bool temp6 = False ;
7780 PyObject * obj0 = 0 ;
7781 PyObject * obj1 = 0 ;
7782 PyObject * obj2 = 0 ;
7783 PyObject * obj3 = 0 ;
7784 PyObject * obj4 = 0 ;
7785 PyObject * obj5 = 0 ;
7786 char *kwnames[] = {
7787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7793 arg2 = (int) SWIG_AsInt(obj1);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 if (obj2) {
7796 {
7797 arg3 = &temp3;
7798 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7799 }
7800 }
7801 if (obj3) {
7802 {
7803 arg4 = &temp4;
7804 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7805 }
7806 }
7807 if (obj4) {
7808 arg5 = (long) SWIG_AsLong(obj4);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 if (obj5) {
7812 {
7813 arg6 = wxString_in_helper(obj5);
7814 if (arg6 == NULL) SWIG_fail;
7815 temp6 = True;
7816 }
7817 }
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7826 {
7827 if (temp6)
7828 delete arg6;
7829 }
7830 return resultobj;
7831 fail:
7832 {
7833 if (temp6)
7834 delete arg6;
7835 }
7836 return NULL;
7837 }
7838
7839
7840 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7841 PyObject *resultobj;
7842 wxSashLayoutWindow *result;
7843 char *kwnames[] = {
7844 NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7856 return resultobj;
7857 fail:
7858 return NULL;
7859 }
7860
7861
7862 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7863 PyObject *resultobj;
7864 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7865 wxWindow *arg2 = (wxWindow *) 0 ;
7866 int arg3 ;
7867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7869 wxSize const &arg5_defvalue = wxDefaultSize ;
7870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7871 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7872 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7873 wxString *arg7 = (wxString *) &arg7_defvalue ;
7874 bool result;
7875 wxPoint temp4 ;
7876 wxSize temp5 ;
7877 bool temp7 = False ;
7878 PyObject * obj0 = 0 ;
7879 PyObject * obj1 = 0 ;
7880 PyObject * obj2 = 0 ;
7881 PyObject * obj3 = 0 ;
7882 PyObject * obj4 = 0 ;
7883 PyObject * obj5 = 0 ;
7884 PyObject * obj6 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7894 arg3 = (int) SWIG_AsInt(obj2);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 if (obj3) {
7897 {
7898 arg4 = &temp4;
7899 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7900 }
7901 }
7902 if (obj4) {
7903 {
7904 arg5 = &temp5;
7905 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7906 }
7907 }
7908 if (obj5) {
7909 arg6 = (long) SWIG_AsLong(obj5);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
7912 if (obj6) {
7913 {
7914 arg7 = wxString_in_helper(obj6);
7915 if (arg7 == NULL) SWIG_fail;
7916 temp7 = True;
7917 }
7918 }
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7927 {
7928 if (temp7)
7929 delete arg7;
7930 }
7931 return resultobj;
7932 fail:
7933 {
7934 if (temp7)
7935 delete arg7;
7936 }
7937 return NULL;
7938 }
7939
7940
7941 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7942 PyObject *resultobj;
7943 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7944 int result;
7945 PyObject * obj0 = 0 ;
7946 char *kwnames[] = {
7947 (char *) "self", NULL
7948 };
7949
7950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7953 {
7954 PyThreadState* __tstate = wxPyBeginAllowThreads();
7955 result = (int)(arg1)->GetAlignment();
7956
7957 wxPyEndAllowThreads(__tstate);
7958 if (PyErr_Occurred()) SWIG_fail;
7959 }
7960 resultobj = SWIG_FromInt((int)result);
7961 return resultobj;
7962 fail:
7963 return NULL;
7964 }
7965
7966
7967 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7968 PyObject *resultobj;
7969 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7970 int result;
7971 PyObject * obj0 = 0 ;
7972 char *kwnames[] = {
7973 (char *) "self", NULL
7974 };
7975
7976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 result = (int)(arg1)->GetOrientation();
7982
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
7986 resultobj = SWIG_FromInt((int)result);
7987 return resultobj;
7988 fail:
7989 return NULL;
7990 }
7991
7992
7993 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7994 PyObject *resultobj;
7995 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7996 int arg2 ;
7997 PyObject * obj0 = 0 ;
7998 PyObject * obj1 = 0 ;
7999 char *kwnames[] = {
8000 (char *) "self",(char *) "alignment", NULL
8001 };
8002
8003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8006 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8007 if (PyErr_Occurred()) SWIG_fail;
8008 {
8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
8010 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8011
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 Py_INCREF(Py_None); resultobj = Py_None;
8016 return resultobj;
8017 fail:
8018 return NULL;
8019 }
8020
8021
8022 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8023 PyObject *resultobj;
8024 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8025 wxSize *arg2 = 0 ;
8026 wxSize temp2 ;
8027 PyObject * obj0 = 0 ;
8028 PyObject * obj1 = 0 ;
8029 char *kwnames[] = {
8030 (char *) "self",(char *) "size", NULL
8031 };
8032
8033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8036 {
8037 arg2 = &temp2;
8038 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8039 }
8040 {
8041 PyThreadState* __tstate = wxPyBeginAllowThreads();
8042 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8043
8044 wxPyEndAllowThreads(__tstate);
8045 if (PyErr_Occurred()) SWIG_fail;
8046 }
8047 Py_INCREF(Py_None); resultobj = Py_None;
8048 return resultobj;
8049 fail:
8050 return NULL;
8051 }
8052
8053
8054 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8055 PyObject *resultobj;
8056 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8057 int arg2 ;
8058 PyObject * obj0 = 0 ;
8059 PyObject * obj1 = 0 ;
8060 char *kwnames[] = {
8061 (char *) "self",(char *) "orientation", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8067 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 {
8070 PyThreadState* __tstate = wxPyBeginAllowThreads();
8071 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8072
8073 wxPyEndAllowThreads(__tstate);
8074 if (PyErr_Occurred()) SWIG_fail;
8075 }
8076 Py_INCREF(Py_None); resultobj = Py_None;
8077 return resultobj;
8078 fail:
8079 return NULL;
8080 }
8081
8082
8083 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8084 PyObject *obj;
8085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8086 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8087 Py_INCREF(obj);
8088 return Py_BuildValue((char *)"");
8089 }
8090 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8091 PyObject *resultobj;
8092 wxLayoutAlgorithm *result;
8093 char *kwnames[] = {
8094 NULL
8095 };
8096
8097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8098 {
8099 PyThreadState* __tstate = wxPyBeginAllowThreads();
8100 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8101
8102 wxPyEndAllowThreads(__tstate);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 }
8105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8106 return resultobj;
8107 fail:
8108 return NULL;
8109 }
8110
8111
8112 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8113 PyObject *resultobj;
8114 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8115 PyObject * obj0 = 0 ;
8116 char *kwnames[] = {
8117 (char *) "self", NULL
8118 };
8119
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 delete arg1;
8126
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 Py_INCREF(Py_None); resultobj = Py_None;
8131 return resultobj;
8132 fail:
8133 return NULL;
8134 }
8135
8136
8137 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8138 PyObject *resultobj;
8139 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8140 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8141 wxRect *arg3 = (wxRect *) NULL ;
8142 bool result;
8143 PyObject * obj0 = 0 ;
8144 PyObject * obj1 = 0 ;
8145 PyObject * obj2 = 0 ;
8146 char *kwnames[] = {
8147 (char *) "self",(char *) "frame",(char *) "rect", NULL
8148 };
8149
8150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8153 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8155 if (obj2) {
8156 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8158 }
8159 {
8160 PyThreadState* __tstate = wxPyBeginAllowThreads();
8161 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8162
8163 wxPyEndAllowThreads(__tstate);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 }
8166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8167 return resultobj;
8168 fail:
8169 return NULL;
8170 }
8171
8172
8173 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8174 PyObject *resultobj;
8175 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8176 wxFrame *arg2 = (wxFrame *) 0 ;
8177 wxWindow *arg3 = (wxWindow *) NULL ;
8178 bool result;
8179 PyObject * obj0 = 0 ;
8180 PyObject * obj1 = 0 ;
8181 PyObject * obj2 = 0 ;
8182 char *kwnames[] = {
8183 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8184 };
8185
8186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8189 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8191 if (obj2) {
8192 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8194 }
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
8202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8203 return resultobj;
8204 fail:
8205 return NULL;
8206 }
8207
8208
8209 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj;
8211 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8212 wxWindow *arg2 = (wxWindow *) 0 ;
8213 wxWindow *arg3 = (wxWindow *) NULL ;
8214 bool result;
8215 PyObject * obj0 = 0 ;
8216 PyObject * obj1 = 0 ;
8217 PyObject * obj2 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8227 if (obj2) {
8228 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8230 }
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
8238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8239 return resultobj;
8240 fail:
8241 return NULL;
8242 }
8243
8244
8245 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8246 PyObject *obj;
8247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8248 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8249 Py_INCREF(obj);
8250 return Py_BuildValue((char *)"");
8251 }
8252 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8253 PyObject *resultobj;
8254 wxWindow *arg1 = (wxWindow *) 0 ;
8255 int arg2 = (int) wxBORDER_NONE ;
8256 wxPopupWindow *result;
8257 PyObject * obj0 = 0 ;
8258 PyObject * obj1 = 0 ;
8259 char *kwnames[] = {
8260 (char *) "parent",(char *) "flags", NULL
8261 };
8262
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8266 if (obj1) {
8267 arg2 = (int) SWIG_AsInt(obj1);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 {
8271 PyThreadState* __tstate = wxPyBeginAllowThreads();
8272 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8273
8274 wxPyEndAllowThreads(__tstate);
8275 if (PyErr_Occurred()) SWIG_fail;
8276 }
8277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8278 return resultobj;
8279 fail:
8280 return NULL;
8281 }
8282
8283
8284 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8285 PyObject *resultobj;
8286 wxPopupWindow *result;
8287 char *kwnames[] = {
8288 NULL
8289 };
8290
8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8292 {
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 result = (wxPopupWindow *)new wxPopupWindow();
8295
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8300 return resultobj;
8301 fail:
8302 return NULL;
8303 }
8304
8305
8306 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
8307 PyObject *obj;
8308 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8309 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8310 Py_INCREF(obj);
8311 return Py_BuildValue((char *)"");
8312 }
8313 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8314 PyObject *resultobj;
8315 wxWindow *arg1 = (wxWindow *) 0 ;
8316 int arg2 = (int) wxBORDER_NONE ;
8317 wxPyPopupTransientWindow *result;
8318 PyObject * obj0 = 0 ;
8319 PyObject * obj1 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "parent",(char *) "style", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8327 if (obj1) {
8328 arg2 = (int) SWIG_AsInt(obj1);
8329 if (PyErr_Occurred()) SWIG_fail;
8330 }
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8339 return resultobj;
8340 fail:
8341 return NULL;
8342 }
8343
8344
8345 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8346 PyObject *resultobj;
8347 wxPyPopupTransientWindow *result;
8348 char *kwnames[] = {
8349 NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8353 {
8354 PyThreadState* __tstate = wxPyBeginAllowThreads();
8355 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8356
8357 wxPyEndAllowThreads(__tstate);
8358 if (PyErr_Occurred()) SWIG_fail;
8359 }
8360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8361 return resultobj;
8362 fail:
8363 return NULL;
8364 }
8365
8366
8367 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
8368 PyObject *obj;
8369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8370 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8371 Py_INCREF(obj);
8372 return Py_BuildValue((char *)"");
8373 }
8374 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8375 PyObject *resultobj;
8376 wxWindow *arg1 = (wxWindow *) 0 ;
8377 wxString *arg2 = 0 ;
8378 int arg3 = (int) 100 ;
8379 wxRect *arg4 = (wxRect *) NULL ;
8380 wxTipWindow *result;
8381 bool temp2 = False ;
8382 PyObject * obj0 = 0 ;
8383 PyObject * obj1 = 0 ;
8384 PyObject * obj2 = 0 ;
8385 PyObject * obj3 = 0 ;
8386 char *kwnames[] = {
8387 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8388 };
8389
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8393 {
8394 arg2 = wxString_in_helper(obj1);
8395 if (arg2 == NULL) SWIG_fail;
8396 temp2 = True;
8397 }
8398 if (obj2) {
8399 arg3 = (int) SWIG_AsInt(obj2);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 }
8402 if (obj3) {
8403 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8405 }
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8414 {
8415 if (temp2)
8416 delete arg2;
8417 }
8418 return resultobj;
8419 fail:
8420 {
8421 if (temp2)
8422 delete arg2;
8423 }
8424 return NULL;
8425 }
8426
8427
8428 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
8429 PyObject *resultobj;
8430 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8431 wxRect *arg2 = 0 ;
8432 wxRect temp2 ;
8433 PyObject * obj0 = 0 ;
8434 PyObject * obj1 = 0 ;
8435 char *kwnames[] = {
8436 (char *) "self",(char *) "rectBound", NULL
8437 };
8438
8439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8442 {
8443 arg2 = &temp2;
8444 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8445 }
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
8453 Py_INCREF(Py_None); resultobj = Py_None;
8454 return resultobj;
8455 fail:
8456 return NULL;
8457 }
8458
8459
8460 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
8461 PyObject *resultobj;
8462 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8463 PyObject * obj0 = 0 ;
8464 char *kwnames[] = {
8465 (char *) "self", NULL
8466 };
8467
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8471 {
8472 PyThreadState* __tstate = wxPyBeginAllowThreads();
8473 (arg1)->Close();
8474
8475 wxPyEndAllowThreads(__tstate);
8476 if (PyErr_Occurred()) SWIG_fail;
8477 }
8478 Py_INCREF(Py_None); resultobj = Py_None;
8479 return resultobj;
8480 fail:
8481 return NULL;
8482 }
8483
8484
8485 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
8486 PyObject *obj;
8487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8488 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8489 Py_INCREF(obj);
8490 return Py_BuildValue((char *)"");
8491 }
8492 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8493 PyObject *resultobj;
8494 wxWindow *arg1 = (wxWindow *) 0 ;
8495 int arg2 = (int) wxID_ANY ;
8496 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8497 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8498 wxSize const &arg4_defvalue = wxDefaultSize ;
8499 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8500 long arg5 = (long) 0 ;
8501 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8502 wxString *arg6 = (wxString *) &arg6_defvalue ;
8503 wxPyVScrolledWindow *result;
8504 wxPoint temp3 ;
8505 wxSize temp4 ;
8506 bool temp6 = False ;
8507 PyObject * obj0 = 0 ;
8508 PyObject * obj1 = 0 ;
8509 PyObject * obj2 = 0 ;
8510 PyObject * obj3 = 0 ;
8511 PyObject * obj4 = 0 ;
8512 PyObject * obj5 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8520 if (obj1) {
8521 arg2 = (int) SWIG_AsInt(obj1);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 if (obj2) {
8525 {
8526 arg3 = &temp3;
8527 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8528 }
8529 }
8530 if (obj3) {
8531 {
8532 arg4 = &temp4;
8533 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8534 }
8535 }
8536 if (obj4) {
8537 arg5 = (long) SWIG_AsLong(obj4);
8538 if (PyErr_Occurred()) SWIG_fail;
8539 }
8540 if (obj5) {
8541 {
8542 arg6 = wxString_in_helper(obj5);
8543 if (arg6 == NULL) SWIG_fail;
8544 temp6 = True;
8545 }
8546 }
8547 {
8548 PyThreadState* __tstate = wxPyBeginAllowThreads();
8549 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8550
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
8554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8555 {
8556 if (temp6)
8557 delete arg6;
8558 }
8559 return resultobj;
8560 fail:
8561 {
8562 if (temp6)
8563 delete arg6;
8564 }
8565 return NULL;
8566 }
8567
8568
8569 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8570 PyObject *resultobj;
8571 wxPyVScrolledWindow *result;
8572 char *kwnames[] = {
8573 NULL
8574 };
8575
8576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8577 {
8578 PyThreadState* __tstate = wxPyBeginAllowThreads();
8579 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8580
8581 wxPyEndAllowThreads(__tstate);
8582 if (PyErr_Occurred()) SWIG_fail;
8583 }
8584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8585 return resultobj;
8586 fail:
8587 return NULL;
8588 }
8589
8590
8591 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8592 PyObject *resultobj;
8593 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8594 PyObject *arg2 = (PyObject *) 0 ;
8595 PyObject *arg3 = (PyObject *) 0 ;
8596 PyObject * obj0 = 0 ;
8597 PyObject * obj1 = 0 ;
8598 PyObject * obj2 = 0 ;
8599 char *kwnames[] = {
8600 (char *) "self",(char *) "self",(char *) "_class", NULL
8601 };
8602
8603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8606 arg2 = obj1;
8607 arg3 = obj2;
8608 {
8609 PyThreadState* __tstate = wxPyBeginAllowThreads();
8610 (arg1)->_setCallbackInfo(arg2,arg3);
8611
8612 wxPyEndAllowThreads(__tstate);
8613 if (PyErr_Occurred()) SWIG_fail;
8614 }
8615 Py_INCREF(Py_None); resultobj = Py_None;
8616 return resultobj;
8617 fail:
8618 return NULL;
8619 }
8620
8621
8622 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8623 PyObject *resultobj;
8624 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8625 wxWindow *arg2 = (wxWindow *) 0 ;
8626 int arg3 = (int) wxID_ANY ;
8627 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8628 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8629 wxSize const &arg5_defvalue = wxDefaultSize ;
8630 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8631 long arg6 = (long) 0 ;
8632 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8633 wxString *arg7 = (wxString *) &arg7_defvalue ;
8634 bool result;
8635 wxPoint temp4 ;
8636 wxSize temp5 ;
8637 bool temp7 = False ;
8638 PyObject * obj0 = 0 ;
8639 PyObject * obj1 = 0 ;
8640 PyObject * obj2 = 0 ;
8641 PyObject * obj3 = 0 ;
8642 PyObject * obj4 = 0 ;
8643 PyObject * obj5 = 0 ;
8644 PyObject * obj6 = 0 ;
8645 char *kwnames[] = {
8646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8647 };
8648
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8652 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8654 if (obj2) {
8655 arg3 = (int) SWIG_AsInt(obj2);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 if (obj3) {
8659 {
8660 arg4 = &temp4;
8661 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8662 }
8663 }
8664 if (obj4) {
8665 {
8666 arg5 = &temp5;
8667 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8668 }
8669 }
8670 if (obj5) {
8671 arg6 = (long) SWIG_AsLong(obj5);
8672 if (PyErr_Occurred()) SWIG_fail;
8673 }
8674 if (obj6) {
8675 {
8676 arg7 = wxString_in_helper(obj6);
8677 if (arg7 == NULL) SWIG_fail;
8678 temp7 = True;
8679 }
8680 }
8681 {
8682 PyThreadState* __tstate = wxPyBeginAllowThreads();
8683 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8684
8685 wxPyEndAllowThreads(__tstate);
8686 if (PyErr_Occurred()) SWIG_fail;
8687 }
8688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8689 {
8690 if (temp7)
8691 delete arg7;
8692 }
8693 return resultobj;
8694 fail:
8695 {
8696 if (temp7)
8697 delete arg7;
8698 }
8699 return NULL;
8700 }
8701
8702
8703 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
8704 PyObject *resultobj;
8705 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8706 size_t arg2 ;
8707 PyObject * obj0 = 0 ;
8708 PyObject * obj1 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self",(char *) "count", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8716 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 (arg1)->SetLineCount(arg2);
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 Py_INCREF(Py_None); resultobj = Py_None;
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj;
8734 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8735 size_t arg2 ;
8736 bool result;
8737 PyObject * obj0 = 0 ;
8738 PyObject * obj1 = 0 ;
8739 char *kwnames[] = {
8740 (char *) "self",(char *) "line", NULL
8741 };
8742
8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8746 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8747 if (PyErr_Occurred()) SWIG_fail;
8748 {
8749 PyThreadState* __tstate = wxPyBeginAllowThreads();
8750 result = (bool)(arg1)->ScrollToLine(arg2);
8751
8752 wxPyEndAllowThreads(__tstate);
8753 if (PyErr_Occurred()) SWIG_fail;
8754 }
8755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8756 return resultobj;
8757 fail:
8758 return NULL;
8759 }
8760
8761
8762 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
8763 PyObject *resultobj;
8764 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8765 int arg2 ;
8766 bool result;
8767 PyObject * obj0 = 0 ;
8768 PyObject * obj1 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "self",(char *) "lines", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8776 arg2 = (int) SWIG_AsInt(obj1);
8777 if (PyErr_Occurred()) SWIG_fail;
8778 {
8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
8780 result = (bool)(arg1)->ScrollLines(arg2);
8781
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
8785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8786 return resultobj;
8787 fail:
8788 return NULL;
8789 }
8790
8791
8792 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
8793 PyObject *resultobj;
8794 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8795 int arg2 ;
8796 bool result;
8797 PyObject * obj0 = 0 ;
8798 PyObject * obj1 = 0 ;
8799 char *kwnames[] = {
8800 (char *) "self",(char *) "pages", NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
8804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8806 arg2 = (int) SWIG_AsInt(obj1);
8807 if (PyErr_Occurred()) SWIG_fail;
8808 {
8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
8810 result = (bool)(arg1)->ScrollPages(arg2);
8811
8812 wxPyEndAllowThreads(__tstate);
8813 if (PyErr_Occurred()) SWIG_fail;
8814 }
8815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8816 return resultobj;
8817 fail:
8818 return NULL;
8819 }
8820
8821
8822 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
8823 PyObject *resultobj;
8824 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8825 size_t arg2 ;
8826 PyObject * obj0 = 0 ;
8827 PyObject * obj1 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "self",(char *) "line", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8835 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8836 if (PyErr_Occurred()) SWIG_fail;
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 (arg1)->RefreshLine(arg2);
8840
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 }
8844 Py_INCREF(Py_None); resultobj = Py_None;
8845 return resultobj;
8846 fail:
8847 return NULL;
8848 }
8849
8850
8851 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
8852 PyObject *resultobj;
8853 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8854 size_t arg2 ;
8855 size_t arg3 ;
8856 PyObject * obj0 = 0 ;
8857 PyObject * obj1 = 0 ;
8858 PyObject * obj2 = 0 ;
8859 char *kwnames[] = {
8860 (char *) "self",(char *) "from",(char *) "to", NULL
8861 };
8862
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8866 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8867 if (PyErr_Occurred()) SWIG_fail;
8868 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 {
8871 PyThreadState* __tstate = wxPyBeginAllowThreads();
8872 (arg1)->RefreshLines(arg2,arg3);
8873
8874 wxPyEndAllowThreads(__tstate);
8875 if (PyErr_Occurred()) SWIG_fail;
8876 }
8877 Py_INCREF(Py_None); resultobj = Py_None;
8878 return resultobj;
8879 fail:
8880 return NULL;
8881 }
8882
8883
8884 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *, PyObject *args, PyObject *kwargs) {
8885 PyObject *resultobj;
8886 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8887 int arg2 ;
8888 int arg3 ;
8889 int result;
8890 PyObject * obj0 = 0 ;
8891 PyObject * obj1 = 0 ;
8892 PyObject * obj2 = 0 ;
8893 char *kwnames[] = {
8894 (char *) "self",(char *) "x",(char *) "y", NULL
8895 };
8896
8897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
8898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8900 arg2 = (int) SWIG_AsInt(obj1);
8901 if (PyErr_Occurred()) SWIG_fail;
8902 arg3 = (int) SWIG_AsInt(obj2);
8903 if (PyErr_Occurred()) SWIG_fail;
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
8911 resultobj = SWIG_FromInt((int)result);
8912 return resultobj;
8913 fail:
8914 return NULL;
8915 }
8916
8917
8918 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8919 PyObject *resultobj;
8920 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8921 wxPoint *arg2 = 0 ;
8922 int result;
8923 wxPoint temp2 ;
8924 PyObject * obj0 = 0 ;
8925 PyObject * obj1 = 0 ;
8926 char *kwnames[] = {
8927 (char *) "self",(char *) "pt", NULL
8928 };
8929
8930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8933 {
8934 arg2 = &temp2;
8935 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8936 }
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8939 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8940
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 resultobj = SWIG_FromInt((int)result);
8945 return resultobj;
8946 fail:
8947 return NULL;
8948 }
8949
8950
8951 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj;
8953 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8954 PyObject * obj0 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8962 {
8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
8964 (arg1)->RefreshAll();
8965
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 Py_INCREF(Py_None); resultobj = Py_None;
8970 return resultobj;
8971 fail:
8972 return NULL;
8973 }
8974
8975
8976 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
8977 PyObject *resultobj;
8978 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8979 size_t result;
8980 PyObject * obj0 = 0 ;
8981 char *kwnames[] = {
8982 (char *) "self", NULL
8983 };
8984
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8991
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
8996 return resultobj;
8997 fail:
8998 return NULL;
8999 }
9000
9001
9002 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj;
9004 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9005 size_t result;
9006 PyObject * obj0 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9014 {
9015 PyThreadState* __tstate = wxPyBeginAllowThreads();
9016 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9017
9018 wxPyEndAllowThreads(__tstate);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 }
9021 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9022 return resultobj;
9023 fail:
9024 return NULL;
9025 }
9026
9027
9028 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9029 PyObject *resultobj;
9030 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9031 size_t result;
9032 PyObject * obj0 = 0 ;
9033 char *kwnames[] = {
9034 (char *) "self", NULL
9035 };
9036
9037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9043
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9048 return resultobj;
9049 fail:
9050 return NULL;
9051 }
9052
9053
9054 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9055 PyObject *resultobj;
9056 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9057 size_t arg2 ;
9058 bool result;
9059 PyObject * obj0 = 0 ;
9060 PyObject * obj1 = 0 ;
9061 char *kwnames[] = {
9062 (char *) "self",(char *) "line", NULL
9063 };
9064
9065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9068 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9078 return resultobj;
9079 fail:
9080 return NULL;
9081 }
9082
9083
9084 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9085 PyObject *obj;
9086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9087 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9088 Py_INCREF(obj);
9089 return Py_BuildValue((char *)"");
9090 }
9091 static int _wrap_VListBoxNameStr_set(PyObject *) {
9092 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9093 return 1;
9094 }
9095
9096
9097 static PyObject *_wrap_VListBoxNameStr_get() {
9098 PyObject *pyobj;
9099
9100 {
9101 #if wxUSE_UNICODE
9102 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9103 #else
9104 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9105 #endif
9106 }
9107 return pyobj;
9108 }
9109
9110
9111 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj;
9113 wxWindow *arg1 = (wxWindow *) 0 ;
9114 int arg2 = (int) wxID_ANY ;
9115 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9116 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9117 wxSize const &arg4_defvalue = wxDefaultSize ;
9118 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9119 long arg5 = (long) 0 ;
9120 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9121 wxString *arg6 = (wxString *) &arg6_defvalue ;
9122 wxPyVListBox *result;
9123 wxPoint temp3 ;
9124 wxSize temp4 ;
9125 bool temp6 = False ;
9126 PyObject * obj0 = 0 ;
9127 PyObject * obj1 = 0 ;
9128 PyObject * obj2 = 0 ;
9129 PyObject * obj3 = 0 ;
9130 PyObject * obj4 = 0 ;
9131 PyObject * obj5 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9139 if (obj1) {
9140 arg2 = (int) SWIG_AsInt(obj1);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 }
9143 if (obj2) {
9144 {
9145 arg3 = &temp3;
9146 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9147 }
9148 }
9149 if (obj3) {
9150 {
9151 arg4 = &temp4;
9152 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9153 }
9154 }
9155 if (obj4) {
9156 arg5 = (long) SWIG_AsLong(obj4);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 if (obj5) {
9160 {
9161 arg6 = wxString_in_helper(obj5);
9162 if (arg6 == NULL) SWIG_fail;
9163 temp6 = True;
9164 }
9165 }
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9169
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9174 {
9175 if (temp6)
9176 delete arg6;
9177 }
9178 return resultobj;
9179 fail:
9180 {
9181 if (temp6)
9182 delete arg6;
9183 }
9184 return NULL;
9185 }
9186
9187
9188 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9189 PyObject *resultobj;
9190 wxPyVListBox *result;
9191 char *kwnames[] = {
9192 NULL
9193 };
9194
9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 result = (wxPyVListBox *)new wxPyVListBox();
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9204 return resultobj;
9205 fail:
9206 return NULL;
9207 }
9208
9209
9210 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9213 PyObject *arg2 = (PyObject *) 0 ;
9214 PyObject *arg3 = (PyObject *) 0 ;
9215 PyObject * obj0 = 0 ;
9216 PyObject * obj1 = 0 ;
9217 PyObject * obj2 = 0 ;
9218 char *kwnames[] = {
9219 (char *) "self",(char *) "self",(char *) "_class", NULL
9220 };
9221
9222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9225 arg2 = obj1;
9226 arg3 = obj2;
9227 {
9228 PyThreadState* __tstate = wxPyBeginAllowThreads();
9229 (arg1)->_setCallbackInfo(arg2,arg3);
9230
9231 wxPyEndAllowThreads(__tstate);
9232 if (PyErr_Occurred()) SWIG_fail;
9233 }
9234 Py_INCREF(Py_None); resultobj = Py_None;
9235 return resultobj;
9236 fail:
9237 return NULL;
9238 }
9239
9240
9241 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9242 PyObject *resultobj;
9243 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9244 wxWindow *arg2 = (wxWindow *) 0 ;
9245 int arg3 = (int) wxID_ANY ;
9246 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9247 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9248 wxSize const &arg5_defvalue = wxDefaultSize ;
9249 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9250 long arg6 = (long) 0 ;
9251 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9252 wxString *arg7 = (wxString *) &arg7_defvalue ;
9253 bool result;
9254 wxPoint temp4 ;
9255 wxSize temp5 ;
9256 bool temp7 = False ;
9257 PyObject * obj0 = 0 ;
9258 PyObject * obj1 = 0 ;
9259 PyObject * obj2 = 0 ;
9260 PyObject * obj3 = 0 ;
9261 PyObject * obj4 = 0 ;
9262 PyObject * obj5 = 0 ;
9263 PyObject * obj6 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9273 if (obj2) {
9274 arg3 = (int) SWIG_AsInt(obj2);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 if (obj3) {
9278 {
9279 arg4 = &temp4;
9280 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9281 }
9282 }
9283 if (obj4) {
9284 {
9285 arg5 = &temp5;
9286 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9287 }
9288 }
9289 if (obj5) {
9290 arg6 = (long) SWIG_AsLong(obj5);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 }
9293 if (obj6) {
9294 {
9295 arg7 = wxString_in_helper(obj6);
9296 if (arg7 == NULL) SWIG_fail;
9297 temp7 = True;
9298 }
9299 }
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9303
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9308 {
9309 if (temp7)
9310 delete arg7;
9311 }
9312 return resultobj;
9313 fail:
9314 {
9315 if (temp7)
9316 delete arg7;
9317 }
9318 return NULL;
9319 }
9320
9321
9322 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
9323 PyObject *resultobj;
9324 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9325 size_t result;
9326 PyObject * obj0 = 0 ;
9327 char *kwnames[] = {
9328 (char *) "self", NULL
9329 };
9330
9331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9334 {
9335 PyThreadState* __tstate = wxPyBeginAllowThreads();
9336 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9337
9338 wxPyEndAllowThreads(__tstate);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 }
9341 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9342 return resultobj;
9343 fail:
9344 return NULL;
9345 }
9346
9347
9348 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9349 PyObject *resultobj;
9350 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9351 bool result;
9352 PyObject * obj0 = 0 ;
9353 char *kwnames[] = {
9354 (char *) "self", NULL
9355 };
9356
9357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9363
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
9367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9368 return resultobj;
9369 fail:
9370 return NULL;
9371 }
9372
9373
9374 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9375 PyObject *resultobj;
9376 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9377 int result;
9378 PyObject * obj0 = 0 ;
9379 char *kwnames[] = {
9380 (char *) "self", NULL
9381 };
9382
9383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9386 {
9387 PyThreadState* __tstate = wxPyBeginAllowThreads();
9388 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9389
9390 wxPyEndAllowThreads(__tstate);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
9393 resultobj = SWIG_FromInt((int)result);
9394 return resultobj;
9395 fail:
9396 return NULL;
9397 }
9398
9399
9400 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
9401 PyObject *resultobj;
9402 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9403 size_t arg2 ;
9404 bool result;
9405 PyObject * obj0 = 0 ;
9406 PyObject * obj1 = 0 ;
9407 char *kwnames[] = {
9408 (char *) "self",(char *) "item", NULL
9409 };
9410
9411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9414 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 {
9417 PyThreadState* __tstate = wxPyBeginAllowThreads();
9418 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9419
9420 wxPyEndAllowThreads(__tstate);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 }
9423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9424 return resultobj;
9425 fail:
9426 return NULL;
9427 }
9428
9429
9430 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9431 PyObject *resultobj;
9432 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9433 size_t arg2 ;
9434 bool result;
9435 PyObject * obj0 = 0 ;
9436 PyObject * obj1 = 0 ;
9437 char *kwnames[] = {
9438 (char *) "self",(char *) "item", NULL
9439 };
9440
9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9444 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9445 if (PyErr_Occurred()) SWIG_fail;
9446 {
9447 PyThreadState* __tstate = wxPyBeginAllowThreads();
9448 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9454 return resultobj;
9455 fail:
9456 return NULL;
9457 }
9458
9459
9460 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
9461 PyObject *resultobj;
9462 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9463 size_t result;
9464 PyObject * obj0 = 0 ;
9465 char *kwnames[] = {
9466 (char *) "self", NULL
9467 };
9468
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9475
9476 wxPyEndAllowThreads(__tstate);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9480 return resultobj;
9481 fail:
9482 return NULL;
9483 }
9484
9485
9486 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9487 PyObject *resultobj;
9488 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9489 unsigned long *arg2 = 0 ;
9490 int result;
9491 PyObject * obj0 = 0 ;
9492 PyObject * obj1 = 0 ;
9493 char *kwnames[] = {
9494 (char *) "self",(char *) "cookie", NULL
9495 };
9496
9497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9501 SWIG_POINTER_EXCEPTION | 0)) == -1)
9502 SWIG_fail;
9503 if (arg2 == NULL) {
9504 PyErr_SetString(PyExc_TypeError,"null reference");
9505 SWIG_fail;
9506 }
9507 {
9508 PyThreadState* __tstate = wxPyBeginAllowThreads();
9509 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9510
9511 wxPyEndAllowThreads(__tstate);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 }
9514 resultobj = SWIG_FromInt((int)result);
9515 return resultobj;
9516 fail:
9517 return NULL;
9518 }
9519
9520
9521 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9522 PyObject *resultobj;
9523 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9524 unsigned long *arg2 = 0 ;
9525 int result;
9526 PyObject * obj0 = 0 ;
9527 PyObject * obj1 = 0 ;
9528 char *kwnames[] = {
9529 (char *) "self",(char *) "cookie", NULL
9530 };
9531
9532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9536 SWIG_POINTER_EXCEPTION | 0)) == -1)
9537 SWIG_fail;
9538 if (arg2 == NULL) {
9539 PyErr_SetString(PyExc_TypeError,"null reference");
9540 SWIG_fail;
9541 }
9542 {
9543 PyThreadState* __tstate = wxPyBeginAllowThreads();
9544 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9545
9546 wxPyEndAllowThreads(__tstate);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 }
9549 resultobj = SWIG_FromInt((int)result);
9550 return resultobj;
9551 fail:
9552 return NULL;
9553 }
9554
9555
9556 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
9557 PyObject *resultobj;
9558 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9559 wxPoint result;
9560 PyObject * obj0 = 0 ;
9561 char *kwnames[] = {
9562 (char *) "self", NULL
9563 };
9564
9565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 result = ((wxPyVListBox const *)arg1)->GetMargins();
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 {
9576 wxPoint * resultptr;
9577 resultptr = new wxPoint((wxPoint &) result);
9578 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9579 }
9580 return resultobj;
9581 fail:
9582 return NULL;
9583 }
9584
9585
9586 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj;
9588 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9589 wxColour *result;
9590 PyObject * obj0 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 {
9601 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9602 result = (wxColour *) &_result_ref;
9603 }
9604
9605 wxPyEndAllowThreads(__tstate);
9606 if (PyErr_Occurred()) SWIG_fail;
9607 }
9608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9609 return resultobj;
9610 fail:
9611 return NULL;
9612 }
9613
9614
9615 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
9616 PyObject *resultobj;
9617 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9618 size_t arg2 ;
9619 PyObject * obj0 = 0 ;
9620 PyObject * obj1 = 0 ;
9621 char *kwnames[] = {
9622 (char *) "self",(char *) "count", NULL
9623 };
9624
9625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9628 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 {
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
9632 (arg1)->SetItemCount(arg2);
9633
9634 wxPyEndAllowThreads(__tstate);
9635 if (PyErr_Occurred()) SWIG_fail;
9636 }
9637 Py_INCREF(Py_None); resultobj = Py_None;
9638 return resultobj;
9639 fail:
9640 return NULL;
9641 }
9642
9643
9644 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
9645 PyObject *resultobj;
9646 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9647 PyObject * obj0 = 0 ;
9648 char *kwnames[] = {
9649 (char *) "self", NULL
9650 };
9651
9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 (arg1)->Clear();
9658
9659 wxPyEndAllowThreads(__tstate);
9660 if (PyErr_Occurred()) SWIG_fail;
9661 }
9662 Py_INCREF(Py_None); resultobj = Py_None;
9663 return resultobj;
9664 fail:
9665 return NULL;
9666 }
9667
9668
9669 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9670 PyObject *resultobj;
9671 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9672 int arg2 ;
9673 PyObject * obj0 = 0 ;
9674 PyObject * obj1 = 0 ;
9675 char *kwnames[] = {
9676 (char *) "self",(char *) "selection", NULL
9677 };
9678
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9682 arg2 = (int) SWIG_AsInt(obj1);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 {
9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
9686 (arg1)->SetSelection(arg2);
9687
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 Py_INCREF(Py_None); resultobj = Py_None;
9692 return resultobj;
9693 fail:
9694 return NULL;
9695 }
9696
9697
9698 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj;
9700 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9701 size_t arg2 ;
9702 bool arg3 = (bool) True ;
9703 bool result;
9704 PyObject * obj0 = 0 ;
9705 PyObject * obj1 = 0 ;
9706 PyObject * obj2 = 0 ;
9707 char *kwnames[] = {
9708 (char *) "self",(char *) "item",(char *) "select", NULL
9709 };
9710
9711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9714 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 if (obj2) {
9717 arg3 = (bool) SWIG_AsBool(obj2);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 result = (bool)(arg1)->Select(arg2,arg3);
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9728 return resultobj;
9729 fail:
9730 return NULL;
9731 }
9732
9733
9734 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
9735 PyObject *resultobj;
9736 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9737 size_t arg2 ;
9738 size_t arg3 ;
9739 bool result;
9740 PyObject * obj0 = 0 ;
9741 PyObject * obj1 = 0 ;
9742 PyObject * obj2 = 0 ;
9743 char *kwnames[] = {
9744 (char *) "self",(char *) "from",(char *) "to", NULL
9745 };
9746
9747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9750 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9753 if (PyErr_Occurred()) SWIG_fail;
9754 {
9755 PyThreadState* __tstate = wxPyBeginAllowThreads();
9756 result = (bool)(arg1)->SelectRange(arg2,arg3);
9757
9758 wxPyEndAllowThreads(__tstate);
9759 if (PyErr_Occurred()) SWIG_fail;
9760 }
9761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9762 return resultobj;
9763 fail:
9764 return NULL;
9765 }
9766
9767
9768 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
9769 PyObject *resultobj;
9770 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9771 size_t arg2 ;
9772 PyObject * obj0 = 0 ;
9773 PyObject * obj1 = 0 ;
9774 char *kwnames[] = {
9775 (char *) "self",(char *) "item", NULL
9776 };
9777
9778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9781 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9782 if (PyErr_Occurred()) SWIG_fail;
9783 {
9784 PyThreadState* __tstate = wxPyBeginAllowThreads();
9785 (arg1)->Toggle(arg2);
9786
9787 wxPyEndAllowThreads(__tstate);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 }
9790 Py_INCREF(Py_None); resultobj = Py_None;
9791 return resultobj;
9792 fail:
9793 return NULL;
9794 }
9795
9796
9797 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
9798 PyObject *resultobj;
9799 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9800 bool result;
9801 PyObject * obj0 = 0 ;
9802 char *kwnames[] = {
9803 (char *) "self", NULL
9804 };
9805
9806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9809 {
9810 PyThreadState* __tstate = wxPyBeginAllowThreads();
9811 result = (bool)(arg1)->SelectAll();
9812
9813 wxPyEndAllowThreads(__tstate);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9817 return resultobj;
9818 fail:
9819 return NULL;
9820 }
9821
9822
9823 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
9824 PyObject *resultobj;
9825 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9826 bool result;
9827 PyObject * obj0 = 0 ;
9828 char *kwnames[] = {
9829 (char *) "self", NULL
9830 };
9831
9832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9835 {
9836 PyThreadState* __tstate = wxPyBeginAllowThreads();
9837 result = (bool)(arg1)->DeselectAll();
9838
9839 wxPyEndAllowThreads(__tstate);
9840 if (PyErr_Occurred()) SWIG_fail;
9841 }
9842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9843 return resultobj;
9844 fail:
9845 return NULL;
9846 }
9847
9848
9849 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
9850 PyObject *resultobj;
9851 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9852 wxPoint *arg2 = 0 ;
9853 wxPoint temp2 ;
9854 PyObject * obj0 = 0 ;
9855 PyObject * obj1 = 0 ;
9856 char *kwnames[] = {
9857 (char *) "self",(char *) "pt", NULL
9858 };
9859
9860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9863 {
9864 arg2 = &temp2;
9865 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9866 }
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 (arg1)->SetMargins((wxPoint const &)*arg2);
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 }
9874 Py_INCREF(Py_None); resultobj = Py_None;
9875 return resultobj;
9876 fail:
9877 return NULL;
9878 }
9879
9880
9881 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
9882 PyObject *resultobj;
9883 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9884 int arg2 ;
9885 int arg3 ;
9886 PyObject * obj0 = 0 ;
9887 PyObject * obj1 = 0 ;
9888 PyObject * obj2 = 0 ;
9889 char *kwnames[] = {
9890 (char *) "self",(char *) "x",(char *) "y", NULL
9891 };
9892
9893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9896 arg2 = (int) SWIG_AsInt(obj1);
9897 if (PyErr_Occurred()) SWIG_fail;
9898 arg3 = (int) SWIG_AsInt(obj2);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 (arg1)->SetMargins(arg2,arg3);
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 Py_INCREF(Py_None); resultobj = Py_None;
9908 return resultobj;
9909 fail:
9910 return NULL;
9911 }
9912
9913
9914 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
9915 PyObject *resultobj;
9916 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9917 wxColour *arg2 = 0 ;
9918 wxColour temp2 ;
9919 PyObject * obj0 = 0 ;
9920 PyObject * obj1 = 0 ;
9921 char *kwnames[] = {
9922 (char *) "self",(char *) "col", NULL
9923 };
9924
9925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9928 {
9929 arg2 = &temp2;
9930 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9931 }
9932 {
9933 PyThreadState* __tstate = wxPyBeginAllowThreads();
9934 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9935
9936 wxPyEndAllowThreads(__tstate);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 }
9939 Py_INCREF(Py_None); resultobj = Py_None;
9940 return resultobj;
9941 fail:
9942 return NULL;
9943 }
9944
9945
9946 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
9947 PyObject *obj;
9948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9949 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9950 Py_INCREF(obj);
9951 return Py_BuildValue((char *)"");
9952 }
9953 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxWindow *arg1 = (wxWindow *) 0 ;
9956 int arg2 = (int) wxID_ANY ;
9957 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9958 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9959 wxSize const &arg4_defvalue = wxDefaultSize ;
9960 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9961 long arg5 = (long) 0 ;
9962 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9963 wxString *arg6 = (wxString *) &arg6_defvalue ;
9964 wxPyHtmlListBox *result;
9965 wxPoint temp3 ;
9966 wxSize temp4 ;
9967 bool temp6 = False ;
9968 PyObject * obj0 = 0 ;
9969 PyObject * obj1 = 0 ;
9970 PyObject * obj2 = 0 ;
9971 PyObject * obj3 = 0 ;
9972 PyObject * obj4 = 0 ;
9973 PyObject * obj5 = 0 ;
9974 char *kwnames[] = {
9975 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9976 };
9977
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9981 if (obj1) {
9982 arg2 = (int) SWIG_AsInt(obj1);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 if (obj2) {
9986 {
9987 arg3 = &temp3;
9988 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9989 }
9990 }
9991 if (obj3) {
9992 {
9993 arg4 = &temp4;
9994 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9995 }
9996 }
9997 if (obj4) {
9998 arg5 = (long) SWIG_AsLong(obj4);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 if (obj5) {
10002 {
10003 arg6 = wxString_in_helper(obj5);
10004 if (arg6 == NULL) SWIG_fail;
10005 temp6 = True;
10006 }
10007 }
10008 {
10009 PyThreadState* __tstate = wxPyBeginAllowThreads();
10010 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10011
10012 wxPyEndAllowThreads(__tstate);
10013 if (PyErr_Occurred()) SWIG_fail;
10014 }
10015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10016 {
10017 if (temp6)
10018 delete arg6;
10019 }
10020 return resultobj;
10021 fail:
10022 {
10023 if (temp6)
10024 delete arg6;
10025 }
10026 return NULL;
10027 }
10028
10029
10030 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10031 PyObject *resultobj;
10032 wxPyHtmlListBox *result;
10033 char *kwnames[] = {
10034 NULL
10035 };
10036
10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10038 {
10039 PyThreadState* __tstate = wxPyBeginAllowThreads();
10040 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10041
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10046 return resultobj;
10047 fail:
10048 return NULL;
10049 }
10050
10051
10052 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10053 PyObject *resultobj;
10054 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10055 PyObject *arg2 = (PyObject *) 0 ;
10056 PyObject *arg3 = (PyObject *) 0 ;
10057 PyObject * obj0 = 0 ;
10058 PyObject * obj1 = 0 ;
10059 PyObject * obj2 = 0 ;
10060 char *kwnames[] = {
10061 (char *) "self",(char *) "self",(char *) "_class", NULL
10062 };
10063
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10067 arg2 = obj1;
10068 arg3 = obj2;
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 (arg1)->_setCallbackInfo(arg2,arg3);
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 Py_INCREF(Py_None); resultobj = Py_None;
10077 return resultobj;
10078 fail:
10079 return NULL;
10080 }
10081
10082
10083 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10086 wxWindow *arg2 = (wxWindow *) 0 ;
10087 int arg3 = (int) wxID_ANY ;
10088 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10089 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10090 wxSize const &arg5_defvalue = wxDefaultSize ;
10091 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10092 long arg6 = (long) 0 ;
10093 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10094 wxString *arg7 = (wxString *) &arg7_defvalue ;
10095 bool result;
10096 wxPoint temp4 ;
10097 wxSize temp5 ;
10098 bool temp7 = False ;
10099 PyObject * obj0 = 0 ;
10100 PyObject * obj1 = 0 ;
10101 PyObject * obj2 = 0 ;
10102 PyObject * obj3 = 0 ;
10103 PyObject * obj4 = 0 ;
10104 PyObject * obj5 = 0 ;
10105 PyObject * obj6 = 0 ;
10106 char *kwnames[] = {
10107 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10108 };
10109
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10115 if (obj2) {
10116 arg3 = (int) SWIG_AsInt(obj2);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
10119 if (obj3) {
10120 {
10121 arg4 = &temp4;
10122 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10123 }
10124 }
10125 if (obj4) {
10126 {
10127 arg5 = &temp5;
10128 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10129 }
10130 }
10131 if (obj5) {
10132 arg6 = (long) SWIG_AsLong(obj5);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 if (obj6) {
10136 {
10137 arg7 = wxString_in_helper(obj6);
10138 if (arg7 == NULL) SWIG_fail;
10139 temp7 = True;
10140 }
10141 }
10142 {
10143 PyThreadState* __tstate = wxPyBeginAllowThreads();
10144 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10145
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10150 {
10151 if (temp7)
10152 delete arg7;
10153 }
10154 return resultobj;
10155 fail:
10156 {
10157 if (temp7)
10158 delete arg7;
10159 }
10160 return NULL;
10161 }
10162
10163
10164 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
10165 PyObject *resultobj;
10166 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10167 PyObject * obj0 = 0 ;
10168 char *kwnames[] = {
10169 (char *) "self", NULL
10170 };
10171
10172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 (arg1)->RefreshAll();
10178
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 Py_INCREF(Py_None); resultobj = Py_None;
10183 return resultobj;
10184 fail:
10185 return NULL;
10186 }
10187
10188
10189 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10190 PyObject *resultobj;
10191 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10192 size_t arg2 ;
10193 PyObject * obj0 = 0 ;
10194 PyObject * obj1 = 0 ;
10195 char *kwnames[] = {
10196 (char *) "self",(char *) "count", NULL
10197 };
10198
10199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10202 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 (arg1)->SetItemCount(arg2);
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 Py_INCREF(Py_None); resultobj = Py_None;
10212 return resultobj;
10213 fail:
10214 return NULL;
10215 }
10216
10217
10218 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
10219 PyObject *obj;
10220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10221 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10222 Py_INCREF(obj);
10223 return Py_BuildValue((char *)"");
10224 }
10225 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
10226 PyObject *resultobj;
10227 wxTaskBarIcon *result;
10228 char *kwnames[] = {
10229 NULL
10230 };
10231
10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10241 return resultobj;
10242 fail:
10243 return NULL;
10244 }
10245
10246
10247 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
10248 PyObject *resultobj;
10249 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10250 PyObject * obj0 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10258 {
10259 PyThreadState* __tstate = wxPyBeginAllowThreads();
10260 delete arg1;
10261
10262 wxPyEndAllowThreads(__tstate);
10263 if (PyErr_Occurred()) SWIG_fail;
10264 }
10265 Py_INCREF(Py_None); resultobj = Py_None;
10266 return resultobj;
10267 fail:
10268 return NULL;
10269 }
10270
10271
10272 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
10273 PyObject *obj;
10274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10275 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10276 Py_INCREF(obj);
10277 return Py_BuildValue((char *)"");
10278 }
10279 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10280 PyObject *resultobj;
10281 wxEventType arg1 ;
10282 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10283 wxTaskBarIconEvent *result;
10284 PyObject * obj0 = 0 ;
10285 PyObject * obj1 = 0 ;
10286 char *kwnames[] = {
10287 (char *) "evtType",(char *) "tbIcon", NULL
10288 };
10289
10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10291 arg1 = (wxEventType) SWIG_AsInt(obj0);
10292 if (PyErr_Occurred()) SWIG_fail;
10293 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10295 {
10296 PyThreadState* __tstate = wxPyBeginAllowThreads();
10297 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10298
10299 wxPyEndAllowThreads(__tstate);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 }
10302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10303 return resultobj;
10304 fail:
10305 return NULL;
10306 }
10307
10308
10309 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
10310 PyObject *obj;
10311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10312 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10313 Py_INCREF(obj);
10314 return Py_BuildValue((char *)"");
10315 }
10316 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
10317 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10318 return 1;
10319 }
10320
10321
10322 static PyObject *_wrap_FileSelectorPromptStr_get() {
10323 PyObject *pyobj;
10324
10325 {
10326 #if wxUSE_UNICODE
10327 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10328 #else
10329 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10330 #endif
10331 }
10332 return pyobj;
10333 }
10334
10335
10336 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
10337 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10338 return 1;
10339 }
10340
10341
10342 static PyObject *_wrap_DirSelectorPromptStr_get() {
10343 PyObject *pyobj;
10344
10345 {
10346 #if wxUSE_UNICODE
10347 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10348 #else
10349 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10350 #endif
10351 }
10352 return pyobj;
10353 }
10354
10355
10356 static int _wrap_DirDialogNameStr_set(PyObject *) {
10357 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10358 return 1;
10359 }
10360
10361
10362 static PyObject *_wrap_DirDialogNameStr_get() {
10363 PyObject *pyobj;
10364
10365 {
10366 #if wxUSE_UNICODE
10367 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10368 #else
10369 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10370 #endif
10371 }
10372 return pyobj;
10373 }
10374
10375
10376 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
10377 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10378 return 1;
10379 }
10380
10381
10382 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10383 PyObject *pyobj;
10384
10385 {
10386 #if wxUSE_UNICODE
10387 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10388 #else
10389 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10390 #endif
10391 }
10392 return pyobj;
10393 }
10394
10395
10396 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
10397 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10398 return 1;
10399 }
10400
10401
10402 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10403 PyObject *pyobj;
10404
10405 {
10406 #if wxUSE_UNICODE
10407 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10408 #else
10409 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10410 #endif
10411 }
10412 return pyobj;
10413 }
10414
10415
10416 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
10417 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10418 return 1;
10419 }
10420
10421
10422 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10423 PyObject *pyobj;
10424
10425 {
10426 #if wxUSE_UNICODE
10427 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10428 #else
10429 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10430 #endif
10431 }
10432 return pyobj;
10433 }
10434
10435
10436 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj;
10438 wxColourData *result;
10439 char *kwnames[] = {
10440 NULL
10441 };
10442
10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 result = (wxColourData *)new wxColourData();
10447
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10452 return resultobj;
10453 fail:
10454 return NULL;
10455 }
10456
10457
10458 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxColourData *arg1 = (wxColourData *) 0 ;
10461 PyObject * obj0 = 0 ;
10462 char *kwnames[] = {
10463 (char *) "self", NULL
10464 };
10465
10466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 delete arg1;
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 Py_INCREF(Py_None); resultobj = Py_None;
10477 return resultobj;
10478 fail:
10479 return NULL;
10480 }
10481
10482
10483 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxColourData *arg1 = (wxColourData *) 0 ;
10486 bool result;
10487 PyObject * obj0 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 result = (bool)(arg1)->GetChooseFull();
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10503 return resultobj;
10504 fail:
10505 return NULL;
10506 }
10507
10508
10509 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
10510 PyObject *resultobj;
10511 wxColourData *arg1 = (wxColourData *) 0 ;
10512 wxColour result;
10513 PyObject * obj0 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "self", NULL
10516 };
10517
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 result = (arg1)->GetColour();
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 {
10529 wxColour * resultptr;
10530 resultptr = new wxColour((wxColour &) result);
10531 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10532 }
10533 return resultobj;
10534 fail:
10535 return NULL;
10536 }
10537
10538
10539 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
10540 PyObject *resultobj;
10541 wxColourData *arg1 = (wxColourData *) 0 ;
10542 int arg2 ;
10543 wxColour result;
10544 PyObject * obj0 = 0 ;
10545 PyObject * obj1 = 0 ;
10546 char *kwnames[] = {
10547 (char *) "self",(char *) "i", NULL
10548 };
10549
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10553 arg2 = (int) SWIG_AsInt(obj1);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 {
10556 PyThreadState* __tstate = wxPyBeginAllowThreads();
10557 result = (arg1)->GetCustomColour(arg2);
10558
10559 wxPyEndAllowThreads(__tstate);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
10562 {
10563 wxColour * resultptr;
10564 resultptr = new wxColour((wxColour &) result);
10565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10566 }
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj;
10575 wxColourData *arg1 = (wxColourData *) 0 ;
10576 int arg2 ;
10577 PyObject * obj0 = 0 ;
10578 PyObject * obj1 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self",(char *) "flag", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10586 arg2 = (int) SWIG_AsInt(obj1);
10587 if (PyErr_Occurred()) SWIG_fail;
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 (arg1)->SetChooseFull(arg2);
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 Py_INCREF(Py_None); resultobj = Py_None;
10596 return resultobj;
10597 fail:
10598 return NULL;
10599 }
10600
10601
10602 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
10603 PyObject *resultobj;
10604 wxColourData *arg1 = (wxColourData *) 0 ;
10605 wxColour *arg2 = 0 ;
10606 wxColour temp2 ;
10607 PyObject * obj0 = 0 ;
10608 PyObject * obj1 = 0 ;
10609 char *kwnames[] = {
10610 (char *) "self",(char *) "colour", NULL
10611 };
10612
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10616 {
10617 arg2 = &temp2;
10618 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10619 }
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 (arg1)->SetColour((wxColour const &)*arg2);
10623
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 Py_INCREF(Py_None); resultobj = Py_None;
10628 return resultobj;
10629 fail:
10630 return NULL;
10631 }
10632
10633
10634 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj;
10636 wxColourData *arg1 = (wxColourData *) 0 ;
10637 int arg2 ;
10638 wxColour *arg3 = 0 ;
10639 wxColour temp3 ;
10640 PyObject * obj0 = 0 ;
10641 PyObject * obj1 = 0 ;
10642 PyObject * obj2 = 0 ;
10643 char *kwnames[] = {
10644 (char *) "self",(char *) "i",(char *) "colour", NULL
10645 };
10646
10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10650 arg2 = (int) SWIG_AsInt(obj1);
10651 if (PyErr_Occurred()) SWIG_fail;
10652 {
10653 arg3 = &temp3;
10654 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10655 }
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10659
10660 wxPyEndAllowThreads(__tstate);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 }
10663 Py_INCREF(Py_None); resultobj = Py_None;
10664 return resultobj;
10665 fail:
10666 return NULL;
10667 }
10668
10669
10670 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
10671 PyObject *obj;
10672 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10673 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10674 Py_INCREF(obj);
10675 return Py_BuildValue((char *)"");
10676 }
10677 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
10678 PyObject *resultobj;
10679 wxWindow *arg1 = (wxWindow *) 0 ;
10680 wxColourData *arg2 = (wxColourData *) NULL ;
10681 wxColourDialog *result;
10682 PyObject * obj0 = 0 ;
10683 PyObject * obj1 = 0 ;
10684 char *kwnames[] = {
10685 (char *) "parent",(char *) "data", NULL
10686 };
10687
10688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10691 if (obj1) {
10692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
10693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10694 }
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
10703 return resultobj;
10704 fail:
10705 return NULL;
10706 }
10707
10708
10709 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10710 PyObject *resultobj;
10711 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10712 wxColourData *result;
10713 PyObject * obj0 = 0 ;
10714 char *kwnames[] = {
10715 (char *) "self", NULL
10716 };
10717
10718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
10720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 {
10724 wxColourData &_result_ref = (arg1)->GetColourData();
10725 result = (wxColourData *) &_result_ref;
10726 }
10727
10728 wxPyEndAllowThreads(__tstate);
10729 if (PyErr_Occurred()) SWIG_fail;
10730 }
10731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
10732 return resultobj;
10733 fail:
10734 return NULL;
10735 }
10736
10737
10738 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
10739 PyObject *obj;
10740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10741 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10742 Py_INCREF(obj);
10743 return Py_BuildValue((char *)"");
10744 }
10745 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
10746 PyObject *resultobj;
10747 wxWindow *arg1 = (wxWindow *) 0 ;
10748 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10749 wxString *arg2 = (wxString *) &arg2_defvalue ;
10750 wxString const &arg3_defvalue = wxPyEmptyString ;
10751 wxString *arg3 = (wxString *) &arg3_defvalue ;
10752 long arg4 = (long) 0 ;
10753 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10754 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10755 wxSize const &arg6_defvalue = wxDefaultSize ;
10756 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10757 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10758 wxString *arg7 = (wxString *) &arg7_defvalue ;
10759 wxDirDialog *result;
10760 bool temp2 = False ;
10761 bool temp3 = False ;
10762 wxPoint temp5 ;
10763 wxSize temp6 ;
10764 bool temp7 = False ;
10765 PyObject * obj0 = 0 ;
10766 PyObject * obj1 = 0 ;
10767 PyObject * obj2 = 0 ;
10768 PyObject * obj3 = 0 ;
10769 PyObject * obj4 = 0 ;
10770 PyObject * obj5 = 0 ;
10771 PyObject * obj6 = 0 ;
10772 char *kwnames[] = {
10773 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10774 };
10775
10776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10779 if (obj1) {
10780 {
10781 arg2 = wxString_in_helper(obj1);
10782 if (arg2 == NULL) SWIG_fail;
10783 temp2 = True;
10784 }
10785 }
10786 if (obj2) {
10787 {
10788 arg3 = wxString_in_helper(obj2);
10789 if (arg3 == NULL) SWIG_fail;
10790 temp3 = True;
10791 }
10792 }
10793 if (obj3) {
10794 arg4 = (long) SWIG_AsLong(obj3);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 if (obj4) {
10798 {
10799 arg5 = &temp5;
10800 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10801 }
10802 }
10803 if (obj5) {
10804 {
10805 arg6 = &temp6;
10806 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10807 }
10808 }
10809 if (obj6) {
10810 {
10811 arg7 = wxString_in_helper(obj6);
10812 if (arg7 == NULL) SWIG_fail;
10813 temp7 = True;
10814 }
10815 }
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10819
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
10824 {
10825 if (temp2)
10826 delete arg2;
10827 }
10828 {
10829 if (temp3)
10830 delete arg3;
10831 }
10832 {
10833 if (temp7)
10834 delete arg7;
10835 }
10836 return resultobj;
10837 fail:
10838 {
10839 if (temp2)
10840 delete arg2;
10841 }
10842 {
10843 if (temp3)
10844 delete arg3;
10845 }
10846 {
10847 if (temp7)
10848 delete arg7;
10849 }
10850 return NULL;
10851 }
10852
10853
10854 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
10855 PyObject *resultobj;
10856 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10857 wxString result;
10858 PyObject * obj0 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "self", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
10865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10866 {
10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
10868 result = (arg1)->GetPath();
10869
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 {
10874 #if wxUSE_UNICODE
10875 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10876 #else
10877 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10878 #endif
10879 }
10880 return resultobj;
10881 fail:
10882 return NULL;
10883 }
10884
10885
10886 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
10887 PyObject *resultobj;
10888 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10889 wxString result;
10890 PyObject * obj0 = 0 ;
10891 char *kwnames[] = {
10892 (char *) "self", NULL
10893 };
10894
10895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
10897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 result = (arg1)->GetMessage();
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
10905 {
10906 #if wxUSE_UNICODE
10907 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10908 #else
10909 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10910 #endif
10911 }
10912 return resultobj;
10913 fail:
10914 return NULL;
10915 }
10916
10917
10918 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10919 PyObject *resultobj;
10920 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10921 long result;
10922 PyObject * obj0 = 0 ;
10923 char *kwnames[] = {
10924 (char *) "self", NULL
10925 };
10926
10927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
10929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10930 {
10931 PyThreadState* __tstate = wxPyBeginAllowThreads();
10932 result = (long)(arg1)->GetStyle();
10933
10934 wxPyEndAllowThreads(__tstate);
10935 if (PyErr_Occurred()) SWIG_fail;
10936 }
10937 resultobj = SWIG_FromLong((long)result);
10938 return resultobj;
10939 fail:
10940 return NULL;
10941 }
10942
10943
10944 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
10945 PyObject *resultobj;
10946 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10947 wxString *arg2 = 0 ;
10948 bool temp2 = False ;
10949 PyObject * obj0 = 0 ;
10950 PyObject * obj1 = 0 ;
10951 char *kwnames[] = {
10952 (char *) "self",(char *) "message", NULL
10953 };
10954
10955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
10957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10958 {
10959 arg2 = wxString_in_helper(obj1);
10960 if (arg2 == NULL) SWIG_fail;
10961 temp2 = True;
10962 }
10963 {
10964 PyThreadState* __tstate = wxPyBeginAllowThreads();
10965 (arg1)->SetMessage((wxString const &)*arg2);
10966
10967 wxPyEndAllowThreads(__tstate);
10968 if (PyErr_Occurred()) SWIG_fail;
10969 }
10970 Py_INCREF(Py_None); resultobj = Py_None;
10971 {
10972 if (temp2)
10973 delete arg2;
10974 }
10975 return resultobj;
10976 fail:
10977 {
10978 if (temp2)
10979 delete arg2;
10980 }
10981 return NULL;
10982 }
10983
10984
10985 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
10986 PyObject *resultobj;
10987 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10988 wxString *arg2 = 0 ;
10989 bool temp2 = False ;
10990 PyObject * obj0 = 0 ;
10991 PyObject * obj1 = 0 ;
10992 char *kwnames[] = {
10993 (char *) "self",(char *) "path", NULL
10994 };
10995
10996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
10998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10999 {
11000 arg2 = wxString_in_helper(obj1);
11001 if (arg2 == NULL) SWIG_fail;
11002 temp2 = True;
11003 }
11004 {
11005 PyThreadState* __tstate = wxPyBeginAllowThreads();
11006 (arg1)->SetPath((wxString const &)*arg2);
11007
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 Py_INCREF(Py_None); resultobj = Py_None;
11012 {
11013 if (temp2)
11014 delete arg2;
11015 }
11016 return resultobj;
11017 fail:
11018 {
11019 if (temp2)
11020 delete arg2;
11021 }
11022 return NULL;
11023 }
11024
11025
11026 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
11027 PyObject *obj;
11028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11029 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11030 Py_INCREF(obj);
11031 return Py_BuildValue((char *)"");
11032 }
11033 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11034 PyObject *resultobj;
11035 wxWindow *arg1 = (wxWindow *) 0 ;
11036 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11037 wxString *arg2 = (wxString *) &arg2_defvalue ;
11038 wxString const &arg3_defvalue = wxPyEmptyString ;
11039 wxString *arg3 = (wxString *) &arg3_defvalue ;
11040 wxString const &arg4_defvalue = wxPyEmptyString ;
11041 wxString *arg4 = (wxString *) &arg4_defvalue ;
11042 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11043 wxString *arg5 = (wxString *) &arg5_defvalue ;
11044 long arg6 = (long) 0 ;
11045 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11046 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11047 wxFileDialog *result;
11048 bool temp2 = False ;
11049 bool temp3 = False ;
11050 bool temp4 = False ;
11051 bool temp5 = False ;
11052 wxPoint temp7 ;
11053 PyObject * obj0 = 0 ;
11054 PyObject * obj1 = 0 ;
11055 PyObject * obj2 = 0 ;
11056 PyObject * obj3 = 0 ;
11057 PyObject * obj4 = 0 ;
11058 PyObject * obj5 = 0 ;
11059 PyObject * obj6 = 0 ;
11060 char *kwnames[] = {
11061 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11062 };
11063
11064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11067 if (obj1) {
11068 {
11069 arg2 = wxString_in_helper(obj1);
11070 if (arg2 == NULL) SWIG_fail;
11071 temp2 = True;
11072 }
11073 }
11074 if (obj2) {
11075 {
11076 arg3 = wxString_in_helper(obj2);
11077 if (arg3 == NULL) SWIG_fail;
11078 temp3 = True;
11079 }
11080 }
11081 if (obj3) {
11082 {
11083 arg4 = wxString_in_helper(obj3);
11084 if (arg4 == NULL) SWIG_fail;
11085 temp4 = True;
11086 }
11087 }
11088 if (obj4) {
11089 {
11090 arg5 = wxString_in_helper(obj4);
11091 if (arg5 == NULL) SWIG_fail;
11092 temp5 = True;
11093 }
11094 }
11095 if (obj5) {
11096 arg6 = (long) SWIG_AsLong(obj5);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 if (obj6) {
11100 {
11101 arg7 = &temp7;
11102 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11103 }
11104 }
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11113 {
11114 if (temp2)
11115 delete arg2;
11116 }
11117 {
11118 if (temp3)
11119 delete arg3;
11120 }
11121 {
11122 if (temp4)
11123 delete arg4;
11124 }
11125 {
11126 if (temp5)
11127 delete arg5;
11128 }
11129 return resultobj;
11130 fail:
11131 {
11132 if (temp2)
11133 delete arg2;
11134 }
11135 {
11136 if (temp3)
11137 delete arg3;
11138 }
11139 {
11140 if (temp4)
11141 delete arg4;
11142 }
11143 {
11144 if (temp5)
11145 delete arg5;
11146 }
11147 return NULL;
11148 }
11149
11150
11151 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11152 PyObject *resultobj;
11153 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11154 wxString *arg2 = 0 ;
11155 bool temp2 = False ;
11156 PyObject * obj0 = 0 ;
11157 PyObject * obj1 = 0 ;
11158 char *kwnames[] = {
11159 (char *) "self",(char *) "message", NULL
11160 };
11161
11162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11165 {
11166 arg2 = wxString_in_helper(obj1);
11167 if (arg2 == NULL) SWIG_fail;
11168 temp2 = True;
11169 }
11170 {
11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
11172 (arg1)->SetMessage((wxString const &)*arg2);
11173
11174 wxPyEndAllowThreads(__tstate);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 Py_INCREF(Py_None); resultobj = Py_None;
11178 {
11179 if (temp2)
11180 delete arg2;
11181 }
11182 return resultobj;
11183 fail:
11184 {
11185 if (temp2)
11186 delete arg2;
11187 }
11188 return NULL;
11189 }
11190
11191
11192 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11193 PyObject *resultobj;
11194 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11195 wxString *arg2 = 0 ;
11196 bool temp2 = False ;
11197 PyObject * obj0 = 0 ;
11198 PyObject * obj1 = 0 ;
11199 char *kwnames[] = {
11200 (char *) "self",(char *) "path", NULL
11201 };
11202
11203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11206 {
11207 arg2 = wxString_in_helper(obj1);
11208 if (arg2 == NULL) SWIG_fail;
11209 temp2 = True;
11210 }
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 (arg1)->SetPath((wxString const &)*arg2);
11214
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 Py_INCREF(Py_None); resultobj = Py_None;
11219 {
11220 if (temp2)
11221 delete arg2;
11222 }
11223 return resultobj;
11224 fail:
11225 {
11226 if (temp2)
11227 delete arg2;
11228 }
11229 return NULL;
11230 }
11231
11232
11233 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
11234 PyObject *resultobj;
11235 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11236 wxString *arg2 = 0 ;
11237 bool temp2 = False ;
11238 PyObject * obj0 = 0 ;
11239 PyObject * obj1 = 0 ;
11240 char *kwnames[] = {
11241 (char *) "self",(char *) "dir", NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11247 {
11248 arg2 = wxString_in_helper(obj1);
11249 if (arg2 == NULL) SWIG_fail;
11250 temp2 = True;
11251 }
11252 {
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 (arg1)->SetDirectory((wxString const &)*arg2);
11255
11256 wxPyEndAllowThreads(__tstate);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 }
11259 Py_INCREF(Py_None); resultobj = Py_None;
11260 {
11261 if (temp2)
11262 delete arg2;
11263 }
11264 return resultobj;
11265 fail:
11266 {
11267 if (temp2)
11268 delete arg2;
11269 }
11270 return NULL;
11271 }
11272
11273
11274 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11277 wxString *arg2 = 0 ;
11278 bool temp2 = False ;
11279 PyObject * obj0 = 0 ;
11280 PyObject * obj1 = 0 ;
11281 char *kwnames[] = {
11282 (char *) "self",(char *) "name", NULL
11283 };
11284
11285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11288 {
11289 arg2 = wxString_in_helper(obj1);
11290 if (arg2 == NULL) SWIG_fail;
11291 temp2 = True;
11292 }
11293 {
11294 PyThreadState* __tstate = wxPyBeginAllowThreads();
11295 (arg1)->SetFilename((wxString const &)*arg2);
11296
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 Py_INCREF(Py_None); resultobj = Py_None;
11301 {
11302 if (temp2)
11303 delete arg2;
11304 }
11305 return resultobj;
11306 fail:
11307 {
11308 if (temp2)
11309 delete arg2;
11310 }
11311 return NULL;
11312 }
11313
11314
11315 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
11316 PyObject *resultobj;
11317 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11318 wxString *arg2 = 0 ;
11319 bool temp2 = False ;
11320 PyObject * obj0 = 0 ;
11321 PyObject * obj1 = 0 ;
11322 char *kwnames[] = {
11323 (char *) "self",(char *) "wildCard", NULL
11324 };
11325
11326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11329 {
11330 arg2 = wxString_in_helper(obj1);
11331 if (arg2 == NULL) SWIG_fail;
11332 temp2 = True;
11333 }
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 (arg1)->SetWildcard((wxString const &)*arg2);
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 Py_INCREF(Py_None); resultobj = Py_None;
11342 {
11343 if (temp2)
11344 delete arg2;
11345 }
11346 return resultobj;
11347 fail:
11348 {
11349 if (temp2)
11350 delete arg2;
11351 }
11352 return NULL;
11353 }
11354
11355
11356 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11357 PyObject *resultobj;
11358 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11359 long arg2 ;
11360 PyObject * obj0 = 0 ;
11361 PyObject * obj1 = 0 ;
11362 char *kwnames[] = {
11363 (char *) "self",(char *) "style", NULL
11364 };
11365
11366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11369 arg2 = (long) SWIG_AsLong(obj1);
11370 if (PyErr_Occurred()) SWIG_fail;
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 (arg1)->SetStyle(arg2);
11374
11375 wxPyEndAllowThreads(__tstate);
11376 if (PyErr_Occurred()) SWIG_fail;
11377 }
11378 Py_INCREF(Py_None); resultobj = Py_None;
11379 return resultobj;
11380 fail:
11381 return NULL;
11382 }
11383
11384
11385 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11386 PyObject *resultobj;
11387 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11388 int arg2 ;
11389 PyObject * obj0 = 0 ;
11390 PyObject * obj1 = 0 ;
11391 char *kwnames[] = {
11392 (char *) "self",(char *) "filterIndex", NULL
11393 };
11394
11395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11398 arg2 = (int) SWIG_AsInt(obj1);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 (arg1)->SetFilterIndex(arg2);
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
11407 Py_INCREF(Py_None); resultobj = Py_None;
11408 return resultobj;
11409 fail:
11410 return NULL;
11411 }
11412
11413
11414 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11415 PyObject *resultobj;
11416 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11417 wxString result;
11418 PyObject * obj0 = 0 ;
11419 char *kwnames[] = {
11420 (char *) "self", NULL
11421 };
11422
11423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11426 {
11427 PyThreadState* __tstate = wxPyBeginAllowThreads();
11428 result = ((wxFileDialog const *)arg1)->GetMessage();
11429
11430 wxPyEndAllowThreads(__tstate);
11431 if (PyErr_Occurred()) SWIG_fail;
11432 }
11433 {
11434 #if wxUSE_UNICODE
11435 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11436 #else
11437 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11438 #endif
11439 }
11440 return resultobj;
11441 fail:
11442 return NULL;
11443 }
11444
11445
11446 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11447 PyObject *resultobj;
11448 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11449 wxString result;
11450 PyObject * obj0 = 0 ;
11451 char *kwnames[] = {
11452 (char *) "self", NULL
11453 };
11454
11455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 result = ((wxFileDialog const *)arg1)->GetPath();
11461
11462 wxPyEndAllowThreads(__tstate);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 }
11465 {
11466 #if wxUSE_UNICODE
11467 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11468 #else
11469 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11470 #endif
11471 }
11472 return resultobj;
11473 fail:
11474 return NULL;
11475 }
11476
11477
11478 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
11479 PyObject *resultobj;
11480 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11481 wxString result;
11482 PyObject * obj0 = 0 ;
11483 char *kwnames[] = {
11484 (char *) "self", NULL
11485 };
11486
11487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 result = ((wxFileDialog const *)arg1)->GetDirectory();
11493
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
11497 {
11498 #if wxUSE_UNICODE
11499 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11500 #else
11501 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11502 #endif
11503 }
11504 return resultobj;
11505 fail:
11506 return NULL;
11507 }
11508
11509
11510 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj;
11512 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11513 wxString result;
11514 PyObject * obj0 = 0 ;
11515 char *kwnames[] = {
11516 (char *) "self", NULL
11517 };
11518
11519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11522 {
11523 PyThreadState* __tstate = wxPyBeginAllowThreads();
11524 result = ((wxFileDialog const *)arg1)->GetFilename();
11525
11526 wxPyEndAllowThreads(__tstate);
11527 if (PyErr_Occurred()) SWIG_fail;
11528 }
11529 {
11530 #if wxUSE_UNICODE
11531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11532 #else
11533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11534 #endif
11535 }
11536 return resultobj;
11537 fail:
11538 return NULL;
11539 }
11540
11541
11542 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
11543 PyObject *resultobj;
11544 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11545 wxString result;
11546 PyObject * obj0 = 0 ;
11547 char *kwnames[] = {
11548 (char *) "self", NULL
11549 };
11550
11551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 result = ((wxFileDialog const *)arg1)->GetWildcard();
11557
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 {
11562 #if wxUSE_UNICODE
11563 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11564 #else
11565 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11566 #endif
11567 }
11568 return resultobj;
11569 fail:
11570 return NULL;
11571 }
11572
11573
11574 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11575 PyObject *resultobj;
11576 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11577 long result;
11578 PyObject * obj0 = 0 ;
11579 char *kwnames[] = {
11580 (char *) "self", NULL
11581 };
11582
11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11586 {
11587 PyThreadState* __tstate = wxPyBeginAllowThreads();
11588 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11589
11590 wxPyEndAllowThreads(__tstate);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 }
11593 resultobj = SWIG_FromLong((long)result);
11594 return resultobj;
11595 fail:
11596 return NULL;
11597 }
11598
11599
11600 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11601 PyObject *resultobj;
11602 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11603 int result;
11604 PyObject * obj0 = 0 ;
11605 char *kwnames[] = {
11606 (char *) "self", NULL
11607 };
11608
11609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11612 {
11613 PyThreadState* __tstate = wxPyBeginAllowThreads();
11614 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11615
11616 wxPyEndAllowThreads(__tstate);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 }
11619 resultobj = SWIG_FromInt((int)result);
11620 return resultobj;
11621 fail:
11622 return NULL;
11623 }
11624
11625
11626 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj;
11628 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11629 PyObject *result;
11630 PyObject * obj0 = 0 ;
11631 char *kwnames[] = {
11632 (char *) "self", NULL
11633 };
11634
11635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
11645 resultobj = result;
11646 return resultobj;
11647 fail:
11648 return NULL;
11649 }
11650
11651
11652 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
11653 PyObject *resultobj;
11654 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11655 PyObject *result;
11656 PyObject * obj0 = 0 ;
11657 char *kwnames[] = {
11658 (char *) "self", NULL
11659 };
11660
11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 resultobj = result;
11672 return resultobj;
11673 fail:
11674 return NULL;
11675 }
11676
11677
11678 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
11679 PyObject *obj;
11680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11681 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11682 Py_INCREF(obj);
11683 return Py_BuildValue((char *)"");
11684 }
11685 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj;
11687 wxWindow *arg1 = (wxWindow *) 0 ;
11688 wxString *arg2 = 0 ;
11689 wxString *arg3 = 0 ;
11690 int arg4 = (int) 0 ;
11691 wxString *arg5 = (wxString *) 0 ;
11692 long arg6 = (long) wxCHOICEDLG_STYLE ;
11693 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11694 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11695 wxMultiChoiceDialog *result;
11696 bool temp2 = False ;
11697 bool temp3 = False ;
11698 wxPoint temp6 ;
11699 PyObject * obj0 = 0 ;
11700 PyObject * obj1 = 0 ;
11701 PyObject * obj2 = 0 ;
11702 PyObject * obj3 = 0 ;
11703 PyObject * obj4 = 0 ;
11704 PyObject * obj5 = 0 ;
11705 char *kwnames[] = {
11706 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11707 };
11708
11709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11712 {
11713 arg2 = wxString_in_helper(obj1);
11714 if (arg2 == NULL) SWIG_fail;
11715 temp2 = True;
11716 }
11717 {
11718 arg3 = wxString_in_helper(obj2);
11719 if (arg3 == NULL) SWIG_fail;
11720 temp3 = True;
11721 }
11722 if (obj3) {
11723 {
11724 arg4 = PyList_Size(obj3);
11725 arg5 = wxString_LIST_helper(obj3);
11726 if (arg5 == NULL) SWIG_fail;
11727 }
11728 }
11729 if (obj4) {
11730 arg6 = (long) SWIG_AsLong(obj4);
11731 if (PyErr_Occurred()) SWIG_fail;
11732 }
11733 if (obj5) {
11734 {
11735 arg7 = &temp6;
11736 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11737 }
11738 }
11739 {
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11742
11743 wxPyEndAllowThreads(__tstate);
11744 if (PyErr_Occurred()) SWIG_fail;
11745 }
11746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
11747 {
11748 if (temp2)
11749 delete arg2;
11750 }
11751 {
11752 if (temp3)
11753 delete arg3;
11754 }
11755 {
11756 if (arg5) delete [] arg5;
11757 }
11758 return resultobj;
11759 fail:
11760 {
11761 if (temp2)
11762 delete arg2;
11763 }
11764 {
11765 if (temp3)
11766 delete arg3;
11767 }
11768 {
11769 if (arg5) delete [] arg5;
11770 }
11771 return NULL;
11772 }
11773
11774
11775 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
11776 PyObject *resultobj;
11777 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11778 wxArrayInt *arg2 = 0 ;
11779 bool temp2 = False ;
11780 PyObject * obj0 = 0 ;
11781 PyObject * obj1 = 0 ;
11782 char *kwnames[] = {
11783 (char *) "self",(char *) "selections", NULL
11784 };
11785
11786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
11788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11789 {
11790 if (! PySequence_Check(obj1)) {
11791 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11792 SWIG_fail;
11793 }
11794 arg2 = new wxArrayInt;
11795 temp2 = True;
11796 int i, len=PySequence_Length(obj1);
11797 for (i=0; i<len; i++) {
11798 PyObject* item = PySequence_GetItem(obj1, i);
11799 PyObject* number = PyNumber_Int(item);
11800 arg2->Add(PyInt_AS_LONG(number));
11801 Py_DECREF(item);
11802 Py_DECREF(number);
11803 }
11804 }
11805 {
11806 PyThreadState* __tstate = wxPyBeginAllowThreads();
11807 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11808
11809 wxPyEndAllowThreads(__tstate);
11810 if (PyErr_Occurred()) SWIG_fail;
11811 }
11812 Py_INCREF(Py_None); resultobj = Py_None;
11813 {
11814 if (temp2) delete arg2;
11815 }
11816 return resultobj;
11817 fail:
11818 {
11819 if (temp2) delete arg2;
11820 }
11821 return NULL;
11822 }
11823
11824
11825 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
11826 PyObject *resultobj;
11827 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11828 PyObject *result;
11829 PyObject * obj0 = 0 ;
11830 char *kwnames[] = {
11831 (char *) "self", NULL
11832 };
11833
11834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
11836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11837 {
11838 PyThreadState* __tstate = wxPyBeginAllowThreads();
11839 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11840
11841 wxPyEndAllowThreads(__tstate);
11842 if (PyErr_Occurred()) SWIG_fail;
11843 }
11844 resultobj = result;
11845 return resultobj;
11846 fail:
11847 return NULL;
11848 }
11849
11850
11851 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
11852 PyObject *obj;
11853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11854 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11855 Py_INCREF(obj);
11856 return Py_BuildValue((char *)"");
11857 }
11858 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11859 PyObject *resultobj;
11860 wxWindow *arg1 = (wxWindow *) 0 ;
11861 wxString *arg2 = 0 ;
11862 wxString *arg3 = 0 ;
11863 int arg4 ;
11864 wxString *arg5 = (wxString *) 0 ;
11865 long arg6 = (long) wxCHOICEDLG_STYLE ;
11866 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11867 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11868 wxSingleChoiceDialog *result;
11869 bool temp2 = False ;
11870 bool temp3 = False ;
11871 wxPoint temp6 ;
11872 PyObject * obj0 = 0 ;
11873 PyObject * obj1 = 0 ;
11874 PyObject * obj2 = 0 ;
11875 PyObject * obj3 = 0 ;
11876 PyObject * obj4 = 0 ;
11877 PyObject * obj5 = 0 ;
11878 char *kwnames[] = {
11879 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11880 };
11881
11882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11885 {
11886 arg2 = wxString_in_helper(obj1);
11887 if (arg2 == NULL) SWIG_fail;
11888 temp2 = True;
11889 }
11890 {
11891 arg3 = wxString_in_helper(obj2);
11892 if (arg3 == NULL) SWIG_fail;
11893 temp3 = True;
11894 }
11895 {
11896 arg4 = PyList_Size(obj3);
11897 arg5 = wxString_LIST_helper(obj3);
11898 if (arg5 == NULL) SWIG_fail;
11899 }
11900 if (obj4) {
11901 arg6 = (long) SWIG_AsLong(obj4);
11902 if (PyErr_Occurred()) SWIG_fail;
11903 }
11904 if (obj5) {
11905 {
11906 arg7 = &temp6;
11907 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11908 }
11909 }
11910 {
11911 PyThreadState* __tstate = wxPyBeginAllowThreads();
11912 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11913
11914 wxPyEndAllowThreads(__tstate);
11915 if (PyErr_Occurred()) SWIG_fail;
11916 }
11917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
11918 {
11919 if (temp2)
11920 delete arg2;
11921 }
11922 {
11923 if (temp3)
11924 delete arg3;
11925 }
11926 {
11927 if (arg5) delete [] arg5;
11928 }
11929 return resultobj;
11930 fail:
11931 {
11932 if (temp2)
11933 delete arg2;
11934 }
11935 {
11936 if (temp3)
11937 delete arg3;
11938 }
11939 {
11940 if (arg5) delete [] arg5;
11941 }
11942 return NULL;
11943 }
11944
11945
11946 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11947 PyObject *resultobj;
11948 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11949 int result;
11950 PyObject * obj0 = 0 ;
11951 char *kwnames[] = {
11952 (char *) "self", NULL
11953 };
11954
11955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
11957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11958 {
11959 PyThreadState* __tstate = wxPyBeginAllowThreads();
11960 result = (int)(arg1)->GetSelection();
11961
11962 wxPyEndAllowThreads(__tstate);
11963 if (PyErr_Occurred()) SWIG_fail;
11964 }
11965 resultobj = SWIG_FromInt((int)result);
11966 return resultobj;
11967 fail:
11968 return NULL;
11969 }
11970
11971
11972 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11973 PyObject *resultobj;
11974 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11975 wxString result;
11976 PyObject * obj0 = 0 ;
11977 char *kwnames[] = {
11978 (char *) "self", NULL
11979 };
11980
11981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
11983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 result = (arg1)->GetStringSelection();
11987
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 {
11992 #if wxUSE_UNICODE
11993 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11994 #else
11995 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11996 #endif
11997 }
11998 return resultobj;
11999 fail:
12000 return NULL;
12001 }
12002
12003
12004 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12005 PyObject *resultobj;
12006 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12007 int arg2 ;
12008 PyObject * obj0 = 0 ;
12009 PyObject * obj1 = 0 ;
12010 char *kwnames[] = {
12011 (char *) "self",(char *) "sel", NULL
12012 };
12013
12014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12017 arg2 = (int) SWIG_AsInt(obj1);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 (arg1)->SetSelection(arg2);
12022
12023 wxPyEndAllowThreads(__tstate);
12024 if (PyErr_Occurred()) SWIG_fail;
12025 }
12026 Py_INCREF(Py_None); resultobj = Py_None;
12027 return resultobj;
12028 fail:
12029 return NULL;
12030 }
12031
12032
12033 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
12034 PyObject *obj;
12035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12036 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12037 Py_INCREF(obj);
12038 return Py_BuildValue((char *)"");
12039 }
12040 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj;
12042 wxWindow *arg1 = (wxWindow *) 0 ;
12043 wxString *arg2 = 0 ;
12044 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12045 wxString *arg3 = (wxString *) &arg3_defvalue ;
12046 wxString const &arg4_defvalue = wxPyEmptyString ;
12047 wxString *arg4 = (wxString *) &arg4_defvalue ;
12048 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12049 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12050 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12051 wxTextEntryDialog *result;
12052 bool temp2 = False ;
12053 bool temp3 = False ;
12054 bool temp4 = False ;
12055 wxPoint temp6 ;
12056 PyObject * obj0 = 0 ;
12057 PyObject * obj1 = 0 ;
12058 PyObject * obj2 = 0 ;
12059 PyObject * obj3 = 0 ;
12060 PyObject * obj4 = 0 ;
12061 PyObject * obj5 = 0 ;
12062 char *kwnames[] = {
12063 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12064 };
12065
12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12069 {
12070 arg2 = wxString_in_helper(obj1);
12071 if (arg2 == NULL) SWIG_fail;
12072 temp2 = True;
12073 }
12074 if (obj2) {
12075 {
12076 arg3 = wxString_in_helper(obj2);
12077 if (arg3 == NULL) SWIG_fail;
12078 temp3 = True;
12079 }
12080 }
12081 if (obj3) {
12082 {
12083 arg4 = wxString_in_helper(obj3);
12084 if (arg4 == NULL) SWIG_fail;
12085 temp4 = True;
12086 }
12087 }
12088 if (obj4) {
12089 arg5 = (long) SWIG_AsLong(obj4);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
12092 if (obj5) {
12093 {
12094 arg6 = &temp6;
12095 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12096 }
12097 }
12098 {
12099 PyThreadState* __tstate = wxPyBeginAllowThreads();
12100 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12101
12102 wxPyEndAllowThreads(__tstate);
12103 if (PyErr_Occurred()) SWIG_fail;
12104 }
12105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12106 {
12107 if (temp2)
12108 delete arg2;
12109 }
12110 {
12111 if (temp3)
12112 delete arg3;
12113 }
12114 {
12115 if (temp4)
12116 delete arg4;
12117 }
12118 return resultobj;
12119 fail:
12120 {
12121 if (temp2)
12122 delete arg2;
12123 }
12124 {
12125 if (temp3)
12126 delete arg3;
12127 }
12128 {
12129 if (temp4)
12130 delete arg4;
12131 }
12132 return NULL;
12133 }
12134
12135
12136 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12137 PyObject *resultobj;
12138 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12139 wxString result;
12140 PyObject * obj0 = 0 ;
12141 char *kwnames[] = {
12142 (char *) "self", NULL
12143 };
12144
12145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12148 {
12149 PyThreadState* __tstate = wxPyBeginAllowThreads();
12150 result = (arg1)->GetValue();
12151
12152 wxPyEndAllowThreads(__tstate);
12153 if (PyErr_Occurred()) SWIG_fail;
12154 }
12155 {
12156 #if wxUSE_UNICODE
12157 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12158 #else
12159 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12160 #endif
12161 }
12162 return resultobj;
12163 fail:
12164 return NULL;
12165 }
12166
12167
12168 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12169 PyObject *resultobj;
12170 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12171 wxString *arg2 = 0 ;
12172 bool temp2 = False ;
12173 PyObject * obj0 = 0 ;
12174 PyObject * obj1 = 0 ;
12175 char *kwnames[] = {
12176 (char *) "self",(char *) "value", NULL
12177 };
12178
12179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12182 {
12183 arg2 = wxString_in_helper(obj1);
12184 if (arg2 == NULL) SWIG_fail;
12185 temp2 = True;
12186 }
12187 {
12188 PyThreadState* __tstate = wxPyBeginAllowThreads();
12189 (arg1)->SetValue((wxString const &)*arg2);
12190
12191 wxPyEndAllowThreads(__tstate);
12192 if (PyErr_Occurred()) SWIG_fail;
12193 }
12194 Py_INCREF(Py_None); resultobj = Py_None;
12195 {
12196 if (temp2)
12197 delete arg2;
12198 }
12199 return resultobj;
12200 fail:
12201 {
12202 if (temp2)
12203 delete arg2;
12204 }
12205 return NULL;
12206 }
12207
12208
12209 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
12210 PyObject *obj;
12211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12212 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12213 Py_INCREF(obj);
12214 return Py_BuildValue((char *)"");
12215 }
12216 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
12217 PyObject *resultobj;
12218 wxFontData *result;
12219 char *kwnames[] = {
12220 NULL
12221 };
12222
12223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 result = (wxFontData *)new wxFontData();
12227
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12232 return resultobj;
12233 fail:
12234 return NULL;
12235 }
12236
12237
12238 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj;
12240 wxFontData *arg1 = (wxFontData *) 0 ;
12241 PyObject * obj0 = 0 ;
12242 char *kwnames[] = {
12243 (char *) "self", NULL
12244 };
12245
12246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 delete arg1;
12252
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 Py_INCREF(Py_None); resultobj = Py_None;
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
12264 PyObject *resultobj;
12265 wxFontData *arg1 = (wxFontData *) 0 ;
12266 bool arg2 ;
12267 PyObject * obj0 = 0 ;
12268 PyObject * obj1 = 0 ;
12269 char *kwnames[] = {
12270 (char *) "self",(char *) "enable", NULL
12271 };
12272
12273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12276 arg2 = (bool) SWIG_AsBool(obj1);
12277 if (PyErr_Occurred()) SWIG_fail;
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 (arg1)->EnableEffects(arg2);
12281
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 Py_INCREF(Py_None); resultobj = Py_None;
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
12293 PyObject *resultobj;
12294 wxFontData *arg1 = (wxFontData *) 0 ;
12295 bool result;
12296 PyObject * obj0 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "self", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (bool)(arg1)->GetAllowSymbols();
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12312 return resultobj;
12313 fail:
12314 return NULL;
12315 }
12316
12317
12318 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
12319 PyObject *resultobj;
12320 wxFontData *arg1 = (wxFontData *) 0 ;
12321 wxColour result;
12322 PyObject * obj0 = 0 ;
12323 char *kwnames[] = {
12324 (char *) "self", NULL
12325 };
12326
12327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12330 {
12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
12332 result = (arg1)->GetColour();
12333
12334 wxPyEndAllowThreads(__tstate);
12335 if (PyErr_Occurred()) SWIG_fail;
12336 }
12337 {
12338 wxColour * resultptr;
12339 resultptr = new wxColour((wxColour &) result);
12340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12341 }
12342 return resultobj;
12343 fail:
12344 return NULL;
12345 }
12346
12347
12348 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
12349 PyObject *resultobj;
12350 wxFontData *arg1 = (wxFontData *) 0 ;
12351 wxFont result;
12352 PyObject * obj0 = 0 ;
12353 char *kwnames[] = {
12354 (char *) "self", NULL
12355 };
12356
12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 result = (arg1)->GetChosenFont();
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 {
12368 wxFont * resultptr;
12369 resultptr = new wxFont((wxFont &) result);
12370 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12371 }
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxFontData *arg1 = (wxFontData *) 0 ;
12381 bool result;
12382 PyObject * obj0 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 result = (bool)(arg1)->GetEnableEffects();
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12398 return resultobj;
12399 fail:
12400 return NULL;
12401 }
12402
12403
12404 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
12405 PyObject *resultobj;
12406 wxFontData *arg1 = (wxFontData *) 0 ;
12407 wxFont result;
12408 PyObject * obj0 = 0 ;
12409 char *kwnames[] = {
12410 (char *) "self", NULL
12411 };
12412
12413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12416 {
12417 PyThreadState* __tstate = wxPyBeginAllowThreads();
12418 result = (arg1)->GetInitialFont();
12419
12420 wxPyEndAllowThreads(__tstate);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 }
12423 {
12424 wxFont * resultptr;
12425 resultptr = new wxFont((wxFont &) result);
12426 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12427 }
12428 return resultobj;
12429 fail:
12430 return NULL;
12431 }
12432
12433
12434 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
12435 PyObject *resultobj;
12436 wxFontData *arg1 = (wxFontData *) 0 ;
12437 bool result;
12438 PyObject * obj0 = 0 ;
12439 char *kwnames[] = {
12440 (char *) "self", NULL
12441 };
12442
12443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12446 {
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
12448 result = (bool)(arg1)->GetShowHelp();
12449
12450 wxPyEndAllowThreads(__tstate);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 }
12453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12454 return resultobj;
12455 fail:
12456 return NULL;
12457 }
12458
12459
12460 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
12461 PyObject *resultobj;
12462 wxFontData *arg1 = (wxFontData *) 0 ;
12463 bool arg2 ;
12464 PyObject * obj0 = 0 ;
12465 PyObject * obj1 = 0 ;
12466 char *kwnames[] = {
12467 (char *) "self",(char *) "allowSymbols", NULL
12468 };
12469
12470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12473 arg2 = (bool) SWIG_AsBool(obj1);
12474 if (PyErr_Occurred()) SWIG_fail;
12475 {
12476 PyThreadState* __tstate = wxPyBeginAllowThreads();
12477 (arg1)->SetAllowSymbols(arg2);
12478
12479 wxPyEndAllowThreads(__tstate);
12480 if (PyErr_Occurred()) SWIG_fail;
12481 }
12482 Py_INCREF(Py_None); resultobj = Py_None;
12483 return resultobj;
12484 fail:
12485 return NULL;
12486 }
12487
12488
12489 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
12490 PyObject *resultobj;
12491 wxFontData *arg1 = (wxFontData *) 0 ;
12492 wxFont *arg2 = 0 ;
12493 PyObject * obj0 = 0 ;
12494 PyObject * obj1 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self",(char *) "font", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12503 SWIG_POINTER_EXCEPTION | 0)) == -1)
12504 SWIG_fail;
12505 if (arg2 == NULL) {
12506 PyErr_SetString(PyExc_TypeError,"null reference");
12507 SWIG_fail;
12508 }
12509 {
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 (arg1)->SetChosenFont((wxFont const &)*arg2);
12512
12513 wxPyEndAllowThreads(__tstate);
12514 if (PyErr_Occurred()) SWIG_fail;
12515 }
12516 Py_INCREF(Py_None); resultobj = Py_None;
12517 return resultobj;
12518 fail:
12519 return NULL;
12520 }
12521
12522
12523 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxFontData *arg1 = (wxFontData *) 0 ;
12526 wxColour *arg2 = 0 ;
12527 wxColour temp2 ;
12528 PyObject * obj0 = 0 ;
12529 PyObject * obj1 = 0 ;
12530 char *kwnames[] = {
12531 (char *) "self",(char *) "colour", NULL
12532 };
12533
12534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12537 {
12538 arg2 = &temp2;
12539 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12540 }
12541 {
12542 PyThreadState* __tstate = wxPyBeginAllowThreads();
12543 (arg1)->SetColour((wxColour const &)*arg2);
12544
12545 wxPyEndAllowThreads(__tstate);
12546 if (PyErr_Occurred()) SWIG_fail;
12547 }
12548 Py_INCREF(Py_None); resultobj = Py_None;
12549 return resultobj;
12550 fail:
12551 return NULL;
12552 }
12553
12554
12555 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
12556 PyObject *resultobj;
12557 wxFontData *arg1 = (wxFontData *) 0 ;
12558 wxFont *arg2 = 0 ;
12559 PyObject * obj0 = 0 ;
12560 PyObject * obj1 = 0 ;
12561 char *kwnames[] = {
12562 (char *) "self",(char *) "font", NULL
12563 };
12564
12565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12568 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12569 SWIG_POINTER_EXCEPTION | 0)) == -1)
12570 SWIG_fail;
12571 if (arg2 == NULL) {
12572 PyErr_SetString(PyExc_TypeError,"null reference");
12573 SWIG_fail;
12574 }
12575 {
12576 PyThreadState* __tstate = wxPyBeginAllowThreads();
12577 (arg1)->SetInitialFont((wxFont const &)*arg2);
12578
12579 wxPyEndAllowThreads(__tstate);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 }
12582 Py_INCREF(Py_None); resultobj = Py_None;
12583 return resultobj;
12584 fail:
12585 return NULL;
12586 }
12587
12588
12589 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12590 PyObject *resultobj;
12591 wxFontData *arg1 = (wxFontData *) 0 ;
12592 int arg2 ;
12593 int arg3 ;
12594 PyObject * obj0 = 0 ;
12595 PyObject * obj1 = 0 ;
12596 PyObject * obj2 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "self",(char *) "min",(char *) "max", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12604 arg2 = (int) SWIG_AsInt(obj1);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 arg3 = (int) SWIG_AsInt(obj2);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 {
12609 PyThreadState* __tstate = wxPyBeginAllowThreads();
12610 (arg1)->SetRange(arg2,arg3);
12611
12612 wxPyEndAllowThreads(__tstate);
12613 if (PyErr_Occurred()) SWIG_fail;
12614 }
12615 Py_INCREF(Py_None); resultobj = Py_None;
12616 return resultobj;
12617 fail:
12618 return NULL;
12619 }
12620
12621
12622 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj;
12624 wxFontData *arg1 = (wxFontData *) 0 ;
12625 bool arg2 ;
12626 PyObject * obj0 = 0 ;
12627 PyObject * obj1 = 0 ;
12628 char *kwnames[] = {
12629 (char *) "self",(char *) "showHelp", NULL
12630 };
12631
12632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12635 arg2 = (bool) SWIG_AsBool(obj1);
12636 if (PyErr_Occurred()) SWIG_fail;
12637 {
12638 PyThreadState* __tstate = wxPyBeginAllowThreads();
12639 (arg1)->SetShowHelp(arg2);
12640
12641 wxPyEndAllowThreads(__tstate);
12642 if (PyErr_Occurred()) SWIG_fail;
12643 }
12644 Py_INCREF(Py_None); resultobj = Py_None;
12645 return resultobj;
12646 fail:
12647 return NULL;
12648 }
12649
12650
12651 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
12652 PyObject *obj;
12653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12654 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12655 Py_INCREF(obj);
12656 return Py_BuildValue((char *)"");
12657 }
12658 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12659 PyObject *resultobj;
12660 wxWindow *arg1 = (wxWindow *) 0 ;
12661 wxFontData *arg2 = 0 ;
12662 wxFontDialog *result;
12663 PyObject * obj0 = 0 ;
12664 PyObject * obj1 = 0 ;
12665 char *kwnames[] = {
12666 (char *) "parent",(char *) "data", NULL
12667 };
12668
12669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
12673 SWIG_POINTER_EXCEPTION | 0)) == -1)
12674 SWIG_fail;
12675 if (arg2 == NULL) {
12676 PyErr_SetString(PyExc_TypeError,"null reference");
12677 SWIG_fail;
12678 }
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12682
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
12687 return resultobj;
12688 fail:
12689 return NULL;
12690 }
12691
12692
12693 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj;
12695 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12696 wxFontData *result;
12697 PyObject * obj0 = 0 ;
12698 char *kwnames[] = {
12699 (char *) "self", NULL
12700 };
12701
12702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
12704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12705 {
12706 PyThreadState* __tstate = wxPyBeginAllowThreads();
12707 {
12708 wxFontData &_result_ref = (arg1)->GetFontData();
12709 result = (wxFontData *) &_result_ref;
12710 }
12711
12712 wxPyEndAllowThreads(__tstate);
12713 if (PyErr_Occurred()) SWIG_fail;
12714 }
12715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
12716 return resultobj;
12717 fail:
12718 return NULL;
12719 }
12720
12721
12722 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
12723 PyObject *obj;
12724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12725 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12726 Py_INCREF(obj);
12727 return Py_BuildValue((char *)"");
12728 }
12729 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12730 PyObject *resultobj;
12731 wxWindow *arg1 = (wxWindow *) 0 ;
12732 wxString *arg2 = 0 ;
12733 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12734 wxString *arg3 = (wxString *) &arg3_defvalue ;
12735 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12736 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12737 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12738 wxMessageDialog *result;
12739 bool temp2 = False ;
12740 bool temp3 = False ;
12741 wxPoint temp5 ;
12742 PyObject * obj0 = 0 ;
12743 PyObject * obj1 = 0 ;
12744 PyObject * obj2 = 0 ;
12745 PyObject * obj3 = 0 ;
12746 PyObject * obj4 = 0 ;
12747 char *kwnames[] = {
12748 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12749 };
12750
12751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12754 {
12755 arg2 = wxString_in_helper(obj1);
12756 if (arg2 == NULL) SWIG_fail;
12757 temp2 = True;
12758 }
12759 if (obj2) {
12760 {
12761 arg3 = wxString_in_helper(obj2);
12762 if (arg3 == NULL) SWIG_fail;
12763 temp3 = True;
12764 }
12765 }
12766 if (obj3) {
12767 arg4 = (long) SWIG_AsLong(obj3);
12768 if (PyErr_Occurred()) SWIG_fail;
12769 }
12770 if (obj4) {
12771 {
12772 arg5 = &temp5;
12773 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12774 }
12775 }
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
12784 {
12785 if (temp2)
12786 delete arg2;
12787 }
12788 {
12789 if (temp3)
12790 delete arg3;
12791 }
12792 return resultobj;
12793 fail:
12794 {
12795 if (temp2)
12796 delete arg2;
12797 }
12798 {
12799 if (temp3)
12800 delete arg3;
12801 }
12802 return NULL;
12803 }
12804
12805
12806 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
12807 PyObject *obj;
12808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12809 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12810 Py_INCREF(obj);
12811 return Py_BuildValue((char *)"");
12812 }
12813 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12814 PyObject *resultobj;
12815 wxString *arg1 = 0 ;
12816 wxString *arg2 = 0 ;
12817 int arg3 = (int) 100 ;
12818 wxWindow *arg4 = (wxWindow *) NULL ;
12819 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12820 wxProgressDialog *result;
12821 bool temp1 = False ;
12822 bool temp2 = False ;
12823 PyObject * obj0 = 0 ;
12824 PyObject * obj1 = 0 ;
12825 PyObject * obj2 = 0 ;
12826 PyObject * obj3 = 0 ;
12827 PyObject * obj4 = 0 ;
12828 char *kwnames[] = {
12829 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12830 };
12831
12832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12833 {
12834 arg1 = wxString_in_helper(obj0);
12835 if (arg1 == NULL) SWIG_fail;
12836 temp1 = True;
12837 }
12838 {
12839 arg2 = wxString_in_helper(obj1);
12840 if (arg2 == NULL) SWIG_fail;
12841 temp2 = True;
12842 }
12843 if (obj2) {
12844 arg3 = (int) SWIG_AsInt(obj2);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 if (obj3) {
12848 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
12849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12850 }
12851 if (obj4) {
12852 arg5 = (int) SWIG_AsInt(obj4);
12853 if (PyErr_Occurred()) SWIG_fail;
12854 }
12855 {
12856 PyThreadState* __tstate = wxPyBeginAllowThreads();
12857 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12858
12859 wxPyEndAllowThreads(__tstate);
12860 if (PyErr_Occurred()) SWIG_fail;
12861 }
12862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
12863 {
12864 if (temp1)
12865 delete arg1;
12866 }
12867 {
12868 if (temp2)
12869 delete arg2;
12870 }
12871 return resultobj;
12872 fail:
12873 {
12874 if (temp1)
12875 delete arg1;
12876 }
12877 {
12878 if (temp2)
12879 delete arg2;
12880 }
12881 return NULL;
12882 }
12883
12884
12885 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
12886 PyObject *resultobj;
12887 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12888 int arg2 ;
12889 wxString const &arg3_defvalue = wxPyEmptyString ;
12890 wxString *arg3 = (wxString *) &arg3_defvalue ;
12891 bool result;
12892 bool temp3 = False ;
12893 PyObject * obj0 = 0 ;
12894 PyObject * obj1 = 0 ;
12895 PyObject * obj2 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
12901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
12902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12903 arg2 = (int) SWIG_AsInt(obj1);
12904 if (PyErr_Occurred()) SWIG_fail;
12905 if (obj2) {
12906 {
12907 arg3 = wxString_in_helper(obj2);
12908 if (arg3 == NULL) SWIG_fail;
12909 temp3 = True;
12910 }
12911 }
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12915
12916 wxPyEndAllowThreads(__tstate);
12917 if (PyErr_Occurred()) SWIG_fail;
12918 }
12919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12920 {
12921 if (temp3)
12922 delete arg3;
12923 }
12924 return resultobj;
12925 fail:
12926 {
12927 if (temp3)
12928 delete arg3;
12929 }
12930 return NULL;
12931 }
12932
12933
12934 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj;
12936 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12937 PyObject * obj0 = 0 ;
12938 char *kwnames[] = {
12939 (char *) "self", NULL
12940 };
12941
12942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
12944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 (arg1)->Resume();
12948
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 Py_INCREF(Py_None); resultobj = Py_None;
12953 return resultobj;
12954 fail:
12955 return NULL;
12956 }
12957
12958
12959 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
12960 PyObject *obj;
12961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12962 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12963 Py_INCREF(obj);
12964 return Py_BuildValue((char *)"");
12965 }
12966 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
12967 PyObject *resultobj;
12968 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12969 int arg2 = (int) 0 ;
12970 wxFindDialogEvent *result;
12971 PyObject * obj0 = 0 ;
12972 PyObject * obj1 = 0 ;
12973 char *kwnames[] = {
12974 (char *) "commandType",(char *) "id", NULL
12975 };
12976
12977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
12978 if (obj0) {
12979 arg1 = (wxEventType) SWIG_AsInt(obj0);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 if (obj1) {
12983 arg2 = (int) SWIG_AsInt(obj1);
12984 if (PyErr_Occurred()) SWIG_fail;
12985 }
12986 {
12987 PyThreadState* __tstate = wxPyBeginAllowThreads();
12988 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12989
12990 wxPyEndAllowThreads(__tstate);
12991 if (PyErr_Occurred()) SWIG_fail;
12992 }
12993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
12994 return resultobj;
12995 fail:
12996 return NULL;
12997 }
12998
12999
13000 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13001 PyObject *resultobj;
13002 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13003 int result;
13004 PyObject * obj0 = 0 ;
13005 char *kwnames[] = {
13006 (char *) "self", NULL
13007 };
13008
13009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13012 {
13013 PyThreadState* __tstate = wxPyBeginAllowThreads();
13014 result = (int)(arg1)->GetFlags();
13015
13016 wxPyEndAllowThreads(__tstate);
13017 if (PyErr_Occurred()) SWIG_fail;
13018 }
13019 resultobj = SWIG_FromInt((int)result);
13020 return resultobj;
13021 fail:
13022 return NULL;
13023 }
13024
13025
13026 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13027 PyObject *resultobj;
13028 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13029 wxString *result;
13030 PyObject * obj0 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "self", NULL
13033 };
13034
13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13038 {
13039 PyThreadState* __tstate = wxPyBeginAllowThreads();
13040 {
13041 wxString const &_result_ref = (arg1)->GetFindString();
13042 result = (wxString *) &_result_ref;
13043 }
13044
13045 wxPyEndAllowThreads(__tstate);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 }
13048 {
13049 #if wxUSE_UNICODE
13050 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13051 #else
13052 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13053 #endif
13054 }
13055 return resultobj;
13056 fail:
13057 return NULL;
13058 }
13059
13060
13061 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13062 PyObject *resultobj;
13063 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13064 wxString *result;
13065 PyObject * obj0 = 0 ;
13066 char *kwnames[] = {
13067 (char *) "self", NULL
13068 };
13069
13070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 {
13076 wxString const &_result_ref = (arg1)->GetReplaceString();
13077 result = (wxString *) &_result_ref;
13078 }
13079
13080 wxPyEndAllowThreads(__tstate);
13081 if (PyErr_Occurred()) SWIG_fail;
13082 }
13083 {
13084 #if wxUSE_UNICODE
13085 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13086 #else
13087 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13088 #endif
13089 }
13090 return resultobj;
13091 fail:
13092 return NULL;
13093 }
13094
13095
13096 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13097 PyObject *resultobj;
13098 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13099 wxFindReplaceDialog *result;
13100 PyObject * obj0 = 0 ;
13101 char *kwnames[] = {
13102 (char *) "self", NULL
13103 };
13104
13105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13108 {
13109 PyThreadState* __tstate = wxPyBeginAllowThreads();
13110 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13111
13112 wxPyEndAllowThreads(__tstate);
13113 if (PyErr_Occurred()) SWIG_fail;
13114 }
13115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13116 return resultobj;
13117 fail:
13118 return NULL;
13119 }
13120
13121
13122 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13123 PyObject *resultobj;
13124 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13125 int arg2 ;
13126 PyObject * obj0 = 0 ;
13127 PyObject * obj1 = 0 ;
13128 char *kwnames[] = {
13129 (char *) "self",(char *) "flags", NULL
13130 };
13131
13132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13135 arg2 = (int) SWIG_AsInt(obj1);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 (arg1)->SetFlags(arg2);
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
13144 Py_INCREF(Py_None); resultobj = Py_None;
13145 return resultobj;
13146 fail:
13147 return NULL;
13148 }
13149
13150
13151 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13152 PyObject *resultobj;
13153 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13154 wxString *arg2 = 0 ;
13155 bool temp2 = False ;
13156 PyObject * obj0 = 0 ;
13157 PyObject * obj1 = 0 ;
13158 char *kwnames[] = {
13159 (char *) "self",(char *) "str", NULL
13160 };
13161
13162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13165 {
13166 arg2 = wxString_in_helper(obj1);
13167 if (arg2 == NULL) SWIG_fail;
13168 temp2 = True;
13169 }
13170 {
13171 PyThreadState* __tstate = wxPyBeginAllowThreads();
13172 (arg1)->SetFindString((wxString const &)*arg2);
13173
13174 wxPyEndAllowThreads(__tstate);
13175 if (PyErr_Occurred()) SWIG_fail;
13176 }
13177 Py_INCREF(Py_None); resultobj = Py_None;
13178 {
13179 if (temp2)
13180 delete arg2;
13181 }
13182 return resultobj;
13183 fail:
13184 {
13185 if (temp2)
13186 delete arg2;
13187 }
13188 return NULL;
13189 }
13190
13191
13192 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13193 PyObject *resultobj;
13194 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13195 wxString *arg2 = 0 ;
13196 bool temp2 = False ;
13197 PyObject * obj0 = 0 ;
13198 PyObject * obj1 = 0 ;
13199 char *kwnames[] = {
13200 (char *) "self",(char *) "str", NULL
13201 };
13202
13203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13206 {
13207 arg2 = wxString_in_helper(obj1);
13208 if (arg2 == NULL) SWIG_fail;
13209 temp2 = True;
13210 }
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 (arg1)->SetReplaceString((wxString const &)*arg2);
13214
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 Py_INCREF(Py_None); resultobj = Py_None;
13219 {
13220 if (temp2)
13221 delete arg2;
13222 }
13223 return resultobj;
13224 fail:
13225 {
13226 if (temp2)
13227 delete arg2;
13228 }
13229 return NULL;
13230 }
13231
13232
13233 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
13234 PyObject *obj;
13235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13236 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13237 Py_INCREF(obj);
13238 return Py_BuildValue((char *)"");
13239 }
13240 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
13241 PyObject *resultobj;
13242 int arg1 = (int) 0 ;
13243 wxFindReplaceData *result;
13244 PyObject * obj0 = 0 ;
13245 char *kwnames[] = {
13246 (char *) "flags", NULL
13247 };
13248
13249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13250 if (obj0) {
13251 arg1 = (int) SWIG_AsInt(obj0);
13252 if (PyErr_Occurred()) SWIG_fail;
13253 }
13254 {
13255 PyThreadState* __tstate = wxPyBeginAllowThreads();
13256 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13257
13258 wxPyEndAllowThreads(__tstate);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 }
13261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13262 return resultobj;
13263 fail:
13264 return NULL;
13265 }
13266
13267
13268 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
13269 PyObject *resultobj;
13270 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13271 PyObject * obj0 = 0 ;
13272 char *kwnames[] = {
13273 (char *) "self", NULL
13274 };
13275
13276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13279 {
13280 PyThreadState* __tstate = wxPyBeginAllowThreads();
13281 delete arg1;
13282
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 Py_INCREF(Py_None); resultobj = Py_None;
13287 return resultobj;
13288 fail:
13289 return NULL;
13290 }
13291
13292
13293 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13294 PyObject *resultobj;
13295 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13296 wxString *result;
13297 PyObject * obj0 = 0 ;
13298 char *kwnames[] = {
13299 (char *) "self", NULL
13300 };
13301
13302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13305 {
13306 PyThreadState* __tstate = wxPyBeginAllowThreads();
13307 {
13308 wxString const &_result_ref = (arg1)->GetFindString();
13309 result = (wxString *) &_result_ref;
13310 }
13311
13312 wxPyEndAllowThreads(__tstate);
13313 if (PyErr_Occurred()) SWIG_fail;
13314 }
13315 {
13316 #if wxUSE_UNICODE
13317 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13318 #else
13319 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13320 #endif
13321 }
13322 return resultobj;
13323 fail:
13324 return NULL;
13325 }
13326
13327
13328 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13329 PyObject *resultobj;
13330 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13331 wxString *result;
13332 PyObject * obj0 = 0 ;
13333 char *kwnames[] = {
13334 (char *) "self", NULL
13335 };
13336
13337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 {
13343 wxString const &_result_ref = (arg1)->GetReplaceString();
13344 result = (wxString *) &_result_ref;
13345 }
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
13350 {
13351 #if wxUSE_UNICODE
13352 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13353 #else
13354 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13355 #endif
13356 }
13357 return resultobj;
13358 fail:
13359 return NULL;
13360 }
13361
13362
13363 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13364 PyObject *resultobj;
13365 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13366 int result;
13367 PyObject * obj0 = 0 ;
13368 char *kwnames[] = {
13369 (char *) "self", NULL
13370 };
13371
13372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13375 {
13376 PyThreadState* __tstate = wxPyBeginAllowThreads();
13377 result = (int)(arg1)->GetFlags();
13378
13379 wxPyEndAllowThreads(__tstate);
13380 if (PyErr_Occurred()) SWIG_fail;
13381 }
13382 resultobj = SWIG_FromInt((int)result);
13383 return resultobj;
13384 fail:
13385 return NULL;
13386 }
13387
13388
13389 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13390 PyObject *resultobj;
13391 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13392 int arg2 ;
13393 PyObject * obj0 = 0 ;
13394 PyObject * obj1 = 0 ;
13395 char *kwnames[] = {
13396 (char *) "self",(char *) "flags", NULL
13397 };
13398
13399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13402 arg2 = (int) SWIG_AsInt(obj1);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 (arg1)->SetFlags(arg2);
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 Py_INCREF(Py_None); resultobj = Py_None;
13412 return resultobj;
13413 fail:
13414 return NULL;
13415 }
13416
13417
13418 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13421 wxString *arg2 = 0 ;
13422 bool temp2 = False ;
13423 PyObject * obj0 = 0 ;
13424 PyObject * obj1 = 0 ;
13425 char *kwnames[] = {
13426 (char *) "self",(char *) "str", NULL
13427 };
13428
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13432 {
13433 arg2 = wxString_in_helper(obj1);
13434 if (arg2 == NULL) SWIG_fail;
13435 temp2 = True;
13436 }
13437 {
13438 PyThreadState* __tstate = wxPyBeginAllowThreads();
13439 (arg1)->SetFindString((wxString const &)*arg2);
13440
13441 wxPyEndAllowThreads(__tstate);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 }
13444 Py_INCREF(Py_None); resultobj = Py_None;
13445 {
13446 if (temp2)
13447 delete arg2;
13448 }
13449 return resultobj;
13450 fail:
13451 {
13452 if (temp2)
13453 delete arg2;
13454 }
13455 return NULL;
13456 }
13457
13458
13459 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13460 PyObject *resultobj;
13461 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13462 wxString *arg2 = 0 ;
13463 bool temp2 = False ;
13464 PyObject * obj0 = 0 ;
13465 PyObject * obj1 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self",(char *) "str", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13473 {
13474 arg2 = wxString_in_helper(obj1);
13475 if (arg2 == NULL) SWIG_fail;
13476 temp2 = True;
13477 }
13478 {
13479 PyThreadState* __tstate = wxPyBeginAllowThreads();
13480 (arg1)->SetReplaceString((wxString const &)*arg2);
13481
13482 wxPyEndAllowThreads(__tstate);
13483 if (PyErr_Occurred()) SWIG_fail;
13484 }
13485 Py_INCREF(Py_None); resultobj = Py_None;
13486 {
13487 if (temp2)
13488 delete arg2;
13489 }
13490 return resultobj;
13491 fail:
13492 {
13493 if (temp2)
13494 delete arg2;
13495 }
13496 return NULL;
13497 }
13498
13499
13500 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
13501 PyObject *obj;
13502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13503 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13504 Py_INCREF(obj);
13505 return Py_BuildValue((char *)"");
13506 }
13507 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj;
13509 wxWindow *arg1 = (wxWindow *) 0 ;
13510 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13511 wxString *arg3 = 0 ;
13512 int arg4 = (int) 0 ;
13513 wxFindReplaceDialog *result;
13514 bool temp3 = False ;
13515 PyObject * obj0 = 0 ;
13516 PyObject * obj1 = 0 ;
13517 PyObject * obj2 = 0 ;
13518 PyObject * obj3 = 0 ;
13519 char *kwnames[] = {
13520 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13521 };
13522
13523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13526 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13528 {
13529 arg3 = wxString_in_helper(obj2);
13530 if (arg3 == NULL) SWIG_fail;
13531 temp3 = True;
13532 }
13533 if (obj3) {
13534 arg4 = (int) SWIG_AsInt(obj3);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 }
13537 {
13538 PyThreadState* __tstate = wxPyBeginAllowThreads();
13539 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13540
13541 wxPyEndAllowThreads(__tstate);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
13544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13545 {
13546 if (temp3)
13547 delete arg3;
13548 }
13549 return resultobj;
13550 fail:
13551 {
13552 if (temp3)
13553 delete arg3;
13554 }
13555 return NULL;
13556 }
13557
13558
13559 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13560 PyObject *resultobj;
13561 wxFindReplaceDialog *result;
13562 char *kwnames[] = {
13563 NULL
13564 };
13565
13566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13567 {
13568 PyThreadState* __tstate = wxPyBeginAllowThreads();
13569 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13570
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13575 return resultobj;
13576 fail:
13577 return NULL;
13578 }
13579
13580
13581 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13582 PyObject *resultobj;
13583 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13584 wxWindow *arg2 = (wxWindow *) 0 ;
13585 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13586 wxString *arg4 = 0 ;
13587 int arg5 = (int) 0 ;
13588 bool result;
13589 bool temp4 = False ;
13590 PyObject * obj0 = 0 ;
13591 PyObject * obj1 = 0 ;
13592 PyObject * obj2 = 0 ;
13593 PyObject * obj3 = 0 ;
13594 PyObject * obj4 = 0 ;
13595 char *kwnames[] = {
13596 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13597 };
13598
13599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13604 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
13605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13606 {
13607 arg4 = wxString_in_helper(obj3);
13608 if (arg4 == NULL) SWIG_fail;
13609 temp4 = True;
13610 }
13611 if (obj4) {
13612 arg5 = (int) SWIG_AsInt(obj4);
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
13615 {
13616 PyThreadState* __tstate = wxPyBeginAllowThreads();
13617 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13618
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13623 {
13624 if (temp4)
13625 delete arg4;
13626 }
13627 return resultobj;
13628 fail:
13629 {
13630 if (temp4)
13631 delete arg4;
13632 }
13633 return NULL;
13634 }
13635
13636
13637 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
13638 PyObject *resultobj;
13639 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13640 wxFindReplaceData *result;
13641 PyObject * obj0 = 0 ;
13642 char *kwnames[] = {
13643 (char *) "self", NULL
13644 };
13645
13646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13649 {
13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
13651 result = (wxFindReplaceData *)(arg1)->GetData();
13652
13653 wxPyEndAllowThreads(__tstate);
13654 if (PyErr_Occurred()) SWIG_fail;
13655 }
13656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
13657 return resultobj;
13658 fail:
13659 return NULL;
13660 }
13661
13662
13663 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
13664 PyObject *resultobj;
13665 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13666 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13667 PyObject * obj0 = 0 ;
13668 PyObject * obj1 = 0 ;
13669 char *kwnames[] = {
13670 (char *) "self",(char *) "data", NULL
13671 };
13672
13673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13676 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13678 {
13679 PyThreadState* __tstate = wxPyBeginAllowThreads();
13680 (arg1)->SetData(arg2);
13681
13682 wxPyEndAllowThreads(__tstate);
13683 if (PyErr_Occurred()) SWIG_fail;
13684 }
13685 Py_INCREF(Py_None); resultobj = Py_None;
13686 return resultobj;
13687 fail:
13688 return NULL;
13689 }
13690
13691
13692 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
13693 PyObject *obj;
13694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13695 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
13696 Py_INCREF(obj);
13697 return Py_BuildValue((char *)"");
13698 }
13699 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
13700 PyObject *resultobj;
13701 wxWindow *arg1 = (wxWindow *) 0 ;
13702 int arg2 ;
13703 wxString *arg3 = 0 ;
13704 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13705 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13706 wxSize const &arg5_defvalue = wxDefaultSize ;
13707 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13708 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13709 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13710 wxString *arg7 = (wxString *) &arg7_defvalue ;
13711 wxMDIParentFrame *result;
13712 bool temp3 = False ;
13713 wxPoint temp4 ;
13714 wxSize temp5 ;
13715 bool temp7 = False ;
13716 PyObject * obj0 = 0 ;
13717 PyObject * obj1 = 0 ;
13718 PyObject * obj2 = 0 ;
13719 PyObject * obj3 = 0 ;
13720 PyObject * obj4 = 0 ;
13721 PyObject * obj5 = 0 ;
13722 PyObject * obj6 = 0 ;
13723 char *kwnames[] = {
13724 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13725 };
13726
13727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13730 arg2 = (int const) SWIG_AsInt(obj1);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 {
13733 arg3 = wxString_in_helper(obj2);
13734 if (arg3 == NULL) SWIG_fail;
13735 temp3 = True;
13736 }
13737 if (obj3) {
13738 {
13739 arg4 = &temp4;
13740 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13741 }
13742 }
13743 if (obj4) {
13744 {
13745 arg5 = &temp5;
13746 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13747 }
13748 }
13749 if (obj5) {
13750 arg6 = (long) SWIG_AsLong(obj5);
13751 if (PyErr_Occurred()) SWIG_fail;
13752 }
13753 if (obj6) {
13754 {
13755 arg7 = wxString_in_helper(obj6);
13756 if (arg7 == NULL) SWIG_fail;
13757 temp7 = True;
13758 }
13759 }
13760 {
13761 PyThreadState* __tstate = wxPyBeginAllowThreads();
13762 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13763
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
13767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
13768 {
13769 if (temp3)
13770 delete arg3;
13771 }
13772 {
13773 if (temp7)
13774 delete arg7;
13775 }
13776 return resultobj;
13777 fail:
13778 {
13779 if (temp3)
13780 delete arg3;
13781 }
13782 {
13783 if (temp7)
13784 delete arg7;
13785 }
13786 return NULL;
13787 }
13788
13789
13790 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
13791 PyObject *resultobj;
13792 wxMDIParentFrame *result;
13793 char *kwnames[] = {
13794 NULL
13795 };
13796
13797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13798 {
13799 PyThreadState* __tstate = wxPyBeginAllowThreads();
13800 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13801
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
13806 return resultobj;
13807 fail:
13808 return NULL;
13809 }
13810
13811
13812 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13813 PyObject *resultobj;
13814 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13815 wxWindow *arg2 = (wxWindow *) 0 ;
13816 int arg3 ;
13817 wxString *arg4 = 0 ;
13818 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13819 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13820 wxSize const &arg6_defvalue = wxDefaultSize ;
13821 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13822 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13823 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13824 wxString *arg8 = (wxString *) &arg8_defvalue ;
13825 bool result;
13826 bool temp4 = False ;
13827 wxPoint temp5 ;
13828 wxSize temp6 ;
13829 bool temp8 = False ;
13830 PyObject * obj0 = 0 ;
13831 PyObject * obj1 = 0 ;
13832 PyObject * obj2 = 0 ;
13833 PyObject * obj3 = 0 ;
13834 PyObject * obj4 = 0 ;
13835 PyObject * obj5 = 0 ;
13836 PyObject * obj6 = 0 ;
13837 PyObject * obj7 = 0 ;
13838 char *kwnames[] = {
13839 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13840 };
13841
13842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
13844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13847 arg3 = (int const) SWIG_AsInt(obj2);
13848 if (PyErr_Occurred()) SWIG_fail;
13849 {
13850 arg4 = wxString_in_helper(obj3);
13851 if (arg4 == NULL) SWIG_fail;
13852 temp4 = True;
13853 }
13854 if (obj4) {
13855 {
13856 arg5 = &temp5;
13857 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13858 }
13859 }
13860 if (obj5) {
13861 {
13862 arg6 = &temp6;
13863 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13864 }
13865 }
13866 if (obj6) {
13867 arg7 = (long) SWIG_AsLong(obj6);
13868 if (PyErr_Occurred()) SWIG_fail;
13869 }
13870 if (obj7) {
13871 {
13872 arg8 = wxString_in_helper(obj7);
13873 if (arg8 == NULL) SWIG_fail;
13874 temp8 = True;
13875 }
13876 }
13877 {
13878 PyThreadState* __tstate = wxPyBeginAllowThreads();
13879 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13880
13881 wxPyEndAllowThreads(__tstate);
13882 if (PyErr_Occurred()) SWIG_fail;
13883 }
13884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13885 {
13886 if (temp4)
13887 delete arg4;
13888 }
13889 {
13890 if (temp8)
13891 delete arg8;
13892 }
13893 return resultobj;
13894 fail:
13895 {
13896 if (temp4)
13897 delete arg4;
13898 }
13899 {
13900 if (temp8)
13901 delete arg8;
13902 }
13903 return NULL;
13904 }
13905
13906
13907 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
13908 PyObject *resultobj;
13909 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13910 PyObject * obj0 = 0 ;
13911 char *kwnames[] = {
13912 (char *) "self", NULL
13913 };
13914
13915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
13916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
13917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 (arg1)->ActivateNext();
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 Py_INCREF(Py_None); resultobj = Py_None;
13926 return resultobj;
13927 fail:
13928 return NULL;
13929 }
13930
13931
13932 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13935 PyObject * obj0 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
13941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
13942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 (arg1)->ActivatePrevious();
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_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
13958 PyObject *resultobj;
13959 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13960 PyObject * obj0 = 0 ;
13961 char *kwnames[] = {
13962 (char *) "self", NULL
13963 };
13964
13965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
13966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
13967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13968 {
13969 PyThreadState* __tstate = wxPyBeginAllowThreads();
13970 (arg1)->ArrangeIcons();
13971
13972 wxPyEndAllowThreads(__tstate);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 Py_INCREF(Py_None); resultobj = Py_None;
13976 return resultobj;
13977 fail:
13978 return NULL;
13979 }
13980
13981
13982 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
13983 PyObject *resultobj;
13984 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13985 PyObject * obj0 = 0 ;
13986 char *kwnames[] = {
13987 (char *) "self", NULL
13988 };
13989
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
13991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
13992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13993 {
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
13995 (arg1)->Cascade();
13996
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
14000 Py_INCREF(Py_None); resultobj = Py_None;
14001 return resultobj;
14002 fail:
14003 return NULL;
14004 }
14005
14006
14007 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj;
14009 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14010 wxMDIChildFrame *result;
14011 PyObject * obj0 = 0 ;
14012 char *kwnames[] = {
14013 (char *) "self", NULL
14014 };
14015
14016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14019 {
14020 PyThreadState* __tstate = wxPyBeginAllowThreads();
14021 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14022
14023 wxPyEndAllowThreads(__tstate);
14024 if (PyErr_Occurred()) SWIG_fail;
14025 }
14026 {
14027 resultobj = wxPyMake_wxObject(result);
14028 }
14029 return resultobj;
14030 fail:
14031 return NULL;
14032 }
14033
14034
14035 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14036 PyObject *resultobj;
14037 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14038 wxMDIClientWindow *result;
14039 PyObject * obj0 = 0 ;
14040 char *kwnames[] = {
14041 (char *) "self", NULL
14042 };
14043
14044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14047 {
14048 PyThreadState* __tstate = wxPyBeginAllowThreads();
14049 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14050
14051 wxPyEndAllowThreads(__tstate);
14052 if (PyErr_Occurred()) SWIG_fail;
14053 }
14054 {
14055 resultobj = wxPyMake_wxObject(result);
14056 }
14057 return resultobj;
14058 fail:
14059 return NULL;
14060 }
14061
14062
14063 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
14064 PyObject *resultobj;
14065 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14066 wxWindow *result;
14067 PyObject * obj0 = 0 ;
14068 char *kwnames[] = {
14069 (char *) "self", NULL
14070 };
14071
14072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14075 {
14076 PyThreadState* __tstate = wxPyBeginAllowThreads();
14077 result = (wxWindow *)(arg1)->GetToolBar();
14078
14079 wxPyEndAllowThreads(__tstate);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 {
14083 resultobj = wxPyMake_wxObject(result);
14084 }
14085 return resultobj;
14086 fail:
14087 return NULL;
14088 }
14089
14090
14091 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
14092 PyObject *resultobj;
14093 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14094 PyObject * obj0 = 0 ;
14095 char *kwnames[] = {
14096 (char *) "self", NULL
14097 };
14098
14099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14102 {
14103 PyThreadState* __tstate = wxPyBeginAllowThreads();
14104 (arg1)->Tile();
14105
14106 wxPyEndAllowThreads(__tstate);
14107 if (PyErr_Occurred()) SWIG_fail;
14108 }
14109 Py_INCREF(Py_None); resultobj = Py_None;
14110 return resultobj;
14111 fail:
14112 return NULL;
14113 }
14114
14115
14116 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
14117 PyObject *obj;
14118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14119 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14120 Py_INCREF(obj);
14121 return Py_BuildValue((char *)"");
14122 }
14123 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14124 PyObject *resultobj;
14125 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14126 int arg2 ;
14127 wxString *arg3 = 0 ;
14128 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14129 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14130 wxSize const &arg5_defvalue = wxDefaultSize ;
14131 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14132 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14133 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14134 wxString *arg7 = (wxString *) &arg7_defvalue ;
14135 wxMDIChildFrame *result;
14136 bool temp3 = False ;
14137 wxPoint temp4 ;
14138 wxSize temp5 ;
14139 bool temp7 = False ;
14140 PyObject * obj0 = 0 ;
14141 PyObject * obj1 = 0 ;
14142 PyObject * obj2 = 0 ;
14143 PyObject * obj3 = 0 ;
14144 PyObject * obj4 = 0 ;
14145 PyObject * obj5 = 0 ;
14146 PyObject * obj6 = 0 ;
14147 char *kwnames[] = {
14148 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14149 };
14150
14151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14154 arg2 = (int const) SWIG_AsInt(obj1);
14155 if (PyErr_Occurred()) SWIG_fail;
14156 {
14157 arg3 = wxString_in_helper(obj2);
14158 if (arg3 == NULL) SWIG_fail;
14159 temp3 = True;
14160 }
14161 if (obj3) {
14162 {
14163 arg4 = &temp4;
14164 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14165 }
14166 }
14167 if (obj4) {
14168 {
14169 arg5 = &temp5;
14170 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14171 }
14172 }
14173 if (obj5) {
14174 arg6 = (long) SWIG_AsLong(obj5);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 }
14177 if (obj6) {
14178 {
14179 arg7 = wxString_in_helper(obj6);
14180 if (arg7 == NULL) SWIG_fail;
14181 temp7 = True;
14182 }
14183 }
14184 {
14185 PyThreadState* __tstate = wxPyBeginAllowThreads();
14186 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14187
14188 wxPyEndAllowThreads(__tstate);
14189 if (PyErr_Occurred()) SWIG_fail;
14190 }
14191 {
14192 resultobj = wxPyMake_wxObject(result);
14193 }
14194 {
14195 if (temp3)
14196 delete arg3;
14197 }
14198 {
14199 if (temp7)
14200 delete arg7;
14201 }
14202 return resultobj;
14203 fail:
14204 {
14205 if (temp3)
14206 delete arg3;
14207 }
14208 {
14209 if (temp7)
14210 delete arg7;
14211 }
14212 return NULL;
14213 }
14214
14215
14216 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14217 PyObject *resultobj;
14218 wxMDIChildFrame *result;
14219 char *kwnames[] = {
14220 NULL
14221 };
14222
14223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14224 {
14225 PyThreadState* __tstate = wxPyBeginAllowThreads();
14226 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14227
14228 wxPyEndAllowThreads(__tstate);
14229 if (PyErr_Occurred()) SWIG_fail;
14230 }
14231 {
14232 resultobj = wxPyMake_wxObject(result);
14233 }
14234 return resultobj;
14235 fail:
14236 return NULL;
14237 }
14238
14239
14240 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14241 PyObject *resultobj;
14242 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14243 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14244 int arg3 ;
14245 wxString *arg4 = 0 ;
14246 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14247 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14248 wxSize const &arg6_defvalue = wxDefaultSize ;
14249 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14250 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14251 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14252 wxString *arg8 = (wxString *) &arg8_defvalue ;
14253 bool result;
14254 bool temp4 = False ;
14255 wxPoint temp5 ;
14256 wxSize temp6 ;
14257 bool temp8 = False ;
14258 PyObject * obj0 = 0 ;
14259 PyObject * obj1 = 0 ;
14260 PyObject * obj2 = 0 ;
14261 PyObject * obj3 = 0 ;
14262 PyObject * obj4 = 0 ;
14263 PyObject * obj5 = 0 ;
14264 PyObject * obj6 = 0 ;
14265 PyObject * obj7 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14275 arg3 = (int const) SWIG_AsInt(obj2);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 {
14278 arg4 = wxString_in_helper(obj3);
14279 if (arg4 == NULL) SWIG_fail;
14280 temp4 = True;
14281 }
14282 if (obj4) {
14283 {
14284 arg5 = &temp5;
14285 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14286 }
14287 }
14288 if (obj5) {
14289 {
14290 arg6 = &temp6;
14291 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14292 }
14293 }
14294 if (obj6) {
14295 arg7 = (long) SWIG_AsLong(obj6);
14296 if (PyErr_Occurred()) SWIG_fail;
14297 }
14298 if (obj7) {
14299 {
14300 arg8 = wxString_in_helper(obj7);
14301 if (arg8 == NULL) SWIG_fail;
14302 temp8 = True;
14303 }
14304 }
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14313 {
14314 if (temp4)
14315 delete arg4;
14316 }
14317 {
14318 if (temp8)
14319 delete arg8;
14320 }
14321 return resultobj;
14322 fail:
14323 {
14324 if (temp4)
14325 delete arg4;
14326 }
14327 {
14328 if (temp8)
14329 delete arg8;
14330 }
14331 return NULL;
14332 }
14333
14334
14335 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
14336 PyObject *resultobj;
14337 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14338 PyObject * obj0 = 0 ;
14339 char *kwnames[] = {
14340 (char *) "self", NULL
14341 };
14342
14343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 (arg1)->Activate();
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 *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
14361 PyObject *resultobj;
14362 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14363 bool arg2 ;
14364 PyObject * obj0 = 0 ;
14365 PyObject * obj1 = 0 ;
14366 char *kwnames[] = {
14367 (char *) "self",(char *) "maximize", NULL
14368 };
14369
14370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14373 arg2 = (bool) SWIG_AsBool(obj1);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 {
14376 PyThreadState* __tstate = wxPyBeginAllowThreads();
14377 (arg1)->Maximize(arg2);
14378
14379 wxPyEndAllowThreads(__tstate);
14380 if (PyErr_Occurred()) SWIG_fail;
14381 }
14382 Py_INCREF(Py_None); resultobj = Py_None;
14383 return resultobj;
14384 fail:
14385 return NULL;
14386 }
14387
14388
14389 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
14390 PyObject *resultobj;
14391 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14392 PyObject * obj0 = 0 ;
14393 char *kwnames[] = {
14394 (char *) "self", NULL
14395 };
14396
14397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 (arg1)->Restore();
14403
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 Py_INCREF(Py_None); resultobj = Py_None;
14408 return resultobj;
14409 fail:
14410 return NULL;
14411 }
14412
14413
14414 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
14415 PyObject *obj;
14416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14417 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14418 Py_INCREF(obj);
14419 return Py_BuildValue((char *)"");
14420 }
14421 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14422 PyObject *resultobj;
14423 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14424 long arg2 = (long) 0 ;
14425 wxMDIClientWindow *result;
14426 PyObject * obj0 = 0 ;
14427 PyObject * obj1 = 0 ;
14428 char *kwnames[] = {
14429 (char *) "parent",(char *) "style", NULL
14430 };
14431
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14435 if (obj1) {
14436 arg2 = (long) SWIG_AsLong(obj1);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 }
14439 {
14440 PyThreadState* __tstate = wxPyBeginAllowThreads();
14441 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14442
14443 wxPyEndAllowThreads(__tstate);
14444 if (PyErr_Occurred()) SWIG_fail;
14445 }
14446 {
14447 resultobj = wxPyMake_wxObject(result);
14448 }
14449 return resultobj;
14450 fail:
14451 return NULL;
14452 }
14453
14454
14455 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14456 PyObject *resultobj;
14457 wxMDIClientWindow *result;
14458 char *kwnames[] = {
14459 NULL
14460 };
14461
14462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14463 {
14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
14465 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14466
14467 wxPyEndAllowThreads(__tstate);
14468 if (PyErr_Occurred()) SWIG_fail;
14469 }
14470 {
14471 resultobj = wxPyMake_wxObject(result);
14472 }
14473 return resultobj;
14474 fail:
14475 return NULL;
14476 }
14477
14478
14479 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14480 PyObject *resultobj;
14481 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14482 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14483 long arg3 = (long) 0 ;
14484 bool result;
14485 PyObject * obj0 = 0 ;
14486 PyObject * obj1 = 0 ;
14487 PyObject * obj2 = 0 ;
14488 char *kwnames[] = {
14489 (char *) "self",(char *) "parent",(char *) "style", NULL
14490 };
14491
14492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
14494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14497 if (obj2) {
14498 arg3 = (long) SWIG_AsLong(obj2);
14499 if (PyErr_Occurred()) SWIG_fail;
14500 }
14501 {
14502 PyThreadState* __tstate = wxPyBeginAllowThreads();
14503 result = (bool)(arg1)->Create(arg2,arg3);
14504
14505 wxPyEndAllowThreads(__tstate);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14509 return resultobj;
14510 fail:
14511 return NULL;
14512 }
14513
14514
14515 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
14516 PyObject *obj;
14517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14518 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14519 Py_INCREF(obj);
14520 return Py_BuildValue((char *)"");
14521 }
14522 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxWindow *arg1 = (wxWindow *) 0 ;
14525 int arg2 ;
14526 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14527 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14528 wxSize const &arg4_defvalue = wxDefaultSize ;
14529 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14530 long arg5 = (long) 0 ;
14531 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14532 wxString *arg6 = (wxString *) &arg6_defvalue ;
14533 wxPyWindow *result;
14534 wxPoint temp3 ;
14535 wxSize temp4 ;
14536 bool temp6 = False ;
14537 PyObject * obj0 = 0 ;
14538 PyObject * obj1 = 0 ;
14539 PyObject * obj2 = 0 ;
14540 PyObject * obj3 = 0 ;
14541 PyObject * obj4 = 0 ;
14542 PyObject * obj5 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14550 arg2 = (int const) SWIG_AsInt(obj1);
14551 if (PyErr_Occurred()) SWIG_fail;
14552 if (obj2) {
14553 {
14554 arg3 = &temp3;
14555 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14556 }
14557 }
14558 if (obj3) {
14559 {
14560 arg4 = &temp4;
14561 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14562 }
14563 }
14564 if (obj4) {
14565 arg5 = (long) SWIG_AsLong(obj4);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 if (obj5) {
14569 {
14570 arg6 = wxString_in_helper(obj5);
14571 if (arg6 == NULL) SWIG_fail;
14572 temp6 = True;
14573 }
14574 }
14575 {
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14578
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14583 {
14584 if (temp6)
14585 delete arg6;
14586 }
14587 return resultobj;
14588 fail:
14589 {
14590 if (temp6)
14591 delete arg6;
14592 }
14593 return NULL;
14594 }
14595
14596
14597 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
14598 PyObject *resultobj;
14599 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14600 PyObject *arg2 = (PyObject *) 0 ;
14601 PyObject *arg3 = (PyObject *) 0 ;
14602 PyObject * obj0 = 0 ;
14603 PyObject * obj1 = 0 ;
14604 PyObject * obj2 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self",(char *) "self",(char *) "_class", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14612 arg2 = obj1;
14613 arg3 = obj2;
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 (arg1)->_setCallbackInfo(arg2,arg3);
14617
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
14621 Py_INCREF(Py_None); resultobj = Py_None;
14622 return resultobj;
14623 fail:
14624 return NULL;
14625 }
14626
14627
14628 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14629 PyObject *resultobj;
14630 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14631 int arg2 ;
14632 int arg3 ;
14633 int arg4 ;
14634 int arg5 ;
14635 PyObject * obj0 = 0 ;
14636 PyObject * obj1 = 0 ;
14637 PyObject * obj2 = 0 ;
14638 PyObject * obj3 = 0 ;
14639 PyObject * obj4 = 0 ;
14640 char *kwnames[] = {
14641 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14642 };
14643
14644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14647 arg2 = (int) SWIG_AsInt(obj1);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 arg3 = (int) SWIG_AsInt(obj2);
14650 if (PyErr_Occurred()) SWIG_fail;
14651 arg4 = (int) SWIG_AsInt(obj3);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 arg5 = (int) SWIG_AsInt(obj4);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 {
14656 PyThreadState* __tstate = wxPyBeginAllowThreads();
14657 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14658
14659 wxPyEndAllowThreads(__tstate);
14660 if (PyErr_Occurred()) SWIG_fail;
14661 }
14662 Py_INCREF(Py_None); resultobj = Py_None;
14663 return resultobj;
14664 fail:
14665 return NULL;
14666 }
14667
14668
14669 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
14670 PyObject *resultobj;
14671 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14672 int arg2 ;
14673 int arg3 ;
14674 int arg4 ;
14675 int arg5 ;
14676 int arg6 = (int) wxSIZE_AUTO ;
14677 PyObject * obj0 = 0 ;
14678 PyObject * obj1 = 0 ;
14679 PyObject * obj2 = 0 ;
14680 PyObject * obj3 = 0 ;
14681 PyObject * obj4 = 0 ;
14682 PyObject * obj5 = 0 ;
14683 char *kwnames[] = {
14684 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14685 };
14686
14687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14690 arg2 = (int) SWIG_AsInt(obj1);
14691 if (PyErr_Occurred()) SWIG_fail;
14692 arg3 = (int) SWIG_AsInt(obj2);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 arg4 = (int) SWIG_AsInt(obj3);
14695 if (PyErr_Occurred()) SWIG_fail;
14696 arg5 = (int) SWIG_AsInt(obj4);
14697 if (PyErr_Occurred()) SWIG_fail;
14698 if (obj5) {
14699 arg6 = (int) SWIG_AsInt(obj5);
14700 if (PyErr_Occurred()) SWIG_fail;
14701 }
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
14704 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14705
14706 wxPyEndAllowThreads(__tstate);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
14709 Py_INCREF(Py_None); resultobj = Py_None;
14710 return resultobj;
14711 fail:
14712 return NULL;
14713 }
14714
14715
14716 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
14717 PyObject *resultobj;
14718 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14719 int arg2 ;
14720 int arg3 ;
14721 PyObject * obj0 = 0 ;
14722 PyObject * obj1 = 0 ;
14723 PyObject * obj2 = 0 ;
14724 char *kwnames[] = {
14725 (char *) "self",(char *) "width",(char *) "height", NULL
14726 };
14727
14728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14731 arg2 = (int) SWIG_AsInt(obj1);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 arg3 = (int) SWIG_AsInt(obj2);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 {
14736 PyThreadState* __tstate = wxPyBeginAllowThreads();
14737 (arg1)->base_DoSetClientSize(arg2,arg3);
14738
14739 wxPyEndAllowThreads(__tstate);
14740 if (PyErr_Occurred()) SWIG_fail;
14741 }
14742 Py_INCREF(Py_None); resultobj = Py_None;
14743 return resultobj;
14744 fail:
14745 return NULL;
14746 }
14747
14748
14749 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
14750 PyObject *resultobj;
14751 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14752 int arg2 ;
14753 int arg3 ;
14754 PyObject * obj0 = 0 ;
14755 PyObject * obj1 = 0 ;
14756 PyObject * obj2 = 0 ;
14757 char *kwnames[] = {
14758 (char *) "self",(char *) "x",(char *) "y", NULL
14759 };
14760
14761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14764 arg2 = (int) SWIG_AsInt(obj1);
14765 if (PyErr_Occurred()) SWIG_fail;
14766 arg3 = (int) SWIG_AsInt(obj2);
14767 if (PyErr_Occurred()) SWIG_fail;
14768 {
14769 PyThreadState* __tstate = wxPyBeginAllowThreads();
14770 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14771
14772 wxPyEndAllowThreads(__tstate);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 }
14775 Py_INCREF(Py_None); resultobj = Py_None;
14776 return resultobj;
14777 fail:
14778 return NULL;
14779 }
14780
14781
14782 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
14783 PyObject *resultobj;
14784 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14785 int *arg2 = (int *) 0 ;
14786 int *arg3 = (int *) 0 ;
14787 int temp2 ;
14788 int temp3 ;
14789 PyObject * obj0 = 0 ;
14790 char *kwnames[] = {
14791 (char *) "self", NULL
14792 };
14793
14794 arg2 = &temp2;
14795 arg3 = &temp3;
14796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
14797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14799 {
14800 PyThreadState* __tstate = wxPyBeginAllowThreads();
14801 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
14802
14803 wxPyEndAllowThreads(__tstate);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 Py_INCREF(Py_None); resultobj = Py_None;
14807 {
14808 PyObject *o = PyInt_FromLong((long) (*arg2));
14809 resultobj = t_output_helper(resultobj,o);
14810 }
14811 {
14812 PyObject *o = PyInt_FromLong((long) (*arg3));
14813 resultobj = t_output_helper(resultobj,o);
14814 }
14815 return resultobj;
14816 fail:
14817 return NULL;
14818 }
14819
14820
14821 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
14822 PyObject *resultobj;
14823 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14824 int *arg2 = (int *) 0 ;
14825 int *arg3 = (int *) 0 ;
14826 int temp2 ;
14827 int temp3 ;
14828 PyObject * obj0 = 0 ;
14829 char *kwnames[] = {
14830 (char *) "self", NULL
14831 };
14832
14833 arg2 = &temp2;
14834 arg3 = &temp3;
14835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14838 {
14839 PyThreadState* __tstate = wxPyBeginAllowThreads();
14840 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
14841
14842 wxPyEndAllowThreads(__tstate);
14843 if (PyErr_Occurred()) SWIG_fail;
14844 }
14845 Py_INCREF(Py_None); resultobj = Py_None;
14846 {
14847 PyObject *o = PyInt_FromLong((long) (*arg2));
14848 resultobj = t_output_helper(resultobj,o);
14849 }
14850 {
14851 PyObject *o = PyInt_FromLong((long) (*arg3));
14852 resultobj = t_output_helper(resultobj,o);
14853 }
14854 return resultobj;
14855 fail:
14856 return NULL;
14857 }
14858
14859
14860 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
14861 PyObject *resultobj;
14862 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14863 int *arg2 = (int *) 0 ;
14864 int *arg3 = (int *) 0 ;
14865 int temp2 ;
14866 int temp3 ;
14867 PyObject * obj0 = 0 ;
14868 char *kwnames[] = {
14869 (char *) "self", NULL
14870 };
14871
14872 arg2 = &temp2;
14873 arg3 = &temp3;
14874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
14875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14877 {
14878 PyThreadState* __tstate = wxPyBeginAllowThreads();
14879 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
14880
14881 wxPyEndAllowThreads(__tstate);
14882 if (PyErr_Occurred()) SWIG_fail;
14883 }
14884 Py_INCREF(Py_None); resultobj = Py_None;
14885 {
14886 PyObject *o = PyInt_FromLong((long) (*arg2));
14887 resultobj = t_output_helper(resultobj,o);
14888 }
14889 {
14890 PyObject *o = PyInt_FromLong((long) (*arg3));
14891 resultobj = t_output_helper(resultobj,o);
14892 }
14893 return resultobj;
14894 fail:
14895 return NULL;
14896 }
14897
14898
14899 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
14900 PyObject *resultobj;
14901 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14902 wxSize result;
14903 PyObject * obj0 = 0 ;
14904 char *kwnames[] = {
14905 (char *) "self", NULL
14906 };
14907
14908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14911 {
14912 PyThreadState* __tstate = wxPyBeginAllowThreads();
14913 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
14914
14915 wxPyEndAllowThreads(__tstate);
14916 if (PyErr_Occurred()) SWIG_fail;
14917 }
14918 {
14919 wxSize * resultptr;
14920 resultptr = new wxSize((wxSize &) result);
14921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14922 }
14923 return resultobj;
14924 fail:
14925 return NULL;
14926 }
14927
14928
14929 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
14930 PyObject *resultobj;
14931 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14932 wxSize result;
14933 PyObject * obj0 = 0 ;
14934 char *kwnames[] = {
14935 (char *) "self", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 {
14949 wxSize * resultptr;
14950 resultptr = new wxSize((wxSize &) result);
14951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14952 }
14953 return resultobj;
14954 fail:
14955 return NULL;
14956 }
14957
14958
14959 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj;
14961 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14962 PyObject * obj0 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
14968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 (arg1)->base_InitDialog();
14973
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
14977 Py_INCREF(Py_None); resultobj = Py_None;
14978 return resultobj;
14979 fail:
14980 return NULL;
14981 }
14982
14983
14984 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14985 PyObject *resultobj;
14986 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14987 bool result;
14988 PyObject * obj0 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "self", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14996 {
14997 PyThreadState* __tstate = wxPyBeginAllowThreads();
14998 result = (bool)(arg1)->base_TransferDataToWindow();
14999
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15004 return resultobj;
15005 fail:
15006 return NULL;
15007 }
15008
15009
15010 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15011 PyObject *resultobj;
15012 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15013 bool result;
15014 PyObject * obj0 = 0 ;
15015 char *kwnames[] = {
15016 (char *) "self", NULL
15017 };
15018
15019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15022 {
15023 PyThreadState* __tstate = wxPyBeginAllowThreads();
15024 result = (bool)(arg1)->base_TransferDataFromWindow();
15025
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15030 return resultobj;
15031 fail:
15032 return NULL;
15033 }
15034
15035
15036 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
15037 PyObject *resultobj;
15038 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15039 bool result;
15040 PyObject * obj0 = 0 ;
15041 char *kwnames[] = {
15042 (char *) "self", NULL
15043 };
15044
15045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15048 {
15049 PyThreadState* __tstate = wxPyBeginAllowThreads();
15050 result = (bool)(arg1)->base_Validate();
15051
15052 wxPyEndAllowThreads(__tstate);
15053 if (PyErr_Occurred()) SWIG_fail;
15054 }
15055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15056 return resultobj;
15057 fail:
15058 return NULL;
15059 }
15060
15061
15062 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
15063 PyObject *resultobj;
15064 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15065 bool result;
15066 PyObject * obj0 = 0 ;
15067 char *kwnames[] = {
15068 (char *) "self", NULL
15069 };
15070
15071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15074 {
15075 PyThreadState* __tstate = wxPyBeginAllowThreads();
15076 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15077
15078 wxPyEndAllowThreads(__tstate);
15079 if (PyErr_Occurred()) SWIG_fail;
15080 }
15081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15082 return resultobj;
15083 fail:
15084 return NULL;
15085 }
15086
15087
15088 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
15089 PyObject *resultobj;
15090 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15091 bool result;
15092 PyObject * obj0 = 0 ;
15093 char *kwnames[] = {
15094 (char *) "self", NULL
15095 };
15096
15097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15100 {
15101 PyThreadState* __tstate = wxPyBeginAllowThreads();
15102 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15103
15104 wxPyEndAllowThreads(__tstate);
15105 if (PyErr_Occurred()) SWIG_fail;
15106 }
15107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15108 return resultobj;
15109 fail:
15110 return NULL;
15111 }
15112
15113
15114 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
15115 PyObject *resultobj;
15116 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15117 wxSize result;
15118 PyObject * obj0 = 0 ;
15119 char *kwnames[] = {
15120 (char *) "self", NULL
15121 };
15122
15123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15129
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 {
15134 wxSize * resultptr;
15135 resultptr = new wxSize((wxSize &) result);
15136 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15137 }
15138 return resultobj;
15139 fail:
15140 return NULL;
15141 }
15142
15143
15144 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
15145 PyObject *resultobj;
15146 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15147 wxWindow *arg2 = (wxWindow *) 0 ;
15148 PyObject * obj0 = 0 ;
15149 PyObject * obj1 = 0 ;
15150 char *kwnames[] = {
15151 (char *) "self",(char *) "child", NULL
15152 };
15153
15154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15157 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15159 {
15160 PyThreadState* __tstate = wxPyBeginAllowThreads();
15161 (arg1)->base_AddChild(arg2);
15162
15163 wxPyEndAllowThreads(__tstate);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
15166 Py_INCREF(Py_None); resultobj = Py_None;
15167 return resultobj;
15168 fail:
15169 return NULL;
15170 }
15171
15172
15173 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15174 PyObject *resultobj;
15175 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15176 wxWindow *arg2 = (wxWindow *) 0 ;
15177 PyObject * obj0 = 0 ;
15178 PyObject * obj1 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self",(char *) "child", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 (arg1)->base_RemoveChild(arg2);
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 Py_INCREF(Py_None); resultobj = Py_None;
15196 return resultobj;
15197 fail:
15198 return NULL;
15199 }
15200
15201
15202 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
15203 PyObject *obj;
15204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15205 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15206 Py_INCREF(obj);
15207 return Py_BuildValue((char *)"");
15208 }
15209 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
15210 PyObject *resultobj;
15211 wxWindow *arg1 = (wxWindow *) 0 ;
15212 int arg2 ;
15213 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15214 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15215 wxSize const &arg4_defvalue = wxDefaultSize ;
15216 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15217 long arg5 = (long) 0 ;
15218 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15219 wxString *arg6 = (wxString *) &arg6_defvalue ;
15220 wxPyPanel *result;
15221 wxPoint temp3 ;
15222 wxSize temp4 ;
15223 bool temp6 = False ;
15224 PyObject * obj0 = 0 ;
15225 PyObject * obj1 = 0 ;
15226 PyObject * obj2 = 0 ;
15227 PyObject * obj3 = 0 ;
15228 PyObject * obj4 = 0 ;
15229 PyObject * obj5 = 0 ;
15230 char *kwnames[] = {
15231 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15232 };
15233
15234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15237 arg2 = (int const) SWIG_AsInt(obj1);
15238 if (PyErr_Occurred()) SWIG_fail;
15239 if (obj2) {
15240 {
15241 arg3 = &temp3;
15242 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15243 }
15244 }
15245 if (obj3) {
15246 {
15247 arg4 = &temp4;
15248 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15249 }
15250 }
15251 if (obj4) {
15252 arg5 = (long) SWIG_AsLong(obj4);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 }
15255 if (obj5) {
15256 {
15257 arg6 = wxString_in_helper(obj5);
15258 if (arg6 == NULL) SWIG_fail;
15259 temp6 = True;
15260 }
15261 }
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15265
15266 wxPyEndAllowThreads(__tstate);
15267 if (PyErr_Occurred()) SWIG_fail;
15268 }
15269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15270 {
15271 if (temp6)
15272 delete arg6;
15273 }
15274 return resultobj;
15275 fail:
15276 {
15277 if (temp6)
15278 delete arg6;
15279 }
15280 return NULL;
15281 }
15282
15283
15284 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15285 PyObject *resultobj;
15286 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15287 PyObject *arg2 = (PyObject *) 0 ;
15288 PyObject *arg3 = (PyObject *) 0 ;
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
15291 PyObject * obj2 = 0 ;
15292 char *kwnames[] = {
15293 (char *) "self",(char *) "self",(char *) "_class", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15299 arg2 = obj1;
15300 arg3 = obj2;
15301 {
15302 PyThreadState* __tstate = wxPyBeginAllowThreads();
15303 (arg1)->_setCallbackInfo(arg2,arg3);
15304
15305 wxPyEndAllowThreads(__tstate);
15306 if (PyErr_Occurred()) SWIG_fail;
15307 }
15308 Py_INCREF(Py_None); resultobj = Py_None;
15309 return resultobj;
15310 fail:
15311 return NULL;
15312 }
15313
15314
15315 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15316 PyObject *resultobj;
15317 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15318 int arg2 ;
15319 int arg3 ;
15320 int arg4 ;
15321 int arg5 ;
15322 PyObject * obj0 = 0 ;
15323 PyObject * obj1 = 0 ;
15324 PyObject * obj2 = 0 ;
15325 PyObject * obj3 = 0 ;
15326 PyObject * obj4 = 0 ;
15327 char *kwnames[] = {
15328 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15329 };
15330
15331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15334 arg2 = (int) SWIG_AsInt(obj1);
15335 if (PyErr_Occurred()) SWIG_fail;
15336 arg3 = (int) SWIG_AsInt(obj2);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 arg4 = (int) SWIG_AsInt(obj3);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 arg5 = (int) SWIG_AsInt(obj4);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 {
15343 PyThreadState* __tstate = wxPyBeginAllowThreads();
15344 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15345
15346 wxPyEndAllowThreads(__tstate);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 }
15349 Py_INCREF(Py_None); resultobj = Py_None;
15350 return resultobj;
15351 fail:
15352 return NULL;
15353 }
15354
15355
15356 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15357 PyObject *resultobj;
15358 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15359 int arg2 ;
15360 int arg3 ;
15361 int arg4 ;
15362 int arg5 ;
15363 int arg6 = (int) wxSIZE_AUTO ;
15364 PyObject * obj0 = 0 ;
15365 PyObject * obj1 = 0 ;
15366 PyObject * obj2 = 0 ;
15367 PyObject * obj3 = 0 ;
15368 PyObject * obj4 = 0 ;
15369 PyObject * obj5 = 0 ;
15370 char *kwnames[] = {
15371 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15372 };
15373
15374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15377 arg2 = (int) SWIG_AsInt(obj1);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 arg3 = (int) SWIG_AsInt(obj2);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 arg4 = (int) SWIG_AsInt(obj3);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 arg5 = (int) SWIG_AsInt(obj4);
15384 if (PyErr_Occurred()) SWIG_fail;
15385 if (obj5) {
15386 arg6 = (int) SWIG_AsInt(obj5);
15387 if (PyErr_Occurred()) SWIG_fail;
15388 }
15389 {
15390 PyThreadState* __tstate = wxPyBeginAllowThreads();
15391 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15392
15393 wxPyEndAllowThreads(__tstate);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 }
15396 Py_INCREF(Py_None); resultobj = Py_None;
15397 return resultobj;
15398 fail:
15399 return NULL;
15400 }
15401
15402
15403 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15404 PyObject *resultobj;
15405 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15406 int arg2 ;
15407 int arg3 ;
15408 PyObject * obj0 = 0 ;
15409 PyObject * obj1 = 0 ;
15410 PyObject * obj2 = 0 ;
15411 char *kwnames[] = {
15412 (char *) "self",(char *) "width",(char *) "height", NULL
15413 };
15414
15415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15418 arg2 = (int) SWIG_AsInt(obj1);
15419 if (PyErr_Occurred()) SWIG_fail;
15420 arg3 = (int) SWIG_AsInt(obj2);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 {
15423 PyThreadState* __tstate = wxPyBeginAllowThreads();
15424 (arg1)->base_DoSetClientSize(arg2,arg3);
15425
15426 wxPyEndAllowThreads(__tstate);
15427 if (PyErr_Occurred()) SWIG_fail;
15428 }
15429 Py_INCREF(Py_None); resultobj = Py_None;
15430 return resultobj;
15431 fail:
15432 return NULL;
15433 }
15434
15435
15436 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15437 PyObject *resultobj;
15438 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15439 int arg2 ;
15440 int arg3 ;
15441 PyObject * obj0 = 0 ;
15442 PyObject * obj1 = 0 ;
15443 PyObject * obj2 = 0 ;
15444 char *kwnames[] = {
15445 (char *) "self",(char *) "x",(char *) "y", NULL
15446 };
15447
15448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15451 arg2 = (int) SWIG_AsInt(obj1);
15452 if (PyErr_Occurred()) SWIG_fail;
15453 arg3 = (int) SWIG_AsInt(obj2);
15454 if (PyErr_Occurred()) SWIG_fail;
15455 {
15456 PyThreadState* __tstate = wxPyBeginAllowThreads();
15457 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15458
15459 wxPyEndAllowThreads(__tstate);
15460 if (PyErr_Occurred()) SWIG_fail;
15461 }
15462 Py_INCREF(Py_None); resultobj = Py_None;
15463 return resultobj;
15464 fail:
15465 return NULL;
15466 }
15467
15468
15469 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15470 PyObject *resultobj;
15471 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15472 int *arg2 = (int *) 0 ;
15473 int *arg3 = (int *) 0 ;
15474 int temp2 ;
15475 int temp3 ;
15476 PyObject * obj0 = 0 ;
15477 char *kwnames[] = {
15478 (char *) "self", NULL
15479 };
15480
15481 arg2 = &temp2;
15482 arg3 = &temp3;
15483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15486 {
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15489
15490 wxPyEndAllowThreads(__tstate);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
15493 Py_INCREF(Py_None); resultobj = Py_None;
15494 {
15495 PyObject *o = PyInt_FromLong((long) (*arg2));
15496 resultobj = t_output_helper(resultobj,o);
15497 }
15498 {
15499 PyObject *o = PyInt_FromLong((long) (*arg3));
15500 resultobj = t_output_helper(resultobj,o);
15501 }
15502 return resultobj;
15503 fail:
15504 return NULL;
15505 }
15506
15507
15508 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj;
15510 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15511 int *arg2 = (int *) 0 ;
15512 int *arg3 = (int *) 0 ;
15513 int temp2 ;
15514 int temp3 ;
15515 PyObject * obj0 = 0 ;
15516 char *kwnames[] = {
15517 (char *) "self", NULL
15518 };
15519
15520 arg2 = &temp2;
15521 arg3 = &temp3;
15522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15525 {
15526 PyThreadState* __tstate = wxPyBeginAllowThreads();
15527 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15528
15529 wxPyEndAllowThreads(__tstate);
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
15532 Py_INCREF(Py_None); resultobj = Py_None;
15533 {
15534 PyObject *o = PyInt_FromLong((long) (*arg2));
15535 resultobj = t_output_helper(resultobj,o);
15536 }
15537 {
15538 PyObject *o = PyInt_FromLong((long) (*arg3));
15539 resultobj = t_output_helper(resultobj,o);
15540 }
15541 return resultobj;
15542 fail:
15543 return NULL;
15544 }
15545
15546
15547 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15548 PyObject *resultobj;
15549 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15550 int *arg2 = (int *) 0 ;
15551 int *arg3 = (int *) 0 ;
15552 int temp2 ;
15553 int temp3 ;
15554 PyObject * obj0 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self", NULL
15557 };
15558
15559 arg2 = &temp2;
15560 arg3 = &temp3;
15561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15564 {
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15567
15568 wxPyEndAllowThreads(__tstate);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 Py_INCREF(Py_None); resultobj = Py_None;
15572 {
15573 PyObject *o = PyInt_FromLong((long) (*arg2));
15574 resultobj = t_output_helper(resultobj,o);
15575 }
15576 {
15577 PyObject *o = PyInt_FromLong((long) (*arg3));
15578 resultobj = t_output_helper(resultobj,o);
15579 }
15580 return resultobj;
15581 fail:
15582 return NULL;
15583 }
15584
15585
15586 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15587 PyObject *resultobj;
15588 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15589 wxSize result;
15590 PyObject * obj0 = 0 ;
15591 char *kwnames[] = {
15592 (char *) "self", NULL
15593 };
15594
15595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15598 {
15599 PyThreadState* __tstate = wxPyBeginAllowThreads();
15600 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
15601
15602 wxPyEndAllowThreads(__tstate);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 }
15605 {
15606 wxSize * resultptr;
15607 resultptr = new wxSize((wxSize &) result);
15608 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15609 }
15610 return resultobj;
15611 fail:
15612 return NULL;
15613 }
15614
15615
15616 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15617 PyObject *resultobj;
15618 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15619 wxSize result;
15620 PyObject * obj0 = 0 ;
15621 char *kwnames[] = {
15622 (char *) "self", NULL
15623 };
15624
15625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15628 {
15629 PyThreadState* __tstate = wxPyBeginAllowThreads();
15630 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
15631
15632 wxPyEndAllowThreads(__tstate);
15633 if (PyErr_Occurred()) SWIG_fail;
15634 }
15635 {
15636 wxSize * resultptr;
15637 resultptr = new wxSize((wxSize &) result);
15638 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15639 }
15640 return resultobj;
15641 fail:
15642 return NULL;
15643 }
15644
15645
15646 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15647 PyObject *resultobj;
15648 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15649 PyObject * obj0 = 0 ;
15650 char *kwnames[] = {
15651 (char *) "self", NULL
15652 };
15653
15654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
15655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15657 {
15658 PyThreadState* __tstate = wxPyBeginAllowThreads();
15659 (arg1)->base_InitDialog();
15660
15661 wxPyEndAllowThreads(__tstate);
15662 if (PyErr_Occurred()) SWIG_fail;
15663 }
15664 Py_INCREF(Py_None); resultobj = Py_None;
15665 return resultobj;
15666 fail:
15667 return NULL;
15668 }
15669
15670
15671 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15672 PyObject *resultobj;
15673 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15674 bool result;
15675 PyObject * obj0 = 0 ;
15676 char *kwnames[] = {
15677 (char *) "self", NULL
15678 };
15679
15680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15683 {
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 result = (bool)(arg1)->base_TransferDataToWindow();
15686
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15691 return resultobj;
15692 fail:
15693 return NULL;
15694 }
15695
15696
15697 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15698 PyObject *resultobj;
15699 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15700 bool result;
15701 PyObject * obj0 = 0 ;
15702 char *kwnames[] = {
15703 (char *) "self", NULL
15704 };
15705
15706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15709 {
15710 PyThreadState* __tstate = wxPyBeginAllowThreads();
15711 result = (bool)(arg1)->base_TransferDataFromWindow();
15712
15713 wxPyEndAllowThreads(__tstate);
15714 if (PyErr_Occurred()) SWIG_fail;
15715 }
15716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15717 return resultobj;
15718 fail:
15719 return NULL;
15720 }
15721
15722
15723 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
15724 PyObject *resultobj;
15725 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15726 bool result;
15727 PyObject * obj0 = 0 ;
15728 char *kwnames[] = {
15729 (char *) "self", NULL
15730 };
15731
15732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
15733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15735 {
15736 PyThreadState* __tstate = wxPyBeginAllowThreads();
15737 result = (bool)(arg1)->base_Validate();
15738
15739 wxPyEndAllowThreads(__tstate);
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15743 return resultobj;
15744 fail:
15745 return NULL;
15746 }
15747
15748
15749 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
15750 PyObject *resultobj;
15751 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15752 bool result;
15753 PyObject * obj0 = 0 ;
15754 char *kwnames[] = {
15755 (char *) "self", NULL
15756 };
15757
15758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15761 {
15762 PyThreadState* __tstate = wxPyBeginAllowThreads();
15763 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
15764
15765 wxPyEndAllowThreads(__tstate);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
15768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15769 return resultobj;
15770 fail:
15771 return NULL;
15772 }
15773
15774
15775 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
15776 PyObject *resultobj;
15777 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15778 bool result;
15779 PyObject * obj0 = 0 ;
15780 char *kwnames[] = {
15781 (char *) "self", NULL
15782 };
15783
15784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15787 {
15788 PyThreadState* __tstate = wxPyBeginAllowThreads();
15789 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
15790
15791 wxPyEndAllowThreads(__tstate);
15792 if (PyErr_Occurred()) SWIG_fail;
15793 }
15794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15795 return resultobj;
15796 fail:
15797 return NULL;
15798 }
15799
15800
15801 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
15802 PyObject *resultobj;
15803 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15804 wxSize result;
15805 PyObject * obj0 = 0 ;
15806 char *kwnames[] = {
15807 (char *) "self", NULL
15808 };
15809
15810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
15811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15813 {
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
15816
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 {
15821 wxSize * resultptr;
15822 resultptr = new wxSize((wxSize &) result);
15823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15824 }
15825 return resultobj;
15826 fail:
15827 return NULL;
15828 }
15829
15830
15831 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
15832 PyObject *resultobj;
15833 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15834 wxWindow *arg2 = (wxWindow *) 0 ;
15835 PyObject * obj0 = 0 ;
15836 PyObject * obj1 = 0 ;
15837 char *kwnames[] = {
15838 (char *) "self",(char *) "child", NULL
15839 };
15840
15841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15846 {
15847 PyThreadState* __tstate = wxPyBeginAllowThreads();
15848 (arg1)->base_AddChild(arg2);
15849
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
15853 Py_INCREF(Py_None); resultobj = Py_None;
15854 return resultobj;
15855 fail:
15856 return NULL;
15857 }
15858
15859
15860 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15861 PyObject *resultobj;
15862 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15863 wxWindow *arg2 = (wxWindow *) 0 ;
15864 PyObject * obj0 = 0 ;
15865 PyObject * obj1 = 0 ;
15866 char *kwnames[] = {
15867 (char *) "self",(char *) "child", NULL
15868 };
15869
15870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15875 {
15876 PyThreadState* __tstate = wxPyBeginAllowThreads();
15877 (arg1)->base_RemoveChild(arg2);
15878
15879 wxPyEndAllowThreads(__tstate);
15880 if (PyErr_Occurred()) SWIG_fail;
15881 }
15882 Py_INCREF(Py_None); resultobj = Py_None;
15883 return resultobj;
15884 fail:
15885 return NULL;
15886 }
15887
15888
15889 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
15890 PyObject *obj;
15891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15892 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
15893 Py_INCREF(obj);
15894 return Py_BuildValue((char *)"");
15895 }
15896 static int _wrap_PrintoutTitleStr_set(PyObject *) {
15897 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
15898 return 1;
15899 }
15900
15901
15902 static PyObject *_wrap_PrintoutTitleStr_get() {
15903 PyObject *pyobj;
15904
15905 {
15906 #if wxUSE_UNICODE
15907 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
15908 #else
15909 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
15910 #endif
15911 }
15912 return pyobj;
15913 }
15914
15915
15916 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
15917 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
15918 return 1;
15919 }
15920
15921
15922 static PyObject *_wrap_PreviewCanvasNameStr_get() {
15923 PyObject *pyobj;
15924
15925 {
15926 #if wxUSE_UNICODE
15927 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
15928 #else
15929 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
15930 #endif
15931 }
15932 return pyobj;
15933 }
15934
15935
15936 static PyObject *_wrap_new_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
15937 PyObject *resultobj;
15938 wxPrintData *result;
15939 char *kwnames[] = {
15940 NULL
15941 };
15942
15943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
15944 {
15945 PyThreadState* __tstate = wxPyBeginAllowThreads();
15946 result = (wxPrintData *)new wxPrintData();
15947
15948 wxPyEndAllowThreads(__tstate);
15949 if (PyErr_Occurred()) SWIG_fail;
15950 }
15951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
15952 return resultobj;
15953 fail:
15954 return NULL;
15955 }
15956
15957
15958 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
15959 PyObject *resultobj;
15960 wxPrintData *arg1 = (wxPrintData *) 0 ;
15961 PyObject * obj0 = 0 ;
15962 char *kwnames[] = {
15963 (char *) "self", NULL
15964 };
15965
15966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
15967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
15968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15969 {
15970 PyThreadState* __tstate = wxPyBeginAllowThreads();
15971 delete arg1;
15972
15973 wxPyEndAllowThreads(__tstate);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 Py_INCREF(Py_None); resultobj = Py_None;
15977 return resultobj;
15978 fail:
15979 return NULL;
15980 }
15981
15982
15983 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj;
15985 wxPrintData *arg1 = (wxPrintData *) 0 ;
15986 int result;
15987 PyObject * obj0 = 0 ;
15988 char *kwnames[] = {
15989 (char *) "self", NULL
15990 };
15991
15992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
15993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
15994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15995 {
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 result = (int)(arg1)->GetNoCopies();
15998
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 resultobj = SWIG_FromInt((int)result);
16003 return resultobj;
16004 fail:
16005 return NULL;
16006 }
16007
16008
16009 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
16010 PyObject *resultobj;
16011 wxPrintData *arg1 = (wxPrintData *) 0 ;
16012 bool result;
16013 PyObject * obj0 = 0 ;
16014 char *kwnames[] = {
16015 (char *) "self", NULL
16016 };
16017
16018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
16019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16021 {
16022 PyThreadState* __tstate = wxPyBeginAllowThreads();
16023 result = (bool)(arg1)->GetCollate();
16024
16025 wxPyEndAllowThreads(__tstate);
16026 if (PyErr_Occurred()) SWIG_fail;
16027 }
16028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16029 return resultobj;
16030 fail:
16031 return NULL;
16032 }
16033
16034
16035 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
16036 PyObject *resultobj;
16037 wxPrintData *arg1 = (wxPrintData *) 0 ;
16038 int result;
16039 PyObject * obj0 = 0 ;
16040 char *kwnames[] = {
16041 (char *) "self", NULL
16042 };
16043
16044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
16045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 result = (int)(arg1)->GetOrientation();
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 resultobj = SWIG_FromInt((int)result);
16055 return resultobj;
16056 fail:
16057 return NULL;
16058 }
16059
16060
16061 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
16062 PyObject *resultobj;
16063 wxPrintData *arg1 = (wxPrintData *) 0 ;
16064 bool result;
16065 PyObject * obj0 = 0 ;
16066 char *kwnames[] = {
16067 (char *) "self", NULL
16068 };
16069
16070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
16071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16073 {
16074 PyThreadState* __tstate = wxPyBeginAllowThreads();
16075 result = (bool)(arg1)->Ok();
16076
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16081 return resultobj;
16082 fail:
16083 return NULL;
16084 }
16085
16086
16087 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
16088 PyObject *resultobj;
16089 wxPrintData *arg1 = (wxPrintData *) 0 ;
16090 wxString *result;
16091 PyObject * obj0 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
16097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16099 {
16100 PyThreadState* __tstate = wxPyBeginAllowThreads();
16101 {
16102 wxString const &_result_ref = (arg1)->GetPrinterName();
16103 result = (wxString *) &_result_ref;
16104 }
16105
16106 wxPyEndAllowThreads(__tstate);
16107 if (PyErr_Occurred()) SWIG_fail;
16108 }
16109 {
16110 #if wxUSE_UNICODE
16111 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16112 #else
16113 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16114 #endif
16115 }
16116 return resultobj;
16117 fail:
16118 return NULL;
16119 }
16120
16121
16122 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
16123 PyObject *resultobj;
16124 wxPrintData *arg1 = (wxPrintData *) 0 ;
16125 bool result;
16126 PyObject * obj0 = 0 ;
16127 char *kwnames[] = {
16128 (char *) "self", NULL
16129 };
16130
16131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
16132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16134 {
16135 PyThreadState* __tstate = wxPyBeginAllowThreads();
16136 result = (bool)(arg1)->GetColour();
16137
16138 wxPyEndAllowThreads(__tstate);
16139 if (PyErr_Occurred()) SWIG_fail;
16140 }
16141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16142 return resultobj;
16143 fail:
16144 return NULL;
16145 }
16146
16147
16148 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
16149 PyObject *resultobj;
16150 wxPrintData *arg1 = (wxPrintData *) 0 ;
16151 int result;
16152 PyObject * obj0 = 0 ;
16153 char *kwnames[] = {
16154 (char *) "self", NULL
16155 };
16156
16157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
16158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16160 {
16161 PyThreadState* __tstate = wxPyBeginAllowThreads();
16162 result = (int)(arg1)->GetDuplex();
16163
16164 wxPyEndAllowThreads(__tstate);
16165 if (PyErr_Occurred()) SWIG_fail;
16166 }
16167 resultobj = SWIG_FromInt((int)result);
16168 return resultobj;
16169 fail:
16170 return NULL;
16171 }
16172
16173
16174 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
16175 PyObject *resultobj;
16176 wxPrintData *arg1 = (wxPrintData *) 0 ;
16177 int result;
16178 PyObject * obj0 = 0 ;
16179 char *kwnames[] = {
16180 (char *) "self", NULL
16181 };
16182
16183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
16184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16186 {
16187 PyThreadState* __tstate = wxPyBeginAllowThreads();
16188 result = (int)(arg1)->GetPaperId();
16189
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 resultobj = SWIG_FromInt((int)result);
16194 return resultobj;
16195 fail:
16196 return NULL;
16197 }
16198
16199
16200 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
16201 PyObject *resultobj;
16202 wxPrintData *arg1 = (wxPrintData *) 0 ;
16203 wxSize *result;
16204 PyObject * obj0 = 0 ;
16205 char *kwnames[] = {
16206 (char *) "self", NULL
16207 };
16208
16209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
16210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16212 {
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
16214 {
16215 wxSize const &_result_ref = (arg1)->GetPaperSize();
16216 result = (wxSize *) &_result_ref;
16217 }
16218
16219 wxPyEndAllowThreads(__tstate);
16220 if (PyErr_Occurred()) SWIG_fail;
16221 }
16222 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
16223 return resultobj;
16224 fail:
16225 return NULL;
16226 }
16227
16228
16229 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
16230 PyObject *resultobj;
16231 wxPrintData *arg1 = (wxPrintData *) 0 ;
16232 int result;
16233 PyObject * obj0 = 0 ;
16234 char *kwnames[] = {
16235 (char *) "self", NULL
16236 };
16237
16238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
16239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16241 {
16242 PyThreadState* __tstate = wxPyBeginAllowThreads();
16243 result = (int)(arg1)->GetQuality();
16244
16245 wxPyEndAllowThreads(__tstate);
16246 if (PyErr_Occurred()) SWIG_fail;
16247 }
16248 resultobj = SWIG_FromInt((int)result);
16249 return resultobj;
16250 fail:
16251 return NULL;
16252 }
16253
16254
16255 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
16256 PyObject *resultobj;
16257 wxPrintData *arg1 = (wxPrintData *) 0 ;
16258 int arg2 ;
16259 PyObject * obj0 = 0 ;
16260 PyObject * obj1 = 0 ;
16261 char *kwnames[] = {
16262 (char *) "self",(char *) "v", NULL
16263 };
16264
16265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
16266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16268 arg2 = (int) SWIG_AsInt(obj1);
16269 if (PyErr_Occurred()) SWIG_fail;
16270 {
16271 PyThreadState* __tstate = wxPyBeginAllowThreads();
16272 (arg1)->SetNoCopies(arg2);
16273
16274 wxPyEndAllowThreads(__tstate);
16275 if (PyErr_Occurred()) SWIG_fail;
16276 }
16277 Py_INCREF(Py_None); resultobj = Py_None;
16278 return resultobj;
16279 fail:
16280 return NULL;
16281 }
16282
16283
16284 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
16285 PyObject *resultobj;
16286 wxPrintData *arg1 = (wxPrintData *) 0 ;
16287 bool arg2 ;
16288 PyObject * obj0 = 0 ;
16289 PyObject * obj1 = 0 ;
16290 char *kwnames[] = {
16291 (char *) "self",(char *) "flag", NULL
16292 };
16293
16294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
16295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16297 arg2 = (bool) SWIG_AsBool(obj1);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 (arg1)->SetCollate(arg2);
16302
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 Py_INCREF(Py_None); resultobj = Py_None;
16307 return resultobj;
16308 fail:
16309 return NULL;
16310 }
16311
16312
16313 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj;
16315 wxPrintData *arg1 = (wxPrintData *) 0 ;
16316 int arg2 ;
16317 PyObject * obj0 = 0 ;
16318 PyObject * obj1 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "self",(char *) "orient", NULL
16321 };
16322
16323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
16324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16326 arg2 = (int) SWIG_AsInt(obj1);
16327 if (PyErr_Occurred()) SWIG_fail;
16328 {
16329 PyThreadState* __tstate = wxPyBeginAllowThreads();
16330 (arg1)->SetOrientation(arg2);
16331
16332 wxPyEndAllowThreads(__tstate);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 }
16335 Py_INCREF(Py_None); resultobj = Py_None;
16336 return resultobj;
16337 fail:
16338 return NULL;
16339 }
16340
16341
16342 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
16343 PyObject *resultobj;
16344 wxPrintData *arg1 = (wxPrintData *) 0 ;
16345 wxString *arg2 = 0 ;
16346 bool temp2 = False ;
16347 PyObject * obj0 = 0 ;
16348 PyObject * obj1 = 0 ;
16349 char *kwnames[] = {
16350 (char *) "self",(char *) "name", NULL
16351 };
16352
16353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
16354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16356 {
16357 arg2 = wxString_in_helper(obj1);
16358 if (arg2 == NULL) SWIG_fail;
16359 temp2 = True;
16360 }
16361 {
16362 PyThreadState* __tstate = wxPyBeginAllowThreads();
16363 (arg1)->SetPrinterName((wxString const &)*arg2);
16364
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 Py_INCREF(Py_None); resultobj = Py_None;
16369 {
16370 if (temp2)
16371 delete arg2;
16372 }
16373 return resultobj;
16374 fail:
16375 {
16376 if (temp2)
16377 delete arg2;
16378 }
16379 return NULL;
16380 }
16381
16382
16383 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
16384 PyObject *resultobj;
16385 wxPrintData *arg1 = (wxPrintData *) 0 ;
16386 bool arg2 ;
16387 PyObject * obj0 = 0 ;
16388 PyObject * obj1 = 0 ;
16389 char *kwnames[] = {
16390 (char *) "self",(char *) "colour", NULL
16391 };
16392
16393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
16394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16396 arg2 = (bool) SWIG_AsBool(obj1);
16397 if (PyErr_Occurred()) SWIG_fail;
16398 {
16399 PyThreadState* __tstate = wxPyBeginAllowThreads();
16400 (arg1)->SetColour(arg2);
16401
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 Py_INCREF(Py_None); resultobj = Py_None;
16406 return resultobj;
16407 fail:
16408 return NULL;
16409 }
16410
16411
16412 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
16413 PyObject *resultobj;
16414 wxPrintData *arg1 = (wxPrintData *) 0 ;
16415 int arg2 ;
16416 PyObject * obj0 = 0 ;
16417 PyObject * obj1 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self",(char *) "duplex", NULL
16420 };
16421
16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
16423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16425 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
16426 if (PyErr_Occurred()) SWIG_fail;
16427 {
16428 PyThreadState* __tstate = wxPyBeginAllowThreads();
16429 (arg1)->SetDuplex((wxDuplexMode )arg2);
16430
16431 wxPyEndAllowThreads(__tstate);
16432 if (PyErr_Occurred()) SWIG_fail;
16433 }
16434 Py_INCREF(Py_None); resultobj = Py_None;
16435 return resultobj;
16436 fail:
16437 return NULL;
16438 }
16439
16440
16441 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
16442 PyObject *resultobj;
16443 wxPrintData *arg1 = (wxPrintData *) 0 ;
16444 int arg2 ;
16445 PyObject * obj0 = 0 ;
16446 PyObject * obj1 = 0 ;
16447 char *kwnames[] = {
16448 (char *) "self",(char *) "sizeId", NULL
16449 };
16450
16451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
16452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16454 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
16458 (arg1)->SetPaperId((wxPaperSize )arg2);
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 Py_INCREF(Py_None); resultobj = Py_None;
16464 return resultobj;
16465 fail:
16466 return NULL;
16467 }
16468
16469
16470 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
16471 PyObject *resultobj;
16472 wxPrintData *arg1 = (wxPrintData *) 0 ;
16473 wxSize *arg2 = 0 ;
16474 wxSize temp2 ;
16475 PyObject * obj0 = 0 ;
16476 PyObject * obj1 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self",(char *) "sz", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16484 {
16485 arg2 = &temp2;
16486 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16487 }
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 (arg1)->SetPaperSize((wxSize const &)*arg2);
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 Py_INCREF(Py_None); resultobj = Py_None;
16496 return resultobj;
16497 fail:
16498 return NULL;
16499 }
16500
16501
16502 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
16503 PyObject *resultobj;
16504 wxPrintData *arg1 = (wxPrintData *) 0 ;
16505 int arg2 ;
16506 PyObject * obj0 = 0 ;
16507 PyObject * obj1 = 0 ;
16508 char *kwnames[] = {
16509 (char *) "self",(char *) "quality", NULL
16510 };
16511
16512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
16513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16515 arg2 = (int) SWIG_AsInt(obj1);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 {
16518 PyThreadState* __tstate = wxPyBeginAllowThreads();
16519 (arg1)->SetQuality(arg2);
16520
16521 wxPyEndAllowThreads(__tstate);
16522 if (PyErr_Occurred()) SWIG_fail;
16523 }
16524 Py_INCREF(Py_None); resultobj = Py_None;
16525 return resultobj;
16526 fail:
16527 return NULL;
16528 }
16529
16530
16531 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
16532 PyObject *resultobj;
16533 wxPrintData *arg1 = (wxPrintData *) 0 ;
16534 wxString *result;
16535 PyObject * obj0 = 0 ;
16536 char *kwnames[] = {
16537 (char *) "self", NULL
16538 };
16539
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
16541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16543 {
16544 PyThreadState* __tstate = wxPyBeginAllowThreads();
16545 {
16546 wxString const &_result_ref = (arg1)->GetPrinterCommand();
16547 result = (wxString *) &_result_ref;
16548 }
16549
16550 wxPyEndAllowThreads(__tstate);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 }
16553 {
16554 #if wxUSE_UNICODE
16555 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16556 #else
16557 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16558 #endif
16559 }
16560 return resultobj;
16561 fail:
16562 return NULL;
16563 }
16564
16565
16566 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
16567 PyObject *resultobj;
16568 wxPrintData *arg1 = (wxPrintData *) 0 ;
16569 wxString *result;
16570 PyObject * obj0 = 0 ;
16571 char *kwnames[] = {
16572 (char *) "self", NULL
16573 };
16574
16575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
16576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16578 {
16579 PyThreadState* __tstate = wxPyBeginAllowThreads();
16580 {
16581 wxString const &_result_ref = (arg1)->GetPrinterOptions();
16582 result = (wxString *) &_result_ref;
16583 }
16584
16585 wxPyEndAllowThreads(__tstate);
16586 if (PyErr_Occurred()) SWIG_fail;
16587 }
16588 {
16589 #if wxUSE_UNICODE
16590 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16591 #else
16592 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16593 #endif
16594 }
16595 return resultobj;
16596 fail:
16597 return NULL;
16598 }
16599
16600
16601 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
16602 PyObject *resultobj;
16603 wxPrintData *arg1 = (wxPrintData *) 0 ;
16604 wxString *result;
16605 PyObject * obj0 = 0 ;
16606 char *kwnames[] = {
16607 (char *) "self", NULL
16608 };
16609
16610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
16611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16613 {
16614 PyThreadState* __tstate = wxPyBeginAllowThreads();
16615 {
16616 wxString const &_result_ref = (arg1)->GetPreviewCommand();
16617 result = (wxString *) &_result_ref;
16618 }
16619
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 {
16624 #if wxUSE_UNICODE
16625 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16626 #else
16627 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16628 #endif
16629 }
16630 return resultobj;
16631 fail:
16632 return NULL;
16633 }
16634
16635
16636 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj;
16638 wxPrintData *arg1 = (wxPrintData *) 0 ;
16639 wxString *result;
16640 PyObject * obj0 = 0 ;
16641 char *kwnames[] = {
16642 (char *) "self", NULL
16643 };
16644
16645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
16646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16648 {
16649 PyThreadState* __tstate = wxPyBeginAllowThreads();
16650 {
16651 wxString const &_result_ref = (arg1)->GetFilename();
16652 result = (wxString *) &_result_ref;
16653 }
16654
16655 wxPyEndAllowThreads(__tstate);
16656 if (PyErr_Occurred()) SWIG_fail;
16657 }
16658 {
16659 #if wxUSE_UNICODE
16660 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16661 #else
16662 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16663 #endif
16664 }
16665 return resultobj;
16666 fail:
16667 return NULL;
16668 }
16669
16670
16671 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
16672 PyObject *resultobj;
16673 wxPrintData *arg1 = (wxPrintData *) 0 ;
16674 wxString *result;
16675 PyObject * obj0 = 0 ;
16676 char *kwnames[] = {
16677 (char *) "self", NULL
16678 };
16679
16680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
16681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16683 {
16684 PyThreadState* __tstate = wxPyBeginAllowThreads();
16685 {
16686 wxString const &_result_ref = (arg1)->GetFontMetricPath();
16687 result = (wxString *) &_result_ref;
16688 }
16689
16690 wxPyEndAllowThreads(__tstate);
16691 if (PyErr_Occurred()) SWIG_fail;
16692 }
16693 {
16694 #if wxUSE_UNICODE
16695 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16696 #else
16697 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16698 #endif
16699 }
16700 return resultobj;
16701 fail:
16702 return NULL;
16703 }
16704
16705
16706 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj;
16708 wxPrintData *arg1 = (wxPrintData *) 0 ;
16709 double result;
16710 PyObject * obj0 = 0 ;
16711 char *kwnames[] = {
16712 (char *) "self", NULL
16713 };
16714
16715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
16716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16718 {
16719 PyThreadState* __tstate = wxPyBeginAllowThreads();
16720 result = (double)(arg1)->GetPrinterScaleX();
16721
16722 wxPyEndAllowThreads(__tstate);
16723 if (PyErr_Occurred()) SWIG_fail;
16724 }
16725 resultobj = SWIG_FromDouble((double)result);
16726 return resultobj;
16727 fail:
16728 return NULL;
16729 }
16730
16731
16732 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
16733 PyObject *resultobj;
16734 wxPrintData *arg1 = (wxPrintData *) 0 ;
16735 double result;
16736 PyObject * obj0 = 0 ;
16737 char *kwnames[] = {
16738 (char *) "self", NULL
16739 };
16740
16741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
16742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16744 {
16745 PyThreadState* __tstate = wxPyBeginAllowThreads();
16746 result = (double)(arg1)->GetPrinterScaleY();
16747
16748 wxPyEndAllowThreads(__tstate);
16749 if (PyErr_Occurred()) SWIG_fail;
16750 }
16751 resultobj = SWIG_FromDouble((double)result);
16752 return resultobj;
16753 fail:
16754 return NULL;
16755 }
16756
16757
16758 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
16759 PyObject *resultobj;
16760 wxPrintData *arg1 = (wxPrintData *) 0 ;
16761 long result;
16762 PyObject * obj0 = 0 ;
16763 char *kwnames[] = {
16764 (char *) "self", NULL
16765 };
16766
16767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
16768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 result = (long)(arg1)->GetPrinterTranslateX();
16773
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 resultobj = SWIG_FromLong((long)result);
16778 return resultobj;
16779 fail:
16780 return NULL;
16781 }
16782
16783
16784 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj;
16786 wxPrintData *arg1 = (wxPrintData *) 0 ;
16787 long result;
16788 PyObject * obj0 = 0 ;
16789 char *kwnames[] = {
16790 (char *) "self", NULL
16791 };
16792
16793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
16794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16796 {
16797 PyThreadState* __tstate = wxPyBeginAllowThreads();
16798 result = (long)(arg1)->GetPrinterTranslateY();
16799
16800 wxPyEndAllowThreads(__tstate);
16801 if (PyErr_Occurred()) SWIG_fail;
16802 }
16803 resultobj = SWIG_FromLong((long)result);
16804 return resultobj;
16805 fail:
16806 return NULL;
16807 }
16808
16809
16810 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
16811 PyObject *resultobj;
16812 wxPrintData *arg1 = (wxPrintData *) 0 ;
16813 int result;
16814 PyObject * obj0 = 0 ;
16815 char *kwnames[] = {
16816 (char *) "self", NULL
16817 };
16818
16819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
16820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 result = (int)(arg1)->GetPrintMode();
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 resultobj = SWIG_FromInt((int)result);
16830 return resultobj;
16831 fail:
16832 return NULL;
16833 }
16834
16835
16836 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
16837 PyObject *resultobj;
16838 wxPrintData *arg1 = (wxPrintData *) 0 ;
16839 wxString *arg2 = 0 ;
16840 bool temp2 = False ;
16841 PyObject * obj0 = 0 ;
16842 PyObject * obj1 = 0 ;
16843 char *kwnames[] = {
16844 (char *) "self",(char *) "command", NULL
16845 };
16846
16847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
16848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16850 {
16851 arg2 = wxString_in_helper(obj1);
16852 if (arg2 == NULL) SWIG_fail;
16853 temp2 = True;
16854 }
16855 {
16856 PyThreadState* __tstate = wxPyBeginAllowThreads();
16857 (arg1)->SetPrinterCommand((wxString const &)*arg2);
16858
16859 wxPyEndAllowThreads(__tstate);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 Py_INCREF(Py_None); resultobj = Py_None;
16863 {
16864 if (temp2)
16865 delete arg2;
16866 }
16867 return resultobj;
16868 fail:
16869 {
16870 if (temp2)
16871 delete arg2;
16872 }
16873 return NULL;
16874 }
16875
16876
16877 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
16878 PyObject *resultobj;
16879 wxPrintData *arg1 = (wxPrintData *) 0 ;
16880 wxString *arg2 = 0 ;
16881 bool temp2 = False ;
16882 PyObject * obj0 = 0 ;
16883 PyObject * obj1 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "self",(char *) "options", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
16889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16891 {
16892 arg2 = wxString_in_helper(obj1);
16893 if (arg2 == NULL) SWIG_fail;
16894 temp2 = True;
16895 }
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 (arg1)->SetPrinterOptions((wxString const &)*arg2);
16899
16900 wxPyEndAllowThreads(__tstate);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 Py_INCREF(Py_None); resultobj = Py_None;
16904 {
16905 if (temp2)
16906 delete arg2;
16907 }
16908 return resultobj;
16909 fail:
16910 {
16911 if (temp2)
16912 delete arg2;
16913 }
16914 return NULL;
16915 }
16916
16917
16918 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
16919 PyObject *resultobj;
16920 wxPrintData *arg1 = (wxPrintData *) 0 ;
16921 wxString *arg2 = 0 ;
16922 bool temp2 = False ;
16923 PyObject * obj0 = 0 ;
16924 PyObject * obj1 = 0 ;
16925 char *kwnames[] = {
16926 (char *) "self",(char *) "command", NULL
16927 };
16928
16929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
16930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16932 {
16933 arg2 = wxString_in_helper(obj1);
16934 if (arg2 == NULL) SWIG_fail;
16935 temp2 = True;
16936 }
16937 {
16938 PyThreadState* __tstate = wxPyBeginAllowThreads();
16939 (arg1)->SetPreviewCommand((wxString const &)*arg2);
16940
16941 wxPyEndAllowThreads(__tstate);
16942 if (PyErr_Occurred()) SWIG_fail;
16943 }
16944 Py_INCREF(Py_None); resultobj = Py_None;
16945 {
16946 if (temp2)
16947 delete arg2;
16948 }
16949 return resultobj;
16950 fail:
16951 {
16952 if (temp2)
16953 delete arg2;
16954 }
16955 return NULL;
16956 }
16957
16958
16959 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
16960 PyObject *resultobj;
16961 wxPrintData *arg1 = (wxPrintData *) 0 ;
16962 wxString *arg2 = 0 ;
16963 bool temp2 = False ;
16964 PyObject * obj0 = 0 ;
16965 PyObject * obj1 = 0 ;
16966 char *kwnames[] = {
16967 (char *) "self",(char *) "filename", NULL
16968 };
16969
16970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
16971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16973 {
16974 arg2 = wxString_in_helper(obj1);
16975 if (arg2 == NULL) SWIG_fail;
16976 temp2 = True;
16977 }
16978 {
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 (arg1)->SetFilename((wxString const &)*arg2);
16981
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 Py_INCREF(Py_None); resultobj = Py_None;
16986 {
16987 if (temp2)
16988 delete arg2;
16989 }
16990 return resultobj;
16991 fail:
16992 {
16993 if (temp2)
16994 delete arg2;
16995 }
16996 return NULL;
16997 }
16998
16999
17000 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
17001 PyObject *resultobj;
17002 wxPrintData *arg1 = (wxPrintData *) 0 ;
17003 wxString *arg2 = 0 ;
17004 bool temp2 = False ;
17005 PyObject * obj0 = 0 ;
17006 PyObject * obj1 = 0 ;
17007 char *kwnames[] = {
17008 (char *) "self",(char *) "path", NULL
17009 };
17010
17011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
17012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17014 {
17015 arg2 = wxString_in_helper(obj1);
17016 if (arg2 == NULL) SWIG_fail;
17017 temp2 = True;
17018 }
17019 {
17020 PyThreadState* __tstate = wxPyBeginAllowThreads();
17021 (arg1)->SetFontMetricPath((wxString const &)*arg2);
17022
17023 wxPyEndAllowThreads(__tstate);
17024 if (PyErr_Occurred()) SWIG_fail;
17025 }
17026 Py_INCREF(Py_None); resultobj = Py_None;
17027 {
17028 if (temp2)
17029 delete arg2;
17030 }
17031 return resultobj;
17032 fail:
17033 {
17034 if (temp2)
17035 delete arg2;
17036 }
17037 return NULL;
17038 }
17039
17040
17041 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
17042 PyObject *resultobj;
17043 wxPrintData *arg1 = (wxPrintData *) 0 ;
17044 double arg2 ;
17045 PyObject * obj0 = 0 ;
17046 PyObject * obj1 = 0 ;
17047 char *kwnames[] = {
17048 (char *) "self",(char *) "x", NULL
17049 };
17050
17051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
17052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17054 arg2 = (double) SWIG_AsDouble(obj1);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 {
17057 PyThreadState* __tstate = wxPyBeginAllowThreads();
17058 (arg1)->SetPrinterScaleX(arg2);
17059
17060 wxPyEndAllowThreads(__tstate);
17061 if (PyErr_Occurred()) SWIG_fail;
17062 }
17063 Py_INCREF(Py_None); resultobj = Py_None;
17064 return resultobj;
17065 fail:
17066 return NULL;
17067 }
17068
17069
17070 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
17071 PyObject *resultobj;
17072 wxPrintData *arg1 = (wxPrintData *) 0 ;
17073 double arg2 ;
17074 PyObject * obj0 = 0 ;
17075 PyObject * obj1 = 0 ;
17076 char *kwnames[] = {
17077 (char *) "self",(char *) "y", NULL
17078 };
17079
17080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
17081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17083 arg2 = (double) SWIG_AsDouble(obj1);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 {
17086 PyThreadState* __tstate = wxPyBeginAllowThreads();
17087 (arg1)->SetPrinterScaleY(arg2);
17088
17089 wxPyEndAllowThreads(__tstate);
17090 if (PyErr_Occurred()) SWIG_fail;
17091 }
17092 Py_INCREF(Py_None); resultobj = Py_None;
17093 return resultobj;
17094 fail:
17095 return NULL;
17096 }
17097
17098
17099 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
17100 PyObject *resultobj;
17101 wxPrintData *arg1 = (wxPrintData *) 0 ;
17102 double arg2 ;
17103 double arg3 ;
17104 PyObject * obj0 = 0 ;
17105 PyObject * obj1 = 0 ;
17106 PyObject * obj2 = 0 ;
17107 char *kwnames[] = {
17108 (char *) "self",(char *) "x",(char *) "y", NULL
17109 };
17110
17111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
17112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17114 arg2 = (double) SWIG_AsDouble(obj1);
17115 if (PyErr_Occurred()) SWIG_fail;
17116 arg3 = (double) SWIG_AsDouble(obj2);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 (arg1)->SetPrinterScaling(arg2,arg3);
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 Py_INCREF(Py_None); resultobj = Py_None;
17126 return resultobj;
17127 fail:
17128 return NULL;
17129 }
17130
17131
17132 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj;
17134 wxPrintData *arg1 = (wxPrintData *) 0 ;
17135 long arg2 ;
17136 PyObject * obj0 = 0 ;
17137 PyObject * obj1 = 0 ;
17138 char *kwnames[] = {
17139 (char *) "self",(char *) "x", NULL
17140 };
17141
17142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
17143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17145 arg2 = (long) SWIG_AsLong(obj1);
17146 if (PyErr_Occurred()) SWIG_fail;
17147 {
17148 PyThreadState* __tstate = wxPyBeginAllowThreads();
17149 (arg1)->SetPrinterTranslateX(arg2);
17150
17151 wxPyEndAllowThreads(__tstate);
17152 if (PyErr_Occurred()) SWIG_fail;
17153 }
17154 Py_INCREF(Py_None); resultobj = Py_None;
17155 return resultobj;
17156 fail:
17157 return NULL;
17158 }
17159
17160
17161 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
17162 PyObject *resultobj;
17163 wxPrintData *arg1 = (wxPrintData *) 0 ;
17164 long arg2 ;
17165 PyObject * obj0 = 0 ;
17166 PyObject * obj1 = 0 ;
17167 char *kwnames[] = {
17168 (char *) "self",(char *) "y", NULL
17169 };
17170
17171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
17172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17174 arg2 = (long) SWIG_AsLong(obj1);
17175 if (PyErr_Occurred()) SWIG_fail;
17176 {
17177 PyThreadState* __tstate = wxPyBeginAllowThreads();
17178 (arg1)->SetPrinterTranslateY(arg2);
17179
17180 wxPyEndAllowThreads(__tstate);
17181 if (PyErr_Occurred()) SWIG_fail;
17182 }
17183 Py_INCREF(Py_None); resultobj = Py_None;
17184 return resultobj;
17185 fail:
17186 return NULL;
17187 }
17188
17189
17190 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
17191 PyObject *resultobj;
17192 wxPrintData *arg1 = (wxPrintData *) 0 ;
17193 long arg2 ;
17194 long arg3 ;
17195 PyObject * obj0 = 0 ;
17196 PyObject * obj1 = 0 ;
17197 PyObject * obj2 = 0 ;
17198 char *kwnames[] = {
17199 (char *) "self",(char *) "x",(char *) "y", NULL
17200 };
17201
17202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
17203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17205 arg2 = (long) SWIG_AsLong(obj1);
17206 if (PyErr_Occurred()) SWIG_fail;
17207 arg3 = (long) SWIG_AsLong(obj2);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 {
17210 PyThreadState* __tstate = wxPyBeginAllowThreads();
17211 (arg1)->SetPrinterTranslation(arg2,arg3);
17212
17213 wxPyEndAllowThreads(__tstate);
17214 if (PyErr_Occurred()) SWIG_fail;
17215 }
17216 Py_INCREF(Py_None); resultobj = Py_None;
17217 return resultobj;
17218 fail:
17219 return NULL;
17220 }
17221
17222
17223 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
17224 PyObject *resultobj;
17225 wxPrintData *arg1 = (wxPrintData *) 0 ;
17226 int arg2 ;
17227 PyObject * obj0 = 0 ;
17228 PyObject * obj1 = 0 ;
17229 char *kwnames[] = {
17230 (char *) "self",(char *) "printMode", NULL
17231 };
17232
17233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
17234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17236 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
17237 if (PyErr_Occurred()) SWIG_fail;
17238 {
17239 PyThreadState* __tstate = wxPyBeginAllowThreads();
17240 (arg1)->SetPrintMode((wxPrintMode )arg2);
17241
17242 wxPyEndAllowThreads(__tstate);
17243 if (PyErr_Occurred()) SWIG_fail;
17244 }
17245 Py_INCREF(Py_None); resultobj = Py_None;
17246 return resultobj;
17247 fail:
17248 return NULL;
17249 }
17250
17251
17252 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
17253 PyObject *resultobj;
17254 wxPrintData *arg1 = (wxPrintData *) 0 ;
17255 wxOutputStream *result;
17256 PyObject * obj0 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self", NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
17262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
17266 result = (wxOutputStream *)(arg1)->GetOutputStream();
17267
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
17272 return resultobj;
17273 fail:
17274 return NULL;
17275 }
17276
17277
17278 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
17279 PyObject *resultobj;
17280 wxPrintData *arg1 = (wxPrintData *) 0 ;
17281 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
17282 PyObject * obj0 = 0 ;
17283 PyObject * obj1 = 0 ;
17284 char *kwnames[] = {
17285 (char *) "self",(char *) "outputstream", NULL
17286 };
17287
17288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
17289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
17292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17293 {
17294 PyThreadState* __tstate = wxPyBeginAllowThreads();
17295 (arg1)->SetOutputStream(arg2);
17296
17297 wxPyEndAllowThreads(__tstate);
17298 if (PyErr_Occurred()) SWIG_fail;
17299 }
17300 Py_INCREF(Py_None); resultobj = Py_None;
17301 return resultobj;
17302 fail:
17303 return NULL;
17304 }
17305
17306
17307 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
17308 PyObject *obj;
17309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17310 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
17311 Py_INCREF(obj);
17312 return Py_BuildValue((char *)"");
17313 }
17314 static PyObject *_wrap_new_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
17315 PyObject *resultobj;
17316 wxPageSetupDialogData *result;
17317 char *kwnames[] = {
17318 NULL
17319 };
17320
17321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
17322 {
17323 PyThreadState* __tstate = wxPyBeginAllowThreads();
17324 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
17325
17326 wxPyEndAllowThreads(__tstate);
17327 if (PyErr_Occurred()) SWIG_fail;
17328 }
17329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
17330 return resultobj;
17331 fail:
17332 return NULL;
17333 }
17334
17335
17336 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj;
17338 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17339 PyObject * obj0 = 0 ;
17340 char *kwnames[] = {
17341 (char *) "self", NULL
17342 };
17343
17344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
17345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17347 {
17348 PyThreadState* __tstate = wxPyBeginAllowThreads();
17349 delete arg1;
17350
17351 wxPyEndAllowThreads(__tstate);
17352 if (PyErr_Occurred()) SWIG_fail;
17353 }
17354 Py_INCREF(Py_None); resultobj = Py_None;
17355 return resultobj;
17356 fail:
17357 return NULL;
17358 }
17359
17360
17361 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
17362 PyObject *resultobj;
17363 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17364 bool arg2 ;
17365 PyObject * obj0 = 0 ;
17366 PyObject * obj1 = 0 ;
17367 char *kwnames[] = {
17368 (char *) "self",(char *) "flag", NULL
17369 };
17370
17371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17374 arg2 = (bool) SWIG_AsBool(obj1);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 {
17377 PyThreadState* __tstate = wxPyBeginAllowThreads();
17378 (arg1)->EnableHelp(arg2);
17379
17380 wxPyEndAllowThreads(__tstate);
17381 if (PyErr_Occurred()) SWIG_fail;
17382 }
17383 Py_INCREF(Py_None); resultobj = Py_None;
17384 return resultobj;
17385 fail:
17386 return NULL;
17387 }
17388
17389
17390 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
17391 PyObject *resultobj;
17392 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17393 bool arg2 ;
17394 PyObject * obj0 = 0 ;
17395 PyObject * obj1 = 0 ;
17396 char *kwnames[] = {
17397 (char *) "self",(char *) "flag", NULL
17398 };
17399
17400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
17401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17403 arg2 = (bool) SWIG_AsBool(obj1);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 (arg1)->EnableMargins(arg2);
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 Py_INCREF(Py_None); resultobj = Py_None;
17413 return resultobj;
17414 fail:
17415 return NULL;
17416 }
17417
17418
17419 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
17420 PyObject *resultobj;
17421 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17422 bool arg2 ;
17423 PyObject * obj0 = 0 ;
17424 PyObject * obj1 = 0 ;
17425 char *kwnames[] = {
17426 (char *) "self",(char *) "flag", NULL
17427 };
17428
17429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
17430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17432 arg2 = (bool) SWIG_AsBool(obj1);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 {
17435 PyThreadState* __tstate = wxPyBeginAllowThreads();
17436 (arg1)->EnableOrientation(arg2);
17437
17438 wxPyEndAllowThreads(__tstate);
17439 if (PyErr_Occurred()) SWIG_fail;
17440 }
17441 Py_INCREF(Py_None); resultobj = Py_None;
17442 return resultobj;
17443 fail:
17444 return NULL;
17445 }
17446
17447
17448 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
17449 PyObject *resultobj;
17450 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17451 bool arg2 ;
17452 PyObject * obj0 = 0 ;
17453 PyObject * obj1 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "self",(char *) "flag", NULL
17456 };
17457
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
17459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17461 arg2 = (bool) SWIG_AsBool(obj1);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 {
17464 PyThreadState* __tstate = wxPyBeginAllowThreads();
17465 (arg1)->EnablePaper(arg2);
17466
17467 wxPyEndAllowThreads(__tstate);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 }
17470 Py_INCREF(Py_None); resultobj = Py_None;
17471 return resultobj;
17472 fail:
17473 return NULL;
17474 }
17475
17476
17477 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
17478 PyObject *resultobj;
17479 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17480 bool arg2 ;
17481 PyObject * obj0 = 0 ;
17482 PyObject * obj1 = 0 ;
17483 char *kwnames[] = {
17484 (char *) "self",(char *) "flag", NULL
17485 };
17486
17487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
17488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17490 arg2 = (bool) SWIG_AsBool(obj1);
17491 if (PyErr_Occurred()) SWIG_fail;
17492 {
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 (arg1)->EnablePrinter(arg2);
17495
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
17499 Py_INCREF(Py_None); resultobj = Py_None;
17500 return resultobj;
17501 fail:
17502 return NULL;
17503 }
17504
17505
17506 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
17507 PyObject *resultobj;
17508 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17509 bool result;
17510 PyObject * obj0 = 0 ;
17511 char *kwnames[] = {
17512 (char *) "self", NULL
17513 };
17514
17515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
17516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17518 {
17519 PyThreadState* __tstate = wxPyBeginAllowThreads();
17520 result = (bool)(arg1)->GetDefaultMinMargins();
17521
17522 wxPyEndAllowThreads(__tstate);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 }
17525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17526 return resultobj;
17527 fail:
17528 return NULL;
17529 }
17530
17531
17532 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
17533 PyObject *resultobj;
17534 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17535 bool result;
17536 PyObject * obj0 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "self", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
17542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17544 {
17545 PyThreadState* __tstate = wxPyBeginAllowThreads();
17546 result = (bool)(arg1)->GetEnableMargins();
17547
17548 wxPyEndAllowThreads(__tstate);
17549 if (PyErr_Occurred()) SWIG_fail;
17550 }
17551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17552 return resultobj;
17553 fail:
17554 return NULL;
17555 }
17556
17557
17558 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
17559 PyObject *resultobj;
17560 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17561 bool result;
17562 PyObject * obj0 = 0 ;
17563 char *kwnames[] = {
17564 (char *) "self", NULL
17565 };
17566
17567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
17568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 result = (bool)(arg1)->GetEnableOrientation();
17573
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17578 return resultobj;
17579 fail:
17580 return NULL;
17581 }
17582
17583
17584 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
17585 PyObject *resultobj;
17586 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17587 bool result;
17588 PyObject * obj0 = 0 ;
17589 char *kwnames[] = {
17590 (char *) "self", NULL
17591 };
17592
17593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
17594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 result = (bool)(arg1)->GetEnablePaper();
17599
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17604 return resultobj;
17605 fail:
17606 return NULL;
17607 }
17608
17609
17610 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
17611 PyObject *resultobj;
17612 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17613 bool result;
17614 PyObject * obj0 = 0 ;
17615 char *kwnames[] = {
17616 (char *) "self", NULL
17617 };
17618
17619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
17620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17622 {
17623 PyThreadState* __tstate = wxPyBeginAllowThreads();
17624 result = (bool)(arg1)->GetEnablePrinter();
17625
17626 wxPyEndAllowThreads(__tstate);
17627 if (PyErr_Occurred()) SWIG_fail;
17628 }
17629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17630 return resultobj;
17631 fail:
17632 return NULL;
17633 }
17634
17635
17636 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
17637 PyObject *resultobj;
17638 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17639 bool result;
17640 PyObject * obj0 = 0 ;
17641 char *kwnames[] = {
17642 (char *) "self", NULL
17643 };
17644
17645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
17650 result = (bool)(arg1)->GetEnableHelp();
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17656 return resultobj;
17657 fail:
17658 return NULL;
17659 }
17660
17661
17662 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj;
17664 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17665 bool result;
17666 PyObject * obj0 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
17672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17674 {
17675 PyThreadState* __tstate = wxPyBeginAllowThreads();
17676 result = (bool)(arg1)->GetDefaultInfo();
17677
17678 wxPyEndAllowThreads(__tstate);
17679 if (PyErr_Occurred()) SWIG_fail;
17680 }
17681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17682 return resultobj;
17683 fail:
17684 return NULL;
17685 }
17686
17687
17688 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
17689 PyObject *resultobj;
17690 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17691 wxPoint result;
17692 PyObject * obj0 = 0 ;
17693 char *kwnames[] = {
17694 (char *) "self", NULL
17695 };
17696
17697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
17698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17700 {
17701 PyThreadState* __tstate = wxPyBeginAllowThreads();
17702 result = (arg1)->GetMarginTopLeft();
17703
17704 wxPyEndAllowThreads(__tstate);
17705 if (PyErr_Occurred()) SWIG_fail;
17706 }
17707 {
17708 wxPoint * resultptr;
17709 resultptr = new wxPoint((wxPoint &) result);
17710 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17711 }
17712 return resultobj;
17713 fail:
17714 return NULL;
17715 }
17716
17717
17718 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
17719 PyObject *resultobj;
17720 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17721 wxPoint result;
17722 PyObject * obj0 = 0 ;
17723 char *kwnames[] = {
17724 (char *) "self", NULL
17725 };
17726
17727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
17728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 result = (arg1)->GetMarginBottomRight();
17733
17734 wxPyEndAllowThreads(__tstate);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 {
17738 wxPoint * resultptr;
17739 resultptr = new wxPoint((wxPoint &) result);
17740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17741 }
17742 return resultobj;
17743 fail:
17744 return NULL;
17745 }
17746
17747
17748 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
17749 PyObject *resultobj;
17750 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17751 wxPoint result;
17752 PyObject * obj0 = 0 ;
17753 char *kwnames[] = {
17754 (char *) "self", NULL
17755 };
17756
17757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
17758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17760 {
17761 PyThreadState* __tstate = wxPyBeginAllowThreads();
17762 result = (arg1)->GetMinMarginTopLeft();
17763
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 {
17768 wxPoint * resultptr;
17769 resultptr = new wxPoint((wxPoint &) result);
17770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17771 }
17772 return resultobj;
17773 fail:
17774 return NULL;
17775 }
17776
17777
17778 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
17779 PyObject *resultobj;
17780 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17781 wxPoint result;
17782 PyObject * obj0 = 0 ;
17783 char *kwnames[] = {
17784 (char *) "self", NULL
17785 };
17786
17787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
17788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17790 {
17791 PyThreadState* __tstate = wxPyBeginAllowThreads();
17792 result = (arg1)->GetMinMarginBottomRight();
17793
17794 wxPyEndAllowThreads(__tstate);
17795 if (PyErr_Occurred()) SWIG_fail;
17796 }
17797 {
17798 wxPoint * resultptr;
17799 resultptr = new wxPoint((wxPoint &) result);
17800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17801 }
17802 return resultobj;
17803 fail:
17804 return NULL;
17805 }
17806
17807
17808 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
17809 PyObject *resultobj;
17810 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17811 int result;
17812 PyObject * obj0 = 0 ;
17813 char *kwnames[] = {
17814 (char *) "self", NULL
17815 };
17816
17817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
17818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17820 {
17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
17822 result = (int)(arg1)->GetPaperId();
17823
17824 wxPyEndAllowThreads(__tstate);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
17827 resultobj = SWIG_FromInt((int)result);
17828 return resultobj;
17829 fail:
17830 return NULL;
17831 }
17832
17833
17834 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
17835 PyObject *resultobj;
17836 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17837 wxSize result;
17838 PyObject * obj0 = 0 ;
17839 char *kwnames[] = {
17840 (char *) "self", NULL
17841 };
17842
17843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
17844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17846 {
17847 PyThreadState* __tstate = wxPyBeginAllowThreads();
17848 result = (arg1)->GetPaperSize();
17849
17850 wxPyEndAllowThreads(__tstate);
17851 if (PyErr_Occurred()) SWIG_fail;
17852 }
17853 {
17854 wxSize * resultptr;
17855 resultptr = new wxSize((wxSize &) result);
17856 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17857 }
17858 return resultobj;
17859 fail:
17860 return NULL;
17861 }
17862
17863
17864 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
17865 PyObject *resultobj;
17866 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17867 wxPrintData *result;
17868 PyObject * obj0 = 0 ;
17869 char *kwnames[] = {
17870 (char *) "self", NULL
17871 };
17872
17873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17876 {
17877 PyThreadState* __tstate = wxPyBeginAllowThreads();
17878 {
17879 wxPrintData &_result_ref = (arg1)->GetPrintData();
17880 result = (wxPrintData *) &_result_ref;
17881 }
17882
17883 wxPyEndAllowThreads(__tstate);
17884 if (PyErr_Occurred()) SWIG_fail;
17885 }
17886 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
17887 return resultobj;
17888 fail:
17889 return NULL;
17890 }
17891
17892
17893 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
17894 PyObject *resultobj;
17895 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17896 bool result;
17897 PyObject * obj0 = 0 ;
17898 char *kwnames[] = {
17899 (char *) "self", NULL
17900 };
17901
17902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
17903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17905 {
17906 PyThreadState* __tstate = wxPyBeginAllowThreads();
17907 result = (bool)(arg1)->Ok();
17908
17909 wxPyEndAllowThreads(__tstate);
17910 if (PyErr_Occurred()) SWIG_fail;
17911 }
17912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17913 return resultobj;
17914 fail:
17915 return NULL;
17916 }
17917
17918
17919 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17920 PyObject *resultobj;
17921 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17922 bool arg2 ;
17923 PyObject * obj0 = 0 ;
17924 PyObject * obj1 = 0 ;
17925 char *kwnames[] = {
17926 (char *) "self",(char *) "flag", NULL
17927 };
17928
17929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
17930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17932 arg2 = (bool) SWIG_AsBool(obj1);
17933 if (PyErr_Occurred()) SWIG_fail;
17934 {
17935 PyThreadState* __tstate = wxPyBeginAllowThreads();
17936 (arg1)->SetDefaultInfo(arg2);
17937
17938 wxPyEndAllowThreads(__tstate);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 }
17941 Py_INCREF(Py_None); resultobj = Py_None;
17942 return resultobj;
17943 fail:
17944 return NULL;
17945 }
17946
17947
17948 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj;
17950 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17951 bool arg2 ;
17952 PyObject * obj0 = 0 ;
17953 PyObject * obj1 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self",(char *) "flag", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
17959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17961 arg2 = (bool) SWIG_AsBool(obj1);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 (arg1)->SetDefaultMinMargins(arg2);
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 Py_INCREF(Py_None); resultobj = Py_None;
17971 return resultobj;
17972 fail:
17973 return NULL;
17974 }
17975
17976
17977 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj;
17979 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17980 wxPoint *arg2 = 0 ;
17981 wxPoint temp2 ;
17982 PyObject * obj0 = 0 ;
17983 PyObject * obj1 = 0 ;
17984 char *kwnames[] = {
17985 (char *) "self",(char *) "pt", NULL
17986 };
17987
17988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
17989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17991 {
17992 arg2 = &temp2;
17993 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17994 }
17995 {
17996 PyThreadState* __tstate = wxPyBeginAllowThreads();
17997 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
17998
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 Py_INCREF(Py_None); resultobj = Py_None;
18003 return resultobj;
18004 fail:
18005 return NULL;
18006 }
18007
18008
18009 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
18010 PyObject *resultobj;
18011 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18012 wxPoint *arg2 = 0 ;
18013 wxPoint temp2 ;
18014 PyObject * obj0 = 0 ;
18015 PyObject * obj1 = 0 ;
18016 char *kwnames[] = {
18017 (char *) "self",(char *) "pt", NULL
18018 };
18019
18020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18023 {
18024 arg2 = &temp2;
18025 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18026 }
18027 {
18028 PyThreadState* __tstate = wxPyBeginAllowThreads();
18029 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
18030
18031 wxPyEndAllowThreads(__tstate);
18032 if (PyErr_Occurred()) SWIG_fail;
18033 }
18034 Py_INCREF(Py_None); resultobj = Py_None;
18035 return resultobj;
18036 fail:
18037 return NULL;
18038 }
18039
18040
18041 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
18042 PyObject *resultobj;
18043 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18044 wxPoint *arg2 = 0 ;
18045 wxPoint temp2 ;
18046 PyObject * obj0 = 0 ;
18047 PyObject * obj1 = 0 ;
18048 char *kwnames[] = {
18049 (char *) "self",(char *) "pt", NULL
18050 };
18051
18052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18055 {
18056 arg2 = &temp2;
18057 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18058 }
18059 {
18060 PyThreadState* __tstate = wxPyBeginAllowThreads();
18061 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
18062
18063 wxPyEndAllowThreads(__tstate);
18064 if (PyErr_Occurred()) SWIG_fail;
18065 }
18066 Py_INCREF(Py_None); resultobj = Py_None;
18067 return resultobj;
18068 fail:
18069 return NULL;
18070 }
18071
18072
18073 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
18074 PyObject *resultobj;
18075 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18076 wxPoint *arg2 = 0 ;
18077 wxPoint temp2 ;
18078 PyObject * obj0 = 0 ;
18079 PyObject * obj1 = 0 ;
18080 char *kwnames[] = {
18081 (char *) "self",(char *) "pt", NULL
18082 };
18083
18084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18087 {
18088 arg2 = &temp2;
18089 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18090 }
18091 {
18092 PyThreadState* __tstate = wxPyBeginAllowThreads();
18093 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
18094
18095 wxPyEndAllowThreads(__tstate);
18096 if (PyErr_Occurred()) SWIG_fail;
18097 }
18098 Py_INCREF(Py_None); resultobj = Py_None;
18099 return resultobj;
18100 fail:
18101 return NULL;
18102 }
18103
18104
18105 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18106 PyObject *resultobj;
18107 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18108 int arg2 ;
18109 PyObject * obj0 = 0 ;
18110 PyObject * obj1 = 0 ;
18111 char *kwnames[] = {
18112 (char *) "self",(char *) "id", NULL
18113 };
18114
18115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18118 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18119 if (PyErr_Occurred()) SWIG_fail;
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 (arg1)->SetPaperId((wxPaperSize )arg2);
18123
18124 wxPyEndAllowThreads(__tstate);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 }
18127 Py_INCREF(Py_None); resultobj = Py_None;
18128 return resultobj;
18129 fail:
18130 return NULL;
18131 }
18132
18133
18134 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18135 PyObject *resultobj;
18136 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18137 wxSize *arg2 = 0 ;
18138 wxSize temp2 ;
18139 PyObject * obj0 = 0 ;
18140 PyObject * obj1 = 0 ;
18141 char *kwnames[] = {
18142 (char *) "self",(char *) "size", NULL
18143 };
18144
18145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18148 {
18149 arg2 = &temp2;
18150 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18151 }
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 (arg1)->SetPaperSize((wxSize const &)*arg2);
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 Py_INCREF(Py_None); resultobj = Py_None;
18160 return resultobj;
18161 fail:
18162 return NULL;
18163 }
18164
18165
18166 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18167 PyObject *resultobj;
18168 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18169 wxPrintData *arg2 = 0 ;
18170 PyObject * obj0 = 0 ;
18171 PyObject * obj1 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self",(char *) "printData", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
18180 SWIG_POINTER_EXCEPTION | 0)) == -1)
18181 SWIG_fail;
18182 if (arg2 == NULL) {
18183 PyErr_SetString(PyExc_TypeError,"null reference");
18184 SWIG_fail;
18185 }
18186 {
18187 PyThreadState* __tstate = wxPyBeginAllowThreads();
18188 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18189
18190 wxPyEndAllowThreads(__tstate);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 }
18193 Py_INCREF(Py_None); resultobj = Py_None;
18194 return resultobj;
18195 fail:
18196 return NULL;
18197 }
18198
18199
18200 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
18201 PyObject *obj;
18202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18203 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
18204 Py_INCREF(obj);
18205 return Py_BuildValue((char *)"");
18206 }
18207 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18208 PyObject *resultobj;
18209 wxWindow *arg1 = (wxWindow *) 0 ;
18210 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
18211 wxPageSetupDialog *result;
18212 PyObject * obj0 = 0 ;
18213 PyObject * obj1 = 0 ;
18214 char *kwnames[] = {
18215 (char *) "parent",(char *) "data", NULL
18216 };
18217
18218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18221 if (obj1) {
18222 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
18223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18224 }
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
18228
18229 wxPyEndAllowThreads(__tstate);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 }
18232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
18233 return resultobj;
18234 fail:
18235 return NULL;
18236 }
18237
18238
18239 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
18240 PyObject *resultobj;
18241 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18242 wxPageSetupDialogData *result;
18243 PyObject * obj0 = 0 ;
18244 char *kwnames[] = {
18245 (char *) "self", NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
18249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
18250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 {
18254 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
18255 result = (wxPageSetupDialogData *) &_result_ref;
18256 }
18257
18258 wxPyEndAllowThreads(__tstate);
18259 if (PyErr_Occurred()) SWIG_fail;
18260 }
18261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
18262 return resultobj;
18263 fail:
18264 return NULL;
18265 }
18266
18267
18268 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
18269 PyObject *resultobj;
18270 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18271 int result;
18272 PyObject * obj0 = 0 ;
18273 char *kwnames[] = {
18274 (char *) "self", NULL
18275 };
18276
18277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
18278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
18279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18280 {
18281 PyThreadState* __tstate = wxPyBeginAllowThreads();
18282 result = (int)(arg1)->ShowModal();
18283
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 resultobj = SWIG_FromInt((int)result);
18288 return resultobj;
18289 fail:
18290 return NULL;
18291 }
18292
18293
18294 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
18295 PyObject *obj;
18296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18297 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
18298 Py_INCREF(obj);
18299 return Py_BuildValue((char *)"");
18300 }
18301 static PyObject *_wrap_new_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
18302 PyObject *resultobj;
18303 wxPrintDialogData *result;
18304 char *kwnames[] = {
18305 NULL
18306 };
18307
18308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
18309 {
18310 PyThreadState* __tstate = wxPyBeginAllowThreads();
18311 result = (wxPrintDialogData *)new wxPrintDialogData();
18312
18313 wxPyEndAllowThreads(__tstate);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 }
18316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
18317 return resultobj;
18318 fail:
18319 return NULL;
18320 }
18321
18322
18323 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
18324 PyObject *resultobj;
18325 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18326 PyObject * obj0 = 0 ;
18327 char *kwnames[] = {
18328 (char *) "self", NULL
18329 };
18330
18331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
18332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18334 {
18335 PyThreadState* __tstate = wxPyBeginAllowThreads();
18336 delete arg1;
18337
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 Py_INCREF(Py_None); resultobj = Py_None;
18342 return resultobj;
18343 fail:
18344 return NULL;
18345 }
18346
18347
18348 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
18349 PyObject *resultobj;
18350 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18351 int result;
18352 PyObject * obj0 = 0 ;
18353 char *kwnames[] = {
18354 (char *) "self", NULL
18355 };
18356
18357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
18358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 resultobj = SWIG_FromInt((int)result);
18368 return resultobj;
18369 fail:
18370 return NULL;
18371 }
18372
18373
18374 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
18375 PyObject *resultobj;
18376 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18377 int result;
18378 PyObject * obj0 = 0 ;
18379 char *kwnames[] = {
18380 (char *) "self", NULL
18381 };
18382
18383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
18384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18386 {
18387 PyThreadState* __tstate = wxPyBeginAllowThreads();
18388 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
18389
18390 wxPyEndAllowThreads(__tstate);
18391 if (PyErr_Occurred()) SWIG_fail;
18392 }
18393 resultobj = SWIG_FromInt((int)result);
18394 return resultobj;
18395 fail:
18396 return NULL;
18397 }
18398
18399
18400 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
18401 PyObject *resultobj;
18402 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18403 int result;
18404 PyObject * obj0 = 0 ;
18405 char *kwnames[] = {
18406 (char *) "self", NULL
18407 };
18408
18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
18410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18412 {
18413 PyThreadState* __tstate = wxPyBeginAllowThreads();
18414 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
18415
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 resultobj = SWIG_FromInt((int)result);
18420 return resultobj;
18421 fail:
18422 return NULL;
18423 }
18424
18425
18426 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
18427 PyObject *resultobj;
18428 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18429 int result;
18430 PyObject * obj0 = 0 ;
18431 char *kwnames[] = {
18432 (char *) "self", NULL
18433 };
18434
18435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
18436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18438 {
18439 PyThreadState* __tstate = wxPyBeginAllowThreads();
18440 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
18441
18442 wxPyEndAllowThreads(__tstate);
18443 if (PyErr_Occurred()) SWIG_fail;
18444 }
18445 resultobj = SWIG_FromInt((int)result);
18446 return resultobj;
18447 fail:
18448 return NULL;
18449 }
18450
18451
18452 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18453 PyObject *resultobj;
18454 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18455 int result;
18456 PyObject * obj0 = 0 ;
18457 char *kwnames[] = {
18458 (char *) "self", NULL
18459 };
18460
18461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
18462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18464 {
18465 PyThreadState* __tstate = wxPyBeginAllowThreads();
18466 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
18467
18468 wxPyEndAllowThreads(__tstate);
18469 if (PyErr_Occurred()) SWIG_fail;
18470 }
18471 resultobj = SWIG_FromInt((int)result);
18472 return resultobj;
18473 fail:
18474 return NULL;
18475 }
18476
18477
18478 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18479 PyObject *resultobj;
18480 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18481 bool result;
18482 PyObject * obj0 = 0 ;
18483 char *kwnames[] = {
18484 (char *) "self", NULL
18485 };
18486
18487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
18488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18498 return resultobj;
18499 fail:
18500 return NULL;
18501 }
18502
18503
18504 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
18505 PyObject *resultobj;
18506 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18507 bool result;
18508 PyObject * obj0 = 0 ;
18509 char *kwnames[] = {
18510 (char *) "self", NULL
18511 };
18512
18513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
18514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18516 {
18517 PyThreadState* __tstate = wxPyBeginAllowThreads();
18518 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
18519
18520 wxPyEndAllowThreads(__tstate);
18521 if (PyErr_Occurred()) SWIG_fail;
18522 }
18523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18524 return resultobj;
18525 fail:
18526 return NULL;
18527 }
18528
18529
18530 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18531 PyObject *resultobj;
18532 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18533 bool result;
18534 PyObject * obj0 = 0 ;
18535 char *kwnames[] = {
18536 (char *) "self", NULL
18537 };
18538
18539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
18540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18550 return resultobj;
18551 fail:
18552 return NULL;
18553 }
18554
18555
18556 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
18557 PyObject *resultobj;
18558 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18559 bool result;
18560 PyObject * obj0 = 0 ;
18561 char *kwnames[] = {
18562 (char *) "self", NULL
18563 };
18564
18565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
18566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
18571
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18576 return resultobj;
18577 fail:
18578 return NULL;
18579 }
18580
18581
18582 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18583 PyObject *resultobj;
18584 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18585 bool result;
18586 PyObject * obj0 = 0 ;
18587 char *kwnames[] = {
18588 (char *) "self", NULL
18589 };
18590
18591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
18592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18594 {
18595 PyThreadState* __tstate = wxPyBeginAllowThreads();
18596 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
18597
18598 wxPyEndAllowThreads(__tstate);
18599 if (PyErr_Occurred()) SWIG_fail;
18600 }
18601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18602 return resultobj;
18603 fail:
18604 return NULL;
18605 }
18606
18607
18608 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
18609 PyObject *resultobj;
18610 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18611 int arg2 ;
18612 PyObject * obj0 = 0 ;
18613 PyObject * obj1 = 0 ;
18614 char *kwnames[] = {
18615 (char *) "self",(char *) "v", NULL
18616 };
18617
18618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
18619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18621 arg2 = (int) SWIG_AsInt(obj1);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 {
18624 PyThreadState* __tstate = wxPyBeginAllowThreads();
18625 (arg1)->SetFromPage(arg2);
18626
18627 wxPyEndAllowThreads(__tstate);
18628 if (PyErr_Occurred()) SWIG_fail;
18629 }
18630 Py_INCREF(Py_None); resultobj = Py_None;
18631 return resultobj;
18632 fail:
18633 return NULL;
18634 }
18635
18636
18637 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
18638 PyObject *resultobj;
18639 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18640 int arg2 ;
18641 PyObject * obj0 = 0 ;
18642 PyObject * obj1 = 0 ;
18643 char *kwnames[] = {
18644 (char *) "self",(char *) "v", NULL
18645 };
18646
18647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
18648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18650 arg2 = (int) SWIG_AsInt(obj1);
18651 if (PyErr_Occurred()) SWIG_fail;
18652 {
18653 PyThreadState* __tstate = wxPyBeginAllowThreads();
18654 (arg1)->SetToPage(arg2);
18655
18656 wxPyEndAllowThreads(__tstate);
18657 if (PyErr_Occurred()) SWIG_fail;
18658 }
18659 Py_INCREF(Py_None); resultobj = Py_None;
18660 return resultobj;
18661 fail:
18662 return NULL;
18663 }
18664
18665
18666 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
18667 PyObject *resultobj;
18668 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18669 int arg2 ;
18670 PyObject * obj0 = 0 ;
18671 PyObject * obj1 = 0 ;
18672 char *kwnames[] = {
18673 (char *) "self",(char *) "v", NULL
18674 };
18675
18676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
18677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18679 arg2 = (int) SWIG_AsInt(obj1);
18680 if (PyErr_Occurred()) SWIG_fail;
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 (arg1)->SetMinPage(arg2);
18684
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 Py_INCREF(Py_None); resultobj = Py_None;
18689 return resultobj;
18690 fail:
18691 return NULL;
18692 }
18693
18694
18695 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
18696 PyObject *resultobj;
18697 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18698 int arg2 ;
18699 PyObject * obj0 = 0 ;
18700 PyObject * obj1 = 0 ;
18701 char *kwnames[] = {
18702 (char *) "self",(char *) "v", NULL
18703 };
18704
18705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
18706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18708 arg2 = (int) SWIG_AsInt(obj1);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 {
18711 PyThreadState* __tstate = wxPyBeginAllowThreads();
18712 (arg1)->SetMaxPage(arg2);
18713
18714 wxPyEndAllowThreads(__tstate);
18715 if (PyErr_Occurred()) SWIG_fail;
18716 }
18717 Py_INCREF(Py_None); resultobj = Py_None;
18718 return resultobj;
18719 fail:
18720 return NULL;
18721 }
18722
18723
18724 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18725 PyObject *resultobj;
18726 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18727 int arg2 ;
18728 PyObject * obj0 = 0 ;
18729 PyObject * obj1 = 0 ;
18730 char *kwnames[] = {
18731 (char *) "self",(char *) "v", NULL
18732 };
18733
18734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18737 arg2 = (int) SWIG_AsInt(obj1);
18738 if (PyErr_Occurred()) SWIG_fail;
18739 {
18740 PyThreadState* __tstate = wxPyBeginAllowThreads();
18741 (arg1)->SetNoCopies(arg2);
18742
18743 wxPyEndAllowThreads(__tstate);
18744 if (PyErr_Occurred()) SWIG_fail;
18745 }
18746 Py_INCREF(Py_None); resultobj = Py_None;
18747 return resultobj;
18748 fail:
18749 return NULL;
18750 }
18751
18752
18753 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18754 PyObject *resultobj;
18755 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18756 bool arg2 ;
18757 PyObject * obj0 = 0 ;
18758 PyObject * obj1 = 0 ;
18759 char *kwnames[] = {
18760 (char *) "self",(char *) "flag", NULL
18761 };
18762
18763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
18764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18766 arg2 = (bool) SWIG_AsBool(obj1);
18767 if (PyErr_Occurred()) SWIG_fail;
18768 {
18769 PyThreadState* __tstate = wxPyBeginAllowThreads();
18770 (arg1)->SetAllPages(arg2);
18771
18772 wxPyEndAllowThreads(__tstate);
18773 if (PyErr_Occurred()) SWIG_fail;
18774 }
18775 Py_INCREF(Py_None); resultobj = Py_None;
18776 return resultobj;
18777 fail:
18778 return NULL;
18779 }
18780
18781
18782 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
18783 PyObject *resultobj;
18784 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18785 bool arg2 ;
18786 PyObject * obj0 = 0 ;
18787 PyObject * obj1 = 0 ;
18788 char *kwnames[] = {
18789 (char *) "self",(char *) "flag", NULL
18790 };
18791
18792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
18793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18795 arg2 = (bool) SWIG_AsBool(obj1);
18796 if (PyErr_Occurred()) SWIG_fail;
18797 {
18798 PyThreadState* __tstate = wxPyBeginAllowThreads();
18799 (arg1)->SetSelection(arg2);
18800
18801 wxPyEndAllowThreads(__tstate);
18802 if (PyErr_Occurred()) SWIG_fail;
18803 }
18804 Py_INCREF(Py_None); resultobj = Py_None;
18805 return resultobj;
18806 fail:
18807 return NULL;
18808 }
18809
18810
18811 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18812 PyObject *resultobj;
18813 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18814 bool arg2 ;
18815 PyObject * obj0 = 0 ;
18816 PyObject * obj1 = 0 ;
18817 char *kwnames[] = {
18818 (char *) "self",(char *) "flag", NULL
18819 };
18820
18821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18824 arg2 = (bool) SWIG_AsBool(obj1);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 {
18827 PyThreadState* __tstate = wxPyBeginAllowThreads();
18828 (arg1)->SetCollate(arg2);
18829
18830 wxPyEndAllowThreads(__tstate);
18831 if (PyErr_Occurred()) SWIG_fail;
18832 }
18833 Py_INCREF(Py_None); resultobj = Py_None;
18834 return resultobj;
18835 fail:
18836 return NULL;
18837 }
18838
18839
18840 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
18841 PyObject *resultobj;
18842 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18843 bool arg2 ;
18844 PyObject * obj0 = 0 ;
18845 PyObject * obj1 = 0 ;
18846 char *kwnames[] = {
18847 (char *) "self",(char *) "flag", NULL
18848 };
18849
18850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
18851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18853 arg2 = (bool) SWIG_AsBool(obj1);
18854 if (PyErr_Occurred()) SWIG_fail;
18855 {
18856 PyThreadState* __tstate = wxPyBeginAllowThreads();
18857 (arg1)->SetPrintToFile(arg2);
18858
18859 wxPyEndAllowThreads(__tstate);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 Py_INCREF(Py_None); resultobj = Py_None;
18863 return resultobj;
18864 fail:
18865 return NULL;
18866 }
18867
18868
18869 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18870 PyObject *resultobj;
18871 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18872 bool arg2 ;
18873 PyObject * obj0 = 0 ;
18874 PyObject * obj1 = 0 ;
18875 char *kwnames[] = {
18876 (char *) "self",(char *) "flag", NULL
18877 };
18878
18879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18882 arg2 = (bool) SWIG_AsBool(obj1);
18883 if (PyErr_Occurred()) SWIG_fail;
18884 {
18885 PyThreadState* __tstate = wxPyBeginAllowThreads();
18886 (arg1)->SetSetupDialog(arg2);
18887
18888 wxPyEndAllowThreads(__tstate);
18889 if (PyErr_Occurred()) SWIG_fail;
18890 }
18891 Py_INCREF(Py_None); resultobj = Py_None;
18892 return resultobj;
18893 fail:
18894 return NULL;
18895 }
18896
18897
18898 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
18899 PyObject *resultobj;
18900 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18901 bool arg2 ;
18902 PyObject * obj0 = 0 ;
18903 PyObject * obj1 = 0 ;
18904 char *kwnames[] = {
18905 (char *) "self",(char *) "flag", NULL
18906 };
18907
18908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
18909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18911 arg2 = (bool) SWIG_AsBool(obj1);
18912 if (PyErr_Occurred()) SWIG_fail;
18913 {
18914 PyThreadState* __tstate = wxPyBeginAllowThreads();
18915 (arg1)->EnablePrintToFile(arg2);
18916
18917 wxPyEndAllowThreads(__tstate);
18918 if (PyErr_Occurred()) SWIG_fail;
18919 }
18920 Py_INCREF(Py_None); resultobj = Py_None;
18921 return resultobj;
18922 fail:
18923 return NULL;
18924 }
18925
18926
18927 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
18928 PyObject *resultobj;
18929 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18930 bool arg2 ;
18931 PyObject * obj0 = 0 ;
18932 PyObject * obj1 = 0 ;
18933 char *kwnames[] = {
18934 (char *) "self",(char *) "flag", NULL
18935 };
18936
18937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
18938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18940 arg2 = (bool) SWIG_AsBool(obj1);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 {
18943 PyThreadState* __tstate = wxPyBeginAllowThreads();
18944 (arg1)->EnableSelection(arg2);
18945
18946 wxPyEndAllowThreads(__tstate);
18947 if (PyErr_Occurred()) SWIG_fail;
18948 }
18949 Py_INCREF(Py_None); resultobj = Py_None;
18950 return resultobj;
18951 fail:
18952 return NULL;
18953 }
18954
18955
18956 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
18957 PyObject *resultobj;
18958 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18959 bool arg2 ;
18960 PyObject * obj0 = 0 ;
18961 PyObject * obj1 = 0 ;
18962 char *kwnames[] = {
18963 (char *) "self",(char *) "flag", NULL
18964 };
18965
18966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
18967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18969 arg2 = (bool) SWIG_AsBool(obj1);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 {
18972 PyThreadState* __tstate = wxPyBeginAllowThreads();
18973 (arg1)->EnablePageNumbers(arg2);
18974
18975 wxPyEndAllowThreads(__tstate);
18976 if (PyErr_Occurred()) SWIG_fail;
18977 }
18978 Py_INCREF(Py_None); resultobj = Py_None;
18979 return resultobj;
18980 fail:
18981 return NULL;
18982 }
18983
18984
18985 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18986 PyObject *resultobj;
18987 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18988 bool arg2 ;
18989 PyObject * obj0 = 0 ;
18990 PyObject * obj1 = 0 ;
18991 char *kwnames[] = {
18992 (char *) "self",(char *) "flag", NULL
18993 };
18994
18995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18998 arg2 = (bool) SWIG_AsBool(obj1);
18999 if (PyErr_Occurred()) SWIG_fail;
19000 {
19001 PyThreadState* __tstate = wxPyBeginAllowThreads();
19002 (arg1)->EnableHelp(arg2);
19003
19004 wxPyEndAllowThreads(__tstate);
19005 if (PyErr_Occurred()) SWIG_fail;
19006 }
19007 Py_INCREF(Py_None); resultobj = Py_None;
19008 return resultobj;
19009 fail:
19010 return NULL;
19011 }
19012
19013
19014 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
19015 PyObject *resultobj;
19016 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19017 bool result;
19018 PyObject * obj0 = 0 ;
19019 char *kwnames[] = {
19020 (char *) "self", NULL
19021 };
19022
19023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
19024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19026 {
19027 PyThreadState* __tstate = wxPyBeginAllowThreads();
19028 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
19029
19030 wxPyEndAllowThreads(__tstate);
19031 if (PyErr_Occurred()) SWIG_fail;
19032 }
19033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19034 return resultobj;
19035 fail:
19036 return NULL;
19037 }
19038
19039
19040 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
19041 PyObject *resultobj;
19042 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19043 bool result;
19044 PyObject * obj0 = 0 ;
19045 char *kwnames[] = {
19046 (char *) "self", NULL
19047 };
19048
19049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
19050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19052 {
19053 PyThreadState* __tstate = wxPyBeginAllowThreads();
19054 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
19055
19056 wxPyEndAllowThreads(__tstate);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19060 return resultobj;
19061 fail:
19062 return NULL;
19063 }
19064
19065
19066 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj;
19068 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19069 bool result;
19070 PyObject * obj0 = 0 ;
19071 char *kwnames[] = {
19072 (char *) "self", NULL
19073 };
19074
19075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
19076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19078 {
19079 PyThreadState* __tstate = wxPyBeginAllowThreads();
19080 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
19081
19082 wxPyEndAllowThreads(__tstate);
19083 if (PyErr_Occurred()) SWIG_fail;
19084 }
19085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19086 return resultobj;
19087 fail:
19088 return NULL;
19089 }
19090
19091
19092 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19093 PyObject *resultobj;
19094 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19095 bool result;
19096 PyObject * obj0 = 0 ;
19097 char *kwnames[] = {
19098 (char *) "self", NULL
19099 };
19100
19101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19104 {
19105 PyThreadState* __tstate = wxPyBeginAllowThreads();
19106 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
19107
19108 wxPyEndAllowThreads(__tstate);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 }
19111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19112 return resultobj;
19113 fail:
19114 return NULL;
19115 }
19116
19117
19118 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
19119 PyObject *resultobj;
19120 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19121 bool result;
19122 PyObject * obj0 = 0 ;
19123 char *kwnames[] = {
19124 (char *) "self", NULL
19125 };
19126
19127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
19128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19130 {
19131 PyThreadState* __tstate = wxPyBeginAllowThreads();
19132 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
19133
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19138 return resultobj;
19139 fail:
19140 return NULL;
19141 }
19142
19143
19144 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
19145 PyObject *resultobj;
19146 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19147 wxPrintData *result;
19148 PyObject * obj0 = 0 ;
19149 char *kwnames[] = {
19150 (char *) "self", NULL
19151 };
19152
19153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19156 {
19157 PyThreadState* __tstate = wxPyBeginAllowThreads();
19158 {
19159 wxPrintData &_result_ref = (arg1)->GetPrintData();
19160 result = (wxPrintData *) &_result_ref;
19161 }
19162
19163 wxPyEndAllowThreads(__tstate);
19164 if (PyErr_Occurred()) SWIG_fail;
19165 }
19166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19167 return resultobj;
19168 fail:
19169 return NULL;
19170 }
19171
19172
19173 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
19174 PyObject *resultobj;
19175 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19176 wxPrintData *arg2 = 0 ;
19177 PyObject * obj0 = 0 ;
19178 PyObject * obj1 = 0 ;
19179 char *kwnames[] = {
19180 (char *) "self",(char *) "printData", NULL
19181 };
19182
19183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19187 SWIG_POINTER_EXCEPTION | 0)) == -1)
19188 SWIG_fail;
19189 if (arg2 == NULL) {
19190 PyErr_SetString(PyExc_TypeError,"null reference");
19191 SWIG_fail;
19192 }
19193 {
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19196
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 Py_INCREF(Py_None); resultobj = Py_None;
19201 return resultobj;
19202 fail:
19203 return NULL;
19204 }
19205
19206
19207 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
19208 PyObject *obj;
19209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19210 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
19211 Py_INCREF(obj);
19212 return Py_BuildValue((char *)"");
19213 }
19214 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19215 PyObject *resultobj;
19216 wxWindow *arg1 = (wxWindow *) 0 ;
19217 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
19218 wxPrintDialog *result;
19219 PyObject * obj0 = 0 ;
19220 PyObject * obj1 = 0 ;
19221 char *kwnames[] = {
19222 (char *) "parent",(char *) "data", NULL
19223 };
19224
19225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19228 if (obj1) {
19229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
19230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19231 }
19232 {
19233 PyThreadState* __tstate = wxPyBeginAllowThreads();
19234 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
19235
19236 wxPyEndAllowThreads(__tstate);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
19240 return resultobj;
19241 fail:
19242 return NULL;
19243 }
19244
19245
19246 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19247 PyObject *resultobj;
19248 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19249 wxPrintDialogData *result;
19250 PyObject * obj0 = 0 ;
19251 char *kwnames[] = {
19252 (char *) "self", NULL
19253 };
19254
19255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
19256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19258 {
19259 PyThreadState* __tstate = wxPyBeginAllowThreads();
19260 {
19261 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19262 result = (wxPrintDialogData *) &_result_ref;
19263 }
19264
19265 wxPyEndAllowThreads(__tstate);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 }
19268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
19269 return resultobj;
19270 fail:
19271 return NULL;
19272 }
19273
19274
19275 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
19276 PyObject *resultobj;
19277 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19278 wxDC *result;
19279 PyObject * obj0 = 0 ;
19280 char *kwnames[] = {
19281 (char *) "self", NULL
19282 };
19283
19284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
19285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19287 {
19288 PyThreadState* __tstate = wxPyBeginAllowThreads();
19289 result = (wxDC *)(arg1)->GetPrintDC();
19290
19291 wxPyEndAllowThreads(__tstate);
19292 if (PyErr_Occurred()) SWIG_fail;
19293 }
19294 {
19295 resultobj = wxPyMake_wxObject(result);
19296 }
19297 return resultobj;
19298 fail:
19299 return NULL;
19300 }
19301
19302
19303 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
19304 PyObject *resultobj;
19305 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19306 int result;
19307 PyObject * obj0 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "self", NULL
19310 };
19311
19312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
19313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19315 {
19316 PyThreadState* __tstate = wxPyBeginAllowThreads();
19317 result = (int)(arg1)->ShowModal();
19318
19319 wxPyEndAllowThreads(__tstate);
19320 if (PyErr_Occurred()) SWIG_fail;
19321 }
19322 resultobj = SWIG_FromInt((int)result);
19323 return resultobj;
19324 fail:
19325 return NULL;
19326 }
19327
19328
19329 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
19330 PyObject *obj;
19331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19332 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
19333 Py_INCREF(obj);
19334 return Py_BuildValue((char *)"");
19335 }
19336 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
19337 PyObject *resultobj;
19338 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
19339 wxPrinter *result;
19340 PyObject * obj0 = 0 ;
19341 char *kwnames[] = {
19342 (char *) "data", NULL
19343 };
19344
19345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
19346 if (obj0) {
19347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19349 }
19350 {
19351 PyThreadState* __tstate = wxPyBeginAllowThreads();
19352 result = (wxPrinter *)new wxPrinter(arg1);
19353
19354 wxPyEndAllowThreads(__tstate);
19355 if (PyErr_Occurred()) SWIG_fail;
19356 }
19357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
19358 return resultobj;
19359 fail:
19360 return NULL;
19361 }
19362
19363
19364 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
19365 PyObject *resultobj;
19366 wxPrinter *arg1 = (wxPrinter *) 0 ;
19367 PyObject * obj0 = 0 ;
19368 char *kwnames[] = {
19369 (char *) "self", NULL
19370 };
19371
19372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
19373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 delete arg1;
19378
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
19382 Py_INCREF(Py_None); resultobj = Py_None;
19383 return resultobj;
19384 fail:
19385 return NULL;
19386 }
19387
19388
19389 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19390 PyObject *resultobj;
19391 wxPrinter *arg1 = (wxPrinter *) 0 ;
19392 wxWindow *arg2 = (wxWindow *) 0 ;
19393 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19394 PyObject * obj0 = 0 ;
19395 PyObject * obj1 = 0 ;
19396 PyObject * obj2 = 0 ;
19397 char *kwnames[] = {
19398 (char *) "self",(char *) "parent",(char *) "printout", NULL
19399 };
19400
19401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
19402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19406 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
19407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19408 {
19409 PyThreadState* __tstate = wxPyBeginAllowThreads();
19410 (arg1)->CreateAbortWindow(arg2,arg3);
19411
19412 wxPyEndAllowThreads(__tstate);
19413 if (PyErr_Occurred()) SWIG_fail;
19414 }
19415 Py_INCREF(Py_None); resultobj = Py_None;
19416 return resultobj;
19417 fail:
19418 return NULL;
19419 }
19420
19421
19422 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19423 PyObject *resultobj;
19424 wxPrinter *arg1 = (wxPrinter *) 0 ;
19425 wxPrintDialogData *result;
19426 PyObject * obj0 = 0 ;
19427 char *kwnames[] = {
19428 (char *) "self", NULL
19429 };
19430
19431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
19432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19434 {
19435 PyThreadState* __tstate = wxPyBeginAllowThreads();
19436 {
19437 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19438 result = (wxPrintDialogData *) &_result_ref;
19439 }
19440
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
19444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
19445 return resultobj;
19446 fail:
19447 return NULL;
19448 }
19449
19450
19451 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
19452 PyObject *resultobj;
19453 wxPrinter *arg1 = (wxPrinter *) 0 ;
19454 wxWindow *arg2 = (wxWindow *) 0 ;
19455 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19456 int arg4 = (int) True ;
19457 bool result;
19458 PyObject * obj0 = 0 ;
19459 PyObject * obj1 = 0 ;
19460 PyObject * obj2 = 0 ;
19461 PyObject * obj3 = 0 ;
19462 char *kwnames[] = {
19463 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19464 };
19465
19466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19471 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
19472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19473 if (obj3) {
19474 arg4 = (int) SWIG_AsInt(obj3);
19475 if (PyErr_Occurred()) SWIG_fail;
19476 }
19477 {
19478 PyThreadState* __tstate = wxPyBeginAllowThreads();
19479 result = (bool)(arg1)->Print(arg2,arg3,arg4);
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19485 return resultobj;
19486 fail:
19487 return NULL;
19488 }
19489
19490
19491 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 wxPrinter *arg1 = (wxPrinter *) 0 ;
19494 wxWindow *arg2 = (wxWindow *) 0 ;
19495 wxDC *result;
19496 PyObject * obj0 = 0 ;
19497 PyObject * obj1 = 0 ;
19498 char *kwnames[] = {
19499 (char *) "self",(char *) "parent", NULL
19500 };
19501
19502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19507 {
19508 PyThreadState* __tstate = wxPyBeginAllowThreads();
19509 result = (wxDC *)(arg1)->PrintDialog(arg2);
19510
19511 wxPyEndAllowThreads(__tstate);
19512 if (PyErr_Occurred()) SWIG_fail;
19513 }
19514 {
19515 resultobj = wxPyMake_wxObject(result);
19516 }
19517 return resultobj;
19518 fail:
19519 return NULL;
19520 }
19521
19522
19523 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
19524 PyObject *resultobj;
19525 wxPrinter *arg1 = (wxPrinter *) 0 ;
19526 wxWindow *arg2 = (wxWindow *) 0 ;
19527 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19528 wxString *arg4 = 0 ;
19529 bool temp4 = False ;
19530 PyObject * obj0 = 0 ;
19531 PyObject * obj1 = 0 ;
19532 PyObject * obj2 = 0 ;
19533 PyObject * obj3 = 0 ;
19534 char *kwnames[] = {
19535 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19536 };
19537
19538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19543 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
19544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19545 {
19546 arg4 = wxString_in_helper(obj3);
19547 if (arg4 == NULL) SWIG_fail;
19548 temp4 = True;
19549 }
19550 {
19551 PyThreadState* __tstate = wxPyBeginAllowThreads();
19552 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
19553
19554 wxPyEndAllowThreads(__tstate);
19555 if (PyErr_Occurred()) SWIG_fail;
19556 }
19557 Py_INCREF(Py_None); resultobj = Py_None;
19558 {
19559 if (temp4)
19560 delete arg4;
19561 }
19562 return resultobj;
19563 fail:
19564 {
19565 if (temp4)
19566 delete arg4;
19567 }
19568 return NULL;
19569 }
19570
19571
19572 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
19573 PyObject *resultobj;
19574 wxPrinter *arg1 = (wxPrinter *) 0 ;
19575 wxWindow *arg2 = (wxWindow *) 0 ;
19576 bool result;
19577 PyObject * obj0 = 0 ;
19578 PyObject * obj1 = 0 ;
19579 char *kwnames[] = {
19580 (char *) "self",(char *) "parent", NULL
19581 };
19582
19583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
19584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19588 {
19589 PyThreadState* __tstate = wxPyBeginAllowThreads();
19590 result = (bool)(arg1)->Setup(arg2);
19591
19592 wxPyEndAllowThreads(__tstate);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 }
19595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19596 return resultobj;
19597 fail:
19598 return NULL;
19599 }
19600
19601
19602 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj;
19604 wxPrinter *arg1 = (wxPrinter *) 0 ;
19605 bool result;
19606 PyObject * obj0 = 0 ;
19607 char *kwnames[] = {
19608 (char *) "self", NULL
19609 };
19610
19611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
19612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19614 {
19615 PyThreadState* __tstate = wxPyBeginAllowThreads();
19616 result = (bool)(arg1)->GetAbort();
19617
19618 wxPyEndAllowThreads(__tstate);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19622 return resultobj;
19623 fail:
19624 return NULL;
19625 }
19626
19627
19628 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
19629 PyObject *resultobj;
19630 int result;
19631 char *kwnames[] = {
19632 NULL
19633 };
19634
19635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
19636 {
19637 PyThreadState* __tstate = wxPyBeginAllowThreads();
19638 result = (int)wxPrinter::GetLastError();
19639
19640 wxPyEndAllowThreads(__tstate);
19641 if (PyErr_Occurred()) SWIG_fail;
19642 }
19643 resultobj = SWIG_FromInt((int)result);
19644 return resultobj;
19645 fail:
19646 return NULL;
19647 }
19648
19649
19650 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
19651 PyObject *obj;
19652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19653 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
19654 Py_INCREF(obj);
19655 return Py_BuildValue((char *)"");
19656 }
19657 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
19658 PyObject *resultobj;
19659 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
19660 wxString *arg1 = (wxString *) &arg1_defvalue ;
19661 wxPyPrintout *result;
19662 bool temp1 = False ;
19663 PyObject * obj0 = 0 ;
19664 char *kwnames[] = {
19665 (char *) "title", NULL
19666 };
19667
19668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
19669 if (obj0) {
19670 {
19671 arg1 = wxString_in_helper(obj0);
19672 if (arg1 == NULL) SWIG_fail;
19673 temp1 = True;
19674 }
19675 }
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 {
19684 resultobj = wxPyMake_wxObject(result);
19685 }
19686 {
19687 if (temp1)
19688 delete arg1;
19689 }
19690 return resultobj;
19691 fail:
19692 {
19693 if (temp1)
19694 delete arg1;
19695 }
19696 return NULL;
19697 }
19698
19699
19700 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19701 PyObject *resultobj;
19702 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19703 PyObject *arg2 = (PyObject *) 0 ;
19704 PyObject *arg3 = (PyObject *) 0 ;
19705 PyObject * obj0 = 0 ;
19706 PyObject * obj1 = 0 ;
19707 PyObject * obj2 = 0 ;
19708 char *kwnames[] = {
19709 (char *) "self",(char *) "self",(char *) "_class", NULL
19710 };
19711
19712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
19714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19715 arg2 = obj1;
19716 arg3 = obj2;
19717 {
19718 PyThreadState* __tstate = wxPyBeginAllowThreads();
19719 (arg1)->_setCallbackInfo(arg2,arg3);
19720
19721 wxPyEndAllowThreads(__tstate);
19722 if (PyErr_Occurred()) SWIG_fail;
19723 }
19724 Py_INCREF(Py_None); resultobj = Py_None;
19725 return resultobj;
19726 fail:
19727 return NULL;
19728 }
19729
19730
19731 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
19732 PyObject *resultobj;
19733 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19734 wxString result;
19735 PyObject * obj0 = 0 ;
19736 char *kwnames[] = {
19737 (char *) "self", NULL
19738 };
19739
19740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
19741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
19742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19743 {
19744 PyThreadState* __tstate = wxPyBeginAllowThreads();
19745 result = ((wxPyPrintout const *)arg1)->GetTitle();
19746
19747 wxPyEndAllowThreads(__tstate);
19748 if (PyErr_Occurred()) SWIG_fail;
19749 }
19750 {
19751 #if wxUSE_UNICODE
19752 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19753 #else
19754 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19755 #endif
19756 }
19757 return resultobj;
19758 fail:
19759 return NULL;
19760 }
19761
19762
19763 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
19764 PyObject *resultobj;
19765 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19766 wxDC *result;
19767 PyObject * obj0 = 0 ;
19768 char *kwnames[] = {
19769 (char *) "self", NULL
19770 };
19771
19772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
19773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
19774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19775 {
19776 PyThreadState* __tstate = wxPyBeginAllowThreads();
19777 result = (wxDC *)(arg1)->GetDC();
19778
19779 wxPyEndAllowThreads(__tstate);
19780 if (PyErr_Occurred()) SWIG_fail;
19781 }
19782 {
19783 resultobj = wxPyMake_wxObject(result);
19784 }
19785 return resultobj;
19786 fail:
19787 return NULL;
19788 }
19789
19790
19791 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
19792 PyObject *resultobj;
19793 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19794 wxDC *arg2 = (wxDC *) 0 ;
19795 PyObject * obj0 = 0 ;
19796 PyObject * obj1 = 0 ;
19797 char *kwnames[] = {
19798 (char *) "self",(char *) "dc", NULL
19799 };
19800
19801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
19802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
19803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19806 {
19807 PyThreadState* __tstate = wxPyBeginAllowThreads();
19808 (arg1)->SetDC(arg2);
19809
19810 wxPyEndAllowThreads(__tstate);
19811 if (PyErr_Occurred()) SWIG_fail;
19812 }
19813 Py_INCREF(Py_None); resultobj = Py_None;
19814 return resultobj;
19815 fail:
19816 return NULL;
19817 }
19818
19819
19820 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
19821 PyObject *resultobj;
19822 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19823 int arg2 ;
19824 int arg3 ;
19825 PyObject * obj0 = 0 ;
19826 PyObject * obj1 = 0 ;
19827 PyObject * obj2 = 0 ;
19828 char *kwnames[] = {
19829 (char *) "self",(char *) "w",(char *) "h", NULL
19830 };
19831
19832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
19833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
19834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19835 arg2 = (int) SWIG_AsInt(obj1);
19836 if (PyErr_Occurred()) SWIG_fail;
19837 arg3 = (int) SWIG_AsInt(obj2);
19838 if (PyErr_Occurred()) SWIG_fail;
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 (arg1)->SetPageSizePixels(arg2,arg3);
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 Py_INCREF(Py_None); resultobj = Py_None;
19847 return resultobj;
19848 fail:
19849 return NULL;
19850 }
19851
19852
19853 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj;
19855 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19856 int *arg2 = (int *) 0 ;
19857 int *arg3 = (int *) 0 ;
19858 int temp2 ;
19859 int temp3 ;
19860 PyObject * obj0 = 0 ;
19861 char *kwnames[] = {
19862 (char *) "self", NULL
19863 };
19864
19865 arg2 = &temp2;
19866 arg3 = &temp3;
19867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
19868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
19869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19870 {
19871 PyThreadState* __tstate = wxPyBeginAllowThreads();
19872 (arg1)->GetPageSizePixels(arg2,arg3);
19873
19874 wxPyEndAllowThreads(__tstate);
19875 if (PyErr_Occurred()) SWIG_fail;
19876 }
19877 Py_INCREF(Py_None); resultobj = Py_None;
19878 {
19879 PyObject *o = PyInt_FromLong((long) (*arg2));
19880 resultobj = t_output_helper(resultobj,o);
19881 }
19882 {
19883 PyObject *o = PyInt_FromLong((long) (*arg3));
19884 resultobj = t_output_helper(resultobj,o);
19885 }
19886 return resultobj;
19887 fail:
19888 return NULL;
19889 }
19890
19891
19892 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
19893 PyObject *resultobj;
19894 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19895 int arg2 ;
19896 int arg3 ;
19897 PyObject * obj0 = 0 ;
19898 PyObject * obj1 = 0 ;
19899 PyObject * obj2 = 0 ;
19900 char *kwnames[] = {
19901 (char *) "self",(char *) "w",(char *) "h", NULL
19902 };
19903
19904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
19905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
19906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19907 arg2 = (int) SWIG_AsInt(obj1);
19908 if (PyErr_Occurred()) SWIG_fail;
19909 arg3 = (int) SWIG_AsInt(obj2);
19910 if (PyErr_Occurred()) SWIG_fail;
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 (arg1)->SetPageSizeMM(arg2,arg3);
19914
19915 wxPyEndAllowThreads(__tstate);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
19918 Py_INCREF(Py_None); resultobj = Py_None;
19919 return resultobj;
19920 fail:
19921 return NULL;
19922 }
19923
19924
19925 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj;
19927 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19928 int *arg2 = (int *) 0 ;
19929 int *arg3 = (int *) 0 ;
19930 int temp2 ;
19931 int temp3 ;
19932 PyObject * obj0 = 0 ;
19933 char *kwnames[] = {
19934 (char *) "self", NULL
19935 };
19936
19937 arg2 = &temp2;
19938 arg3 = &temp3;
19939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
19940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
19941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19942 {
19943 PyThreadState* __tstate = wxPyBeginAllowThreads();
19944 (arg1)->GetPageSizeMM(arg2,arg3);
19945
19946 wxPyEndAllowThreads(__tstate);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 }
19949 Py_INCREF(Py_None); resultobj = Py_None;
19950 {
19951 PyObject *o = PyInt_FromLong((long) (*arg2));
19952 resultobj = t_output_helper(resultobj,o);
19953 }
19954 {
19955 PyObject *o = PyInt_FromLong((long) (*arg3));
19956 resultobj = t_output_helper(resultobj,o);
19957 }
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj;
19966 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19967 int arg2 ;
19968 int arg3 ;
19969 PyObject * obj0 = 0 ;
19970 PyObject * obj1 = 0 ;
19971 PyObject * obj2 = 0 ;
19972 char *kwnames[] = {
19973 (char *) "self",(char *) "x",(char *) "y", NULL
19974 };
19975
19976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
19977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
19978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19979 arg2 = (int) SWIG_AsInt(obj1);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 arg3 = (int) SWIG_AsInt(obj2);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 {
19984 PyThreadState* __tstate = wxPyBeginAllowThreads();
19985 (arg1)->SetPPIScreen(arg2,arg3);
19986
19987 wxPyEndAllowThreads(__tstate);
19988 if (PyErr_Occurred()) SWIG_fail;
19989 }
19990 Py_INCREF(Py_None); resultobj = Py_None;
19991 return resultobj;
19992 fail:
19993 return NULL;
19994 }
19995
19996
19997 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
19998 PyObject *resultobj;
19999 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20000 int *arg2 = (int *) 0 ;
20001 int *arg3 = (int *) 0 ;
20002 int temp2 ;
20003 int temp3 ;
20004 PyObject * obj0 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "self", NULL
20007 };
20008
20009 arg2 = &temp2;
20010 arg3 = &temp3;
20011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
20012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20014 {
20015 PyThreadState* __tstate = wxPyBeginAllowThreads();
20016 (arg1)->GetPPIScreen(arg2,arg3);
20017
20018 wxPyEndAllowThreads(__tstate);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 }
20021 Py_INCREF(Py_None); resultobj = Py_None;
20022 {
20023 PyObject *o = PyInt_FromLong((long) (*arg2));
20024 resultobj = t_output_helper(resultobj,o);
20025 }
20026 {
20027 PyObject *o = PyInt_FromLong((long) (*arg3));
20028 resultobj = t_output_helper(resultobj,o);
20029 }
20030 return resultobj;
20031 fail:
20032 return NULL;
20033 }
20034
20035
20036 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20037 PyObject *resultobj;
20038 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20039 int arg2 ;
20040 int arg3 ;
20041 PyObject * obj0 = 0 ;
20042 PyObject * obj1 = 0 ;
20043 PyObject * obj2 = 0 ;
20044 char *kwnames[] = {
20045 (char *) "self",(char *) "x",(char *) "y", NULL
20046 };
20047
20048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
20049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20051 arg2 = (int) SWIG_AsInt(obj1);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 arg3 = (int) SWIG_AsInt(obj2);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 {
20056 PyThreadState* __tstate = wxPyBeginAllowThreads();
20057 (arg1)->SetPPIPrinter(arg2,arg3);
20058
20059 wxPyEndAllowThreads(__tstate);
20060 if (PyErr_Occurred()) SWIG_fail;
20061 }
20062 Py_INCREF(Py_None); resultobj = Py_None;
20063 return resultobj;
20064 fail:
20065 return NULL;
20066 }
20067
20068
20069 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20070 PyObject *resultobj;
20071 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20072 int *arg2 = (int *) 0 ;
20073 int *arg3 = (int *) 0 ;
20074 int temp2 ;
20075 int temp3 ;
20076 PyObject * obj0 = 0 ;
20077 char *kwnames[] = {
20078 (char *) "self", NULL
20079 };
20080
20081 arg2 = &temp2;
20082 arg3 = &temp3;
20083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
20084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20086 {
20087 PyThreadState* __tstate = wxPyBeginAllowThreads();
20088 (arg1)->GetPPIPrinter(arg2,arg3);
20089
20090 wxPyEndAllowThreads(__tstate);
20091 if (PyErr_Occurred()) SWIG_fail;
20092 }
20093 Py_INCREF(Py_None); resultobj = Py_None;
20094 {
20095 PyObject *o = PyInt_FromLong((long) (*arg2));
20096 resultobj = t_output_helper(resultobj,o);
20097 }
20098 {
20099 PyObject *o = PyInt_FromLong((long) (*arg3));
20100 resultobj = t_output_helper(resultobj,o);
20101 }
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
20109 PyObject *resultobj;
20110 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20111 bool result;
20112 PyObject * obj0 = 0 ;
20113 char *kwnames[] = {
20114 (char *) "self", NULL
20115 };
20116
20117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
20118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20120 {
20121 PyThreadState* __tstate = wxPyBeginAllowThreads();
20122 result = (bool)(arg1)->IsPreview();
20123
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
20135 PyObject *resultobj;
20136 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20137 bool arg2 ;
20138 PyObject * obj0 = 0 ;
20139 PyObject * obj1 = 0 ;
20140 char *kwnames[] = {
20141 (char *) "self",(char *) "p", NULL
20142 };
20143
20144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
20145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20147 arg2 = (bool) SWIG_AsBool(obj1);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 {
20150 PyThreadState* __tstate = wxPyBeginAllowThreads();
20151 (arg1)->SetIsPreview(arg2);
20152
20153 wxPyEndAllowThreads(__tstate);
20154 if (PyErr_Occurred()) SWIG_fail;
20155 }
20156 Py_INCREF(Py_None); resultobj = Py_None;
20157 return resultobj;
20158 fail:
20159 return NULL;
20160 }
20161
20162
20163 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
20164 PyObject *resultobj;
20165 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20166 int arg2 ;
20167 int arg3 ;
20168 bool result;
20169 PyObject * obj0 = 0 ;
20170 PyObject * obj1 = 0 ;
20171 PyObject * obj2 = 0 ;
20172 char *kwnames[] = {
20173 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20174 };
20175
20176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
20177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20179 arg2 = (int) SWIG_AsInt(obj1);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 arg3 = (int) SWIG_AsInt(obj2);
20182 if (PyErr_Occurred()) SWIG_fail;
20183 {
20184 PyThreadState* __tstate = wxPyBeginAllowThreads();
20185 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
20186
20187 wxPyEndAllowThreads(__tstate);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20191 return resultobj;
20192 fail:
20193 return NULL;
20194 }
20195
20196
20197 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
20198 PyObject *resultobj;
20199 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20200 PyObject * obj0 = 0 ;
20201 char *kwnames[] = {
20202 (char *) "self", NULL
20203 };
20204
20205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
20206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20208 {
20209 PyThreadState* __tstate = wxPyBeginAllowThreads();
20210 (arg1)->base_OnEndDocument();
20211
20212 wxPyEndAllowThreads(__tstate);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 }
20215 Py_INCREF(Py_None); resultobj = Py_None;
20216 return resultobj;
20217 fail:
20218 return NULL;
20219 }
20220
20221
20222 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
20223 PyObject *resultobj;
20224 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20225 PyObject * obj0 = 0 ;
20226 char *kwnames[] = {
20227 (char *) "self", NULL
20228 };
20229
20230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
20231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20233 {
20234 PyThreadState* __tstate = wxPyBeginAllowThreads();
20235 (arg1)->base_OnBeginPrinting();
20236
20237 wxPyEndAllowThreads(__tstate);
20238 if (PyErr_Occurred()) SWIG_fail;
20239 }
20240 Py_INCREF(Py_None); resultobj = Py_None;
20241 return resultobj;
20242 fail:
20243 return NULL;
20244 }
20245
20246
20247 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
20248 PyObject *resultobj;
20249 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20250 PyObject * obj0 = 0 ;
20251 char *kwnames[] = {
20252 (char *) "self", NULL
20253 };
20254
20255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
20256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20258 {
20259 PyThreadState* __tstate = wxPyBeginAllowThreads();
20260 (arg1)->base_OnEndPrinting();
20261
20262 wxPyEndAllowThreads(__tstate);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 }
20265 Py_INCREF(Py_None); resultobj = Py_None;
20266 return resultobj;
20267 fail:
20268 return NULL;
20269 }
20270
20271
20272 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
20273 PyObject *resultobj;
20274 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20275 PyObject * obj0 = 0 ;
20276 char *kwnames[] = {
20277 (char *) "self", NULL
20278 };
20279
20280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
20281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20283 {
20284 PyThreadState* __tstate = wxPyBeginAllowThreads();
20285 (arg1)->base_OnPreparePrinting();
20286
20287 wxPyEndAllowThreads(__tstate);
20288 if (PyErr_Occurred()) SWIG_fail;
20289 }
20290 Py_INCREF(Py_None); resultobj = Py_None;
20291 return resultobj;
20292 fail:
20293 return NULL;
20294 }
20295
20296
20297 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
20298 PyObject *resultobj;
20299 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20300 int arg2 ;
20301 bool result;
20302 PyObject * obj0 = 0 ;
20303 PyObject * obj1 = 0 ;
20304 char *kwnames[] = {
20305 (char *) "self",(char *) "page", NULL
20306 };
20307
20308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
20309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20311 arg2 = (int) SWIG_AsInt(obj1);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 {
20314 PyThreadState* __tstate = wxPyBeginAllowThreads();
20315 result = (bool)(arg1)->base_HasPage(arg2);
20316
20317 wxPyEndAllowThreads(__tstate);
20318 if (PyErr_Occurred()) SWIG_fail;
20319 }
20320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20321 return resultobj;
20322 fail:
20323 return NULL;
20324 }
20325
20326
20327 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20328 PyObject *resultobj;
20329 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20330 int *arg2 = (int *) 0 ;
20331 int *arg3 = (int *) 0 ;
20332 int *arg4 = (int *) 0 ;
20333 int *arg5 = (int *) 0 ;
20334 int temp2 ;
20335 int temp3 ;
20336 int temp4 ;
20337 int temp5 ;
20338 PyObject * obj0 = 0 ;
20339 char *kwnames[] = {
20340 (char *) "self", NULL
20341 };
20342
20343 arg2 = &temp2;
20344 arg3 = &temp3;
20345 arg4 = &temp4;
20346 arg5 = &temp5;
20347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
20348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20350 {
20351 PyThreadState* __tstate = wxPyBeginAllowThreads();
20352 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
20353
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 Py_INCREF(Py_None); resultobj = Py_None;
20358 {
20359 PyObject *o = PyInt_FromLong((long) (*arg2));
20360 resultobj = t_output_helper(resultobj,o);
20361 }
20362 {
20363 PyObject *o = PyInt_FromLong((long) (*arg3));
20364 resultobj = t_output_helper(resultobj,o);
20365 }
20366 {
20367 PyObject *o = PyInt_FromLong((long) (*arg4));
20368 resultobj = t_output_helper(resultobj,o);
20369 }
20370 {
20371 PyObject *o = PyInt_FromLong((long) (*arg5));
20372 resultobj = t_output_helper(resultobj,o);
20373 }
20374 return resultobj;
20375 fail:
20376 return NULL;
20377 }
20378
20379
20380 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
20381 PyObject *obj;
20382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20383 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
20384 Py_INCREF(obj);
20385 return Py_BuildValue((char *)"");
20386 }
20387 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
20388 PyObject *resultobj;
20389 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20390 wxWindow *arg2 = (wxWindow *) 0 ;
20391 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20392 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20393 wxSize const &arg4_defvalue = wxDefaultSize ;
20394 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20395 long arg5 = (long) 0 ;
20396 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
20397 wxString *arg6 = (wxString *) &arg6_defvalue ;
20398 wxPreviewCanvas *result;
20399 wxPoint temp3 ;
20400 wxSize temp4 ;
20401 bool temp6 = False ;
20402 PyObject * obj0 = 0 ;
20403 PyObject * obj1 = 0 ;
20404 PyObject * obj2 = 0 ;
20405 PyObject * obj3 = 0 ;
20406 PyObject * obj4 = 0 ;
20407 PyObject * obj5 = 0 ;
20408 char *kwnames[] = {
20409 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20410 };
20411
20412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
20414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20417 if (obj2) {
20418 {
20419 arg3 = &temp3;
20420 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20421 }
20422 }
20423 if (obj3) {
20424 {
20425 arg4 = &temp4;
20426 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20427 }
20428 }
20429 if (obj4) {
20430 arg5 = (long) SWIG_AsLong(obj4);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 }
20433 if (obj5) {
20434 {
20435 arg6 = wxString_in_helper(obj5);
20436 if (arg6 == NULL) SWIG_fail;
20437 temp6 = True;
20438 }
20439 }
20440 {
20441 PyThreadState* __tstate = wxPyBeginAllowThreads();
20442 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20443
20444 wxPyEndAllowThreads(__tstate);
20445 if (PyErr_Occurred()) SWIG_fail;
20446 }
20447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
20448 {
20449 if (temp6)
20450 delete arg6;
20451 }
20452 return resultobj;
20453 fail:
20454 {
20455 if (temp6)
20456 delete arg6;
20457 }
20458 return NULL;
20459 }
20460
20461
20462 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
20463 PyObject *obj;
20464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20465 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
20466 Py_INCREF(obj);
20467 return Py_BuildValue((char *)"");
20468 }
20469 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
20470 PyObject *resultobj;
20471 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20472 wxFrame *arg2 = (wxFrame *) 0 ;
20473 wxString *arg3 = 0 ;
20474 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20475 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20476 wxSize const &arg5_defvalue = wxDefaultSize ;
20477 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20478 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20479 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20480 wxString *arg7 = (wxString *) &arg7_defvalue ;
20481 wxPreviewFrame *result;
20482 bool temp3 = False ;
20483 wxPoint temp4 ;
20484 wxSize temp5 ;
20485 bool temp7 = False ;
20486 PyObject * obj0 = 0 ;
20487 PyObject * obj1 = 0 ;
20488 PyObject * obj2 = 0 ;
20489 PyObject * obj3 = 0 ;
20490 PyObject * obj4 = 0 ;
20491 PyObject * obj5 = 0 ;
20492 PyObject * obj6 = 0 ;
20493 char *kwnames[] = {
20494 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
20499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
20501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20502 {
20503 arg3 = wxString_in_helper(obj2);
20504 if (arg3 == NULL) SWIG_fail;
20505 temp3 = True;
20506 }
20507 if (obj3) {
20508 {
20509 arg4 = &temp4;
20510 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20511 }
20512 }
20513 if (obj4) {
20514 {
20515 arg5 = &temp5;
20516 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20517 }
20518 }
20519 if (obj5) {
20520 arg6 = (long) SWIG_AsLong(obj5);
20521 if (PyErr_Occurred()) SWIG_fail;
20522 }
20523 if (obj6) {
20524 {
20525 arg7 = wxString_in_helper(obj6);
20526 if (arg7 == NULL) SWIG_fail;
20527 temp7 = True;
20528 }
20529 }
20530 {
20531 PyThreadState* __tstate = wxPyBeginAllowThreads();
20532 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20533
20534 wxPyEndAllowThreads(__tstate);
20535 if (PyErr_Occurred()) SWIG_fail;
20536 }
20537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
20538 {
20539 if (temp3)
20540 delete arg3;
20541 }
20542 {
20543 if (temp7)
20544 delete arg7;
20545 }
20546 return resultobj;
20547 fail:
20548 {
20549 if (temp3)
20550 delete arg3;
20551 }
20552 {
20553 if (temp7)
20554 delete arg7;
20555 }
20556 return NULL;
20557 }
20558
20559
20560 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
20561 PyObject *resultobj;
20562 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20563 PyObject * obj0 = 0 ;
20564 char *kwnames[] = {
20565 (char *) "self", NULL
20566 };
20567
20568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
20569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
20570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20571 {
20572 PyThreadState* __tstate = wxPyBeginAllowThreads();
20573 (arg1)->Initialize();
20574
20575 wxPyEndAllowThreads(__tstate);
20576 if (PyErr_Occurred()) SWIG_fail;
20577 }
20578 Py_INCREF(Py_None); resultobj = Py_None;
20579 return resultobj;
20580 fail:
20581 return NULL;
20582 }
20583
20584
20585 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
20586 PyObject *resultobj;
20587 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20588 PyObject * obj0 = 0 ;
20589 char *kwnames[] = {
20590 (char *) "self", NULL
20591 };
20592
20593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
20594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
20595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20596 {
20597 PyThreadState* __tstate = wxPyBeginAllowThreads();
20598 (arg1)->CreateControlBar();
20599
20600 wxPyEndAllowThreads(__tstate);
20601 if (PyErr_Occurred()) SWIG_fail;
20602 }
20603 Py_INCREF(Py_None); resultobj = Py_None;
20604 return resultobj;
20605 fail:
20606 return NULL;
20607 }
20608
20609
20610 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
20611 PyObject *resultobj;
20612 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20613 PyObject * obj0 = 0 ;
20614 char *kwnames[] = {
20615 (char *) "self", NULL
20616 };
20617
20618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
20619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
20620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 (arg1)->CreateCanvas();
20624
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 Py_INCREF(Py_None); resultobj = Py_None;
20629 return resultobj;
20630 fail:
20631 return NULL;
20632 }
20633
20634
20635 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
20636 PyObject *resultobj;
20637 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20638 wxPreviewControlBar *result;
20639 PyObject * obj0 = 0 ;
20640 char *kwnames[] = {
20641 (char *) "self", NULL
20642 };
20643
20644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
20645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
20646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20647 {
20648 PyThreadState* __tstate = wxPyBeginAllowThreads();
20649 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
20650
20651 wxPyEndAllowThreads(__tstate);
20652 if (PyErr_Occurred()) SWIG_fail;
20653 }
20654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
20655 return resultobj;
20656 fail:
20657 return NULL;
20658 }
20659
20660
20661 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
20662 PyObject *obj;
20663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20664 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
20665 Py_INCREF(obj);
20666 return Py_BuildValue((char *)"");
20667 }
20668 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
20669 PyObject *resultobj;
20670 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20671 long arg2 ;
20672 wxWindow *arg3 = (wxWindow *) 0 ;
20673 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20674 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20675 wxSize const &arg5_defvalue = wxDefaultSize ;
20676 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20677 long arg6 = (long) wxTAB_TRAVERSAL ;
20678 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20679 wxString *arg7 = (wxString *) &arg7_defvalue ;
20680 wxPreviewControlBar *result;
20681 wxPoint temp4 ;
20682 wxSize temp5 ;
20683 bool temp7 = False ;
20684 PyObject * obj0 = 0 ;
20685 PyObject * obj1 = 0 ;
20686 PyObject * obj2 = 0 ;
20687 PyObject * obj3 = 0 ;
20688 PyObject * obj4 = 0 ;
20689 PyObject * obj5 = 0 ;
20690 PyObject * obj6 = 0 ;
20691 char *kwnames[] = {
20692 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20693 };
20694
20695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
20697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20698 arg2 = (long) SWIG_AsLong(obj1);
20699 if (PyErr_Occurred()) SWIG_fail;
20700 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
20701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20702 if (obj3) {
20703 {
20704 arg4 = &temp4;
20705 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20706 }
20707 }
20708 if (obj4) {
20709 {
20710 arg5 = &temp5;
20711 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20712 }
20713 }
20714 if (obj5) {
20715 arg6 = (long) SWIG_AsLong(obj5);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 if (obj6) {
20719 {
20720 arg7 = wxString_in_helper(obj6);
20721 if (arg7 == NULL) SWIG_fail;
20722 temp7 = True;
20723 }
20724 }
20725 {
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20728
20729 wxPyEndAllowThreads(__tstate);
20730 if (PyErr_Occurred()) SWIG_fail;
20731 }
20732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
20733 {
20734 if (temp7)
20735 delete arg7;
20736 }
20737 return resultobj;
20738 fail:
20739 {
20740 if (temp7)
20741 delete arg7;
20742 }
20743 return NULL;
20744 }
20745
20746
20747 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
20748 PyObject *resultobj;
20749 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20750 int result;
20751 PyObject * obj0 = 0 ;
20752 char *kwnames[] = {
20753 (char *) "self", NULL
20754 };
20755
20756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
20757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
20758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20759 {
20760 PyThreadState* __tstate = wxPyBeginAllowThreads();
20761 result = (int)(arg1)->GetZoomControl();
20762
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
20766 resultobj = SWIG_FromInt((int)result);
20767 return resultobj;
20768 fail:
20769 return NULL;
20770 }
20771
20772
20773 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
20774 PyObject *resultobj;
20775 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20776 int arg2 ;
20777 PyObject * obj0 = 0 ;
20778 PyObject * obj1 = 0 ;
20779 char *kwnames[] = {
20780 (char *) "self",(char *) "zoom", NULL
20781 };
20782
20783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
20784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
20785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20786 arg2 = (int) SWIG_AsInt(obj1);
20787 if (PyErr_Occurred()) SWIG_fail;
20788 {
20789 PyThreadState* __tstate = wxPyBeginAllowThreads();
20790 (arg1)->SetZoomControl(arg2);
20791
20792 wxPyEndAllowThreads(__tstate);
20793 if (PyErr_Occurred()) SWIG_fail;
20794 }
20795 Py_INCREF(Py_None); resultobj = Py_None;
20796 return resultobj;
20797 fail:
20798 return NULL;
20799 }
20800
20801
20802 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
20803 PyObject *resultobj;
20804 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20805 wxPrintPreview *result;
20806 PyObject * obj0 = 0 ;
20807 char *kwnames[] = {
20808 (char *) "self", NULL
20809 };
20810
20811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
20812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
20813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20814 {
20815 PyThreadState* __tstate = wxPyBeginAllowThreads();
20816 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
20817
20818 wxPyEndAllowThreads(__tstate);
20819 if (PyErr_Occurred()) SWIG_fail;
20820 }
20821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
20822 return resultobj;
20823 fail:
20824 return NULL;
20825 }
20826
20827
20828 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
20829 PyObject *resultobj;
20830 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20831 PyObject * obj0 = 0 ;
20832 char *kwnames[] = {
20833 (char *) "self", NULL
20834 };
20835
20836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
20837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
20838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20839 {
20840 PyThreadState* __tstate = wxPyBeginAllowThreads();
20841 (arg1)->OnNext();
20842
20843 wxPyEndAllowThreads(__tstate);
20844 if (PyErr_Occurred()) SWIG_fail;
20845 }
20846 Py_INCREF(Py_None); resultobj = Py_None;
20847 return resultobj;
20848 fail:
20849 return NULL;
20850 }
20851
20852
20853 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
20854 PyObject *resultobj;
20855 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20856 PyObject * obj0 = 0 ;
20857 char *kwnames[] = {
20858 (char *) "self", NULL
20859 };
20860
20861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
20862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
20863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20864 {
20865 PyThreadState* __tstate = wxPyBeginAllowThreads();
20866 (arg1)->OnPrevious();
20867
20868 wxPyEndAllowThreads(__tstate);
20869 if (PyErr_Occurred()) SWIG_fail;
20870 }
20871 Py_INCREF(Py_None); resultobj = Py_None;
20872 return resultobj;
20873 fail:
20874 return NULL;
20875 }
20876
20877
20878 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
20879 PyObject *resultobj;
20880 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20881 PyObject * obj0 = 0 ;
20882 char *kwnames[] = {
20883 (char *) "self", NULL
20884 };
20885
20886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
20887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
20888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20889 {
20890 PyThreadState* __tstate = wxPyBeginAllowThreads();
20891 (arg1)->OnFirst();
20892
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 Py_INCREF(Py_None); resultobj = Py_None;
20897 return resultobj;
20898 fail:
20899 return NULL;
20900 }
20901
20902
20903 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
20904 PyObject *resultobj;
20905 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20906 PyObject * obj0 = 0 ;
20907 char *kwnames[] = {
20908 (char *) "self", NULL
20909 };
20910
20911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
20912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
20913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20914 {
20915 PyThreadState* __tstate = wxPyBeginAllowThreads();
20916 (arg1)->OnLast();
20917
20918 wxPyEndAllowThreads(__tstate);
20919 if (PyErr_Occurred()) SWIG_fail;
20920 }
20921 Py_INCREF(Py_None); resultobj = Py_None;
20922 return resultobj;
20923 fail:
20924 return NULL;
20925 }
20926
20927
20928 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
20929 PyObject *resultobj;
20930 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20931 PyObject * obj0 = 0 ;
20932 char *kwnames[] = {
20933 (char *) "self", NULL
20934 };
20935
20936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
20937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
20938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 (arg1)->OnGoto();
20942
20943 wxPyEndAllowThreads(__tstate);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 }
20946 Py_INCREF(Py_None); resultobj = Py_None;
20947 return resultobj;
20948 fail:
20949 return NULL;
20950 }
20951
20952
20953 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
20954 PyObject *obj;
20955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20956 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
20957 Py_INCREF(obj);
20958 return Py_BuildValue((char *)"");
20959 }
20960 static PyObject *_wrap_new_PrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
20961 PyObject *resultobj;
20962 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20963 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20964 wxPrintData *arg3 = (wxPrintData *) NULL ;
20965 wxPrintPreview *result;
20966 PyObject * obj0 = 0 ;
20967 PyObject * obj1 = 0 ;
20968 PyObject * obj2 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20971 };
20972
20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20976 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
20977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20978 if (obj2) {
20979 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
20980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20981 }
20982 {
20983 PyThreadState* __tstate = wxPyBeginAllowThreads();
20984 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
20985
20986 wxPyEndAllowThreads(__tstate);
20987 if (PyErr_Occurred()) SWIG_fail;
20988 }
20989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
20990 return resultobj;
20991 fail:
20992 return NULL;
20993 }
20994
20995
20996 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
20997 PyObject *resultobj;
20998 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20999 int arg2 ;
21000 bool result;
21001 PyObject * obj0 = 0 ;
21002 PyObject * obj1 = 0 ;
21003 char *kwnames[] = {
21004 (char *) "self",(char *) "pageNum", NULL
21005 };
21006
21007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21010 arg2 = (int) SWIG_AsInt(obj1);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 {
21013 PyThreadState* __tstate = wxPyBeginAllowThreads();
21014 result = (bool)(arg1)->SetCurrentPage(arg2);
21015
21016 wxPyEndAllowThreads(__tstate);
21017 if (PyErr_Occurred()) SWIG_fail;
21018 }
21019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21020 return resultobj;
21021 fail:
21022 return NULL;
21023 }
21024
21025
21026 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
21027 PyObject *resultobj;
21028 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21029 int result;
21030 PyObject * obj0 = 0 ;
21031 char *kwnames[] = {
21032 (char *) "self", NULL
21033 };
21034
21035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
21036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 result = (int)(arg1)->GetCurrentPage();
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 resultobj = SWIG_FromInt((int)result);
21046 return resultobj;
21047 fail:
21048 return NULL;
21049 }
21050
21051
21052 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
21053 PyObject *resultobj;
21054 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21055 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21056 PyObject * obj0 = 0 ;
21057 PyObject * obj1 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self",(char *) "printout", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
21063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21067 {
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 (arg1)->SetPrintout(arg2);
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 Py_INCREF(Py_None); resultobj = Py_None;
21075 return resultobj;
21076 fail:
21077 return NULL;
21078 }
21079
21080
21081 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
21082 PyObject *resultobj;
21083 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21084 wxPyPrintout *result;
21085 PyObject * obj0 = 0 ;
21086 char *kwnames[] = {
21087 (char *) "self", NULL
21088 };
21089
21090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
21091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 result = (wxPyPrintout *)(arg1)->GetPrintout();
21096
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 {
21101 resultobj = wxPyMake_wxObject(result);
21102 }
21103 return resultobj;
21104 fail:
21105 return NULL;
21106 }
21107
21108
21109 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
21110 PyObject *resultobj;
21111 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21112 wxPyPrintout *result;
21113 PyObject * obj0 = 0 ;
21114 char *kwnames[] = {
21115 (char *) "self", NULL
21116 };
21117
21118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
21119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
21124
21125 wxPyEndAllowThreads(__tstate);
21126 if (PyErr_Occurred()) SWIG_fail;
21127 }
21128 {
21129 resultobj = wxPyMake_wxObject(result);
21130 }
21131 return resultobj;
21132 fail:
21133 return NULL;
21134 }
21135
21136
21137 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
21138 PyObject *resultobj;
21139 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21140 wxFrame *arg2 = (wxFrame *) 0 ;
21141 PyObject * obj0 = 0 ;
21142 PyObject * obj1 = 0 ;
21143 char *kwnames[] = {
21144 (char *) "self",(char *) "frame", NULL
21145 };
21146
21147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
21148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21150 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21152 {
21153 PyThreadState* __tstate = wxPyBeginAllowThreads();
21154 (arg1)->SetFrame(arg2);
21155
21156 wxPyEndAllowThreads(__tstate);
21157 if (PyErr_Occurred()) SWIG_fail;
21158 }
21159 Py_INCREF(Py_None); resultobj = Py_None;
21160 return resultobj;
21161 fail:
21162 return NULL;
21163 }
21164
21165
21166 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
21167 PyObject *resultobj;
21168 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21169 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21170 PyObject * obj0 = 0 ;
21171 PyObject * obj1 = 0 ;
21172 char *kwnames[] = {
21173 (char *) "self",(char *) "canvas", NULL
21174 };
21175
21176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
21177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21181 {
21182 PyThreadState* __tstate = wxPyBeginAllowThreads();
21183 (arg1)->SetCanvas(arg2);
21184
21185 wxPyEndAllowThreads(__tstate);
21186 if (PyErr_Occurred()) SWIG_fail;
21187 }
21188 Py_INCREF(Py_None); resultobj = Py_None;
21189 return resultobj;
21190 fail:
21191 return NULL;
21192 }
21193
21194
21195 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
21196 PyObject *resultobj;
21197 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21198 wxFrame *result;
21199 PyObject * obj0 = 0 ;
21200 char *kwnames[] = {
21201 (char *) "self", NULL
21202 };
21203
21204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
21205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21207 {
21208 PyThreadState* __tstate = wxPyBeginAllowThreads();
21209 result = (wxFrame *)(arg1)->GetFrame();
21210
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 {
21215 resultobj = wxPyMake_wxObject(result);
21216 }
21217 return resultobj;
21218 fail:
21219 return NULL;
21220 }
21221
21222
21223 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
21224 PyObject *resultobj;
21225 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21226 wxPreviewCanvas *result;
21227 PyObject * obj0 = 0 ;
21228 char *kwnames[] = {
21229 (char *) "self", NULL
21230 };
21231
21232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
21233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
21238
21239 wxPyEndAllowThreads(__tstate);
21240 if (PyErr_Occurred()) SWIG_fail;
21241 }
21242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
21243 return resultobj;
21244 fail:
21245 return NULL;
21246 }
21247
21248
21249 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
21250 PyObject *resultobj;
21251 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21252 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21253 wxDC *arg3 = 0 ;
21254 bool result;
21255 PyObject * obj0 = 0 ;
21256 PyObject * obj1 = 0 ;
21257 PyObject * obj2 = 0 ;
21258 char *kwnames[] = {
21259 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21260 };
21261
21262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21265 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21267 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
21268 SWIG_POINTER_EXCEPTION | 0)) == -1)
21269 SWIG_fail;
21270 if (arg3 == NULL) {
21271 PyErr_SetString(PyExc_TypeError,"null reference");
21272 SWIG_fail;
21273 }
21274 {
21275 PyThreadState* __tstate = wxPyBeginAllowThreads();
21276 result = (bool)(arg1)->PaintPage(arg2,*arg3);
21277
21278 wxPyEndAllowThreads(__tstate);
21279 if (PyErr_Occurred()) SWIG_fail;
21280 }
21281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21282 return resultobj;
21283 fail:
21284 return NULL;
21285 }
21286
21287
21288 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
21289 PyObject *resultobj;
21290 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21291 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21292 wxDC *arg3 = 0 ;
21293 bool result;
21294 PyObject * obj0 = 0 ;
21295 PyObject * obj1 = 0 ;
21296 PyObject * obj2 = 0 ;
21297 char *kwnames[] = {
21298 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21299 };
21300
21301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21306 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
21307 SWIG_POINTER_EXCEPTION | 0)) == -1)
21308 SWIG_fail;
21309 if (arg3 == NULL) {
21310 PyErr_SetString(PyExc_TypeError,"null reference");
21311 SWIG_fail;
21312 }
21313 {
21314 PyThreadState* __tstate = wxPyBeginAllowThreads();
21315 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
21316
21317 wxPyEndAllowThreads(__tstate);
21318 if (PyErr_Occurred()) SWIG_fail;
21319 }
21320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21321 return resultobj;
21322 fail:
21323 return NULL;
21324 }
21325
21326
21327 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
21328 PyObject *resultobj;
21329 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21330 int arg2 ;
21331 bool result;
21332 PyObject * obj0 = 0 ;
21333 PyObject * obj1 = 0 ;
21334 char *kwnames[] = {
21335 (char *) "self",(char *) "pageNum", NULL
21336 };
21337
21338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
21339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21341 arg2 = (int) SWIG_AsInt(obj1);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 {
21344 PyThreadState* __tstate = wxPyBeginAllowThreads();
21345 result = (bool)(arg1)->RenderPage(arg2);
21346
21347 wxPyEndAllowThreads(__tstate);
21348 if (PyErr_Occurred()) SWIG_fail;
21349 }
21350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21351 return resultobj;
21352 fail:
21353 return NULL;
21354 }
21355
21356
21357 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
21358 PyObject *resultobj;
21359 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21360 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21361 PyObject * obj0 = 0 ;
21362 PyObject * obj1 = 0 ;
21363 char *kwnames[] = {
21364 (char *) "self",(char *) "canvas", NULL
21365 };
21366
21367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
21368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21370 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21372 {
21373 PyThreadState* __tstate = wxPyBeginAllowThreads();
21374 (arg1)->AdjustScrollbars(arg2);
21375
21376 wxPyEndAllowThreads(__tstate);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 }
21379 Py_INCREF(Py_None); resultobj = Py_None;
21380 return resultobj;
21381 fail:
21382 return NULL;
21383 }
21384
21385
21386 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21387 PyObject *resultobj;
21388 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21389 wxPrintDialogData *result;
21390 PyObject * obj0 = 0 ;
21391 char *kwnames[] = {
21392 (char *) "self", NULL
21393 };
21394
21395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
21396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21398 {
21399 PyThreadState* __tstate = wxPyBeginAllowThreads();
21400 {
21401 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21402 result = (wxPrintDialogData *) &_result_ref;
21403 }
21404
21405 wxPyEndAllowThreads(__tstate);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21409 return resultobj;
21410 fail:
21411 return NULL;
21412 }
21413
21414
21415 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
21416 PyObject *resultobj;
21417 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21418 int arg2 ;
21419 PyObject * obj0 = 0 ;
21420 PyObject * obj1 = 0 ;
21421 char *kwnames[] = {
21422 (char *) "self",(char *) "percent", NULL
21423 };
21424
21425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
21426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21428 arg2 = (int) SWIG_AsInt(obj1);
21429 if (PyErr_Occurred()) SWIG_fail;
21430 {
21431 PyThreadState* __tstate = wxPyBeginAllowThreads();
21432 (arg1)->SetZoom(arg2);
21433
21434 wxPyEndAllowThreads(__tstate);
21435 if (PyErr_Occurred()) SWIG_fail;
21436 }
21437 Py_INCREF(Py_None); resultobj = Py_None;
21438 return resultobj;
21439 fail:
21440 return NULL;
21441 }
21442
21443
21444 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
21445 PyObject *resultobj;
21446 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21447 int result;
21448 PyObject * obj0 = 0 ;
21449 char *kwnames[] = {
21450 (char *) "self", NULL
21451 };
21452
21453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
21454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21456 {
21457 PyThreadState* __tstate = wxPyBeginAllowThreads();
21458 result = (int)(arg1)->GetZoom();
21459
21460 wxPyEndAllowThreads(__tstate);
21461 if (PyErr_Occurred()) SWIG_fail;
21462 }
21463 resultobj = SWIG_FromInt((int)result);
21464 return resultobj;
21465 fail:
21466 return NULL;
21467 }
21468
21469
21470 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21471 PyObject *resultobj;
21472 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21473 int result;
21474 PyObject * obj0 = 0 ;
21475 char *kwnames[] = {
21476 (char *) "self", NULL
21477 };
21478
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
21480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 result = (int)(arg1)->GetMaxPage();
21485
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 resultobj = SWIG_FromInt((int)result);
21490 return resultobj;
21491 fail:
21492 return NULL;
21493 }
21494
21495
21496 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21497 PyObject *resultobj;
21498 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21499 int result;
21500 PyObject * obj0 = 0 ;
21501 char *kwnames[] = {
21502 (char *) "self", NULL
21503 };
21504
21505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
21506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21508 {
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 result = (int)(arg1)->GetMinPage();
21511
21512 wxPyEndAllowThreads(__tstate);
21513 if (PyErr_Occurred()) SWIG_fail;
21514 }
21515 resultobj = SWIG_FromInt((int)result);
21516 return resultobj;
21517 fail:
21518 return NULL;
21519 }
21520
21521
21522 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21523 PyObject *resultobj;
21524 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21525 bool result;
21526 PyObject * obj0 = 0 ;
21527 char *kwnames[] = {
21528 (char *) "self", NULL
21529 };
21530
21531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
21532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21534 {
21535 PyThreadState* __tstate = wxPyBeginAllowThreads();
21536 result = (bool)(arg1)->Ok();
21537
21538 wxPyEndAllowThreads(__tstate);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21542 return resultobj;
21543 fail:
21544 return NULL;
21545 }
21546
21547
21548 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
21549 PyObject *resultobj;
21550 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21551 bool arg2 ;
21552 PyObject * obj0 = 0 ;
21553 PyObject * obj1 = 0 ;
21554 char *kwnames[] = {
21555 (char *) "self",(char *) "ok", NULL
21556 };
21557
21558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
21559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21561 arg2 = (bool) SWIG_AsBool(obj1);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 {
21564 PyThreadState* __tstate = wxPyBeginAllowThreads();
21565 (arg1)->SetOk(arg2);
21566
21567 wxPyEndAllowThreads(__tstate);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 Py_INCREF(Py_None); resultobj = Py_None;
21571 return resultobj;
21572 fail:
21573 return NULL;
21574 }
21575
21576
21577 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
21578 PyObject *resultobj;
21579 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21580 bool arg2 ;
21581 bool result;
21582 PyObject * obj0 = 0 ;
21583 PyObject * obj1 = 0 ;
21584 char *kwnames[] = {
21585 (char *) "self",(char *) "interactive", NULL
21586 };
21587
21588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
21589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21591 arg2 = (bool) SWIG_AsBool(obj1);
21592 if (PyErr_Occurred()) SWIG_fail;
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 result = (bool)(arg1)->Print(arg2);
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21601 return resultobj;
21602 fail:
21603 return NULL;
21604 }
21605
21606
21607 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
21608 PyObject *resultobj;
21609 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21610 PyObject * obj0 = 0 ;
21611 char *kwnames[] = {
21612 (char *) "self", NULL
21613 };
21614
21615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
21616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21618 {
21619 PyThreadState* __tstate = wxPyBeginAllowThreads();
21620 (arg1)->DetermineScaling();
21621
21622 wxPyEndAllowThreads(__tstate);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 Py_INCREF(Py_None); resultobj = Py_None;
21626 return resultobj;
21627 fail:
21628 return NULL;
21629 }
21630
21631
21632 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
21633 PyObject *obj;
21634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21635 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
21636 Py_INCREF(obj);
21637 return Py_BuildValue((char *)"");
21638 }
21639 static PyObject *_wrap_new_PyPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
21640 PyObject *resultobj;
21641 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21642 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21643 wxPrintData *arg3 = (wxPrintData *) NULL ;
21644 wxPyPrintPreview *result;
21645 PyObject * obj0 = 0 ;
21646 PyObject * obj1 = 0 ;
21647 PyObject * obj2 = 0 ;
21648 char *kwnames[] = {
21649 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21650 };
21651
21652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
21653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21657 if (obj2) {
21658 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
21659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21660 }
21661 {
21662 PyThreadState* __tstate = wxPyBeginAllowThreads();
21663 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
21664
21665 wxPyEndAllowThreads(__tstate);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 }
21668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
21669 return resultobj;
21670 fail:
21671 return NULL;
21672 }
21673
21674
21675 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj;
21677 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21678 PyObject *arg2 = (PyObject *) 0 ;
21679 PyObject *arg3 = (PyObject *) 0 ;
21680 PyObject * obj0 = 0 ;
21681 PyObject * obj1 = 0 ;
21682 PyObject * obj2 = 0 ;
21683 char *kwnames[] = {
21684 (char *) "self",(char *) "self",(char *) "_class", NULL
21685 };
21686
21687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
21689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21690 arg2 = obj1;
21691 arg3 = obj2;
21692 {
21693 PyThreadState* __tstate = wxPyBeginAllowThreads();
21694 (arg1)->_setCallbackInfo(arg2,arg3);
21695
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 Py_INCREF(Py_None); resultobj = Py_None;
21700 return resultobj;
21701 fail:
21702 return NULL;
21703 }
21704
21705
21706 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
21707 PyObject *resultobj;
21708 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21709 int arg2 ;
21710 bool result;
21711 PyObject * obj0 = 0 ;
21712 PyObject * obj1 = 0 ;
21713 char *kwnames[] = {
21714 (char *) "self",(char *) "pageNum", NULL
21715 };
21716
21717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
21719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21720 arg2 = (int) SWIG_AsInt(obj1);
21721 if (PyErr_Occurred()) SWIG_fail;
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 result = (bool)(arg1)->base_SetCurrentPage(arg2);
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
21729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21730 return resultobj;
21731 fail:
21732 return NULL;
21733 }
21734
21735
21736 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
21737 PyObject *resultobj;
21738 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21739 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21740 wxDC *arg3 = 0 ;
21741 bool result;
21742 PyObject * obj0 = 0 ;
21743 PyObject * obj1 = 0 ;
21744 PyObject * obj2 = 0 ;
21745 char *kwnames[] = {
21746 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21747 };
21748
21749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
21751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21754 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
21755 SWIG_POINTER_EXCEPTION | 0)) == -1)
21756 SWIG_fail;
21757 if (arg3 == NULL) {
21758 PyErr_SetString(PyExc_TypeError,"null reference");
21759 SWIG_fail;
21760 }
21761 {
21762 PyThreadState* __tstate = wxPyBeginAllowThreads();
21763 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
21764
21765 wxPyEndAllowThreads(__tstate);
21766 if (PyErr_Occurred()) SWIG_fail;
21767 }
21768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21769 return resultobj;
21770 fail:
21771 return NULL;
21772 }
21773
21774
21775 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
21776 PyObject *resultobj;
21777 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21778 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21779 wxDC *arg3 = 0 ;
21780 bool result;
21781 PyObject * obj0 = 0 ;
21782 PyObject * obj1 = 0 ;
21783 PyObject * obj2 = 0 ;
21784 char *kwnames[] = {
21785 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21786 };
21787
21788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
21790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21793 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
21794 SWIG_POINTER_EXCEPTION | 0)) == -1)
21795 SWIG_fail;
21796 if (arg3 == NULL) {
21797 PyErr_SetString(PyExc_TypeError,"null reference");
21798 SWIG_fail;
21799 }
21800 {
21801 PyThreadState* __tstate = wxPyBeginAllowThreads();
21802 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
21803
21804 wxPyEndAllowThreads(__tstate);
21805 if (PyErr_Occurred()) SWIG_fail;
21806 }
21807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21808 return resultobj;
21809 fail:
21810 return NULL;
21811 }
21812
21813
21814 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
21815 PyObject *resultobj;
21816 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21817 int arg2 ;
21818 bool result;
21819 PyObject * obj0 = 0 ;
21820 PyObject * obj1 = 0 ;
21821 char *kwnames[] = {
21822 (char *) "self",(char *) "pageNum", NULL
21823 };
21824
21825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
21826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
21827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21828 arg2 = (int) SWIG_AsInt(obj1);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 result = (bool)(arg1)->base_RenderPage(arg2);
21833
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21838 return resultobj;
21839 fail:
21840 return NULL;
21841 }
21842
21843
21844 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
21845 PyObject *resultobj;
21846 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21847 int arg2 ;
21848 PyObject * obj0 = 0 ;
21849 PyObject * obj1 = 0 ;
21850 char *kwnames[] = {
21851 (char *) "self",(char *) "percent", NULL
21852 };
21853
21854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
21855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
21856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21857 arg2 = (int) SWIG_AsInt(obj1);
21858 if (PyErr_Occurred()) SWIG_fail;
21859 {
21860 PyThreadState* __tstate = wxPyBeginAllowThreads();
21861 (arg1)->base_SetZoom(arg2);
21862
21863 wxPyEndAllowThreads(__tstate);
21864 if (PyErr_Occurred()) SWIG_fail;
21865 }
21866 Py_INCREF(Py_None); resultobj = Py_None;
21867 return resultobj;
21868 fail:
21869 return NULL;
21870 }
21871
21872
21873 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
21874 PyObject *resultobj;
21875 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21876 bool arg2 ;
21877 bool result;
21878 PyObject * obj0 = 0 ;
21879 PyObject * obj1 = 0 ;
21880 char *kwnames[] = {
21881 (char *) "self",(char *) "interactive", NULL
21882 };
21883
21884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
21885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
21886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21887 arg2 = (bool) SWIG_AsBool(obj1);
21888 if (PyErr_Occurred()) SWIG_fail;
21889 {
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 result = (bool)(arg1)->base_Print(arg2);
21892
21893 wxPyEndAllowThreads(__tstate);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21897 return resultobj;
21898 fail:
21899 return NULL;
21900 }
21901
21902
21903 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
21904 PyObject *resultobj;
21905 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21906 PyObject * obj0 = 0 ;
21907 char *kwnames[] = {
21908 (char *) "self", NULL
21909 };
21910
21911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
21912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
21913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21914 {
21915 PyThreadState* __tstate = wxPyBeginAllowThreads();
21916 (arg1)->base_DetermineScaling();
21917
21918 wxPyEndAllowThreads(__tstate);
21919 if (PyErr_Occurred()) SWIG_fail;
21920 }
21921 Py_INCREF(Py_None); resultobj = Py_None;
21922 return resultobj;
21923 fail:
21924 return NULL;
21925 }
21926
21927
21928 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
21929 PyObject *obj;
21930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21931 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
21932 Py_INCREF(obj);
21933 return Py_BuildValue((char *)"");
21934 }
21935 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
21936 PyObject *resultobj;
21937 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21938 wxFrame *arg2 = (wxFrame *) 0 ;
21939 wxString *arg3 = 0 ;
21940 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21941 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21942 wxSize const &arg5_defvalue = wxDefaultSize ;
21943 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21944 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21945 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21946 wxString *arg7 = (wxString *) &arg7_defvalue ;
21947 wxPyPreviewFrame *result;
21948 bool temp3 = False ;
21949 wxPoint temp4 ;
21950 wxSize temp5 ;
21951 bool temp7 = False ;
21952 PyObject * obj0 = 0 ;
21953 PyObject * obj1 = 0 ;
21954 PyObject * obj2 = 0 ;
21955 PyObject * obj3 = 0 ;
21956 PyObject * obj4 = 0 ;
21957 PyObject * obj5 = 0 ;
21958 PyObject * obj6 = 0 ;
21959 char *kwnames[] = {
21960 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21961 };
21962
21963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21968 {
21969 arg3 = wxString_in_helper(obj2);
21970 if (arg3 == NULL) SWIG_fail;
21971 temp3 = True;
21972 }
21973 if (obj3) {
21974 {
21975 arg4 = &temp4;
21976 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21977 }
21978 }
21979 if (obj4) {
21980 {
21981 arg5 = &temp5;
21982 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21983 }
21984 }
21985 if (obj5) {
21986 arg6 = (long) SWIG_AsLong(obj5);
21987 if (PyErr_Occurred()) SWIG_fail;
21988 }
21989 if (obj6) {
21990 {
21991 arg7 = wxString_in_helper(obj6);
21992 if (arg7 == NULL) SWIG_fail;
21993 temp7 = True;
21994 }
21995 }
21996 {
21997 PyThreadState* __tstate = wxPyBeginAllowThreads();
21998 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21999
22000 wxPyEndAllowThreads(__tstate);
22001 if (PyErr_Occurred()) SWIG_fail;
22002 }
22003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
22004 {
22005 if (temp3)
22006 delete arg3;
22007 }
22008 {
22009 if (temp7)
22010 delete arg7;
22011 }
22012 return resultobj;
22013 fail:
22014 {
22015 if (temp3)
22016 delete arg3;
22017 }
22018 {
22019 if (temp7)
22020 delete arg7;
22021 }
22022 return NULL;
22023 }
22024
22025
22026 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22027 PyObject *resultobj;
22028 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22029 PyObject *arg2 = (PyObject *) 0 ;
22030 PyObject *arg3 = (PyObject *) 0 ;
22031 PyObject * obj0 = 0 ;
22032 PyObject * obj1 = 0 ;
22033 PyObject * obj2 = 0 ;
22034 char *kwnames[] = {
22035 (char *) "self",(char *) "self",(char *) "_class", NULL
22036 };
22037
22038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22041 arg2 = obj1;
22042 arg3 = obj2;
22043 {
22044 PyThreadState* __tstate = wxPyBeginAllowThreads();
22045 (arg1)->_setCallbackInfo(arg2,arg3);
22046
22047 wxPyEndAllowThreads(__tstate);
22048 if (PyErr_Occurred()) SWIG_fail;
22049 }
22050 Py_INCREF(Py_None); resultobj = Py_None;
22051 return resultobj;
22052 fail:
22053 return NULL;
22054 }
22055
22056
22057 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22058 PyObject *resultobj;
22059 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22060 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22061 PyObject * obj0 = 0 ;
22062 PyObject * obj1 = 0 ;
22063 char *kwnames[] = {
22064 (char *) "self",(char *) "canvas", NULL
22065 };
22066
22067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
22068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22070 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22072 {
22073 PyThreadState* __tstate = wxPyBeginAllowThreads();
22074 (arg1)->SetPreviewCanvas(arg2);
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 Py_INCREF(Py_None); resultobj = Py_None;
22080 return resultobj;
22081 fail:
22082 return NULL;
22083 }
22084
22085
22086 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22087 PyObject *resultobj;
22088 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22089 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
22090 PyObject * obj0 = 0 ;
22091 PyObject * obj1 = 0 ;
22092 char *kwnames[] = {
22093 (char *) "self",(char *) "bar", NULL
22094 };
22095
22096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
22097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
22100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22101 {
22102 PyThreadState* __tstate = wxPyBeginAllowThreads();
22103 (arg1)->SetControlBar(arg2);
22104
22105 wxPyEndAllowThreads(__tstate);
22106 if (PyErr_Occurred()) SWIG_fail;
22107 }
22108 Py_INCREF(Py_None); resultobj = Py_None;
22109 return resultobj;
22110 fail:
22111 return NULL;
22112 }
22113
22114
22115 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
22116 PyObject *resultobj;
22117 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22118 PyObject * obj0 = 0 ;
22119 char *kwnames[] = {
22120 (char *) "self", NULL
22121 };
22122
22123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
22124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 (arg1)->base_Initialize();
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 Py_INCREF(Py_None); resultobj = Py_None;
22134 return resultobj;
22135 fail:
22136 return NULL;
22137 }
22138
22139
22140 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj;
22142 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22143 PyObject * obj0 = 0 ;
22144 char *kwnames[] = {
22145 (char *) "self", NULL
22146 };
22147
22148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
22149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22151 {
22152 PyThreadState* __tstate = wxPyBeginAllowThreads();
22153 (arg1)->base_CreateCanvas();
22154
22155 wxPyEndAllowThreads(__tstate);
22156 if (PyErr_Occurred()) SWIG_fail;
22157 }
22158 Py_INCREF(Py_None); resultobj = Py_None;
22159 return resultobj;
22160 fail:
22161 return NULL;
22162 }
22163
22164
22165 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22166 PyObject *resultobj;
22167 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22168 PyObject * obj0 = 0 ;
22169 char *kwnames[] = {
22170 (char *) "self", NULL
22171 };
22172
22173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
22174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22176 {
22177 PyThreadState* __tstate = wxPyBeginAllowThreads();
22178 (arg1)->base_CreateControlBar();
22179
22180 wxPyEndAllowThreads(__tstate);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
22183 Py_INCREF(Py_None); resultobj = Py_None;
22184 return resultobj;
22185 fail:
22186 return NULL;
22187 }
22188
22189
22190 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
22191 PyObject *obj;
22192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22193 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
22194 Py_INCREF(obj);
22195 return Py_BuildValue((char *)"");
22196 }
22197 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22198 PyObject *resultobj;
22199 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22200 long arg2 ;
22201 wxWindow *arg3 = (wxWindow *) 0 ;
22202 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22203 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22204 wxSize const &arg5_defvalue = wxDefaultSize ;
22205 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22206 long arg6 = (long) 0 ;
22207 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22208 wxString *arg7 = (wxString *) &arg7_defvalue ;
22209 wxPyPreviewControlBar *result;
22210 wxPoint temp4 ;
22211 wxSize temp5 ;
22212 bool temp7 = False ;
22213 PyObject * obj0 = 0 ;
22214 PyObject * obj1 = 0 ;
22215 PyObject * obj2 = 0 ;
22216 PyObject * obj3 = 0 ;
22217 PyObject * obj4 = 0 ;
22218 PyObject * obj5 = 0 ;
22219 PyObject * obj6 = 0 ;
22220 char *kwnames[] = {
22221 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22222 };
22223
22224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22227 arg2 = (long) SWIG_AsLong(obj1);
22228 if (PyErr_Occurred()) SWIG_fail;
22229 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22231 if (obj3) {
22232 {
22233 arg4 = &temp4;
22234 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22235 }
22236 }
22237 if (obj4) {
22238 {
22239 arg5 = &temp5;
22240 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22241 }
22242 }
22243 if (obj5) {
22244 arg6 = (long) SWIG_AsLong(obj5);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 if (obj6) {
22248 {
22249 arg7 = wxString_in_helper(obj6);
22250 if (arg7 == NULL) SWIG_fail;
22251 temp7 = True;
22252 }
22253 }
22254 {
22255 PyThreadState* __tstate = wxPyBeginAllowThreads();
22256 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22257
22258 wxPyEndAllowThreads(__tstate);
22259 if (PyErr_Occurred()) SWIG_fail;
22260 }
22261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
22262 {
22263 if (temp7)
22264 delete arg7;
22265 }
22266 return resultobj;
22267 fail:
22268 {
22269 if (temp7)
22270 delete arg7;
22271 }
22272 return NULL;
22273 }
22274
22275
22276 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22277 PyObject *resultobj;
22278 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22279 PyObject *arg2 = (PyObject *) 0 ;
22280 PyObject *arg3 = (PyObject *) 0 ;
22281 PyObject * obj0 = 0 ;
22282 PyObject * obj1 = 0 ;
22283 PyObject * obj2 = 0 ;
22284 char *kwnames[] = {
22285 (char *) "self",(char *) "self",(char *) "_class", NULL
22286 };
22287
22288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22291 arg2 = obj1;
22292 arg3 = obj2;
22293 {
22294 PyThreadState* __tstate = wxPyBeginAllowThreads();
22295 (arg1)->_setCallbackInfo(arg2,arg3);
22296
22297 wxPyEndAllowThreads(__tstate);
22298 if (PyErr_Occurred()) SWIG_fail;
22299 }
22300 Py_INCREF(Py_None); resultobj = Py_None;
22301 return resultobj;
22302 fail:
22303 return NULL;
22304 }
22305
22306
22307 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22308 PyObject *resultobj;
22309 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22310 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
22311 PyObject * obj0 = 0 ;
22312 PyObject * obj1 = 0 ;
22313 char *kwnames[] = {
22314 (char *) "self",(char *) "preview", NULL
22315 };
22316
22317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
22318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
22321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22322 {
22323 PyThreadState* __tstate = wxPyBeginAllowThreads();
22324 (arg1)->SetPrintPreview(arg2);
22325
22326 wxPyEndAllowThreads(__tstate);
22327 if (PyErr_Occurred()) SWIG_fail;
22328 }
22329 Py_INCREF(Py_None); resultobj = Py_None;
22330 return resultobj;
22331 fail:
22332 return NULL;
22333 }
22334
22335
22336 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
22337 PyObject *resultobj;
22338 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22339 PyObject * obj0 = 0 ;
22340 char *kwnames[] = {
22341 (char *) "self", NULL
22342 };
22343
22344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
22345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22347 {
22348 PyThreadState* __tstate = wxPyBeginAllowThreads();
22349 (arg1)->base_CreateButtons();
22350
22351 wxPyEndAllowThreads(__tstate);
22352 if (PyErr_Occurred()) SWIG_fail;
22353 }
22354 Py_INCREF(Py_None); resultobj = Py_None;
22355 return resultobj;
22356 fail:
22357 return NULL;
22358 }
22359
22360
22361 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
22362 PyObject *resultobj;
22363 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22364 int arg2 ;
22365 PyObject * obj0 = 0 ;
22366 PyObject * obj1 = 0 ;
22367 char *kwnames[] = {
22368 (char *) "self",(char *) "zoom", NULL
22369 };
22370
22371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22374 arg2 = (int) SWIG_AsInt(obj1);
22375 if (PyErr_Occurred()) SWIG_fail;
22376 {
22377 PyThreadState* __tstate = wxPyBeginAllowThreads();
22378 (arg1)->base_SetZoomControl(arg2);
22379
22380 wxPyEndAllowThreads(__tstate);
22381 if (PyErr_Occurred()) SWIG_fail;
22382 }
22383 Py_INCREF(Py_None); resultobj = Py_None;
22384 return resultobj;
22385 fail:
22386 return NULL;
22387 }
22388
22389
22390 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
22391 PyObject *obj;
22392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22393 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
22394 Py_INCREF(obj);
22395 return Py_BuildValue((char *)"");
22396 }
22397 static PyMethodDef SwigMethods[] = {
22398 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
22399 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
22400 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22401 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22402 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
22403 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22404 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22405 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22406 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
22407 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
22408 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
22409 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
22410 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
22411 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
22412 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
22413 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
22414 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
22415 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
22416 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
22417 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
22418 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
22419 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
22420 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
22421 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22422 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22423 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
22424 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
22425 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
22426 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
22427 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
22428 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
22429 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
22430 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
22431 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
22432 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
22433 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
22434 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
22435 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
22436 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
22437 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
22438 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
22439 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
22440 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
22441 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
22442 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22443 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
22444 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
22445 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
22446 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
22447 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
22448 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
22449 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
22450 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
22451 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
22452 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
22453 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
22454 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
22455 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
22456 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
22457 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
22458 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
22459 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
22460 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
22461 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
22462 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
22463 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
22464 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22465 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22466 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
22467 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
22468 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
22469 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
22470 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
22471 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
22472 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
22473 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS, NULL },
22474 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
22475 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
22476 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
22477 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22478 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
22479 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22480 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
22481 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
22482 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
22483 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
22484 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
22485 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22486 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
22487 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
22488 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
22489 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
22490 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22491 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
22492 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
22493 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
22494 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
22495 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
22496 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
22497 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
22498 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
22499 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
22500 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
22501 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
22502 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
22503 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22504 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22505 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22506 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
22507 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
22508 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
22509 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
22510 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
22511 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
22512 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
22513 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
22514 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22515 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
22516 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
22517 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
22518 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
22519 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
22520 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
22521 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
22522 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
22523 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
22524 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
22525 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
22526 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
22527 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
22528 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
22529 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
22530 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
22531 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
22532 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
22533 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
22534 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
22535 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
22536 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22537 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22538 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22539 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
22540 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
22541 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
22542 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
22543 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
22544 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
22545 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
22546 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
22547 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
22548 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
22549 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
22550 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
22551 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
22552 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
22553 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
22554 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
22555 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
22556 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
22557 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
22558 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
22559 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
22560 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
22561 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
22562 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
22563 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
22564 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
22565 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
22566 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
22567 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
22568 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
22569 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
22570 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
22571 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
22572 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
22573 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
22574 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
22575 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
22576 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
22577 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
22578 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
22579 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
22580 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
22581 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
22582 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
22583 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
22584 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
22585 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22586 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22587 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22588 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
22589 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
22590 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
22591 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
22592 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
22593 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
22594 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
22595 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
22596 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
22597 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
22598 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22599 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
22600 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22601 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22602 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
22603 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22604 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22605 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
22606 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22607 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
22608 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
22609 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
22610 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22611 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22612 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
22613 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22614 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
22615 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
22616 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
22617 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
22618 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
22619 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
22620 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS, NULL },
22621 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
22622 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
22623 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
22624 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
22625 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
22626 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
22627 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
22628 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
22629 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
22630 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
22631 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22632 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
22633 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
22634 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
22635 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
22636 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
22637 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
22638 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
22639 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
22640 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
22641 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
22642 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
22643 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
22644 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
22645 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
22646 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
22647 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
22648 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
22649 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
22650 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
22651 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
22652 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
22653 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
22654 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
22655 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
22656 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
22657 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22658 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
22659 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
22660 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
22661 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
22662 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
22663 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
22664 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
22665 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
22666 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
22667 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
22668 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
22669 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
22670 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
22671 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
22672 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
22673 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
22674 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
22675 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22676 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
22677 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
22678 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22679 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
22680 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
22681 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
22682 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
22683 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
22684 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
22685 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22686 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
22687 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
22688 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
22689 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
22690 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
22691 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
22692 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
22693 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
22694 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
22695 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
22696 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
22697 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
22698 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
22699 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
22700 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
22701 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
22702 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
22703 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22704 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
22705 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
22706 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
22707 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22708 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
22709 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
22710 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
22711 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
22712 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22713 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
22714 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
22715 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
22716 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
22717 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
22718 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
22719 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
22720 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
22721 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
22722 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
22723 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
22724 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
22725 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
22726 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
22727 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
22728 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
22729 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
22730 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
22731 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
22732 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22733 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
22734 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
22735 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22736 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
22737 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22738 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
22739 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
22740 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
22741 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
22742 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
22743 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
22744 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
22745 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22746 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
22747 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
22748 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
22749 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
22750 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
22751 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
22752 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
22753 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
22754 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
22755 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
22756 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
22757 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
22758 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
22759 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22760 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22761 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22762 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
22763 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
22764 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
22765 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
22766 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
22767 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22768 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
22769 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
22770 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
22771 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
22772 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
22773 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22774 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
22775 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
22776 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
22777 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
22778 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
22779 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22780 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
22781 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
22782 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
22783 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
22784 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22785 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22786 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22787 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
22788 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22789 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
22790 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22791 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
22792 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
22793 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
22794 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
22795 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
22796 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
22797 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
22798 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
22799 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22800 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22801 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22802 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
22803 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
22804 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
22805 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
22806 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
22807 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
22808 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
22809 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
22810 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
22811 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22812 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
22813 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
22814 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
22815 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
22816 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
22817 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
22818 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
22819 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
22820 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22821 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22822 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22823 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
22824 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
22825 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
22826 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
22827 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
22828 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
22829 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
22830 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
22831 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
22832 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
22833 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
22834 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
22835 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
22836 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
22837 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
22838 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
22839 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
22840 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
22841 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
22842 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
22843 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
22844 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
22845 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
22846 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
22847 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
22848 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
22849 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
22850 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
22851 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
22852 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
22853 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
22854 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
22855 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
22856 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
22857 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
22858 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
22859 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
22860 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
22861 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
22862 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
22863 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
22864 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
22865 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
22866 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
22867 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
22868 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
22869 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
22870 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
22871 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
22872 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
22873 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
22874 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
22875 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
22876 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
22877 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
22878 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
22879 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
22880 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
22881 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
22882 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
22883 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
22884 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
22885 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
22886 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
22887 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
22888 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
22889 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
22890 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
22891 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
22892 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
22893 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
22894 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
22895 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
22896 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
22897 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
22898 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
22899 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
22900 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
22901 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
22902 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
22903 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
22904 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
22905 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
22906 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
22907 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
22908 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22909 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
22910 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
22911 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
22912 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
22913 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
22914 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
22915 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
22916 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
22917 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
22918 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
22919 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
22920 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
22921 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
22922 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
22923 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22924 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
22925 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
22926 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
22927 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
22928 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
22929 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
22930 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
22931 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
22932 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
22933 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22934 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
22935 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
22936 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
22937 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
22938 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
22939 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
22940 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
22941 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
22942 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
22943 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
22944 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
22945 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
22946 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22947 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
22948 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
22949 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
22950 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
22951 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
22952 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
22953 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22954 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
22955 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
22956 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22957 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
22958 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
22959 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
22960 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
22961 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
22962 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
22963 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
22964 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
22965 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
22966 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
22967 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
22968 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
22969 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
22970 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
22971 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
22972 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
22973 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
22974 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
22975 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
22976 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
22977 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
22978 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
22979 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
22980 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
22981 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
22982 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
22983 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
22984 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
22985 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
22986 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
22987 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
22988 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
22989 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
22990 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
22991 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
22992 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
22993 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
22994 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
22995 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
22996 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
22997 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
22998 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
22999 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
23000 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
23001 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
23002 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
23003 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
23004 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
23005 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
23006 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
23007 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
23008 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
23009 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
23010 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
23011 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
23012 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
23013 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
23014 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
23015 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
23016 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
23017 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
23018 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
23019 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
23020 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
23021 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
23022 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
23023 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
23024 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
23025 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
23026 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
23027 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
23028 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23029 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
23030 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
23031 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
23032 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
23033 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
23034 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
23035 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
23036 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
23037 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
23038 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23039 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
23040 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
23041 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
23042 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
23043 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
23044 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
23045 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
23046 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23047 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
23048 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
23049 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
23050 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
23051 { NULL, NULL, 0, NULL }
23052 };
23053
23054
23055 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23056
23057 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
23058 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23059 }
23060 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
23061 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
23062 }
23063 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
23064 return (void *)((wxEvent *) ((wxMenuEvent *) x));
23065 }
23066 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
23067 return (void *)((wxEvent *) ((wxCloseEvent *) x));
23068 }
23069 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
23070 return (void *)((wxEvent *) ((wxMouseEvent *) x));
23071 }
23072 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
23073 return (void *)((wxEvent *) ((wxEraseEvent *) x));
23074 }
23075 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
23076 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
23077 }
23078 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
23079 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23080 }
23081 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
23082 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
23083 }
23084 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
23085 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
23086 }
23087 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
23088 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
23089 }
23090 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
23091 return (void *)((wxEvent *) ((wxPyEvent *) x));
23092 }
23093 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
23094 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
23095 }
23096 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
23097 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
23098 }
23099 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
23100 return (void *)((wxEvent *) ((wxIdleEvent *) x));
23101 }
23102 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
23103 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
23104 }
23105 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
23106 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
23107 }
23108 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
23109 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
23110 }
23111 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
23112 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
23113 }
23114 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
23115 return (void *)((wxEvent *) ((wxActivateEvent *) x));
23116 }
23117 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
23118 return (void *)((wxEvent *) ((wxSizeEvent *) x));
23119 }
23120 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
23121 return (void *)((wxEvent *) ((wxMoveEvent *) x));
23122 }
23123 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
23124 return (void *)((wxEvent *) ((wxPaintEvent *) x));
23125 }
23126 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
23127 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
23128 }
23129 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
23130 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
23131 }
23132 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
23133 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
23134 }
23135 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
23136 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
23137 }
23138 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
23139 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23140 }
23141 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
23142 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
23143 }
23144 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
23145 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
23146 }
23147 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
23148 return (void *)((wxEvent *) ((wxFocusEvent *) x));
23149 }
23150 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
23151 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
23152 }
23153 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
23154 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
23155 }
23156 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
23157 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23158 }
23159 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
23160 return (void *)((wxEvent *) ((wxShowEvent *) x));
23161 }
23162 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
23163 return (void *)((wxEvent *) ((wxCommandEvent *) x));
23164 }
23165 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
23166 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
23167 }
23168 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
23169 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23170 }
23171 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
23172 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
23173 }
23174 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
23175 return (void *)((wxEvent *) ((wxKeyEvent *) x));
23176 }
23177 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
23178 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
23179 }
23180 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
23181 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
23182 }
23183 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
23184 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
23185 }
23186 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
23187 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23188 }
23189 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
23190 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23191 }
23192 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
23193 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23194 }
23195 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
23196 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
23197 }
23198 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
23199 return (void *)((wxEvtHandler *) ((wxValidator *) x));
23200 }
23201 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
23202 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
23203 }
23204 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
23205 return (void *)((wxEvtHandler *) ((wxMenu *) x));
23206 }
23207 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
23208 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23209 }
23210 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
23211 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23212 }
23213 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
23214 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23215 }
23216 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
23217 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23218 }
23219 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
23220 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23221 }
23222 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
23223 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23224 }
23225 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
23226 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23227 }
23228 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
23229 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
23230 }
23231 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
23232 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
23233 }
23234 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
23235 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23236 }
23237 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
23238 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
23239 }
23240 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
23241 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23242 }
23243 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
23244 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
23245 }
23246 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
23247 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23248 }
23249 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
23250 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
23251 }
23252 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
23253 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
23254 }
23255 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
23256 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
23257 }
23258 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
23259 return (void *)((wxEvtHandler *) ((wxWindow *) x));
23260 }
23261 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
23262 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23263 }
23264 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
23265 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
23266 }
23267 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
23268 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
23269 }
23270 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
23271 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
23272 }
23273 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
23274 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23275 }
23276 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
23277 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23278 }
23279 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
23280 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23281 }
23282 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
23283 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
23284 }
23285 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
23286 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23287 }
23288 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
23289 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
23290 }
23291 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
23292 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23293 }
23294 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
23295 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23296 }
23297 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
23298 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23299 }
23300 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
23301 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23302 }
23303 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
23304 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23305 }
23306 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
23307 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
23308 }
23309 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
23310 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23311 }
23312 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
23313 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23314 }
23315 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
23316 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23317 }
23318 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
23319 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23320 }
23321 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
23322 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23323 }
23324 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
23325 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23326 }
23327 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
23328 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23329 }
23330 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
23331 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23332 }
23333 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
23334 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
23335 }
23336 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
23337 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
23338 }
23339 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
23340 return (void *)((wxFrame *) ((wxProgressDialog *) x));
23341 }
23342 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
23343 return (void *)((wxFrame *) ((wxTipWindow *) x));
23344 }
23345 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
23346 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
23347 }
23348 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
23349 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23350 }
23351 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
23352 return (void *)((wxFrame *) ((wxMiniFrame *) x));
23353 }
23354 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
23355 return (void *)((wxFrame *) ((wxSplashScreen *) x));
23356 }
23357 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
23358 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
23359 }
23360 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
23361 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
23362 }
23363 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
23364 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23365 }
23366 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
23367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23368 }
23369 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
23370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23371 }
23372 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
23373 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
23374 }
23375 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
23376 return (void *)((wxObject *) ((wxSizerItem *) x));
23377 }
23378 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
23379 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
23380 }
23381 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
23382 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
23383 }
23384 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
23385 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
23386 }
23387 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
23388 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
23389 }
23390 static void *_p_wxSizerTo_p_wxObject(void *x) {
23391 return (void *)((wxObject *) ((wxSizer *) x));
23392 }
23393 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
23394 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
23395 }
23396 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
23397 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
23398 }
23399 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
23400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23401 }
23402 static void *_p_wxEventTo_p_wxObject(void *x) {
23403 return (void *)((wxObject *) ((wxEvent *) x));
23404 }
23405 static void *_p_wxFontDataTo_p_wxObject(void *x) {
23406 return (void *)((wxObject *) ((wxFontData *) x));
23407 }
23408 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
23409 return (void *)((wxObject *) ((wxPrintData *) x));
23410 }
23411 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
23412 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
23413 }
23414 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
23415 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
23416 }
23417 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
23418 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
23419 }
23420 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
23421 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
23422 }
23423 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
23424 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
23425 }
23426 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
23427 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
23428 }
23429 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
23430 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
23431 }
23432 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
23433 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
23434 }
23435 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
23436 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
23437 }
23438 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
23439 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
23440 }
23441 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
23442 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23443 }
23444 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
23445 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
23446 }
23447 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
23448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23449 }
23450 static void *_p_wxControlTo_p_wxObject(void *x) {
23451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
23452 }
23453 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
23454 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
23455 }
23456 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
23457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23458 }
23459 static void *_p_wxFSFileTo_p_wxObject(void *x) {
23460 return (void *)((wxObject *) ((wxFSFile *) x));
23461 }
23462 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
23463 return (void *)((wxObject *) ((wxFindReplaceData *) x));
23464 }
23465 static void *_p_wxPySizerTo_p_wxObject(void *x) {
23466 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
23467 }
23468 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
23469 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23470 }
23471 static void *_p_wxColourDataTo_p_wxObject(void *x) {
23472 return (void *)((wxObject *) ((wxColourData *) x));
23473 }
23474 static void *_p_wxPyEventTo_p_wxObject(void *x) {
23475 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
23476 }
23477 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
23478 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
23479 }
23480 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
23481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
23482 }
23483 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
23484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23485 }
23486 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
23487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23488 }
23489 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
23490 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23491 }
23492 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
23493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23494 }
23495 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
23496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23497 }
23498 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
23499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23500 }
23501 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
23502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23503 }
23504 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
23505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23506 }
23507 static void *_p_wxShowEventTo_p_wxObject(void *x) {
23508 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
23509 }
23510 static void *_p_wxPrinterTo_p_wxObject(void *x) {
23511 return (void *)((wxObject *) ((wxPrinter *) x));
23512 }
23513 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
23514 return (void *)((wxObject *) ((wxMenuItem *) x));
23515 }
23516 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
23517 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
23518 }
23519 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
23520 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
23521 }
23522 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
23523 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
23524 }
23525 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
23526 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
23527 }
23528 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
23529 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
23530 }
23531 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
23532 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
23533 }
23534 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
23535 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
23536 }
23537 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
23538 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
23539 }
23540 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
23541 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
23542 }
23543 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
23544 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
23545 }
23546 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
23547 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
23548 }
23549 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
23550 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
23551 }
23552 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
23553 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
23554 }
23555 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
23556 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
23557 }
23558 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
23559 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
23560 }
23561 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
23562 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
23563 }
23564 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
23565 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
23566 }
23567 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
23568 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
23569 }
23570 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
23571 return (void *)((wxObject *) ((wxImageHandler *) x));
23572 }
23573 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
23574 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
23575 }
23576 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
23577 return (void *)((wxObject *) ((wxEvtHandler *) x));
23578 }
23579 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
23580 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
23581 }
23582 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
23583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23584 }
23585 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
23586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23587 }
23588 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
23589 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
23590 }
23591 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
23592 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23593 }
23594 static void *_p_wxImageTo_p_wxObject(void *x) {
23595 return (void *)((wxObject *) ((wxImage *) x));
23596 }
23597 static void *_p_wxFrameTo_p_wxObject(void *x) {
23598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23599 }
23600 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
23601 return (void *)((wxObject *) ((wxPyPrintout *) x));
23602 }
23603 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
23604 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
23605 }
23606 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
23607 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
23608 }
23609 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
23610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
23611 }
23612 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
23613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23614 }
23615 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
23616 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23617 }
23618 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
23619 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
23620 }
23621 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
23622 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
23623 }
23624 static void *_p_wxWindowTo_p_wxObject(void *x) {
23625 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
23626 }
23627 static void *_p_wxMenuTo_p_wxObject(void *x) {
23628 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
23629 }
23630 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
23631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
23632 }
23633 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
23634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23635 }
23636 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
23637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
23638 }
23639 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
23640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
23641 }
23642 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
23643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
23644 }
23645 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
23646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
23647 }
23648 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
23649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23650 }
23651 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
23652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
23653 }
23654 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
23655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23656 }
23657 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
23658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
23659 }
23660 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
23661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23662 }
23663 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
23664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
23665 }
23666 static void *_p_wxSashEventTo_p_wxObject(void *x) {
23667 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
23668 }
23669 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
23670 return (void *)((wxObject *) ((wxPrintPreview *) x));
23671 }
23672 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
23673 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
23674 }
23675 static void *_p_wxPanelTo_p_wxObject(void *x) {
23676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
23677 }
23678 static void *_p_wxDialogTo_p_wxObject(void *x) {
23679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23680 }
23681 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
23682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23683 }
23684 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
23685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23686 }
23687 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
23688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23689 }
23690 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
23691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23692 }
23693 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
23694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23695 }
23696 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
23697 return (void *)((wxObject *) ((wxFileSystem *) x));
23698 }
23699 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
23700 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
23701 }
23702 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
23703 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
23704 }
23705 static void *_p_wxPyAppTo_p_wxObject(void *x) {
23706 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
23707 }
23708 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
23709 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
23710 }
23711 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
23712 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
23713 }
23714 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
23715 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
23716 }
23717 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
23718 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
23719 }
23720 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
23721 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
23722 }
23723 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
23724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23725 }
23726 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
23727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23728 }
23729 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
23730 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
23731 }
23732 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
23733 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
23734 }
23735 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
23736 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
23737 }
23738 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
23739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23740 }
23741 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
23742 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
23743 }
23744 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
23745 return (void *)((wxObject *) ((wxPrintDialogData *) x));
23746 }
23747 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
23748 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
23749 }
23750 static void *_p_wxValidatorTo_p_wxObject(void *x) {
23751 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
23752 }
23753 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
23754 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23755 }
23756 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
23757 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
23758 }
23759 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
23760 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23761 }
23762 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
23763 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
23764 }
23765 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
23766 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
23767 }
23768 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
23769 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
23770 }
23771 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
23772 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
23773 }
23774 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
23775 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
23776 }
23777 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
23778 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
23779 }
23780 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
23781 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
23782 }
23783 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
23784 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
23785 }
23786 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
23787 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
23788 }
23789 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
23790 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
23791 }
23792 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
23793 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
23794 }
23795 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
23796 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
23797 }
23798 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
23799 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
23800 }
23801 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
23802 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
23803 }
23804 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
23805 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
23806 }
23807 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
23808 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
23809 }
23810 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
23811 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
23812 }
23813 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
23814 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
23815 }
23816 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
23817 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
23818 }
23819 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
23820 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
23821 }
23822 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
23823 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
23824 }
23825 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
23826 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23827 }
23828 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
23829 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23830 }
23831 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
23832 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23833 }
23834 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
23835 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
23836 }
23837 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
23838 return (void *)((wxWindow *) ((wxMenuBar *) x));
23839 }
23840 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
23841 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23842 }
23843 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
23844 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23845 }
23846 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
23847 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23848 }
23849 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
23850 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23851 }
23852 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
23853 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23854 }
23855 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
23856 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23857 }
23858 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
23859 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23860 }
23861 static void *_p_wxPanelTo_p_wxWindow(void *x) {
23862 return (void *)((wxWindow *) ((wxPanel *) x));
23863 }
23864 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
23865 return (void *)((wxWindow *) ((wxStatusBar *) x));
23866 }
23867 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
23868 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
23869 }
23870 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
23871 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
23872 }
23873 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
23874 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
23875 }
23876 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
23877 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23878 }
23879 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
23880 return (void *)((wxWindow *) ((wxPopupWindow *) x));
23881 }
23882 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
23883 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
23884 }
23885 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
23886 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
23887 }
23888 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
23889 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
23890 }
23891 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
23892 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
23893 }
23894 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
23895 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
23896 }
23897 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
23898 return (void *)((wxWindow *) ((wxSashWindow *) x));
23899 }
23900 static void *_p_wxControlTo_p_wxWindow(void *x) {
23901 return (void *)((wxWindow *) ((wxControl *) x));
23902 }
23903 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
23904 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23905 }
23906 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
23907 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23908 }
23909 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
23910 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23911 }
23912 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
23913 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
23914 }
23915 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
23916 return (void *)((wxWindow *) ((wxPyWindow *) x));
23917 }
23918 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
23919 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23920 }
23921 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
23922 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23923 }
23924 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
23925 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23926 }
23927 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
23928 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
23929 }
23930 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
23931 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23932 }
23933 static void *_p_wxFrameTo_p_wxWindow(void *x) {
23934 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
23935 }
23936 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
23937 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23938 }
23939 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
23940 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23941 }
23942 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
23943 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23944 }
23945 static void *_p_wxDialogTo_p_wxWindow(void *x) {
23946 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
23947 }
23948 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
23949 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23950 }
23951 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
23952 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23953 }
23954 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
23955 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23956 }
23957 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
23958 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
23959 }
23960 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
23961 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
23962 }
23963 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
23964 return (void *)((wxDialog *) ((wxColourDialog *) x));
23965 }
23966 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
23967 return (void *)((wxDialog *) ((wxDirDialog *) x));
23968 }
23969 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
23970 return (void *)((wxDialog *) ((wxFontDialog *) x));
23971 }
23972 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
23973 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
23974 }
23975 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
23976 return (void *)((wxDialog *) ((wxPrintDialog *) x));
23977 }
23978 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
23979 return (void *)((wxDialog *) ((wxFileDialog *) x));
23980 }
23981 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
23982 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
23983 }
23984 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
23985 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
23986 }
23987 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
23988 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
23989 }
23990 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
23991 return (void *)((wxDialog *) ((wxMessageDialog *) x));
23992 }
23993 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
23994 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
23995 }
23996 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
23997 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
23998 }
23999 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
24000 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
24001 }
24002 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
24003 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24004 }
24005 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
24006 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24007 }
24008 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
24009 return (void *)((wxPanel *) ((wxPyPanel *) x));
24010 }
24011 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
24012 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
24013 }
24014 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
24015 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
24016 }
24017 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
24018 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24019 }
24020 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
24021 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
24022 }
24023 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
24024 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
24025 }
24026 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
24027 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
24028 }
24029 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
24030 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
24031 }
24032 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
24033 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
24034 }
24035 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
24036 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24037 }
24038 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
24039 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
24040 }
24041 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
24042 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
24043 }
24044 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
24045 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
24046 }
24047 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
24048 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
24049 }
24050 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
24051 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
24052 }
24053 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
24054 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24055 }
24056 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}};
24057 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}};
24058 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}};
24059 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}};
24060 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}};
24061 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}};
24062 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}};
24063 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}};
24064 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}};
24065 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}};
24066 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}};
24067 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}};
24068 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}};
24069 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}};
24070 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}};
24071 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}};
24072 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}};
24073 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}};
24074 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}};
24075 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}};
24076 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}};
24077 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}};
24078 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}};
24079 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}};
24080 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}};
24081 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}};
24082 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}};
24083 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}};
24084 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}};
24085 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}};
24086 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}};
24087 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}};
24088 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}};
24089 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}};
24090 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}};
24091 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_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_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24092 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}};
24093 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}};
24094 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}};
24095 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}};
24096 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}};
24097 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}};
24098 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}};
24099 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}};
24100 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}};
24101 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}};
24102 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}};
24103 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}};
24104 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}};
24105 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_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}};
24106 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}};
24107 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24108 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}};
24109 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}};
24110 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}};
24111 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}};
24112 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}};
24113 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}};
24114 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}};
24115 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}};
24116 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}};
24117 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_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24118 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24119 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}};
24120 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}};
24121 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}};
24122 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}};
24123 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}};
24124 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}};
24125 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}};
24126 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}};
24127 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}};
24128 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}};
24129 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_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}};
24130 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}};
24131 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}};
24132 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}};
24133 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}};
24134 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}};
24135 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}};
24136 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}};
24137 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}};
24138 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}};
24139 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}};
24140
24141 static swig_type_info *swig_types_initial[] = {
24142 _swigt__p_wxQueryLayoutInfoEvent,
24143 _swigt__p_wxPreviewFrame,
24144 _swigt__p_wxPyPreviewFrame,
24145 _swigt__p_wxPyPanel,
24146 _swigt__p_wxMenu,
24147 _swigt__p_wxPrintData,
24148 _swigt__p_wxFontData,
24149 _swigt__p_wxEvent,
24150 _swigt__p_wxTaskBarIcon,
24151 _swigt__p_wxIconBundle,
24152 _swigt__p_wxLayoutAlgorithm,
24153 _swigt__p_wxFindDialogEvent,
24154 _swigt__p_wxPreviewCanvas,
24155 _swigt__p_wxFont,
24156 _swigt__p_wxSplitterEvent,
24157 _swigt__p_wxRegion,
24158 _swigt__p_wxFindReplaceData,
24159 _swigt__p_int,
24160 _swigt__p_wxSize,
24161 _swigt__p_wxDC,
24162 _swigt__p_wxIcon,
24163 _swigt__p_wxMDIChildFrame,
24164 _swigt__p_wxColourData,
24165 _swigt__p_wxNotifyEvent,
24166 _swigt__p_wxPyWindow,
24167 _swigt__p_wxSplashScreen,
24168 _swigt__p_wxFindReplaceDialog,
24169 _swigt__p_wxProgressDialog,
24170 _swigt__p_wxMessageDialog,
24171 _swigt__p_wxTextEntryDialog,
24172 _swigt__p_wxSingleChoiceDialog,
24173 _swigt__p_wxMultiChoiceDialog,
24174 _swigt__p_wxFileDialog,
24175 _swigt__p_wxPrinter,
24176 _swigt__p_wxArrayInt,
24177 _swigt__p_wxEvtHandler,
24178 _swigt__p_wxCalculateLayoutEvent,
24179 _swigt__p_wxPyHtmlListBox,
24180 _swigt__p_wxPyVListBox,
24181 _swigt__p_wxRect,
24182 _swigt__p_char,
24183 _swigt__p_wxMiniFrame,
24184 _swigt__p_wxFrame,
24185 _swigt__p_wxPyPrintout,
24186 _swigt__p_wxTaskBarIconEvent,
24187 _swigt__p_wxScrollWinEvent,
24188 _swigt__p_wxStatusBar,
24189 _swigt__p_wxMDIParentFrame,
24190 _swigt__p_wxPoint,
24191 _swigt__p_wxObject,
24192 _swigt__p_wxOutputStream,
24193 _swigt__p_unsigned_long,
24194 _swigt__p_wxMDIClientWindow,
24195 _swigt__p_wxTipWindow,
24196 _swigt__p_wxPyPopupTransientWindow,
24197 _swigt__p_wxSashLayoutWindow,
24198 _swigt__p_wxSplitterWindow,
24199 _swigt__p_wxPyVScrolledWindow,
24200 _swigt__p_wxPopupWindow,
24201 _swigt__p_wxSashWindow,
24202 _swigt__p_wxTopLevelWindow,
24203 _swigt__p_wxWindow,
24204 _swigt__p_wxScrolledWindow,
24205 _swigt__p_wxSplashScreenWindow,
24206 _swigt__p_wxMenuBar,
24207 _swigt__p_wxPrintPreview,
24208 _swigt__p_wxSashEvent,
24209 _swigt__p_wxString,
24210 _swigt__p_wxPyPrintPreview,
24211 _swigt__p_wxFontDialog,
24212 _swigt__p_wxDirDialog,
24213 _swigt__p_wxColourDialog,
24214 _swigt__p_wxDialog,
24215 _swigt__p_wxPanel,
24216 _swigt__p_wxPageSetupDialog,
24217 _swigt__p_wxPrintDialog,
24218 _swigt__p_wxBitmap,
24219 _swigt__p_wxCommandEvent,
24220 _swigt__p_wxPreviewControlBar,
24221 _swigt__p_wxPyPreviewControlBar,
24222 _swigt__p_wxColour,
24223 _swigt__p_wxToolBar,
24224 _swigt__p_wxPageSetupDialogData,
24225 _swigt__p_wxPrintDialogData,
24226 0
24227 };
24228
24229
24230 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24231
24232 static swig_const_info swig_const_table[] = {
24233 {0, 0, 0, 0.0, 0, 0}};
24234
24235 #ifdef __cplusplus
24236 }
24237 #endif
24238
24239 #ifdef __cplusplus
24240 extern "C"
24241 #endif
24242 SWIGEXPORT(void) SWIG_init(void) {
24243 static PyObject *SWIG_globals = 0;
24244 static int typeinit = 0;
24245 PyObject *m, *d;
24246 int i;
24247 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
24248 m = Py_InitModule((char *) SWIG_name, SwigMethods);
24249 d = PyModule_GetDict(m);
24250
24251 if (!typeinit) {
24252 for (i = 0; swig_types_initial[i]; i++) {
24253 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
24254 }
24255 typeinit = 1;
24256 }
24257 SWIG_InstallConstants(d,swig_const_table);
24258
24259 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
24260 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
24261 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
24262 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
24263 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
24264 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
24265 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
24266 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
24267 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
24268 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
24269 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
24270 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
24271 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
24272 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
24273 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
24274 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
24275 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
24276 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
24277 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
24278 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
24279 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
24280 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
24281 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
24282 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
24283 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
24284 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
24285 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
24286 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
24287 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
24288 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
24289 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
24290 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
24291 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
24292 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
24293 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
24294 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
24295 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
24296 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
24297 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
24298 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
24299 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
24300 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
24301 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
24302 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
24303 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
24304 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
24305 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
24306 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
24307 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
24308 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
24309 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
24310 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
24311 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
24312 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
24313 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
24314 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
24315 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
24316 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
24317 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
24318 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
24319 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
24320 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
24321 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
24322 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
24323 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
24324 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
24325 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
24326
24327 // Map renamed classes back to their common name for OOR
24328 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24329 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24330 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24331
24332 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
24333 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
24334 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
24335 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
24336 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
24337 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
24338 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
24339 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
24340 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
24341 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
24342 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
24343 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
24344 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
24345 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
24346 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
24347 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
24348 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
24349 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
24350 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
24351 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
24352 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
24353 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
24354 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
24355 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
24356 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
24357 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
24358 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
24359 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
24360 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
24361 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
24362 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
24363 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
24364 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
24365 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
24366 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
24367 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
24368 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
24369 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
24370 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
24371 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
24372 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
24373 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
24374 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
24375 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
24376 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
24377 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
24378 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
24379 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
24380 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
24381 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
24382 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
24383 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
24384 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
24385 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
24386 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
24387 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
24388 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
24389 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
24390 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
24391 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
24392
24393 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
24394
24395 }
24396