]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/windows_wrap.cpp
Cleanup obsolete samples
[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 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
881
882 PYPRIVATE;
883 };
884
885 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
886
887 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
888 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
889 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
890 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
891
892 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
893 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
894 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
895
896 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
897 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
898
899 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
900 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
901 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
902 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
903
904 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
905 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
906 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
907
908 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
909 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
910
911 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
912
913 // C++ version of Python aware wxPanel
914 class wxPyPanel : public wxPanel
915 {
916 DECLARE_DYNAMIC_CLASS(wxPyPanel)
917 public:
918 wxPyPanel() : wxPanel() {}
919 wxPyPanel(wxWindow* parent, const wxWindowID id,
920 const wxPoint& pos = wxDefaultPosition,
921 const wxSize& size = wxDefaultSize,
922 long style = 0,
923 const wxString& name = wxPyPanelNameStr)
924 : wxPanel(parent, id, pos, size, style, name) {}
925
926
927 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
928 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
929 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
930 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
931
932 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
933 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
934 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
935
936 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
937 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
938
939 DEC_PYCALLBACK__(InitDialog);
940 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
941 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
942 DEC_PYCALLBACK_BOOL_(Validate);
943
944 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
945 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
946 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
947
948 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
949 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
950
951 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
952
953 PYPRIVATE;
954 };
955
956 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
957
958 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
959 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
960 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
961 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
962
963 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
964 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
965 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
966
967 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
968 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
969
970 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
971 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
972 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
973 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
974
975 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
976 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
977 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
978
979 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
980 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
981
982 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
983
984
985 #include "wx/wxPython/printfw.h"
986
987
988 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
989 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
990
991
992
993 // Since this one would be tough and ugly to do with the Macros...
994 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
995 bool hadErr = False;
996 bool found;
997
998 bool blocked = wxPyBeginBlockThreads();
999 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1000 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1001 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1002 PyObject* val;
1003
1004 val = PyTuple_GetItem(result, 0);
1005 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1006 else hadErr = True;
1007
1008 val = PyTuple_GetItem(result, 1);
1009 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1010 else hadErr = True;
1011
1012 val = PyTuple_GetItem(result, 2);
1013 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1014 else hadErr = True;
1015
1016 val = PyTuple_GetItem(result, 3);
1017 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1018 else hadErr = True;
1019 }
1020 else
1021 hadErr = True;
1022
1023 if (hadErr) {
1024 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1025 PyErr_Print();
1026 }
1027 Py_DECREF(result);
1028 }
1029 wxPyEndBlockThreads(blocked);
1030 if (! found)
1031 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1032 }
1033
1034 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1035 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1036 }
1037
1038
1039 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1040 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1041 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1042 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1043 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1044 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1045 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1046
1047
1048
1049
1050
1051 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1052 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1053 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1054
1055
1056 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1057 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1058 bool rval=False; \
1059 bool found; \
1060 bool blocked = wxPyBeginBlockThreads(); \
1061 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1062 PyObject* win = wxPyMake_wxObject(a); \
1063 PyObject* dc = wxPyMake_wxObject(&b); \
1064 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1065 Py_DECREF(win); \
1066 Py_DECREF(dc); \
1067 } \
1068 wxPyEndBlockThreads(blocked); \
1069 if (! found) \
1070 rval = PCLASS::CBNAME(a, b); \
1071 return rval; \
1072 } \
1073 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1074 return PCLASS::CBNAME(a, b); \
1075 }
1076
1077
1078
1079
1080 class wxPyPrintPreview : public wxPrintPreview
1081 {
1082 DECLARE_CLASS(wxPyPrintPreview)
1083 public:
1084 wxPyPrintPreview(wxPyPrintout* printout,
1085 wxPyPrintout* printoutForPrinting,
1086 wxPrintDialogData* data=NULL)
1087 : wxPrintPreview(printout, printoutForPrinting, data)
1088 {}
1089 wxPyPrintPreview(wxPyPrintout* printout,
1090 wxPyPrintout* printoutForPrinting,
1091 wxPrintData* data=NULL)
1092 : wxPrintPreview(printout, printoutForPrinting, data)
1093 {}
1094
1095 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1096 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1097 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1098 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1099 DEC_PYCALLBACK_VOID_INT(SetZoom);
1100 DEC_PYCALLBACK_BOOL_BOOL(Print);
1101 DEC_PYCALLBACK_VOID_(DetermineScaling);
1102
1103 PYPRIVATE;
1104 };
1105
1106 // Stupid renamed classes... Fix this in 2.5...
1107 #if defined(__WXMSW__)
1108 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1109 #elif defined(__WXMAC__)
1110 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1111 #else
1112 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1113 #endif
1114
1115 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1116 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1117 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1118 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1119 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1120 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1121 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1122
1123
1124 class wxPyPreviewFrame : public wxPreviewFrame
1125 {
1126 DECLARE_CLASS(wxPyPreviewFrame);
1127 public:
1128 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1129 const wxString& title,
1130 const wxPoint& pos = wxDefaultPosition,
1131 const wxSize& size = wxDefaultSize,
1132 long style = wxDEFAULT_FRAME_STYLE,
1133 const wxString& name = wxPyFrameNameStr)
1134 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1135 {}
1136
1137 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1138 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1139
1140 DEC_PYCALLBACK_VOID_(Initialize);
1141 DEC_PYCALLBACK_VOID_(CreateCanvas);
1142 DEC_PYCALLBACK_VOID_(CreateControlBar);
1143
1144 PYPRIVATE;
1145 };
1146
1147 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1148
1149 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1150 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1151 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1152
1153
1154 class wxPyPreviewControlBar : public wxPreviewControlBar
1155 {
1156 DECLARE_CLASS(wxPyPreviewControlBar);
1157 public:
1158 wxPyPreviewControlBar(wxPrintPreview *preview,
1159 long buttons,
1160 wxWindow *parent,
1161 const wxPoint& pos = wxDefaultPosition,
1162 const wxSize& size = wxDefaultSize,
1163 long style = 0,
1164 const wxString& name = wxPyPanelNameStr)
1165 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1166 {}
1167
1168 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1169
1170 DEC_PYCALLBACK_VOID_(CreateButtons);
1171 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1172
1173 PYPRIVATE;
1174 };
1175
1176 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1177 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1178 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1179
1180 #ifdef __cplusplus
1181 extern "C" {
1182 #endif
1183 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1184 PyObject *resultobj;
1185 wxWindow *arg1 = (wxWindow *) 0 ;
1186 int arg2 = (int) (int)-1 ;
1187 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1188 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1189 wxSize const &arg4_defvalue = wxDefaultSize ;
1190 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1191 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1192 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1193 wxString *arg6 = (wxString *) &arg6_defvalue ;
1194 wxPanel *result;
1195 wxPoint temp3 ;
1196 wxSize temp4 ;
1197 bool temp6 = False ;
1198 PyObject * obj0 = 0 ;
1199 PyObject * obj1 = 0 ;
1200 PyObject * obj2 = 0 ;
1201 PyObject * obj3 = 0 ;
1202 PyObject * obj4 = 0 ;
1203 PyObject * obj5 = 0 ;
1204 char *kwnames[] = {
1205 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1206 };
1207
1208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1211 if (obj1) {
1212 arg2 = (int const) SWIG_AsInt(obj1);
1213 if (PyErr_Occurred()) SWIG_fail;
1214 }
1215 if (obj2) {
1216 {
1217 arg3 = &temp3;
1218 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1219 }
1220 }
1221 if (obj3) {
1222 {
1223 arg4 = &temp4;
1224 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1225 }
1226 }
1227 if (obj4) {
1228 arg5 = (long) SWIG_AsLong(obj4);
1229 if (PyErr_Occurred()) SWIG_fail;
1230 }
1231 if (obj5) {
1232 {
1233 arg6 = wxString_in_helper(obj5);
1234 if (arg6 == NULL) SWIG_fail;
1235 temp6 = True;
1236 }
1237 }
1238 {
1239 PyThreadState* __tstate = wxPyBeginAllowThreads();
1240 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1241
1242 wxPyEndAllowThreads(__tstate);
1243 if (PyErr_Occurred()) SWIG_fail;
1244 }
1245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1246 {
1247 if (temp6)
1248 delete arg6;
1249 }
1250 return resultobj;
1251 fail:
1252 {
1253 if (temp6)
1254 delete arg6;
1255 }
1256 return NULL;
1257 }
1258
1259
1260 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1261 PyObject *resultobj;
1262 wxPanel *result;
1263 char *kwnames[] = {
1264 NULL
1265 };
1266
1267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1268 {
1269 PyThreadState* __tstate = wxPyBeginAllowThreads();
1270 result = (wxPanel *)new wxPanel();
1271
1272 wxPyEndAllowThreads(__tstate);
1273 if (PyErr_Occurred()) SWIG_fail;
1274 }
1275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1276 return resultobj;
1277 fail:
1278 return NULL;
1279 }
1280
1281
1282 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1283 PyObject *resultobj;
1284 wxPanel *arg1 = (wxPanel *) 0 ;
1285 wxWindow *arg2 = (wxWindow *) 0 ;
1286 int arg3 ;
1287 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1288 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1289 wxSize const &arg5_defvalue = wxDefaultSize ;
1290 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1291 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1292 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1293 wxString *arg7 = (wxString *) &arg7_defvalue ;
1294 bool result;
1295 wxPoint temp4 ;
1296 wxSize temp5 ;
1297 bool temp7 = False ;
1298 PyObject * obj0 = 0 ;
1299 PyObject * obj1 = 0 ;
1300 PyObject * obj2 = 0 ;
1301 PyObject * obj3 = 0 ;
1302 PyObject * obj4 = 0 ;
1303 PyObject * obj5 = 0 ;
1304 PyObject * obj6 = 0 ;
1305 char *kwnames[] = {
1306 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1307 };
1308
1309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1314 arg3 = (int const) SWIG_AsInt(obj2);
1315 if (PyErr_Occurred()) SWIG_fail;
1316 if (obj3) {
1317 {
1318 arg4 = &temp4;
1319 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1320 }
1321 }
1322 if (obj4) {
1323 {
1324 arg5 = &temp5;
1325 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1326 }
1327 }
1328 if (obj5) {
1329 arg6 = (long) SWIG_AsLong(obj5);
1330 if (PyErr_Occurred()) SWIG_fail;
1331 }
1332 if (obj6) {
1333 {
1334 arg7 = wxString_in_helper(obj6);
1335 if (arg7 == NULL) SWIG_fail;
1336 temp7 = True;
1337 }
1338 }
1339 {
1340 PyThreadState* __tstate = wxPyBeginAllowThreads();
1341 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1342
1343 wxPyEndAllowThreads(__tstate);
1344 if (PyErr_Occurred()) SWIG_fail;
1345 }
1346 {
1347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1348 }
1349 {
1350 if (temp7)
1351 delete arg7;
1352 }
1353 return resultobj;
1354 fail:
1355 {
1356 if (temp7)
1357 delete arg7;
1358 }
1359 return NULL;
1360 }
1361
1362
1363 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1364 PyObject *resultobj;
1365 wxPanel *arg1 = (wxPanel *) 0 ;
1366 PyObject * obj0 = 0 ;
1367 char *kwnames[] = {
1368 (char *) "self", NULL
1369 };
1370
1371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1374 {
1375 PyThreadState* __tstate = wxPyBeginAllowThreads();
1376 (arg1)->InitDialog();
1377
1378 wxPyEndAllowThreads(__tstate);
1379 if (PyErr_Occurred()) SWIG_fail;
1380 }
1381 Py_INCREF(Py_None); resultobj = Py_None;
1382 return resultobj;
1383 fail:
1384 return NULL;
1385 }
1386
1387
1388 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1389 PyObject *obj;
1390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1391 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1392 Py_INCREF(obj);
1393 return Py_BuildValue((char *)"");
1394 }
1395 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1396 PyObject *resultobj;
1397 wxWindow *arg1 = (wxWindow *) 0 ;
1398 int arg2 = (int) (int)-1 ;
1399 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1400 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1401 wxSize const &arg4_defvalue = wxDefaultSize ;
1402 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1403 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1404 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1405 wxString *arg6 = (wxString *) &arg6_defvalue ;
1406 wxScrolledWindow *result;
1407 wxPoint temp3 ;
1408 wxSize temp4 ;
1409 bool temp6 = False ;
1410 PyObject * obj0 = 0 ;
1411 PyObject * obj1 = 0 ;
1412 PyObject * obj2 = 0 ;
1413 PyObject * obj3 = 0 ;
1414 PyObject * obj4 = 0 ;
1415 PyObject * obj5 = 0 ;
1416 char *kwnames[] = {
1417 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1418 };
1419
1420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1423 if (obj1) {
1424 arg2 = (int const) SWIG_AsInt(obj1);
1425 if (PyErr_Occurred()) SWIG_fail;
1426 }
1427 if (obj2) {
1428 {
1429 arg3 = &temp3;
1430 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1431 }
1432 }
1433 if (obj3) {
1434 {
1435 arg4 = &temp4;
1436 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1437 }
1438 }
1439 if (obj4) {
1440 arg5 = (long) SWIG_AsLong(obj4);
1441 if (PyErr_Occurred()) SWIG_fail;
1442 }
1443 if (obj5) {
1444 {
1445 arg6 = wxString_in_helper(obj5);
1446 if (arg6 == NULL) SWIG_fail;
1447 temp6 = True;
1448 }
1449 }
1450 {
1451 PyThreadState* __tstate = wxPyBeginAllowThreads();
1452 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1453
1454 wxPyEndAllowThreads(__tstate);
1455 if (PyErr_Occurred()) SWIG_fail;
1456 }
1457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1458 {
1459 if (temp6)
1460 delete arg6;
1461 }
1462 return resultobj;
1463 fail:
1464 {
1465 if (temp6)
1466 delete arg6;
1467 }
1468 return NULL;
1469 }
1470
1471
1472 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1473 PyObject *resultobj;
1474 wxScrolledWindow *result;
1475 char *kwnames[] = {
1476 NULL
1477 };
1478
1479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1480 {
1481 PyThreadState* __tstate = wxPyBeginAllowThreads();
1482 result = (wxScrolledWindow *)new wxScrolledWindow();
1483
1484 wxPyEndAllowThreads(__tstate);
1485 if (PyErr_Occurred()) SWIG_fail;
1486 }
1487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1488 return resultobj;
1489 fail:
1490 return NULL;
1491 }
1492
1493
1494 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1495 PyObject *resultobj;
1496 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1497 wxWindow *arg2 = (wxWindow *) 0 ;
1498 int arg3 = (int) (int)-1 ;
1499 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1500 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1501 wxSize const &arg5_defvalue = wxDefaultSize ;
1502 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1503 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1504 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1505 wxString *arg7 = (wxString *) &arg7_defvalue ;
1506 bool result;
1507 wxPoint temp4 ;
1508 wxSize temp5 ;
1509 bool temp7 = False ;
1510 PyObject * obj0 = 0 ;
1511 PyObject * obj1 = 0 ;
1512 PyObject * obj2 = 0 ;
1513 PyObject * obj3 = 0 ;
1514 PyObject * obj4 = 0 ;
1515 PyObject * obj5 = 0 ;
1516 PyObject * obj6 = 0 ;
1517 char *kwnames[] = {
1518 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1519 };
1520
1521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1526 if (obj2) {
1527 arg3 = (int const) SWIG_AsInt(obj2);
1528 if (PyErr_Occurred()) SWIG_fail;
1529 }
1530 if (obj3) {
1531 {
1532 arg4 = &temp4;
1533 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1534 }
1535 }
1536 if (obj4) {
1537 {
1538 arg5 = &temp5;
1539 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1540 }
1541 }
1542 if (obj5) {
1543 arg6 = (long) SWIG_AsLong(obj5);
1544 if (PyErr_Occurred()) SWIG_fail;
1545 }
1546 if (obj6) {
1547 {
1548 arg7 = wxString_in_helper(obj6);
1549 if (arg7 == NULL) SWIG_fail;
1550 temp7 = True;
1551 }
1552 }
1553 {
1554 PyThreadState* __tstate = wxPyBeginAllowThreads();
1555 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1556
1557 wxPyEndAllowThreads(__tstate);
1558 if (PyErr_Occurred()) SWIG_fail;
1559 }
1560 {
1561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1562 }
1563 {
1564 if (temp7)
1565 delete arg7;
1566 }
1567 return resultobj;
1568 fail:
1569 {
1570 if (temp7)
1571 delete arg7;
1572 }
1573 return NULL;
1574 }
1575
1576
1577 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1578 PyObject *resultobj;
1579 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1580 int arg2 ;
1581 int arg3 ;
1582 int arg4 ;
1583 int arg5 ;
1584 int arg6 = (int) 0 ;
1585 int arg7 = (int) 0 ;
1586 bool arg8 = (bool) False ;
1587 PyObject * obj0 = 0 ;
1588 PyObject * obj1 = 0 ;
1589 PyObject * obj2 = 0 ;
1590 PyObject * obj3 = 0 ;
1591 PyObject * obj4 = 0 ;
1592 PyObject * obj5 = 0 ;
1593 PyObject * obj6 = 0 ;
1594 PyObject * obj7 = 0 ;
1595 char *kwnames[] = {
1596 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1597 };
1598
1599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1602 arg2 = (int) SWIG_AsInt(obj1);
1603 if (PyErr_Occurred()) SWIG_fail;
1604 arg3 = (int) SWIG_AsInt(obj2);
1605 if (PyErr_Occurred()) SWIG_fail;
1606 arg4 = (int) SWIG_AsInt(obj3);
1607 if (PyErr_Occurred()) SWIG_fail;
1608 arg5 = (int) SWIG_AsInt(obj4);
1609 if (PyErr_Occurred()) SWIG_fail;
1610 if (obj5) {
1611 arg6 = (int) SWIG_AsInt(obj5);
1612 if (PyErr_Occurred()) SWIG_fail;
1613 }
1614 if (obj6) {
1615 arg7 = (int) SWIG_AsInt(obj6);
1616 if (PyErr_Occurred()) SWIG_fail;
1617 }
1618 if (obj7) {
1619 arg8 = (bool) SWIG_AsBool(obj7);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 }
1622 {
1623 PyThreadState* __tstate = wxPyBeginAllowThreads();
1624 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1625
1626 wxPyEndAllowThreads(__tstate);
1627 if (PyErr_Occurred()) SWIG_fail;
1628 }
1629 Py_INCREF(Py_None); resultobj = Py_None;
1630 return resultobj;
1631 fail:
1632 return NULL;
1633 }
1634
1635
1636 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1637 PyObject *resultobj;
1638 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1639 int arg2 ;
1640 int arg3 ;
1641 PyObject * obj0 = 0 ;
1642 PyObject * obj1 = 0 ;
1643 PyObject * obj2 = 0 ;
1644 char *kwnames[] = {
1645 (char *) "self",(char *) "x",(char *) "y", NULL
1646 };
1647
1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1651 arg2 = (int) SWIG_AsInt(obj1);
1652 if (PyErr_Occurred()) SWIG_fail;
1653 arg3 = (int) SWIG_AsInt(obj2);
1654 if (PyErr_Occurred()) SWIG_fail;
1655 {
1656 PyThreadState* __tstate = wxPyBeginAllowThreads();
1657 (arg1)->Scroll(arg2,arg3);
1658
1659 wxPyEndAllowThreads(__tstate);
1660 if (PyErr_Occurred()) SWIG_fail;
1661 }
1662 Py_INCREF(Py_None); resultobj = Py_None;
1663 return resultobj;
1664 fail:
1665 return NULL;
1666 }
1667
1668
1669 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1670 PyObject *resultobj;
1671 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1672 int arg2 ;
1673 int result;
1674 PyObject * obj0 = 0 ;
1675 PyObject * obj1 = 0 ;
1676 char *kwnames[] = {
1677 (char *) "self",(char *) "orient", NULL
1678 };
1679
1680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1683 arg2 = (int) SWIG_AsInt(obj1);
1684 if (PyErr_Occurred()) SWIG_fail;
1685 {
1686 PyThreadState* __tstate = wxPyBeginAllowThreads();
1687 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1688
1689 wxPyEndAllowThreads(__tstate);
1690 if (PyErr_Occurred()) SWIG_fail;
1691 }
1692 resultobj = SWIG_FromInt((int)result);
1693 return resultobj;
1694 fail:
1695 return NULL;
1696 }
1697
1698
1699 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1700 PyObject *resultobj;
1701 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1702 int arg2 ;
1703 int arg3 ;
1704 PyObject * obj0 = 0 ;
1705 PyObject * obj1 = 0 ;
1706 PyObject * obj2 = 0 ;
1707 char *kwnames[] = {
1708 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1709 };
1710
1711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1714 arg2 = (int) SWIG_AsInt(obj1);
1715 if (PyErr_Occurred()) SWIG_fail;
1716 arg3 = (int) SWIG_AsInt(obj2);
1717 if (PyErr_Occurred()) SWIG_fail;
1718 {
1719 PyThreadState* __tstate = wxPyBeginAllowThreads();
1720 (arg1)->SetScrollPageSize(arg2,arg3);
1721
1722 wxPyEndAllowThreads(__tstate);
1723 if (PyErr_Occurred()) SWIG_fail;
1724 }
1725 Py_INCREF(Py_None); resultobj = Py_None;
1726 return resultobj;
1727 fail:
1728 return NULL;
1729 }
1730
1731
1732 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
1733 PyObject *resultobj;
1734 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1735 int arg2 ;
1736 int arg3 ;
1737 PyObject * obj0 = 0 ;
1738 PyObject * obj1 = 0 ;
1739 PyObject * obj2 = 0 ;
1740 char *kwnames[] = {
1741 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1742 };
1743
1744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1747 arg2 = (int) SWIG_AsInt(obj1);
1748 if (PyErr_Occurred()) SWIG_fail;
1749 arg3 = (int) SWIG_AsInt(obj2);
1750 if (PyErr_Occurred()) SWIG_fail;
1751 {
1752 PyThreadState* __tstate = wxPyBeginAllowThreads();
1753 (arg1)->SetScrollRate(arg2,arg3);
1754
1755 wxPyEndAllowThreads(__tstate);
1756 if (PyErr_Occurred()) SWIG_fail;
1757 }
1758 Py_INCREF(Py_None); resultobj = Py_None;
1759 return resultobj;
1760 fail:
1761 return NULL;
1762 }
1763
1764
1765 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
1766 PyObject *resultobj;
1767 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1768 int *arg2 = (int *) 0 ;
1769 int *arg3 = (int *) 0 ;
1770 int temp2 ;
1771 int temp3 ;
1772 PyObject * obj0 = 0 ;
1773 char *kwnames[] = {
1774 (char *) "self", NULL
1775 };
1776
1777 arg2 = &temp2;
1778 arg3 = &temp3;
1779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1782 {
1783 PyThreadState* __tstate = wxPyBeginAllowThreads();
1784 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1785
1786 wxPyEndAllowThreads(__tstate);
1787 if (PyErr_Occurred()) SWIG_fail;
1788 }
1789 Py_INCREF(Py_None); resultobj = Py_None;
1790 {
1791 PyObject *o = PyInt_FromLong((long) (*arg2));
1792 resultobj = t_output_helper(resultobj,o);
1793 }
1794 {
1795 PyObject *o = PyInt_FromLong((long) (*arg3));
1796 resultobj = t_output_helper(resultobj,o);
1797 }
1798 return resultobj;
1799 fail:
1800 return NULL;
1801 }
1802
1803
1804 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
1805 PyObject *resultobj;
1806 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1807 bool arg2 ;
1808 bool arg3 ;
1809 PyObject * obj0 = 0 ;
1810 PyObject * obj1 = 0 ;
1811 PyObject * obj2 = 0 ;
1812 char *kwnames[] = {
1813 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1814 };
1815
1816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1819 arg2 = (bool) SWIG_AsBool(obj1);
1820 if (PyErr_Occurred()) SWIG_fail;
1821 arg3 = (bool) SWIG_AsBool(obj2);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 {
1824 PyThreadState* __tstate = wxPyBeginAllowThreads();
1825 (arg1)->EnableScrolling(arg2,arg3);
1826
1827 wxPyEndAllowThreads(__tstate);
1828 if (PyErr_Occurred()) SWIG_fail;
1829 }
1830 Py_INCREF(Py_None); resultobj = Py_None;
1831 return resultobj;
1832 fail:
1833 return NULL;
1834 }
1835
1836
1837 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
1838 PyObject *resultobj;
1839 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1840 int *arg2 = (int *) 0 ;
1841 int *arg3 = (int *) 0 ;
1842 int temp2 ;
1843 int temp3 ;
1844 PyObject * obj0 = 0 ;
1845 char *kwnames[] = {
1846 (char *) "self", NULL
1847 };
1848
1849 arg2 = &temp2;
1850 arg3 = &temp3;
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1854 {
1855 PyThreadState* __tstate = wxPyBeginAllowThreads();
1856 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1857
1858 wxPyEndAllowThreads(__tstate);
1859 if (PyErr_Occurred()) SWIG_fail;
1860 }
1861 Py_INCREF(Py_None); resultobj = Py_None;
1862 {
1863 PyObject *o = PyInt_FromLong((long) (*arg2));
1864 resultobj = t_output_helper(resultobj,o);
1865 }
1866 {
1867 PyObject *o = PyInt_FromLong((long) (*arg3));
1868 resultobj = t_output_helper(resultobj,o);
1869 }
1870 return resultobj;
1871 fail:
1872 return NULL;
1873 }
1874
1875
1876 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
1877 PyObject *resultobj;
1878 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1879 double arg2 ;
1880 double arg3 ;
1881 PyObject * obj0 = 0 ;
1882 PyObject * obj1 = 0 ;
1883 PyObject * obj2 = 0 ;
1884 char *kwnames[] = {
1885 (char *) "self",(char *) "xs",(char *) "ys", NULL
1886 };
1887
1888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1891 arg2 = (double) SWIG_AsDouble(obj1);
1892 if (PyErr_Occurred()) SWIG_fail;
1893 arg3 = (double) SWIG_AsDouble(obj2);
1894 if (PyErr_Occurred()) SWIG_fail;
1895 {
1896 PyThreadState* __tstate = wxPyBeginAllowThreads();
1897 (arg1)->SetScale(arg2,arg3);
1898
1899 wxPyEndAllowThreads(__tstate);
1900 if (PyErr_Occurred()) SWIG_fail;
1901 }
1902 Py_INCREF(Py_None); resultobj = Py_None;
1903 return resultobj;
1904 fail:
1905 return NULL;
1906 }
1907
1908
1909 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
1910 PyObject *resultobj;
1911 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1912 double result;
1913 PyObject * obj0 = 0 ;
1914 char *kwnames[] = {
1915 (char *) "self", NULL
1916 };
1917
1918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1921 {
1922 PyThreadState* __tstate = wxPyBeginAllowThreads();
1923 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1924
1925 wxPyEndAllowThreads(__tstate);
1926 if (PyErr_Occurred()) SWIG_fail;
1927 }
1928 resultobj = SWIG_FromDouble((double)result);
1929 return resultobj;
1930 fail:
1931 return NULL;
1932 }
1933
1934
1935 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
1936 PyObject *resultobj;
1937 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1938 double result;
1939 PyObject * obj0 = 0 ;
1940 char *kwnames[] = {
1941 (char *) "self", NULL
1942 };
1943
1944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1947 {
1948 PyThreadState* __tstate = wxPyBeginAllowThreads();
1949 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1950
1951 wxPyEndAllowThreads(__tstate);
1952 if (PyErr_Occurred()) SWIG_fail;
1953 }
1954 resultobj = SWIG_FromDouble((double)result);
1955 return resultobj;
1956 fail:
1957 return NULL;
1958 }
1959
1960
1961 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
1962 PyObject *resultobj;
1963 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1964 wxPoint *arg2 = 0 ;
1965 wxPoint result;
1966 wxPoint temp2 ;
1967 PyObject * obj0 = 0 ;
1968 PyObject * obj1 = 0 ;
1969
1970 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1973 {
1974 arg2 = &temp2;
1975 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1976 }
1977 {
1978 PyThreadState* __tstate = wxPyBeginAllowThreads();
1979 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1980
1981 wxPyEndAllowThreads(__tstate);
1982 if (PyErr_Occurred()) SWIG_fail;
1983 }
1984 {
1985 wxPoint * resultptr;
1986 resultptr = new wxPoint((wxPoint &) result);
1987 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
1988 }
1989 return resultobj;
1990 fail:
1991 return NULL;
1992 }
1993
1994
1995 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
1996 PyObject *resultobj;
1997 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1998 int arg2 ;
1999 int arg3 ;
2000 int *arg4 = (int *) 0 ;
2001 int *arg5 = (int *) 0 ;
2002 int temp4 ;
2003 int temp5 ;
2004 PyObject * obj0 = 0 ;
2005 PyObject * obj1 = 0 ;
2006 PyObject * obj2 = 0 ;
2007
2008 arg4 = &temp4;
2009 arg5 = &temp5;
2010 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2013 arg2 = (int) SWIG_AsInt(obj1);
2014 if (PyErr_Occurred()) SWIG_fail;
2015 arg3 = (int) SWIG_AsInt(obj2);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 {
2018 PyThreadState* __tstate = wxPyBeginAllowThreads();
2019 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2020
2021 wxPyEndAllowThreads(__tstate);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 }
2024 Py_INCREF(Py_None); resultobj = Py_None;
2025 {
2026 PyObject *o = PyInt_FromLong((long) (*arg4));
2027 resultobj = t_output_helper(resultobj,o);
2028 }
2029 {
2030 PyObject *o = PyInt_FromLong((long) (*arg5));
2031 resultobj = t_output_helper(resultobj,o);
2032 }
2033 return resultobj;
2034 fail:
2035 return NULL;
2036 }
2037
2038
2039 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2040 int argc;
2041 PyObject *argv[4];
2042 int ii;
2043
2044 argc = PyObject_Length(args);
2045 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2046 argv[ii] = PyTuple_GetItem(args,ii);
2047 }
2048 if (argc == 2) {
2049 int _v;
2050 {
2051 void *ptr;
2052 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2053 _v = 0;
2054 PyErr_Clear();
2055 } else {
2056 _v = 1;
2057 }
2058 }
2059 if (_v) {
2060 {
2061 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2062 }
2063 if (_v) {
2064 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2065 }
2066 }
2067 }
2068 if (argc == 3) {
2069 int _v;
2070 {
2071 void *ptr;
2072 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2073 _v = 0;
2074 PyErr_Clear();
2075 } else {
2076 _v = 1;
2077 }
2078 }
2079 if (_v) {
2080 _v = SWIG_CheckInt(argv[1]);
2081 if (_v) {
2082 _v = SWIG_CheckInt(argv[2]);
2083 if (_v) {
2084 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2085 }
2086 }
2087 }
2088 }
2089
2090 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2091 return NULL;
2092 }
2093
2094
2095 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2096 PyObject *resultobj;
2097 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2098 wxPoint *arg2 = 0 ;
2099 wxPoint result;
2100 wxPoint temp2 ;
2101 PyObject * obj0 = 0 ;
2102 PyObject * obj1 = 0 ;
2103
2104 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2107 {
2108 arg2 = &temp2;
2109 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2110 }
2111 {
2112 PyThreadState* __tstate = wxPyBeginAllowThreads();
2113 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2114
2115 wxPyEndAllowThreads(__tstate);
2116 if (PyErr_Occurred()) SWIG_fail;
2117 }
2118 {
2119 wxPoint * resultptr;
2120 resultptr = new wxPoint((wxPoint &) result);
2121 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2122 }
2123 return resultobj;
2124 fail:
2125 return NULL;
2126 }
2127
2128
2129 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2130 PyObject *resultobj;
2131 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2132 int arg2 ;
2133 int arg3 ;
2134 int *arg4 = (int *) 0 ;
2135 int *arg5 = (int *) 0 ;
2136 int temp4 ;
2137 int temp5 ;
2138 PyObject * obj0 = 0 ;
2139 PyObject * obj1 = 0 ;
2140 PyObject * obj2 = 0 ;
2141
2142 arg4 = &temp4;
2143 arg5 = &temp5;
2144 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2147 arg2 = (int) SWIG_AsInt(obj1);
2148 if (PyErr_Occurred()) SWIG_fail;
2149 arg3 = (int) SWIG_AsInt(obj2);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 {
2152 PyThreadState* __tstate = wxPyBeginAllowThreads();
2153 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2154
2155 wxPyEndAllowThreads(__tstate);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 }
2158 Py_INCREF(Py_None); resultobj = Py_None;
2159 {
2160 PyObject *o = PyInt_FromLong((long) (*arg4));
2161 resultobj = t_output_helper(resultobj,o);
2162 }
2163 {
2164 PyObject *o = PyInt_FromLong((long) (*arg5));
2165 resultobj = t_output_helper(resultobj,o);
2166 }
2167 return resultobj;
2168 fail:
2169 return NULL;
2170 }
2171
2172
2173 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2174 int argc;
2175 PyObject *argv[4];
2176 int ii;
2177
2178 argc = PyObject_Length(args);
2179 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2180 argv[ii] = PyTuple_GetItem(args,ii);
2181 }
2182 if (argc == 2) {
2183 int _v;
2184 {
2185 void *ptr;
2186 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2187 _v = 0;
2188 PyErr_Clear();
2189 } else {
2190 _v = 1;
2191 }
2192 }
2193 if (_v) {
2194 {
2195 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2196 }
2197 if (_v) {
2198 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2199 }
2200 }
2201 }
2202 if (argc == 3) {
2203 int _v;
2204 {
2205 void *ptr;
2206 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2207 _v = 0;
2208 PyErr_Clear();
2209 } else {
2210 _v = 1;
2211 }
2212 }
2213 if (_v) {
2214 _v = SWIG_CheckInt(argv[1]);
2215 if (_v) {
2216 _v = SWIG_CheckInt(argv[2]);
2217 if (_v) {
2218 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2219 }
2220 }
2221 }
2222 }
2223
2224 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2225 return NULL;
2226 }
2227
2228
2229 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2230 PyObject *resultobj;
2231 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2232 PyObject * obj0 = 0 ;
2233 char *kwnames[] = {
2234 (char *) "self", NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2240 {
2241 PyThreadState* __tstate = wxPyBeginAllowThreads();
2242 (arg1)->AdjustScrollbars();
2243
2244 wxPyEndAllowThreads(__tstate);
2245 if (PyErr_Occurred()) SWIG_fail;
2246 }
2247 Py_INCREF(Py_None); resultobj = Py_None;
2248 return resultobj;
2249 fail:
2250 return NULL;
2251 }
2252
2253
2254 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2255 PyObject *resultobj;
2256 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2257 wxScrollWinEvent *arg2 = 0 ;
2258 int result;
2259 PyObject * obj0 = 0 ;
2260 PyObject * obj1 = 0 ;
2261 char *kwnames[] = {
2262 (char *) "self",(char *) "event", NULL
2263 };
2264
2265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2269 SWIG_POINTER_EXCEPTION | 0)) == -1)
2270 SWIG_fail;
2271 if (arg2 == NULL) {
2272 PyErr_SetString(PyExc_TypeError,"null reference");
2273 SWIG_fail;
2274 }
2275 {
2276 PyThreadState* __tstate = wxPyBeginAllowThreads();
2277 result = (int)(arg1)->CalcScrollInc(*arg2);
2278
2279 wxPyEndAllowThreads(__tstate);
2280 if (PyErr_Occurred()) SWIG_fail;
2281 }
2282 resultobj = SWIG_FromInt((int)result);
2283 return resultobj;
2284 fail:
2285 return NULL;
2286 }
2287
2288
2289 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2290 PyObject *resultobj;
2291 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2292 wxWindow *arg2 = (wxWindow *) 0 ;
2293 PyObject * obj0 = 0 ;
2294 PyObject * obj1 = 0 ;
2295 char *kwnames[] = {
2296 (char *) "self",(char *) "target", NULL
2297 };
2298
2299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2302 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2304 {
2305 PyThreadState* __tstate = wxPyBeginAllowThreads();
2306 (arg1)->SetTargetWindow(arg2);
2307
2308 wxPyEndAllowThreads(__tstate);
2309 if (PyErr_Occurred()) SWIG_fail;
2310 }
2311 Py_INCREF(Py_None); resultobj = Py_None;
2312 return resultobj;
2313 fail:
2314 return NULL;
2315 }
2316
2317
2318 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2319 PyObject *resultobj;
2320 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2321 wxWindow *result;
2322 PyObject * obj0 = 0 ;
2323 char *kwnames[] = {
2324 (char *) "self", NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 }
2337 {
2338 resultobj = wxPyMake_wxObject(result);
2339 }
2340 return resultobj;
2341 fail:
2342 return NULL;
2343 }
2344
2345
2346 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2347 PyObject *resultobj;
2348 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2349 wxRect *arg2 = 0 ;
2350 wxRect temp2 ;
2351 PyObject * obj0 = 0 ;
2352 PyObject * obj1 = 0 ;
2353 char *kwnames[] = {
2354 (char *) "self",(char *) "rect", NULL
2355 };
2356
2357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2360 {
2361 arg2 = &temp2;
2362 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2363 }
2364 {
2365 PyThreadState* __tstate = wxPyBeginAllowThreads();
2366 (arg1)->SetTargetRect((wxRect const &)*arg2);
2367
2368 wxPyEndAllowThreads(__tstate);
2369 if (PyErr_Occurred()) SWIG_fail;
2370 }
2371 Py_INCREF(Py_None); resultobj = Py_None;
2372 return resultobj;
2373 fail:
2374 return NULL;
2375 }
2376
2377
2378 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2379 PyObject *resultobj;
2380 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2381 wxRect result;
2382 PyObject * obj0 = 0 ;
2383 char *kwnames[] = {
2384 (char *) "self", NULL
2385 };
2386
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2390 {
2391 PyThreadState* __tstate = wxPyBeginAllowThreads();
2392 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2393
2394 wxPyEndAllowThreads(__tstate);
2395 if (PyErr_Occurred()) SWIG_fail;
2396 }
2397 {
2398 wxRect * resultptr;
2399 resultptr = new wxRect((wxRect &) result);
2400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2401 }
2402 return resultobj;
2403 fail:
2404 return NULL;
2405 }
2406
2407
2408 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2409 PyObject *obj;
2410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2411 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2412 Py_INCREF(obj);
2413 return Py_BuildValue((char *)"");
2414 }
2415 static int _wrap_FrameNameStr_set(PyObject *) {
2416 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2417 return 1;
2418 }
2419
2420
2421 static PyObject *_wrap_FrameNameStr_get() {
2422 PyObject *pyobj;
2423
2424 {
2425 #if wxUSE_UNICODE
2426 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2427 #else
2428 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2429 #endif
2430 }
2431 return pyobj;
2432 }
2433
2434
2435 static int _wrap_DialogNameStr_set(PyObject *) {
2436 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2437 return 1;
2438 }
2439
2440
2441 static PyObject *_wrap_DialogNameStr_get() {
2442 PyObject *pyobj;
2443
2444 {
2445 #if wxUSE_UNICODE
2446 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2447 #else
2448 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2449 #endif
2450 }
2451 return pyobj;
2452 }
2453
2454
2455 static int _wrap_StatusLineNameStr_set(PyObject *) {
2456 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2457 return 1;
2458 }
2459
2460
2461 static PyObject *_wrap_StatusLineNameStr_get() {
2462 PyObject *pyobj;
2463
2464 {
2465 #if wxUSE_UNICODE
2466 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2467 #else
2468 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2469 #endif
2470 }
2471 return pyobj;
2472 }
2473
2474
2475 static int _wrap_ToolBarNameStr_set(PyObject *) {
2476 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2477 return 1;
2478 }
2479
2480
2481 static PyObject *_wrap_ToolBarNameStr_get() {
2482 PyObject *pyobj;
2483
2484 {
2485 #if wxUSE_UNICODE
2486 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2487 #else
2488 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2489 #endif
2490 }
2491 return pyobj;
2492 }
2493
2494
2495 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2496 PyObject *resultobj;
2497 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2498 bool arg2 = (bool) True ;
2499 PyObject * obj0 = 0 ;
2500 PyObject * obj1 = 0 ;
2501 char *kwnames[] = {
2502 (char *) "self",(char *) "maximize", NULL
2503 };
2504
2505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2508 if (obj1) {
2509 arg2 = (bool) SWIG_AsBool(obj1);
2510 if (PyErr_Occurred()) SWIG_fail;
2511 }
2512 {
2513 PyThreadState* __tstate = wxPyBeginAllowThreads();
2514 (arg1)->Maximize(arg2);
2515
2516 wxPyEndAllowThreads(__tstate);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 }
2519 Py_INCREF(Py_None); resultobj = Py_None;
2520 return resultobj;
2521 fail:
2522 return NULL;
2523 }
2524
2525
2526 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2527 PyObject *resultobj;
2528 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2529 PyObject * obj0 = 0 ;
2530 char *kwnames[] = {
2531 (char *) "self", NULL
2532 };
2533
2534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2537 {
2538 PyThreadState* __tstate = wxPyBeginAllowThreads();
2539 (arg1)->Restore();
2540
2541 wxPyEndAllowThreads(__tstate);
2542 if (PyErr_Occurred()) SWIG_fail;
2543 }
2544 Py_INCREF(Py_None); resultobj = Py_None;
2545 return resultobj;
2546 fail:
2547 return NULL;
2548 }
2549
2550
2551 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2552 PyObject *resultobj;
2553 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2554 bool arg2 = (bool) True ;
2555 PyObject * obj0 = 0 ;
2556 PyObject * obj1 = 0 ;
2557 char *kwnames[] = {
2558 (char *) "self",(char *) "iconize", NULL
2559 };
2560
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2564 if (obj1) {
2565 arg2 = (bool) SWIG_AsBool(obj1);
2566 if (PyErr_Occurred()) SWIG_fail;
2567 }
2568 {
2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
2570 (arg1)->Iconize(arg2);
2571
2572 wxPyEndAllowThreads(__tstate);
2573 if (PyErr_Occurred()) SWIG_fail;
2574 }
2575 Py_INCREF(Py_None); resultobj = Py_None;
2576 return resultobj;
2577 fail:
2578 return NULL;
2579 }
2580
2581
2582 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2583 PyObject *resultobj;
2584 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2585 bool result;
2586 PyObject * obj0 = 0 ;
2587 char *kwnames[] = {
2588 (char *) "self", NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2594 {
2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
2596 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2597
2598 wxPyEndAllowThreads(__tstate);
2599 if (PyErr_Occurred()) SWIG_fail;
2600 }
2601 {
2602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2603 }
2604 return resultobj;
2605 fail:
2606 return NULL;
2607 }
2608
2609
2610 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2611 PyObject *resultobj;
2612 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2613 bool result;
2614 PyObject * obj0 = 0 ;
2615 char *kwnames[] = {
2616 (char *) "self", NULL
2617 };
2618
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2622 {
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2625
2626 wxPyEndAllowThreads(__tstate);
2627 if (PyErr_Occurred()) SWIG_fail;
2628 }
2629 {
2630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2631 }
2632 return resultobj;
2633 fail:
2634 return NULL;
2635 }
2636
2637
2638 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2639 PyObject *resultobj;
2640 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2641 wxIcon result;
2642 PyObject * obj0 = 0 ;
2643 char *kwnames[] = {
2644 (char *) "self", NULL
2645 };
2646
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2650 {
2651 PyThreadState* __tstate = wxPyBeginAllowThreads();
2652 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2653
2654 wxPyEndAllowThreads(__tstate);
2655 if (PyErr_Occurred()) SWIG_fail;
2656 }
2657 {
2658 wxIcon * resultptr;
2659 resultptr = new wxIcon((wxIcon &) result);
2660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2661 }
2662 return resultobj;
2663 fail:
2664 return NULL;
2665 }
2666
2667
2668 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2669 PyObject *resultobj;
2670 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2671 wxIcon *arg2 = 0 ;
2672 PyObject * obj0 = 0 ;
2673 PyObject * obj1 = 0 ;
2674 char *kwnames[] = {
2675 (char *) "self",(char *) "icon", NULL
2676 };
2677
2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2682 SWIG_POINTER_EXCEPTION | 0)) == -1)
2683 SWIG_fail;
2684 if (arg2 == NULL) {
2685 PyErr_SetString(PyExc_TypeError,"null reference");
2686 SWIG_fail;
2687 }
2688 {
2689 PyThreadState* __tstate = wxPyBeginAllowThreads();
2690 (arg1)->SetIcon((wxIcon const &)*arg2);
2691
2692 wxPyEndAllowThreads(__tstate);
2693 if (PyErr_Occurred()) SWIG_fail;
2694 }
2695 Py_INCREF(Py_None); resultobj = Py_None;
2696 return resultobj;
2697 fail:
2698 return NULL;
2699 }
2700
2701
2702 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
2703 PyObject *resultobj;
2704 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2705 wxIconBundle *arg2 = 0 ;
2706 PyObject * obj0 = 0 ;
2707 PyObject * obj1 = 0 ;
2708 char *kwnames[] = {
2709 (char *) "self",(char *) "icons", NULL
2710 };
2711
2712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2715 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2716 SWIG_POINTER_EXCEPTION | 0)) == -1)
2717 SWIG_fail;
2718 if (arg2 == NULL) {
2719 PyErr_SetString(PyExc_TypeError,"null reference");
2720 SWIG_fail;
2721 }
2722 {
2723 PyThreadState* __tstate = wxPyBeginAllowThreads();
2724 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2725
2726 wxPyEndAllowThreads(__tstate);
2727 if (PyErr_Occurred()) SWIG_fail;
2728 }
2729 Py_INCREF(Py_None); resultobj = Py_None;
2730 return resultobj;
2731 fail:
2732 return NULL;
2733 }
2734
2735
2736 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
2737 PyObject *resultobj;
2738 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2739 bool arg2 ;
2740 long arg3 = (long) wxFULLSCREEN_ALL ;
2741 bool result;
2742 PyObject * obj0 = 0 ;
2743 PyObject * obj1 = 0 ;
2744 PyObject * obj2 = 0 ;
2745 char *kwnames[] = {
2746 (char *) "self",(char *) "show",(char *) "style", NULL
2747 };
2748
2749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2752 arg2 = (bool) SWIG_AsBool(obj1);
2753 if (PyErr_Occurred()) SWIG_fail;
2754 if (obj2) {
2755 arg3 = (long) SWIG_AsLong(obj2);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 }
2758 {
2759 PyThreadState* __tstate = wxPyBeginAllowThreads();
2760 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2761
2762 wxPyEndAllowThreads(__tstate);
2763 if (PyErr_Occurred()) SWIG_fail;
2764 }
2765 {
2766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2767 }
2768 return resultobj;
2769 fail:
2770 return NULL;
2771 }
2772
2773
2774 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
2775 PyObject *resultobj;
2776 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2777 bool result;
2778 PyObject * obj0 = 0 ;
2779 char *kwnames[] = {
2780 (char *) "self", NULL
2781 };
2782
2783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2786 {
2787 PyThreadState* __tstate = wxPyBeginAllowThreads();
2788 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2789
2790 wxPyEndAllowThreads(__tstate);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 }
2793 {
2794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2795 }
2796 return resultobj;
2797 fail:
2798 return NULL;
2799 }
2800
2801
2802 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
2803 PyObject *resultobj;
2804 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2805 wxString *arg2 = 0 ;
2806 bool temp2 = False ;
2807 PyObject * obj0 = 0 ;
2808 PyObject * obj1 = 0 ;
2809 char *kwnames[] = {
2810 (char *) "self",(char *) "title", NULL
2811 };
2812
2813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2816 {
2817 arg2 = wxString_in_helper(obj1);
2818 if (arg2 == NULL) SWIG_fail;
2819 temp2 = True;
2820 }
2821 {
2822 PyThreadState* __tstate = wxPyBeginAllowThreads();
2823 (arg1)->SetTitle((wxString const &)*arg2);
2824
2825 wxPyEndAllowThreads(__tstate);
2826 if (PyErr_Occurred()) SWIG_fail;
2827 }
2828 Py_INCREF(Py_None); resultobj = Py_None;
2829 {
2830 if (temp2)
2831 delete arg2;
2832 }
2833 return resultobj;
2834 fail:
2835 {
2836 if (temp2)
2837 delete arg2;
2838 }
2839 return NULL;
2840 }
2841
2842
2843 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
2844 PyObject *resultobj;
2845 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2846 wxString result;
2847 PyObject * obj0 = 0 ;
2848 char *kwnames[] = {
2849 (char *) "self", NULL
2850 };
2851
2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2855 {
2856 PyThreadState* __tstate = wxPyBeginAllowThreads();
2857 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2858
2859 wxPyEndAllowThreads(__tstate);
2860 if (PyErr_Occurred()) SWIG_fail;
2861 }
2862 {
2863 #if wxUSE_UNICODE
2864 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2865 #else
2866 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2867 #endif
2868 }
2869 return resultobj;
2870 fail:
2871 return NULL;
2872 }
2873
2874
2875 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
2876 PyObject *resultobj;
2877 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2878 wxRegion *arg2 = 0 ;
2879 bool result;
2880 PyObject * obj0 = 0 ;
2881 PyObject * obj1 = 0 ;
2882 char *kwnames[] = {
2883 (char *) "self",(char *) "region", NULL
2884 };
2885
2886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2889 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2890 SWIG_POINTER_EXCEPTION | 0)) == -1)
2891 SWIG_fail;
2892 if (arg2 == NULL) {
2893 PyErr_SetString(PyExc_TypeError,"null reference");
2894 SWIG_fail;
2895 }
2896 {
2897 PyThreadState* __tstate = wxPyBeginAllowThreads();
2898 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2899
2900 wxPyEndAllowThreads(__tstate);
2901 if (PyErr_Occurred()) SWIG_fail;
2902 }
2903 {
2904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2905 }
2906 return resultobj;
2907 fail:
2908 return NULL;
2909 }
2910
2911
2912 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
2913 PyObject *obj;
2914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2915 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2916 Py_INCREF(obj);
2917 return Py_BuildValue((char *)"");
2918 }
2919 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
2920 PyObject *resultobj;
2921 wxWindow *arg1 = (wxWindow *) 0 ;
2922 int arg2 ;
2923 wxString *arg3 = 0 ;
2924 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2925 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2926 wxSize const &arg5_defvalue = wxDefaultSize ;
2927 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2928 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2929 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2930 wxString *arg7 = (wxString *) &arg7_defvalue ;
2931 wxFrame *result;
2932 bool temp3 = False ;
2933 wxPoint temp4 ;
2934 wxSize temp5 ;
2935 bool temp7 = False ;
2936 PyObject * obj0 = 0 ;
2937 PyObject * obj1 = 0 ;
2938 PyObject * obj2 = 0 ;
2939 PyObject * obj3 = 0 ;
2940 PyObject * obj4 = 0 ;
2941 PyObject * obj5 = 0 ;
2942 PyObject * obj6 = 0 ;
2943 char *kwnames[] = {
2944 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2945 };
2946
2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2950 arg2 = (int const) SWIG_AsInt(obj1);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 {
2953 arg3 = wxString_in_helper(obj2);
2954 if (arg3 == NULL) SWIG_fail;
2955 temp3 = True;
2956 }
2957 if (obj3) {
2958 {
2959 arg4 = &temp4;
2960 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2961 }
2962 }
2963 if (obj4) {
2964 {
2965 arg5 = &temp5;
2966 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2967 }
2968 }
2969 if (obj5) {
2970 arg6 = (long) SWIG_AsLong(obj5);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 }
2973 if (obj6) {
2974 {
2975 arg7 = wxString_in_helper(obj6);
2976 if (arg7 == NULL) SWIG_fail;
2977 temp7 = True;
2978 }
2979 }
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 {
2988 resultobj = wxPyMake_wxObject(result);
2989 }
2990 {
2991 if (temp3)
2992 delete arg3;
2993 }
2994 {
2995 if (temp7)
2996 delete arg7;
2997 }
2998 return resultobj;
2999 fail:
3000 {
3001 if (temp3)
3002 delete arg3;
3003 }
3004 {
3005 if (temp7)
3006 delete arg7;
3007 }
3008 return NULL;
3009 }
3010
3011
3012 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3013 PyObject *resultobj;
3014 wxFrame *result;
3015 char *kwnames[] = {
3016 NULL
3017 };
3018
3019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 result = (wxFrame *)new wxFrame();
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 {
3028 resultobj = wxPyMake_wxObject(result);
3029 }
3030 return resultobj;
3031 fail:
3032 return NULL;
3033 }
3034
3035
3036 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3037 PyObject *resultobj;
3038 wxFrame *arg1 = (wxFrame *) 0 ;
3039 wxWindow *arg2 = (wxWindow *) 0 ;
3040 int arg3 ;
3041 wxString *arg4 = 0 ;
3042 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3043 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3044 wxSize const &arg6_defvalue = wxDefaultSize ;
3045 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3046 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3047 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3048 wxString *arg8 = (wxString *) &arg8_defvalue ;
3049 bool result;
3050 bool temp4 = False ;
3051 wxPoint temp5 ;
3052 wxSize temp6 ;
3053 bool temp8 = False ;
3054 PyObject * obj0 = 0 ;
3055 PyObject * obj1 = 0 ;
3056 PyObject * obj2 = 0 ;
3057 PyObject * obj3 = 0 ;
3058 PyObject * obj4 = 0 ;
3059 PyObject * obj5 = 0 ;
3060 PyObject * obj6 = 0 ;
3061 PyObject * obj7 = 0 ;
3062 char *kwnames[] = {
3063 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3064 };
3065
3066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3071 arg3 = (int const) SWIG_AsInt(obj2);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 {
3074 arg4 = wxString_in_helper(obj3);
3075 if (arg4 == NULL) SWIG_fail;
3076 temp4 = True;
3077 }
3078 if (obj4) {
3079 {
3080 arg5 = &temp5;
3081 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3082 }
3083 }
3084 if (obj5) {
3085 {
3086 arg6 = &temp6;
3087 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3088 }
3089 }
3090 if (obj6) {
3091 arg7 = (long) SWIG_AsLong(obj6);
3092 if (PyErr_Occurred()) SWIG_fail;
3093 }
3094 if (obj7) {
3095 {
3096 arg8 = wxString_in_helper(obj7);
3097 if (arg8 == NULL) SWIG_fail;
3098 temp8 = True;
3099 }
3100 }
3101 {
3102 PyThreadState* __tstate = wxPyBeginAllowThreads();
3103 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3104
3105 wxPyEndAllowThreads(__tstate);
3106 if (PyErr_Occurred()) SWIG_fail;
3107 }
3108 {
3109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3110 }
3111 {
3112 if (temp4)
3113 delete arg4;
3114 }
3115 {
3116 if (temp8)
3117 delete arg8;
3118 }
3119 return resultobj;
3120 fail:
3121 {
3122 if (temp4)
3123 delete arg4;
3124 }
3125 {
3126 if (temp8)
3127 delete arg8;
3128 }
3129 return NULL;
3130 }
3131
3132
3133 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3134 PyObject *resultobj;
3135 wxFrame *arg1 = (wxFrame *) 0 ;
3136 wxPoint result;
3137 PyObject * obj0 = 0 ;
3138 char *kwnames[] = {
3139 (char *) "self", NULL
3140 };
3141
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3145 {
3146 PyThreadState* __tstate = wxPyBeginAllowThreads();
3147 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3148
3149 wxPyEndAllowThreads(__tstate);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 }
3152 {
3153 wxPoint * resultptr;
3154 resultptr = new wxPoint((wxPoint &) result);
3155 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3156 }
3157 return resultobj;
3158 fail:
3159 return NULL;
3160 }
3161
3162
3163 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3164 PyObject *resultobj;
3165 wxFrame *arg1 = (wxFrame *) 0 ;
3166 PyObject * obj0 = 0 ;
3167 char *kwnames[] = {
3168 (char *) "self", NULL
3169 };
3170
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3174 {
3175 PyThreadState* __tstate = wxPyBeginAllowThreads();
3176 (arg1)->SendSizeEvent();
3177
3178 wxPyEndAllowThreads(__tstate);
3179 if (PyErr_Occurred()) SWIG_fail;
3180 }
3181 Py_INCREF(Py_None); resultobj = Py_None;
3182 return resultobj;
3183 fail:
3184 return NULL;
3185 }
3186
3187
3188 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3189 PyObject *resultobj;
3190 wxFrame *arg1 = (wxFrame *) 0 ;
3191 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3192 PyObject * obj0 = 0 ;
3193 PyObject * obj1 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self",(char *) "menubar", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3203 {
3204 PyThreadState* __tstate = wxPyBeginAllowThreads();
3205 (arg1)->SetMenuBar(arg2);
3206
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
3210 Py_INCREF(Py_None); resultobj = Py_None;
3211 return resultobj;
3212 fail:
3213 return NULL;
3214 }
3215
3216
3217 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3218 PyObject *resultobj;
3219 wxFrame *arg1 = (wxFrame *) 0 ;
3220 wxMenuBar *result;
3221 PyObject * obj0 = 0 ;
3222 char *kwnames[] = {
3223 (char *) "self", NULL
3224 };
3225
3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3229 {
3230 PyThreadState* __tstate = wxPyBeginAllowThreads();
3231 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3232
3233 wxPyEndAllowThreads(__tstate);
3234 if (PyErr_Occurred()) SWIG_fail;
3235 }
3236 {
3237 resultobj = wxPyMake_wxObject(result);
3238 }
3239 return resultobj;
3240 fail:
3241 return NULL;
3242 }
3243
3244
3245 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3246 PyObject *resultobj;
3247 wxFrame *arg1 = (wxFrame *) 0 ;
3248 int arg2 ;
3249 bool result;
3250 PyObject * obj0 = 0 ;
3251 PyObject * obj1 = 0 ;
3252 char *kwnames[] = {
3253 (char *) "self",(char *) "winid", NULL
3254 };
3255
3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3259 arg2 = (int) SWIG_AsInt(obj1);
3260 if (PyErr_Occurred()) SWIG_fail;
3261 {
3262 PyThreadState* __tstate = wxPyBeginAllowThreads();
3263 result = (bool)(arg1)->ProcessCommand(arg2);
3264
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
3268 {
3269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3270 }
3271 return resultobj;
3272 fail:
3273 return NULL;
3274 }
3275
3276
3277 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3278 PyObject *resultobj;
3279 wxFrame *arg1 = (wxFrame *) 0 ;
3280 int arg2 = (int) 1 ;
3281 long arg3 = (long) wxST_SIZEGRIP ;
3282 int arg4 = (int) 0 ;
3283 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3284 wxString *arg5 = (wxString *) &arg5_defvalue ;
3285 wxStatusBar *result;
3286 bool temp5 = False ;
3287 PyObject * obj0 = 0 ;
3288 PyObject * obj1 = 0 ;
3289 PyObject * obj2 = 0 ;
3290 PyObject * obj3 = 0 ;
3291 PyObject * obj4 = 0 ;
3292 char *kwnames[] = {
3293 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3294 };
3295
3296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3299 if (obj1) {
3300 arg2 = (int) SWIG_AsInt(obj1);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 }
3303 if (obj2) {
3304 arg3 = (long) SWIG_AsLong(obj2);
3305 if (PyErr_Occurred()) SWIG_fail;
3306 }
3307 if (obj3) {
3308 arg4 = (int) SWIG_AsInt(obj3);
3309 if (PyErr_Occurred()) SWIG_fail;
3310 }
3311 if (obj4) {
3312 {
3313 arg5 = wxString_in_helper(obj4);
3314 if (arg5 == NULL) SWIG_fail;
3315 temp5 = True;
3316 }
3317 }
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 {
3326 resultobj = wxPyMake_wxObject(result);
3327 }
3328 {
3329 if (temp5)
3330 delete arg5;
3331 }
3332 return resultobj;
3333 fail:
3334 {
3335 if (temp5)
3336 delete arg5;
3337 }
3338 return NULL;
3339 }
3340
3341
3342 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3343 PyObject *resultobj;
3344 wxFrame *arg1 = (wxFrame *) 0 ;
3345 wxStatusBar *result;
3346 PyObject * obj0 = 0 ;
3347 char *kwnames[] = {
3348 (char *) "self", NULL
3349 };
3350
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 {
3362 resultobj = wxPyMake_wxObject(result);
3363 }
3364 return resultobj;
3365 fail:
3366 return NULL;
3367 }
3368
3369
3370 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3371 PyObject *resultobj;
3372 wxFrame *arg1 = (wxFrame *) 0 ;
3373 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3374 PyObject * obj0 = 0 ;
3375 PyObject * obj1 = 0 ;
3376 char *kwnames[] = {
3377 (char *) "self",(char *) "statBar", NULL
3378 };
3379
3380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3385 {
3386 PyThreadState* __tstate = wxPyBeginAllowThreads();
3387 (arg1)->SetStatusBar(arg2);
3388
3389 wxPyEndAllowThreads(__tstate);
3390 if (PyErr_Occurred()) SWIG_fail;
3391 }
3392 Py_INCREF(Py_None); resultobj = Py_None;
3393 return resultobj;
3394 fail:
3395 return NULL;
3396 }
3397
3398
3399 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3400 PyObject *resultobj;
3401 wxFrame *arg1 = (wxFrame *) 0 ;
3402 wxString *arg2 = 0 ;
3403 int arg3 = (int) 0 ;
3404 bool temp2 = False ;
3405 PyObject * obj0 = 0 ;
3406 PyObject * obj1 = 0 ;
3407 PyObject * obj2 = 0 ;
3408 char *kwnames[] = {
3409 (char *) "self",(char *) "text",(char *) "number", NULL
3410 };
3411
3412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3415 {
3416 arg2 = wxString_in_helper(obj1);
3417 if (arg2 == NULL) SWIG_fail;
3418 temp2 = True;
3419 }
3420 if (obj2) {
3421 arg3 = (int) SWIG_AsInt(obj2);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 {
3425 PyThreadState* __tstate = wxPyBeginAllowThreads();
3426 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3427
3428 wxPyEndAllowThreads(__tstate);
3429 if (PyErr_Occurred()) SWIG_fail;
3430 }
3431 Py_INCREF(Py_None); resultobj = Py_None;
3432 {
3433 if (temp2)
3434 delete arg2;
3435 }
3436 return resultobj;
3437 fail:
3438 {
3439 if (temp2)
3440 delete arg2;
3441 }
3442 return NULL;
3443 }
3444
3445
3446 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3447 PyObject *resultobj;
3448 wxFrame *arg1 = (wxFrame *) 0 ;
3449 int arg2 ;
3450 int *arg3 = (int *) 0 ;
3451 PyObject * obj0 = 0 ;
3452 PyObject * obj1 = 0 ;
3453 char *kwnames[] = {
3454 (char *) "self",(char *) "widths", NULL
3455 };
3456
3457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3460 {
3461 arg2 = PyList_Size(obj1);
3462 arg3 = int_LIST_helper(obj1);
3463 if (arg3 == NULL) SWIG_fail;
3464 }
3465 {
3466 PyThreadState* __tstate = wxPyBeginAllowThreads();
3467 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3468
3469 wxPyEndAllowThreads(__tstate);
3470 if (PyErr_Occurred()) SWIG_fail;
3471 }
3472 Py_INCREF(Py_None); resultobj = Py_None;
3473 {
3474 if (arg3) delete [] arg3;
3475 }
3476 return resultobj;
3477 fail:
3478 {
3479 if (arg3) delete [] arg3;
3480 }
3481 return NULL;
3482 }
3483
3484
3485 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3486 PyObject *resultobj;
3487 wxFrame *arg1 = (wxFrame *) 0 ;
3488 wxString *arg2 = 0 ;
3489 int arg3 = (int) 0 ;
3490 bool temp2 = False ;
3491 PyObject * obj0 = 0 ;
3492 PyObject * obj1 = 0 ;
3493 PyObject * obj2 = 0 ;
3494 char *kwnames[] = {
3495 (char *) "self",(char *) "text",(char *) "number", NULL
3496 };
3497
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3501 {
3502 arg2 = wxString_in_helper(obj1);
3503 if (arg2 == NULL) SWIG_fail;
3504 temp2 = True;
3505 }
3506 if (obj2) {
3507 arg3 = (int) SWIG_AsInt(obj2);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 {
3511 PyThreadState* __tstate = wxPyBeginAllowThreads();
3512 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3513
3514 wxPyEndAllowThreads(__tstate);
3515 if (PyErr_Occurred()) SWIG_fail;
3516 }
3517 Py_INCREF(Py_None); resultobj = Py_None;
3518 {
3519 if (temp2)
3520 delete arg2;
3521 }
3522 return resultobj;
3523 fail:
3524 {
3525 if (temp2)
3526 delete arg2;
3527 }
3528 return NULL;
3529 }
3530
3531
3532 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxFrame *arg1 = (wxFrame *) 0 ;
3535 int arg2 = (int) 0 ;
3536 PyObject * obj0 = 0 ;
3537 PyObject * obj1 = 0 ;
3538 char *kwnames[] = {
3539 (char *) "self",(char *) "number", NULL
3540 };
3541
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3545 if (obj1) {
3546 arg2 = (int) SWIG_AsInt(obj1);
3547 if (PyErr_Occurred()) SWIG_fail;
3548 }
3549 {
3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
3551 (arg1)->PopStatusText(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_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3564 PyObject *resultobj;
3565 wxFrame *arg1 = (wxFrame *) 0 ;
3566 int arg2 ;
3567 PyObject * obj0 = 0 ;
3568 PyObject * obj1 = 0 ;
3569 char *kwnames[] = {
3570 (char *) "self",(char *) "n", NULL
3571 };
3572
3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3576 arg2 = (int) SWIG_AsInt(obj1);
3577 if (PyErr_Occurred()) SWIG_fail;
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 (arg1)->SetStatusBarPane(arg2);
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) SWIG_fail;
3584 }
3585 Py_INCREF(Py_None); resultobj = Py_None;
3586 return resultobj;
3587 fail:
3588 return NULL;
3589 }
3590
3591
3592 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3593 PyObject *resultobj;
3594 wxFrame *arg1 = (wxFrame *) 0 ;
3595 int result;
3596 PyObject * obj0 = 0 ;
3597 char *kwnames[] = {
3598 (char *) "self", NULL
3599 };
3600
3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3604 {
3605 PyThreadState* __tstate = wxPyBeginAllowThreads();
3606 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3607
3608 wxPyEndAllowThreads(__tstate);
3609 if (PyErr_Occurred()) SWIG_fail;
3610 }
3611 resultobj = SWIG_FromInt((int)result);
3612 return resultobj;
3613 fail:
3614 return NULL;
3615 }
3616
3617
3618 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3619 PyObject *resultobj;
3620 wxFrame *arg1 = (wxFrame *) 0 ;
3621 long arg2 = (long) -1 ;
3622 int arg3 = (int) -1 ;
3623 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3624 wxString *arg4 = (wxString *) &arg4_defvalue ;
3625 wxToolBar *result;
3626 bool temp4 = False ;
3627 PyObject * obj0 = 0 ;
3628 PyObject * obj1 = 0 ;
3629 PyObject * obj2 = 0 ;
3630 PyObject * obj3 = 0 ;
3631 char *kwnames[] = {
3632 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3633 };
3634
3635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3638 if (obj1) {
3639 arg2 = (long) SWIG_AsLong(obj1);
3640 if (PyErr_Occurred()) SWIG_fail;
3641 }
3642 if (obj2) {
3643 arg3 = (int) SWIG_AsInt(obj2);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 if (obj3) {
3647 {
3648 arg4 = wxString_in_helper(obj3);
3649 if (arg4 == NULL) SWIG_fail;
3650 temp4 = True;
3651 }
3652 }
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 {
3661 resultobj = wxPyMake_wxObject(result);
3662 }
3663 {
3664 if (temp4)
3665 delete arg4;
3666 }
3667 return resultobj;
3668 fail:
3669 {
3670 if (temp4)
3671 delete arg4;
3672 }
3673 return NULL;
3674 }
3675
3676
3677 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3678 PyObject *resultobj;
3679 wxFrame *arg1 = (wxFrame *) 0 ;
3680 wxToolBar *result;
3681 PyObject * obj0 = 0 ;
3682 char *kwnames[] = {
3683 (char *) "self", NULL
3684 };
3685
3686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3689 {
3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
3691 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3692
3693 wxPyEndAllowThreads(__tstate);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 {
3697 resultobj = wxPyMake_wxObject(result);
3698 }
3699 return resultobj;
3700 fail:
3701 return NULL;
3702 }
3703
3704
3705 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3706 PyObject *resultobj;
3707 wxFrame *arg1 = (wxFrame *) 0 ;
3708 wxToolBar *arg2 = (wxToolBar *) 0 ;
3709 PyObject * obj0 = 0 ;
3710 PyObject * obj1 = 0 ;
3711 char *kwnames[] = {
3712 (char *) "self",(char *) "toolbar", NULL
3713 };
3714
3715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3718 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3720 {
3721 PyThreadState* __tstate = wxPyBeginAllowThreads();
3722 (arg1)->SetToolBar(arg2);
3723
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 Py_INCREF(Py_None); resultobj = Py_None;
3728 return resultobj;
3729 fail:
3730 return NULL;
3731 }
3732
3733
3734 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
3735 PyObject *resultobj;
3736 wxFrame *arg1 = (wxFrame *) 0 ;
3737 wxString *arg2 = 0 ;
3738 bool arg3 ;
3739 bool temp2 = False ;
3740 PyObject * obj0 = 0 ;
3741 PyObject * obj1 = 0 ;
3742 PyObject * obj2 = 0 ;
3743 char *kwnames[] = {
3744 (char *) "self",(char *) "text",(char *) "show", NULL
3745 };
3746
3747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3750 {
3751 arg2 = wxString_in_helper(obj1);
3752 if (arg2 == NULL) SWIG_fail;
3753 temp2 = True;
3754 }
3755 arg3 = (bool) SWIG_AsBool(obj2);
3756 if (PyErr_Occurred()) SWIG_fail;
3757 {
3758 PyThreadState* __tstate = wxPyBeginAllowThreads();
3759 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3760
3761 wxPyEndAllowThreads(__tstate);
3762 if (PyErr_Occurred()) SWIG_fail;
3763 }
3764 Py_INCREF(Py_None); resultobj = Py_None;
3765 {
3766 if (temp2)
3767 delete arg2;
3768 }
3769 return resultobj;
3770 fail:
3771 {
3772 if (temp2)
3773 delete arg2;
3774 }
3775 return NULL;
3776 }
3777
3778
3779 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
3780 PyObject *resultobj;
3781 wxFrame *arg1 = (wxFrame *) 0 ;
3782 wxMenu *arg2 = (wxMenu *) NULL ;
3783 PyObject * obj0 = 0 ;
3784 PyObject * obj1 = 0 ;
3785 char *kwnames[] = {
3786 (char *) "self",(char *) "menu", NULL
3787 };
3788
3789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3792 if (obj1) {
3793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3795 }
3796 {
3797 PyThreadState* __tstate = wxPyBeginAllowThreads();
3798 (arg1)->DoMenuUpdates(arg2);
3799
3800 wxPyEndAllowThreads(__tstate);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 }
3803 Py_INCREF(Py_None); resultobj = Py_None;
3804 return resultobj;
3805 fail:
3806 return NULL;
3807 }
3808
3809
3810 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
3811 PyObject *obj;
3812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3813 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3814 Py_INCREF(obj);
3815 return Py_BuildValue((char *)"");
3816 }
3817 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
3818 PyObject *resultobj;
3819 wxWindow *arg1 = (wxWindow *) 0 ;
3820 int arg2 ;
3821 wxString *arg3 = 0 ;
3822 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3823 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3824 wxSize const &arg5_defvalue = wxDefaultSize ;
3825 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3826 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3827 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3828 wxString *arg7 = (wxString *) &arg7_defvalue ;
3829 wxDialog *result;
3830 bool temp3 = False ;
3831 wxPoint temp4 ;
3832 wxSize temp5 ;
3833 bool temp7 = False ;
3834 PyObject * obj0 = 0 ;
3835 PyObject * obj1 = 0 ;
3836 PyObject * obj2 = 0 ;
3837 PyObject * obj3 = 0 ;
3838 PyObject * obj4 = 0 ;
3839 PyObject * obj5 = 0 ;
3840 PyObject * obj6 = 0 ;
3841 char *kwnames[] = {
3842 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3843 };
3844
3845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3848 arg2 = (int const) SWIG_AsInt(obj1);
3849 if (PyErr_Occurred()) SWIG_fail;
3850 {
3851 arg3 = wxString_in_helper(obj2);
3852 if (arg3 == NULL) SWIG_fail;
3853 temp3 = True;
3854 }
3855 if (obj3) {
3856 {
3857 arg4 = &temp4;
3858 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3859 }
3860 }
3861 if (obj4) {
3862 {
3863 arg5 = &temp5;
3864 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3865 }
3866 }
3867 if (obj5) {
3868 arg6 = (long) SWIG_AsLong(obj5);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 if (obj6) {
3872 {
3873 arg7 = wxString_in_helper(obj6);
3874 if (arg7 == NULL) SWIG_fail;
3875 temp7 = True;
3876 }
3877 }
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3886 {
3887 if (temp3)
3888 delete arg3;
3889 }
3890 {
3891 if (temp7)
3892 delete arg7;
3893 }
3894 return resultobj;
3895 fail:
3896 {
3897 if (temp3)
3898 delete arg3;
3899 }
3900 {
3901 if (temp7)
3902 delete arg7;
3903 }
3904 return NULL;
3905 }
3906
3907
3908 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
3909 PyObject *resultobj;
3910 wxDialog *result;
3911 char *kwnames[] = {
3912 NULL
3913 };
3914
3915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3916 {
3917 PyThreadState* __tstate = wxPyBeginAllowThreads();
3918 result = (wxDialog *)new wxDialog();
3919
3920 wxPyEndAllowThreads(__tstate);
3921 if (PyErr_Occurred()) SWIG_fail;
3922 }
3923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3924 return resultobj;
3925 fail:
3926 return NULL;
3927 }
3928
3929
3930 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3931 PyObject *resultobj;
3932 wxDialog *arg1 = (wxDialog *) 0 ;
3933 wxWindow *arg2 = (wxWindow *) 0 ;
3934 int arg3 ;
3935 wxString *arg4 = 0 ;
3936 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3937 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3938 wxSize const &arg6_defvalue = wxDefaultSize ;
3939 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3940 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3941 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3942 wxString *arg8 = (wxString *) &arg8_defvalue ;
3943 bool result;
3944 bool temp4 = False ;
3945 wxPoint temp5 ;
3946 wxSize temp6 ;
3947 bool temp8 = False ;
3948 PyObject * obj0 = 0 ;
3949 PyObject * obj1 = 0 ;
3950 PyObject * obj2 = 0 ;
3951 PyObject * obj3 = 0 ;
3952 PyObject * obj4 = 0 ;
3953 PyObject * obj5 = 0 ;
3954 PyObject * obj6 = 0 ;
3955 PyObject * obj7 = 0 ;
3956 char *kwnames[] = {
3957 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3958 };
3959
3960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3965 arg3 = (int const) SWIG_AsInt(obj2);
3966 if (PyErr_Occurred()) SWIG_fail;
3967 {
3968 arg4 = wxString_in_helper(obj3);
3969 if (arg4 == NULL) SWIG_fail;
3970 temp4 = True;
3971 }
3972 if (obj4) {
3973 {
3974 arg5 = &temp5;
3975 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3976 }
3977 }
3978 if (obj5) {
3979 {
3980 arg6 = &temp6;
3981 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3982 }
3983 }
3984 if (obj6) {
3985 arg7 = (long) SWIG_AsLong(obj6);
3986 if (PyErr_Occurred()) SWIG_fail;
3987 }
3988 if (obj7) {
3989 {
3990 arg8 = wxString_in_helper(obj7);
3991 if (arg8 == NULL) SWIG_fail;
3992 temp8 = True;
3993 }
3994 }
3995 {
3996 PyThreadState* __tstate = wxPyBeginAllowThreads();
3997 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3998
3999 wxPyEndAllowThreads(__tstate);
4000 if (PyErr_Occurred()) SWIG_fail;
4001 }
4002 {
4003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4004 }
4005 {
4006 if (temp4)
4007 delete arg4;
4008 }
4009 {
4010 if (temp8)
4011 delete arg8;
4012 }
4013 return resultobj;
4014 fail:
4015 {
4016 if (temp4)
4017 delete arg4;
4018 }
4019 {
4020 if (temp8)
4021 delete arg8;
4022 }
4023 return NULL;
4024 }
4025
4026
4027 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4028 PyObject *resultobj;
4029 wxDialog *arg1 = (wxDialog *) 0 ;
4030 int arg2 ;
4031 PyObject * obj0 = 0 ;
4032 PyObject * obj1 = 0 ;
4033 char *kwnames[] = {
4034 (char *) "self",(char *) "returnCode", NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4040 arg2 = (int) SWIG_AsInt(obj1);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 {
4043 PyThreadState* __tstate = wxPyBeginAllowThreads();
4044 (arg1)->SetReturnCode(arg2);
4045
4046 wxPyEndAllowThreads(__tstate);
4047 if (PyErr_Occurred()) SWIG_fail;
4048 }
4049 Py_INCREF(Py_None); resultobj = Py_None;
4050 return resultobj;
4051 fail:
4052 return NULL;
4053 }
4054
4055
4056 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4057 PyObject *resultobj;
4058 wxDialog *arg1 = (wxDialog *) 0 ;
4059 int result;
4060 PyObject * obj0 = 0 ;
4061 char *kwnames[] = {
4062 (char *) "self", NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4068 {
4069 PyThreadState* __tstate = wxPyBeginAllowThreads();
4070 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4071
4072 wxPyEndAllowThreads(__tstate);
4073 if (PyErr_Occurred()) SWIG_fail;
4074 }
4075 resultobj = SWIG_FromInt((int)result);
4076 return resultobj;
4077 fail:
4078 return NULL;
4079 }
4080
4081
4082 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4083 PyObject *resultobj;
4084 wxDialog *arg1 = (wxDialog *) 0 ;
4085 wxString *arg2 = 0 ;
4086 wxSizer *result;
4087 bool temp2 = False ;
4088 PyObject * obj0 = 0 ;
4089 PyObject * obj1 = 0 ;
4090 char *kwnames[] = {
4091 (char *) "self",(char *) "message", NULL
4092 };
4093
4094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4097 {
4098 arg2 = wxString_in_helper(obj1);
4099 if (arg2 == NULL) SWIG_fail;
4100 temp2 = True;
4101 }
4102 {
4103 PyThreadState* __tstate = wxPyBeginAllowThreads();
4104 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4105
4106 wxPyEndAllowThreads(__tstate);
4107 if (PyErr_Occurred()) SWIG_fail;
4108 }
4109 {
4110 resultobj = wxPyMake_wxSizer(result);
4111 }
4112 {
4113 if (temp2)
4114 delete arg2;
4115 }
4116 return resultobj;
4117 fail:
4118 {
4119 if (temp2)
4120 delete arg2;
4121 }
4122 return NULL;
4123 }
4124
4125
4126 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4127 PyObject *resultobj;
4128 wxDialog *arg1 = (wxDialog *) 0 ;
4129 long arg2 ;
4130 wxSizer *result;
4131 PyObject * obj0 = 0 ;
4132 PyObject * obj1 = 0 ;
4133 char *kwnames[] = {
4134 (char *) "self",(char *) "flags", NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4140 arg2 = (long) SWIG_AsLong(obj1);
4141 if (PyErr_Occurred()) SWIG_fail;
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4145
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4149 {
4150 resultobj = wxPyMake_wxSizer(result);
4151 }
4152 return resultobj;
4153 fail:
4154 return NULL;
4155 }
4156
4157
4158 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4159 PyObject *resultobj;
4160 wxDialog *arg1 = (wxDialog *) 0 ;
4161 bool result;
4162 PyObject * obj0 = 0 ;
4163 char *kwnames[] = {
4164 (char *) "self", NULL
4165 };
4166
4167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4170 {
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 result = (bool)((wxDialog const *)arg1)->IsModal();
4173
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 {
4178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4179 }
4180 return resultobj;
4181 fail:
4182 return NULL;
4183 }
4184
4185
4186 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4187 PyObject *resultobj;
4188 wxDialog *arg1 = (wxDialog *) 0 ;
4189 int result;
4190 PyObject * obj0 = 0 ;
4191 char *kwnames[] = {
4192 (char *) "self", NULL
4193 };
4194
4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 result = (int)(arg1)->ShowModal();
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 resultobj = SWIG_FromInt((int)result);
4206 return resultobj;
4207 fail:
4208 return NULL;
4209 }
4210
4211
4212 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj;
4214 wxDialog *arg1 = (wxDialog *) 0 ;
4215 int arg2 ;
4216 PyObject * obj0 = 0 ;
4217 PyObject * obj1 = 0 ;
4218 char *kwnames[] = {
4219 (char *) "self",(char *) "retCode", NULL
4220 };
4221
4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4225 arg2 = (int) SWIG_AsInt(obj1);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 (arg1)->EndModal(arg2);
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 Py_INCREF(Py_None); resultobj = Py_None;
4235 return resultobj;
4236 fail:
4237 return NULL;
4238 }
4239
4240
4241 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *, PyObject *args, PyObject *kwargs) {
4242 PyObject *resultobj;
4243 wxDialog *arg1 = (wxDialog *) 0 ;
4244 bool result;
4245 PyObject * obj0 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "self", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 result = (bool)wxDialog_IsModalShowing(arg1);
4256
4257 wxPyEndAllowThreads(__tstate);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4260 {
4261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4262 }
4263 return resultobj;
4264 fail:
4265 return NULL;
4266 }
4267
4268
4269 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4270 PyObject *obj;
4271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4272 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4273 Py_INCREF(obj);
4274 return Py_BuildValue((char *)"");
4275 }
4276 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4277 PyObject *resultobj;
4278 wxWindow *arg1 = (wxWindow *) 0 ;
4279 int arg2 ;
4280 wxString *arg3 = 0 ;
4281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4283 wxSize const &arg5_defvalue = wxDefaultSize ;
4284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4285 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4286 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4287 wxString *arg7 = (wxString *) &arg7_defvalue ;
4288 wxMiniFrame *result;
4289 bool temp3 = False ;
4290 wxPoint temp4 ;
4291 wxSize temp5 ;
4292 bool temp7 = False ;
4293 PyObject * obj0 = 0 ;
4294 PyObject * obj1 = 0 ;
4295 PyObject * obj2 = 0 ;
4296 PyObject * obj3 = 0 ;
4297 PyObject * obj4 = 0 ;
4298 PyObject * obj5 = 0 ;
4299 PyObject * obj6 = 0 ;
4300 char *kwnames[] = {
4301 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4302 };
4303
4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4307 arg2 = (int const) SWIG_AsInt(obj1);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 {
4310 arg3 = wxString_in_helper(obj2);
4311 if (arg3 == NULL) SWIG_fail;
4312 temp3 = True;
4313 }
4314 if (obj3) {
4315 {
4316 arg4 = &temp4;
4317 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4318 }
4319 }
4320 if (obj4) {
4321 {
4322 arg5 = &temp5;
4323 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4324 }
4325 }
4326 if (obj5) {
4327 arg6 = (long) SWIG_AsLong(obj5);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
4330 if (obj6) {
4331 {
4332 arg7 = wxString_in_helper(obj6);
4333 if (arg7 == NULL) SWIG_fail;
4334 temp7 = True;
4335 }
4336 }
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4345 {
4346 if (temp3)
4347 delete arg3;
4348 }
4349 {
4350 if (temp7)
4351 delete arg7;
4352 }
4353 return resultobj;
4354 fail:
4355 {
4356 if (temp3)
4357 delete arg3;
4358 }
4359 {
4360 if (temp7)
4361 delete arg7;
4362 }
4363 return NULL;
4364 }
4365
4366
4367 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4368 PyObject *resultobj;
4369 wxMiniFrame *result;
4370 char *kwnames[] = {
4371 NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4375 {
4376 PyThreadState* __tstate = wxPyBeginAllowThreads();
4377 result = (wxMiniFrame *)new wxMiniFrame();
4378
4379 wxPyEndAllowThreads(__tstate);
4380 if (PyErr_Occurred()) SWIG_fail;
4381 }
4382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4383 return resultobj;
4384 fail:
4385 return NULL;
4386 }
4387
4388
4389 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4390 PyObject *resultobj;
4391 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4392 wxWindow *arg2 = (wxWindow *) 0 ;
4393 int arg3 ;
4394 wxString *arg4 = 0 ;
4395 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4396 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4397 wxSize const &arg6_defvalue = wxDefaultSize ;
4398 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4399 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4400 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4401 wxString *arg8 = (wxString *) &arg8_defvalue ;
4402 bool result;
4403 bool temp4 = False ;
4404 wxPoint temp5 ;
4405 wxSize temp6 ;
4406 bool temp8 = False ;
4407 PyObject * obj0 = 0 ;
4408 PyObject * obj1 = 0 ;
4409 PyObject * obj2 = 0 ;
4410 PyObject * obj3 = 0 ;
4411 PyObject * obj4 = 0 ;
4412 PyObject * obj5 = 0 ;
4413 PyObject * obj6 = 0 ;
4414 PyObject * obj7 = 0 ;
4415 char *kwnames[] = {
4416 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4417 };
4418
4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4424 arg3 = (int const) SWIG_AsInt(obj2);
4425 if (PyErr_Occurred()) SWIG_fail;
4426 {
4427 arg4 = wxString_in_helper(obj3);
4428 if (arg4 == NULL) SWIG_fail;
4429 temp4 = True;
4430 }
4431 if (obj4) {
4432 {
4433 arg5 = &temp5;
4434 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4435 }
4436 }
4437 if (obj5) {
4438 {
4439 arg6 = &temp6;
4440 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4441 }
4442 }
4443 if (obj6) {
4444 arg7 = (long) SWIG_AsLong(obj6);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 if (obj7) {
4448 {
4449 arg8 = wxString_in_helper(obj7);
4450 if (arg8 == NULL) SWIG_fail;
4451 temp8 = True;
4452 }
4453 }
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4457
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
4461 {
4462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4463 }
4464 {
4465 if (temp4)
4466 delete arg4;
4467 }
4468 {
4469 if (temp8)
4470 delete arg8;
4471 }
4472 return resultobj;
4473 fail:
4474 {
4475 if (temp4)
4476 delete arg4;
4477 }
4478 {
4479 if (temp8)
4480 delete arg8;
4481 }
4482 return NULL;
4483 }
4484
4485
4486 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
4487 PyObject *obj;
4488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4489 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4490 Py_INCREF(obj);
4491 return Py_BuildValue((char *)"");
4492 }
4493 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj;
4495 wxBitmap *arg1 = 0 ;
4496 wxWindow *arg2 = (wxWindow *) 0 ;
4497 int arg3 ;
4498 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4499 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4500 wxSize const &arg5_defvalue = wxDefaultSize ;
4501 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4502 long arg6 = (long) wxNO_BORDER ;
4503 wxSplashScreenWindow *result;
4504 wxPoint temp4 ;
4505 wxSize temp5 ;
4506 PyObject * obj0 = 0 ;
4507 PyObject * obj1 = 0 ;
4508 PyObject * obj2 = 0 ;
4509 PyObject * obj3 = 0 ;
4510 PyObject * obj4 = 0 ;
4511 PyObject * obj5 = 0 ;
4512 char *kwnames[] = {
4513 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4514 };
4515
4516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4518 SWIG_POINTER_EXCEPTION | 0)) == -1)
4519 SWIG_fail;
4520 if (arg1 == NULL) {
4521 PyErr_SetString(PyExc_TypeError,"null reference");
4522 SWIG_fail;
4523 }
4524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4526 arg3 = (int) SWIG_AsInt(obj2);
4527 if (PyErr_Occurred()) SWIG_fail;
4528 if (obj3) {
4529 {
4530 arg4 = &temp4;
4531 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4532 }
4533 }
4534 if (obj4) {
4535 {
4536 arg5 = &temp5;
4537 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4538 }
4539 }
4540 if (obj5) {
4541 arg6 = (long) SWIG_AsLong(obj5);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 {
4545 PyThreadState* __tstate = wxPyBeginAllowThreads();
4546 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4547
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4552 return resultobj;
4553 fail:
4554 return NULL;
4555 }
4556
4557
4558 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4559 PyObject *resultobj;
4560 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4561 wxBitmap *arg2 = 0 ;
4562 PyObject * obj0 = 0 ;
4563 PyObject * obj1 = 0 ;
4564 char *kwnames[] = {
4565 (char *) "self",(char *) "bitmap", NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4572 SWIG_POINTER_EXCEPTION | 0)) == -1)
4573 SWIG_fail;
4574 if (arg2 == NULL) {
4575 PyErr_SetString(PyExc_TypeError,"null reference");
4576 SWIG_fail;
4577 }
4578 {
4579 PyThreadState* __tstate = wxPyBeginAllowThreads();
4580 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4581
4582 wxPyEndAllowThreads(__tstate);
4583 if (PyErr_Occurred()) SWIG_fail;
4584 }
4585 Py_INCREF(Py_None); resultobj = Py_None;
4586 return resultobj;
4587 fail:
4588 return NULL;
4589 }
4590
4591
4592 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4593 PyObject *resultobj;
4594 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4595 wxBitmap *result;
4596 PyObject * obj0 = 0 ;
4597 char *kwnames[] = {
4598 (char *) "self", NULL
4599 };
4600
4601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4604 {
4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
4606 {
4607 wxBitmap &_result_ref = (arg1)->GetBitmap();
4608 result = (wxBitmap *) &_result_ref;
4609 }
4610
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 {
4615 wxBitmap* resultptr = new wxBitmap(*result);
4616 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4617 }
4618 return resultobj;
4619 fail:
4620 return NULL;
4621 }
4622
4623
4624 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
4625 PyObject *obj;
4626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4627 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4628 Py_INCREF(obj);
4629 return Py_BuildValue((char *)"");
4630 }
4631 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxBitmap *arg1 = 0 ;
4634 long arg2 ;
4635 int arg3 ;
4636 wxWindow *arg4 = (wxWindow *) 0 ;
4637 int arg5 ;
4638 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4639 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4640 wxSize const &arg7_defvalue = wxDefaultSize ;
4641 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4642 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4643 wxSplashScreen *result;
4644 wxPoint temp6 ;
4645 wxSize temp7 ;
4646 PyObject * obj0 = 0 ;
4647 PyObject * obj1 = 0 ;
4648 PyObject * obj2 = 0 ;
4649 PyObject * obj3 = 0 ;
4650 PyObject * obj4 = 0 ;
4651 PyObject * obj5 = 0 ;
4652 PyObject * obj6 = 0 ;
4653 PyObject * obj7 = 0 ;
4654 char *kwnames[] = {
4655 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4656 };
4657
4658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4660 SWIG_POINTER_EXCEPTION | 0)) == -1)
4661 SWIG_fail;
4662 if (arg1 == NULL) {
4663 PyErr_SetString(PyExc_TypeError,"null reference");
4664 SWIG_fail;
4665 }
4666 arg2 = (long) SWIG_AsLong(obj1);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 arg3 = (int) SWIG_AsInt(obj2);
4669 if (PyErr_Occurred()) SWIG_fail;
4670 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4672 arg5 = (int) SWIG_AsInt(obj4);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 if (obj5) {
4675 {
4676 arg6 = &temp6;
4677 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4678 }
4679 }
4680 if (obj6) {
4681 {
4682 arg7 = &temp7;
4683 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4684 }
4685 }
4686 if (obj7) {
4687 arg8 = (long) SWIG_AsLong(obj7);
4688 if (PyErr_Occurred()) SWIG_fail;
4689 }
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4698 return resultobj;
4699 fail:
4700 return NULL;
4701 }
4702
4703
4704 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4705 PyObject *resultobj;
4706 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4707 long result;
4708 PyObject * obj0 = 0 ;
4709 char *kwnames[] = {
4710 (char *) "self", NULL
4711 };
4712
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = SWIG_FromLong((long)result);
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4731 PyObject *resultobj;
4732 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4733 wxSplashScreenWindow *result;
4734 PyObject * obj0 = 0 ;
4735 char *kwnames[] = {
4736 (char *) "self", NULL
4737 };
4738
4739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4745
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4750 return resultobj;
4751 fail:
4752 return NULL;
4753 }
4754
4755
4756 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
4757 PyObject *resultobj;
4758 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4759 int result;
4760 PyObject * obj0 = 0 ;
4761 char *kwnames[] = {
4762 (char *) "self", NULL
4763 };
4764
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4768 {
4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
4770 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4771
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) SWIG_fail;
4774 }
4775 resultobj = SWIG_FromInt((int)result);
4776 return resultobj;
4777 fail:
4778 return NULL;
4779 }
4780
4781
4782 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
4783 PyObject *obj;
4784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4785 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4786 Py_INCREF(obj);
4787 return Py_BuildValue((char *)"");
4788 }
4789 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
4790 PyObject *resultobj;
4791 wxWindow *arg1 = (wxWindow *) 0 ;
4792 int arg2 = (int) -1 ;
4793 long arg3 = (long) wxST_SIZEGRIP ;
4794 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4795 wxString *arg4 = (wxString *) &arg4_defvalue ;
4796 wxStatusBar *result;
4797 bool temp4 = False ;
4798 PyObject * obj0 = 0 ;
4799 PyObject * obj1 = 0 ;
4800 PyObject * obj2 = 0 ;
4801 PyObject * obj3 = 0 ;
4802 char *kwnames[] = {
4803 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4804 };
4805
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4809 if (obj1) {
4810 arg2 = (int) SWIG_AsInt(obj1);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 if (obj2) {
4814 arg3 = (long) SWIG_AsLong(obj2);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 }
4817 if (obj3) {
4818 {
4819 arg4 = wxString_in_helper(obj3);
4820 if (arg4 == NULL) SWIG_fail;
4821 temp4 = True;
4822 }
4823 }
4824 {
4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
4826 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4827
4828 wxPyEndAllowThreads(__tstate);
4829 if (PyErr_Occurred()) SWIG_fail;
4830 }
4831 {
4832 resultobj = wxPyMake_wxObject(result);
4833 }
4834 {
4835 if (temp4)
4836 delete arg4;
4837 }
4838 return resultobj;
4839 fail:
4840 {
4841 if (temp4)
4842 delete arg4;
4843 }
4844 return NULL;
4845 }
4846
4847
4848 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
4849 PyObject *resultobj;
4850 wxStatusBar *result;
4851 char *kwnames[] = {
4852 NULL
4853 };
4854
4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 result = (wxStatusBar *)new wxStatusBar();
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 {
4864 resultobj = wxPyMake_wxObject(result);
4865 }
4866 return resultobj;
4867 fail:
4868 return NULL;
4869 }
4870
4871
4872 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4873 PyObject *resultobj;
4874 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4875 wxWindow *arg2 = (wxWindow *) 0 ;
4876 int arg3 ;
4877 long arg4 = (long) wxST_SIZEGRIP ;
4878 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4879 wxString *arg5 = (wxString *) &arg5_defvalue ;
4880 bool result;
4881 bool temp5 = False ;
4882 PyObject * obj0 = 0 ;
4883 PyObject * obj1 = 0 ;
4884 PyObject * obj2 = 0 ;
4885 PyObject * obj3 = 0 ;
4886 PyObject * obj4 = 0 ;
4887 char *kwnames[] = {
4888 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4889 };
4890
4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4896 arg3 = (int) SWIG_AsInt(obj2);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 if (obj3) {
4899 arg4 = (long) SWIG_AsLong(obj3);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 if (obj4) {
4903 {
4904 arg5 = wxString_in_helper(obj4);
4905 if (arg5 == NULL) SWIG_fail;
4906 temp5 = True;
4907 }
4908 }
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4912
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4916 {
4917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4918 }
4919 {
4920 if (temp5)
4921 delete arg5;
4922 }
4923 return resultobj;
4924 fail:
4925 {
4926 if (temp5)
4927 delete arg5;
4928 }
4929 return NULL;
4930 }
4931
4932
4933 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj;
4935 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4936 int arg2 = (int) 1 ;
4937 PyObject * obj0 = 0 ;
4938 PyObject * obj1 = 0 ;
4939 char *kwnames[] = {
4940 (char *) "self",(char *) "number", NULL
4941 };
4942
4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4946 if (obj1) {
4947 arg2 = (int) SWIG_AsInt(obj1);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 (arg1)->SetFieldsCount(arg2);
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 Py_INCREF(Py_None); resultobj = Py_None;
4958 return resultobj;
4959 fail:
4960 return NULL;
4961 }
4962
4963
4964 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
4965 PyObject *resultobj;
4966 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4967 int result;
4968 PyObject * obj0 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "self", NULL
4971 };
4972
4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4979
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 resultobj = SWIG_FromInt((int)result);
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj;
4992 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4993 wxString *arg2 = 0 ;
4994 int arg3 = (int) 0 ;
4995 bool temp2 = False ;
4996 PyObject * obj0 = 0 ;
4997 PyObject * obj1 = 0 ;
4998 PyObject * obj2 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self",(char *) "text",(char *) "number", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5006 {
5007 arg2 = wxString_in_helper(obj1);
5008 if (arg2 == NULL) SWIG_fail;
5009 temp2 = True;
5010 }
5011 if (obj2) {
5012 arg3 = (int) SWIG_AsInt(obj2);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5018
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 Py_INCREF(Py_None); resultobj = Py_None;
5023 {
5024 if (temp2)
5025 delete arg2;
5026 }
5027 return resultobj;
5028 fail:
5029 {
5030 if (temp2)
5031 delete arg2;
5032 }
5033 return NULL;
5034 }
5035
5036
5037 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5038 PyObject *resultobj;
5039 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5040 int arg2 = (int) 0 ;
5041 wxString result;
5042 PyObject * obj0 = 0 ;
5043 PyObject * obj1 = 0 ;
5044 char *kwnames[] = {
5045 (char *) "self",(char *) "number", NULL
5046 };
5047
5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5051 if (obj1) {
5052 arg2 = (int) SWIG_AsInt(obj1);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 {
5063 #if wxUSE_UNICODE
5064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5065 #else
5066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5067 #endif
5068 }
5069 return resultobj;
5070 fail:
5071 return NULL;
5072 }
5073
5074
5075 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5078 wxString *arg2 = 0 ;
5079 int arg3 = (int) 0 ;
5080 bool temp2 = False ;
5081 PyObject * obj0 = 0 ;
5082 PyObject * obj1 = 0 ;
5083 PyObject * obj2 = 0 ;
5084 char *kwnames[] = {
5085 (char *) "self",(char *) "text",(char *) "number", NULL
5086 };
5087
5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5091 {
5092 arg2 = wxString_in_helper(obj1);
5093 if (arg2 == NULL) SWIG_fail;
5094 temp2 = True;
5095 }
5096 if (obj2) {
5097 arg3 = (int) SWIG_AsInt(obj2);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 Py_INCREF(Py_None); resultobj = Py_None;
5108 {
5109 if (temp2)
5110 delete arg2;
5111 }
5112 return resultobj;
5113 fail:
5114 {
5115 if (temp2)
5116 delete arg2;
5117 }
5118 return NULL;
5119 }
5120
5121
5122 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5125 int arg2 = (int) 0 ;
5126 PyObject * obj0 = 0 ;
5127 PyObject * obj1 = 0 ;
5128 char *kwnames[] = {
5129 (char *) "self",(char *) "number", NULL
5130 };
5131
5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5135 if (obj1) {
5136 arg2 = (int) SWIG_AsInt(obj1);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 (arg1)->PopStatusText(arg2);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 Py_INCREF(Py_None); resultobj = Py_None;
5147 return resultobj;
5148 fail:
5149 return NULL;
5150 }
5151
5152
5153 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5154 PyObject *resultobj;
5155 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5156 int arg2 ;
5157 int *arg3 = (int *) 0 ;
5158 PyObject * obj0 = 0 ;
5159 PyObject * obj1 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self",(char *) "widths", NULL
5162 };
5163
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5167 {
5168 arg2 = PyList_Size(obj1);
5169 arg3 = int_LIST_helper(obj1);
5170 if (arg3 == NULL) SWIG_fail;
5171 }
5172 {
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5175
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 Py_INCREF(Py_None); resultobj = Py_None;
5180 {
5181 if (arg3) delete [] arg3;
5182 }
5183 return resultobj;
5184 fail:
5185 {
5186 if (arg3) delete [] arg3;
5187 }
5188 return NULL;
5189 }
5190
5191
5192 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5193 PyObject *resultobj;
5194 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5195 int arg2 ;
5196 wxRect result;
5197 PyObject * obj0 = 0 ;
5198 PyObject * obj1 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self",(char *) "i", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5206 arg2 = (int) SWIG_AsInt(obj1);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 {
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 result = wxStatusBar_GetFieldRect(arg1,arg2);
5211
5212 wxPyEndAllowThreads(__tstate);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
5215 {
5216 wxRect * resultptr;
5217 resultptr = new wxRect((wxRect &) result);
5218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5219 }
5220 return resultobj;
5221 fail:
5222 return NULL;
5223 }
5224
5225
5226 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj;
5228 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5229 int arg2 ;
5230 PyObject * obj0 = 0 ;
5231 PyObject * obj1 = 0 ;
5232 char *kwnames[] = {
5233 (char *) "self",(char *) "height", NULL
5234 };
5235
5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5239 arg2 = (int) SWIG_AsInt(obj1);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 {
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 (arg1)->SetMinHeight(arg2);
5244
5245 wxPyEndAllowThreads(__tstate);
5246 if (PyErr_Occurred()) SWIG_fail;
5247 }
5248 Py_INCREF(Py_None); resultobj = Py_None;
5249 return resultobj;
5250 fail:
5251 return NULL;
5252 }
5253
5254
5255 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5256 PyObject *resultobj;
5257 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5258 int result;
5259 PyObject * obj0 = 0 ;
5260 char *kwnames[] = {
5261 (char *) "self", NULL
5262 };
5263
5264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 resultobj = SWIG_FromInt((int)result);
5275 return resultobj;
5276 fail:
5277 return NULL;
5278 }
5279
5280
5281 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5284 int result;
5285 PyObject * obj0 = 0 ;
5286 char *kwnames[] = {
5287 (char *) "self", NULL
5288 };
5289
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 resultobj = SWIG_FromInt((int)result);
5301 return resultobj;
5302 fail:
5303 return NULL;
5304 }
5305
5306
5307 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5308 PyObject *obj;
5309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5310 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5311 Py_INCREF(obj);
5312 return Py_BuildValue((char *)"");
5313 }
5314 static int _wrap_SplitterNameStr_set(PyObject *) {
5315 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5316 return 1;
5317 }
5318
5319
5320 static PyObject *_wrap_SplitterNameStr_get() {
5321 PyObject *pyobj;
5322
5323 {
5324 #if wxUSE_UNICODE
5325 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5326 #else
5327 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5328 #endif
5329 }
5330 return pyobj;
5331 }
5332
5333
5334 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5335 PyObject *resultobj;
5336 wxWindow *arg1 = (wxWindow *) 0 ;
5337 int arg2 ;
5338 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5339 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5340 wxSize const &arg4_defvalue = wxDefaultSize ;
5341 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5342 long arg5 = (long) wxSP_3D ;
5343 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5344 wxString *arg6 = (wxString *) &arg6_defvalue ;
5345 wxSplitterWindow *result;
5346 wxPoint temp3 ;
5347 wxSize temp4 ;
5348 bool temp6 = False ;
5349 PyObject * obj0 = 0 ;
5350 PyObject * obj1 = 0 ;
5351 PyObject * obj2 = 0 ;
5352 PyObject * obj3 = 0 ;
5353 PyObject * obj4 = 0 ;
5354 PyObject * obj5 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5362 arg2 = (int) SWIG_AsInt(obj1);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 if (obj2) {
5365 {
5366 arg3 = &temp3;
5367 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5368 }
5369 }
5370 if (obj3) {
5371 {
5372 arg4 = &temp4;
5373 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5374 }
5375 }
5376 if (obj4) {
5377 arg5 = (long) SWIG_AsLong(obj4);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 }
5380 if (obj5) {
5381 {
5382 arg6 = wxString_in_helper(obj5);
5383 if (arg6 == NULL) SWIG_fail;
5384 temp6 = True;
5385 }
5386 }
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5395 {
5396 if (temp6)
5397 delete arg6;
5398 }
5399 return resultobj;
5400 fail:
5401 {
5402 if (temp6)
5403 delete arg6;
5404 }
5405 return NULL;
5406 }
5407
5408
5409 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5410 PyObject *resultobj;
5411 wxSplitterWindow *result;
5412 char *kwnames[] = {
5413 NULL
5414 };
5415
5416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 result = (wxSplitterWindow *)new wxSplitterWindow();
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5425 return resultobj;
5426 fail:
5427 return NULL;
5428 }
5429
5430
5431 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5432 PyObject *resultobj;
5433 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5434 wxWindow *arg2 = (wxWindow *) 0 ;
5435 int arg3 ;
5436 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5437 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5438 wxSize const &arg5_defvalue = wxDefaultSize ;
5439 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5440 long arg6 = (long) wxSP_3D ;
5441 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5442 wxString *arg7 = (wxString *) &arg7_defvalue ;
5443 bool result;
5444 wxPoint temp4 ;
5445 wxSize temp5 ;
5446 bool temp7 = False ;
5447 PyObject * obj0 = 0 ;
5448 PyObject * obj1 = 0 ;
5449 PyObject * obj2 = 0 ;
5450 PyObject * obj3 = 0 ;
5451 PyObject * obj4 = 0 ;
5452 PyObject * obj5 = 0 ;
5453 PyObject * obj6 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5463 arg3 = (int) SWIG_AsInt(obj2);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 if (obj3) {
5466 {
5467 arg4 = &temp4;
5468 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5469 }
5470 }
5471 if (obj4) {
5472 {
5473 arg5 = &temp5;
5474 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5475 }
5476 }
5477 if (obj5) {
5478 arg6 = (long) SWIG_AsLong(obj5);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 if (obj6) {
5482 {
5483 arg7 = wxString_in_helper(obj6);
5484 if (arg7 == NULL) SWIG_fail;
5485 temp7 = True;
5486 }
5487 }
5488 {
5489 PyThreadState* __tstate = wxPyBeginAllowThreads();
5490 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5491
5492 wxPyEndAllowThreads(__tstate);
5493 if (PyErr_Occurred()) SWIG_fail;
5494 }
5495 {
5496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5497 }
5498 {
5499 if (temp7)
5500 delete arg7;
5501 }
5502 return resultobj;
5503 fail:
5504 {
5505 if (temp7)
5506 delete arg7;
5507 }
5508 return NULL;
5509 }
5510
5511
5512 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
5513 PyObject *resultobj;
5514 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5515 wxWindow *result;
5516 PyObject * obj0 = 0 ;
5517 char *kwnames[] = {
5518 (char *) "self", NULL
5519 };
5520
5521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5524 {
5525 PyThreadState* __tstate = wxPyBeginAllowThreads();
5526 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5527
5528 wxPyEndAllowThreads(__tstate);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 {
5532 resultobj = wxPyMake_wxObject(result);
5533 }
5534 return resultobj;
5535 fail:
5536 return NULL;
5537 }
5538
5539
5540 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
5541 PyObject *resultobj;
5542 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5543 wxWindow *result;
5544 PyObject * obj0 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "self", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5552 {
5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
5554 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5555
5556 wxPyEndAllowThreads(__tstate);
5557 if (PyErr_Occurred()) SWIG_fail;
5558 }
5559 {
5560 resultobj = wxPyMake_wxObject(result);
5561 }
5562 return resultobj;
5563 fail:
5564 return NULL;
5565 }
5566
5567
5568 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
5569 PyObject *resultobj;
5570 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5571 int arg2 ;
5572 PyObject * obj0 = 0 ;
5573 PyObject * obj1 = 0 ;
5574 char *kwnames[] = {
5575 (char *) "self",(char *) "mode", NULL
5576 };
5577
5578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5581 arg2 = (int) SWIG_AsInt(obj1);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 (arg1)->SetSplitMode(arg2);
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
5590 Py_INCREF(Py_None); resultobj = Py_None;
5591 return resultobj;
5592 fail:
5593 return NULL;
5594 }
5595
5596
5597 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
5598 PyObject *resultobj;
5599 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5600 int result;
5601 PyObject * obj0 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "self", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
5616 resultobj = SWIG_FromInt((int)result);
5617 return resultobj;
5618 fail:
5619 return NULL;
5620 }
5621
5622
5623 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
5624 PyObject *resultobj;
5625 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5626 wxWindow *arg2 = (wxWindow *) 0 ;
5627 PyObject * obj0 = 0 ;
5628 PyObject * obj1 = 0 ;
5629 char *kwnames[] = {
5630 (char *) "self",(char *) "window", NULL
5631 };
5632
5633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 (arg1)->Initialize(arg2);
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 Py_INCREF(Py_None); resultobj = Py_None;
5646 return resultobj;
5647 fail:
5648 return NULL;
5649 }
5650
5651
5652 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
5653 PyObject *resultobj;
5654 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5655 wxWindow *arg2 = (wxWindow *) 0 ;
5656 wxWindow *arg3 = (wxWindow *) 0 ;
5657 int arg4 = (int) 0 ;
5658 bool result;
5659 PyObject * obj0 = 0 ;
5660 PyObject * obj1 = 0 ;
5661 PyObject * obj2 = 0 ;
5662 PyObject * obj3 = 0 ;
5663 char *kwnames[] = {
5664 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5665 };
5666
5667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5672 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5674 if (obj3) {
5675 arg4 = (int) SWIG_AsInt(obj3);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 {
5686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5687 }
5688 return resultobj;
5689 fail:
5690 return NULL;
5691 }
5692
5693
5694 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
5695 PyObject *resultobj;
5696 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5697 wxWindow *arg2 = (wxWindow *) 0 ;
5698 wxWindow *arg3 = (wxWindow *) 0 ;
5699 int arg4 = (int) 0 ;
5700 bool result;
5701 PyObject * obj0 = 0 ;
5702 PyObject * obj1 = 0 ;
5703 PyObject * obj2 = 0 ;
5704 PyObject * obj3 = 0 ;
5705 char *kwnames[] = {
5706 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5707 };
5708
5709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5714 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5716 if (obj3) {
5717 arg4 = (int) SWIG_AsInt(obj3);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 {
5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
5722 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5723
5724 wxPyEndAllowThreads(__tstate);
5725 if (PyErr_Occurred()) SWIG_fail;
5726 }
5727 {
5728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5729 }
5730 return resultobj;
5731 fail:
5732 return NULL;
5733 }
5734
5735
5736 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
5737 PyObject *resultobj;
5738 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5739 wxWindow *arg2 = (wxWindow *) NULL ;
5740 bool result;
5741 PyObject * obj0 = 0 ;
5742 PyObject * obj1 = 0 ;
5743 char *kwnames[] = {
5744 (char *) "self",(char *) "toRemove", NULL
5745 };
5746
5747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5750 if (obj1) {
5751 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5753 }
5754 {
5755 PyThreadState* __tstate = wxPyBeginAllowThreads();
5756 result = (bool)(arg1)->Unsplit(arg2);
5757
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
5761 {
5762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5763 }
5764 return resultobj;
5765 fail:
5766 return NULL;
5767 }
5768
5769
5770 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5771 PyObject *resultobj;
5772 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5773 wxWindow *arg2 = (wxWindow *) 0 ;
5774 wxWindow *arg3 = (wxWindow *) 0 ;
5775 bool result;
5776 PyObject * obj0 = 0 ;
5777 PyObject * obj1 = 0 ;
5778 PyObject * obj2 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5788 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5793
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 {
5798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5799 }
5800 return resultobj;
5801 fail:
5802 return NULL;
5803 }
5804
5805
5806 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
5807 PyObject *resultobj;
5808 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5809 bool result;
5810 PyObject * obj0 = 0 ;
5811 char *kwnames[] = {
5812 (char *) "self", NULL
5813 };
5814
5815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5818 {
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5821
5822 wxPyEndAllowThreads(__tstate);
5823 if (PyErr_Occurred()) SWIG_fail;
5824 }
5825 {
5826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5827 }
5828 return resultobj;
5829 fail:
5830 return NULL;
5831 }
5832
5833
5834 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
5835 PyObject *resultobj;
5836 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5837 int arg2 ;
5838 PyObject * obj0 = 0 ;
5839 PyObject * obj1 = 0 ;
5840 char *kwnames[] = {
5841 (char *) "self",(char *) "width", NULL
5842 };
5843
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5847 arg2 = (int) SWIG_AsInt(obj1);
5848 if (PyErr_Occurred()) SWIG_fail;
5849 {
5850 PyThreadState* __tstate = wxPyBeginAllowThreads();
5851 (arg1)->SetSashSize(arg2);
5852
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 }
5856 Py_INCREF(Py_None); resultobj = Py_None;
5857 return resultobj;
5858 fail:
5859 return NULL;
5860 }
5861
5862
5863 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
5864 PyObject *resultobj;
5865 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5866 int arg2 ;
5867 PyObject * obj0 = 0 ;
5868 PyObject * obj1 = 0 ;
5869 char *kwnames[] = {
5870 (char *) "self",(char *) "width", NULL
5871 };
5872
5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5876 arg2 = (int) SWIG_AsInt(obj1);
5877 if (PyErr_Occurred()) SWIG_fail;
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 (arg1)->SetBorderSize(arg2);
5881
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 Py_INCREF(Py_None); resultobj = Py_None;
5886 return resultobj;
5887 fail:
5888 return NULL;
5889 }
5890
5891
5892 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
5893 PyObject *resultobj;
5894 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5895 int result;
5896 PyObject * obj0 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 resultobj = SWIG_FromInt((int)result);
5912 return resultobj;
5913 fail:
5914 return NULL;
5915 }
5916
5917
5918 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
5919 PyObject *resultobj;
5920 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5921 int result;
5922 PyObject * obj0 = 0 ;
5923 char *kwnames[] = {
5924 (char *) "self", NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5930 {
5931 PyThreadState* __tstate = wxPyBeginAllowThreads();
5932 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5933
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
5937 resultobj = SWIG_FromInt((int)result);
5938 return resultobj;
5939 fail:
5940 return NULL;
5941 }
5942
5943
5944 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
5945 PyObject *resultobj;
5946 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5947 int arg2 ;
5948 bool arg3 = (bool) True ;
5949 PyObject * obj0 = 0 ;
5950 PyObject * obj1 = 0 ;
5951 PyObject * obj2 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "self",(char *) "position",(char *) "redraw", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
5957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5959 arg2 = (int) SWIG_AsInt(obj1);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 if (obj2) {
5962 arg3 = (bool) SWIG_AsBool(obj2);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 (arg1)->SetSashPosition(arg2,arg3);
5968
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 Py_INCREF(Py_None); resultobj = Py_None;
5973 return resultobj;
5974 fail:
5975 return NULL;
5976 }
5977
5978
5979 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
5980 PyObject *resultobj;
5981 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5982 int result;
5983 PyObject * obj0 = 0 ;
5984 char *kwnames[] = {
5985 (char *) "self", NULL
5986 };
5987
5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5991 {
5992 PyThreadState* __tstate = wxPyBeginAllowThreads();
5993 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5994
5995 wxPyEndAllowThreads(__tstate);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 resultobj = SWIG_FromInt((int)result);
5999 return resultobj;
6000 fail:
6001 return NULL;
6002 }
6003
6004
6005 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6006 PyObject *resultobj;
6007 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6008 int arg2 ;
6009 PyObject * obj0 = 0 ;
6010 PyObject * obj1 = 0 ;
6011 char *kwnames[] = {
6012 (char *) "self",(char *) "min", NULL
6013 };
6014
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6018 arg2 = (int) SWIG_AsInt(obj1);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 (arg1)->SetMinimumPaneSize(arg2);
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 Py_INCREF(Py_None); resultobj = Py_None;
6028 return resultobj;
6029 fail:
6030 return NULL;
6031 }
6032
6033
6034 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj;
6036 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6037 int result;
6038 PyObject * obj0 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6046 {
6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
6048 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6049
6050 wxPyEndAllowThreads(__tstate);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
6053 resultobj = SWIG_FromInt((int)result);
6054 return resultobj;
6055 fail:
6056 return NULL;
6057 }
6058
6059
6060 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6061 PyObject *resultobj;
6062 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6063 int arg2 ;
6064 int arg3 ;
6065 int arg4 = (int) 5 ;
6066 bool result;
6067 PyObject * obj0 = 0 ;
6068 PyObject * obj1 = 0 ;
6069 PyObject * obj2 = 0 ;
6070 PyObject * obj3 = 0 ;
6071 char *kwnames[] = {
6072 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6073 };
6074
6075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6078 arg2 = (int) SWIG_AsInt(obj1);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 arg3 = (int) SWIG_AsInt(obj2);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 if (obj3) {
6083 arg4 = (int) SWIG_AsInt(obj3);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 {
6094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6095 }
6096 return resultobj;
6097 fail:
6098 return NULL;
6099 }
6100
6101
6102 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6103 PyObject *resultobj;
6104 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6105 PyObject * obj0 = 0 ;
6106 char *kwnames[] = {
6107 (char *) "self", NULL
6108 };
6109
6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 (arg1)->SizeWindows();
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 Py_INCREF(Py_None); resultobj = Py_None;
6121 return resultobj;
6122 fail:
6123 return NULL;
6124 }
6125
6126
6127 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6128 PyObject *resultobj;
6129 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6130 bool arg2 ;
6131 PyObject * obj0 = 0 ;
6132 PyObject * obj1 = 0 ;
6133 char *kwnames[] = {
6134 (char *) "self",(char *) "needUpdating", NULL
6135 };
6136
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6140 arg2 = (bool) SWIG_AsBool(obj1);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 {
6143 PyThreadState* __tstate = wxPyBeginAllowThreads();
6144 (arg1)->SetNeedUpdating(arg2);
6145
6146 wxPyEndAllowThreads(__tstate);
6147 if (PyErr_Occurred()) SWIG_fail;
6148 }
6149 Py_INCREF(Py_None); resultobj = Py_None;
6150 return resultobj;
6151 fail:
6152 return NULL;
6153 }
6154
6155
6156 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6157 PyObject *resultobj;
6158 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6159 bool result;
6160 PyObject * obj0 = 0 ;
6161 char *kwnames[] = {
6162 (char *) "self", NULL
6163 };
6164
6165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6168 {
6169 PyThreadState* __tstate = wxPyBeginAllowThreads();
6170 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6171
6172 wxPyEndAllowThreads(__tstate);
6173 if (PyErr_Occurred()) SWIG_fail;
6174 }
6175 {
6176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6177 }
6178 return resultobj;
6179 fail:
6180 return NULL;
6181 }
6182
6183
6184 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6185 PyObject *obj;
6186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6187 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6188 Py_INCREF(obj);
6189 return Py_BuildValue((char *)"");
6190 }
6191 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6192 PyObject *resultobj;
6193 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6194 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6195 wxSplitterEvent *result;
6196 PyObject * obj0 = 0 ;
6197 PyObject * obj1 = 0 ;
6198 char *kwnames[] = {
6199 (char *) "type",(char *) "splitter", NULL
6200 };
6201
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6203 if (obj0) {
6204 arg1 = (wxEventType) SWIG_AsInt(obj0);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 }
6207 if (obj1) {
6208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6210 }
6211 {
6212 PyThreadState* __tstate = wxPyBeginAllowThreads();
6213 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6214
6215 wxPyEndAllowThreads(__tstate);
6216 if (PyErr_Occurred()) SWIG_fail;
6217 }
6218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6219 return resultobj;
6220 fail:
6221 return NULL;
6222 }
6223
6224
6225 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6226 PyObject *resultobj;
6227 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6228 int arg2 ;
6229 PyObject * obj0 = 0 ;
6230 PyObject * obj1 = 0 ;
6231 char *kwnames[] = {
6232 (char *) "self",(char *) "pos", NULL
6233 };
6234
6235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6238 arg2 = (int) SWIG_AsInt(obj1);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 (arg1)->SetSashPosition(arg2);
6243
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 Py_INCREF(Py_None); resultobj = Py_None;
6248 return resultobj;
6249 fail:
6250 return NULL;
6251 }
6252
6253
6254 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj;
6256 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6257 int result;
6258 PyObject * obj0 = 0 ;
6259 char *kwnames[] = {
6260 (char *) "self", NULL
6261 };
6262
6263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 resultobj = SWIG_FromInt((int)result);
6274 return resultobj;
6275 fail:
6276 return NULL;
6277 }
6278
6279
6280 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj;
6282 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6283 wxWindow *result;
6284 PyObject * obj0 = 0 ;
6285 char *kwnames[] = {
6286 (char *) "self", NULL
6287 };
6288
6289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6292 {
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6294 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6295
6296 wxPyEndAllowThreads(__tstate);
6297 if (PyErr_Occurred()) SWIG_fail;
6298 }
6299 {
6300 resultobj = wxPyMake_wxObject(result);
6301 }
6302 return resultobj;
6303 fail:
6304 return NULL;
6305 }
6306
6307
6308 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6309 PyObject *resultobj;
6310 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6311 int result;
6312 PyObject * obj0 = 0 ;
6313 char *kwnames[] = {
6314 (char *) "self", NULL
6315 };
6316
6317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6320 {
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6323
6324 wxPyEndAllowThreads(__tstate);
6325 if (PyErr_Occurred()) SWIG_fail;
6326 }
6327 resultobj = SWIG_FromInt((int)result);
6328 return resultobj;
6329 fail:
6330 return NULL;
6331 }
6332
6333
6334 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj;
6336 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6337 int result;
6338 PyObject * obj0 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "self", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6346 {
6347 PyThreadState* __tstate = wxPyBeginAllowThreads();
6348 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6349
6350 wxPyEndAllowThreads(__tstate);
6351 if (PyErr_Occurred()) SWIG_fail;
6352 }
6353 resultobj = SWIG_FromInt((int)result);
6354 return resultobj;
6355 fail:
6356 return NULL;
6357 }
6358
6359
6360 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
6361 PyObject *obj;
6362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6363 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6364 Py_INCREF(obj);
6365 return Py_BuildValue((char *)"");
6366 }
6367 static int _wrap_SashNameStr_set(PyObject *) {
6368 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6369 return 1;
6370 }
6371
6372
6373 static PyObject *_wrap_SashNameStr_get() {
6374 PyObject *pyobj;
6375
6376 {
6377 #if wxUSE_UNICODE
6378 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6379 #else
6380 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6381 #endif
6382 }
6383 return pyobj;
6384 }
6385
6386
6387 static int _wrap_SashLayoutNameStr_set(PyObject *) {
6388 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6389 return 1;
6390 }
6391
6392
6393 static PyObject *_wrap_SashLayoutNameStr_get() {
6394 PyObject *pyobj;
6395
6396 {
6397 #if wxUSE_UNICODE
6398 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6399 #else
6400 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6401 #endif
6402 }
6403 return pyobj;
6404 }
6405
6406
6407 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6408 PyObject *resultobj;
6409 wxWindow *arg1 = (wxWindow *) 0 ;
6410 int arg2 ;
6411 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6412 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6413 wxSize const &arg4_defvalue = wxDefaultSize ;
6414 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6415 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6416 wxString const &arg6_defvalue = wxPySashNameStr ;
6417 wxString *arg6 = (wxString *) &arg6_defvalue ;
6418 wxSashWindow *result;
6419 wxPoint temp3 ;
6420 wxSize temp4 ;
6421 bool temp6 = False ;
6422 PyObject * obj0 = 0 ;
6423 PyObject * obj1 = 0 ;
6424 PyObject * obj2 = 0 ;
6425 PyObject * obj3 = 0 ;
6426 PyObject * obj4 = 0 ;
6427 PyObject * obj5 = 0 ;
6428 char *kwnames[] = {
6429 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6430 };
6431
6432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6435 arg2 = (int) SWIG_AsInt(obj1);
6436 if (PyErr_Occurred()) SWIG_fail;
6437 if (obj2) {
6438 {
6439 arg3 = &temp3;
6440 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6441 }
6442 }
6443 if (obj3) {
6444 {
6445 arg4 = &temp4;
6446 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6447 }
6448 }
6449 if (obj4) {
6450 arg5 = (long) SWIG_AsLong(obj4);
6451 if (PyErr_Occurred()) SWIG_fail;
6452 }
6453 if (obj5) {
6454 {
6455 arg6 = wxString_in_helper(obj5);
6456 if (arg6 == NULL) SWIG_fail;
6457 temp6 = True;
6458 }
6459 }
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6463
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6468 {
6469 if (temp6)
6470 delete arg6;
6471 }
6472 return resultobj;
6473 fail:
6474 {
6475 if (temp6)
6476 delete arg6;
6477 }
6478 return NULL;
6479 }
6480
6481
6482 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6483 PyObject *resultobj;
6484 wxSashWindow *result;
6485 char *kwnames[] = {
6486 NULL
6487 };
6488
6489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6490 {
6491 PyThreadState* __tstate = wxPyBeginAllowThreads();
6492 result = (wxSashWindow *)new wxSashWindow();
6493
6494 wxPyEndAllowThreads(__tstate);
6495 if (PyErr_Occurred()) SWIG_fail;
6496 }
6497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6498 return resultobj;
6499 fail:
6500 return NULL;
6501 }
6502
6503
6504 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6505 PyObject *resultobj;
6506 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6507 wxWindow *arg2 = (wxWindow *) 0 ;
6508 int arg3 ;
6509 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6510 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6511 wxSize const &arg5_defvalue = wxDefaultSize ;
6512 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6513 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6514 wxString const &arg7_defvalue = wxPySashNameStr ;
6515 wxString *arg7 = (wxString *) &arg7_defvalue ;
6516 bool result;
6517 wxPoint temp4 ;
6518 wxSize temp5 ;
6519 bool temp7 = False ;
6520 PyObject * obj0 = 0 ;
6521 PyObject * obj1 = 0 ;
6522 PyObject * obj2 = 0 ;
6523 PyObject * obj3 = 0 ;
6524 PyObject * obj4 = 0 ;
6525 PyObject * obj5 = 0 ;
6526 PyObject * obj6 = 0 ;
6527 char *kwnames[] = {
6528 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6529 };
6530
6531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6536 arg3 = (int) SWIG_AsInt(obj2);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 if (obj3) {
6539 {
6540 arg4 = &temp4;
6541 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6542 }
6543 }
6544 if (obj4) {
6545 {
6546 arg5 = &temp5;
6547 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6548 }
6549 }
6550 if (obj5) {
6551 arg6 = (long) SWIG_AsLong(obj5);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 if (obj6) {
6555 {
6556 arg7 = wxString_in_helper(obj6);
6557 if (arg7 == NULL) SWIG_fail;
6558 temp7 = True;
6559 }
6560 }
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6564
6565 wxPyEndAllowThreads(__tstate);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 {
6569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6570 }
6571 {
6572 if (temp7)
6573 delete arg7;
6574 }
6575 return resultobj;
6576 fail:
6577 {
6578 if (temp7)
6579 delete arg7;
6580 }
6581 return NULL;
6582 }
6583
6584
6585 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj;
6587 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6588 int arg2 ;
6589 bool arg3 ;
6590 PyObject * obj0 = 0 ;
6591 PyObject * obj1 = 0 ;
6592 PyObject * obj2 = 0 ;
6593 char *kwnames[] = {
6594 (char *) "self",(char *) "edge",(char *) "sash", NULL
6595 };
6596
6597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6600 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6601 if (PyErr_Occurred()) SWIG_fail;
6602 arg3 = (bool) SWIG_AsBool(obj2);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 {
6605 PyThreadState* __tstate = wxPyBeginAllowThreads();
6606 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6607
6608 wxPyEndAllowThreads(__tstate);
6609 if (PyErr_Occurred()) SWIG_fail;
6610 }
6611 Py_INCREF(Py_None); resultobj = Py_None;
6612 return resultobj;
6613 fail:
6614 return NULL;
6615 }
6616
6617
6618 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6619 PyObject *resultobj;
6620 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6621 int arg2 ;
6622 bool result;
6623 PyObject * obj0 = 0 ;
6624 PyObject * obj1 = 0 ;
6625 char *kwnames[] = {
6626 (char *) "self",(char *) "edge", NULL
6627 };
6628
6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6632 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 {
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6637
6638 wxPyEndAllowThreads(__tstate);
6639 if (PyErr_Occurred()) SWIG_fail;
6640 }
6641 {
6642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6643 }
6644 return resultobj;
6645 fail:
6646 return NULL;
6647 }
6648
6649
6650 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
6651 PyObject *resultobj;
6652 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6653 int arg2 ;
6654 bool arg3 ;
6655 PyObject * obj0 = 0 ;
6656 PyObject * obj1 = 0 ;
6657 PyObject * obj2 = 0 ;
6658 char *kwnames[] = {
6659 (char *) "self",(char *) "edge",(char *) "border", NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = (bool) SWIG_AsBool(obj2);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
6676 Py_INCREF(Py_None); resultobj = Py_None;
6677 return resultobj;
6678 fail:
6679 return NULL;
6680 }
6681
6682
6683 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
6684 PyObject *resultobj;
6685 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6686 int arg2 ;
6687 bool result;
6688 PyObject * obj0 = 0 ;
6689 PyObject * obj1 = 0 ;
6690 char *kwnames[] = {
6691 (char *) "self",(char *) "edge", NULL
6692 };
6693
6694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6697 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6702
6703 wxPyEndAllowThreads(__tstate);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 {
6707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6708 }
6709 return resultobj;
6710 fail:
6711 return NULL;
6712 }
6713
6714
6715 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
6716 PyObject *resultobj;
6717 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6718 int arg2 ;
6719 int result;
6720 PyObject * obj0 = 0 ;
6721 PyObject * obj1 = 0 ;
6722 char *kwnames[] = {
6723 (char *) "self",(char *) "edge", NULL
6724 };
6725
6726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6729 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 {
6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
6733 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6734
6735 wxPyEndAllowThreads(__tstate);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 resultobj = SWIG_FromInt((int)result);
6739 return resultobj;
6740 fail:
6741 return NULL;
6742 }
6743
6744
6745 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6746 PyObject *resultobj;
6747 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6748 int arg2 ;
6749 PyObject * obj0 = 0 ;
6750 PyObject * obj1 = 0 ;
6751 char *kwnames[] = {
6752 (char *) "self",(char *) "width", NULL
6753 };
6754
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6758 arg2 = (int) SWIG_AsInt(obj1);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 (arg1)->SetDefaultBorderSize(arg2);
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 Py_INCREF(Py_None); resultobj = Py_None;
6768 return resultobj;
6769 fail:
6770 return NULL;
6771 }
6772
6773
6774 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6777 int result;
6778 PyObject * obj0 = 0 ;
6779 char *kwnames[] = {
6780 (char *) "self", NULL
6781 };
6782
6783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6786 {
6787 PyThreadState* __tstate = wxPyBeginAllowThreads();
6788 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6789
6790 wxPyEndAllowThreads(__tstate);
6791 if (PyErr_Occurred()) SWIG_fail;
6792 }
6793 resultobj = SWIG_FromInt((int)result);
6794 return resultobj;
6795 fail:
6796 return NULL;
6797 }
6798
6799
6800 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6801 PyObject *resultobj;
6802 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6803 int arg2 ;
6804 PyObject * obj0 = 0 ;
6805 PyObject * obj1 = 0 ;
6806 char *kwnames[] = {
6807 (char *) "self",(char *) "width", NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6813 arg2 = (int) SWIG_AsInt(obj1);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 (arg1)->SetExtraBorderSize(arg2);
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 Py_INCREF(Py_None); resultobj = Py_None;
6823 return resultobj;
6824 fail:
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6832 int result;
6833 PyObject * obj0 = 0 ;
6834 char *kwnames[] = {
6835 (char *) "self", NULL
6836 };
6837
6838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 resultobj = SWIG_FromInt((int)result);
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj;
6857 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6858 int arg2 ;
6859 PyObject * obj0 = 0 ;
6860 PyObject * obj1 = 0 ;
6861 char *kwnames[] = {
6862 (char *) "self",(char *) "min", NULL
6863 };
6864
6865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6868 arg2 = (int) SWIG_AsInt(obj1);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 (arg1)->SetMinimumSizeX(arg2);
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 Py_INCREF(Py_None); resultobj = Py_None;
6878 return resultobj;
6879 fail:
6880 return NULL;
6881 }
6882
6883
6884 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj;
6886 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6887 int arg2 ;
6888 PyObject * obj0 = 0 ;
6889 PyObject * obj1 = 0 ;
6890 char *kwnames[] = {
6891 (char *) "self",(char *) "min", NULL
6892 };
6893
6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6897 arg2 = (int) SWIG_AsInt(obj1);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 (arg1)->SetMinimumSizeY(arg2);
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 Py_INCREF(Py_None); resultobj = Py_None;
6907 return resultobj;
6908 fail:
6909 return NULL;
6910 }
6911
6912
6913 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
6914 PyObject *resultobj;
6915 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6916 int result;
6917 PyObject * obj0 = 0 ;
6918 char *kwnames[] = {
6919 (char *) "self", NULL
6920 };
6921
6922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6925 {
6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
6927 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6928
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 resultobj = SWIG_FromInt((int)result);
6933 return resultobj;
6934 fail:
6935 return NULL;
6936 }
6937
6938
6939 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj;
6941 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6942 int result;
6943 PyObject * obj0 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6951 {
6952 PyThreadState* __tstate = wxPyBeginAllowThreads();
6953 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6954
6955 wxPyEndAllowThreads(__tstate);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 }
6958 resultobj = SWIG_FromInt((int)result);
6959 return resultobj;
6960 fail:
6961 return NULL;
6962 }
6963
6964
6965 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
6966 PyObject *resultobj;
6967 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6968 int arg2 ;
6969 PyObject * obj0 = 0 ;
6970 PyObject * obj1 = 0 ;
6971 char *kwnames[] = {
6972 (char *) "self",(char *) "max", NULL
6973 };
6974
6975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
6976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6978 arg2 = (int) SWIG_AsInt(obj1);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 (arg1)->SetMaximumSizeX(arg2);
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 Py_INCREF(Py_None); resultobj = Py_None;
6988 return resultobj;
6989 fail:
6990 return NULL;
6991 }
6992
6993
6994 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6997 int arg2 ;
6998 PyObject * obj0 = 0 ;
6999 PyObject * obj1 = 0 ;
7000 char *kwnames[] = {
7001 (char *) "self",(char *) "max", NULL
7002 };
7003
7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7007 arg2 = (int) SWIG_AsInt(obj1);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 (arg1)->SetMaximumSizeY(arg2);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 Py_INCREF(Py_None); resultobj = Py_None;
7017 return resultobj;
7018 fail:
7019 return NULL;
7020 }
7021
7022
7023 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7024 PyObject *resultobj;
7025 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7026 int result;
7027 PyObject * obj0 = 0 ;
7028 char *kwnames[] = {
7029 (char *) "self", NULL
7030 };
7031
7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7035 {
7036 PyThreadState* __tstate = wxPyBeginAllowThreads();
7037 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7038
7039 wxPyEndAllowThreads(__tstate);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 resultobj = SWIG_FromInt((int)result);
7043 return resultobj;
7044 fail:
7045 return NULL;
7046 }
7047
7048
7049 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7050 PyObject *resultobj;
7051 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7052 int result;
7053 PyObject * obj0 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7061 {
7062 PyThreadState* __tstate = wxPyBeginAllowThreads();
7063 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7064
7065 wxPyEndAllowThreads(__tstate);
7066 if (PyErr_Occurred()) SWIG_fail;
7067 }
7068 resultobj = SWIG_FromInt((int)result);
7069 return resultobj;
7070 fail:
7071 return NULL;
7072 }
7073
7074
7075 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7076 PyObject *resultobj;
7077 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7078 int arg2 ;
7079 int arg3 ;
7080 int arg4 = (int) 2 ;
7081 int result;
7082 PyObject * obj0 = 0 ;
7083 PyObject * obj1 = 0 ;
7084 PyObject * obj2 = 0 ;
7085 PyObject * obj3 = 0 ;
7086 char *kwnames[] = {
7087 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7088 };
7089
7090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7093 arg2 = (int) SWIG_AsInt(obj1);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 arg3 = (int) SWIG_AsInt(obj2);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 if (obj3) {
7098 arg4 = (int) SWIG_AsInt(obj3);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 resultobj = SWIG_FromInt((int)result);
7109 return resultobj;
7110 fail:
7111 return NULL;
7112 }
7113
7114
7115 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7116 PyObject *resultobj;
7117 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7118 PyObject * obj0 = 0 ;
7119 char *kwnames[] = {
7120 (char *) "self", NULL
7121 };
7122
7123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7126 {
7127 PyThreadState* __tstate = wxPyBeginAllowThreads();
7128 (arg1)->SizeWindows();
7129
7130 wxPyEndAllowThreads(__tstate);
7131 if (PyErr_Occurred()) SWIG_fail;
7132 }
7133 Py_INCREF(Py_None); resultobj = Py_None;
7134 return resultobj;
7135 fail:
7136 return NULL;
7137 }
7138
7139
7140 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7141 PyObject *obj;
7142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7143 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7144 Py_INCREF(obj);
7145 return Py_BuildValue((char *)"");
7146 }
7147 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7148 PyObject *resultobj;
7149 int arg1 = (int) 0 ;
7150 int arg2 = (int) wxSASH_NONE ;
7151 wxSashEvent *result;
7152 PyObject * obj0 = 0 ;
7153 PyObject * obj1 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "id",(char *) "edge", NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7159 if (obj0) {
7160 arg1 = (int) SWIG_AsInt(obj0);
7161 if (PyErr_Occurred()) SWIG_fail;
7162 }
7163 if (obj1) {
7164 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
7167 {
7168 PyThreadState* __tstate = wxPyBeginAllowThreads();
7169 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7170
7171 wxPyEndAllowThreads(__tstate);
7172 if (PyErr_Occurred()) SWIG_fail;
7173 }
7174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7175 return resultobj;
7176 fail:
7177 return NULL;
7178 }
7179
7180
7181 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7182 PyObject *resultobj;
7183 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7184 int arg2 ;
7185 PyObject * obj0 = 0 ;
7186 PyObject * obj1 = 0 ;
7187 char *kwnames[] = {
7188 (char *) "self",(char *) "edge", NULL
7189 };
7190
7191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7194 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 Py_INCREF(Py_None); resultobj = Py_None;
7204 return resultobj;
7205 fail:
7206 return NULL;
7207 }
7208
7209
7210 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj;
7212 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7213 int result;
7214 PyObject * obj0 = 0 ;
7215 char *kwnames[] = {
7216 (char *) "self", NULL
7217 };
7218
7219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 resultobj = SWIG_FromInt((int)result);
7230 return resultobj;
7231 fail:
7232 return NULL;
7233 }
7234
7235
7236 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7237 PyObject *resultobj;
7238 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7239 wxRect *arg2 = 0 ;
7240 wxRect temp2 ;
7241 PyObject * obj0 = 0 ;
7242 PyObject * obj1 = 0 ;
7243 char *kwnames[] = {
7244 (char *) "self",(char *) "rect", NULL
7245 };
7246
7247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7250 {
7251 arg2 = &temp2;
7252 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7253 }
7254 {
7255 PyThreadState* __tstate = wxPyBeginAllowThreads();
7256 (arg1)->SetDragRect((wxRect const &)*arg2);
7257
7258 wxPyEndAllowThreads(__tstate);
7259 if (PyErr_Occurred()) SWIG_fail;
7260 }
7261 Py_INCREF(Py_None); resultobj = Py_None;
7262 return resultobj;
7263 fail:
7264 return NULL;
7265 }
7266
7267
7268 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7269 PyObject *resultobj;
7270 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7271 wxRect result;
7272 PyObject * obj0 = 0 ;
7273 char *kwnames[] = {
7274 (char *) "self", NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 result = ((wxSashEvent const *)arg1)->GetDragRect();
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 {
7288 wxRect * resultptr;
7289 resultptr = new wxRect((wxRect &) result);
7290 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7291 }
7292 return resultobj;
7293 fail:
7294 return NULL;
7295 }
7296
7297
7298 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7299 PyObject *resultobj;
7300 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7301 int arg2 ;
7302 PyObject * obj0 = 0 ;
7303 PyObject * obj1 = 0 ;
7304 char *kwnames[] = {
7305 (char *) "self",(char *) "status", NULL
7306 };
7307
7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7311 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7312 if (PyErr_Occurred()) SWIG_fail;
7313 {
7314 PyThreadState* __tstate = wxPyBeginAllowThreads();
7315 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7316
7317 wxPyEndAllowThreads(__tstate);
7318 if (PyErr_Occurred()) SWIG_fail;
7319 }
7320 Py_INCREF(Py_None); resultobj = Py_None;
7321 return resultobj;
7322 fail:
7323 return NULL;
7324 }
7325
7326
7327 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7328 PyObject *resultobj;
7329 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7330 int result;
7331 PyObject * obj0 = 0 ;
7332 char *kwnames[] = {
7333 (char *) "self", NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
7346 resultobj = SWIG_FromInt((int)result);
7347 return resultobj;
7348 fail:
7349 return NULL;
7350 }
7351
7352
7353 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
7354 PyObject *obj;
7355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7356 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7357 Py_INCREF(obj);
7358 return Py_BuildValue((char *)"");
7359 }
7360 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj;
7362 int arg1 = (int) 0 ;
7363 wxQueryLayoutInfoEvent *result;
7364 PyObject * obj0 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "id", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7370 if (obj0) {
7371 arg1 = (int) SWIG_AsInt(obj0);
7372 if (PyErr_Occurred()) SWIG_fail;
7373 }
7374 {
7375 PyThreadState* __tstate = wxPyBeginAllowThreads();
7376 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7377
7378 wxPyEndAllowThreads(__tstate);
7379 if (PyErr_Occurred()) SWIG_fail;
7380 }
7381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7382 return resultobj;
7383 fail:
7384 return NULL;
7385 }
7386
7387
7388 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7389 PyObject *resultobj;
7390 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7391 int arg2 ;
7392 PyObject * obj0 = 0 ;
7393 PyObject * obj1 = 0 ;
7394 char *kwnames[] = {
7395 (char *) "self",(char *) "length", NULL
7396 };
7397
7398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7401 arg2 = (int) SWIG_AsInt(obj1);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 (arg1)->SetRequestedLength(arg2);
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 Py_INCREF(Py_None); resultobj = Py_None;
7411 return resultobj;
7412 fail:
7413 return NULL;
7414 }
7415
7416
7417 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7418 PyObject *resultobj;
7419 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7420 int result;
7421 PyObject * obj0 = 0 ;
7422 char *kwnames[] = {
7423 (char *) "self", NULL
7424 };
7425
7426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7429 {
7430 PyThreadState* __tstate = wxPyBeginAllowThreads();
7431 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7432
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 resultobj = SWIG_FromInt((int)result);
7437 return resultobj;
7438 fail:
7439 return NULL;
7440 }
7441
7442
7443 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7444 PyObject *resultobj;
7445 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7446 int arg2 ;
7447 PyObject * obj0 = 0 ;
7448 PyObject * obj1 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self",(char *) "flags", NULL
7451 };
7452
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7456 arg2 = (int) SWIG_AsInt(obj1);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 (arg1)->SetFlags(arg2);
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 Py_INCREF(Py_None); resultobj = Py_None;
7466 return resultobj;
7467 fail:
7468 return NULL;
7469 }
7470
7471
7472 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7473 PyObject *resultobj;
7474 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7475 int result;
7476 PyObject * obj0 = 0 ;
7477 char *kwnames[] = {
7478 (char *) "self", NULL
7479 };
7480
7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 resultobj = SWIG_FromInt((int)result);
7492 return resultobj;
7493 fail:
7494 return NULL;
7495 }
7496
7497
7498 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7499 PyObject *resultobj;
7500 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7501 wxSize *arg2 = 0 ;
7502 wxSize temp2 ;
7503 PyObject * obj0 = 0 ;
7504 PyObject * obj1 = 0 ;
7505 char *kwnames[] = {
7506 (char *) "self",(char *) "size", NULL
7507 };
7508
7509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7512 {
7513 arg2 = &temp2;
7514 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7515 }
7516 {
7517 PyThreadState* __tstate = wxPyBeginAllowThreads();
7518 (arg1)->SetSize((wxSize const &)*arg2);
7519
7520 wxPyEndAllowThreads(__tstate);
7521 if (PyErr_Occurred()) SWIG_fail;
7522 }
7523 Py_INCREF(Py_None); resultobj = Py_None;
7524 return resultobj;
7525 fail:
7526 return NULL;
7527 }
7528
7529
7530 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7531 PyObject *resultobj;
7532 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7533 wxSize result;
7534 PyObject * obj0 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 {
7550 wxSize * resultptr;
7551 resultptr = new wxSize((wxSize &) result);
7552 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7553 }
7554 return resultobj;
7555 fail:
7556 return NULL;
7557 }
7558
7559
7560 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7561 PyObject *resultobj;
7562 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7563 int arg2 ;
7564 PyObject * obj0 = 0 ;
7565 PyObject * obj1 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self",(char *) "orient", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7573 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7574 if (PyErr_Occurred()) SWIG_fail;
7575 {
7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
7577 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7578
7579 wxPyEndAllowThreads(__tstate);
7580 if (PyErr_Occurred()) SWIG_fail;
7581 }
7582 Py_INCREF(Py_None); resultobj = Py_None;
7583 return resultobj;
7584 fail:
7585 return NULL;
7586 }
7587
7588
7589 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7590 PyObject *resultobj;
7591 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7592 int result;
7593 PyObject * obj0 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "self", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7604
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 resultobj = SWIG_FromInt((int)result);
7609 return resultobj;
7610 fail:
7611 return NULL;
7612 }
7613
7614
7615 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7616 PyObject *resultobj;
7617 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7618 int arg2 ;
7619 PyObject * obj0 = 0 ;
7620 PyObject * obj1 = 0 ;
7621 char *kwnames[] = {
7622 (char *) "self",(char *) "align", NULL
7623 };
7624
7625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7628 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7629 if (PyErr_Occurred()) SWIG_fail;
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7633
7634 wxPyEndAllowThreads(__tstate);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
7637 Py_INCREF(Py_None); resultobj = Py_None;
7638 return resultobj;
7639 fail:
7640 return NULL;
7641 }
7642
7643
7644 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7645 PyObject *resultobj;
7646 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7647 int result;
7648 PyObject * obj0 = 0 ;
7649 char *kwnames[] = {
7650 (char *) "self", NULL
7651 };
7652
7653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 resultobj = SWIG_FromInt((int)result);
7664 return resultobj;
7665 fail:
7666 return NULL;
7667 }
7668
7669
7670 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
7671 PyObject *obj;
7672 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7673 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7674 Py_INCREF(obj);
7675 return Py_BuildValue((char *)"");
7676 }
7677 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7678 PyObject *resultobj;
7679 int arg1 = (int) 0 ;
7680 wxCalculateLayoutEvent *result;
7681 PyObject * obj0 = 0 ;
7682 char *kwnames[] = {
7683 (char *) "id", NULL
7684 };
7685
7686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7687 if (obj0) {
7688 arg1 = (int) SWIG_AsInt(obj0);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 {
7692 PyThreadState* __tstate = wxPyBeginAllowThreads();
7693 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7694
7695 wxPyEndAllowThreads(__tstate);
7696 if (PyErr_Occurred()) SWIG_fail;
7697 }
7698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7699 return resultobj;
7700 fail:
7701 return NULL;
7702 }
7703
7704
7705 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7706 PyObject *resultobj;
7707 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7708 int arg2 ;
7709 PyObject * obj0 = 0 ;
7710 PyObject * obj1 = 0 ;
7711 char *kwnames[] = {
7712 (char *) "self",(char *) "flags", NULL
7713 };
7714
7715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7718 arg2 = (int) SWIG_AsInt(obj1);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 (arg1)->SetFlags(arg2);
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 Py_INCREF(Py_None); resultobj = Py_None;
7728 return resultobj;
7729 fail:
7730 return NULL;
7731 }
7732
7733
7734 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj;
7736 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7737 int result;
7738 PyObject * obj0 = 0 ;
7739 char *kwnames[] = {
7740 (char *) "self", NULL
7741 };
7742
7743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7749
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) SWIG_fail;
7752 }
7753 resultobj = SWIG_FromInt((int)result);
7754 return resultobj;
7755 fail:
7756 return NULL;
7757 }
7758
7759
7760 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7761 PyObject *resultobj;
7762 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7763 wxRect *arg2 = 0 ;
7764 wxRect temp2 ;
7765 PyObject * obj0 = 0 ;
7766 PyObject * obj1 = 0 ;
7767 char *kwnames[] = {
7768 (char *) "self",(char *) "rect", NULL
7769 };
7770
7771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7774 {
7775 arg2 = &temp2;
7776 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7777 }
7778 {
7779 PyThreadState* __tstate = wxPyBeginAllowThreads();
7780 (arg1)->SetRect((wxRect const &)*arg2);
7781
7782 wxPyEndAllowThreads(__tstate);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 }
7785 Py_INCREF(Py_None); resultobj = Py_None;
7786 return resultobj;
7787 fail:
7788 return NULL;
7789 }
7790
7791
7792 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7793 PyObject *resultobj;
7794 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7795 wxRect result;
7796 PyObject * obj0 = 0 ;
7797 char *kwnames[] = {
7798 (char *) "self", NULL
7799 };
7800
7801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7806 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7807
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 {
7812 wxRect * resultptr;
7813 resultptr = new wxRect((wxRect &) result);
7814 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7815 }
7816 return resultobj;
7817 fail:
7818 return NULL;
7819 }
7820
7821
7822 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
7823 PyObject *obj;
7824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7825 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7826 Py_INCREF(obj);
7827 return Py_BuildValue((char *)"");
7828 }
7829 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7830 PyObject *resultobj;
7831 wxWindow *arg1 = (wxWindow *) 0 ;
7832 int arg2 ;
7833 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7834 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7835 wxSize const &arg4_defvalue = wxDefaultSize ;
7836 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7837 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7838 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7839 wxString *arg6 = (wxString *) &arg6_defvalue ;
7840 wxSashLayoutWindow *result;
7841 wxPoint temp3 ;
7842 wxSize temp4 ;
7843 bool temp6 = False ;
7844 PyObject * obj0 = 0 ;
7845 PyObject * obj1 = 0 ;
7846 PyObject * obj2 = 0 ;
7847 PyObject * obj3 = 0 ;
7848 PyObject * obj4 = 0 ;
7849 PyObject * obj5 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7857 arg2 = (int) SWIG_AsInt(obj1);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 if (obj2) {
7860 {
7861 arg3 = &temp3;
7862 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7863 }
7864 }
7865 if (obj3) {
7866 {
7867 arg4 = &temp4;
7868 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7869 }
7870 }
7871 if (obj4) {
7872 arg5 = (long) SWIG_AsLong(obj4);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 }
7875 if (obj5) {
7876 {
7877 arg6 = wxString_in_helper(obj5);
7878 if (arg6 == NULL) SWIG_fail;
7879 temp6 = True;
7880 }
7881 }
7882 {
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7885
7886 wxPyEndAllowThreads(__tstate);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 }
7889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7890 {
7891 if (temp6)
7892 delete arg6;
7893 }
7894 return resultobj;
7895 fail:
7896 {
7897 if (temp6)
7898 delete arg6;
7899 }
7900 return NULL;
7901 }
7902
7903
7904 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7905 PyObject *resultobj;
7906 wxSashLayoutWindow *result;
7907 char *kwnames[] = {
7908 NULL
7909 };
7910
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7912 {
7913 PyThreadState* __tstate = wxPyBeginAllowThreads();
7914 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7915
7916 wxPyEndAllowThreads(__tstate);
7917 if (PyErr_Occurred()) SWIG_fail;
7918 }
7919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7920 return resultobj;
7921 fail:
7922 return NULL;
7923 }
7924
7925
7926 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7927 PyObject *resultobj;
7928 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7929 wxWindow *arg2 = (wxWindow *) 0 ;
7930 int arg3 ;
7931 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7932 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7933 wxSize const &arg5_defvalue = wxDefaultSize ;
7934 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7935 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7936 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7937 wxString *arg7 = (wxString *) &arg7_defvalue ;
7938 bool result;
7939 wxPoint temp4 ;
7940 wxSize temp5 ;
7941 bool temp7 = False ;
7942 PyObject * obj0 = 0 ;
7943 PyObject * obj1 = 0 ;
7944 PyObject * obj2 = 0 ;
7945 PyObject * obj3 = 0 ;
7946 PyObject * obj4 = 0 ;
7947 PyObject * obj5 = 0 ;
7948 PyObject * obj6 = 0 ;
7949 char *kwnames[] = {
7950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7951 };
7952
7953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7958 arg3 = (int) SWIG_AsInt(obj2);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 if (obj3) {
7961 {
7962 arg4 = &temp4;
7963 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7964 }
7965 }
7966 if (obj4) {
7967 {
7968 arg5 = &temp5;
7969 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7970 }
7971 }
7972 if (obj5) {
7973 arg6 = (long) SWIG_AsLong(obj5);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 if (obj6) {
7977 {
7978 arg7 = wxString_in_helper(obj6);
7979 if (arg7 == NULL) SWIG_fail;
7980 temp7 = True;
7981 }
7982 }
7983 {
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7986
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 {
7991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7992 }
7993 {
7994 if (temp7)
7995 delete arg7;
7996 }
7997 return resultobj;
7998 fail:
7999 {
8000 if (temp7)
8001 delete arg7;
8002 }
8003 return NULL;
8004 }
8005
8006
8007 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj;
8009 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8010 int result;
8011 PyObject * obj0 = 0 ;
8012 char *kwnames[] = {
8013 (char *) "self", NULL
8014 };
8015
8016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 result = (int)(arg1)->GetAlignment();
8022
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 resultobj = SWIG_FromInt((int)result);
8027 return resultobj;
8028 fail:
8029 return NULL;
8030 }
8031
8032
8033 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8034 PyObject *resultobj;
8035 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8036 int result;
8037 PyObject * obj0 = 0 ;
8038 char *kwnames[] = {
8039 (char *) "self", NULL
8040 };
8041
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 result = (int)(arg1)->GetOrientation();
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 resultobj = SWIG_FromInt((int)result);
8053 return resultobj;
8054 fail:
8055 return NULL;
8056 }
8057
8058
8059 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8060 PyObject *resultobj;
8061 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8062 int arg2 ;
8063 PyObject * obj0 = 0 ;
8064 PyObject * obj1 = 0 ;
8065 char *kwnames[] = {
8066 (char *) "self",(char *) "alignment", NULL
8067 };
8068
8069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8072 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8073 if (PyErr_Occurred()) SWIG_fail;
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 Py_INCREF(Py_None); resultobj = Py_None;
8082 return resultobj;
8083 fail:
8084 return NULL;
8085 }
8086
8087
8088 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8089 PyObject *resultobj;
8090 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8091 wxSize *arg2 = 0 ;
8092 wxSize temp2 ;
8093 PyObject * obj0 = 0 ;
8094 PyObject * obj1 = 0 ;
8095 char *kwnames[] = {
8096 (char *) "self",(char *) "size", NULL
8097 };
8098
8099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8102 {
8103 arg2 = &temp2;
8104 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8105 }
8106 {
8107 PyThreadState* __tstate = wxPyBeginAllowThreads();
8108 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8109
8110 wxPyEndAllowThreads(__tstate);
8111 if (PyErr_Occurred()) SWIG_fail;
8112 }
8113 Py_INCREF(Py_None); resultobj = Py_None;
8114 return resultobj;
8115 fail:
8116 return NULL;
8117 }
8118
8119
8120 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8121 PyObject *resultobj;
8122 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8123 int arg2 ;
8124 PyObject * obj0 = 0 ;
8125 PyObject * obj1 = 0 ;
8126 char *kwnames[] = {
8127 (char *) "self",(char *) "orientation", NULL
8128 };
8129
8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8133 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 Py_INCREF(Py_None); resultobj = Py_None;
8143 return resultobj;
8144 fail:
8145 return NULL;
8146 }
8147
8148
8149 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8150 PyObject *obj;
8151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8152 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8153 Py_INCREF(obj);
8154 return Py_BuildValue((char *)"");
8155 }
8156 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8157 PyObject *resultobj;
8158 wxLayoutAlgorithm *result;
8159 char *kwnames[] = {
8160 NULL
8161 };
8162
8163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8164 {
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8167
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8172 return resultobj;
8173 fail:
8174 return NULL;
8175 }
8176
8177
8178 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8181 PyObject * obj0 = 0 ;
8182 char *kwnames[] = {
8183 (char *) "self", NULL
8184 };
8185
8186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8189 {
8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
8191 delete arg1;
8192
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 Py_INCREF(Py_None); resultobj = Py_None;
8197 return resultobj;
8198 fail:
8199 return NULL;
8200 }
8201
8202
8203 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8204 PyObject *resultobj;
8205 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8206 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8207 wxRect *arg3 = (wxRect *) NULL ;
8208 bool result;
8209 PyObject * obj0 = 0 ;
8210 PyObject * obj1 = 0 ;
8211 PyObject * obj2 = 0 ;
8212 char *kwnames[] = {
8213 (char *) "self",(char *) "frame",(char *) "rect", NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8219 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8221 if (obj2) {
8222 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8224 }
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8228
8229 wxPyEndAllowThreads(__tstate);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
8232 {
8233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8234 }
8235 return resultobj;
8236 fail:
8237 return NULL;
8238 }
8239
8240
8241 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8242 PyObject *resultobj;
8243 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8244 wxFrame *arg2 = (wxFrame *) 0 ;
8245 wxWindow *arg3 = (wxWindow *) NULL ;
8246 bool result;
8247 PyObject * obj0 = 0 ;
8248 PyObject * obj1 = 0 ;
8249 PyObject * obj2 = 0 ;
8250 char *kwnames[] = {
8251 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8252 };
8253
8254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8259 if (obj2) {
8260 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8262 }
8263 {
8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
8265 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 {
8271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8272 }
8273 return resultobj;
8274 fail:
8275 return NULL;
8276 }
8277
8278
8279 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj;
8281 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8282 wxWindow *arg2 = (wxWindow *) 0 ;
8283 wxWindow *arg3 = (wxWindow *) NULL ;
8284 bool result;
8285 PyObject * obj0 = 0 ;
8286 PyObject * obj1 = 0 ;
8287 PyObject * obj2 = 0 ;
8288 char *kwnames[] = {
8289 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8290 };
8291
8292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8297 if (obj2) {
8298 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8300 }
8301 {
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8304
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 {
8309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8310 }
8311 return resultobj;
8312 fail:
8313 return NULL;
8314 }
8315
8316
8317 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8318 PyObject *obj;
8319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8320 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8321 Py_INCREF(obj);
8322 return Py_BuildValue((char *)"");
8323 }
8324 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj;
8326 wxWindow *arg1 = (wxWindow *) 0 ;
8327 int arg2 = (int) wxBORDER_NONE ;
8328 wxPopupWindow *result;
8329 PyObject * obj0 = 0 ;
8330 PyObject * obj1 = 0 ;
8331 char *kwnames[] = {
8332 (char *) "parent",(char *) "flags", NULL
8333 };
8334
8335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8338 if (obj1) {
8339 arg2 = (int) SWIG_AsInt(obj1);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 {
8343 PyThreadState* __tstate = wxPyBeginAllowThreads();
8344 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8345
8346 wxPyEndAllowThreads(__tstate);
8347 if (PyErr_Occurred()) SWIG_fail;
8348 }
8349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8350 return resultobj;
8351 fail:
8352 return NULL;
8353 }
8354
8355
8356 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8357 PyObject *resultobj;
8358 wxPopupWindow *result;
8359 char *kwnames[] = {
8360 NULL
8361 };
8362
8363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8364 {
8365 PyThreadState* __tstate = wxPyBeginAllowThreads();
8366 result = (wxPopupWindow *)new wxPopupWindow();
8367
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8372 return resultobj;
8373 fail:
8374 return NULL;
8375 }
8376
8377
8378 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
8379 PyObject *obj;
8380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8381 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8382 Py_INCREF(obj);
8383 return Py_BuildValue((char *)"");
8384 }
8385 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj;
8387 wxWindow *arg1 = (wxWindow *) 0 ;
8388 int arg2 = (int) wxBORDER_NONE ;
8389 wxPyPopupTransientWindow *result;
8390 PyObject * obj0 = 0 ;
8391 PyObject * obj1 = 0 ;
8392 char *kwnames[] = {
8393 (char *) "parent",(char *) "style", NULL
8394 };
8395
8396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8399 if (obj1) {
8400 arg2 = (int) SWIG_AsInt(obj1);
8401 if (PyErr_Occurred()) SWIG_fail;
8402 }
8403 {
8404 PyThreadState* __tstate = wxPyBeginAllowThreads();
8405 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8406
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8411 return resultobj;
8412 fail:
8413 return NULL;
8414 }
8415
8416
8417 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxPyPopupTransientWindow *result;
8420 char *kwnames[] = {
8421 NULL
8422 };
8423
8424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8425 {
8426 PyThreadState* __tstate = wxPyBeginAllowThreads();
8427 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8428
8429 wxPyEndAllowThreads(__tstate);
8430 if (PyErr_Occurred()) SWIG_fail;
8431 }
8432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8433 return resultobj;
8434 fail:
8435 return NULL;
8436 }
8437
8438
8439 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
8440 PyObject *obj;
8441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8442 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8443 Py_INCREF(obj);
8444 return Py_BuildValue((char *)"");
8445 }
8446 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8447 PyObject *resultobj;
8448 wxWindow *arg1 = (wxWindow *) 0 ;
8449 wxString *arg2 = 0 ;
8450 int arg3 = (int) 100 ;
8451 wxRect *arg4 = (wxRect *) NULL ;
8452 wxTipWindow *result;
8453 bool temp2 = False ;
8454 PyObject * obj0 = 0 ;
8455 PyObject * obj1 = 0 ;
8456 PyObject * obj2 = 0 ;
8457 PyObject * obj3 = 0 ;
8458 char *kwnames[] = {
8459 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8460 };
8461
8462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8465 {
8466 arg2 = wxString_in_helper(obj1);
8467 if (arg2 == NULL) SWIG_fail;
8468 temp2 = True;
8469 }
8470 if (obj2) {
8471 arg3 = (int) SWIG_AsInt(obj2);
8472 if (PyErr_Occurred()) SWIG_fail;
8473 }
8474 if (obj3) {
8475 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8477 }
8478 {
8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
8480 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8481
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8486 {
8487 if (temp2)
8488 delete arg2;
8489 }
8490 return resultobj;
8491 fail:
8492 {
8493 if (temp2)
8494 delete arg2;
8495 }
8496 return NULL;
8497 }
8498
8499
8500 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
8501 PyObject *resultobj;
8502 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8503 wxRect *arg2 = 0 ;
8504 wxRect temp2 ;
8505 PyObject * obj0 = 0 ;
8506 PyObject * obj1 = 0 ;
8507 char *kwnames[] = {
8508 (char *) "self",(char *) "rectBound", NULL
8509 };
8510
8511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8514 {
8515 arg2 = &temp2;
8516 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8517 }
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 Py_INCREF(Py_None); resultobj = Py_None;
8526 return resultobj;
8527 fail:
8528 return NULL;
8529 }
8530
8531
8532 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
8533 PyObject *resultobj;
8534 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8535 PyObject * obj0 = 0 ;
8536 char *kwnames[] = {
8537 (char *) "self", NULL
8538 };
8539
8540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8543 {
8544 PyThreadState* __tstate = wxPyBeginAllowThreads();
8545 (arg1)->Close();
8546
8547 wxPyEndAllowThreads(__tstate);
8548 if (PyErr_Occurred()) SWIG_fail;
8549 }
8550 Py_INCREF(Py_None); resultobj = Py_None;
8551 return resultobj;
8552 fail:
8553 return NULL;
8554 }
8555
8556
8557 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
8558 PyObject *obj;
8559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8560 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8561 Py_INCREF(obj);
8562 return Py_BuildValue((char *)"");
8563 }
8564 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8565 PyObject *resultobj;
8566 wxWindow *arg1 = (wxWindow *) 0 ;
8567 int arg2 = (int) wxID_ANY ;
8568 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8569 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8570 wxSize const &arg4_defvalue = wxDefaultSize ;
8571 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8572 long arg5 = (long) 0 ;
8573 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8574 wxString *arg6 = (wxString *) &arg6_defvalue ;
8575 wxPyVScrolledWindow *result;
8576 wxPoint temp3 ;
8577 wxSize temp4 ;
8578 bool temp6 = False ;
8579 PyObject * obj0 = 0 ;
8580 PyObject * obj1 = 0 ;
8581 PyObject * obj2 = 0 ;
8582 PyObject * obj3 = 0 ;
8583 PyObject * obj4 = 0 ;
8584 PyObject * obj5 = 0 ;
8585 char *kwnames[] = {
8586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8587 };
8588
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8592 if (obj1) {
8593 arg2 = (int) SWIG_AsInt(obj1);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 if (obj2) {
8597 {
8598 arg3 = &temp3;
8599 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8600 }
8601 }
8602 if (obj3) {
8603 {
8604 arg4 = &temp4;
8605 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8606 }
8607 }
8608 if (obj4) {
8609 arg5 = (long) SWIG_AsLong(obj4);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 if (obj5) {
8613 {
8614 arg6 = wxString_in_helper(obj5);
8615 if (arg6 == NULL) SWIG_fail;
8616 temp6 = True;
8617 }
8618 }
8619 {
8620 PyThreadState* __tstate = wxPyBeginAllowThreads();
8621 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8622
8623 wxPyEndAllowThreads(__tstate);
8624 if (PyErr_Occurred()) SWIG_fail;
8625 }
8626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8627 {
8628 if (temp6)
8629 delete arg6;
8630 }
8631 return resultobj;
8632 fail:
8633 {
8634 if (temp6)
8635 delete arg6;
8636 }
8637 return NULL;
8638 }
8639
8640
8641 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8642 PyObject *resultobj;
8643 wxPyVScrolledWindow *result;
8644 char *kwnames[] = {
8645 NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8649 {
8650 PyThreadState* __tstate = wxPyBeginAllowThreads();
8651 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8652
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8657 return resultobj;
8658 fail:
8659 return NULL;
8660 }
8661
8662
8663 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8664 PyObject *resultobj;
8665 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8666 PyObject *arg2 = (PyObject *) 0 ;
8667 PyObject *arg3 = (PyObject *) 0 ;
8668 PyObject * obj0 = 0 ;
8669 PyObject * obj1 = 0 ;
8670 PyObject * obj2 = 0 ;
8671 char *kwnames[] = {
8672 (char *) "self",(char *) "self",(char *) "_class", NULL
8673 };
8674
8675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8678 arg2 = obj1;
8679 arg3 = obj2;
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 (arg1)->_setCallbackInfo(arg2,arg3);
8683
8684 wxPyEndAllowThreads(__tstate);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 Py_INCREF(Py_None); resultobj = Py_None;
8688 return resultobj;
8689 fail:
8690 return NULL;
8691 }
8692
8693
8694 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8695 PyObject *resultobj;
8696 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8697 wxWindow *arg2 = (wxWindow *) 0 ;
8698 int arg3 = (int) wxID_ANY ;
8699 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8700 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8701 wxSize const &arg5_defvalue = wxDefaultSize ;
8702 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8703 long arg6 = (long) 0 ;
8704 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8705 wxString *arg7 = (wxString *) &arg7_defvalue ;
8706 bool result;
8707 wxPoint temp4 ;
8708 wxSize temp5 ;
8709 bool temp7 = False ;
8710 PyObject * obj0 = 0 ;
8711 PyObject * obj1 = 0 ;
8712 PyObject * obj2 = 0 ;
8713 PyObject * obj3 = 0 ;
8714 PyObject * obj4 = 0 ;
8715 PyObject * obj5 = 0 ;
8716 PyObject * obj6 = 0 ;
8717 char *kwnames[] = {
8718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8719 };
8720
8721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8726 if (obj2) {
8727 arg3 = (int) SWIG_AsInt(obj2);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 if (obj3) {
8731 {
8732 arg4 = &temp4;
8733 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8734 }
8735 }
8736 if (obj4) {
8737 {
8738 arg5 = &temp5;
8739 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8740 }
8741 }
8742 if (obj5) {
8743 arg6 = (long) SWIG_AsLong(obj5);
8744 if (PyErr_Occurred()) SWIG_fail;
8745 }
8746 if (obj6) {
8747 {
8748 arg7 = wxString_in_helper(obj6);
8749 if (arg7 == NULL) SWIG_fail;
8750 temp7 = True;
8751 }
8752 }
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8756
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 {
8761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8762 }
8763 {
8764 if (temp7)
8765 delete arg7;
8766 }
8767 return resultobj;
8768 fail:
8769 {
8770 if (temp7)
8771 delete arg7;
8772 }
8773 return NULL;
8774 }
8775
8776
8777 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
8778 PyObject *resultobj;
8779 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8780 size_t arg2 ;
8781 PyObject * obj0 = 0 ;
8782 PyObject * obj1 = 0 ;
8783 char *kwnames[] = {
8784 (char *) "self",(char *) "count", NULL
8785 };
8786
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8790 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 {
8793 PyThreadState* __tstate = wxPyBeginAllowThreads();
8794 (arg1)->SetLineCount(arg2);
8795
8796 wxPyEndAllowThreads(__tstate);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 }
8799 Py_INCREF(Py_None); resultobj = Py_None;
8800 return resultobj;
8801 fail:
8802 return NULL;
8803 }
8804
8805
8806 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
8807 PyObject *resultobj;
8808 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8809 size_t arg2 ;
8810 bool result;
8811 PyObject * obj0 = 0 ;
8812 PyObject * obj1 = 0 ;
8813 char *kwnames[] = {
8814 (char *) "self",(char *) "line", NULL
8815 };
8816
8817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8820 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 {
8823 PyThreadState* __tstate = wxPyBeginAllowThreads();
8824 result = (bool)(arg1)->ScrollToLine(arg2);
8825
8826 wxPyEndAllowThreads(__tstate);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 {
8830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8831 }
8832 return resultobj;
8833 fail:
8834 return NULL;
8835 }
8836
8837
8838 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj;
8840 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8841 int arg2 ;
8842 bool result;
8843 PyObject * obj0 = 0 ;
8844 PyObject * obj1 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "self",(char *) "lines", NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8852 arg2 = (int) SWIG_AsInt(obj1);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 {
8855 PyThreadState* __tstate = wxPyBeginAllowThreads();
8856 result = (bool)(arg1)->ScrollLines(arg2);
8857
8858 wxPyEndAllowThreads(__tstate);
8859 if (PyErr_Occurred()) SWIG_fail;
8860 }
8861 {
8862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8863 }
8864 return resultobj;
8865 fail:
8866 return NULL;
8867 }
8868
8869
8870 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
8871 PyObject *resultobj;
8872 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8873 int arg2 ;
8874 bool result;
8875 PyObject * obj0 = 0 ;
8876 PyObject * obj1 = 0 ;
8877 char *kwnames[] = {
8878 (char *) "self",(char *) "pages", NULL
8879 };
8880
8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
8882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8884 arg2 = (int) SWIG_AsInt(obj1);
8885 if (PyErr_Occurred()) SWIG_fail;
8886 {
8887 PyThreadState* __tstate = wxPyBeginAllowThreads();
8888 result = (bool)(arg1)->ScrollPages(arg2);
8889
8890 wxPyEndAllowThreads(__tstate);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 }
8893 {
8894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8895 }
8896 return resultobj;
8897 fail:
8898 return NULL;
8899 }
8900
8901
8902 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
8903 PyObject *resultobj;
8904 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8905 size_t arg2 ;
8906 PyObject * obj0 = 0 ;
8907 PyObject * obj1 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "self",(char *) "line", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8915 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 {
8918 PyThreadState* __tstate = wxPyBeginAllowThreads();
8919 (arg1)->RefreshLine(arg2);
8920
8921 wxPyEndAllowThreads(__tstate);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 }
8924 Py_INCREF(Py_None); resultobj = Py_None;
8925 return resultobj;
8926 fail:
8927 return NULL;
8928 }
8929
8930
8931 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
8932 PyObject *resultobj;
8933 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8934 size_t arg2 ;
8935 size_t arg3 ;
8936 PyObject * obj0 = 0 ;
8937 PyObject * obj1 = 0 ;
8938 PyObject * obj2 = 0 ;
8939 char *kwnames[] = {
8940 (char *) "self",(char *) "from",(char *) "to", NULL
8941 };
8942
8943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8946 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8947 if (PyErr_Occurred()) SWIG_fail;
8948 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 {
8951 PyThreadState* __tstate = wxPyBeginAllowThreads();
8952 (arg1)->RefreshLines(arg2,arg3);
8953
8954 wxPyEndAllowThreads(__tstate);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 }
8957 Py_INCREF(Py_None); resultobj = Py_None;
8958 return resultobj;
8959 fail:
8960 return NULL;
8961 }
8962
8963
8964 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *, PyObject *args, PyObject *kwargs) {
8965 PyObject *resultobj;
8966 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8967 int arg2 ;
8968 int arg3 ;
8969 int result;
8970 PyObject * obj0 = 0 ;
8971 PyObject * obj1 = 0 ;
8972 PyObject * obj2 = 0 ;
8973 char *kwnames[] = {
8974 (char *) "self",(char *) "x",(char *) "y", NULL
8975 };
8976
8977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
8978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8980 arg2 = (int) SWIG_AsInt(obj1);
8981 if (PyErr_Occurred()) SWIG_fail;
8982 arg3 = (int) SWIG_AsInt(obj2);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 {
8985 PyThreadState* __tstate = wxPyBeginAllowThreads();
8986 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8987
8988 wxPyEndAllowThreads(__tstate);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 resultobj = SWIG_FromInt((int)result);
8992 return resultobj;
8993 fail:
8994 return NULL;
8995 }
8996
8997
8998 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8999 PyObject *resultobj;
9000 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9001 wxPoint *arg2 = 0 ;
9002 int result;
9003 wxPoint temp2 ;
9004 PyObject * obj0 = 0 ;
9005 PyObject * obj1 = 0 ;
9006 char *kwnames[] = {
9007 (char *) "self",(char *) "pt", NULL
9008 };
9009
9010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9013 {
9014 arg2 = &temp2;
9015 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9016 }
9017 {
9018 PyThreadState* __tstate = wxPyBeginAllowThreads();
9019 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9020
9021 wxPyEndAllowThreads(__tstate);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 resultobj = SWIG_FromInt((int)result);
9025 return resultobj;
9026 fail:
9027 return NULL;
9028 }
9029
9030
9031 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj;
9033 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9034 PyObject * obj0 = 0 ;
9035 char *kwnames[] = {
9036 (char *) "self", NULL
9037 };
9038
9039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9042 {
9043 PyThreadState* __tstate = wxPyBeginAllowThreads();
9044 (arg1)->RefreshAll();
9045
9046 wxPyEndAllowThreads(__tstate);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 }
9049 Py_INCREF(Py_None); resultobj = Py_None;
9050 return resultobj;
9051 fail:
9052 return NULL;
9053 }
9054
9055
9056 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9057 PyObject *resultobj;
9058 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9059 size_t result;
9060 PyObject * obj0 = 0 ;
9061 char *kwnames[] = {
9062 (char *) "self", NULL
9063 };
9064
9065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9068 {
9069 PyThreadState* __tstate = wxPyBeginAllowThreads();
9070 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9071
9072 wxPyEndAllowThreads(__tstate);
9073 if (PyErr_Occurred()) SWIG_fail;
9074 }
9075 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9076 return resultobj;
9077 fail:
9078 return NULL;
9079 }
9080
9081
9082 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9083 PyObject *resultobj;
9084 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9085 size_t result;
9086 PyObject * obj0 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "self", NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9094 {
9095 PyThreadState* __tstate = wxPyBeginAllowThreads();
9096 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9097
9098 wxPyEndAllowThreads(__tstate);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 }
9101 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9102 return resultobj;
9103 fail:
9104 return NULL;
9105 }
9106
9107
9108 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9109 PyObject *resultobj;
9110 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9111 size_t result;
9112 PyObject * obj0 = 0 ;
9113 char *kwnames[] = {
9114 (char *) "self", NULL
9115 };
9116
9117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9128 return resultobj;
9129 fail:
9130 return NULL;
9131 }
9132
9133
9134 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9135 PyObject *resultobj;
9136 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9137 size_t arg2 ;
9138 bool result;
9139 PyObject * obj0 = 0 ;
9140 PyObject * obj1 = 0 ;
9141 char *kwnames[] = {
9142 (char *) "self",(char *) "line", NULL
9143 };
9144
9145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9148 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 {
9151 PyThreadState* __tstate = wxPyBeginAllowThreads();
9152 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9153
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 {
9158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9159 }
9160 return resultobj;
9161 fail:
9162 return NULL;
9163 }
9164
9165
9166 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9167 PyObject *obj;
9168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9169 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9170 Py_INCREF(obj);
9171 return Py_BuildValue((char *)"");
9172 }
9173 static int _wrap_VListBoxNameStr_set(PyObject *) {
9174 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9175 return 1;
9176 }
9177
9178
9179 static PyObject *_wrap_VListBoxNameStr_get() {
9180 PyObject *pyobj;
9181
9182 {
9183 #if wxUSE_UNICODE
9184 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9185 #else
9186 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9187 #endif
9188 }
9189 return pyobj;
9190 }
9191
9192
9193 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9194 PyObject *resultobj;
9195 wxWindow *arg1 = (wxWindow *) 0 ;
9196 int arg2 = (int) wxID_ANY ;
9197 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9198 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9199 wxSize const &arg4_defvalue = wxDefaultSize ;
9200 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9201 long arg5 = (long) 0 ;
9202 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9203 wxString *arg6 = (wxString *) &arg6_defvalue ;
9204 wxPyVListBox *result;
9205 wxPoint temp3 ;
9206 wxSize temp4 ;
9207 bool temp6 = False ;
9208 PyObject * obj0 = 0 ;
9209 PyObject * obj1 = 0 ;
9210 PyObject * obj2 = 0 ;
9211 PyObject * obj3 = 0 ;
9212 PyObject * obj4 = 0 ;
9213 PyObject * obj5 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9221 if (obj1) {
9222 arg2 = (int) SWIG_AsInt(obj1);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 if (obj2) {
9226 {
9227 arg3 = &temp3;
9228 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9229 }
9230 }
9231 if (obj3) {
9232 {
9233 arg4 = &temp4;
9234 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9235 }
9236 }
9237 if (obj4) {
9238 arg5 = (long) SWIG_AsLong(obj4);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 }
9241 if (obj5) {
9242 {
9243 arg6 = wxString_in_helper(obj5);
9244 if (arg6 == NULL) SWIG_fail;
9245 temp6 = True;
9246 }
9247 }
9248 {
9249 PyThreadState* __tstate = wxPyBeginAllowThreads();
9250 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9251
9252 wxPyEndAllowThreads(__tstate);
9253 if (PyErr_Occurred()) SWIG_fail;
9254 }
9255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9256 {
9257 if (temp6)
9258 delete arg6;
9259 }
9260 return resultobj;
9261 fail:
9262 {
9263 if (temp6)
9264 delete arg6;
9265 }
9266 return NULL;
9267 }
9268
9269
9270 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9271 PyObject *resultobj;
9272 wxPyVListBox *result;
9273 char *kwnames[] = {
9274 NULL
9275 };
9276
9277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 result = (wxPyVListBox *)new wxPyVListBox();
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9286 return resultobj;
9287 fail:
9288 return NULL;
9289 }
9290
9291
9292 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9293 PyObject *resultobj;
9294 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9295 PyObject *arg2 = (PyObject *) 0 ;
9296 PyObject *arg3 = (PyObject *) 0 ;
9297 PyObject * obj0 = 0 ;
9298 PyObject * obj1 = 0 ;
9299 PyObject * obj2 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self",(char *) "self",(char *) "_class", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9307 arg2 = obj1;
9308 arg3 = obj2;
9309 {
9310 PyThreadState* __tstate = wxPyBeginAllowThreads();
9311 (arg1)->_setCallbackInfo(arg2,arg3);
9312
9313 wxPyEndAllowThreads(__tstate);
9314 if (PyErr_Occurred()) SWIG_fail;
9315 }
9316 Py_INCREF(Py_None); resultobj = Py_None;
9317 return resultobj;
9318 fail:
9319 return NULL;
9320 }
9321
9322
9323 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9324 PyObject *resultobj;
9325 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9326 wxWindow *arg2 = (wxWindow *) 0 ;
9327 int arg3 = (int) wxID_ANY ;
9328 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9329 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9330 wxSize const &arg5_defvalue = wxDefaultSize ;
9331 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9332 long arg6 = (long) 0 ;
9333 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9334 wxString *arg7 = (wxString *) &arg7_defvalue ;
9335 bool result;
9336 wxPoint temp4 ;
9337 wxSize temp5 ;
9338 bool temp7 = False ;
9339 PyObject * obj0 = 0 ;
9340 PyObject * obj1 = 0 ;
9341 PyObject * obj2 = 0 ;
9342 PyObject * obj3 = 0 ;
9343 PyObject * obj4 = 0 ;
9344 PyObject * obj5 = 0 ;
9345 PyObject * obj6 = 0 ;
9346 char *kwnames[] = {
9347 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9348 };
9349
9350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9355 if (obj2) {
9356 arg3 = (int) SWIG_AsInt(obj2);
9357 if (PyErr_Occurred()) SWIG_fail;
9358 }
9359 if (obj3) {
9360 {
9361 arg4 = &temp4;
9362 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9363 }
9364 }
9365 if (obj4) {
9366 {
9367 arg5 = &temp5;
9368 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9369 }
9370 }
9371 if (obj5) {
9372 arg6 = (long) SWIG_AsLong(obj5);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 if (obj6) {
9376 {
9377 arg7 = wxString_in_helper(obj6);
9378 if (arg7 == NULL) SWIG_fail;
9379 temp7 = True;
9380 }
9381 }
9382 {
9383 PyThreadState* __tstate = wxPyBeginAllowThreads();
9384 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9385
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 {
9390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9391 }
9392 {
9393 if (temp7)
9394 delete arg7;
9395 }
9396 return resultobj;
9397 fail:
9398 {
9399 if (temp7)
9400 delete arg7;
9401 }
9402 return NULL;
9403 }
9404
9405
9406 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
9407 PyObject *resultobj;
9408 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9409 size_t result;
9410 PyObject * obj0 = 0 ;
9411 char *kwnames[] = {
9412 (char *) "self", NULL
9413 };
9414
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9421
9422 wxPyEndAllowThreads(__tstate);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 }
9425 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9426 return resultobj;
9427 fail:
9428 return NULL;
9429 }
9430
9431
9432 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9433 PyObject *resultobj;
9434 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9435 bool result;
9436 PyObject * obj0 = 0 ;
9437 char *kwnames[] = {
9438 (char *) "self", NULL
9439 };
9440
9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9444 {
9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
9446 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9447
9448 wxPyEndAllowThreads(__tstate);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 }
9451 {
9452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9453 }
9454 return resultobj;
9455 fail:
9456 return NULL;
9457 }
9458
9459
9460 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9461 PyObject *resultobj;
9462 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9463 int result;
9464 PyObject * obj0 = 0 ;
9465 char *kwnames[] = {
9466 (char *) "self", NULL
9467 };
9468
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",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 = (int)((wxPyVListBox const *)arg1)->GetSelection();
9475
9476 wxPyEndAllowThreads(__tstate);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 resultobj = SWIG_FromInt((int)result);
9480 return resultobj;
9481 fail:
9482 return NULL;
9483 }
9484
9485
9486 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
9487 PyObject *resultobj;
9488 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9489 size_t arg2 ;
9490 bool result;
9491 PyObject * obj0 = 0 ;
9492 PyObject * obj1 = 0 ;
9493 char *kwnames[] = {
9494 (char *) "self",(char *) "item", NULL
9495 };
9496
9497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9500 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 {
9503 PyThreadState* __tstate = wxPyBeginAllowThreads();
9504 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9505
9506 wxPyEndAllowThreads(__tstate);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 }
9509 {
9510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9511 }
9512 return resultobj;
9513 fail:
9514 return NULL;
9515 }
9516
9517
9518 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9519 PyObject *resultobj;
9520 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9521 size_t arg2 ;
9522 bool result;
9523 PyObject * obj0 = 0 ;
9524 PyObject * obj1 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "self",(char *) "item", NULL
9527 };
9528
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9532 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9533 if (PyErr_Occurred()) SWIG_fail;
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9537
9538 wxPyEndAllowThreads(__tstate);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 {
9542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9543 }
9544 return resultobj;
9545 fail:
9546 return NULL;
9547 }
9548
9549
9550 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
9551 PyObject *resultobj;
9552 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9553 size_t result;
9554 PyObject * obj0 = 0 ;
9555 char *kwnames[] = {
9556 (char *) "self", NULL
9557 };
9558
9559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9562 {
9563 PyThreadState* __tstate = wxPyBeginAllowThreads();
9564 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9565
9566 wxPyEndAllowThreads(__tstate);
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
9569 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9570 return resultobj;
9571 fail:
9572 return NULL;
9573 }
9574
9575
9576 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9577 PyObject *resultobj;
9578 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9579 unsigned long *arg2 = 0 ;
9580 int result;
9581 PyObject * obj0 = 0 ;
9582 PyObject * obj1 = 0 ;
9583 char *kwnames[] = {
9584 (char *) "self",(char *) "cookie", NULL
9585 };
9586
9587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9591 SWIG_POINTER_EXCEPTION | 0)) == -1)
9592 SWIG_fail;
9593 if (arg2 == NULL) {
9594 PyErr_SetString(PyExc_TypeError,"null reference");
9595 SWIG_fail;
9596 }
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 resultobj = SWIG_FromInt((int)result);
9605 return resultobj;
9606 fail:
9607 return NULL;
9608 }
9609
9610
9611 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9612 PyObject *resultobj;
9613 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9614 unsigned long *arg2 = 0 ;
9615 int result;
9616 PyObject * obj0 = 0 ;
9617 PyObject * obj1 = 0 ;
9618 char *kwnames[] = {
9619 (char *) "self",(char *) "cookie", NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9626 SWIG_POINTER_EXCEPTION | 0)) == -1)
9627 SWIG_fail;
9628 if (arg2 == NULL) {
9629 PyErr_SetString(PyExc_TypeError,"null reference");
9630 SWIG_fail;
9631 }
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 resultobj = SWIG_FromInt((int)result);
9640 return resultobj;
9641 fail:
9642 return NULL;
9643 }
9644
9645
9646 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
9647 PyObject *resultobj;
9648 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9649 wxPoint result;
9650 PyObject * obj0 = 0 ;
9651 char *kwnames[] = {
9652 (char *) "self", NULL
9653 };
9654
9655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9658 {
9659 PyThreadState* __tstate = wxPyBeginAllowThreads();
9660 result = ((wxPyVListBox const *)arg1)->GetMargins();
9661
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 {
9666 wxPoint * resultptr;
9667 resultptr = new wxPoint((wxPoint &) result);
9668 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9669 }
9670 return resultobj;
9671 fail:
9672 return NULL;
9673 }
9674
9675
9676 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
9677 PyObject *resultobj;
9678 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9679 wxColour *result;
9680 PyObject * obj0 = 0 ;
9681 char *kwnames[] = {
9682 (char *) "self", NULL
9683 };
9684
9685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 {
9691 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9692 result = (wxColour *) &_result_ref;
9693 }
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj;
9707 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9708 size_t arg2 ;
9709 PyObject * obj0 = 0 ;
9710 PyObject * obj1 = 0 ;
9711 char *kwnames[] = {
9712 (char *) "self",(char *) "count", NULL
9713 };
9714
9715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9718 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9719 if (PyErr_Occurred()) SWIG_fail;
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 (arg1)->SetItemCount(arg2);
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 Py_INCREF(Py_None); resultobj = Py_None;
9728 return resultobj;
9729 fail:
9730 return NULL;
9731 }
9732
9733
9734 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
9735 PyObject *resultobj;
9736 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9737 PyObject * obj0 = 0 ;
9738 char *kwnames[] = {
9739 (char *) "self", NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 (arg1)->Clear();
9748
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
9752 Py_INCREF(Py_None); resultobj = Py_None;
9753 return resultobj;
9754 fail:
9755 return NULL;
9756 }
9757
9758
9759 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9760 PyObject *resultobj;
9761 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9762 int arg2 ;
9763 PyObject * obj0 = 0 ;
9764 PyObject * obj1 = 0 ;
9765 char *kwnames[] = {
9766 (char *) "self",(char *) "selection", NULL
9767 };
9768
9769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9772 arg2 = (int) SWIG_AsInt(obj1);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 (arg1)->SetSelection(arg2);
9777
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 Py_INCREF(Py_None); resultobj = Py_None;
9782 return resultobj;
9783 fail:
9784 return NULL;
9785 }
9786
9787
9788 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
9789 PyObject *resultobj;
9790 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9791 size_t arg2 ;
9792 bool arg3 = (bool) True ;
9793 bool result;
9794 PyObject * obj0 = 0 ;
9795 PyObject * obj1 = 0 ;
9796 PyObject * obj2 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self",(char *) "item",(char *) "select", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9804 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 if (obj2) {
9807 arg3 = (bool) SWIG_AsBool(obj2);
9808 if (PyErr_Occurred()) SWIG_fail;
9809 }
9810 {
9811 PyThreadState* __tstate = wxPyBeginAllowThreads();
9812 result = (bool)(arg1)->Select(arg2,arg3);
9813
9814 wxPyEndAllowThreads(__tstate);
9815 if (PyErr_Occurred()) SWIG_fail;
9816 }
9817 {
9818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9819 }
9820 return resultobj;
9821 fail:
9822 return NULL;
9823 }
9824
9825
9826 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
9827 PyObject *resultobj;
9828 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9829 size_t arg2 ;
9830 size_t arg3 ;
9831 bool result;
9832 PyObject * obj0 = 0 ;
9833 PyObject * obj1 = 0 ;
9834 PyObject * obj2 = 0 ;
9835 char *kwnames[] = {
9836 (char *) "self",(char *) "from",(char *) "to", NULL
9837 };
9838
9839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9842 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (bool)(arg1)->SelectRange(arg2,arg3);
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
9853 {
9854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9855 }
9856 return resultobj;
9857 fail:
9858 return NULL;
9859 }
9860
9861
9862 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
9863 PyObject *resultobj;
9864 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9865 size_t arg2 ;
9866 PyObject * obj0 = 0 ;
9867 PyObject * obj1 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "self",(char *) "item", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9875 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 {
9878 PyThreadState* __tstate = wxPyBeginAllowThreads();
9879 (arg1)->Toggle(arg2);
9880
9881 wxPyEndAllowThreads(__tstate);
9882 if (PyErr_Occurred()) SWIG_fail;
9883 }
9884 Py_INCREF(Py_None); resultobj = Py_None;
9885 return resultobj;
9886 fail:
9887 return NULL;
9888 }
9889
9890
9891 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
9892 PyObject *resultobj;
9893 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9894 bool result;
9895 PyObject * obj0 = 0 ;
9896 char *kwnames[] = {
9897 (char *) "self", NULL
9898 };
9899
9900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9903 {
9904 PyThreadState* __tstate = wxPyBeginAllowThreads();
9905 result = (bool)(arg1)->SelectAll();
9906
9907 wxPyEndAllowThreads(__tstate);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 }
9910 {
9911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9912 }
9913 return resultobj;
9914 fail:
9915 return NULL;
9916 }
9917
9918
9919 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
9920 PyObject *resultobj;
9921 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9922 bool result;
9923 PyObject * obj0 = 0 ;
9924 char *kwnames[] = {
9925 (char *) "self", NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 result = (bool)(arg1)->DeselectAll();
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 {
9939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9940 }
9941 return resultobj;
9942 fail:
9943 return NULL;
9944 }
9945
9946
9947 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
9948 PyObject *resultobj;
9949 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9950 wxPoint *arg2 = 0 ;
9951 wxPoint temp2 ;
9952 PyObject * obj0 = 0 ;
9953 PyObject * obj1 = 0 ;
9954 char *kwnames[] = {
9955 (char *) "self",(char *) "pt", NULL
9956 };
9957
9958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9961 {
9962 arg2 = &temp2;
9963 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9964 }
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 (arg1)->SetMargins((wxPoint const &)*arg2);
9968
9969 wxPyEndAllowThreads(__tstate);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 Py_INCREF(Py_None); resultobj = Py_None;
9973 return resultobj;
9974 fail:
9975 return NULL;
9976 }
9977
9978
9979 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
9980 PyObject *resultobj;
9981 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9982 int arg2 ;
9983 int arg3 ;
9984 PyObject * obj0 = 0 ;
9985 PyObject * obj1 = 0 ;
9986 PyObject * obj2 = 0 ;
9987 char *kwnames[] = {
9988 (char *) "self",(char *) "x",(char *) "y", NULL
9989 };
9990
9991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9994 arg2 = (int) SWIG_AsInt(obj1);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 arg3 = (int) SWIG_AsInt(obj2);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 {
9999 PyThreadState* __tstate = wxPyBeginAllowThreads();
10000 (arg1)->SetMargins(arg2,arg3);
10001
10002 wxPyEndAllowThreads(__tstate);
10003 if (PyErr_Occurred()) SWIG_fail;
10004 }
10005 Py_INCREF(Py_None); resultobj = Py_None;
10006 return resultobj;
10007 fail:
10008 return NULL;
10009 }
10010
10011
10012 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10013 PyObject *resultobj;
10014 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10015 wxColour *arg2 = 0 ;
10016 wxColour temp2 ;
10017 PyObject * obj0 = 0 ;
10018 PyObject * obj1 = 0 ;
10019 char *kwnames[] = {
10020 (char *) "self",(char *) "col", NULL
10021 };
10022
10023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10026 {
10027 arg2 = &temp2;
10028 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10029 }
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10033
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 Py_INCREF(Py_None); resultobj = Py_None;
10038 return resultobj;
10039 fail:
10040 return NULL;
10041 }
10042
10043
10044 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10045 PyObject *obj;
10046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10047 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10048 Py_INCREF(obj);
10049 return Py_BuildValue((char *)"");
10050 }
10051 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10052 PyObject *resultobj;
10053 wxWindow *arg1 = (wxWindow *) 0 ;
10054 int arg2 = (int) wxID_ANY ;
10055 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10056 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10057 wxSize const &arg4_defvalue = wxDefaultSize ;
10058 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10059 long arg5 = (long) 0 ;
10060 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10061 wxString *arg6 = (wxString *) &arg6_defvalue ;
10062 wxPyHtmlListBox *result;
10063 wxPoint temp3 ;
10064 wxSize temp4 ;
10065 bool temp6 = False ;
10066 PyObject * obj0 = 0 ;
10067 PyObject * obj1 = 0 ;
10068 PyObject * obj2 = 0 ;
10069 PyObject * obj3 = 0 ;
10070 PyObject * obj4 = 0 ;
10071 PyObject * obj5 = 0 ;
10072 char *kwnames[] = {
10073 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10074 };
10075
10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10079 if (obj1) {
10080 arg2 = (int) SWIG_AsInt(obj1);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
10083 if (obj2) {
10084 {
10085 arg3 = &temp3;
10086 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10087 }
10088 }
10089 if (obj3) {
10090 {
10091 arg4 = &temp4;
10092 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10093 }
10094 }
10095 if (obj4) {
10096 arg5 = (long) SWIG_AsLong(obj4);
10097 if (PyErr_Occurred()) SWIG_fail;
10098 }
10099 if (obj5) {
10100 {
10101 arg6 = wxString_in_helper(obj5);
10102 if (arg6 == NULL) SWIG_fail;
10103 temp6 = True;
10104 }
10105 }
10106 {
10107 PyThreadState* __tstate = wxPyBeginAllowThreads();
10108 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10109
10110 wxPyEndAllowThreads(__tstate);
10111 if (PyErr_Occurred()) SWIG_fail;
10112 }
10113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10114 {
10115 if (temp6)
10116 delete arg6;
10117 }
10118 return resultobj;
10119 fail:
10120 {
10121 if (temp6)
10122 delete arg6;
10123 }
10124 return NULL;
10125 }
10126
10127
10128 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10129 PyObject *resultobj;
10130 wxPyHtmlListBox *result;
10131 char *kwnames[] = {
10132 NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10139
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj;
10152 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10153 PyObject *arg2 = (PyObject *) 0 ;
10154 PyObject *arg3 = (PyObject *) 0 ;
10155 PyObject * obj0 = 0 ;
10156 PyObject * obj1 = 0 ;
10157 PyObject * obj2 = 0 ;
10158 char *kwnames[] = {
10159 (char *) "self",(char *) "self",(char *) "_class", NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10165 arg2 = obj1;
10166 arg3 = obj2;
10167 {
10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
10169 (arg1)->_setCallbackInfo(arg2,arg3);
10170
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 }
10174 Py_INCREF(Py_None); resultobj = Py_None;
10175 return resultobj;
10176 fail:
10177 return NULL;
10178 }
10179
10180
10181 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10182 PyObject *resultobj;
10183 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10184 wxWindow *arg2 = (wxWindow *) 0 ;
10185 int arg3 = (int) wxID_ANY ;
10186 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10187 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10188 wxSize const &arg5_defvalue = wxDefaultSize ;
10189 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10190 long arg6 = (long) 0 ;
10191 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10192 wxString *arg7 = (wxString *) &arg7_defvalue ;
10193 bool result;
10194 wxPoint temp4 ;
10195 wxSize temp5 ;
10196 bool temp7 = False ;
10197 PyObject * obj0 = 0 ;
10198 PyObject * obj1 = 0 ;
10199 PyObject * obj2 = 0 ;
10200 PyObject * obj3 = 0 ;
10201 PyObject * obj4 = 0 ;
10202 PyObject * obj5 = 0 ;
10203 PyObject * obj6 = 0 ;
10204 char *kwnames[] = {
10205 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10206 };
10207
10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10213 if (obj2) {
10214 arg3 = (int) SWIG_AsInt(obj2);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 if (obj3) {
10218 {
10219 arg4 = &temp4;
10220 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10221 }
10222 }
10223 if (obj4) {
10224 {
10225 arg5 = &temp5;
10226 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10227 }
10228 }
10229 if (obj5) {
10230 arg6 = (long) SWIG_AsLong(obj5);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
10233 if (obj6) {
10234 {
10235 arg7 = wxString_in_helper(obj6);
10236 if (arg7 == NULL) SWIG_fail;
10237 temp7 = True;
10238 }
10239 }
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10243
10244 wxPyEndAllowThreads(__tstate);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 }
10247 {
10248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10249 }
10250 {
10251 if (temp7)
10252 delete arg7;
10253 }
10254 return resultobj;
10255 fail:
10256 {
10257 if (temp7)
10258 delete arg7;
10259 }
10260 return NULL;
10261 }
10262
10263
10264 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
10265 PyObject *resultobj;
10266 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10267 PyObject * obj0 = 0 ;
10268 char *kwnames[] = {
10269 (char *) "self", NULL
10270 };
10271
10272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 (arg1)->RefreshAll();
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 Py_INCREF(Py_None); resultobj = Py_None;
10283 return resultobj;
10284 fail:
10285 return NULL;
10286 }
10287
10288
10289 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10290 PyObject *resultobj;
10291 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10292 size_t arg2 ;
10293 PyObject * obj0 = 0 ;
10294 PyObject * obj1 = 0 ;
10295 char *kwnames[] = {
10296 (char *) "self",(char *) "count", NULL
10297 };
10298
10299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10302 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10303 if (PyErr_Occurred()) SWIG_fail;
10304 {
10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
10306 (arg1)->SetItemCount(arg2);
10307
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 Py_INCREF(Py_None); resultobj = Py_None;
10312 return resultobj;
10313 fail:
10314 return NULL;
10315 }
10316
10317
10318 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
10319 PyObject *obj;
10320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10321 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10322 Py_INCREF(obj);
10323 return Py_BuildValue((char *)"");
10324 }
10325 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
10326 PyObject *resultobj;
10327 wxTaskBarIcon *result;
10328 char *kwnames[] = {
10329 NULL
10330 };
10331
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
10335 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10341 return resultobj;
10342 fail:
10343 return NULL;
10344 }
10345
10346
10347 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
10348 PyObject *resultobj;
10349 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10350 PyObject * obj0 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 delete arg1;
10361
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 Py_INCREF(Py_None); resultobj = Py_None;
10366 return resultobj;
10367 fail:
10368 return NULL;
10369 }
10370
10371
10372 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
10373 PyObject *obj;
10374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10375 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10376 Py_INCREF(obj);
10377 return Py_BuildValue((char *)"");
10378 }
10379 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10380 PyObject *resultobj;
10381 wxEventType arg1 ;
10382 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10383 wxTaskBarIconEvent *result;
10384 PyObject * obj0 = 0 ;
10385 PyObject * obj1 = 0 ;
10386 char *kwnames[] = {
10387 (char *) "evtType",(char *) "tbIcon", NULL
10388 };
10389
10390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10391 arg1 = (wxEventType) SWIG_AsInt(obj0);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10398
10399 wxPyEndAllowThreads(__tstate);
10400 if (PyErr_Occurred()) SWIG_fail;
10401 }
10402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10403 return resultobj;
10404 fail:
10405 return NULL;
10406 }
10407
10408
10409 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
10410 PyObject *obj;
10411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10412 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10413 Py_INCREF(obj);
10414 return Py_BuildValue((char *)"");
10415 }
10416 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
10417 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10418 return 1;
10419 }
10420
10421
10422 static PyObject *_wrap_FileSelectorPromptStr_get() {
10423 PyObject *pyobj;
10424
10425 {
10426 #if wxUSE_UNICODE
10427 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10428 #else
10429 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10430 #endif
10431 }
10432 return pyobj;
10433 }
10434
10435
10436 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
10437 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10438 return 1;
10439 }
10440
10441
10442 static PyObject *_wrap_DirSelectorPromptStr_get() {
10443 PyObject *pyobj;
10444
10445 {
10446 #if wxUSE_UNICODE
10447 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10448 #else
10449 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10450 #endif
10451 }
10452 return pyobj;
10453 }
10454
10455
10456 static int _wrap_DirDialogNameStr_set(PyObject *) {
10457 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10458 return 1;
10459 }
10460
10461
10462 static PyObject *_wrap_DirDialogNameStr_get() {
10463 PyObject *pyobj;
10464
10465 {
10466 #if wxUSE_UNICODE
10467 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10468 #else
10469 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10470 #endif
10471 }
10472 return pyobj;
10473 }
10474
10475
10476 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
10477 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10478 return 1;
10479 }
10480
10481
10482 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10483 PyObject *pyobj;
10484
10485 {
10486 #if wxUSE_UNICODE
10487 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10488 #else
10489 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10490 #endif
10491 }
10492 return pyobj;
10493 }
10494
10495
10496 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
10497 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10498 return 1;
10499 }
10500
10501
10502 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10503 PyObject *pyobj;
10504
10505 {
10506 #if wxUSE_UNICODE
10507 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10508 #else
10509 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10510 #endif
10511 }
10512 return pyobj;
10513 }
10514
10515
10516 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
10517 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10518 return 1;
10519 }
10520
10521
10522 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10523 PyObject *pyobj;
10524
10525 {
10526 #if wxUSE_UNICODE
10527 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10528 #else
10529 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10530 #endif
10531 }
10532 return pyobj;
10533 }
10534
10535
10536 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10537 PyObject *resultobj;
10538 wxColourData *result;
10539 char *kwnames[] = {
10540 NULL
10541 };
10542
10543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 result = (wxColourData *)new wxColourData();
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10552 return resultobj;
10553 fail:
10554 return NULL;
10555 }
10556
10557
10558 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10559 PyObject *resultobj;
10560 wxColourData *arg1 = (wxColourData *) 0 ;
10561 PyObject * obj0 = 0 ;
10562 char *kwnames[] = {
10563 (char *) "self", NULL
10564 };
10565
10566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10569 {
10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
10571 delete arg1;
10572
10573 wxPyEndAllowThreads(__tstate);
10574 if (PyErr_Occurred()) SWIG_fail;
10575 }
10576 Py_INCREF(Py_None); resultobj = Py_None;
10577 return resultobj;
10578 fail:
10579 return NULL;
10580 }
10581
10582
10583 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
10584 PyObject *resultobj;
10585 wxColourData *arg1 = (wxColourData *) 0 ;
10586 bool result;
10587 PyObject * obj0 = 0 ;
10588 char *kwnames[] = {
10589 (char *) "self", NULL
10590 };
10591
10592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 result = (bool)(arg1)->GetChooseFull();
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 {
10603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10604 }
10605 return resultobj;
10606 fail:
10607 return NULL;
10608 }
10609
10610
10611 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
10612 PyObject *resultobj;
10613 wxColourData *arg1 = (wxColourData *) 0 ;
10614 wxColour result;
10615 PyObject * obj0 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 result = (arg1)->GetColour();
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 {
10631 wxColour * resultptr;
10632 resultptr = new wxColour((wxColour &) result);
10633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10634 }
10635 return resultobj;
10636 fail:
10637 return NULL;
10638 }
10639
10640
10641 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
10642 PyObject *resultobj;
10643 wxColourData *arg1 = (wxColourData *) 0 ;
10644 int arg2 ;
10645 wxColour result;
10646 PyObject * obj0 = 0 ;
10647 PyObject * obj1 = 0 ;
10648 char *kwnames[] = {
10649 (char *) "self",(char *) "i", NULL
10650 };
10651
10652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10655 arg2 = (int) SWIG_AsInt(obj1);
10656 if (PyErr_Occurred()) SWIG_fail;
10657 {
10658 PyThreadState* __tstate = wxPyBeginAllowThreads();
10659 result = (arg1)->GetCustomColour(arg2);
10660
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 {
10665 wxColour * resultptr;
10666 resultptr = new wxColour((wxColour &) result);
10667 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10668 }
10669 return resultobj;
10670 fail:
10671 return NULL;
10672 }
10673
10674
10675 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
10676 PyObject *resultobj;
10677 wxColourData *arg1 = (wxColourData *) 0 ;
10678 int arg2 ;
10679 PyObject * obj0 = 0 ;
10680 PyObject * obj1 = 0 ;
10681 char *kwnames[] = {
10682 (char *) "self",(char *) "flag", NULL
10683 };
10684
10685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10688 arg2 = (int) SWIG_AsInt(obj1);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 {
10691 PyThreadState* __tstate = wxPyBeginAllowThreads();
10692 (arg1)->SetChooseFull(arg2);
10693
10694 wxPyEndAllowThreads(__tstate);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 }
10697 Py_INCREF(Py_None); resultobj = Py_None;
10698 return resultobj;
10699 fail:
10700 return NULL;
10701 }
10702
10703
10704 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
10705 PyObject *resultobj;
10706 wxColourData *arg1 = (wxColourData *) 0 ;
10707 wxColour *arg2 = 0 ;
10708 wxColour temp2 ;
10709 PyObject * obj0 = 0 ;
10710 PyObject * obj1 = 0 ;
10711 char *kwnames[] = {
10712 (char *) "self",(char *) "colour", NULL
10713 };
10714
10715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10718 {
10719 arg2 = &temp2;
10720 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10721 }
10722 {
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
10724 (arg1)->SetColour((wxColour const &)*arg2);
10725
10726 wxPyEndAllowThreads(__tstate);
10727 if (PyErr_Occurred()) SWIG_fail;
10728 }
10729 Py_INCREF(Py_None); resultobj = Py_None;
10730 return resultobj;
10731 fail:
10732 return NULL;
10733 }
10734
10735
10736 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
10737 PyObject *resultobj;
10738 wxColourData *arg1 = (wxColourData *) 0 ;
10739 int arg2 ;
10740 wxColour *arg3 = 0 ;
10741 wxColour temp3 ;
10742 PyObject * obj0 = 0 ;
10743 PyObject * obj1 = 0 ;
10744 PyObject * obj2 = 0 ;
10745 char *kwnames[] = {
10746 (char *) "self",(char *) "i",(char *) "colour", NULL
10747 };
10748
10749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10752 arg2 = (int) SWIG_AsInt(obj1);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 {
10755 arg3 = &temp3;
10756 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10757 }
10758 {
10759 PyThreadState* __tstate = wxPyBeginAllowThreads();
10760 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10761
10762 wxPyEndAllowThreads(__tstate);
10763 if (PyErr_Occurred()) SWIG_fail;
10764 }
10765 Py_INCREF(Py_None); resultobj = Py_None;
10766 return resultobj;
10767 fail:
10768 return NULL;
10769 }
10770
10771
10772 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
10773 PyObject *obj;
10774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10775 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10776 Py_INCREF(obj);
10777 return Py_BuildValue((char *)"");
10778 }
10779 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
10780 PyObject *resultobj;
10781 wxWindow *arg1 = (wxWindow *) 0 ;
10782 wxColourData *arg2 = (wxColourData *) NULL ;
10783 wxColourDialog *result;
10784 PyObject * obj0 = 0 ;
10785 PyObject * obj1 = 0 ;
10786 char *kwnames[] = {
10787 (char *) "parent",(char *) "data", NULL
10788 };
10789
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10793 if (obj1) {
10794 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
10795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10796 }
10797 {
10798 PyThreadState* __tstate = wxPyBeginAllowThreads();
10799 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10800
10801 wxPyEndAllowThreads(__tstate);
10802 if (PyErr_Occurred()) SWIG_fail;
10803 }
10804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
10805 return resultobj;
10806 fail:
10807 return NULL;
10808 }
10809
10810
10811 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10812 PyObject *resultobj;
10813 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10814 wxColourData *result;
10815 PyObject * obj0 = 0 ;
10816 char *kwnames[] = {
10817 (char *) "self", NULL
10818 };
10819
10820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
10822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10823 {
10824 PyThreadState* __tstate = wxPyBeginAllowThreads();
10825 {
10826 wxColourData &_result_ref = (arg1)->GetColourData();
10827 result = (wxColourData *) &_result_ref;
10828 }
10829
10830 wxPyEndAllowThreads(__tstate);
10831 if (PyErr_Occurred()) SWIG_fail;
10832 }
10833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
10834 return resultobj;
10835 fail:
10836 return NULL;
10837 }
10838
10839
10840 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
10841 PyObject *obj;
10842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10843 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10844 Py_INCREF(obj);
10845 return Py_BuildValue((char *)"");
10846 }
10847 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
10848 PyObject *resultobj;
10849 wxWindow *arg1 = (wxWindow *) 0 ;
10850 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10851 wxString *arg2 = (wxString *) &arg2_defvalue ;
10852 wxString const &arg3_defvalue = wxPyEmptyString ;
10853 wxString *arg3 = (wxString *) &arg3_defvalue ;
10854 long arg4 = (long) 0 ;
10855 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10856 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10857 wxSize const &arg6_defvalue = wxDefaultSize ;
10858 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10859 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10860 wxString *arg7 = (wxString *) &arg7_defvalue ;
10861 wxDirDialog *result;
10862 bool temp2 = False ;
10863 bool temp3 = False ;
10864 wxPoint temp5 ;
10865 wxSize temp6 ;
10866 bool temp7 = False ;
10867 PyObject * obj0 = 0 ;
10868 PyObject * obj1 = 0 ;
10869 PyObject * obj2 = 0 ;
10870 PyObject * obj3 = 0 ;
10871 PyObject * obj4 = 0 ;
10872 PyObject * obj5 = 0 ;
10873 PyObject * obj6 = 0 ;
10874 char *kwnames[] = {
10875 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10876 };
10877
10878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10881 if (obj1) {
10882 {
10883 arg2 = wxString_in_helper(obj1);
10884 if (arg2 == NULL) SWIG_fail;
10885 temp2 = True;
10886 }
10887 }
10888 if (obj2) {
10889 {
10890 arg3 = wxString_in_helper(obj2);
10891 if (arg3 == NULL) SWIG_fail;
10892 temp3 = True;
10893 }
10894 }
10895 if (obj3) {
10896 arg4 = (long) SWIG_AsLong(obj3);
10897 if (PyErr_Occurred()) SWIG_fail;
10898 }
10899 if (obj4) {
10900 {
10901 arg5 = &temp5;
10902 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10903 }
10904 }
10905 if (obj5) {
10906 {
10907 arg6 = &temp6;
10908 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10909 }
10910 }
10911 if (obj6) {
10912 {
10913 arg7 = wxString_in_helper(obj6);
10914 if (arg7 == NULL) SWIG_fail;
10915 temp7 = True;
10916 }
10917 }
10918 {
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
10920 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10921
10922 wxPyEndAllowThreads(__tstate);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 }
10925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
10926 {
10927 if (temp2)
10928 delete arg2;
10929 }
10930 {
10931 if (temp3)
10932 delete arg3;
10933 }
10934 {
10935 if (temp7)
10936 delete arg7;
10937 }
10938 return resultobj;
10939 fail:
10940 {
10941 if (temp2)
10942 delete arg2;
10943 }
10944 {
10945 if (temp3)
10946 delete arg3;
10947 }
10948 {
10949 if (temp7)
10950 delete arg7;
10951 }
10952 return NULL;
10953 }
10954
10955
10956 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
10957 PyObject *resultobj;
10958 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10959 wxString result;
10960 PyObject * obj0 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "self", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
10967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10968 {
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 result = (arg1)->GetPath();
10971
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) SWIG_fail;
10974 }
10975 {
10976 #if wxUSE_UNICODE
10977 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10978 #else
10979 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10980 #endif
10981 }
10982 return resultobj;
10983 fail:
10984 return NULL;
10985 }
10986
10987
10988 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
10989 PyObject *resultobj;
10990 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10991 wxString result;
10992 PyObject * obj0 = 0 ;
10993 char *kwnames[] = {
10994 (char *) "self", NULL
10995 };
10996
10997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
10999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 result = (arg1)->GetMessage();
11003
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
11007 {
11008 #if wxUSE_UNICODE
11009 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11010 #else
11011 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11012 #endif
11013 }
11014 return resultobj;
11015 fail:
11016 return NULL;
11017 }
11018
11019
11020 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11021 PyObject *resultobj;
11022 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11023 long result;
11024 PyObject * obj0 = 0 ;
11025 char *kwnames[] = {
11026 (char *) "self", NULL
11027 };
11028
11029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11032 {
11033 PyThreadState* __tstate = wxPyBeginAllowThreads();
11034 result = (long)(arg1)->GetStyle();
11035
11036 wxPyEndAllowThreads(__tstate);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 }
11039 resultobj = SWIG_FromLong((long)result);
11040 return resultobj;
11041 fail:
11042 return NULL;
11043 }
11044
11045
11046 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11047 PyObject *resultobj;
11048 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11049 wxString *arg2 = 0 ;
11050 bool temp2 = False ;
11051 PyObject * obj0 = 0 ;
11052 PyObject * obj1 = 0 ;
11053 char *kwnames[] = {
11054 (char *) "self",(char *) "message", NULL
11055 };
11056
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11060 {
11061 arg2 = wxString_in_helper(obj1);
11062 if (arg2 == NULL) SWIG_fail;
11063 temp2 = True;
11064 }
11065 {
11066 PyThreadState* __tstate = wxPyBeginAllowThreads();
11067 (arg1)->SetMessage((wxString const &)*arg2);
11068
11069 wxPyEndAllowThreads(__tstate);
11070 if (PyErr_Occurred()) SWIG_fail;
11071 }
11072 Py_INCREF(Py_None); resultobj = Py_None;
11073 {
11074 if (temp2)
11075 delete arg2;
11076 }
11077 return resultobj;
11078 fail:
11079 {
11080 if (temp2)
11081 delete arg2;
11082 }
11083 return NULL;
11084 }
11085
11086
11087 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11088 PyObject *resultobj;
11089 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11090 wxString *arg2 = 0 ;
11091 bool temp2 = False ;
11092 PyObject * obj0 = 0 ;
11093 PyObject * obj1 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self",(char *) "path", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11101 {
11102 arg2 = wxString_in_helper(obj1);
11103 if (arg2 == NULL) SWIG_fail;
11104 temp2 = True;
11105 }
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 (arg1)->SetPath((wxString const &)*arg2);
11109
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
11113 Py_INCREF(Py_None); resultobj = Py_None;
11114 {
11115 if (temp2)
11116 delete arg2;
11117 }
11118 return resultobj;
11119 fail:
11120 {
11121 if (temp2)
11122 delete arg2;
11123 }
11124 return NULL;
11125 }
11126
11127
11128 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
11129 PyObject *obj;
11130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11131 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11132 Py_INCREF(obj);
11133 return Py_BuildValue((char *)"");
11134 }
11135 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11136 PyObject *resultobj;
11137 wxWindow *arg1 = (wxWindow *) 0 ;
11138 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11139 wxString *arg2 = (wxString *) &arg2_defvalue ;
11140 wxString const &arg3_defvalue = wxPyEmptyString ;
11141 wxString *arg3 = (wxString *) &arg3_defvalue ;
11142 wxString const &arg4_defvalue = wxPyEmptyString ;
11143 wxString *arg4 = (wxString *) &arg4_defvalue ;
11144 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11145 wxString *arg5 = (wxString *) &arg5_defvalue ;
11146 long arg6 = (long) 0 ;
11147 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11148 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11149 wxFileDialog *result;
11150 bool temp2 = False ;
11151 bool temp3 = False ;
11152 bool temp4 = False ;
11153 bool temp5 = False ;
11154 wxPoint temp7 ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 PyObject * obj2 = 0 ;
11158 PyObject * obj3 = 0 ;
11159 PyObject * obj4 = 0 ;
11160 PyObject * obj5 = 0 ;
11161 PyObject * obj6 = 0 ;
11162 char *kwnames[] = {
11163 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11169 if (obj1) {
11170 {
11171 arg2 = wxString_in_helper(obj1);
11172 if (arg2 == NULL) SWIG_fail;
11173 temp2 = True;
11174 }
11175 }
11176 if (obj2) {
11177 {
11178 arg3 = wxString_in_helper(obj2);
11179 if (arg3 == NULL) SWIG_fail;
11180 temp3 = True;
11181 }
11182 }
11183 if (obj3) {
11184 {
11185 arg4 = wxString_in_helper(obj3);
11186 if (arg4 == NULL) SWIG_fail;
11187 temp4 = True;
11188 }
11189 }
11190 if (obj4) {
11191 {
11192 arg5 = wxString_in_helper(obj4);
11193 if (arg5 == NULL) SWIG_fail;
11194 temp5 = True;
11195 }
11196 }
11197 if (obj5) {
11198 arg6 = (long) SWIG_AsLong(obj5);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 if (obj6) {
11202 {
11203 arg7 = &temp7;
11204 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11205 }
11206 }
11207 {
11208 PyThreadState* __tstate = wxPyBeginAllowThreads();
11209 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11210
11211 wxPyEndAllowThreads(__tstate);
11212 if (PyErr_Occurred()) SWIG_fail;
11213 }
11214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11215 {
11216 if (temp2)
11217 delete arg2;
11218 }
11219 {
11220 if (temp3)
11221 delete arg3;
11222 }
11223 {
11224 if (temp4)
11225 delete arg4;
11226 }
11227 {
11228 if (temp5)
11229 delete arg5;
11230 }
11231 return resultobj;
11232 fail:
11233 {
11234 if (temp2)
11235 delete arg2;
11236 }
11237 {
11238 if (temp3)
11239 delete arg3;
11240 }
11241 {
11242 if (temp4)
11243 delete arg4;
11244 }
11245 {
11246 if (temp5)
11247 delete arg5;
11248 }
11249 return NULL;
11250 }
11251
11252
11253 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11254 PyObject *resultobj;
11255 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11256 wxString *arg2 = 0 ;
11257 bool temp2 = False ;
11258 PyObject * obj0 = 0 ;
11259 PyObject * obj1 = 0 ;
11260 char *kwnames[] = {
11261 (char *) "self",(char *) "message", NULL
11262 };
11263
11264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11267 {
11268 arg2 = wxString_in_helper(obj1);
11269 if (arg2 == NULL) SWIG_fail;
11270 temp2 = True;
11271 }
11272 {
11273 PyThreadState* __tstate = wxPyBeginAllowThreads();
11274 (arg1)->SetMessage((wxString const &)*arg2);
11275
11276 wxPyEndAllowThreads(__tstate);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 }
11279 Py_INCREF(Py_None); resultobj = Py_None;
11280 {
11281 if (temp2)
11282 delete arg2;
11283 }
11284 return resultobj;
11285 fail:
11286 {
11287 if (temp2)
11288 delete arg2;
11289 }
11290 return NULL;
11291 }
11292
11293
11294 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11295 PyObject *resultobj;
11296 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11297 wxString *arg2 = 0 ;
11298 bool temp2 = False ;
11299 PyObject * obj0 = 0 ;
11300 PyObject * obj1 = 0 ;
11301 char *kwnames[] = {
11302 (char *) "self",(char *) "path", NULL
11303 };
11304
11305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11308 {
11309 arg2 = wxString_in_helper(obj1);
11310 if (arg2 == NULL) SWIG_fail;
11311 temp2 = True;
11312 }
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 (arg1)->SetPath((wxString const &)*arg2);
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 Py_INCREF(Py_None); resultobj = Py_None;
11321 {
11322 if (temp2)
11323 delete arg2;
11324 }
11325 return resultobj;
11326 fail:
11327 {
11328 if (temp2)
11329 delete arg2;
11330 }
11331 return NULL;
11332 }
11333
11334
11335 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
11336 PyObject *resultobj;
11337 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11338 wxString *arg2 = 0 ;
11339 bool temp2 = False ;
11340 PyObject * obj0 = 0 ;
11341 PyObject * obj1 = 0 ;
11342 char *kwnames[] = {
11343 (char *) "self",(char *) "dir", NULL
11344 };
11345
11346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11349 {
11350 arg2 = wxString_in_helper(obj1);
11351 if (arg2 == NULL) SWIG_fail;
11352 temp2 = True;
11353 }
11354 {
11355 PyThreadState* __tstate = wxPyBeginAllowThreads();
11356 (arg1)->SetDirectory((wxString const &)*arg2);
11357
11358 wxPyEndAllowThreads(__tstate);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 }
11361 Py_INCREF(Py_None); resultobj = Py_None;
11362 {
11363 if (temp2)
11364 delete arg2;
11365 }
11366 return resultobj;
11367 fail:
11368 {
11369 if (temp2)
11370 delete arg2;
11371 }
11372 return NULL;
11373 }
11374
11375
11376 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
11377 PyObject *resultobj;
11378 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11379 wxString *arg2 = 0 ;
11380 bool temp2 = False ;
11381 PyObject * obj0 = 0 ;
11382 PyObject * obj1 = 0 ;
11383 char *kwnames[] = {
11384 (char *) "self",(char *) "name", NULL
11385 };
11386
11387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11390 {
11391 arg2 = wxString_in_helper(obj1);
11392 if (arg2 == NULL) SWIG_fail;
11393 temp2 = True;
11394 }
11395 {
11396 PyThreadState* __tstate = wxPyBeginAllowThreads();
11397 (arg1)->SetFilename((wxString const &)*arg2);
11398
11399 wxPyEndAllowThreads(__tstate);
11400 if (PyErr_Occurred()) SWIG_fail;
11401 }
11402 Py_INCREF(Py_None); resultobj = Py_None;
11403 {
11404 if (temp2)
11405 delete arg2;
11406 }
11407 return resultobj;
11408 fail:
11409 {
11410 if (temp2)
11411 delete arg2;
11412 }
11413 return NULL;
11414 }
11415
11416
11417 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
11418 PyObject *resultobj;
11419 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11420 wxString *arg2 = 0 ;
11421 bool temp2 = False ;
11422 PyObject * obj0 = 0 ;
11423 PyObject * obj1 = 0 ;
11424 char *kwnames[] = {
11425 (char *) "self",(char *) "wildCard", NULL
11426 };
11427
11428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11431 {
11432 arg2 = wxString_in_helper(obj1);
11433 if (arg2 == NULL) SWIG_fail;
11434 temp2 = True;
11435 }
11436 {
11437 PyThreadState* __tstate = wxPyBeginAllowThreads();
11438 (arg1)->SetWildcard((wxString const &)*arg2);
11439
11440 wxPyEndAllowThreads(__tstate);
11441 if (PyErr_Occurred()) SWIG_fail;
11442 }
11443 Py_INCREF(Py_None); resultobj = Py_None;
11444 {
11445 if (temp2)
11446 delete arg2;
11447 }
11448 return resultobj;
11449 fail:
11450 {
11451 if (temp2)
11452 delete arg2;
11453 }
11454 return NULL;
11455 }
11456
11457
11458 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11459 PyObject *resultobj;
11460 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11461 long arg2 ;
11462 PyObject * obj0 = 0 ;
11463 PyObject * obj1 = 0 ;
11464 char *kwnames[] = {
11465 (char *) "self",(char *) "style", NULL
11466 };
11467
11468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11471 arg2 = (long) SWIG_AsLong(obj1);
11472 if (PyErr_Occurred()) SWIG_fail;
11473 {
11474 PyThreadState* __tstate = wxPyBeginAllowThreads();
11475 (arg1)->SetStyle(arg2);
11476
11477 wxPyEndAllowThreads(__tstate);
11478 if (PyErr_Occurred()) SWIG_fail;
11479 }
11480 Py_INCREF(Py_None); resultobj = Py_None;
11481 return resultobj;
11482 fail:
11483 return NULL;
11484 }
11485
11486
11487 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11488 PyObject *resultobj;
11489 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11490 int arg2 ;
11491 PyObject * obj0 = 0 ;
11492 PyObject * obj1 = 0 ;
11493 char *kwnames[] = {
11494 (char *) "self",(char *) "filterIndex", NULL
11495 };
11496
11497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11500 arg2 = (int) SWIG_AsInt(obj1);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 {
11503 PyThreadState* __tstate = wxPyBeginAllowThreads();
11504 (arg1)->SetFilterIndex(arg2);
11505
11506 wxPyEndAllowThreads(__tstate);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 Py_INCREF(Py_None); resultobj = Py_None;
11510 return resultobj;
11511 fail:
11512 return NULL;
11513 }
11514
11515
11516 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11517 PyObject *resultobj;
11518 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11519 wxString result;
11520 PyObject * obj0 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11528 {
11529 PyThreadState* __tstate = wxPyBeginAllowThreads();
11530 result = ((wxFileDialog const *)arg1)->GetMessage();
11531
11532 wxPyEndAllowThreads(__tstate);
11533 if (PyErr_Occurred()) SWIG_fail;
11534 }
11535 {
11536 #if wxUSE_UNICODE
11537 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11538 #else
11539 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11540 #endif
11541 }
11542 return resultobj;
11543 fail:
11544 return NULL;
11545 }
11546
11547
11548 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11549 PyObject *resultobj;
11550 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11551 wxString result;
11552 PyObject * obj0 = 0 ;
11553 char *kwnames[] = {
11554 (char *) "self", NULL
11555 };
11556
11557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 result = ((wxFileDialog const *)arg1)->GetPath();
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 {
11568 #if wxUSE_UNICODE
11569 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11570 #else
11571 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11572 #endif
11573 }
11574 return resultobj;
11575 fail:
11576 return NULL;
11577 }
11578
11579
11580 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
11581 PyObject *resultobj;
11582 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11583 wxString result;
11584 PyObject * obj0 = 0 ;
11585 char *kwnames[] = {
11586 (char *) "self", NULL
11587 };
11588
11589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11592 {
11593 PyThreadState* __tstate = wxPyBeginAllowThreads();
11594 result = ((wxFileDialog const *)arg1)->GetDirectory();
11595
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 {
11600 #if wxUSE_UNICODE
11601 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11602 #else
11603 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11604 #endif
11605 }
11606 return resultobj;
11607 fail:
11608 return NULL;
11609 }
11610
11611
11612 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
11613 PyObject *resultobj;
11614 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11615 wxString result;
11616 PyObject * obj0 = 0 ;
11617 char *kwnames[] = {
11618 (char *) "self", NULL
11619 };
11620
11621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11624 {
11625 PyThreadState* __tstate = wxPyBeginAllowThreads();
11626 result = ((wxFileDialog const *)arg1)->GetFilename();
11627
11628 wxPyEndAllowThreads(__tstate);
11629 if (PyErr_Occurred()) SWIG_fail;
11630 }
11631 {
11632 #if wxUSE_UNICODE
11633 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11634 #else
11635 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11636 #endif
11637 }
11638 return resultobj;
11639 fail:
11640 return NULL;
11641 }
11642
11643
11644 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
11645 PyObject *resultobj;
11646 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11647 wxString result;
11648 PyObject * obj0 = 0 ;
11649 char *kwnames[] = {
11650 (char *) "self", NULL
11651 };
11652
11653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11656 {
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 result = ((wxFileDialog const *)arg1)->GetWildcard();
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 {
11664 #if wxUSE_UNICODE
11665 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11666 #else
11667 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11668 #endif
11669 }
11670 return resultobj;
11671 fail:
11672 return NULL;
11673 }
11674
11675
11676 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11677 PyObject *resultobj;
11678 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11679 long result;
11680 PyObject * obj0 = 0 ;
11681 char *kwnames[] = {
11682 (char *) "self", NULL
11683 };
11684
11685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11688 {
11689 PyThreadState* __tstate = wxPyBeginAllowThreads();
11690 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11691
11692 wxPyEndAllowThreads(__tstate);
11693 if (PyErr_Occurred()) SWIG_fail;
11694 }
11695 resultobj = SWIG_FromLong((long)result);
11696 return resultobj;
11697 fail:
11698 return NULL;
11699 }
11700
11701
11702 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11703 PyObject *resultobj;
11704 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11705 int result;
11706 PyObject * obj0 = 0 ;
11707 char *kwnames[] = {
11708 (char *) "self", NULL
11709 };
11710
11711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11717
11718 wxPyEndAllowThreads(__tstate);
11719 if (PyErr_Occurred()) SWIG_fail;
11720 }
11721 resultobj = SWIG_FromInt((int)result);
11722 return resultobj;
11723 fail:
11724 return NULL;
11725 }
11726
11727
11728 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
11729 PyObject *resultobj;
11730 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11731 PyObject *result;
11732 PyObject * obj0 = 0 ;
11733 char *kwnames[] = {
11734 (char *) "self", NULL
11735 };
11736
11737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11740 {
11741 PyThreadState* __tstate = wxPyBeginAllowThreads();
11742 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11743
11744 wxPyEndAllowThreads(__tstate);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
11747 resultobj = result;
11748 return resultobj;
11749 fail:
11750 return NULL;
11751 }
11752
11753
11754 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
11755 PyObject *resultobj;
11756 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11757 PyObject *result;
11758 PyObject * obj0 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "self", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 resultobj = result;
11774 return resultobj;
11775 fail:
11776 return NULL;
11777 }
11778
11779
11780 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
11781 PyObject *obj;
11782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11783 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11784 Py_INCREF(obj);
11785 return Py_BuildValue((char *)"");
11786 }
11787 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11788 PyObject *resultobj;
11789 wxWindow *arg1 = (wxWindow *) 0 ;
11790 wxString *arg2 = 0 ;
11791 wxString *arg3 = 0 ;
11792 int arg4 = (int) 0 ;
11793 wxString *arg5 = (wxString *) 0 ;
11794 long arg6 = (long) wxCHOICEDLG_STYLE ;
11795 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11796 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11797 wxMultiChoiceDialog *result;
11798 bool temp2 = False ;
11799 bool temp3 = False ;
11800 wxPoint temp6 ;
11801 PyObject * obj0 = 0 ;
11802 PyObject * obj1 = 0 ;
11803 PyObject * obj2 = 0 ;
11804 PyObject * obj3 = 0 ;
11805 PyObject * obj4 = 0 ;
11806 PyObject * obj5 = 0 ;
11807 char *kwnames[] = {
11808 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11809 };
11810
11811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11814 {
11815 arg2 = wxString_in_helper(obj1);
11816 if (arg2 == NULL) SWIG_fail;
11817 temp2 = True;
11818 }
11819 {
11820 arg3 = wxString_in_helper(obj2);
11821 if (arg3 == NULL) SWIG_fail;
11822 temp3 = True;
11823 }
11824 if (obj3) {
11825 {
11826 arg4 = PyList_Size(obj3);
11827 arg5 = wxString_LIST_helper(obj3);
11828 if (arg5 == NULL) SWIG_fail;
11829 }
11830 }
11831 if (obj4) {
11832 arg6 = (long) SWIG_AsLong(obj4);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 if (obj5) {
11836 {
11837 arg7 = &temp6;
11838 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11839 }
11840 }
11841 {
11842 PyThreadState* __tstate = wxPyBeginAllowThreads();
11843 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11844
11845 wxPyEndAllowThreads(__tstate);
11846 if (PyErr_Occurred()) SWIG_fail;
11847 }
11848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
11849 {
11850 if (temp2)
11851 delete arg2;
11852 }
11853 {
11854 if (temp3)
11855 delete arg3;
11856 }
11857 {
11858 if (arg5) delete [] arg5;
11859 }
11860 return resultobj;
11861 fail:
11862 {
11863 if (temp2)
11864 delete arg2;
11865 }
11866 {
11867 if (temp3)
11868 delete arg3;
11869 }
11870 {
11871 if (arg5) delete [] arg5;
11872 }
11873 return NULL;
11874 }
11875
11876
11877 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
11878 PyObject *resultobj;
11879 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11880 wxArrayInt *arg2 = 0 ;
11881 bool temp2 = False ;
11882 PyObject * obj0 = 0 ;
11883 PyObject * obj1 = 0 ;
11884 char *kwnames[] = {
11885 (char *) "self",(char *) "selections", NULL
11886 };
11887
11888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
11890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11891 {
11892 if (! PySequence_Check(obj1)) {
11893 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11894 SWIG_fail;
11895 }
11896 arg2 = new wxArrayInt;
11897 temp2 = True;
11898 int i, len=PySequence_Length(obj1);
11899 for (i=0; i<len; i++) {
11900 PyObject* item = PySequence_GetItem(obj1, i);
11901 PyObject* number = PyNumber_Int(item);
11902 arg2->Add(PyInt_AS_LONG(number));
11903 Py_DECREF(item);
11904 Py_DECREF(number);
11905 }
11906 }
11907 {
11908 PyThreadState* __tstate = wxPyBeginAllowThreads();
11909 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11910
11911 wxPyEndAllowThreads(__tstate);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 }
11914 Py_INCREF(Py_None); resultobj = Py_None;
11915 {
11916 if (temp2) delete arg2;
11917 }
11918 return resultobj;
11919 fail:
11920 {
11921 if (temp2) delete arg2;
11922 }
11923 return NULL;
11924 }
11925
11926
11927 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
11928 PyObject *resultobj;
11929 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11930 PyObject *result;
11931 PyObject * obj0 = 0 ;
11932 char *kwnames[] = {
11933 (char *) "self", NULL
11934 };
11935
11936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
11938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11939 {
11940 PyThreadState* __tstate = wxPyBeginAllowThreads();
11941 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11942
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 resultobj = result;
11947 return resultobj;
11948 fail:
11949 return NULL;
11950 }
11951
11952
11953 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
11954 PyObject *obj;
11955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11956 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11957 Py_INCREF(obj);
11958 return Py_BuildValue((char *)"");
11959 }
11960 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11961 PyObject *resultobj;
11962 wxWindow *arg1 = (wxWindow *) 0 ;
11963 wxString *arg2 = 0 ;
11964 wxString *arg3 = 0 ;
11965 int arg4 ;
11966 wxString *arg5 = (wxString *) 0 ;
11967 long arg6 = (long) wxCHOICEDLG_STYLE ;
11968 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11969 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11970 wxSingleChoiceDialog *result;
11971 bool temp2 = False ;
11972 bool temp3 = False ;
11973 wxPoint temp6 ;
11974 PyObject * obj0 = 0 ;
11975 PyObject * obj1 = 0 ;
11976 PyObject * obj2 = 0 ;
11977 PyObject * obj3 = 0 ;
11978 PyObject * obj4 = 0 ;
11979 PyObject * obj5 = 0 ;
11980 char *kwnames[] = {
11981 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11982 };
11983
11984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11987 {
11988 arg2 = wxString_in_helper(obj1);
11989 if (arg2 == NULL) SWIG_fail;
11990 temp2 = True;
11991 }
11992 {
11993 arg3 = wxString_in_helper(obj2);
11994 if (arg3 == NULL) SWIG_fail;
11995 temp3 = True;
11996 }
11997 {
11998 arg4 = PyList_Size(obj3);
11999 arg5 = wxString_LIST_helper(obj3);
12000 if (arg5 == NULL) SWIG_fail;
12001 }
12002 if (obj4) {
12003 arg6 = (long) SWIG_AsLong(obj4);
12004 if (PyErr_Occurred()) SWIG_fail;
12005 }
12006 if (obj5) {
12007 {
12008 arg7 = &temp6;
12009 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12010 }
12011 }
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12015
12016 wxPyEndAllowThreads(__tstate);
12017 if (PyErr_Occurred()) SWIG_fail;
12018 }
12019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12020 {
12021 if (temp2)
12022 delete arg2;
12023 }
12024 {
12025 if (temp3)
12026 delete arg3;
12027 }
12028 {
12029 if (arg5) delete [] arg5;
12030 }
12031 return resultobj;
12032 fail:
12033 {
12034 if (temp2)
12035 delete arg2;
12036 }
12037 {
12038 if (temp3)
12039 delete arg3;
12040 }
12041 {
12042 if (arg5) delete [] arg5;
12043 }
12044 return NULL;
12045 }
12046
12047
12048 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12049 PyObject *resultobj;
12050 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12051 int result;
12052 PyObject * obj0 = 0 ;
12053 char *kwnames[] = {
12054 (char *) "self", NULL
12055 };
12056
12057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12060 {
12061 PyThreadState* __tstate = wxPyBeginAllowThreads();
12062 result = (int)(arg1)->GetSelection();
12063
12064 wxPyEndAllowThreads(__tstate);
12065 if (PyErr_Occurred()) SWIG_fail;
12066 }
12067 resultobj = SWIG_FromInt((int)result);
12068 return resultobj;
12069 fail:
12070 return NULL;
12071 }
12072
12073
12074 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12075 PyObject *resultobj;
12076 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12077 wxString result;
12078 PyObject * obj0 = 0 ;
12079 char *kwnames[] = {
12080 (char *) "self", NULL
12081 };
12082
12083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12086 {
12087 PyThreadState* __tstate = wxPyBeginAllowThreads();
12088 result = (arg1)->GetStringSelection();
12089
12090 wxPyEndAllowThreads(__tstate);
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 {
12094 #if wxUSE_UNICODE
12095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12096 #else
12097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12098 #endif
12099 }
12100 return resultobj;
12101 fail:
12102 return NULL;
12103 }
12104
12105
12106 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12107 PyObject *resultobj;
12108 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12109 int arg2 ;
12110 PyObject * obj0 = 0 ;
12111 PyObject * obj1 = 0 ;
12112 char *kwnames[] = {
12113 (char *) "self",(char *) "sel", NULL
12114 };
12115
12116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12119 arg2 = (int) SWIG_AsInt(obj1);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 {
12122 PyThreadState* __tstate = wxPyBeginAllowThreads();
12123 (arg1)->SetSelection(arg2);
12124
12125 wxPyEndAllowThreads(__tstate);
12126 if (PyErr_Occurred()) SWIG_fail;
12127 }
12128 Py_INCREF(Py_None); resultobj = Py_None;
12129 return resultobj;
12130 fail:
12131 return NULL;
12132 }
12133
12134
12135 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
12136 PyObject *obj;
12137 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12138 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12139 Py_INCREF(obj);
12140 return Py_BuildValue((char *)"");
12141 }
12142 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12143 PyObject *resultobj;
12144 wxWindow *arg1 = (wxWindow *) 0 ;
12145 wxString *arg2 = 0 ;
12146 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12147 wxString *arg3 = (wxString *) &arg3_defvalue ;
12148 wxString const &arg4_defvalue = wxPyEmptyString ;
12149 wxString *arg4 = (wxString *) &arg4_defvalue ;
12150 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12151 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12152 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12153 wxTextEntryDialog *result;
12154 bool temp2 = False ;
12155 bool temp3 = False ;
12156 bool temp4 = False ;
12157 wxPoint temp6 ;
12158 PyObject * obj0 = 0 ;
12159 PyObject * obj1 = 0 ;
12160 PyObject * obj2 = 0 ;
12161 PyObject * obj3 = 0 ;
12162 PyObject * obj4 = 0 ;
12163 PyObject * obj5 = 0 ;
12164 char *kwnames[] = {
12165 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12166 };
12167
12168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12171 {
12172 arg2 = wxString_in_helper(obj1);
12173 if (arg2 == NULL) SWIG_fail;
12174 temp2 = True;
12175 }
12176 if (obj2) {
12177 {
12178 arg3 = wxString_in_helper(obj2);
12179 if (arg3 == NULL) SWIG_fail;
12180 temp3 = True;
12181 }
12182 }
12183 if (obj3) {
12184 {
12185 arg4 = wxString_in_helper(obj3);
12186 if (arg4 == NULL) SWIG_fail;
12187 temp4 = True;
12188 }
12189 }
12190 if (obj4) {
12191 arg5 = (long) SWIG_AsLong(obj4);
12192 if (PyErr_Occurred()) SWIG_fail;
12193 }
12194 if (obj5) {
12195 {
12196 arg6 = &temp6;
12197 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12198 }
12199 }
12200 {
12201 PyThreadState* __tstate = wxPyBeginAllowThreads();
12202 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12203
12204 wxPyEndAllowThreads(__tstate);
12205 if (PyErr_Occurred()) SWIG_fail;
12206 }
12207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12208 {
12209 if (temp2)
12210 delete arg2;
12211 }
12212 {
12213 if (temp3)
12214 delete arg3;
12215 }
12216 {
12217 if (temp4)
12218 delete arg4;
12219 }
12220 return resultobj;
12221 fail:
12222 {
12223 if (temp2)
12224 delete arg2;
12225 }
12226 {
12227 if (temp3)
12228 delete arg3;
12229 }
12230 {
12231 if (temp4)
12232 delete arg4;
12233 }
12234 return NULL;
12235 }
12236
12237
12238 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj;
12240 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12241 wxString result;
12242 PyObject * obj0 = 0 ;
12243 char *kwnames[] = {
12244 (char *) "self", NULL
12245 };
12246
12247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 result = (arg1)->GetValue();
12253
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 {
12258 #if wxUSE_UNICODE
12259 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12260 #else
12261 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12262 #endif
12263 }
12264 return resultobj;
12265 fail:
12266 return NULL;
12267 }
12268
12269
12270 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12271 PyObject *resultobj;
12272 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12273 wxString *arg2 = 0 ;
12274 bool temp2 = False ;
12275 PyObject * obj0 = 0 ;
12276 PyObject * obj1 = 0 ;
12277 char *kwnames[] = {
12278 (char *) "self",(char *) "value", NULL
12279 };
12280
12281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12284 {
12285 arg2 = wxString_in_helper(obj1);
12286 if (arg2 == NULL) SWIG_fail;
12287 temp2 = True;
12288 }
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 (arg1)->SetValue((wxString const &)*arg2);
12292
12293 wxPyEndAllowThreads(__tstate);
12294 if (PyErr_Occurred()) SWIG_fail;
12295 }
12296 Py_INCREF(Py_None); resultobj = Py_None;
12297 {
12298 if (temp2)
12299 delete arg2;
12300 }
12301 return resultobj;
12302 fail:
12303 {
12304 if (temp2)
12305 delete arg2;
12306 }
12307 return NULL;
12308 }
12309
12310
12311 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
12312 PyObject *obj;
12313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12314 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12315 Py_INCREF(obj);
12316 return Py_BuildValue((char *)"");
12317 }
12318 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
12319 PyObject *resultobj;
12320 wxFontData *result;
12321 char *kwnames[] = {
12322 NULL
12323 };
12324
12325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12326 {
12327 PyThreadState* __tstate = wxPyBeginAllowThreads();
12328 result = (wxFontData *)new wxFontData();
12329
12330 wxPyEndAllowThreads(__tstate);
12331 if (PyErr_Occurred()) SWIG_fail;
12332 }
12333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12334 return resultobj;
12335 fail:
12336 return NULL;
12337 }
12338
12339
12340 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
12341 PyObject *resultobj;
12342 wxFontData *arg1 = (wxFontData *) 0 ;
12343 PyObject * obj0 = 0 ;
12344 char *kwnames[] = {
12345 (char *) "self", NULL
12346 };
12347
12348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12351 {
12352 PyThreadState* __tstate = wxPyBeginAllowThreads();
12353 delete arg1;
12354
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 Py_INCREF(Py_None); resultobj = Py_None;
12359 return resultobj;
12360 fail:
12361 return NULL;
12362 }
12363
12364
12365 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
12366 PyObject *resultobj;
12367 wxFontData *arg1 = (wxFontData *) 0 ;
12368 bool arg2 ;
12369 PyObject * obj0 = 0 ;
12370 PyObject * obj1 = 0 ;
12371 char *kwnames[] = {
12372 (char *) "self",(char *) "enable", NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12378 arg2 = (bool) SWIG_AsBool(obj1);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 {
12381 PyThreadState* __tstate = wxPyBeginAllowThreads();
12382 (arg1)->EnableEffects(arg2);
12383
12384 wxPyEndAllowThreads(__tstate);
12385 if (PyErr_Occurred()) SWIG_fail;
12386 }
12387 Py_INCREF(Py_None); resultobj = Py_None;
12388 return resultobj;
12389 fail:
12390 return NULL;
12391 }
12392
12393
12394 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
12395 PyObject *resultobj;
12396 wxFontData *arg1 = (wxFontData *) 0 ;
12397 bool result;
12398 PyObject * obj0 = 0 ;
12399 char *kwnames[] = {
12400 (char *) "self", NULL
12401 };
12402
12403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12406 {
12407 PyThreadState* __tstate = wxPyBeginAllowThreads();
12408 result = (bool)(arg1)->GetAllowSymbols();
12409
12410 wxPyEndAllowThreads(__tstate);
12411 if (PyErr_Occurred()) SWIG_fail;
12412 }
12413 {
12414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12415 }
12416 return resultobj;
12417 fail:
12418 return NULL;
12419 }
12420
12421
12422 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
12423 PyObject *resultobj;
12424 wxFontData *arg1 = (wxFontData *) 0 ;
12425 wxColour result;
12426 PyObject * obj0 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
12436 result = (arg1)->GetColour();
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
12441 {
12442 wxColour * resultptr;
12443 resultptr = new wxColour((wxColour &) result);
12444 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12445 }
12446 return resultobj;
12447 fail:
12448 return NULL;
12449 }
12450
12451
12452 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
12453 PyObject *resultobj;
12454 wxFontData *arg1 = (wxFontData *) 0 ;
12455 wxFont result;
12456 PyObject * obj0 = 0 ;
12457 char *kwnames[] = {
12458 (char *) "self", NULL
12459 };
12460
12461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12464 {
12465 PyThreadState* __tstate = wxPyBeginAllowThreads();
12466 result = (arg1)->GetChosenFont();
12467
12468 wxPyEndAllowThreads(__tstate);
12469 if (PyErr_Occurred()) SWIG_fail;
12470 }
12471 {
12472 wxFont * resultptr;
12473 resultptr = new wxFont((wxFont &) result);
12474 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12475 }
12476 return resultobj;
12477 fail:
12478 return NULL;
12479 }
12480
12481
12482 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
12483 PyObject *resultobj;
12484 wxFontData *arg1 = (wxFontData *) 0 ;
12485 bool result;
12486 PyObject * obj0 = 0 ;
12487 char *kwnames[] = {
12488 (char *) "self", NULL
12489 };
12490
12491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (bool)(arg1)->GetEnableEffects();
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 {
12502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12503 }
12504 return resultobj;
12505 fail:
12506 return NULL;
12507 }
12508
12509
12510 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj;
12512 wxFontData *arg1 = (wxFontData *) 0 ;
12513 wxFont result;
12514 PyObject * obj0 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "self", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 result = (arg1)->GetInitialFont();
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 {
12530 wxFont * resultptr;
12531 resultptr = new wxFont((wxFont &) result);
12532 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12533 }
12534 return resultobj;
12535 fail:
12536 return NULL;
12537 }
12538
12539
12540 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
12541 PyObject *resultobj;
12542 wxFontData *arg1 = (wxFontData *) 0 ;
12543 bool result;
12544 PyObject * obj0 = 0 ;
12545 char *kwnames[] = {
12546 (char *) "self", NULL
12547 };
12548
12549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 result = (bool)(arg1)->GetShowHelp();
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 {
12560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12561 }
12562 return resultobj;
12563 fail:
12564 return NULL;
12565 }
12566
12567
12568 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
12569 PyObject *resultobj;
12570 wxFontData *arg1 = (wxFontData *) 0 ;
12571 bool arg2 ;
12572 PyObject * obj0 = 0 ;
12573 PyObject * obj1 = 0 ;
12574 char *kwnames[] = {
12575 (char *) "self",(char *) "allowSymbols", NULL
12576 };
12577
12578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12581 arg2 = (bool) SWIG_AsBool(obj1);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 {
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 (arg1)->SetAllowSymbols(arg2);
12586
12587 wxPyEndAllowThreads(__tstate);
12588 if (PyErr_Occurred()) SWIG_fail;
12589 }
12590 Py_INCREF(Py_None); resultobj = Py_None;
12591 return resultobj;
12592 fail:
12593 return NULL;
12594 }
12595
12596
12597 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
12598 PyObject *resultobj;
12599 wxFontData *arg1 = (wxFontData *) 0 ;
12600 wxFont *arg2 = 0 ;
12601 PyObject * obj0 = 0 ;
12602 PyObject * obj1 = 0 ;
12603 char *kwnames[] = {
12604 (char *) "self",(char *) "font", NULL
12605 };
12606
12607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12610 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12611 SWIG_POINTER_EXCEPTION | 0)) == -1)
12612 SWIG_fail;
12613 if (arg2 == NULL) {
12614 PyErr_SetString(PyExc_TypeError,"null reference");
12615 SWIG_fail;
12616 }
12617 {
12618 PyThreadState* __tstate = wxPyBeginAllowThreads();
12619 (arg1)->SetChosenFont((wxFont const &)*arg2);
12620
12621 wxPyEndAllowThreads(__tstate);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 }
12624 Py_INCREF(Py_None); resultobj = Py_None;
12625 return resultobj;
12626 fail:
12627 return NULL;
12628 }
12629
12630
12631 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
12632 PyObject *resultobj;
12633 wxFontData *arg1 = (wxFontData *) 0 ;
12634 wxColour *arg2 = 0 ;
12635 wxColour temp2 ;
12636 PyObject * obj0 = 0 ;
12637 PyObject * obj1 = 0 ;
12638 char *kwnames[] = {
12639 (char *) "self",(char *) "colour", NULL
12640 };
12641
12642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12645 {
12646 arg2 = &temp2;
12647 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12648 }
12649 {
12650 PyThreadState* __tstate = wxPyBeginAllowThreads();
12651 (arg1)->SetColour((wxColour const &)*arg2);
12652
12653 wxPyEndAllowThreads(__tstate);
12654 if (PyErr_Occurred()) SWIG_fail;
12655 }
12656 Py_INCREF(Py_None); resultobj = Py_None;
12657 return resultobj;
12658 fail:
12659 return NULL;
12660 }
12661
12662
12663 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
12664 PyObject *resultobj;
12665 wxFontData *arg1 = (wxFontData *) 0 ;
12666 wxFont *arg2 = 0 ;
12667 PyObject * obj0 = 0 ;
12668 PyObject * obj1 = 0 ;
12669 char *kwnames[] = {
12670 (char *) "self",(char *) "font", NULL
12671 };
12672
12673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12676 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12677 SWIG_POINTER_EXCEPTION | 0)) == -1)
12678 SWIG_fail;
12679 if (arg2 == NULL) {
12680 PyErr_SetString(PyExc_TypeError,"null reference");
12681 SWIG_fail;
12682 }
12683 {
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
12685 (arg1)->SetInitialFont((wxFont const &)*arg2);
12686
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 Py_INCREF(Py_None); resultobj = Py_None;
12691 return resultobj;
12692 fail:
12693 return NULL;
12694 }
12695
12696
12697 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12698 PyObject *resultobj;
12699 wxFontData *arg1 = (wxFontData *) 0 ;
12700 int arg2 ;
12701 int arg3 ;
12702 PyObject * obj0 = 0 ;
12703 PyObject * obj1 = 0 ;
12704 PyObject * obj2 = 0 ;
12705 char *kwnames[] = {
12706 (char *) "self",(char *) "min",(char *) "max", NULL
12707 };
12708
12709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12712 arg2 = (int) SWIG_AsInt(obj1);
12713 if (PyErr_Occurred()) SWIG_fail;
12714 arg3 = (int) SWIG_AsInt(obj2);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 {
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 (arg1)->SetRange(arg2,arg3);
12719
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 Py_INCREF(Py_None); resultobj = Py_None;
12724 return resultobj;
12725 fail:
12726 return NULL;
12727 }
12728
12729
12730 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj;
12732 wxFontData *arg1 = (wxFontData *) 0 ;
12733 bool arg2 ;
12734 PyObject * obj0 = 0 ;
12735 PyObject * obj1 = 0 ;
12736 char *kwnames[] = {
12737 (char *) "self",(char *) "showHelp", NULL
12738 };
12739
12740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12743 arg2 = (bool) SWIG_AsBool(obj1);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 {
12746 PyThreadState* __tstate = wxPyBeginAllowThreads();
12747 (arg1)->SetShowHelp(arg2);
12748
12749 wxPyEndAllowThreads(__tstate);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 Py_INCREF(Py_None); resultobj = Py_None;
12753 return resultobj;
12754 fail:
12755 return NULL;
12756 }
12757
12758
12759 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
12760 PyObject *obj;
12761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12762 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12763 Py_INCREF(obj);
12764 return Py_BuildValue((char *)"");
12765 }
12766 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12767 PyObject *resultobj;
12768 wxWindow *arg1 = (wxWindow *) 0 ;
12769 wxFontData *arg2 = 0 ;
12770 wxFontDialog *result;
12771 PyObject * obj0 = 0 ;
12772 PyObject * obj1 = 0 ;
12773 char *kwnames[] = {
12774 (char *) "parent",(char *) "data", NULL
12775 };
12776
12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
12781 SWIG_POINTER_EXCEPTION | 0)) == -1)
12782 SWIG_fail;
12783 if (arg2 == NULL) {
12784 PyErr_SetString(PyExc_TypeError,"null reference");
12785 SWIG_fail;
12786 }
12787 {
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12790
12791 wxPyEndAllowThreads(__tstate);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
12795 return resultobj;
12796 fail:
12797 return NULL;
12798 }
12799
12800
12801 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
12802 PyObject *resultobj;
12803 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12804 wxFontData *result;
12805 PyObject * obj0 = 0 ;
12806 char *kwnames[] = {
12807 (char *) "self", NULL
12808 };
12809
12810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
12812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12813 {
12814 PyThreadState* __tstate = wxPyBeginAllowThreads();
12815 {
12816 wxFontData &_result_ref = (arg1)->GetFontData();
12817 result = (wxFontData *) &_result_ref;
12818 }
12819
12820 wxPyEndAllowThreads(__tstate);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
12823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
12824 return resultobj;
12825 fail:
12826 return NULL;
12827 }
12828
12829
12830 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
12831 PyObject *obj;
12832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12833 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12834 Py_INCREF(obj);
12835 return Py_BuildValue((char *)"");
12836 }
12837 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12838 PyObject *resultobj;
12839 wxWindow *arg1 = (wxWindow *) 0 ;
12840 wxString *arg2 = 0 ;
12841 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12842 wxString *arg3 = (wxString *) &arg3_defvalue ;
12843 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12844 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12845 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12846 wxMessageDialog *result;
12847 bool temp2 = False ;
12848 bool temp3 = False ;
12849 wxPoint temp5 ;
12850 PyObject * obj0 = 0 ;
12851 PyObject * obj1 = 0 ;
12852 PyObject * obj2 = 0 ;
12853 PyObject * obj3 = 0 ;
12854 PyObject * obj4 = 0 ;
12855 char *kwnames[] = {
12856 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12857 };
12858
12859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12862 {
12863 arg2 = wxString_in_helper(obj1);
12864 if (arg2 == NULL) SWIG_fail;
12865 temp2 = True;
12866 }
12867 if (obj2) {
12868 {
12869 arg3 = wxString_in_helper(obj2);
12870 if (arg3 == NULL) SWIG_fail;
12871 temp3 = True;
12872 }
12873 }
12874 if (obj3) {
12875 arg4 = (long) SWIG_AsLong(obj3);
12876 if (PyErr_Occurred()) SWIG_fail;
12877 }
12878 if (obj4) {
12879 {
12880 arg5 = &temp5;
12881 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12882 }
12883 }
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
12892 {
12893 if (temp2)
12894 delete arg2;
12895 }
12896 {
12897 if (temp3)
12898 delete arg3;
12899 }
12900 return resultobj;
12901 fail:
12902 {
12903 if (temp2)
12904 delete arg2;
12905 }
12906 {
12907 if (temp3)
12908 delete arg3;
12909 }
12910 return NULL;
12911 }
12912
12913
12914 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
12915 PyObject *obj;
12916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12917 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12918 Py_INCREF(obj);
12919 return Py_BuildValue((char *)"");
12920 }
12921 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12922 PyObject *resultobj;
12923 wxString *arg1 = 0 ;
12924 wxString *arg2 = 0 ;
12925 int arg3 = (int) 100 ;
12926 wxWindow *arg4 = (wxWindow *) NULL ;
12927 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12928 wxProgressDialog *result;
12929 bool temp1 = False ;
12930 bool temp2 = False ;
12931 PyObject * obj0 = 0 ;
12932 PyObject * obj1 = 0 ;
12933 PyObject * obj2 = 0 ;
12934 PyObject * obj3 = 0 ;
12935 PyObject * obj4 = 0 ;
12936 char *kwnames[] = {
12937 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12938 };
12939
12940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12941 {
12942 arg1 = wxString_in_helper(obj0);
12943 if (arg1 == NULL) SWIG_fail;
12944 temp1 = True;
12945 }
12946 {
12947 arg2 = wxString_in_helper(obj1);
12948 if (arg2 == NULL) SWIG_fail;
12949 temp2 = True;
12950 }
12951 if (obj2) {
12952 arg3 = (int) SWIG_AsInt(obj2);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
12955 if (obj3) {
12956 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
12957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12958 }
12959 if (obj4) {
12960 arg5 = (int) SWIG_AsInt(obj4);
12961 if (PyErr_Occurred()) SWIG_fail;
12962 }
12963 {
12964 PyThreadState* __tstate = wxPyBeginAllowThreads();
12965 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12966
12967 wxPyEndAllowThreads(__tstate);
12968 if (PyErr_Occurred()) SWIG_fail;
12969 }
12970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
12971 {
12972 if (temp1)
12973 delete arg1;
12974 }
12975 {
12976 if (temp2)
12977 delete arg2;
12978 }
12979 return resultobj;
12980 fail:
12981 {
12982 if (temp1)
12983 delete arg1;
12984 }
12985 {
12986 if (temp2)
12987 delete arg2;
12988 }
12989 return NULL;
12990 }
12991
12992
12993 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
12994 PyObject *resultobj;
12995 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12996 int arg2 ;
12997 wxString const &arg3_defvalue = wxPyEmptyString ;
12998 wxString *arg3 = (wxString *) &arg3_defvalue ;
12999 bool result;
13000 bool temp3 = False ;
13001 PyObject * obj0 = 0 ;
13002 PyObject * obj1 = 0 ;
13003 PyObject * obj2 = 0 ;
13004 char *kwnames[] = {
13005 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13011 arg2 = (int) SWIG_AsInt(obj1);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 if (obj2) {
13014 {
13015 arg3 = wxString_in_helper(obj2);
13016 if (arg3 == NULL) SWIG_fail;
13017 temp3 = True;
13018 }
13019 }
13020 {
13021 PyThreadState* __tstate = wxPyBeginAllowThreads();
13022 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13023
13024 wxPyEndAllowThreads(__tstate);
13025 if (PyErr_Occurred()) SWIG_fail;
13026 }
13027 {
13028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13029 }
13030 {
13031 if (temp3)
13032 delete arg3;
13033 }
13034 return resultobj;
13035 fail:
13036 {
13037 if (temp3)
13038 delete arg3;
13039 }
13040 return NULL;
13041 }
13042
13043
13044 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
13045 PyObject *resultobj;
13046 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13047 PyObject * obj0 = 0 ;
13048 char *kwnames[] = {
13049 (char *) "self", NULL
13050 };
13051
13052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13055 {
13056 PyThreadState* __tstate = wxPyBeginAllowThreads();
13057 (arg1)->Resume();
13058
13059 wxPyEndAllowThreads(__tstate);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 Py_INCREF(Py_None); resultobj = Py_None;
13063 return resultobj;
13064 fail:
13065 return NULL;
13066 }
13067
13068
13069 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
13070 PyObject *obj;
13071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13072 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13073 Py_INCREF(obj);
13074 return Py_BuildValue((char *)"");
13075 }
13076 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13077 PyObject *resultobj;
13078 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13079 int arg2 = (int) 0 ;
13080 wxFindDialogEvent *result;
13081 PyObject * obj0 = 0 ;
13082 PyObject * obj1 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "commandType",(char *) "id", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13088 if (obj0) {
13089 arg1 = (wxEventType) SWIG_AsInt(obj0);
13090 if (PyErr_Occurred()) SWIG_fail;
13091 }
13092 if (obj1) {
13093 arg2 = (int) SWIG_AsInt(obj1);
13094 if (PyErr_Occurred()) SWIG_fail;
13095 }
13096 {
13097 PyThreadState* __tstate = wxPyBeginAllowThreads();
13098 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13099
13100 wxPyEndAllowThreads(__tstate);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 }
13103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13104 return resultobj;
13105 fail:
13106 return NULL;
13107 }
13108
13109
13110 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13111 PyObject *resultobj;
13112 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13113 int result;
13114 PyObject * obj0 = 0 ;
13115 char *kwnames[] = {
13116 (char *) "self", NULL
13117 };
13118
13119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13122 {
13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
13124 result = (int)(arg1)->GetFlags();
13125
13126 wxPyEndAllowThreads(__tstate);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 }
13129 resultobj = SWIG_FromInt((int)result);
13130 return resultobj;
13131 fail:
13132 return NULL;
13133 }
13134
13135
13136 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13137 PyObject *resultobj;
13138 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13139 wxString *result;
13140 PyObject * obj0 = 0 ;
13141 char *kwnames[] = {
13142 (char *) "self", NULL
13143 };
13144
13145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13148 {
13149 PyThreadState* __tstate = wxPyBeginAllowThreads();
13150 {
13151 wxString const &_result_ref = (arg1)->GetFindString();
13152 result = (wxString *) &_result_ref;
13153 }
13154
13155 wxPyEndAllowThreads(__tstate);
13156 if (PyErr_Occurred()) SWIG_fail;
13157 }
13158 {
13159 #if wxUSE_UNICODE
13160 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13161 #else
13162 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13163 #endif
13164 }
13165 return resultobj;
13166 fail:
13167 return NULL;
13168 }
13169
13170
13171 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13172 PyObject *resultobj;
13173 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13174 wxString *result;
13175 PyObject * obj0 = 0 ;
13176 char *kwnames[] = {
13177 (char *) "self", NULL
13178 };
13179
13180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13183 {
13184 PyThreadState* __tstate = wxPyBeginAllowThreads();
13185 {
13186 wxString const &_result_ref = (arg1)->GetReplaceString();
13187 result = (wxString *) &_result_ref;
13188 }
13189
13190 wxPyEndAllowThreads(__tstate);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 }
13193 {
13194 #if wxUSE_UNICODE
13195 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13196 #else
13197 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13198 #endif
13199 }
13200 return resultobj;
13201 fail:
13202 return NULL;
13203 }
13204
13205
13206 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13207 PyObject *resultobj;
13208 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13209 wxFindReplaceDialog *result;
13210 PyObject * obj0 = 0 ;
13211 char *kwnames[] = {
13212 (char *) "self", NULL
13213 };
13214
13215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13218 {
13219 PyThreadState* __tstate = wxPyBeginAllowThreads();
13220 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13221
13222 wxPyEndAllowThreads(__tstate);
13223 if (PyErr_Occurred()) SWIG_fail;
13224 }
13225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13226 return resultobj;
13227 fail:
13228 return NULL;
13229 }
13230
13231
13232 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13233 PyObject *resultobj;
13234 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13235 int arg2 ;
13236 PyObject * obj0 = 0 ;
13237 PyObject * obj1 = 0 ;
13238 char *kwnames[] = {
13239 (char *) "self",(char *) "flags", NULL
13240 };
13241
13242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13245 arg2 = (int) SWIG_AsInt(obj1);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 {
13248 PyThreadState* __tstate = wxPyBeginAllowThreads();
13249 (arg1)->SetFlags(arg2);
13250
13251 wxPyEndAllowThreads(__tstate);
13252 if (PyErr_Occurred()) SWIG_fail;
13253 }
13254 Py_INCREF(Py_None); resultobj = Py_None;
13255 return resultobj;
13256 fail:
13257 return NULL;
13258 }
13259
13260
13261 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13262 PyObject *resultobj;
13263 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13264 wxString *arg2 = 0 ;
13265 bool temp2 = False ;
13266 PyObject * obj0 = 0 ;
13267 PyObject * obj1 = 0 ;
13268 char *kwnames[] = {
13269 (char *) "self",(char *) "str", NULL
13270 };
13271
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13275 {
13276 arg2 = wxString_in_helper(obj1);
13277 if (arg2 == NULL) SWIG_fail;
13278 temp2 = True;
13279 }
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 (arg1)->SetFindString((wxString const &)*arg2);
13283
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 Py_INCREF(Py_None); resultobj = Py_None;
13288 {
13289 if (temp2)
13290 delete arg2;
13291 }
13292 return resultobj;
13293 fail:
13294 {
13295 if (temp2)
13296 delete arg2;
13297 }
13298 return NULL;
13299 }
13300
13301
13302 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13303 PyObject *resultobj;
13304 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13305 wxString *arg2 = 0 ;
13306 bool temp2 = False ;
13307 PyObject * obj0 = 0 ;
13308 PyObject * obj1 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self",(char *) "str", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13316 {
13317 arg2 = wxString_in_helper(obj1);
13318 if (arg2 == NULL) SWIG_fail;
13319 temp2 = True;
13320 }
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 (arg1)->SetReplaceString((wxString const &)*arg2);
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 Py_INCREF(Py_None); resultobj = Py_None;
13329 {
13330 if (temp2)
13331 delete arg2;
13332 }
13333 return resultobj;
13334 fail:
13335 {
13336 if (temp2)
13337 delete arg2;
13338 }
13339 return NULL;
13340 }
13341
13342
13343 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
13344 PyObject *obj;
13345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13346 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13347 Py_INCREF(obj);
13348 return Py_BuildValue((char *)"");
13349 }
13350 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
13351 PyObject *resultobj;
13352 int arg1 = (int) 0 ;
13353 wxFindReplaceData *result;
13354 PyObject * obj0 = 0 ;
13355 char *kwnames[] = {
13356 (char *) "flags", NULL
13357 };
13358
13359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13360 if (obj0) {
13361 arg1 = (int) SWIG_AsInt(obj0);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 {
13365 PyThreadState* __tstate = wxPyBeginAllowThreads();
13366 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13367
13368 wxPyEndAllowThreads(__tstate);
13369 if (PyErr_Occurred()) SWIG_fail;
13370 }
13371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13372 return resultobj;
13373 fail:
13374 return NULL;
13375 }
13376
13377
13378 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
13379 PyObject *resultobj;
13380 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13381 PyObject * obj0 = 0 ;
13382 char *kwnames[] = {
13383 (char *) "self", NULL
13384 };
13385
13386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13389 {
13390 PyThreadState* __tstate = wxPyBeginAllowThreads();
13391 delete arg1;
13392
13393 wxPyEndAllowThreads(__tstate);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 }
13396 Py_INCREF(Py_None); resultobj = Py_None;
13397 return resultobj;
13398 fail:
13399 return NULL;
13400 }
13401
13402
13403 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13404 PyObject *resultobj;
13405 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13406 wxString *result;
13407 PyObject * obj0 = 0 ;
13408 char *kwnames[] = {
13409 (char *) "self", NULL
13410 };
13411
13412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 {
13418 wxString const &_result_ref = (arg1)->GetFindString();
13419 result = (wxString *) &_result_ref;
13420 }
13421
13422 wxPyEndAllowThreads(__tstate);
13423 if (PyErr_Occurred()) SWIG_fail;
13424 }
13425 {
13426 #if wxUSE_UNICODE
13427 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13428 #else
13429 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13430 #endif
13431 }
13432 return resultobj;
13433 fail:
13434 return NULL;
13435 }
13436
13437
13438 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13439 PyObject *resultobj;
13440 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13441 wxString *result;
13442 PyObject * obj0 = 0 ;
13443 char *kwnames[] = {
13444 (char *) "self", NULL
13445 };
13446
13447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13450 {
13451 PyThreadState* __tstate = wxPyBeginAllowThreads();
13452 {
13453 wxString const &_result_ref = (arg1)->GetReplaceString();
13454 result = (wxString *) &_result_ref;
13455 }
13456
13457 wxPyEndAllowThreads(__tstate);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 }
13460 {
13461 #if wxUSE_UNICODE
13462 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13463 #else
13464 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13465 #endif
13466 }
13467 return resultobj;
13468 fail:
13469 return NULL;
13470 }
13471
13472
13473 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13474 PyObject *resultobj;
13475 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13476 int result;
13477 PyObject * obj0 = 0 ;
13478 char *kwnames[] = {
13479 (char *) "self", NULL
13480 };
13481
13482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13485 {
13486 PyThreadState* __tstate = wxPyBeginAllowThreads();
13487 result = (int)(arg1)->GetFlags();
13488
13489 wxPyEndAllowThreads(__tstate);
13490 if (PyErr_Occurred()) SWIG_fail;
13491 }
13492 resultobj = SWIG_FromInt((int)result);
13493 return resultobj;
13494 fail:
13495 return NULL;
13496 }
13497
13498
13499 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13500 PyObject *resultobj;
13501 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13502 int arg2 ;
13503 PyObject * obj0 = 0 ;
13504 PyObject * obj1 = 0 ;
13505 char *kwnames[] = {
13506 (char *) "self",(char *) "flags", NULL
13507 };
13508
13509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13512 arg2 = (int) SWIG_AsInt(obj1);
13513 if (PyErr_Occurred()) SWIG_fail;
13514 {
13515 PyThreadState* __tstate = wxPyBeginAllowThreads();
13516 (arg1)->SetFlags(arg2);
13517
13518 wxPyEndAllowThreads(__tstate);
13519 if (PyErr_Occurred()) SWIG_fail;
13520 }
13521 Py_INCREF(Py_None); resultobj = Py_None;
13522 return resultobj;
13523 fail:
13524 return NULL;
13525 }
13526
13527
13528 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13529 PyObject *resultobj;
13530 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13531 wxString *arg2 = 0 ;
13532 bool temp2 = False ;
13533 PyObject * obj0 = 0 ;
13534 PyObject * obj1 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self",(char *) "str", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13542 {
13543 arg2 = wxString_in_helper(obj1);
13544 if (arg2 == NULL) SWIG_fail;
13545 temp2 = True;
13546 }
13547 {
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 (arg1)->SetFindString((wxString const &)*arg2);
13550
13551 wxPyEndAllowThreads(__tstate);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
13554 Py_INCREF(Py_None); resultobj = Py_None;
13555 {
13556 if (temp2)
13557 delete arg2;
13558 }
13559 return resultobj;
13560 fail:
13561 {
13562 if (temp2)
13563 delete arg2;
13564 }
13565 return NULL;
13566 }
13567
13568
13569 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13570 PyObject *resultobj;
13571 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13572 wxString *arg2 = 0 ;
13573 bool temp2 = False ;
13574 PyObject * obj0 = 0 ;
13575 PyObject * obj1 = 0 ;
13576 char *kwnames[] = {
13577 (char *) "self",(char *) "str", NULL
13578 };
13579
13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13583 {
13584 arg2 = wxString_in_helper(obj1);
13585 if (arg2 == NULL) SWIG_fail;
13586 temp2 = True;
13587 }
13588 {
13589 PyThreadState* __tstate = wxPyBeginAllowThreads();
13590 (arg1)->SetReplaceString((wxString const &)*arg2);
13591
13592 wxPyEndAllowThreads(__tstate);
13593 if (PyErr_Occurred()) SWIG_fail;
13594 }
13595 Py_INCREF(Py_None); resultobj = Py_None;
13596 {
13597 if (temp2)
13598 delete arg2;
13599 }
13600 return resultobj;
13601 fail:
13602 {
13603 if (temp2)
13604 delete arg2;
13605 }
13606 return NULL;
13607 }
13608
13609
13610 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
13611 PyObject *obj;
13612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13613 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13614 Py_INCREF(obj);
13615 return Py_BuildValue((char *)"");
13616 }
13617 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13618 PyObject *resultobj;
13619 wxWindow *arg1 = (wxWindow *) 0 ;
13620 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13621 wxString *arg3 = 0 ;
13622 int arg4 = (int) 0 ;
13623 wxFindReplaceDialog *result;
13624 bool temp3 = False ;
13625 PyObject * obj0 = 0 ;
13626 PyObject * obj1 = 0 ;
13627 PyObject * obj2 = 0 ;
13628 PyObject * obj3 = 0 ;
13629 char *kwnames[] = {
13630 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13631 };
13632
13633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13638 {
13639 arg3 = wxString_in_helper(obj2);
13640 if (arg3 == NULL) SWIG_fail;
13641 temp3 = True;
13642 }
13643 if (obj3) {
13644 arg4 = (int) SWIG_AsInt(obj3);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 }
13647 {
13648 PyThreadState* __tstate = wxPyBeginAllowThreads();
13649 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13650
13651 wxPyEndAllowThreads(__tstate);
13652 if (PyErr_Occurred()) SWIG_fail;
13653 }
13654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13655 {
13656 if (temp3)
13657 delete arg3;
13658 }
13659 return resultobj;
13660 fail:
13661 {
13662 if (temp3)
13663 delete arg3;
13664 }
13665 return NULL;
13666 }
13667
13668
13669 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13670 PyObject *resultobj;
13671 wxFindReplaceDialog *result;
13672 char *kwnames[] = {
13673 NULL
13674 };
13675
13676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13680
13681 wxPyEndAllowThreads(__tstate);
13682 if (PyErr_Occurred()) SWIG_fail;
13683 }
13684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13685 return resultobj;
13686 fail:
13687 return NULL;
13688 }
13689
13690
13691 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13692 PyObject *resultobj;
13693 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13694 wxWindow *arg2 = (wxWindow *) 0 ;
13695 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13696 wxString *arg4 = 0 ;
13697 int arg5 = (int) 0 ;
13698 bool result;
13699 bool temp4 = False ;
13700 PyObject * obj0 = 0 ;
13701 PyObject * obj1 = 0 ;
13702 PyObject * obj2 = 0 ;
13703 PyObject * obj3 = 0 ;
13704 PyObject * obj4 = 0 ;
13705 char *kwnames[] = {
13706 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13707 };
13708
13709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13714 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
13715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13716 {
13717 arg4 = wxString_in_helper(obj3);
13718 if (arg4 == NULL) SWIG_fail;
13719 temp4 = True;
13720 }
13721 if (obj4) {
13722 arg5 = (int) SWIG_AsInt(obj4);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 }
13725 {
13726 PyThreadState* __tstate = wxPyBeginAllowThreads();
13727 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13728
13729 wxPyEndAllowThreads(__tstate);
13730 if (PyErr_Occurred()) SWIG_fail;
13731 }
13732 {
13733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13734 }
13735 {
13736 if (temp4)
13737 delete arg4;
13738 }
13739 return resultobj;
13740 fail:
13741 {
13742 if (temp4)
13743 delete arg4;
13744 }
13745 return NULL;
13746 }
13747
13748
13749 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
13750 PyObject *resultobj;
13751 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13752 wxFindReplaceData *result;
13753 PyObject * obj0 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "self", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 result = (wxFindReplaceData *)(arg1)->GetData();
13764
13765 wxPyEndAllowThreads(__tstate);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 }
13768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
13769 return resultobj;
13770 fail:
13771 return NULL;
13772 }
13773
13774
13775 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
13776 PyObject *resultobj;
13777 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13778 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13779 PyObject * obj0 = 0 ;
13780 PyObject * obj1 = 0 ;
13781 char *kwnames[] = {
13782 (char *) "self",(char *) "data", NULL
13783 };
13784
13785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13790 {
13791 PyThreadState* __tstate = wxPyBeginAllowThreads();
13792 (arg1)->SetData(arg2);
13793
13794 wxPyEndAllowThreads(__tstate);
13795 if (PyErr_Occurred()) SWIG_fail;
13796 }
13797 Py_INCREF(Py_None); resultobj = Py_None;
13798 return resultobj;
13799 fail:
13800 return NULL;
13801 }
13802
13803
13804 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
13805 PyObject *obj;
13806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13807 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
13808 Py_INCREF(obj);
13809 return Py_BuildValue((char *)"");
13810 }
13811 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
13812 PyObject *resultobj;
13813 wxWindow *arg1 = (wxWindow *) 0 ;
13814 int arg2 ;
13815 wxString *arg3 = 0 ;
13816 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13817 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13818 wxSize const &arg5_defvalue = wxDefaultSize ;
13819 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13820 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13821 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13822 wxString *arg7 = (wxString *) &arg7_defvalue ;
13823 wxMDIParentFrame *result;
13824 bool temp3 = False ;
13825 wxPoint temp4 ;
13826 wxSize temp5 ;
13827 bool temp7 = False ;
13828 PyObject * obj0 = 0 ;
13829 PyObject * obj1 = 0 ;
13830 PyObject * obj2 = 0 ;
13831 PyObject * obj3 = 0 ;
13832 PyObject * obj4 = 0 ;
13833 PyObject * obj5 = 0 ;
13834 PyObject * obj6 = 0 ;
13835 char *kwnames[] = {
13836 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13837 };
13838
13839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13842 arg2 = (int const) SWIG_AsInt(obj1);
13843 if (PyErr_Occurred()) SWIG_fail;
13844 {
13845 arg3 = wxString_in_helper(obj2);
13846 if (arg3 == NULL) SWIG_fail;
13847 temp3 = True;
13848 }
13849 if (obj3) {
13850 {
13851 arg4 = &temp4;
13852 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13853 }
13854 }
13855 if (obj4) {
13856 {
13857 arg5 = &temp5;
13858 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13859 }
13860 }
13861 if (obj5) {
13862 arg6 = (long) SWIG_AsLong(obj5);
13863 if (PyErr_Occurred()) SWIG_fail;
13864 }
13865 if (obj6) {
13866 {
13867 arg7 = wxString_in_helper(obj6);
13868 if (arg7 == NULL) SWIG_fail;
13869 temp7 = True;
13870 }
13871 }
13872 {
13873 PyThreadState* __tstate = wxPyBeginAllowThreads();
13874 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13875
13876 wxPyEndAllowThreads(__tstate);
13877 if (PyErr_Occurred()) SWIG_fail;
13878 }
13879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
13880 {
13881 if (temp3)
13882 delete arg3;
13883 }
13884 {
13885 if (temp7)
13886 delete arg7;
13887 }
13888 return resultobj;
13889 fail:
13890 {
13891 if (temp3)
13892 delete arg3;
13893 }
13894 {
13895 if (temp7)
13896 delete arg7;
13897 }
13898 return NULL;
13899 }
13900
13901
13902 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
13903 PyObject *resultobj;
13904 wxMDIParentFrame *result;
13905 char *kwnames[] = {
13906 NULL
13907 };
13908
13909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13910 {
13911 PyThreadState* __tstate = wxPyBeginAllowThreads();
13912 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13913
13914 wxPyEndAllowThreads(__tstate);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 }
13917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
13918 return resultobj;
13919 fail:
13920 return NULL;
13921 }
13922
13923
13924 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13925 PyObject *resultobj;
13926 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13927 wxWindow *arg2 = (wxWindow *) 0 ;
13928 int arg3 ;
13929 wxString *arg4 = 0 ;
13930 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13931 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13932 wxSize const &arg6_defvalue = wxDefaultSize ;
13933 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13934 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13935 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13936 wxString *arg8 = (wxString *) &arg8_defvalue ;
13937 bool result;
13938 bool temp4 = False ;
13939 wxPoint temp5 ;
13940 wxSize temp6 ;
13941 bool temp8 = False ;
13942 PyObject * obj0 = 0 ;
13943 PyObject * obj1 = 0 ;
13944 PyObject * obj2 = 0 ;
13945 PyObject * obj3 = 0 ;
13946 PyObject * obj4 = 0 ;
13947 PyObject * obj5 = 0 ;
13948 PyObject * obj6 = 0 ;
13949 PyObject * obj7 = 0 ;
13950 char *kwnames[] = {
13951 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13952 };
13953
13954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
13956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13959 arg3 = (int const) SWIG_AsInt(obj2);
13960 if (PyErr_Occurred()) SWIG_fail;
13961 {
13962 arg4 = wxString_in_helper(obj3);
13963 if (arg4 == NULL) SWIG_fail;
13964 temp4 = True;
13965 }
13966 if (obj4) {
13967 {
13968 arg5 = &temp5;
13969 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13970 }
13971 }
13972 if (obj5) {
13973 {
13974 arg6 = &temp6;
13975 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13976 }
13977 }
13978 if (obj6) {
13979 arg7 = (long) SWIG_AsLong(obj6);
13980 if (PyErr_Occurred()) SWIG_fail;
13981 }
13982 if (obj7) {
13983 {
13984 arg8 = wxString_in_helper(obj7);
13985 if (arg8 == NULL) SWIG_fail;
13986 temp8 = True;
13987 }
13988 }
13989 {
13990 PyThreadState* __tstate = wxPyBeginAllowThreads();
13991 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13992
13993 wxPyEndAllowThreads(__tstate);
13994 if (PyErr_Occurred()) SWIG_fail;
13995 }
13996 {
13997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13998 }
13999 {
14000 if (temp4)
14001 delete arg4;
14002 }
14003 {
14004 if (temp8)
14005 delete arg8;
14006 }
14007 return resultobj;
14008 fail:
14009 {
14010 if (temp4)
14011 delete arg4;
14012 }
14013 {
14014 if (temp8)
14015 delete arg8;
14016 }
14017 return NULL;
14018 }
14019
14020
14021 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
14022 PyObject *resultobj;
14023 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14024 PyObject * obj0 = 0 ;
14025 char *kwnames[] = {
14026 (char *) "self", NULL
14027 };
14028
14029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14032 {
14033 PyThreadState* __tstate = wxPyBeginAllowThreads();
14034 (arg1)->ActivateNext();
14035
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 Py_INCREF(Py_None); resultobj = Py_None;
14040 return resultobj;
14041 fail:
14042 return NULL;
14043 }
14044
14045
14046 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
14047 PyObject *resultobj;
14048 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14049 PyObject * obj0 = 0 ;
14050 char *kwnames[] = {
14051 (char *) "self", NULL
14052 };
14053
14054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14057 {
14058 PyThreadState* __tstate = wxPyBeginAllowThreads();
14059 (arg1)->ActivatePrevious();
14060
14061 wxPyEndAllowThreads(__tstate);
14062 if (PyErr_Occurred()) SWIG_fail;
14063 }
14064 Py_INCREF(Py_None); resultobj = Py_None;
14065 return resultobj;
14066 fail:
14067 return NULL;
14068 }
14069
14070
14071 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
14072 PyObject *resultobj;
14073 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14074 PyObject * obj0 = 0 ;
14075 char *kwnames[] = {
14076 (char *) "self", NULL
14077 };
14078
14079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14082 {
14083 PyThreadState* __tstate = wxPyBeginAllowThreads();
14084 (arg1)->ArrangeIcons();
14085
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 Py_INCREF(Py_None); resultobj = Py_None;
14090 return resultobj;
14091 fail:
14092 return NULL;
14093 }
14094
14095
14096 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj;
14098 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14099 PyObject * obj0 = 0 ;
14100 char *kwnames[] = {
14101 (char *) "self", NULL
14102 };
14103
14104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 (arg1)->Cascade();
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 Py_INCREF(Py_None); resultobj = Py_None;
14115 return resultobj;
14116 fail:
14117 return NULL;
14118 }
14119
14120
14121 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
14122 PyObject *resultobj;
14123 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14124 wxMDIChildFrame *result;
14125 PyObject * obj0 = 0 ;
14126 char *kwnames[] = {
14127 (char *) "self", NULL
14128 };
14129
14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14133 {
14134 PyThreadState* __tstate = wxPyBeginAllowThreads();
14135 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14136
14137 wxPyEndAllowThreads(__tstate);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 {
14141 resultobj = wxPyMake_wxObject(result);
14142 }
14143 return resultobj;
14144 fail:
14145 return NULL;
14146 }
14147
14148
14149 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14150 PyObject *resultobj;
14151 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14152 wxMDIClientWindow *result;
14153 PyObject * obj0 = 0 ;
14154 char *kwnames[] = {
14155 (char *) "self", NULL
14156 };
14157
14158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14161 {
14162 PyThreadState* __tstate = wxPyBeginAllowThreads();
14163 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14164
14165 wxPyEndAllowThreads(__tstate);
14166 if (PyErr_Occurred()) SWIG_fail;
14167 }
14168 {
14169 resultobj = wxPyMake_wxObject(result);
14170 }
14171 return resultobj;
14172 fail:
14173 return NULL;
14174 }
14175
14176
14177 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
14178 PyObject *resultobj;
14179 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14180 wxWindow *result;
14181 PyObject * obj0 = 0 ;
14182 char *kwnames[] = {
14183 (char *) "self", NULL
14184 };
14185
14186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14189 {
14190 PyThreadState* __tstate = wxPyBeginAllowThreads();
14191 result = (wxWindow *)(arg1)->GetToolBar();
14192
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
14196 {
14197 resultobj = wxPyMake_wxObject(result);
14198 }
14199 return resultobj;
14200 fail:
14201 return NULL;
14202 }
14203
14204
14205 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
14206 PyObject *resultobj;
14207 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14208 PyObject * obj0 = 0 ;
14209 char *kwnames[] = {
14210 (char *) "self", NULL
14211 };
14212
14213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14216 {
14217 PyThreadState* __tstate = wxPyBeginAllowThreads();
14218 (arg1)->Tile();
14219
14220 wxPyEndAllowThreads(__tstate);
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 Py_INCREF(Py_None); resultobj = Py_None;
14224 return resultobj;
14225 fail:
14226 return NULL;
14227 }
14228
14229
14230 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
14231 PyObject *obj;
14232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14233 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14234 Py_INCREF(obj);
14235 return Py_BuildValue((char *)"");
14236 }
14237 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14238 PyObject *resultobj;
14239 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14240 int arg2 ;
14241 wxString *arg3 = 0 ;
14242 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14243 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14244 wxSize const &arg5_defvalue = wxDefaultSize ;
14245 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14246 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14247 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14248 wxString *arg7 = (wxString *) &arg7_defvalue ;
14249 wxMDIChildFrame *result;
14250 bool temp3 = False ;
14251 wxPoint temp4 ;
14252 wxSize temp5 ;
14253 bool temp7 = False ;
14254 PyObject * obj0 = 0 ;
14255 PyObject * obj1 = 0 ;
14256 PyObject * obj2 = 0 ;
14257 PyObject * obj3 = 0 ;
14258 PyObject * obj4 = 0 ;
14259 PyObject * obj5 = 0 ;
14260 PyObject * obj6 = 0 ;
14261 char *kwnames[] = {
14262 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14263 };
14264
14265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14268 arg2 = (int const) SWIG_AsInt(obj1);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 {
14271 arg3 = wxString_in_helper(obj2);
14272 if (arg3 == NULL) SWIG_fail;
14273 temp3 = True;
14274 }
14275 if (obj3) {
14276 {
14277 arg4 = &temp4;
14278 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14279 }
14280 }
14281 if (obj4) {
14282 {
14283 arg5 = &temp5;
14284 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14285 }
14286 }
14287 if (obj5) {
14288 arg6 = (long) SWIG_AsLong(obj5);
14289 if (PyErr_Occurred()) SWIG_fail;
14290 }
14291 if (obj6) {
14292 {
14293 arg7 = wxString_in_helper(obj6);
14294 if (arg7 == NULL) SWIG_fail;
14295 temp7 = True;
14296 }
14297 }
14298 {
14299 PyThreadState* __tstate = wxPyBeginAllowThreads();
14300 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14301
14302 wxPyEndAllowThreads(__tstate);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 }
14305 {
14306 resultobj = wxPyMake_wxObject(result);
14307 }
14308 {
14309 if (temp3)
14310 delete arg3;
14311 }
14312 {
14313 if (temp7)
14314 delete arg7;
14315 }
14316 return resultobj;
14317 fail:
14318 {
14319 if (temp3)
14320 delete arg3;
14321 }
14322 {
14323 if (temp7)
14324 delete arg7;
14325 }
14326 return NULL;
14327 }
14328
14329
14330 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14331 PyObject *resultobj;
14332 wxMDIChildFrame *result;
14333 char *kwnames[] = {
14334 NULL
14335 };
14336
14337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14338 {
14339 PyThreadState* __tstate = wxPyBeginAllowThreads();
14340 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14341
14342 wxPyEndAllowThreads(__tstate);
14343 if (PyErr_Occurred()) SWIG_fail;
14344 }
14345 {
14346 resultobj = wxPyMake_wxObject(result);
14347 }
14348 return resultobj;
14349 fail:
14350 return NULL;
14351 }
14352
14353
14354 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj;
14356 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14357 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14358 int arg3 ;
14359 wxString *arg4 = 0 ;
14360 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14361 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14362 wxSize const &arg6_defvalue = wxDefaultSize ;
14363 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14364 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14365 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14366 wxString *arg8 = (wxString *) &arg8_defvalue ;
14367 bool result;
14368 bool temp4 = False ;
14369 wxPoint temp5 ;
14370 wxSize temp6 ;
14371 bool temp8 = False ;
14372 PyObject * obj0 = 0 ;
14373 PyObject * obj1 = 0 ;
14374 PyObject * obj2 = 0 ;
14375 PyObject * obj3 = 0 ;
14376 PyObject * obj4 = 0 ;
14377 PyObject * obj5 = 0 ;
14378 PyObject * obj6 = 0 ;
14379 PyObject * obj7 = 0 ;
14380 char *kwnames[] = {
14381 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14382 };
14383
14384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14389 arg3 = (int const) SWIG_AsInt(obj2);
14390 if (PyErr_Occurred()) SWIG_fail;
14391 {
14392 arg4 = wxString_in_helper(obj3);
14393 if (arg4 == NULL) SWIG_fail;
14394 temp4 = True;
14395 }
14396 if (obj4) {
14397 {
14398 arg5 = &temp5;
14399 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14400 }
14401 }
14402 if (obj5) {
14403 {
14404 arg6 = &temp6;
14405 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14406 }
14407 }
14408 if (obj6) {
14409 arg7 = (long) SWIG_AsLong(obj6);
14410 if (PyErr_Occurred()) SWIG_fail;
14411 }
14412 if (obj7) {
14413 {
14414 arg8 = wxString_in_helper(obj7);
14415 if (arg8 == NULL) SWIG_fail;
14416 temp8 = True;
14417 }
14418 }
14419 {
14420 PyThreadState* __tstate = wxPyBeginAllowThreads();
14421 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14422
14423 wxPyEndAllowThreads(__tstate);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
14426 {
14427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14428 }
14429 {
14430 if (temp4)
14431 delete arg4;
14432 }
14433 {
14434 if (temp8)
14435 delete arg8;
14436 }
14437 return resultobj;
14438 fail:
14439 {
14440 if (temp4)
14441 delete arg4;
14442 }
14443 {
14444 if (temp8)
14445 delete arg8;
14446 }
14447 return NULL;
14448 }
14449
14450
14451 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
14452 PyObject *resultobj;
14453 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14454 PyObject * obj0 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 (arg1)->Activate();
14465
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 Py_INCREF(Py_None); resultobj = Py_None;
14470 return resultobj;
14471 fail:
14472 return NULL;
14473 }
14474
14475
14476 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
14477 PyObject *resultobj;
14478 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14479 bool arg2 ;
14480 PyObject * obj0 = 0 ;
14481 PyObject * obj1 = 0 ;
14482 char *kwnames[] = {
14483 (char *) "self",(char *) "maximize", NULL
14484 };
14485
14486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14489 arg2 = (bool) SWIG_AsBool(obj1);
14490 if (PyErr_Occurred()) SWIG_fail;
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 (arg1)->Maximize(arg2);
14494
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 Py_INCREF(Py_None); resultobj = Py_None;
14499 return resultobj;
14500 fail:
14501 return NULL;
14502 }
14503
14504
14505 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
14506 PyObject *resultobj;
14507 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14508 PyObject * obj0 = 0 ;
14509 char *kwnames[] = {
14510 (char *) "self", NULL
14511 };
14512
14513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14516 {
14517 PyThreadState* __tstate = wxPyBeginAllowThreads();
14518 (arg1)->Restore();
14519
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 Py_INCREF(Py_None); resultobj = Py_None;
14524 return resultobj;
14525 fail:
14526 return NULL;
14527 }
14528
14529
14530 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
14531 PyObject *obj;
14532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14533 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14534 Py_INCREF(obj);
14535 return Py_BuildValue((char *)"");
14536 }
14537 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14538 PyObject *resultobj;
14539 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14540 long arg2 = (long) 0 ;
14541 wxMDIClientWindow *result;
14542 PyObject * obj0 = 0 ;
14543 PyObject * obj1 = 0 ;
14544 char *kwnames[] = {
14545 (char *) "parent",(char *) "style", NULL
14546 };
14547
14548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14551 if (obj1) {
14552 arg2 = (long) SWIG_AsLong(obj1);
14553 if (PyErr_Occurred()) SWIG_fail;
14554 }
14555 {
14556 PyThreadState* __tstate = wxPyBeginAllowThreads();
14557 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14558
14559 wxPyEndAllowThreads(__tstate);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 {
14563 resultobj = wxPyMake_wxObject(result);
14564 }
14565 return resultobj;
14566 fail:
14567 return NULL;
14568 }
14569
14570
14571 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14572 PyObject *resultobj;
14573 wxMDIClientWindow *result;
14574 char *kwnames[] = {
14575 NULL
14576 };
14577
14578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14579 {
14580 PyThreadState* __tstate = wxPyBeginAllowThreads();
14581 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14582
14583 wxPyEndAllowThreads(__tstate);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 }
14586 {
14587 resultobj = wxPyMake_wxObject(result);
14588 }
14589 return resultobj;
14590 fail:
14591 return NULL;
14592 }
14593
14594
14595 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14596 PyObject *resultobj;
14597 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14598 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14599 long arg3 = (long) 0 ;
14600 bool result;
14601 PyObject * obj0 = 0 ;
14602 PyObject * obj1 = 0 ;
14603 PyObject * obj2 = 0 ;
14604 char *kwnames[] = {
14605 (char *) "self",(char *) "parent",(char *) "style", NULL
14606 };
14607
14608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
14610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14613 if (obj2) {
14614 arg3 = (long) SWIG_AsLong(obj2);
14615 if (PyErr_Occurred()) SWIG_fail;
14616 }
14617 {
14618 PyThreadState* __tstate = wxPyBeginAllowThreads();
14619 result = (bool)(arg1)->Create(arg2,arg3);
14620
14621 wxPyEndAllowThreads(__tstate);
14622 if (PyErr_Occurred()) SWIG_fail;
14623 }
14624 {
14625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14626 }
14627 return resultobj;
14628 fail:
14629 return NULL;
14630 }
14631
14632
14633 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
14634 PyObject *obj;
14635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14636 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14637 Py_INCREF(obj);
14638 return Py_BuildValue((char *)"");
14639 }
14640 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14641 PyObject *resultobj;
14642 wxWindow *arg1 = (wxWindow *) 0 ;
14643 int arg2 ;
14644 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14645 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14646 wxSize const &arg4_defvalue = wxDefaultSize ;
14647 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14648 long arg5 = (long) 0 ;
14649 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14650 wxString *arg6 = (wxString *) &arg6_defvalue ;
14651 wxPyWindow *result;
14652 wxPoint temp3 ;
14653 wxSize temp4 ;
14654 bool temp6 = False ;
14655 PyObject * obj0 = 0 ;
14656 PyObject * obj1 = 0 ;
14657 PyObject * obj2 = 0 ;
14658 PyObject * obj3 = 0 ;
14659 PyObject * obj4 = 0 ;
14660 PyObject * obj5 = 0 ;
14661 char *kwnames[] = {
14662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14663 };
14664
14665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14668 arg2 = (int const) SWIG_AsInt(obj1);
14669 if (PyErr_Occurred()) SWIG_fail;
14670 if (obj2) {
14671 {
14672 arg3 = &temp3;
14673 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14674 }
14675 }
14676 if (obj3) {
14677 {
14678 arg4 = &temp4;
14679 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14680 }
14681 }
14682 if (obj4) {
14683 arg5 = (long) SWIG_AsLong(obj4);
14684 if (PyErr_Occurred()) SWIG_fail;
14685 }
14686 if (obj5) {
14687 {
14688 arg6 = wxString_in_helper(obj5);
14689 if (arg6 == NULL) SWIG_fail;
14690 temp6 = True;
14691 }
14692 }
14693 {
14694 PyThreadState* __tstate = wxPyBeginAllowThreads();
14695 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14696
14697 wxPyEndAllowThreads(__tstate);
14698 if (PyErr_Occurred()) SWIG_fail;
14699 }
14700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14701 {
14702 if (temp6)
14703 delete arg6;
14704 }
14705 return resultobj;
14706 fail:
14707 {
14708 if (temp6)
14709 delete arg6;
14710 }
14711 return NULL;
14712 }
14713
14714
14715 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
14716 PyObject *resultobj;
14717 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14718 PyObject *arg2 = (PyObject *) 0 ;
14719 PyObject *arg3 = (PyObject *) 0 ;
14720 PyObject * obj0 = 0 ;
14721 PyObject * obj1 = 0 ;
14722 PyObject * obj2 = 0 ;
14723 char *kwnames[] = {
14724 (char *) "self",(char *) "self",(char *) "_class", NULL
14725 };
14726
14727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14730 arg2 = obj1;
14731 arg3 = obj2;
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 (arg1)->_setCallbackInfo(arg2,arg3);
14735
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 Py_INCREF(Py_None); resultobj = Py_None;
14740 return resultobj;
14741 fail:
14742 return NULL;
14743 }
14744
14745
14746 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14747 PyObject *resultobj;
14748 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14749 int arg2 ;
14750 int arg3 ;
14751 int arg4 ;
14752 int arg5 ;
14753 PyObject * obj0 = 0 ;
14754 PyObject * obj1 = 0 ;
14755 PyObject * obj2 = 0 ;
14756 PyObject * obj3 = 0 ;
14757 PyObject * obj4 = 0 ;
14758 char *kwnames[] = {
14759 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14760 };
14761
14762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14765 arg2 = (int) SWIG_AsInt(obj1);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 arg3 = (int) SWIG_AsInt(obj2);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 arg4 = (int) SWIG_AsInt(obj3);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 arg5 = (int) SWIG_AsInt(obj4);
14772 if (PyErr_Occurred()) SWIG_fail;
14773 {
14774 PyThreadState* __tstate = wxPyBeginAllowThreads();
14775 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14776
14777 wxPyEndAllowThreads(__tstate);
14778 if (PyErr_Occurred()) SWIG_fail;
14779 }
14780 Py_INCREF(Py_None); resultobj = Py_None;
14781 return resultobj;
14782 fail:
14783 return NULL;
14784 }
14785
14786
14787 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
14788 PyObject *resultobj;
14789 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14790 int arg2 ;
14791 int arg3 ;
14792 int arg4 ;
14793 int arg5 ;
14794 int arg6 = (int) wxSIZE_AUTO ;
14795 PyObject * obj0 = 0 ;
14796 PyObject * obj1 = 0 ;
14797 PyObject * obj2 = 0 ;
14798 PyObject * obj3 = 0 ;
14799 PyObject * obj4 = 0 ;
14800 PyObject * obj5 = 0 ;
14801 char *kwnames[] = {
14802 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14803 };
14804
14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14808 arg2 = (int) SWIG_AsInt(obj1);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 arg3 = (int) SWIG_AsInt(obj2);
14811 if (PyErr_Occurred()) SWIG_fail;
14812 arg4 = (int) SWIG_AsInt(obj3);
14813 if (PyErr_Occurred()) SWIG_fail;
14814 arg5 = (int) SWIG_AsInt(obj4);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 if (obj5) {
14817 arg6 = (int) SWIG_AsInt(obj5);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 }
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14823
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 Py_INCREF(Py_None); resultobj = Py_None;
14828 return resultobj;
14829 fail:
14830 return NULL;
14831 }
14832
14833
14834 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
14835 PyObject *resultobj;
14836 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14837 int arg2 ;
14838 int arg3 ;
14839 PyObject * obj0 = 0 ;
14840 PyObject * obj1 = 0 ;
14841 PyObject * obj2 = 0 ;
14842 char *kwnames[] = {
14843 (char *) "self",(char *) "width",(char *) "height", NULL
14844 };
14845
14846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14849 arg2 = (int) SWIG_AsInt(obj1);
14850 if (PyErr_Occurred()) SWIG_fail;
14851 arg3 = (int) SWIG_AsInt(obj2);
14852 if (PyErr_Occurred()) SWIG_fail;
14853 {
14854 PyThreadState* __tstate = wxPyBeginAllowThreads();
14855 (arg1)->base_DoSetClientSize(arg2,arg3);
14856
14857 wxPyEndAllowThreads(__tstate);
14858 if (PyErr_Occurred()) SWIG_fail;
14859 }
14860 Py_INCREF(Py_None); resultobj = Py_None;
14861 return resultobj;
14862 fail:
14863 return NULL;
14864 }
14865
14866
14867 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
14868 PyObject *resultobj;
14869 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14870 int arg2 ;
14871 int arg3 ;
14872 PyObject * obj0 = 0 ;
14873 PyObject * obj1 = 0 ;
14874 PyObject * obj2 = 0 ;
14875 char *kwnames[] = {
14876 (char *) "self",(char *) "x",(char *) "y", NULL
14877 };
14878
14879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14882 arg2 = (int) SWIG_AsInt(obj1);
14883 if (PyErr_Occurred()) SWIG_fail;
14884 arg3 = (int) SWIG_AsInt(obj2);
14885 if (PyErr_Occurred()) SWIG_fail;
14886 {
14887 PyThreadState* __tstate = wxPyBeginAllowThreads();
14888 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14889
14890 wxPyEndAllowThreads(__tstate);
14891 if (PyErr_Occurred()) SWIG_fail;
14892 }
14893 Py_INCREF(Py_None); resultobj = Py_None;
14894 return resultobj;
14895 fail:
14896 return NULL;
14897 }
14898
14899
14900 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
14901 PyObject *resultobj;
14902 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14903 int *arg2 = (int *) 0 ;
14904 int *arg3 = (int *) 0 ;
14905 int temp2 ;
14906 int temp3 ;
14907 PyObject * obj0 = 0 ;
14908 char *kwnames[] = {
14909 (char *) "self", NULL
14910 };
14911
14912 arg2 = &temp2;
14913 arg3 = &temp3;
14914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
14915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14917 {
14918 PyThreadState* __tstate = wxPyBeginAllowThreads();
14919 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
14920
14921 wxPyEndAllowThreads(__tstate);
14922 if (PyErr_Occurred()) SWIG_fail;
14923 }
14924 Py_INCREF(Py_None); resultobj = Py_None;
14925 {
14926 PyObject *o = PyInt_FromLong((long) (*arg2));
14927 resultobj = t_output_helper(resultobj,o);
14928 }
14929 {
14930 PyObject *o = PyInt_FromLong((long) (*arg3));
14931 resultobj = t_output_helper(resultobj,o);
14932 }
14933 return resultobj;
14934 fail:
14935 return NULL;
14936 }
14937
14938
14939 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
14940 PyObject *resultobj;
14941 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14942 int *arg2 = (int *) 0 ;
14943 int *arg3 = (int *) 0 ;
14944 int temp2 ;
14945 int temp3 ;
14946 PyObject * obj0 = 0 ;
14947 char *kwnames[] = {
14948 (char *) "self", NULL
14949 };
14950
14951 arg2 = &temp2;
14952 arg3 = &temp3;
14953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14956 {
14957 PyThreadState* __tstate = wxPyBeginAllowThreads();
14958 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
14959
14960 wxPyEndAllowThreads(__tstate);
14961 if (PyErr_Occurred()) SWIG_fail;
14962 }
14963 Py_INCREF(Py_None); resultobj = Py_None;
14964 {
14965 PyObject *o = PyInt_FromLong((long) (*arg2));
14966 resultobj = t_output_helper(resultobj,o);
14967 }
14968 {
14969 PyObject *o = PyInt_FromLong((long) (*arg3));
14970 resultobj = t_output_helper(resultobj,o);
14971 }
14972 return resultobj;
14973 fail:
14974 return NULL;
14975 }
14976
14977
14978 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
14979 PyObject *resultobj;
14980 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14981 int *arg2 = (int *) 0 ;
14982 int *arg3 = (int *) 0 ;
14983 int temp2 ;
14984 int temp3 ;
14985 PyObject * obj0 = 0 ;
14986 char *kwnames[] = {
14987 (char *) "self", NULL
14988 };
14989
14990 arg2 = &temp2;
14991 arg3 = &temp3;
14992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
14993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14995 {
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
14997 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
14998
14999 wxPyEndAllowThreads(__tstate);
15000 if (PyErr_Occurred()) SWIG_fail;
15001 }
15002 Py_INCREF(Py_None); resultobj = Py_None;
15003 {
15004 PyObject *o = PyInt_FromLong((long) (*arg2));
15005 resultobj = t_output_helper(resultobj,o);
15006 }
15007 {
15008 PyObject *o = PyInt_FromLong((long) (*arg3));
15009 resultobj = t_output_helper(resultobj,o);
15010 }
15011 return resultobj;
15012 fail:
15013 return NULL;
15014 }
15015
15016
15017 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15018 PyObject *resultobj;
15019 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15020 wxSize result;
15021 PyObject * obj0 = 0 ;
15022 char *kwnames[] = {
15023 (char *) "self", NULL
15024 };
15025
15026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15029 {
15030 PyThreadState* __tstate = wxPyBeginAllowThreads();
15031 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15032
15033 wxPyEndAllowThreads(__tstate);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
15036 {
15037 wxSize * resultptr;
15038 resultptr = new wxSize((wxSize &) result);
15039 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15040 }
15041 return resultobj;
15042 fail:
15043 return NULL;
15044 }
15045
15046
15047 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15048 PyObject *resultobj;
15049 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15050 wxSize result;
15051 PyObject * obj0 = 0 ;
15052 char *kwnames[] = {
15053 (char *) "self", NULL
15054 };
15055
15056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15059 {
15060 PyThreadState* __tstate = wxPyBeginAllowThreads();
15061 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15062
15063 wxPyEndAllowThreads(__tstate);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 {
15067 wxSize * resultptr;
15068 resultptr = new wxSize((wxSize &) result);
15069 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15070 }
15071 return resultobj;
15072 fail:
15073 return NULL;
15074 }
15075
15076
15077 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15078 PyObject *resultobj;
15079 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15080 PyObject * obj0 = 0 ;
15081 char *kwnames[] = {
15082 (char *) "self", NULL
15083 };
15084
15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15088 {
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 (arg1)->base_InitDialog();
15091
15092 wxPyEndAllowThreads(__tstate);
15093 if (PyErr_Occurred()) SWIG_fail;
15094 }
15095 Py_INCREF(Py_None); resultobj = Py_None;
15096 return resultobj;
15097 fail:
15098 return NULL;
15099 }
15100
15101
15102 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15103 PyObject *resultobj;
15104 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15105 bool result;
15106 PyObject * obj0 = 0 ;
15107 char *kwnames[] = {
15108 (char *) "self", NULL
15109 };
15110
15111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15114 {
15115 PyThreadState* __tstate = wxPyBeginAllowThreads();
15116 result = (bool)(arg1)->base_TransferDataToWindow();
15117
15118 wxPyEndAllowThreads(__tstate);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 }
15121 {
15122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15123 }
15124 return resultobj;
15125 fail:
15126 return NULL;
15127 }
15128
15129
15130 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15131 PyObject *resultobj;
15132 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15133 bool result;
15134 PyObject * obj0 = 0 ;
15135 char *kwnames[] = {
15136 (char *) "self", NULL
15137 };
15138
15139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15142 {
15143 PyThreadState* __tstate = wxPyBeginAllowThreads();
15144 result = (bool)(arg1)->base_TransferDataFromWindow();
15145
15146 wxPyEndAllowThreads(__tstate);
15147 if (PyErr_Occurred()) SWIG_fail;
15148 }
15149 {
15150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15151 }
15152 return resultobj;
15153 fail:
15154 return NULL;
15155 }
15156
15157
15158 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
15159 PyObject *resultobj;
15160 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15161 bool result;
15162 PyObject * obj0 = 0 ;
15163 char *kwnames[] = {
15164 (char *) "self", NULL
15165 };
15166
15167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15170 {
15171 PyThreadState* __tstate = wxPyBeginAllowThreads();
15172 result = (bool)(arg1)->base_Validate();
15173
15174 wxPyEndAllowThreads(__tstate);
15175 if (PyErr_Occurred()) SWIG_fail;
15176 }
15177 {
15178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15179 }
15180 return resultobj;
15181 fail:
15182 return NULL;
15183 }
15184
15185
15186 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
15187 PyObject *resultobj;
15188 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15189 bool result;
15190 PyObject * obj0 = 0 ;
15191 char *kwnames[] = {
15192 (char *) "self", NULL
15193 };
15194
15195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15198 {
15199 PyThreadState* __tstate = wxPyBeginAllowThreads();
15200 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15201
15202 wxPyEndAllowThreads(__tstate);
15203 if (PyErr_Occurred()) SWIG_fail;
15204 }
15205 {
15206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15207 }
15208 return resultobj;
15209 fail:
15210 return NULL;
15211 }
15212
15213
15214 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
15215 PyObject *resultobj;
15216 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15217 bool result;
15218 PyObject * obj0 = 0 ;
15219 char *kwnames[] = {
15220 (char *) "self", NULL
15221 };
15222
15223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15226 {
15227 PyThreadState* __tstate = wxPyBeginAllowThreads();
15228 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15229
15230 wxPyEndAllowThreads(__tstate);
15231 if (PyErr_Occurred()) SWIG_fail;
15232 }
15233 {
15234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15235 }
15236 return resultobj;
15237 fail:
15238 return NULL;
15239 }
15240
15241
15242 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj;
15244 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15245 wxSize result;
15246 PyObject * obj0 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "self", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 {
15262 wxSize * resultptr;
15263 resultptr = new wxSize((wxSize &) result);
15264 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15265 }
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15275 wxWindow *arg2 = (wxWindow *) 0 ;
15276 PyObject * obj0 = 0 ;
15277 PyObject * obj1 = 0 ;
15278 char *kwnames[] = {
15279 (char *) "self",(char *) "child", NULL
15280 };
15281
15282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 (arg1)->base_AddChild(arg2);
15290
15291 wxPyEndAllowThreads(__tstate);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 Py_INCREF(Py_None); resultobj = Py_None;
15295 return resultobj;
15296 fail:
15297 return NULL;
15298 }
15299
15300
15301 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15302 PyObject *resultobj;
15303 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15304 wxWindow *arg2 = (wxWindow *) 0 ;
15305 PyObject * obj0 = 0 ;
15306 PyObject * obj1 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "self",(char *) "child", NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15314 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15316 {
15317 PyThreadState* __tstate = wxPyBeginAllowThreads();
15318 (arg1)->base_RemoveChild(arg2);
15319
15320 wxPyEndAllowThreads(__tstate);
15321 if (PyErr_Occurred()) SWIG_fail;
15322 }
15323 Py_INCREF(Py_None); resultobj = Py_None;
15324 return resultobj;
15325 fail:
15326 return NULL;
15327 }
15328
15329
15330 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
15331 PyObject *obj;
15332 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15333 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15334 Py_INCREF(obj);
15335 return Py_BuildValue((char *)"");
15336 }
15337 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
15338 PyObject *resultobj;
15339 wxWindow *arg1 = (wxWindow *) 0 ;
15340 int arg2 ;
15341 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15342 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15343 wxSize const &arg4_defvalue = wxDefaultSize ;
15344 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15345 long arg5 = (long) 0 ;
15346 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15347 wxString *arg6 = (wxString *) &arg6_defvalue ;
15348 wxPyPanel *result;
15349 wxPoint temp3 ;
15350 wxSize temp4 ;
15351 bool temp6 = False ;
15352 PyObject * obj0 = 0 ;
15353 PyObject * obj1 = 0 ;
15354 PyObject * obj2 = 0 ;
15355 PyObject * obj3 = 0 ;
15356 PyObject * obj4 = 0 ;
15357 PyObject * obj5 = 0 ;
15358 char *kwnames[] = {
15359 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15365 arg2 = (int const) SWIG_AsInt(obj1);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 if (obj2) {
15368 {
15369 arg3 = &temp3;
15370 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15371 }
15372 }
15373 if (obj3) {
15374 {
15375 arg4 = &temp4;
15376 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15377 }
15378 }
15379 if (obj4) {
15380 arg5 = (long) SWIG_AsLong(obj4);
15381 if (PyErr_Occurred()) SWIG_fail;
15382 }
15383 if (obj5) {
15384 {
15385 arg6 = wxString_in_helper(obj5);
15386 if (arg6 == NULL) SWIG_fail;
15387 temp6 = True;
15388 }
15389 }
15390 {
15391 PyThreadState* __tstate = wxPyBeginAllowThreads();
15392 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15393
15394 wxPyEndAllowThreads(__tstate);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 }
15397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15398 {
15399 if (temp6)
15400 delete arg6;
15401 }
15402 return resultobj;
15403 fail:
15404 {
15405 if (temp6)
15406 delete arg6;
15407 }
15408 return NULL;
15409 }
15410
15411
15412 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15413 PyObject *resultobj;
15414 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15415 PyObject *arg2 = (PyObject *) 0 ;
15416 PyObject *arg3 = (PyObject *) 0 ;
15417 PyObject * obj0 = 0 ;
15418 PyObject * obj1 = 0 ;
15419 PyObject * obj2 = 0 ;
15420 char *kwnames[] = {
15421 (char *) "self",(char *) "self",(char *) "_class", NULL
15422 };
15423
15424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15427 arg2 = obj1;
15428 arg3 = obj2;
15429 {
15430 PyThreadState* __tstate = wxPyBeginAllowThreads();
15431 (arg1)->_setCallbackInfo(arg2,arg3);
15432
15433 wxPyEndAllowThreads(__tstate);
15434 if (PyErr_Occurred()) SWIG_fail;
15435 }
15436 Py_INCREF(Py_None); resultobj = Py_None;
15437 return resultobj;
15438 fail:
15439 return NULL;
15440 }
15441
15442
15443 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15444 PyObject *resultobj;
15445 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15446 int arg2 ;
15447 int arg3 ;
15448 int arg4 ;
15449 int arg5 ;
15450 PyObject * obj0 = 0 ;
15451 PyObject * obj1 = 0 ;
15452 PyObject * obj2 = 0 ;
15453 PyObject * obj3 = 0 ;
15454 PyObject * obj4 = 0 ;
15455 char *kwnames[] = {
15456 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15457 };
15458
15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15462 arg2 = (int) SWIG_AsInt(obj1);
15463 if (PyErr_Occurred()) SWIG_fail;
15464 arg3 = (int) SWIG_AsInt(obj2);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 arg4 = (int) SWIG_AsInt(obj3);
15467 if (PyErr_Occurred()) SWIG_fail;
15468 arg5 = (int) SWIG_AsInt(obj4);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 {
15471 PyThreadState* __tstate = wxPyBeginAllowThreads();
15472 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15473
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
15477 Py_INCREF(Py_None); resultobj = Py_None;
15478 return resultobj;
15479 fail:
15480 return NULL;
15481 }
15482
15483
15484 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15485 PyObject *resultobj;
15486 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15487 int arg2 ;
15488 int arg3 ;
15489 int arg4 ;
15490 int arg5 ;
15491 int arg6 = (int) wxSIZE_AUTO ;
15492 PyObject * obj0 = 0 ;
15493 PyObject * obj1 = 0 ;
15494 PyObject * obj2 = 0 ;
15495 PyObject * obj3 = 0 ;
15496 PyObject * obj4 = 0 ;
15497 PyObject * obj5 = 0 ;
15498 char *kwnames[] = {
15499 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15500 };
15501
15502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15505 arg2 = (int) SWIG_AsInt(obj1);
15506 if (PyErr_Occurred()) SWIG_fail;
15507 arg3 = (int) SWIG_AsInt(obj2);
15508 if (PyErr_Occurred()) SWIG_fail;
15509 arg4 = (int) SWIG_AsInt(obj3);
15510 if (PyErr_Occurred()) SWIG_fail;
15511 arg5 = (int) SWIG_AsInt(obj4);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 if (obj5) {
15514 arg6 = (int) SWIG_AsInt(obj5);
15515 if (PyErr_Occurred()) SWIG_fail;
15516 }
15517 {
15518 PyThreadState* __tstate = wxPyBeginAllowThreads();
15519 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15520
15521 wxPyEndAllowThreads(__tstate);
15522 if (PyErr_Occurred()) SWIG_fail;
15523 }
15524 Py_INCREF(Py_None); resultobj = Py_None;
15525 return resultobj;
15526 fail:
15527 return NULL;
15528 }
15529
15530
15531 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15532 PyObject *resultobj;
15533 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15534 int arg2 ;
15535 int arg3 ;
15536 PyObject * obj0 = 0 ;
15537 PyObject * obj1 = 0 ;
15538 PyObject * obj2 = 0 ;
15539 char *kwnames[] = {
15540 (char *) "self",(char *) "width",(char *) "height", NULL
15541 };
15542
15543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15546 arg2 = (int) SWIG_AsInt(obj1);
15547 if (PyErr_Occurred()) SWIG_fail;
15548 arg3 = (int) SWIG_AsInt(obj2);
15549 if (PyErr_Occurred()) SWIG_fail;
15550 {
15551 PyThreadState* __tstate = wxPyBeginAllowThreads();
15552 (arg1)->base_DoSetClientSize(arg2,arg3);
15553
15554 wxPyEndAllowThreads(__tstate);
15555 if (PyErr_Occurred()) SWIG_fail;
15556 }
15557 Py_INCREF(Py_None); resultobj = Py_None;
15558 return resultobj;
15559 fail:
15560 return NULL;
15561 }
15562
15563
15564 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15565 PyObject *resultobj;
15566 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15567 int arg2 ;
15568 int arg3 ;
15569 PyObject * obj0 = 0 ;
15570 PyObject * obj1 = 0 ;
15571 PyObject * obj2 = 0 ;
15572 char *kwnames[] = {
15573 (char *) "self",(char *) "x",(char *) "y", NULL
15574 };
15575
15576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15579 arg2 = (int) SWIG_AsInt(obj1);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 arg3 = (int) SWIG_AsInt(obj2);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 Py_INCREF(Py_None); resultobj = Py_None;
15591 return resultobj;
15592 fail:
15593 return NULL;
15594 }
15595
15596
15597 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15598 PyObject *resultobj;
15599 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15600 int *arg2 = (int *) 0 ;
15601 int *arg3 = (int *) 0 ;
15602 int temp2 ;
15603 int temp3 ;
15604 PyObject * obj0 = 0 ;
15605 char *kwnames[] = {
15606 (char *) "self", NULL
15607 };
15608
15609 arg2 = &temp2;
15610 arg3 = &temp3;
15611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 Py_INCREF(Py_None); resultobj = Py_None;
15622 {
15623 PyObject *o = PyInt_FromLong((long) (*arg2));
15624 resultobj = t_output_helper(resultobj,o);
15625 }
15626 {
15627 PyObject *o = PyInt_FromLong((long) (*arg3));
15628 resultobj = t_output_helper(resultobj,o);
15629 }
15630 return resultobj;
15631 fail:
15632 return NULL;
15633 }
15634
15635
15636 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15637 PyObject *resultobj;
15638 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15639 int *arg2 = (int *) 0 ;
15640 int *arg3 = (int *) 0 ;
15641 int temp2 ;
15642 int temp3 ;
15643 PyObject * obj0 = 0 ;
15644 char *kwnames[] = {
15645 (char *) "self", NULL
15646 };
15647
15648 arg2 = &temp2;
15649 arg3 = &temp3;
15650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15653 {
15654 PyThreadState* __tstate = wxPyBeginAllowThreads();
15655 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15656
15657 wxPyEndAllowThreads(__tstate);
15658 if (PyErr_Occurred()) SWIG_fail;
15659 }
15660 Py_INCREF(Py_None); resultobj = Py_None;
15661 {
15662 PyObject *o = PyInt_FromLong((long) (*arg2));
15663 resultobj = t_output_helper(resultobj,o);
15664 }
15665 {
15666 PyObject *o = PyInt_FromLong((long) (*arg3));
15667 resultobj = t_output_helper(resultobj,o);
15668 }
15669 return resultobj;
15670 fail:
15671 return NULL;
15672 }
15673
15674
15675 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15676 PyObject *resultobj;
15677 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15678 int *arg2 = (int *) 0 ;
15679 int *arg3 = (int *) 0 ;
15680 int temp2 ;
15681 int temp3 ;
15682 PyObject * obj0 = 0 ;
15683 char *kwnames[] = {
15684 (char *) "self", NULL
15685 };
15686
15687 arg2 = &temp2;
15688 arg3 = &temp3;
15689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15692 {
15693 PyThreadState* __tstate = wxPyBeginAllowThreads();
15694 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15695
15696 wxPyEndAllowThreads(__tstate);
15697 if (PyErr_Occurred()) SWIG_fail;
15698 }
15699 Py_INCREF(Py_None); resultobj = Py_None;
15700 {
15701 PyObject *o = PyInt_FromLong((long) (*arg2));
15702 resultobj = t_output_helper(resultobj,o);
15703 }
15704 {
15705 PyObject *o = PyInt_FromLong((long) (*arg3));
15706 resultobj = t_output_helper(resultobj,o);
15707 }
15708 return resultobj;
15709 fail:
15710 return NULL;
15711 }
15712
15713
15714 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15715 PyObject *resultobj;
15716 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15717 wxSize result;
15718 PyObject * obj0 = 0 ;
15719 char *kwnames[] = {
15720 (char *) "self", NULL
15721 };
15722
15723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15726 {
15727 PyThreadState* __tstate = wxPyBeginAllowThreads();
15728 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
15729
15730 wxPyEndAllowThreads(__tstate);
15731 if (PyErr_Occurred()) SWIG_fail;
15732 }
15733 {
15734 wxSize * resultptr;
15735 resultptr = new wxSize((wxSize &) result);
15736 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15737 }
15738 return resultobj;
15739 fail:
15740 return NULL;
15741 }
15742
15743
15744 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15745 PyObject *resultobj;
15746 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15747 wxSize result;
15748 PyObject * obj0 = 0 ;
15749 char *kwnames[] = {
15750 (char *) "self", NULL
15751 };
15752
15753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15756 {
15757 PyThreadState* __tstate = wxPyBeginAllowThreads();
15758 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
15759
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 {
15764 wxSize * resultptr;
15765 resultptr = new wxSize((wxSize &) result);
15766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15767 }
15768 return resultobj;
15769 fail:
15770 return NULL;
15771 }
15772
15773
15774 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15775 PyObject *resultobj;
15776 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15777 PyObject * obj0 = 0 ;
15778 char *kwnames[] = {
15779 (char *) "self", NULL
15780 };
15781
15782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
15783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15785 {
15786 PyThreadState* __tstate = wxPyBeginAllowThreads();
15787 (arg1)->base_InitDialog();
15788
15789 wxPyEndAllowThreads(__tstate);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 }
15792 Py_INCREF(Py_None); resultobj = Py_None;
15793 return resultobj;
15794 fail:
15795 return NULL;
15796 }
15797
15798
15799 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15800 PyObject *resultobj;
15801 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15802 bool result;
15803 PyObject * obj0 = 0 ;
15804 char *kwnames[] = {
15805 (char *) "self", NULL
15806 };
15807
15808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 result = (bool)(arg1)->base_TransferDataToWindow();
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 {
15819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15820 }
15821 return resultobj;
15822 fail:
15823 return NULL;
15824 }
15825
15826
15827 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15828 PyObject *resultobj;
15829 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15830 bool result;
15831 PyObject * obj0 = 0 ;
15832 char *kwnames[] = {
15833 (char *) "self", NULL
15834 };
15835
15836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15839 {
15840 PyThreadState* __tstate = wxPyBeginAllowThreads();
15841 result = (bool)(arg1)->base_TransferDataFromWindow();
15842
15843 wxPyEndAllowThreads(__tstate);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 {
15847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15848 }
15849 return resultobj;
15850 fail:
15851 return NULL;
15852 }
15853
15854
15855 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
15856 PyObject *resultobj;
15857 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15858 bool result;
15859 PyObject * obj0 = 0 ;
15860 char *kwnames[] = {
15861 (char *) "self", NULL
15862 };
15863
15864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
15865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15867 {
15868 PyThreadState* __tstate = wxPyBeginAllowThreads();
15869 result = (bool)(arg1)->base_Validate();
15870
15871 wxPyEndAllowThreads(__tstate);
15872 if (PyErr_Occurred()) SWIG_fail;
15873 }
15874 {
15875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15876 }
15877 return resultobj;
15878 fail:
15879 return NULL;
15880 }
15881
15882
15883 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
15884 PyObject *resultobj;
15885 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15886 bool result;
15887 PyObject * obj0 = 0 ;
15888 char *kwnames[] = {
15889 (char *) "self", NULL
15890 };
15891
15892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
15898
15899 wxPyEndAllowThreads(__tstate);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 {
15903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15904 }
15905 return resultobj;
15906 fail:
15907 return NULL;
15908 }
15909
15910
15911 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
15912 PyObject *resultobj;
15913 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15914 bool result;
15915 PyObject * obj0 = 0 ;
15916 char *kwnames[] = {
15917 (char *) "self", NULL
15918 };
15919
15920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15923 {
15924 PyThreadState* __tstate = wxPyBeginAllowThreads();
15925 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
15926
15927 wxPyEndAllowThreads(__tstate);
15928 if (PyErr_Occurred()) SWIG_fail;
15929 }
15930 {
15931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15932 }
15933 return resultobj;
15934 fail:
15935 return NULL;
15936 }
15937
15938
15939 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
15940 PyObject *resultobj;
15941 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15942 wxSize result;
15943 PyObject * obj0 = 0 ;
15944 char *kwnames[] = {
15945 (char *) "self", NULL
15946 };
15947
15948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
15949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15951 {
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
15954
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 {
15959 wxSize * resultptr;
15960 resultptr = new wxSize((wxSize &) result);
15961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15962 }
15963 return resultobj;
15964 fail:
15965 return NULL;
15966 }
15967
15968
15969 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
15970 PyObject *resultobj;
15971 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15972 wxWindow *arg2 = (wxWindow *) 0 ;
15973 PyObject * obj0 = 0 ;
15974 PyObject * obj1 = 0 ;
15975 char *kwnames[] = {
15976 (char *) "self",(char *) "child", NULL
15977 };
15978
15979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15982 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15984 {
15985 PyThreadState* __tstate = wxPyBeginAllowThreads();
15986 (arg1)->base_AddChild(arg2);
15987
15988 wxPyEndAllowThreads(__tstate);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 }
15991 Py_INCREF(Py_None); resultobj = Py_None;
15992 return resultobj;
15993 fail:
15994 return NULL;
15995 }
15996
15997
15998 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15999 PyObject *resultobj;
16000 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16001 wxWindow *arg2 = (wxWindow *) 0 ;
16002 PyObject * obj0 = 0 ;
16003 PyObject * obj1 = 0 ;
16004 char *kwnames[] = {
16005 (char *) "self",(char *) "child", NULL
16006 };
16007
16008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16013 {
16014 PyThreadState* __tstate = wxPyBeginAllowThreads();
16015 (arg1)->base_RemoveChild(arg2);
16016
16017 wxPyEndAllowThreads(__tstate);
16018 if (PyErr_Occurred()) SWIG_fail;
16019 }
16020 Py_INCREF(Py_None); resultobj = Py_None;
16021 return resultobj;
16022 fail:
16023 return NULL;
16024 }
16025
16026
16027 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
16028 PyObject *obj;
16029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16030 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16031 Py_INCREF(obj);
16032 return Py_BuildValue((char *)"");
16033 }
16034 static int _wrap_PrintoutTitleStr_set(PyObject *) {
16035 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
16036 return 1;
16037 }
16038
16039
16040 static PyObject *_wrap_PrintoutTitleStr_get() {
16041 PyObject *pyobj;
16042
16043 {
16044 #if wxUSE_UNICODE
16045 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16046 #else
16047 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16048 #endif
16049 }
16050 return pyobj;
16051 }
16052
16053
16054 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
16055 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
16056 return 1;
16057 }
16058
16059
16060 static PyObject *_wrap_PreviewCanvasNameStr_get() {
16061 PyObject *pyobj;
16062
16063 {
16064 #if wxUSE_UNICODE
16065 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16066 #else
16067 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16068 #endif
16069 }
16070 return pyobj;
16071 }
16072
16073
16074 static PyObject *_wrap_new_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
16075 PyObject *resultobj;
16076 wxPrintData *result;
16077 char *kwnames[] = {
16078 NULL
16079 };
16080
16081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
16082 {
16083 PyThreadState* __tstate = wxPyBeginAllowThreads();
16084 result = (wxPrintData *)new wxPrintData();
16085
16086 wxPyEndAllowThreads(__tstate);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 }
16089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
16090 return resultobj;
16091 fail:
16092 return NULL;
16093 }
16094
16095
16096 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
16097 PyObject *resultobj;
16098 wxPrintData *arg1 = (wxPrintData *) 0 ;
16099 PyObject * obj0 = 0 ;
16100 char *kwnames[] = {
16101 (char *) "self", NULL
16102 };
16103
16104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
16105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16107 {
16108 PyThreadState* __tstate = wxPyBeginAllowThreads();
16109 delete arg1;
16110
16111 wxPyEndAllowThreads(__tstate);
16112 if (PyErr_Occurred()) SWIG_fail;
16113 }
16114 Py_INCREF(Py_None); resultobj = Py_None;
16115 return resultobj;
16116 fail:
16117 return NULL;
16118 }
16119
16120
16121 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
16122 PyObject *resultobj;
16123 wxPrintData *arg1 = (wxPrintData *) 0 ;
16124 int result;
16125 PyObject * obj0 = 0 ;
16126 char *kwnames[] = {
16127 (char *) "self", NULL
16128 };
16129
16130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
16131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16133 {
16134 PyThreadState* __tstate = wxPyBeginAllowThreads();
16135 result = (int)(arg1)->GetNoCopies();
16136
16137 wxPyEndAllowThreads(__tstate);
16138 if (PyErr_Occurred()) SWIG_fail;
16139 }
16140 resultobj = SWIG_FromInt((int)result);
16141 return resultobj;
16142 fail:
16143 return NULL;
16144 }
16145
16146
16147 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
16148 PyObject *resultobj;
16149 wxPrintData *arg1 = (wxPrintData *) 0 ;
16150 bool result;
16151 PyObject * obj0 = 0 ;
16152 char *kwnames[] = {
16153 (char *) "self", NULL
16154 };
16155
16156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
16157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16159 {
16160 PyThreadState* __tstate = wxPyBeginAllowThreads();
16161 result = (bool)(arg1)->GetCollate();
16162
16163 wxPyEndAllowThreads(__tstate);
16164 if (PyErr_Occurred()) SWIG_fail;
16165 }
16166 {
16167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16168 }
16169 return resultobj;
16170 fail:
16171 return NULL;
16172 }
16173
16174
16175 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
16176 PyObject *resultobj;
16177 wxPrintData *arg1 = (wxPrintData *) 0 ;
16178 int result;
16179 PyObject * obj0 = 0 ;
16180 char *kwnames[] = {
16181 (char *) "self", NULL
16182 };
16183
16184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
16185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16187 {
16188 PyThreadState* __tstate = wxPyBeginAllowThreads();
16189 result = (int)(arg1)->GetOrientation();
16190
16191 wxPyEndAllowThreads(__tstate);
16192 if (PyErr_Occurred()) SWIG_fail;
16193 }
16194 resultobj = SWIG_FromInt((int)result);
16195 return resultobj;
16196 fail:
16197 return NULL;
16198 }
16199
16200
16201 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
16202 PyObject *resultobj;
16203 wxPrintData *arg1 = (wxPrintData *) 0 ;
16204 bool result;
16205 PyObject * obj0 = 0 ;
16206 char *kwnames[] = {
16207 (char *) "self", NULL
16208 };
16209
16210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
16211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16213 {
16214 PyThreadState* __tstate = wxPyBeginAllowThreads();
16215 result = (bool)(arg1)->Ok();
16216
16217 wxPyEndAllowThreads(__tstate);
16218 if (PyErr_Occurred()) SWIG_fail;
16219 }
16220 {
16221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16222 }
16223 return resultobj;
16224 fail:
16225 return NULL;
16226 }
16227
16228
16229 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
16230 PyObject *resultobj;
16231 wxPrintData *arg1 = (wxPrintData *) 0 ;
16232 wxString *result;
16233 PyObject * obj0 = 0 ;
16234 char *kwnames[] = {
16235 (char *) "self", NULL
16236 };
16237
16238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",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 {
16244 wxString const &_result_ref = (arg1)->GetPrinterName();
16245 result = (wxString *) &_result_ref;
16246 }
16247
16248 wxPyEndAllowThreads(__tstate);
16249 if (PyErr_Occurred()) SWIG_fail;
16250 }
16251 {
16252 #if wxUSE_UNICODE
16253 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16254 #else
16255 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16256 #endif
16257 }
16258 return resultobj;
16259 fail:
16260 return NULL;
16261 }
16262
16263
16264 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
16265 PyObject *resultobj;
16266 wxPrintData *arg1 = (wxPrintData *) 0 ;
16267 bool result;
16268 PyObject * obj0 = 0 ;
16269 char *kwnames[] = {
16270 (char *) "self", NULL
16271 };
16272
16273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
16274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16276 {
16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
16278 result = (bool)(arg1)->GetColour();
16279
16280 wxPyEndAllowThreads(__tstate);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
16283 {
16284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16285 }
16286 return resultobj;
16287 fail:
16288 return NULL;
16289 }
16290
16291
16292 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
16293 PyObject *resultobj;
16294 wxPrintData *arg1 = (wxPrintData *) 0 ;
16295 int result;
16296 PyObject * obj0 = 0 ;
16297 char *kwnames[] = {
16298 (char *) "self", NULL
16299 };
16300
16301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
16302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16304 {
16305 PyThreadState* __tstate = wxPyBeginAllowThreads();
16306 result = (int)(arg1)->GetDuplex();
16307
16308 wxPyEndAllowThreads(__tstate);
16309 if (PyErr_Occurred()) SWIG_fail;
16310 }
16311 resultobj = SWIG_FromInt((int)result);
16312 return resultobj;
16313 fail:
16314 return NULL;
16315 }
16316
16317
16318 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
16319 PyObject *resultobj;
16320 wxPrintData *arg1 = (wxPrintData *) 0 ;
16321 int result;
16322 PyObject * obj0 = 0 ;
16323 char *kwnames[] = {
16324 (char *) "self", NULL
16325 };
16326
16327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
16328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16330 {
16331 PyThreadState* __tstate = wxPyBeginAllowThreads();
16332 result = (int)(arg1)->GetPaperId();
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 resultobj = SWIG_FromInt((int)result);
16338 return resultobj;
16339 fail:
16340 return NULL;
16341 }
16342
16343
16344 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
16345 PyObject *resultobj;
16346 wxPrintData *arg1 = (wxPrintData *) 0 ;
16347 wxSize *result;
16348 PyObject * obj0 = 0 ;
16349 char *kwnames[] = {
16350 (char *) "self", NULL
16351 };
16352
16353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
16354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16356 {
16357 PyThreadState* __tstate = wxPyBeginAllowThreads();
16358 {
16359 wxSize const &_result_ref = (arg1)->GetPaperSize();
16360 result = (wxSize *) &_result_ref;
16361 }
16362
16363 wxPyEndAllowThreads(__tstate);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 }
16366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
16367 return resultobj;
16368 fail:
16369 return NULL;
16370 }
16371
16372
16373 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
16374 PyObject *resultobj;
16375 wxPrintData *arg1 = (wxPrintData *) 0 ;
16376 int result;
16377 PyObject * obj0 = 0 ;
16378 char *kwnames[] = {
16379 (char *) "self", NULL
16380 };
16381
16382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
16383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16385 {
16386 PyThreadState* __tstate = wxPyBeginAllowThreads();
16387 result = (int)(arg1)->GetQuality();
16388
16389 wxPyEndAllowThreads(__tstate);
16390 if (PyErr_Occurred()) SWIG_fail;
16391 }
16392 resultobj = SWIG_FromInt((int)result);
16393 return resultobj;
16394 fail:
16395 return NULL;
16396 }
16397
16398
16399 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
16400 PyObject *resultobj;
16401 wxPrintData *arg1 = (wxPrintData *) 0 ;
16402 int arg2 ;
16403 PyObject * obj0 = 0 ;
16404 PyObject * obj1 = 0 ;
16405 char *kwnames[] = {
16406 (char *) "self",(char *) "v", NULL
16407 };
16408
16409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
16410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16412 arg2 = (int) SWIG_AsInt(obj1);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 {
16415 PyThreadState* __tstate = wxPyBeginAllowThreads();
16416 (arg1)->SetNoCopies(arg2);
16417
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
16421 Py_INCREF(Py_None); resultobj = Py_None;
16422 return resultobj;
16423 fail:
16424 return NULL;
16425 }
16426
16427
16428 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
16429 PyObject *resultobj;
16430 wxPrintData *arg1 = (wxPrintData *) 0 ;
16431 bool arg2 ;
16432 PyObject * obj0 = 0 ;
16433 PyObject * obj1 = 0 ;
16434 char *kwnames[] = {
16435 (char *) "self",(char *) "flag", NULL
16436 };
16437
16438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
16439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16441 arg2 = (bool) SWIG_AsBool(obj1);
16442 if (PyErr_Occurred()) SWIG_fail;
16443 {
16444 PyThreadState* __tstate = wxPyBeginAllowThreads();
16445 (arg1)->SetCollate(arg2);
16446
16447 wxPyEndAllowThreads(__tstate);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 }
16450 Py_INCREF(Py_None); resultobj = Py_None;
16451 return resultobj;
16452 fail:
16453 return NULL;
16454 }
16455
16456
16457 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
16458 PyObject *resultobj;
16459 wxPrintData *arg1 = (wxPrintData *) 0 ;
16460 int arg2 ;
16461 PyObject * obj0 = 0 ;
16462 PyObject * obj1 = 0 ;
16463 char *kwnames[] = {
16464 (char *) "self",(char *) "orient", NULL
16465 };
16466
16467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
16468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16470 arg2 = (int) SWIG_AsInt(obj1);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 {
16473 PyThreadState* __tstate = wxPyBeginAllowThreads();
16474 (arg1)->SetOrientation(arg2);
16475
16476 wxPyEndAllowThreads(__tstate);
16477 if (PyErr_Occurred()) SWIG_fail;
16478 }
16479 Py_INCREF(Py_None); resultobj = Py_None;
16480 return resultobj;
16481 fail:
16482 return NULL;
16483 }
16484
16485
16486 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
16487 PyObject *resultobj;
16488 wxPrintData *arg1 = (wxPrintData *) 0 ;
16489 wxString *arg2 = 0 ;
16490 bool temp2 = False ;
16491 PyObject * obj0 = 0 ;
16492 PyObject * obj1 = 0 ;
16493 char *kwnames[] = {
16494 (char *) "self",(char *) "name", NULL
16495 };
16496
16497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
16498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16500 {
16501 arg2 = wxString_in_helper(obj1);
16502 if (arg2 == NULL) SWIG_fail;
16503 temp2 = True;
16504 }
16505 {
16506 PyThreadState* __tstate = wxPyBeginAllowThreads();
16507 (arg1)->SetPrinterName((wxString const &)*arg2);
16508
16509 wxPyEndAllowThreads(__tstate);
16510 if (PyErr_Occurred()) SWIG_fail;
16511 }
16512 Py_INCREF(Py_None); resultobj = Py_None;
16513 {
16514 if (temp2)
16515 delete arg2;
16516 }
16517 return resultobj;
16518 fail:
16519 {
16520 if (temp2)
16521 delete arg2;
16522 }
16523 return NULL;
16524 }
16525
16526
16527 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
16528 PyObject *resultobj;
16529 wxPrintData *arg1 = (wxPrintData *) 0 ;
16530 bool arg2 ;
16531 PyObject * obj0 = 0 ;
16532 PyObject * obj1 = 0 ;
16533 char *kwnames[] = {
16534 (char *) "self",(char *) "colour", NULL
16535 };
16536
16537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
16538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16540 arg2 = (bool) SWIG_AsBool(obj1);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 {
16543 PyThreadState* __tstate = wxPyBeginAllowThreads();
16544 (arg1)->SetColour(arg2);
16545
16546 wxPyEndAllowThreads(__tstate);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 Py_INCREF(Py_None); resultobj = Py_None;
16550 return resultobj;
16551 fail:
16552 return NULL;
16553 }
16554
16555
16556 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
16557 PyObject *resultobj;
16558 wxPrintData *arg1 = (wxPrintData *) 0 ;
16559 int arg2 ;
16560 PyObject * obj0 = 0 ;
16561 PyObject * obj1 = 0 ;
16562 char *kwnames[] = {
16563 (char *) "self",(char *) "duplex", NULL
16564 };
16565
16566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
16567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16569 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 {
16572 PyThreadState* __tstate = wxPyBeginAllowThreads();
16573 (arg1)->SetDuplex((wxDuplexMode )arg2);
16574
16575 wxPyEndAllowThreads(__tstate);
16576 if (PyErr_Occurred()) SWIG_fail;
16577 }
16578 Py_INCREF(Py_None); resultobj = Py_None;
16579 return resultobj;
16580 fail:
16581 return NULL;
16582 }
16583
16584
16585 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
16586 PyObject *resultobj;
16587 wxPrintData *arg1 = (wxPrintData *) 0 ;
16588 int arg2 ;
16589 PyObject * obj0 = 0 ;
16590 PyObject * obj1 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self",(char *) "sizeId", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
16596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16598 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
16599 if (PyErr_Occurred()) SWIG_fail;
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 (arg1)->SetPaperId((wxPaperSize )arg2);
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 Py_INCREF(Py_None); resultobj = Py_None;
16608 return resultobj;
16609 fail:
16610 return NULL;
16611 }
16612
16613
16614 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
16615 PyObject *resultobj;
16616 wxPrintData *arg1 = (wxPrintData *) 0 ;
16617 wxSize *arg2 = 0 ;
16618 wxSize temp2 ;
16619 PyObject * obj0 = 0 ;
16620 PyObject * obj1 = 0 ;
16621 char *kwnames[] = {
16622 (char *) "self",(char *) "sz", NULL
16623 };
16624
16625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16628 {
16629 arg2 = &temp2;
16630 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16631 }
16632 {
16633 PyThreadState* __tstate = wxPyBeginAllowThreads();
16634 (arg1)->SetPaperSize((wxSize const &)*arg2);
16635
16636 wxPyEndAllowThreads(__tstate);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 Py_INCREF(Py_None); resultobj = Py_None;
16640 return resultobj;
16641 fail:
16642 return NULL;
16643 }
16644
16645
16646 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
16647 PyObject *resultobj;
16648 wxPrintData *arg1 = (wxPrintData *) 0 ;
16649 int arg2 ;
16650 PyObject * obj0 = 0 ;
16651 PyObject * obj1 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "self",(char *) "quality", NULL
16654 };
16655
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
16657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16659 arg2 = (int) SWIG_AsInt(obj1);
16660 if (PyErr_Occurred()) SWIG_fail;
16661 {
16662 PyThreadState* __tstate = wxPyBeginAllowThreads();
16663 (arg1)->SetQuality(arg2);
16664
16665 wxPyEndAllowThreads(__tstate);
16666 if (PyErr_Occurred()) SWIG_fail;
16667 }
16668 Py_INCREF(Py_None); resultobj = Py_None;
16669 return resultobj;
16670 fail:
16671 return NULL;
16672 }
16673
16674
16675 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
16676 PyObject *resultobj;
16677 wxPrintData *arg1 = (wxPrintData *) 0 ;
16678 wxString *result;
16679 PyObject * obj0 = 0 ;
16680 char *kwnames[] = {
16681 (char *) "self", NULL
16682 };
16683
16684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
16685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16687 {
16688 PyThreadState* __tstate = wxPyBeginAllowThreads();
16689 {
16690 wxString const &_result_ref = (arg1)->GetPrinterCommand();
16691 result = (wxString *) &_result_ref;
16692 }
16693
16694 wxPyEndAllowThreads(__tstate);
16695 if (PyErr_Occurred()) SWIG_fail;
16696 }
16697 {
16698 #if wxUSE_UNICODE
16699 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16700 #else
16701 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16702 #endif
16703 }
16704 return resultobj;
16705 fail:
16706 return NULL;
16707 }
16708
16709
16710 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
16711 PyObject *resultobj;
16712 wxPrintData *arg1 = (wxPrintData *) 0 ;
16713 wxString *result;
16714 PyObject * obj0 = 0 ;
16715 char *kwnames[] = {
16716 (char *) "self", NULL
16717 };
16718
16719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
16720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16722 {
16723 PyThreadState* __tstate = wxPyBeginAllowThreads();
16724 {
16725 wxString const &_result_ref = (arg1)->GetPrinterOptions();
16726 result = (wxString *) &_result_ref;
16727 }
16728
16729 wxPyEndAllowThreads(__tstate);
16730 if (PyErr_Occurred()) SWIG_fail;
16731 }
16732 {
16733 #if wxUSE_UNICODE
16734 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16735 #else
16736 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16737 #endif
16738 }
16739 return resultobj;
16740 fail:
16741 return NULL;
16742 }
16743
16744
16745 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
16746 PyObject *resultobj;
16747 wxPrintData *arg1 = (wxPrintData *) 0 ;
16748 wxString *result;
16749 PyObject * obj0 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "self", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
16755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16757 {
16758 PyThreadState* __tstate = wxPyBeginAllowThreads();
16759 {
16760 wxString const &_result_ref = (arg1)->GetPreviewCommand();
16761 result = (wxString *) &_result_ref;
16762 }
16763
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 {
16768 #if wxUSE_UNICODE
16769 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16770 #else
16771 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16772 #endif
16773 }
16774 return resultobj;
16775 fail:
16776 return NULL;
16777 }
16778
16779
16780 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
16781 PyObject *resultobj;
16782 wxPrintData *arg1 = (wxPrintData *) 0 ;
16783 wxString *result;
16784 PyObject * obj0 = 0 ;
16785 char *kwnames[] = {
16786 (char *) "self", NULL
16787 };
16788
16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
16790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 {
16795 wxString const &_result_ref = (arg1)->GetFilename();
16796 result = (wxString *) &_result_ref;
16797 }
16798
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 {
16803 #if wxUSE_UNICODE
16804 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16805 #else
16806 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16807 #endif
16808 }
16809 return resultobj;
16810 fail:
16811 return NULL;
16812 }
16813
16814
16815 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
16816 PyObject *resultobj;
16817 wxPrintData *arg1 = (wxPrintData *) 0 ;
16818 wxString *result;
16819 PyObject * obj0 = 0 ;
16820 char *kwnames[] = {
16821 (char *) "self", NULL
16822 };
16823
16824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
16825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16827 {
16828 PyThreadState* __tstate = wxPyBeginAllowThreads();
16829 {
16830 wxString const &_result_ref = (arg1)->GetFontMetricPath();
16831 result = (wxString *) &_result_ref;
16832 }
16833
16834 wxPyEndAllowThreads(__tstate);
16835 if (PyErr_Occurred()) SWIG_fail;
16836 }
16837 {
16838 #if wxUSE_UNICODE
16839 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16840 #else
16841 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16842 #endif
16843 }
16844 return resultobj;
16845 fail:
16846 return NULL;
16847 }
16848
16849
16850 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
16851 PyObject *resultobj;
16852 wxPrintData *arg1 = (wxPrintData *) 0 ;
16853 double result;
16854 PyObject * obj0 = 0 ;
16855 char *kwnames[] = {
16856 (char *) "self", NULL
16857 };
16858
16859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
16860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16862 {
16863 PyThreadState* __tstate = wxPyBeginAllowThreads();
16864 result = (double)(arg1)->GetPrinterScaleX();
16865
16866 wxPyEndAllowThreads(__tstate);
16867 if (PyErr_Occurred()) SWIG_fail;
16868 }
16869 resultobj = SWIG_FromDouble((double)result);
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj;
16878 wxPrintData *arg1 = (wxPrintData *) 0 ;
16879 double result;
16880 PyObject * obj0 = 0 ;
16881 char *kwnames[] = {
16882 (char *) "self", NULL
16883 };
16884
16885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
16886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16888 {
16889 PyThreadState* __tstate = wxPyBeginAllowThreads();
16890 result = (double)(arg1)->GetPrinterScaleY();
16891
16892 wxPyEndAllowThreads(__tstate);
16893 if (PyErr_Occurred()) SWIG_fail;
16894 }
16895 resultobj = SWIG_FromDouble((double)result);
16896 return resultobj;
16897 fail:
16898 return NULL;
16899 }
16900
16901
16902 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
16903 PyObject *resultobj;
16904 wxPrintData *arg1 = (wxPrintData *) 0 ;
16905 long result;
16906 PyObject * obj0 = 0 ;
16907 char *kwnames[] = {
16908 (char *) "self", NULL
16909 };
16910
16911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
16912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16914 {
16915 PyThreadState* __tstate = wxPyBeginAllowThreads();
16916 result = (long)(arg1)->GetPrinterTranslateX();
16917
16918 wxPyEndAllowThreads(__tstate);
16919 if (PyErr_Occurred()) SWIG_fail;
16920 }
16921 resultobj = SWIG_FromLong((long)result);
16922 return resultobj;
16923 fail:
16924 return NULL;
16925 }
16926
16927
16928 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
16929 PyObject *resultobj;
16930 wxPrintData *arg1 = (wxPrintData *) 0 ;
16931 long result;
16932 PyObject * obj0 = 0 ;
16933 char *kwnames[] = {
16934 (char *) "self", NULL
16935 };
16936
16937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
16938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16940 {
16941 PyThreadState* __tstate = wxPyBeginAllowThreads();
16942 result = (long)(arg1)->GetPrinterTranslateY();
16943
16944 wxPyEndAllowThreads(__tstate);
16945 if (PyErr_Occurred()) SWIG_fail;
16946 }
16947 resultobj = SWIG_FromLong((long)result);
16948 return resultobj;
16949 fail:
16950 return NULL;
16951 }
16952
16953
16954 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
16955 PyObject *resultobj;
16956 wxPrintData *arg1 = (wxPrintData *) 0 ;
16957 int result;
16958 PyObject * obj0 = 0 ;
16959 char *kwnames[] = {
16960 (char *) "self", NULL
16961 };
16962
16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
16964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16966 {
16967 PyThreadState* __tstate = wxPyBeginAllowThreads();
16968 result = (int)(arg1)->GetPrintMode();
16969
16970 wxPyEndAllowThreads(__tstate);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 }
16973 resultobj = SWIG_FromInt((int)result);
16974 return resultobj;
16975 fail:
16976 return NULL;
16977 }
16978
16979
16980 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
16981 PyObject *resultobj;
16982 wxPrintData *arg1 = (wxPrintData *) 0 ;
16983 wxString *arg2 = 0 ;
16984 bool temp2 = False ;
16985 PyObject * obj0 = 0 ;
16986 PyObject * obj1 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self",(char *) "command", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
16992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16994 {
16995 arg2 = wxString_in_helper(obj1);
16996 if (arg2 == NULL) SWIG_fail;
16997 temp2 = True;
16998 }
16999 {
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 (arg1)->SetPrinterCommand((wxString const &)*arg2);
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 Py_INCREF(Py_None); resultobj = Py_None;
17007 {
17008 if (temp2)
17009 delete arg2;
17010 }
17011 return resultobj;
17012 fail:
17013 {
17014 if (temp2)
17015 delete arg2;
17016 }
17017 return NULL;
17018 }
17019
17020
17021 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
17022 PyObject *resultobj;
17023 wxPrintData *arg1 = (wxPrintData *) 0 ;
17024 wxString *arg2 = 0 ;
17025 bool temp2 = False ;
17026 PyObject * obj0 = 0 ;
17027 PyObject * obj1 = 0 ;
17028 char *kwnames[] = {
17029 (char *) "self",(char *) "options", NULL
17030 };
17031
17032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
17033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17035 {
17036 arg2 = wxString_in_helper(obj1);
17037 if (arg2 == NULL) SWIG_fail;
17038 temp2 = True;
17039 }
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 (arg1)->SetPrinterOptions((wxString const &)*arg2);
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 Py_INCREF(Py_None); resultobj = Py_None;
17048 {
17049 if (temp2)
17050 delete arg2;
17051 }
17052 return resultobj;
17053 fail:
17054 {
17055 if (temp2)
17056 delete arg2;
17057 }
17058 return NULL;
17059 }
17060
17061
17062 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
17063 PyObject *resultobj;
17064 wxPrintData *arg1 = (wxPrintData *) 0 ;
17065 wxString *arg2 = 0 ;
17066 bool temp2 = False ;
17067 PyObject * obj0 = 0 ;
17068 PyObject * obj1 = 0 ;
17069 char *kwnames[] = {
17070 (char *) "self",(char *) "command", NULL
17071 };
17072
17073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
17074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17076 {
17077 arg2 = wxString_in_helper(obj1);
17078 if (arg2 == NULL) SWIG_fail;
17079 temp2 = True;
17080 }
17081 {
17082 PyThreadState* __tstate = wxPyBeginAllowThreads();
17083 (arg1)->SetPreviewCommand((wxString const &)*arg2);
17084
17085 wxPyEndAllowThreads(__tstate);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 }
17088 Py_INCREF(Py_None); resultobj = Py_None;
17089 {
17090 if (temp2)
17091 delete arg2;
17092 }
17093 return resultobj;
17094 fail:
17095 {
17096 if (temp2)
17097 delete arg2;
17098 }
17099 return NULL;
17100 }
17101
17102
17103 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
17104 PyObject *resultobj;
17105 wxPrintData *arg1 = (wxPrintData *) 0 ;
17106 wxString *arg2 = 0 ;
17107 bool temp2 = False ;
17108 PyObject * obj0 = 0 ;
17109 PyObject * obj1 = 0 ;
17110 char *kwnames[] = {
17111 (char *) "self",(char *) "filename", NULL
17112 };
17113
17114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
17115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17117 {
17118 arg2 = wxString_in_helper(obj1);
17119 if (arg2 == NULL) SWIG_fail;
17120 temp2 = True;
17121 }
17122 {
17123 PyThreadState* __tstate = wxPyBeginAllowThreads();
17124 (arg1)->SetFilename((wxString const &)*arg2);
17125
17126 wxPyEndAllowThreads(__tstate);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
17129 Py_INCREF(Py_None); resultobj = Py_None;
17130 {
17131 if (temp2)
17132 delete arg2;
17133 }
17134 return resultobj;
17135 fail:
17136 {
17137 if (temp2)
17138 delete arg2;
17139 }
17140 return NULL;
17141 }
17142
17143
17144 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
17145 PyObject *resultobj;
17146 wxPrintData *arg1 = (wxPrintData *) 0 ;
17147 wxString *arg2 = 0 ;
17148 bool temp2 = False ;
17149 PyObject * obj0 = 0 ;
17150 PyObject * obj1 = 0 ;
17151 char *kwnames[] = {
17152 (char *) "self",(char *) "path", NULL
17153 };
17154
17155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
17156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17158 {
17159 arg2 = wxString_in_helper(obj1);
17160 if (arg2 == NULL) SWIG_fail;
17161 temp2 = True;
17162 }
17163 {
17164 PyThreadState* __tstate = wxPyBeginAllowThreads();
17165 (arg1)->SetFontMetricPath((wxString const &)*arg2);
17166
17167 wxPyEndAllowThreads(__tstate);
17168 if (PyErr_Occurred()) SWIG_fail;
17169 }
17170 Py_INCREF(Py_None); resultobj = Py_None;
17171 {
17172 if (temp2)
17173 delete arg2;
17174 }
17175 return resultobj;
17176 fail:
17177 {
17178 if (temp2)
17179 delete arg2;
17180 }
17181 return NULL;
17182 }
17183
17184
17185 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
17186 PyObject *resultobj;
17187 wxPrintData *arg1 = (wxPrintData *) 0 ;
17188 double arg2 ;
17189 PyObject * obj0 = 0 ;
17190 PyObject * obj1 = 0 ;
17191 char *kwnames[] = {
17192 (char *) "self",(char *) "x", NULL
17193 };
17194
17195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
17196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17198 arg2 = (double) SWIG_AsDouble(obj1);
17199 if (PyErr_Occurred()) SWIG_fail;
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 (arg1)->SetPrinterScaleX(arg2);
17203
17204 wxPyEndAllowThreads(__tstate);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 }
17207 Py_INCREF(Py_None); resultobj = Py_None;
17208 return resultobj;
17209 fail:
17210 return NULL;
17211 }
17212
17213
17214 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
17215 PyObject *resultobj;
17216 wxPrintData *arg1 = (wxPrintData *) 0 ;
17217 double arg2 ;
17218 PyObject * obj0 = 0 ;
17219 PyObject * obj1 = 0 ;
17220 char *kwnames[] = {
17221 (char *) "self",(char *) "y", NULL
17222 };
17223
17224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
17225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17227 arg2 = (double) SWIG_AsDouble(obj1);
17228 if (PyErr_Occurred()) SWIG_fail;
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 (arg1)->SetPrinterScaleY(arg2);
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 Py_INCREF(Py_None); resultobj = Py_None;
17237 return resultobj;
17238 fail:
17239 return NULL;
17240 }
17241
17242
17243 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
17244 PyObject *resultobj;
17245 wxPrintData *arg1 = (wxPrintData *) 0 ;
17246 double arg2 ;
17247 double arg3 ;
17248 PyObject * obj0 = 0 ;
17249 PyObject * obj1 = 0 ;
17250 PyObject * obj2 = 0 ;
17251 char *kwnames[] = {
17252 (char *) "self",(char *) "x",(char *) "y", NULL
17253 };
17254
17255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
17256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17258 arg2 = (double) SWIG_AsDouble(obj1);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 arg3 = (double) SWIG_AsDouble(obj2);
17261 if (PyErr_Occurred()) SWIG_fail;
17262 {
17263 PyThreadState* __tstate = wxPyBeginAllowThreads();
17264 (arg1)->SetPrinterScaling(arg2,arg3);
17265
17266 wxPyEndAllowThreads(__tstate);
17267 if (PyErr_Occurred()) SWIG_fail;
17268 }
17269 Py_INCREF(Py_None); resultobj = Py_None;
17270 return resultobj;
17271 fail:
17272 return NULL;
17273 }
17274
17275
17276 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
17277 PyObject *resultobj;
17278 wxPrintData *arg1 = (wxPrintData *) 0 ;
17279 long arg2 ;
17280 PyObject * obj0 = 0 ;
17281 PyObject * obj1 = 0 ;
17282 char *kwnames[] = {
17283 (char *) "self",(char *) "x", NULL
17284 };
17285
17286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
17287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17289 arg2 = (long) SWIG_AsLong(obj1);
17290 if (PyErr_Occurred()) SWIG_fail;
17291 {
17292 PyThreadState* __tstate = wxPyBeginAllowThreads();
17293 (arg1)->SetPrinterTranslateX(arg2);
17294
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
17298 Py_INCREF(Py_None); resultobj = Py_None;
17299 return resultobj;
17300 fail:
17301 return NULL;
17302 }
17303
17304
17305 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
17306 PyObject *resultobj;
17307 wxPrintData *arg1 = (wxPrintData *) 0 ;
17308 long arg2 ;
17309 PyObject * obj0 = 0 ;
17310 PyObject * obj1 = 0 ;
17311 char *kwnames[] = {
17312 (char *) "self",(char *) "y", NULL
17313 };
17314
17315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
17316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17318 arg2 = (long) SWIG_AsLong(obj1);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 {
17321 PyThreadState* __tstate = wxPyBeginAllowThreads();
17322 (arg1)->SetPrinterTranslateY(arg2);
17323
17324 wxPyEndAllowThreads(__tstate);
17325 if (PyErr_Occurred()) SWIG_fail;
17326 }
17327 Py_INCREF(Py_None); resultobj = Py_None;
17328 return resultobj;
17329 fail:
17330 return NULL;
17331 }
17332
17333
17334 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
17335 PyObject *resultobj;
17336 wxPrintData *arg1 = (wxPrintData *) 0 ;
17337 long arg2 ;
17338 long arg3 ;
17339 PyObject * obj0 = 0 ;
17340 PyObject * obj1 = 0 ;
17341 PyObject * obj2 = 0 ;
17342 char *kwnames[] = {
17343 (char *) "self",(char *) "x",(char *) "y", NULL
17344 };
17345
17346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
17347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17349 arg2 = (long) SWIG_AsLong(obj1);
17350 if (PyErr_Occurred()) SWIG_fail;
17351 arg3 = (long) SWIG_AsLong(obj2);
17352 if (PyErr_Occurred()) SWIG_fail;
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
17355 (arg1)->SetPrinterTranslation(arg2,arg3);
17356
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 Py_INCREF(Py_None); resultobj = Py_None;
17361 return resultobj;
17362 fail:
17363 return NULL;
17364 }
17365
17366
17367 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
17368 PyObject *resultobj;
17369 wxPrintData *arg1 = (wxPrintData *) 0 ;
17370 int arg2 ;
17371 PyObject * obj0 = 0 ;
17372 PyObject * obj1 = 0 ;
17373 char *kwnames[] = {
17374 (char *) "self",(char *) "printMode", NULL
17375 };
17376
17377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
17378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17380 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
17381 if (PyErr_Occurred()) SWIG_fail;
17382 {
17383 PyThreadState* __tstate = wxPyBeginAllowThreads();
17384 (arg1)->SetPrintMode((wxPrintMode )arg2);
17385
17386 wxPyEndAllowThreads(__tstate);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 }
17389 Py_INCREF(Py_None); resultobj = Py_None;
17390 return resultobj;
17391 fail:
17392 return NULL;
17393 }
17394
17395
17396 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
17397 PyObject *resultobj;
17398 wxPrintData *arg1 = (wxPrintData *) 0 ;
17399 wxOutputStream *result;
17400 PyObject * obj0 = 0 ;
17401 char *kwnames[] = {
17402 (char *) "self", NULL
17403 };
17404
17405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
17406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17408 {
17409 PyThreadState* __tstate = wxPyBeginAllowThreads();
17410 result = (wxOutputStream *)(arg1)->GetOutputStream();
17411
17412 wxPyEndAllowThreads(__tstate);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
17416 return resultobj;
17417 fail:
17418 return NULL;
17419 }
17420
17421
17422 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
17423 PyObject *resultobj;
17424 wxPrintData *arg1 = (wxPrintData *) 0 ;
17425 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
17426 PyObject * obj0 = 0 ;
17427 PyObject * obj1 = 0 ;
17428 char *kwnames[] = {
17429 (char *) "self",(char *) "outputstream", NULL
17430 };
17431
17432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
17433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
17436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17437 {
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 (arg1)->SetOutputStream(arg2);
17440
17441 wxPyEndAllowThreads(__tstate);
17442 if (PyErr_Occurred()) SWIG_fail;
17443 }
17444 Py_INCREF(Py_None); resultobj = Py_None;
17445 return resultobj;
17446 fail:
17447 return NULL;
17448 }
17449
17450
17451 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
17452 PyObject *obj;
17453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17454 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
17455 Py_INCREF(obj);
17456 return Py_BuildValue((char *)"");
17457 }
17458 static PyObject *_wrap_new_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
17459 PyObject *resultobj;
17460 wxPageSetupDialogData *result;
17461 char *kwnames[] = {
17462 NULL
17463 };
17464
17465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
17474 return resultobj;
17475 fail:
17476 return NULL;
17477 }
17478
17479
17480 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj;
17482 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 delete arg1;
17494
17495 wxPyEndAllowThreads(__tstate);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 }
17498 Py_INCREF(Py_None); resultobj = Py_None;
17499 return resultobj;
17500 fail:
17501 return NULL;
17502 }
17503
17504
17505 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
17506 PyObject *resultobj;
17507 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17508 bool arg2 ;
17509 PyObject * obj0 = 0 ;
17510 PyObject * obj1 = 0 ;
17511 char *kwnames[] = {
17512 (char *) "self",(char *) "flag", NULL
17513 };
17514
17515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17518 arg2 = (bool) SWIG_AsBool(obj1);
17519 if (PyErr_Occurred()) SWIG_fail;
17520 {
17521 PyThreadState* __tstate = wxPyBeginAllowThreads();
17522 (arg1)->EnableHelp(arg2);
17523
17524 wxPyEndAllowThreads(__tstate);
17525 if (PyErr_Occurred()) SWIG_fail;
17526 }
17527 Py_INCREF(Py_None); resultobj = Py_None;
17528 return resultobj;
17529 fail:
17530 return NULL;
17531 }
17532
17533
17534 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
17535 PyObject *resultobj;
17536 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17537 bool arg2 ;
17538 PyObject * obj0 = 0 ;
17539 PyObject * obj1 = 0 ;
17540 char *kwnames[] = {
17541 (char *) "self",(char *) "flag", NULL
17542 };
17543
17544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
17545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17547 arg2 = (bool) SWIG_AsBool(obj1);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 {
17550 PyThreadState* __tstate = wxPyBeginAllowThreads();
17551 (arg1)->EnableMargins(arg2);
17552
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
17556 Py_INCREF(Py_None); resultobj = Py_None;
17557 return resultobj;
17558 fail:
17559 return NULL;
17560 }
17561
17562
17563 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
17564 PyObject *resultobj;
17565 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17566 bool arg2 ;
17567 PyObject * obj0 = 0 ;
17568 PyObject * obj1 = 0 ;
17569 char *kwnames[] = {
17570 (char *) "self",(char *) "flag", NULL
17571 };
17572
17573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
17574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17576 arg2 = (bool) SWIG_AsBool(obj1);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 (arg1)->EnableOrientation(arg2);
17581
17582 wxPyEndAllowThreads(__tstate);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
17585 Py_INCREF(Py_None); resultobj = Py_None;
17586 return resultobj;
17587 fail:
17588 return NULL;
17589 }
17590
17591
17592 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
17593 PyObject *resultobj;
17594 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17595 bool arg2 ;
17596 PyObject * obj0 = 0 ;
17597 PyObject * obj1 = 0 ;
17598 char *kwnames[] = {
17599 (char *) "self",(char *) "flag", NULL
17600 };
17601
17602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
17603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17605 arg2 = (bool) SWIG_AsBool(obj1);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 {
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 (arg1)->EnablePaper(arg2);
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 Py_INCREF(Py_None); resultobj = Py_None;
17615 return resultobj;
17616 fail:
17617 return NULL;
17618 }
17619
17620
17621 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17624 bool arg2 ;
17625 PyObject * obj0 = 0 ;
17626 PyObject * obj1 = 0 ;
17627 char *kwnames[] = {
17628 (char *) "self",(char *) "flag", NULL
17629 };
17630
17631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
17632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17634 arg2 = (bool) SWIG_AsBool(obj1);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 {
17637 PyThreadState* __tstate = wxPyBeginAllowThreads();
17638 (arg1)->EnablePrinter(arg2);
17639
17640 wxPyEndAllowThreads(__tstate);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
17643 Py_INCREF(Py_None); resultobj = Py_None;
17644 return resultobj;
17645 fail:
17646 return NULL;
17647 }
17648
17649
17650 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj;
17652 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17653 bool result;
17654 PyObject * obj0 = 0 ;
17655 char *kwnames[] = {
17656 (char *) "self", NULL
17657 };
17658
17659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
17660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17662 {
17663 PyThreadState* __tstate = wxPyBeginAllowThreads();
17664 result = (bool)(arg1)->GetDefaultMinMargins();
17665
17666 wxPyEndAllowThreads(__tstate);
17667 if (PyErr_Occurred()) SWIG_fail;
17668 }
17669 {
17670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17671 }
17672 return resultobj;
17673 fail:
17674 return NULL;
17675 }
17676
17677
17678 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
17679 PyObject *resultobj;
17680 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17681 bool result;
17682 PyObject * obj0 = 0 ;
17683 char *kwnames[] = {
17684 (char *) "self", NULL
17685 };
17686
17687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
17688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17690 {
17691 PyThreadState* __tstate = wxPyBeginAllowThreads();
17692 result = (bool)(arg1)->GetEnableMargins();
17693
17694 wxPyEndAllowThreads(__tstate);
17695 if (PyErr_Occurred()) SWIG_fail;
17696 }
17697 {
17698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17699 }
17700 return resultobj;
17701 fail:
17702 return NULL;
17703 }
17704
17705
17706 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
17707 PyObject *resultobj;
17708 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17709 bool result;
17710 PyObject * obj0 = 0 ;
17711 char *kwnames[] = {
17712 (char *) "self", NULL
17713 };
17714
17715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
17716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17718 {
17719 PyThreadState* __tstate = wxPyBeginAllowThreads();
17720 result = (bool)(arg1)->GetEnableOrientation();
17721
17722 wxPyEndAllowThreads(__tstate);
17723 if (PyErr_Occurred()) SWIG_fail;
17724 }
17725 {
17726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17727 }
17728 return resultobj;
17729 fail:
17730 return NULL;
17731 }
17732
17733
17734 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
17735 PyObject *resultobj;
17736 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17737 bool result;
17738 PyObject * obj0 = 0 ;
17739 char *kwnames[] = {
17740 (char *) "self", NULL
17741 };
17742
17743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
17744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17746 {
17747 PyThreadState* __tstate = wxPyBeginAllowThreads();
17748 result = (bool)(arg1)->GetEnablePaper();
17749
17750 wxPyEndAllowThreads(__tstate);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 }
17753 {
17754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17755 }
17756 return resultobj;
17757 fail:
17758 return NULL;
17759 }
17760
17761
17762 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
17763 PyObject *resultobj;
17764 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17765 bool result;
17766 PyObject * obj0 = 0 ;
17767 char *kwnames[] = {
17768 (char *) "self", NULL
17769 };
17770
17771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
17772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17774 {
17775 PyThreadState* __tstate = wxPyBeginAllowThreads();
17776 result = (bool)(arg1)->GetEnablePrinter();
17777
17778 wxPyEndAllowThreads(__tstate);
17779 if (PyErr_Occurred()) SWIG_fail;
17780 }
17781 {
17782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17783 }
17784 return resultobj;
17785 fail:
17786 return NULL;
17787 }
17788
17789
17790 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
17791 PyObject *resultobj;
17792 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17793 bool result;
17794 PyObject * obj0 = 0 ;
17795 char *kwnames[] = {
17796 (char *) "self", NULL
17797 };
17798
17799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 result = (bool)(arg1)->GetEnableHelp();
17805
17806 wxPyEndAllowThreads(__tstate);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
17809 {
17810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17811 }
17812 return resultobj;
17813 fail:
17814 return NULL;
17815 }
17816
17817
17818 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17819 PyObject *resultobj;
17820 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17821 bool result;
17822 PyObject * obj0 = 0 ;
17823 char *kwnames[] = {
17824 (char *) "self", NULL
17825 };
17826
17827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
17828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17830 {
17831 PyThreadState* __tstate = wxPyBeginAllowThreads();
17832 result = (bool)(arg1)->GetDefaultInfo();
17833
17834 wxPyEndAllowThreads(__tstate);
17835 if (PyErr_Occurred()) SWIG_fail;
17836 }
17837 {
17838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17839 }
17840 return resultobj;
17841 fail:
17842 return NULL;
17843 }
17844
17845
17846 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
17847 PyObject *resultobj;
17848 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17849 wxPoint result;
17850 PyObject * obj0 = 0 ;
17851 char *kwnames[] = {
17852 (char *) "self", NULL
17853 };
17854
17855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
17856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17858 {
17859 PyThreadState* __tstate = wxPyBeginAllowThreads();
17860 result = (arg1)->GetMarginTopLeft();
17861
17862 wxPyEndAllowThreads(__tstate);
17863 if (PyErr_Occurred()) SWIG_fail;
17864 }
17865 {
17866 wxPoint * resultptr;
17867 resultptr = new wxPoint((wxPoint &) result);
17868 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17869 }
17870 return resultobj;
17871 fail:
17872 return NULL;
17873 }
17874
17875
17876 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
17877 PyObject *resultobj;
17878 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17879 wxPoint result;
17880 PyObject * obj0 = 0 ;
17881 char *kwnames[] = {
17882 (char *) "self", NULL
17883 };
17884
17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
17886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17888 {
17889 PyThreadState* __tstate = wxPyBeginAllowThreads();
17890 result = (arg1)->GetMarginBottomRight();
17891
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 {
17896 wxPoint * resultptr;
17897 resultptr = new wxPoint((wxPoint &) result);
17898 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17899 }
17900 return resultobj;
17901 fail:
17902 return NULL;
17903 }
17904
17905
17906 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
17907 PyObject *resultobj;
17908 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17909 wxPoint result;
17910 PyObject * obj0 = 0 ;
17911 char *kwnames[] = {
17912 (char *) "self", NULL
17913 };
17914
17915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
17916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17918 {
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 result = (arg1)->GetMinMarginTopLeft();
17921
17922 wxPyEndAllowThreads(__tstate);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 }
17925 {
17926 wxPoint * resultptr;
17927 resultptr = new wxPoint((wxPoint &) result);
17928 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17929 }
17930 return resultobj;
17931 fail:
17932 return NULL;
17933 }
17934
17935
17936 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
17937 PyObject *resultobj;
17938 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17939 wxPoint result;
17940 PyObject * obj0 = 0 ;
17941 char *kwnames[] = {
17942 (char *) "self", NULL
17943 };
17944
17945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
17946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17948 {
17949 PyThreadState* __tstate = wxPyBeginAllowThreads();
17950 result = (arg1)->GetMinMarginBottomRight();
17951
17952 wxPyEndAllowThreads(__tstate);
17953 if (PyErr_Occurred()) SWIG_fail;
17954 }
17955 {
17956 wxPoint * resultptr;
17957 resultptr = new wxPoint((wxPoint &) result);
17958 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17959 }
17960 return resultobj;
17961 fail:
17962 return NULL;
17963 }
17964
17965
17966 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
17967 PyObject *resultobj;
17968 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17969 int result;
17970 PyObject * obj0 = 0 ;
17971 char *kwnames[] = {
17972 (char *) "self", NULL
17973 };
17974
17975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
17976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
17977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17978 {
17979 PyThreadState* __tstate = wxPyBeginAllowThreads();
17980 result = (int)(arg1)->GetPaperId();
17981
17982 wxPyEndAllowThreads(__tstate);
17983 if (PyErr_Occurred()) SWIG_fail;
17984 }
17985 resultobj = SWIG_FromInt((int)result);
17986 return resultobj;
17987 fail:
17988 return NULL;
17989 }
17990
17991
17992 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
17993 PyObject *resultobj;
17994 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17995 wxSize result;
17996 PyObject * obj0 = 0 ;
17997 char *kwnames[] = {
17998 (char *) "self", NULL
17999 };
18000
18001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
18002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18004 {
18005 PyThreadState* __tstate = wxPyBeginAllowThreads();
18006 result = (arg1)->GetPaperSize();
18007
18008 wxPyEndAllowThreads(__tstate);
18009 if (PyErr_Occurred()) SWIG_fail;
18010 }
18011 {
18012 wxSize * resultptr;
18013 resultptr = new wxSize((wxSize &) result);
18014 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18015 }
18016 return resultobj;
18017 fail:
18018 return NULL;
18019 }
18020
18021
18022 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18023 PyObject *resultobj;
18024 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18025 wxPrintData *result;
18026 PyObject * obj0 = 0 ;
18027 char *kwnames[] = {
18028 (char *) "self", NULL
18029 };
18030
18031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18034 {
18035 PyThreadState* __tstate = wxPyBeginAllowThreads();
18036 {
18037 wxPrintData &_result_ref = (arg1)->GetPrintData();
18038 result = (wxPrintData *) &_result_ref;
18039 }
18040
18041 wxPyEndAllowThreads(__tstate);
18042 if (PyErr_Occurred()) SWIG_fail;
18043 }
18044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
18045 return resultobj;
18046 fail:
18047 return NULL;
18048 }
18049
18050
18051 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
18052 PyObject *resultobj;
18053 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18054 bool result;
18055 PyObject * obj0 = 0 ;
18056 char *kwnames[] = {
18057 (char *) "self", NULL
18058 };
18059
18060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
18061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18063 {
18064 PyThreadState* __tstate = wxPyBeginAllowThreads();
18065 result = (bool)(arg1)->Ok();
18066
18067 wxPyEndAllowThreads(__tstate);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 }
18070 {
18071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18072 }
18073 return resultobj;
18074 fail:
18075 return NULL;
18076 }
18077
18078
18079 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18080 PyObject *resultobj;
18081 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18082 bool arg2 ;
18083 PyObject * obj0 = 0 ;
18084 PyObject * obj1 = 0 ;
18085 char *kwnames[] = {
18086 (char *) "self",(char *) "flag", NULL
18087 };
18088
18089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
18090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18092 arg2 = (bool) SWIG_AsBool(obj1);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 {
18095 PyThreadState* __tstate = wxPyBeginAllowThreads();
18096 (arg1)->SetDefaultInfo(arg2);
18097
18098 wxPyEndAllowThreads(__tstate);
18099 if (PyErr_Occurred()) SWIG_fail;
18100 }
18101 Py_INCREF(Py_None); resultobj = Py_None;
18102 return resultobj;
18103 fail:
18104 return NULL;
18105 }
18106
18107
18108 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18109 PyObject *resultobj;
18110 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18111 bool arg2 ;
18112 PyObject * obj0 = 0 ;
18113 PyObject * obj1 = 0 ;
18114 char *kwnames[] = {
18115 (char *) "self",(char *) "flag", NULL
18116 };
18117
18118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
18119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18121 arg2 = (bool) SWIG_AsBool(obj1);
18122 if (PyErr_Occurred()) SWIG_fail;
18123 {
18124 PyThreadState* __tstate = wxPyBeginAllowThreads();
18125 (arg1)->SetDefaultMinMargins(arg2);
18126
18127 wxPyEndAllowThreads(__tstate);
18128 if (PyErr_Occurred()) SWIG_fail;
18129 }
18130 Py_INCREF(Py_None); resultobj = Py_None;
18131 return resultobj;
18132 fail:
18133 return NULL;
18134 }
18135
18136
18137 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
18138 PyObject *resultobj;
18139 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18140 wxPoint *arg2 = 0 ;
18141 wxPoint temp2 ;
18142 PyObject * obj0 = 0 ;
18143 PyObject * obj1 = 0 ;
18144 char *kwnames[] = {
18145 (char *) "self",(char *) "pt", NULL
18146 };
18147
18148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18151 {
18152 arg2 = &temp2;
18153 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18154 }
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
18158
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 Py_INCREF(Py_None); resultobj = Py_None;
18163 return resultobj;
18164 fail:
18165 return NULL;
18166 }
18167
18168
18169 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
18170 PyObject *resultobj;
18171 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18172 wxPoint *arg2 = 0 ;
18173 wxPoint temp2 ;
18174 PyObject * obj0 = 0 ;
18175 PyObject * obj1 = 0 ;
18176 char *kwnames[] = {
18177 (char *) "self",(char *) "pt", NULL
18178 };
18179
18180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18183 {
18184 arg2 = &temp2;
18185 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18186 }
18187 {
18188 PyThreadState* __tstate = wxPyBeginAllowThreads();
18189 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
18190
18191 wxPyEndAllowThreads(__tstate);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 Py_INCREF(Py_None); resultobj = Py_None;
18195 return resultobj;
18196 fail:
18197 return NULL;
18198 }
18199
18200
18201 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
18202 PyObject *resultobj;
18203 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18204 wxPoint *arg2 = 0 ;
18205 wxPoint temp2 ;
18206 PyObject * obj0 = 0 ;
18207 PyObject * obj1 = 0 ;
18208 char *kwnames[] = {
18209 (char *) "self",(char *) "pt", NULL
18210 };
18211
18212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18215 {
18216 arg2 = &temp2;
18217 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18218 }
18219 {
18220 PyThreadState* __tstate = wxPyBeginAllowThreads();
18221 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
18222
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 Py_INCREF(Py_None); resultobj = Py_None;
18227 return resultobj;
18228 fail:
18229 return NULL;
18230 }
18231
18232
18233 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
18234 PyObject *resultobj;
18235 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18236 wxPoint *arg2 = 0 ;
18237 wxPoint temp2 ;
18238 PyObject * obj0 = 0 ;
18239 PyObject * obj1 = 0 ;
18240 char *kwnames[] = {
18241 (char *) "self",(char *) "pt", NULL
18242 };
18243
18244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18247 {
18248 arg2 = &temp2;
18249 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18250 }
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 Py_INCREF(Py_None); resultobj = Py_None;
18259 return resultobj;
18260 fail:
18261 return NULL;
18262 }
18263
18264
18265 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18266 PyObject *resultobj;
18267 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18268 int arg2 ;
18269 PyObject * obj0 = 0 ;
18270 PyObject * obj1 = 0 ;
18271 char *kwnames[] = {
18272 (char *) "self",(char *) "id", NULL
18273 };
18274
18275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18278 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18279 if (PyErr_Occurred()) SWIG_fail;
18280 {
18281 PyThreadState* __tstate = wxPyBeginAllowThreads();
18282 (arg1)->SetPaperId((wxPaperSize )arg2);
18283
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 Py_INCREF(Py_None); resultobj = Py_None;
18288 return resultobj;
18289 fail:
18290 return NULL;
18291 }
18292
18293
18294 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18295 PyObject *resultobj;
18296 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18297 wxSize *arg2 = 0 ;
18298 wxSize temp2 ;
18299 PyObject * obj0 = 0 ;
18300 PyObject * obj1 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "self",(char *) "size", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18308 {
18309 arg2 = &temp2;
18310 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18311 }
18312 {
18313 PyThreadState* __tstate = wxPyBeginAllowThreads();
18314 (arg1)->SetPaperSize((wxSize const &)*arg2);
18315
18316 wxPyEndAllowThreads(__tstate);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 }
18319 Py_INCREF(Py_None); resultobj = Py_None;
18320 return resultobj;
18321 fail:
18322 return NULL;
18323 }
18324
18325
18326 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18327 PyObject *resultobj;
18328 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18329 wxPrintData *arg2 = 0 ;
18330 PyObject * obj0 = 0 ;
18331 PyObject * obj1 = 0 ;
18332 char *kwnames[] = {
18333 (char *) "self",(char *) "printData", NULL
18334 };
18335
18336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18339 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
18340 SWIG_POINTER_EXCEPTION | 0)) == -1)
18341 SWIG_fail;
18342 if (arg2 == NULL) {
18343 PyErr_SetString(PyExc_TypeError,"null reference");
18344 SWIG_fail;
18345 }
18346 {
18347 PyThreadState* __tstate = wxPyBeginAllowThreads();
18348 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18349
18350 wxPyEndAllowThreads(__tstate);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 }
18353 Py_INCREF(Py_None); resultobj = Py_None;
18354 return resultobj;
18355 fail:
18356 return NULL;
18357 }
18358
18359
18360 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
18361 PyObject *obj;
18362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18363 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
18364 Py_INCREF(obj);
18365 return Py_BuildValue((char *)"");
18366 }
18367 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj;
18369 wxWindow *arg1 = (wxWindow *) 0 ;
18370 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
18371 wxPageSetupDialog *result;
18372 PyObject * obj0 = 0 ;
18373 PyObject * obj1 = 0 ;
18374 char *kwnames[] = {
18375 (char *) "parent",(char *) "data", NULL
18376 };
18377
18378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18381 if (obj1) {
18382 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
18383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18384 }
18385 {
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
18388
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
18393 return resultobj;
18394 fail:
18395 return NULL;
18396 }
18397
18398
18399 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
18400 PyObject *resultobj;
18401 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18402 wxPageSetupDialogData *result;
18403 PyObject * obj0 = 0 ;
18404 char *kwnames[] = {
18405 (char *) "self", NULL
18406 };
18407
18408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
18409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
18410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18411 {
18412 PyThreadState* __tstate = wxPyBeginAllowThreads();
18413 {
18414 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
18415 result = (wxPageSetupDialogData *) &_result_ref;
18416 }
18417
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
18422 return resultobj;
18423 fail:
18424 return NULL;
18425 }
18426
18427
18428 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
18429 PyObject *resultobj;
18430 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18431 int result;
18432 PyObject * obj0 = 0 ;
18433 char *kwnames[] = {
18434 (char *) "self", NULL
18435 };
18436
18437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
18438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
18439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18440 {
18441 PyThreadState* __tstate = wxPyBeginAllowThreads();
18442 result = (int)(arg1)->ShowModal();
18443
18444 wxPyEndAllowThreads(__tstate);
18445 if (PyErr_Occurred()) SWIG_fail;
18446 }
18447 resultobj = SWIG_FromInt((int)result);
18448 return resultobj;
18449 fail:
18450 return NULL;
18451 }
18452
18453
18454 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
18455 PyObject *obj;
18456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18457 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
18458 Py_INCREF(obj);
18459 return Py_BuildValue((char *)"");
18460 }
18461 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
18462 PyObject *resultobj;
18463 wxPrintDialogData *result;
18464
18465 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
18466 {
18467 PyThreadState* __tstate = wxPyBeginAllowThreads();
18468 result = (wxPrintDialogData *)new wxPrintDialogData();
18469
18470 wxPyEndAllowThreads(__tstate);
18471 if (PyErr_Occurred()) SWIG_fail;
18472 }
18473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
18474 return resultobj;
18475 fail:
18476 return NULL;
18477 }
18478
18479
18480 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
18481 PyObject *resultobj;
18482 wxPrintData *arg1 = 0 ;
18483 wxPrintDialogData *result;
18484 PyObject * obj0 = 0 ;
18485
18486 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
18487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18488 SWIG_POINTER_EXCEPTION | 0)) == -1)
18489 SWIG_fail;
18490 if (arg1 == NULL) {
18491 PyErr_SetString(PyExc_TypeError,"null reference");
18492 SWIG_fail;
18493 }
18494 {
18495 PyThreadState* __tstate = wxPyBeginAllowThreads();
18496 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
18497
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
18502 return resultobj;
18503 fail:
18504 return NULL;
18505 }
18506
18507
18508 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
18509 int argc;
18510 PyObject *argv[2];
18511 int ii;
18512
18513 argc = PyObject_Length(args);
18514 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18515 argv[ii] = PyTuple_GetItem(args,ii);
18516 }
18517 if (argc == 0) {
18518 return _wrap_new_PrintDialogData__SWIG_0(self,args);
18519 }
18520 if (argc == 1) {
18521 int _v;
18522 {
18523 void *ptr;
18524 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18525 _v = 0;
18526 PyErr_Clear();
18527 } else {
18528 _v = 1;
18529 }
18530 }
18531 if (_v) {
18532 return _wrap_new_PrintDialogData__SWIG_1(self,args);
18533 }
18534 }
18535
18536 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
18537 return NULL;
18538 }
18539
18540
18541 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
18542 PyObject *resultobj;
18543 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18544 PyObject * obj0 = 0 ;
18545 char *kwnames[] = {
18546 (char *) "self", NULL
18547 };
18548
18549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
18550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18552 {
18553 PyThreadState* __tstate = wxPyBeginAllowThreads();
18554 delete arg1;
18555
18556 wxPyEndAllowThreads(__tstate);
18557 if (PyErr_Occurred()) SWIG_fail;
18558 }
18559 Py_INCREF(Py_None); resultobj = Py_None;
18560 return resultobj;
18561 fail:
18562 return NULL;
18563 }
18564
18565
18566 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
18567 PyObject *resultobj;
18568 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18569 int result;
18570 PyObject * obj0 = 0 ;
18571 char *kwnames[] = {
18572 (char *) "self", NULL
18573 };
18574
18575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
18576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18578 {
18579 PyThreadState* __tstate = wxPyBeginAllowThreads();
18580 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
18581
18582 wxPyEndAllowThreads(__tstate);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 }
18585 resultobj = SWIG_FromInt((int)result);
18586 return resultobj;
18587 fail:
18588 return NULL;
18589 }
18590
18591
18592 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
18593 PyObject *resultobj;
18594 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18595 int result;
18596 PyObject * obj0 = 0 ;
18597 char *kwnames[] = {
18598 (char *) "self", NULL
18599 };
18600
18601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
18602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18604 {
18605 PyThreadState* __tstate = wxPyBeginAllowThreads();
18606 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
18607
18608 wxPyEndAllowThreads(__tstate);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 }
18611 resultobj = SWIG_FromInt((int)result);
18612 return resultobj;
18613 fail:
18614 return NULL;
18615 }
18616
18617
18618 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
18619 PyObject *resultobj;
18620 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18621 int result;
18622 PyObject * obj0 = 0 ;
18623 char *kwnames[] = {
18624 (char *) "self", NULL
18625 };
18626
18627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
18628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18630 {
18631 PyThreadState* __tstate = wxPyBeginAllowThreads();
18632 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
18633
18634 wxPyEndAllowThreads(__tstate);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
18637 resultobj = SWIG_FromInt((int)result);
18638 return resultobj;
18639 fail:
18640 return NULL;
18641 }
18642
18643
18644 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
18645 PyObject *resultobj;
18646 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18647 int result;
18648 PyObject * obj0 = 0 ;
18649 char *kwnames[] = {
18650 (char *) "self", NULL
18651 };
18652
18653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
18654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18656 {
18657 PyThreadState* __tstate = wxPyBeginAllowThreads();
18658 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
18659
18660 wxPyEndAllowThreads(__tstate);
18661 if (PyErr_Occurred()) SWIG_fail;
18662 }
18663 resultobj = SWIG_FromInt((int)result);
18664 return resultobj;
18665 fail:
18666 return NULL;
18667 }
18668
18669
18670 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18671 PyObject *resultobj;
18672 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18673 int result;
18674 PyObject * obj0 = 0 ;
18675 char *kwnames[] = {
18676 (char *) "self", NULL
18677 };
18678
18679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
18680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18682 {
18683 PyThreadState* __tstate = wxPyBeginAllowThreads();
18684 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
18685
18686 wxPyEndAllowThreads(__tstate);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 }
18689 resultobj = SWIG_FromInt((int)result);
18690 return resultobj;
18691 fail:
18692 return NULL;
18693 }
18694
18695
18696 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18697 PyObject *resultobj;
18698 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18699 bool result;
18700 PyObject * obj0 = 0 ;
18701 char *kwnames[] = {
18702 (char *) "self", NULL
18703 };
18704
18705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
18706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18708 {
18709 PyThreadState* __tstate = wxPyBeginAllowThreads();
18710 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
18711
18712 wxPyEndAllowThreads(__tstate);
18713 if (PyErr_Occurred()) SWIG_fail;
18714 }
18715 {
18716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18717 }
18718 return resultobj;
18719 fail:
18720 return NULL;
18721 }
18722
18723
18724 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
18725 PyObject *resultobj;
18726 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18727 bool result;
18728 PyObject * obj0 = 0 ;
18729 char *kwnames[] = {
18730 (char *) "self", NULL
18731 };
18732
18733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
18734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18736 {
18737 PyThreadState* __tstate = wxPyBeginAllowThreads();
18738 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
18739
18740 wxPyEndAllowThreads(__tstate);
18741 if (PyErr_Occurred()) SWIG_fail;
18742 }
18743 {
18744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18745 }
18746 return resultobj;
18747 fail:
18748 return NULL;
18749 }
18750
18751
18752 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18753 PyObject *resultobj;
18754 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18755 bool result;
18756 PyObject * obj0 = 0 ;
18757 char *kwnames[] = {
18758 (char *) "self", NULL
18759 };
18760
18761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
18762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
18767
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 {
18772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18773 }
18774 return resultobj;
18775 fail:
18776 return NULL;
18777 }
18778
18779
18780 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
18781 PyObject *resultobj;
18782 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18783 bool result;
18784 PyObject * obj0 = 0 ;
18785 char *kwnames[] = {
18786 (char *) "self", NULL
18787 };
18788
18789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
18790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18792 {
18793 PyThreadState* __tstate = wxPyBeginAllowThreads();
18794 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
18795
18796 wxPyEndAllowThreads(__tstate);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 }
18799 {
18800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18801 }
18802 return resultobj;
18803 fail:
18804 return NULL;
18805 }
18806
18807
18808 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18809 PyObject *resultobj;
18810 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18811 bool result;
18812 PyObject * obj0 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
18818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18820 {
18821 PyThreadState* __tstate = wxPyBeginAllowThreads();
18822 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
18823
18824 wxPyEndAllowThreads(__tstate);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 }
18827 {
18828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18829 }
18830 return resultobj;
18831 fail:
18832 return NULL;
18833 }
18834
18835
18836 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
18837 PyObject *resultobj;
18838 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18839 int arg2 ;
18840 PyObject * obj0 = 0 ;
18841 PyObject * obj1 = 0 ;
18842 char *kwnames[] = {
18843 (char *) "self",(char *) "v", NULL
18844 };
18845
18846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
18847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18849 arg2 = (int) SWIG_AsInt(obj1);
18850 if (PyErr_Occurred()) SWIG_fail;
18851 {
18852 PyThreadState* __tstate = wxPyBeginAllowThreads();
18853 (arg1)->SetFromPage(arg2);
18854
18855 wxPyEndAllowThreads(__tstate);
18856 if (PyErr_Occurred()) SWIG_fail;
18857 }
18858 Py_INCREF(Py_None); resultobj = Py_None;
18859 return resultobj;
18860 fail:
18861 return NULL;
18862 }
18863
18864
18865 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
18866 PyObject *resultobj;
18867 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18868 int arg2 ;
18869 PyObject * obj0 = 0 ;
18870 PyObject * obj1 = 0 ;
18871 char *kwnames[] = {
18872 (char *) "self",(char *) "v", NULL
18873 };
18874
18875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
18876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18878 arg2 = (int) SWIG_AsInt(obj1);
18879 if (PyErr_Occurred()) SWIG_fail;
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
18882 (arg1)->SetToPage(arg2);
18883
18884 wxPyEndAllowThreads(__tstate);
18885 if (PyErr_Occurred()) SWIG_fail;
18886 }
18887 Py_INCREF(Py_None); resultobj = Py_None;
18888 return resultobj;
18889 fail:
18890 return NULL;
18891 }
18892
18893
18894 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
18895 PyObject *resultobj;
18896 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18897 int arg2 ;
18898 PyObject * obj0 = 0 ;
18899 PyObject * obj1 = 0 ;
18900 char *kwnames[] = {
18901 (char *) "self",(char *) "v", NULL
18902 };
18903
18904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
18905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18907 arg2 = (int) SWIG_AsInt(obj1);
18908 if (PyErr_Occurred()) SWIG_fail;
18909 {
18910 PyThreadState* __tstate = wxPyBeginAllowThreads();
18911 (arg1)->SetMinPage(arg2);
18912
18913 wxPyEndAllowThreads(__tstate);
18914 if (PyErr_Occurred()) SWIG_fail;
18915 }
18916 Py_INCREF(Py_None); resultobj = Py_None;
18917 return resultobj;
18918 fail:
18919 return NULL;
18920 }
18921
18922
18923 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
18924 PyObject *resultobj;
18925 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18926 int arg2 ;
18927 PyObject * obj0 = 0 ;
18928 PyObject * obj1 = 0 ;
18929 char *kwnames[] = {
18930 (char *) "self",(char *) "v", NULL
18931 };
18932
18933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
18934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18936 arg2 = (int) SWIG_AsInt(obj1);
18937 if (PyErr_Occurred()) SWIG_fail;
18938 {
18939 PyThreadState* __tstate = wxPyBeginAllowThreads();
18940 (arg1)->SetMaxPage(arg2);
18941
18942 wxPyEndAllowThreads(__tstate);
18943 if (PyErr_Occurred()) SWIG_fail;
18944 }
18945 Py_INCREF(Py_None); resultobj = Py_None;
18946 return resultobj;
18947 fail:
18948 return NULL;
18949 }
18950
18951
18952 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18953 PyObject *resultobj;
18954 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18955 int arg2 ;
18956 PyObject * obj0 = 0 ;
18957 PyObject * obj1 = 0 ;
18958 char *kwnames[] = {
18959 (char *) "self",(char *) "v", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18965 arg2 = (int) SWIG_AsInt(obj1);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 {
18968 PyThreadState* __tstate = wxPyBeginAllowThreads();
18969 (arg1)->SetNoCopies(arg2);
18970
18971 wxPyEndAllowThreads(__tstate);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 }
18974 Py_INCREF(Py_None); resultobj = Py_None;
18975 return resultobj;
18976 fail:
18977 return NULL;
18978 }
18979
18980
18981 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18982 PyObject *resultobj;
18983 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18984 bool arg2 ;
18985 PyObject * obj0 = 0 ;
18986 PyObject * obj1 = 0 ;
18987 char *kwnames[] = {
18988 (char *) "self",(char *) "flag", NULL
18989 };
18990
18991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
18992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
18993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18994 arg2 = (bool) SWIG_AsBool(obj1);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 {
18997 PyThreadState* __tstate = wxPyBeginAllowThreads();
18998 (arg1)->SetAllPages(arg2);
18999
19000 wxPyEndAllowThreads(__tstate);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 }
19003 Py_INCREF(Py_None); resultobj = Py_None;
19004 return resultobj;
19005 fail:
19006 return NULL;
19007 }
19008
19009
19010 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
19011 PyObject *resultobj;
19012 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19013 bool arg2 ;
19014 PyObject * obj0 = 0 ;
19015 PyObject * obj1 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self",(char *) "flag", NULL
19018 };
19019
19020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
19021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19023 arg2 = (bool) SWIG_AsBool(obj1);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 (arg1)->SetSelection(arg2);
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 Py_INCREF(Py_None); resultobj = Py_None;
19033 return resultobj;
19034 fail:
19035 return NULL;
19036 }
19037
19038
19039 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19042 bool arg2 ;
19043 PyObject * obj0 = 0 ;
19044 PyObject * obj1 = 0 ;
19045 char *kwnames[] = {
19046 (char *) "self",(char *) "flag", NULL
19047 };
19048
19049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
19050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19052 arg2 = (bool) SWIG_AsBool(obj1);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 {
19055 PyThreadState* __tstate = wxPyBeginAllowThreads();
19056 (arg1)->SetCollate(arg2);
19057
19058 wxPyEndAllowThreads(__tstate);
19059 if (PyErr_Occurred()) SWIG_fail;
19060 }
19061 Py_INCREF(Py_None); resultobj = Py_None;
19062 return resultobj;
19063 fail:
19064 return NULL;
19065 }
19066
19067
19068 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
19069 PyObject *resultobj;
19070 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19071 bool arg2 ;
19072 PyObject * obj0 = 0 ;
19073 PyObject * obj1 = 0 ;
19074 char *kwnames[] = {
19075 (char *) "self",(char *) "flag", NULL
19076 };
19077
19078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
19079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19081 arg2 = (bool) SWIG_AsBool(obj1);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 {
19084 PyThreadState* __tstate = wxPyBeginAllowThreads();
19085 (arg1)->SetPrintToFile(arg2);
19086
19087 wxPyEndAllowThreads(__tstate);
19088 if (PyErr_Occurred()) SWIG_fail;
19089 }
19090 Py_INCREF(Py_None); resultobj = Py_None;
19091 return resultobj;
19092 fail:
19093 return NULL;
19094 }
19095
19096
19097 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19098 PyObject *resultobj;
19099 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19100 bool arg2 ;
19101 PyObject * obj0 = 0 ;
19102 PyObject * obj1 = 0 ;
19103 char *kwnames[] = {
19104 (char *) "self",(char *) "flag", NULL
19105 };
19106
19107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19110 arg2 = (bool) SWIG_AsBool(obj1);
19111 if (PyErr_Occurred()) SWIG_fail;
19112 {
19113 PyThreadState* __tstate = wxPyBeginAllowThreads();
19114 (arg1)->SetSetupDialog(arg2);
19115
19116 wxPyEndAllowThreads(__tstate);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 }
19119 Py_INCREF(Py_None); resultobj = Py_None;
19120 return resultobj;
19121 fail:
19122 return NULL;
19123 }
19124
19125
19126 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
19127 PyObject *resultobj;
19128 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19129 bool arg2 ;
19130 PyObject * obj0 = 0 ;
19131 PyObject * obj1 = 0 ;
19132 char *kwnames[] = {
19133 (char *) "self",(char *) "flag", NULL
19134 };
19135
19136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
19137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19139 arg2 = (bool) SWIG_AsBool(obj1);
19140 if (PyErr_Occurred()) SWIG_fail;
19141 {
19142 PyThreadState* __tstate = wxPyBeginAllowThreads();
19143 (arg1)->EnablePrintToFile(arg2);
19144
19145 wxPyEndAllowThreads(__tstate);
19146 if (PyErr_Occurred()) SWIG_fail;
19147 }
19148 Py_INCREF(Py_None); resultobj = Py_None;
19149 return resultobj;
19150 fail:
19151 return NULL;
19152 }
19153
19154
19155 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
19156 PyObject *resultobj;
19157 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19158 bool arg2 ;
19159 PyObject * obj0 = 0 ;
19160 PyObject * obj1 = 0 ;
19161 char *kwnames[] = {
19162 (char *) "self",(char *) "flag", NULL
19163 };
19164
19165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
19166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19168 arg2 = (bool) SWIG_AsBool(obj1);
19169 if (PyErr_Occurred()) SWIG_fail;
19170 {
19171 PyThreadState* __tstate = wxPyBeginAllowThreads();
19172 (arg1)->EnableSelection(arg2);
19173
19174 wxPyEndAllowThreads(__tstate);
19175 if (PyErr_Occurred()) SWIG_fail;
19176 }
19177 Py_INCREF(Py_None); resultobj = Py_None;
19178 return resultobj;
19179 fail:
19180 return NULL;
19181 }
19182
19183
19184 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
19185 PyObject *resultobj;
19186 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19187 bool arg2 ;
19188 PyObject * obj0 = 0 ;
19189 PyObject * obj1 = 0 ;
19190 char *kwnames[] = {
19191 (char *) "self",(char *) "flag", NULL
19192 };
19193
19194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
19195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19197 arg2 = (bool) SWIG_AsBool(obj1);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 {
19200 PyThreadState* __tstate = wxPyBeginAllowThreads();
19201 (arg1)->EnablePageNumbers(arg2);
19202
19203 wxPyEndAllowThreads(__tstate);
19204 if (PyErr_Occurred()) SWIG_fail;
19205 }
19206 Py_INCREF(Py_None); resultobj = Py_None;
19207 return resultobj;
19208 fail:
19209 return NULL;
19210 }
19211
19212
19213 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19214 PyObject *resultobj;
19215 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19216 bool arg2 ;
19217 PyObject * obj0 = 0 ;
19218 PyObject * obj1 = 0 ;
19219 char *kwnames[] = {
19220 (char *) "self",(char *) "flag", NULL
19221 };
19222
19223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19226 arg2 = (bool) SWIG_AsBool(obj1);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 {
19229 PyThreadState* __tstate = wxPyBeginAllowThreads();
19230 (arg1)->EnableHelp(arg2);
19231
19232 wxPyEndAllowThreads(__tstate);
19233 if (PyErr_Occurred()) SWIG_fail;
19234 }
19235 Py_INCREF(Py_None); resultobj = Py_None;
19236 return resultobj;
19237 fail:
19238 return NULL;
19239 }
19240
19241
19242 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
19243 PyObject *resultobj;
19244 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19245 bool result;
19246 PyObject * obj0 = 0 ;
19247 char *kwnames[] = {
19248 (char *) "self", NULL
19249 };
19250
19251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
19252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
19257
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 {
19262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19263 }
19264 return resultobj;
19265 fail:
19266 return NULL;
19267 }
19268
19269
19270 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
19271 PyObject *resultobj;
19272 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19273 bool result;
19274 PyObject * obj0 = 0 ;
19275 char *kwnames[] = {
19276 (char *) "self", NULL
19277 };
19278
19279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
19280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19282 {
19283 PyThreadState* __tstate = wxPyBeginAllowThreads();
19284 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
19285
19286 wxPyEndAllowThreads(__tstate);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
19289 {
19290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19291 }
19292 return resultobj;
19293 fail:
19294 return NULL;
19295 }
19296
19297
19298 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
19299 PyObject *resultobj;
19300 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19301 bool result;
19302 PyObject * obj0 = 0 ;
19303 char *kwnames[] = {
19304 (char *) "self", NULL
19305 };
19306
19307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
19308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19310 {
19311 PyThreadState* __tstate = wxPyBeginAllowThreads();
19312 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
19313
19314 wxPyEndAllowThreads(__tstate);
19315 if (PyErr_Occurred()) SWIG_fail;
19316 }
19317 {
19318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19319 }
19320 return resultobj;
19321 fail:
19322 return NULL;
19323 }
19324
19325
19326 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19327 PyObject *resultobj;
19328 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19329 bool result;
19330 PyObject * obj0 = 0 ;
19331 char *kwnames[] = {
19332 (char *) "self", NULL
19333 };
19334
19335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19338 {
19339 PyThreadState* __tstate = wxPyBeginAllowThreads();
19340 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
19341
19342 wxPyEndAllowThreads(__tstate);
19343 if (PyErr_Occurred()) SWIG_fail;
19344 }
19345 {
19346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19347 }
19348 return resultobj;
19349 fail:
19350 return NULL;
19351 }
19352
19353
19354 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
19355 PyObject *resultobj;
19356 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19357 bool result;
19358 PyObject * obj0 = 0 ;
19359 char *kwnames[] = {
19360 (char *) "self", NULL
19361 };
19362
19363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
19364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19366 {
19367 PyThreadState* __tstate = wxPyBeginAllowThreads();
19368 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
19369
19370 wxPyEndAllowThreads(__tstate);
19371 if (PyErr_Occurred()) SWIG_fail;
19372 }
19373 {
19374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19375 }
19376 return resultobj;
19377 fail:
19378 return NULL;
19379 }
19380
19381
19382 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
19383 PyObject *resultobj;
19384 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19385 wxPrintData *result;
19386 PyObject * obj0 = 0 ;
19387 char *kwnames[] = {
19388 (char *) "self", NULL
19389 };
19390
19391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19394 {
19395 PyThreadState* __tstate = wxPyBeginAllowThreads();
19396 {
19397 wxPrintData &_result_ref = (arg1)->GetPrintData();
19398 result = (wxPrintData *) &_result_ref;
19399 }
19400
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19405 return resultobj;
19406 fail:
19407 return NULL;
19408 }
19409
19410
19411 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
19412 PyObject *resultobj;
19413 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19414 wxPrintData *arg2 = 0 ;
19415 PyObject * obj0 = 0 ;
19416 PyObject * obj1 = 0 ;
19417 char *kwnames[] = {
19418 (char *) "self",(char *) "printData", NULL
19419 };
19420
19421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19425 SWIG_POINTER_EXCEPTION | 0)) == -1)
19426 SWIG_fail;
19427 if (arg2 == NULL) {
19428 PyErr_SetString(PyExc_TypeError,"null reference");
19429 SWIG_fail;
19430 }
19431 {
19432 PyThreadState* __tstate = wxPyBeginAllowThreads();
19433 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19434
19435 wxPyEndAllowThreads(__tstate);
19436 if (PyErr_Occurred()) SWIG_fail;
19437 }
19438 Py_INCREF(Py_None); resultobj = Py_None;
19439 return resultobj;
19440 fail:
19441 return NULL;
19442 }
19443
19444
19445 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
19446 PyObject *obj;
19447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19448 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
19449 Py_INCREF(obj);
19450 return Py_BuildValue((char *)"");
19451 }
19452 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj;
19454 wxWindow *arg1 = (wxWindow *) 0 ;
19455 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
19456 wxPrintDialog *result;
19457 PyObject * obj0 = 0 ;
19458 PyObject * obj1 = 0 ;
19459 char *kwnames[] = {
19460 (char *) "parent",(char *) "data", NULL
19461 };
19462
19463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19466 if (obj1) {
19467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
19468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19469 }
19470 {
19471 PyThreadState* __tstate = wxPyBeginAllowThreads();
19472 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
19473
19474 wxPyEndAllowThreads(__tstate);
19475 if (PyErr_Occurred()) SWIG_fail;
19476 }
19477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
19478 return resultobj;
19479 fail:
19480 return NULL;
19481 }
19482
19483
19484 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19485 PyObject *resultobj;
19486 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19487 wxPrintDialogData *result;
19488 PyObject * obj0 = 0 ;
19489 char *kwnames[] = {
19490 (char *) "self", NULL
19491 };
19492
19493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
19494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19496 {
19497 PyThreadState* __tstate = wxPyBeginAllowThreads();
19498 {
19499 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19500 result = (wxPrintDialogData *) &_result_ref;
19501 }
19502
19503 wxPyEndAllowThreads(__tstate);
19504 if (PyErr_Occurred()) SWIG_fail;
19505 }
19506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
19507 return resultobj;
19508 fail:
19509 return NULL;
19510 }
19511
19512
19513 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
19514 PyObject *resultobj;
19515 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19516 wxDC *result;
19517 PyObject * obj0 = 0 ;
19518 char *kwnames[] = {
19519 (char *) "self", NULL
19520 };
19521
19522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
19523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19525 {
19526 PyThreadState* __tstate = wxPyBeginAllowThreads();
19527 result = (wxDC *)(arg1)->GetPrintDC();
19528
19529 wxPyEndAllowThreads(__tstate);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 {
19533 resultobj = wxPyMake_wxObject(result);
19534 }
19535 return resultobj;
19536 fail:
19537 return NULL;
19538 }
19539
19540
19541 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
19542 PyObject *resultobj;
19543 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19544 int result;
19545 PyObject * obj0 = 0 ;
19546 char *kwnames[] = {
19547 (char *) "self", NULL
19548 };
19549
19550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
19551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
19552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19553 {
19554 PyThreadState* __tstate = wxPyBeginAllowThreads();
19555 result = (int)(arg1)->ShowModal();
19556
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 resultobj = SWIG_FromInt((int)result);
19561 return resultobj;
19562 fail:
19563 return NULL;
19564 }
19565
19566
19567 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
19568 PyObject *obj;
19569 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19570 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
19571 Py_INCREF(obj);
19572 return Py_BuildValue((char *)"");
19573 }
19574 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
19575 PyObject *resultobj;
19576 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
19577 wxPrinter *result;
19578 PyObject * obj0 = 0 ;
19579 char *kwnames[] = {
19580 (char *) "data", NULL
19581 };
19582
19583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
19584 if (obj0) {
19585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19587 }
19588 {
19589 PyThreadState* __tstate = wxPyBeginAllowThreads();
19590 result = (wxPrinter *)new wxPrinter(arg1);
19591
19592 wxPyEndAllowThreads(__tstate);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 }
19595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
19596 return resultobj;
19597 fail:
19598 return NULL;
19599 }
19600
19601
19602 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj;
19604 wxPrinter *arg1 = (wxPrinter *) 0 ;
19605 PyObject * obj0 = 0 ;
19606 char *kwnames[] = {
19607 (char *) "self", NULL
19608 };
19609
19610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
19611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19613 {
19614 PyThreadState* __tstate = wxPyBeginAllowThreads();
19615 delete arg1;
19616
19617 wxPyEndAllowThreads(__tstate);
19618 if (PyErr_Occurred()) SWIG_fail;
19619 }
19620 Py_INCREF(Py_None); resultobj = Py_None;
19621 return resultobj;
19622 fail:
19623 return NULL;
19624 }
19625
19626
19627 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19628 PyObject *resultobj;
19629 wxPrinter *arg1 = (wxPrinter *) 0 ;
19630 wxWindow *arg2 = (wxWindow *) 0 ;
19631 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19632 PyObject * obj0 = 0 ;
19633 PyObject * obj1 = 0 ;
19634 PyObject * obj2 = 0 ;
19635 char *kwnames[] = {
19636 (char *) "self",(char *) "parent",(char *) "printout", NULL
19637 };
19638
19639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
19640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19642 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19644 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
19645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19646 {
19647 PyThreadState* __tstate = wxPyBeginAllowThreads();
19648 (arg1)->CreateAbortWindow(arg2,arg3);
19649
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 Py_INCREF(Py_None); resultobj = Py_None;
19654 return resultobj;
19655 fail:
19656 return NULL;
19657 }
19658
19659
19660 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19661 PyObject *resultobj;
19662 wxPrinter *arg1 = (wxPrinter *) 0 ;
19663 wxPrintDialogData *result;
19664 PyObject * obj0 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self", NULL
19667 };
19668
19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
19670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19672 {
19673 PyThreadState* __tstate = wxPyBeginAllowThreads();
19674 {
19675 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19676 result = (wxPrintDialogData *) &_result_ref;
19677 }
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxPrinter *arg1 = (wxPrinter *) 0 ;
19692 wxWindow *arg2 = (wxWindow *) 0 ;
19693 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19694 int arg4 = (int) True ;
19695 bool result;
19696 PyObject * obj0 = 0 ;
19697 PyObject * obj1 = 0 ;
19698 PyObject * obj2 = 0 ;
19699 PyObject * obj3 = 0 ;
19700 char *kwnames[] = {
19701 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19702 };
19703
19704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19709 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
19710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19711 if (obj3) {
19712 arg4 = (int) SWIG_AsInt(obj3);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 result = (bool)(arg1)->Print(arg2,arg3,arg4);
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 {
19723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19724 }
19725 return resultobj;
19726 fail:
19727 return NULL;
19728 }
19729
19730
19731 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19732 PyObject *resultobj;
19733 wxPrinter *arg1 = (wxPrinter *) 0 ;
19734 wxWindow *arg2 = (wxWindow *) 0 ;
19735 wxDC *result;
19736 PyObject * obj0 = 0 ;
19737 PyObject * obj1 = 0 ;
19738 char *kwnames[] = {
19739 (char *) "self",(char *) "parent", NULL
19740 };
19741
19742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19745 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19747 {
19748 PyThreadState* __tstate = wxPyBeginAllowThreads();
19749 result = (wxDC *)(arg1)->PrintDialog(arg2);
19750
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 {
19755 resultobj = wxPyMake_wxObject(result);
19756 }
19757 return resultobj;
19758 fail:
19759 return NULL;
19760 }
19761
19762
19763 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
19764 PyObject *resultobj;
19765 wxPrinter *arg1 = (wxPrinter *) 0 ;
19766 wxWindow *arg2 = (wxWindow *) 0 ;
19767 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19768 wxString *arg4 = 0 ;
19769 bool temp4 = False ;
19770 PyObject * obj0 = 0 ;
19771 PyObject * obj1 = 0 ;
19772 PyObject * obj2 = 0 ;
19773 PyObject * obj3 = 0 ;
19774 char *kwnames[] = {
19775 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19776 };
19777
19778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19781 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19783 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
19784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19785 {
19786 arg4 = wxString_in_helper(obj3);
19787 if (arg4 == NULL) SWIG_fail;
19788 temp4 = True;
19789 }
19790 {
19791 PyThreadState* __tstate = wxPyBeginAllowThreads();
19792 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
19793
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 Py_INCREF(Py_None); resultobj = Py_None;
19798 {
19799 if (temp4)
19800 delete arg4;
19801 }
19802 return resultobj;
19803 fail:
19804 {
19805 if (temp4)
19806 delete arg4;
19807 }
19808 return NULL;
19809 }
19810
19811
19812 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
19813 PyObject *resultobj;
19814 wxPrinter *arg1 = (wxPrinter *) 0 ;
19815 wxWindow *arg2 = (wxWindow *) 0 ;
19816 bool result;
19817 PyObject * obj0 = 0 ;
19818 PyObject * obj1 = 0 ;
19819 char *kwnames[] = {
19820 (char *) "self",(char *) "parent", NULL
19821 };
19822
19823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
19824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19828 {
19829 PyThreadState* __tstate = wxPyBeginAllowThreads();
19830 result = (bool)(arg1)->Setup(arg2);
19831
19832 wxPyEndAllowThreads(__tstate);
19833 if (PyErr_Occurred()) SWIG_fail;
19834 }
19835 {
19836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19837 }
19838 return resultobj;
19839 fail:
19840 return NULL;
19841 }
19842
19843
19844 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
19845 PyObject *resultobj;
19846 wxPrinter *arg1 = (wxPrinter *) 0 ;
19847 bool result;
19848 PyObject * obj0 = 0 ;
19849 char *kwnames[] = {
19850 (char *) "self", NULL
19851 };
19852
19853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
19854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
19855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19856 {
19857 PyThreadState* __tstate = wxPyBeginAllowThreads();
19858 result = (bool)(arg1)->GetAbort();
19859
19860 wxPyEndAllowThreads(__tstate);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 {
19864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19865 }
19866 return resultobj;
19867 fail:
19868 return NULL;
19869 }
19870
19871
19872 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
19873 PyObject *resultobj;
19874 int result;
19875 char *kwnames[] = {
19876 NULL
19877 };
19878
19879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
19880 {
19881 PyThreadState* __tstate = wxPyBeginAllowThreads();
19882 result = (int)wxPrinter::GetLastError();
19883
19884 wxPyEndAllowThreads(__tstate);
19885 if (PyErr_Occurred()) SWIG_fail;
19886 }
19887 resultobj = SWIG_FromInt((int)result);
19888 return resultobj;
19889 fail:
19890 return NULL;
19891 }
19892
19893
19894 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
19895 PyObject *obj;
19896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19897 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
19898 Py_INCREF(obj);
19899 return Py_BuildValue((char *)"");
19900 }
19901 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
19902 PyObject *resultobj;
19903 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
19904 wxString *arg1 = (wxString *) &arg1_defvalue ;
19905 wxPyPrintout *result;
19906 bool temp1 = False ;
19907 PyObject * obj0 = 0 ;
19908 char *kwnames[] = {
19909 (char *) "title", NULL
19910 };
19911
19912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
19913 if (obj0) {
19914 {
19915 arg1 = wxString_in_helper(obj0);
19916 if (arg1 == NULL) SWIG_fail;
19917 temp1 = True;
19918 }
19919 }
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 {
19928 resultobj = wxPyMake_wxObject(result);
19929 }
19930 {
19931 if (temp1)
19932 delete arg1;
19933 }
19934 return resultobj;
19935 fail:
19936 {
19937 if (temp1)
19938 delete arg1;
19939 }
19940 return NULL;
19941 }
19942
19943
19944 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19945 PyObject *resultobj;
19946 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19947 PyObject *arg2 = (PyObject *) 0 ;
19948 PyObject *arg3 = (PyObject *) 0 ;
19949 PyObject * obj0 = 0 ;
19950 PyObject * obj1 = 0 ;
19951 PyObject * obj2 = 0 ;
19952 char *kwnames[] = {
19953 (char *) "self",(char *) "self",(char *) "_class", NULL
19954 };
19955
19956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
19958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19959 arg2 = obj1;
19960 arg3 = obj2;
19961 {
19962 PyThreadState* __tstate = wxPyBeginAllowThreads();
19963 (arg1)->_setCallbackInfo(arg2,arg3);
19964
19965 wxPyEndAllowThreads(__tstate);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 Py_INCREF(Py_None); resultobj = Py_None;
19969 return resultobj;
19970 fail:
19971 return NULL;
19972 }
19973
19974
19975 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
19976 PyObject *resultobj;
19977 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19978 wxString result;
19979 PyObject * obj0 = 0 ;
19980 char *kwnames[] = {
19981 (char *) "self", NULL
19982 };
19983
19984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
19985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
19986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19987 {
19988 PyThreadState* __tstate = wxPyBeginAllowThreads();
19989 result = ((wxPyPrintout const *)arg1)->GetTitle();
19990
19991 wxPyEndAllowThreads(__tstate);
19992 if (PyErr_Occurred()) SWIG_fail;
19993 }
19994 {
19995 #if wxUSE_UNICODE
19996 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19997 #else
19998 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19999 #endif
20000 }
20001 return resultobj;
20002 fail:
20003 return NULL;
20004 }
20005
20006
20007 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
20008 PyObject *resultobj;
20009 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20010 wxDC *result;
20011 PyObject * obj0 = 0 ;
20012 char *kwnames[] = {
20013 (char *) "self", NULL
20014 };
20015
20016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
20017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 result = (wxDC *)(arg1)->GetDC();
20022
20023 wxPyEndAllowThreads(__tstate);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
20026 {
20027 resultobj = wxPyMake_wxObject(result);
20028 }
20029 return resultobj;
20030 fail:
20031 return NULL;
20032 }
20033
20034
20035 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
20036 PyObject *resultobj;
20037 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20038 wxDC *arg2 = (wxDC *) 0 ;
20039 PyObject * obj0 = 0 ;
20040 PyObject * obj1 = 0 ;
20041 char *kwnames[] = {
20042 (char *) "self",(char *) "dc", NULL
20043 };
20044
20045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
20046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
20049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 (arg1)->SetDC(arg2);
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 Py_INCREF(Py_None); resultobj = Py_None;
20058 return resultobj;
20059 fail:
20060 return NULL;
20061 }
20062
20063
20064 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
20065 PyObject *resultobj;
20066 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20067 int arg2 ;
20068 int arg3 ;
20069 PyObject * obj0 = 0 ;
20070 PyObject * obj1 = 0 ;
20071 PyObject * obj2 = 0 ;
20072 char *kwnames[] = {
20073 (char *) "self",(char *) "w",(char *) "h", NULL
20074 };
20075
20076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
20077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20079 arg2 = (int) SWIG_AsInt(obj1);
20080 if (PyErr_Occurred()) SWIG_fail;
20081 arg3 = (int) SWIG_AsInt(obj2);
20082 if (PyErr_Occurred()) SWIG_fail;
20083 {
20084 PyThreadState* __tstate = wxPyBeginAllowThreads();
20085 (arg1)->SetPageSizePixels(arg2,arg3);
20086
20087 wxPyEndAllowThreads(__tstate);
20088 if (PyErr_Occurred()) SWIG_fail;
20089 }
20090 Py_INCREF(Py_None); resultobj = Py_None;
20091 return resultobj;
20092 fail:
20093 return NULL;
20094 }
20095
20096
20097 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
20098 PyObject *resultobj;
20099 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20100 int *arg2 = (int *) 0 ;
20101 int *arg3 = (int *) 0 ;
20102 int temp2 ;
20103 int temp3 ;
20104 PyObject * obj0 = 0 ;
20105 char *kwnames[] = {
20106 (char *) "self", NULL
20107 };
20108
20109 arg2 = &temp2;
20110 arg3 = &temp3;
20111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
20112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20114 {
20115 PyThreadState* __tstate = wxPyBeginAllowThreads();
20116 (arg1)->GetPageSizePixels(arg2,arg3);
20117
20118 wxPyEndAllowThreads(__tstate);
20119 if (PyErr_Occurred()) SWIG_fail;
20120 }
20121 Py_INCREF(Py_None); resultobj = Py_None;
20122 {
20123 PyObject *o = PyInt_FromLong((long) (*arg2));
20124 resultobj = t_output_helper(resultobj,o);
20125 }
20126 {
20127 PyObject *o = PyInt_FromLong((long) (*arg3));
20128 resultobj = t_output_helper(resultobj,o);
20129 }
20130 return resultobj;
20131 fail:
20132 return NULL;
20133 }
20134
20135
20136 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
20137 PyObject *resultobj;
20138 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20139 int arg2 ;
20140 int arg3 ;
20141 PyObject * obj0 = 0 ;
20142 PyObject * obj1 = 0 ;
20143 PyObject * obj2 = 0 ;
20144 char *kwnames[] = {
20145 (char *) "self",(char *) "w",(char *) "h", NULL
20146 };
20147
20148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
20149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20151 arg2 = (int) SWIG_AsInt(obj1);
20152 if (PyErr_Occurred()) SWIG_fail;
20153 arg3 = (int) SWIG_AsInt(obj2);
20154 if (PyErr_Occurred()) SWIG_fail;
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 (arg1)->SetPageSizeMM(arg2,arg3);
20158
20159 wxPyEndAllowThreads(__tstate);
20160 if (PyErr_Occurred()) SWIG_fail;
20161 }
20162 Py_INCREF(Py_None); resultobj = Py_None;
20163 return resultobj;
20164 fail:
20165 return NULL;
20166 }
20167
20168
20169 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
20170 PyObject *resultobj;
20171 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20172 int *arg2 = (int *) 0 ;
20173 int *arg3 = (int *) 0 ;
20174 int temp2 ;
20175 int temp3 ;
20176 PyObject * obj0 = 0 ;
20177 char *kwnames[] = {
20178 (char *) "self", NULL
20179 };
20180
20181 arg2 = &temp2;
20182 arg3 = &temp3;
20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
20184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20186 {
20187 PyThreadState* __tstate = wxPyBeginAllowThreads();
20188 (arg1)->GetPageSizeMM(arg2,arg3);
20189
20190 wxPyEndAllowThreads(__tstate);
20191 if (PyErr_Occurred()) SWIG_fail;
20192 }
20193 Py_INCREF(Py_None); resultobj = Py_None;
20194 {
20195 PyObject *o = PyInt_FromLong((long) (*arg2));
20196 resultobj = t_output_helper(resultobj,o);
20197 }
20198 {
20199 PyObject *o = PyInt_FromLong((long) (*arg3));
20200 resultobj = t_output_helper(resultobj,o);
20201 }
20202 return resultobj;
20203 fail:
20204 return NULL;
20205 }
20206
20207
20208 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
20209 PyObject *resultobj;
20210 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20211 int arg2 ;
20212 int arg3 ;
20213 PyObject * obj0 = 0 ;
20214 PyObject * obj1 = 0 ;
20215 PyObject * obj2 = 0 ;
20216 char *kwnames[] = {
20217 (char *) "self",(char *) "x",(char *) "y", NULL
20218 };
20219
20220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
20221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20223 arg2 = (int) SWIG_AsInt(obj1);
20224 if (PyErr_Occurred()) SWIG_fail;
20225 arg3 = (int) SWIG_AsInt(obj2);
20226 if (PyErr_Occurred()) SWIG_fail;
20227 {
20228 PyThreadState* __tstate = wxPyBeginAllowThreads();
20229 (arg1)->SetPPIScreen(arg2,arg3);
20230
20231 wxPyEndAllowThreads(__tstate);
20232 if (PyErr_Occurred()) SWIG_fail;
20233 }
20234 Py_INCREF(Py_None); resultobj = Py_None;
20235 return resultobj;
20236 fail:
20237 return NULL;
20238 }
20239
20240
20241 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
20242 PyObject *resultobj;
20243 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20244 int *arg2 = (int *) 0 ;
20245 int *arg3 = (int *) 0 ;
20246 int temp2 ;
20247 int temp3 ;
20248 PyObject * obj0 = 0 ;
20249 char *kwnames[] = {
20250 (char *) "self", NULL
20251 };
20252
20253 arg2 = &temp2;
20254 arg3 = &temp3;
20255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",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)->GetPPIScreen(arg2,arg3);
20261
20262 wxPyEndAllowThreads(__tstate);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 }
20265 Py_INCREF(Py_None); resultobj = Py_None;
20266 {
20267 PyObject *o = PyInt_FromLong((long) (*arg2));
20268 resultobj = t_output_helper(resultobj,o);
20269 }
20270 {
20271 PyObject *o = PyInt_FromLong((long) (*arg3));
20272 resultobj = t_output_helper(resultobj,o);
20273 }
20274 return resultobj;
20275 fail:
20276 return NULL;
20277 }
20278
20279
20280 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20281 PyObject *resultobj;
20282 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20283 int arg2 ;
20284 int arg3 ;
20285 PyObject * obj0 = 0 ;
20286 PyObject * obj1 = 0 ;
20287 PyObject * obj2 = 0 ;
20288 char *kwnames[] = {
20289 (char *) "self",(char *) "x",(char *) "y", NULL
20290 };
20291
20292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
20293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20295 arg2 = (int) SWIG_AsInt(obj1);
20296 if (PyErr_Occurred()) SWIG_fail;
20297 arg3 = (int) SWIG_AsInt(obj2);
20298 if (PyErr_Occurred()) SWIG_fail;
20299 {
20300 PyThreadState* __tstate = wxPyBeginAllowThreads();
20301 (arg1)->SetPPIPrinter(arg2,arg3);
20302
20303 wxPyEndAllowThreads(__tstate);
20304 if (PyErr_Occurred()) SWIG_fail;
20305 }
20306 Py_INCREF(Py_None); resultobj = Py_None;
20307 return resultobj;
20308 fail:
20309 return NULL;
20310 }
20311
20312
20313 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20314 PyObject *resultobj;
20315 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20316 int *arg2 = (int *) 0 ;
20317 int *arg3 = (int *) 0 ;
20318 int temp2 ;
20319 int temp3 ;
20320 PyObject * obj0 = 0 ;
20321 char *kwnames[] = {
20322 (char *) "self", NULL
20323 };
20324
20325 arg2 = &temp2;
20326 arg3 = &temp3;
20327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
20328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
20332 (arg1)->GetPPIPrinter(arg2,arg3);
20333
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 Py_INCREF(Py_None); resultobj = Py_None;
20338 {
20339 PyObject *o = PyInt_FromLong((long) (*arg2));
20340 resultobj = t_output_helper(resultobj,o);
20341 }
20342 {
20343 PyObject *o = PyInt_FromLong((long) (*arg3));
20344 resultobj = t_output_helper(resultobj,o);
20345 }
20346 return resultobj;
20347 fail:
20348 return NULL;
20349 }
20350
20351
20352 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
20353 PyObject *resultobj;
20354 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20355 bool result;
20356 PyObject * obj0 = 0 ;
20357 char *kwnames[] = {
20358 (char *) "self", NULL
20359 };
20360
20361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
20362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 result = (bool)(arg1)->IsPreview();
20367
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 {
20372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20373 }
20374 return resultobj;
20375 fail:
20376 return NULL;
20377 }
20378
20379
20380 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
20381 PyObject *resultobj;
20382 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20383 bool arg2 ;
20384 PyObject * obj0 = 0 ;
20385 PyObject * obj1 = 0 ;
20386 char *kwnames[] = {
20387 (char *) "self",(char *) "p", NULL
20388 };
20389
20390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
20391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20393 arg2 = (bool) SWIG_AsBool(obj1);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 {
20396 PyThreadState* __tstate = wxPyBeginAllowThreads();
20397 (arg1)->SetIsPreview(arg2);
20398
20399 wxPyEndAllowThreads(__tstate);
20400 if (PyErr_Occurred()) SWIG_fail;
20401 }
20402 Py_INCREF(Py_None); resultobj = Py_None;
20403 return resultobj;
20404 fail:
20405 return NULL;
20406 }
20407
20408
20409 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
20410 PyObject *resultobj;
20411 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20412 int arg2 ;
20413 int arg3 ;
20414 bool result;
20415 PyObject * obj0 = 0 ;
20416 PyObject * obj1 = 0 ;
20417 PyObject * obj2 = 0 ;
20418 char *kwnames[] = {
20419 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20420 };
20421
20422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
20423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20425 arg2 = (int) SWIG_AsInt(obj1);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 arg3 = (int) SWIG_AsInt(obj2);
20428 if (PyErr_Occurred()) SWIG_fail;
20429 {
20430 PyThreadState* __tstate = wxPyBeginAllowThreads();
20431 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
20432
20433 wxPyEndAllowThreads(__tstate);
20434 if (PyErr_Occurred()) SWIG_fail;
20435 }
20436 {
20437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20438 }
20439 return resultobj;
20440 fail:
20441 return NULL;
20442 }
20443
20444
20445 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
20446 PyObject *resultobj;
20447 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20448 PyObject * obj0 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
20454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 (arg1)->base_OnEndDocument();
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 Py_INCREF(Py_None); resultobj = Py_None;
20464 return resultobj;
20465 fail:
20466 return NULL;
20467 }
20468
20469
20470 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
20471 PyObject *resultobj;
20472 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20473 PyObject * obj0 = 0 ;
20474 char *kwnames[] = {
20475 (char *) "self", NULL
20476 };
20477
20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
20479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 (arg1)->base_OnBeginPrinting();
20484
20485 wxPyEndAllowThreads(__tstate);
20486 if (PyErr_Occurred()) SWIG_fail;
20487 }
20488 Py_INCREF(Py_None); resultobj = Py_None;
20489 return resultobj;
20490 fail:
20491 return NULL;
20492 }
20493
20494
20495 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
20496 PyObject *resultobj;
20497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20498 PyObject * obj0 = 0 ;
20499 char *kwnames[] = {
20500 (char *) "self", NULL
20501 };
20502
20503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
20504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20506 {
20507 PyThreadState* __tstate = wxPyBeginAllowThreads();
20508 (arg1)->base_OnEndPrinting();
20509
20510 wxPyEndAllowThreads(__tstate);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 }
20513 Py_INCREF(Py_None); resultobj = Py_None;
20514 return resultobj;
20515 fail:
20516 return NULL;
20517 }
20518
20519
20520 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj;
20522 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20523 PyObject * obj0 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "self", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
20529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 (arg1)->base_OnPreparePrinting();
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 Py_INCREF(Py_None); resultobj = Py_None;
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj;
20547 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20548 int arg2 ;
20549 bool result;
20550 PyObject * obj0 = 0 ;
20551 PyObject * obj1 = 0 ;
20552 char *kwnames[] = {
20553 (char *) "self",(char *) "page", NULL
20554 };
20555
20556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
20557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20559 arg2 = (int) SWIG_AsInt(obj1);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
20563 result = (bool)(arg1)->base_HasPage(arg2);
20564
20565 wxPyEndAllowThreads(__tstate);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
20568 {
20569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20570 }
20571 return resultobj;
20572 fail:
20573 return NULL;
20574 }
20575
20576
20577 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20578 PyObject *resultobj;
20579 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20580 int *arg2 = (int *) 0 ;
20581 int *arg3 = (int *) 0 ;
20582 int *arg4 = (int *) 0 ;
20583 int *arg5 = (int *) 0 ;
20584 int temp2 ;
20585 int temp3 ;
20586 int temp4 ;
20587 int temp5 ;
20588 PyObject * obj0 = 0 ;
20589 char *kwnames[] = {
20590 (char *) "self", NULL
20591 };
20592
20593 arg2 = &temp2;
20594 arg3 = &temp3;
20595 arg4 = &temp4;
20596 arg5 = &temp5;
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
20598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
20599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20600 {
20601 PyThreadState* __tstate = wxPyBeginAllowThreads();
20602 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
20603
20604 wxPyEndAllowThreads(__tstate);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 Py_INCREF(Py_None); resultobj = Py_None;
20608 {
20609 PyObject *o = PyInt_FromLong((long) (*arg2));
20610 resultobj = t_output_helper(resultobj,o);
20611 }
20612 {
20613 PyObject *o = PyInt_FromLong((long) (*arg3));
20614 resultobj = t_output_helper(resultobj,o);
20615 }
20616 {
20617 PyObject *o = PyInt_FromLong((long) (*arg4));
20618 resultobj = t_output_helper(resultobj,o);
20619 }
20620 {
20621 PyObject *o = PyInt_FromLong((long) (*arg5));
20622 resultobj = t_output_helper(resultobj,o);
20623 }
20624 return resultobj;
20625 fail:
20626 return NULL;
20627 }
20628
20629
20630 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
20631 PyObject *obj;
20632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20633 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
20634 Py_INCREF(obj);
20635 return Py_BuildValue((char *)"");
20636 }
20637 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
20638 PyObject *resultobj;
20639 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20640 wxWindow *arg2 = (wxWindow *) 0 ;
20641 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20642 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20643 wxSize const &arg4_defvalue = wxDefaultSize ;
20644 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20645 long arg5 = (long) 0 ;
20646 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
20647 wxString *arg6 = (wxString *) &arg6_defvalue ;
20648 wxPreviewCanvas *result;
20649 wxPoint temp3 ;
20650 wxSize temp4 ;
20651 bool temp6 = False ;
20652 PyObject * obj0 = 0 ;
20653 PyObject * obj1 = 0 ;
20654 PyObject * obj2 = 0 ;
20655 PyObject * obj3 = 0 ;
20656 PyObject * obj4 = 0 ;
20657 PyObject * obj5 = 0 ;
20658 char *kwnames[] = {
20659 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20660 };
20661
20662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
20664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20665 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20667 if (obj2) {
20668 {
20669 arg3 = &temp3;
20670 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20671 }
20672 }
20673 if (obj3) {
20674 {
20675 arg4 = &temp4;
20676 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20677 }
20678 }
20679 if (obj4) {
20680 arg5 = (long) SWIG_AsLong(obj4);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 if (obj5) {
20684 {
20685 arg6 = wxString_in_helper(obj5);
20686 if (arg6 == NULL) SWIG_fail;
20687 temp6 = True;
20688 }
20689 }
20690 {
20691 PyThreadState* __tstate = wxPyBeginAllowThreads();
20692 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20693
20694 wxPyEndAllowThreads(__tstate);
20695 if (PyErr_Occurred()) SWIG_fail;
20696 }
20697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
20698 {
20699 if (temp6)
20700 delete arg6;
20701 }
20702 return resultobj;
20703 fail:
20704 {
20705 if (temp6)
20706 delete arg6;
20707 }
20708 return NULL;
20709 }
20710
20711
20712 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
20713 PyObject *obj;
20714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20715 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
20716 Py_INCREF(obj);
20717 return Py_BuildValue((char *)"");
20718 }
20719 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
20720 PyObject *resultobj;
20721 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20722 wxFrame *arg2 = (wxFrame *) 0 ;
20723 wxString *arg3 = 0 ;
20724 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20725 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20726 wxSize const &arg5_defvalue = wxDefaultSize ;
20727 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20728 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20729 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20730 wxString *arg7 = (wxString *) &arg7_defvalue ;
20731 wxPreviewFrame *result;
20732 bool temp3 = False ;
20733 wxPoint temp4 ;
20734 wxSize temp5 ;
20735 bool temp7 = False ;
20736 PyObject * obj0 = 0 ;
20737 PyObject * obj1 = 0 ;
20738 PyObject * obj2 = 0 ;
20739 PyObject * obj3 = 0 ;
20740 PyObject * obj4 = 0 ;
20741 PyObject * obj5 = 0 ;
20742 PyObject * obj6 = 0 ;
20743 char *kwnames[] = {
20744 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20745 };
20746
20747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
20749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
20751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20752 {
20753 arg3 = wxString_in_helper(obj2);
20754 if (arg3 == NULL) SWIG_fail;
20755 temp3 = True;
20756 }
20757 if (obj3) {
20758 {
20759 arg4 = &temp4;
20760 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20761 }
20762 }
20763 if (obj4) {
20764 {
20765 arg5 = &temp5;
20766 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20767 }
20768 }
20769 if (obj5) {
20770 arg6 = (long) SWIG_AsLong(obj5);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 if (obj6) {
20774 {
20775 arg7 = wxString_in_helper(obj6);
20776 if (arg7 == NULL) SWIG_fail;
20777 temp7 = True;
20778 }
20779 }
20780 {
20781 PyThreadState* __tstate = wxPyBeginAllowThreads();
20782 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20783
20784 wxPyEndAllowThreads(__tstate);
20785 if (PyErr_Occurred()) SWIG_fail;
20786 }
20787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
20788 {
20789 if (temp3)
20790 delete arg3;
20791 }
20792 {
20793 if (temp7)
20794 delete arg7;
20795 }
20796 return resultobj;
20797 fail:
20798 {
20799 if (temp3)
20800 delete arg3;
20801 }
20802 {
20803 if (temp7)
20804 delete arg7;
20805 }
20806 return NULL;
20807 }
20808
20809
20810 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
20811 PyObject *resultobj;
20812 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20813 PyObject * obj0 = 0 ;
20814 char *kwnames[] = {
20815 (char *) "self", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
20819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
20820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20821 {
20822 PyThreadState* __tstate = wxPyBeginAllowThreads();
20823 (arg1)->Initialize();
20824
20825 wxPyEndAllowThreads(__tstate);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 }
20828 Py_INCREF(Py_None); resultobj = Py_None;
20829 return resultobj;
20830 fail:
20831 return NULL;
20832 }
20833
20834
20835 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
20836 PyObject *resultobj;
20837 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20838 PyObject * obj0 = 0 ;
20839 char *kwnames[] = {
20840 (char *) "self", NULL
20841 };
20842
20843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
20844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
20845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20846 {
20847 PyThreadState* __tstate = wxPyBeginAllowThreads();
20848 (arg1)->CreateControlBar();
20849
20850 wxPyEndAllowThreads(__tstate);
20851 if (PyErr_Occurred()) SWIG_fail;
20852 }
20853 Py_INCREF(Py_None); resultobj = Py_None;
20854 return resultobj;
20855 fail:
20856 return NULL;
20857 }
20858
20859
20860 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
20861 PyObject *resultobj;
20862 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20863 PyObject * obj0 = 0 ;
20864 char *kwnames[] = {
20865 (char *) "self", NULL
20866 };
20867
20868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
20869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
20870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20871 {
20872 PyThreadState* __tstate = wxPyBeginAllowThreads();
20873 (arg1)->CreateCanvas();
20874
20875 wxPyEndAllowThreads(__tstate);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 }
20878 Py_INCREF(Py_None); resultobj = Py_None;
20879 return resultobj;
20880 fail:
20881 return NULL;
20882 }
20883
20884
20885 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
20886 PyObject *resultobj;
20887 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20888 wxPreviewControlBar *result;
20889 PyObject * obj0 = 0 ;
20890 char *kwnames[] = {
20891 (char *) "self", NULL
20892 };
20893
20894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
20895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
20896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20897 {
20898 PyThreadState* __tstate = wxPyBeginAllowThreads();
20899 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
20900
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
20904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
20905 return resultobj;
20906 fail:
20907 return NULL;
20908 }
20909
20910
20911 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
20912 PyObject *obj;
20913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20914 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
20915 Py_INCREF(obj);
20916 return Py_BuildValue((char *)"");
20917 }
20918 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
20919 PyObject *resultobj;
20920 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20921 long arg2 ;
20922 wxWindow *arg3 = (wxWindow *) 0 ;
20923 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20924 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20925 wxSize const &arg5_defvalue = wxDefaultSize ;
20926 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20927 long arg6 = (long) wxTAB_TRAVERSAL ;
20928 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20929 wxString *arg7 = (wxString *) &arg7_defvalue ;
20930 wxPreviewControlBar *result;
20931 wxPoint temp4 ;
20932 wxSize temp5 ;
20933 bool temp7 = False ;
20934 PyObject * obj0 = 0 ;
20935 PyObject * obj1 = 0 ;
20936 PyObject * obj2 = 0 ;
20937 PyObject * obj3 = 0 ;
20938 PyObject * obj4 = 0 ;
20939 PyObject * obj5 = 0 ;
20940 PyObject * obj6 = 0 ;
20941 char *kwnames[] = {
20942 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20943 };
20944
20945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
20947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20948 arg2 = (long) SWIG_AsLong(obj1);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
20951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20952 if (obj3) {
20953 {
20954 arg4 = &temp4;
20955 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20956 }
20957 }
20958 if (obj4) {
20959 {
20960 arg5 = &temp5;
20961 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20962 }
20963 }
20964 if (obj5) {
20965 arg6 = (long) SWIG_AsLong(obj5);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 if (obj6) {
20969 {
20970 arg7 = wxString_in_helper(obj6);
20971 if (arg7 == NULL) SWIG_fail;
20972 temp7 = True;
20973 }
20974 }
20975 {
20976 PyThreadState* __tstate = wxPyBeginAllowThreads();
20977 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20978
20979 wxPyEndAllowThreads(__tstate);
20980 if (PyErr_Occurred()) SWIG_fail;
20981 }
20982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
20983 {
20984 if (temp7)
20985 delete arg7;
20986 }
20987 return resultobj;
20988 fail:
20989 {
20990 if (temp7)
20991 delete arg7;
20992 }
20993 return NULL;
20994 }
20995
20996
20997 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
20998 PyObject *resultobj;
20999 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21000 int result;
21001 PyObject * obj0 = 0 ;
21002 char *kwnames[] = {
21003 (char *) "self", NULL
21004 };
21005
21006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
21007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21009 {
21010 PyThreadState* __tstate = wxPyBeginAllowThreads();
21011 result = (int)(arg1)->GetZoomControl();
21012
21013 wxPyEndAllowThreads(__tstate);
21014 if (PyErr_Occurred()) SWIG_fail;
21015 }
21016 resultobj = SWIG_FromInt((int)result);
21017 return resultobj;
21018 fail:
21019 return NULL;
21020 }
21021
21022
21023 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
21024 PyObject *resultobj;
21025 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21026 int arg2 ;
21027 PyObject * obj0 = 0 ;
21028 PyObject * obj1 = 0 ;
21029 char *kwnames[] = {
21030 (char *) "self",(char *) "zoom", NULL
21031 };
21032
21033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
21034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21036 arg2 = (int) SWIG_AsInt(obj1);
21037 if (PyErr_Occurred()) SWIG_fail;
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 (arg1)->SetZoomControl(arg2);
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 Py_INCREF(Py_None); resultobj = Py_None;
21046 return resultobj;
21047 fail:
21048 return NULL;
21049 }
21050
21051
21052 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
21053 PyObject *resultobj;
21054 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21055 wxPrintPreview *result;
21056 PyObject * obj0 = 0 ;
21057 char *kwnames[] = {
21058 (char *) "self", NULL
21059 };
21060
21061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
21062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21064 {
21065 PyThreadState* __tstate = wxPyBeginAllowThreads();
21066 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
21067
21068 wxPyEndAllowThreads(__tstate);
21069 if (PyErr_Occurred()) SWIG_fail;
21070 }
21071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
21072 return resultobj;
21073 fail:
21074 return NULL;
21075 }
21076
21077
21078 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
21079 PyObject *resultobj;
21080 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21081 PyObject * obj0 = 0 ;
21082 char *kwnames[] = {
21083 (char *) "self", NULL
21084 };
21085
21086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
21087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21089 {
21090 PyThreadState* __tstate = wxPyBeginAllowThreads();
21091 (arg1)->OnNext();
21092
21093 wxPyEndAllowThreads(__tstate);
21094 if (PyErr_Occurred()) SWIG_fail;
21095 }
21096 Py_INCREF(Py_None); resultobj = Py_None;
21097 return resultobj;
21098 fail:
21099 return NULL;
21100 }
21101
21102
21103 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
21104 PyObject *resultobj;
21105 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21106 PyObject * obj0 = 0 ;
21107 char *kwnames[] = {
21108 (char *) "self", NULL
21109 };
21110
21111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
21112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21114 {
21115 PyThreadState* __tstate = wxPyBeginAllowThreads();
21116 (arg1)->OnPrevious();
21117
21118 wxPyEndAllowThreads(__tstate);
21119 if (PyErr_Occurred()) SWIG_fail;
21120 }
21121 Py_INCREF(Py_None); resultobj = Py_None;
21122 return resultobj;
21123 fail:
21124 return NULL;
21125 }
21126
21127
21128 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
21129 PyObject *resultobj;
21130 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21131 PyObject * obj0 = 0 ;
21132 char *kwnames[] = {
21133 (char *) "self", NULL
21134 };
21135
21136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
21137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21139 {
21140 PyThreadState* __tstate = wxPyBeginAllowThreads();
21141 (arg1)->OnFirst();
21142
21143 wxPyEndAllowThreads(__tstate);
21144 if (PyErr_Occurred()) SWIG_fail;
21145 }
21146 Py_INCREF(Py_None); resultobj = Py_None;
21147 return resultobj;
21148 fail:
21149 return NULL;
21150 }
21151
21152
21153 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
21154 PyObject *resultobj;
21155 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21156 PyObject * obj0 = 0 ;
21157 char *kwnames[] = {
21158 (char *) "self", NULL
21159 };
21160
21161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
21162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21164 {
21165 PyThreadState* __tstate = wxPyBeginAllowThreads();
21166 (arg1)->OnLast();
21167
21168 wxPyEndAllowThreads(__tstate);
21169 if (PyErr_Occurred()) SWIG_fail;
21170 }
21171 Py_INCREF(Py_None); resultobj = Py_None;
21172 return resultobj;
21173 fail:
21174 return NULL;
21175 }
21176
21177
21178 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
21179 PyObject *resultobj;
21180 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21181 PyObject * obj0 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
21187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
21188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21189 {
21190 PyThreadState* __tstate = wxPyBeginAllowThreads();
21191 (arg1)->OnGoto();
21192
21193 wxPyEndAllowThreads(__tstate);
21194 if (PyErr_Occurred()) SWIG_fail;
21195 }
21196 Py_INCREF(Py_None); resultobj = Py_None;
21197 return resultobj;
21198 fail:
21199 return NULL;
21200 }
21201
21202
21203 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
21204 PyObject *obj;
21205 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21206 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
21207 Py_INCREF(obj);
21208 return Py_BuildValue((char *)"");
21209 }
21210 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
21211 PyObject *resultobj;
21212 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21213 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21214 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
21215 wxPrintPreview *result;
21216 PyObject * obj0 = 0 ;
21217 PyObject * obj1 = 0 ;
21218 PyObject * obj2 = 0 ;
21219
21220 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
21221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21223 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21225 if (obj2) {
21226 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
21227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21228 }
21229 {
21230 PyThreadState* __tstate = wxPyBeginAllowThreads();
21231 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
21232
21233 wxPyEndAllowThreads(__tstate);
21234 if (PyErr_Occurred()) SWIG_fail;
21235 }
21236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
21237 return resultobj;
21238 fail:
21239 return NULL;
21240 }
21241
21242
21243 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
21244 PyObject *resultobj;
21245 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21246 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21247 wxPrintData *arg3 = (wxPrintData *) 0 ;
21248 wxPrintPreview *result;
21249 PyObject * obj0 = 0 ;
21250 PyObject * obj1 = 0 ;
21251 PyObject * obj2 = 0 ;
21252
21253 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
21254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21256 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21258 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
21259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21260 {
21261 PyThreadState* __tstate = wxPyBeginAllowThreads();
21262 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
21263
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
21268 return resultobj;
21269 fail:
21270 return NULL;
21271 }
21272
21273
21274 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
21275 int argc;
21276 PyObject *argv[4];
21277 int ii;
21278
21279 argc = PyObject_Length(args);
21280 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
21281 argv[ii] = PyTuple_GetItem(args,ii);
21282 }
21283 if ((argc >= 2) && (argc <= 3)) {
21284 int _v;
21285 {
21286 void *ptr;
21287 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
21288 _v = 0;
21289 PyErr_Clear();
21290 } else {
21291 _v = 1;
21292 }
21293 }
21294 if (_v) {
21295 {
21296 void *ptr;
21297 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
21298 _v = 0;
21299 PyErr_Clear();
21300 } else {
21301 _v = 1;
21302 }
21303 }
21304 if (_v) {
21305 if (argc <= 2) {
21306 return _wrap_new_PrintPreview__SWIG_0(self,args);
21307 }
21308 {
21309 void *ptr;
21310 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
21311 _v = 0;
21312 PyErr_Clear();
21313 } else {
21314 _v = 1;
21315 }
21316 }
21317 if (_v) {
21318 return _wrap_new_PrintPreview__SWIG_0(self,args);
21319 }
21320 }
21321 }
21322 }
21323 if (argc == 3) {
21324 int _v;
21325 {
21326 void *ptr;
21327 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
21328 _v = 0;
21329 PyErr_Clear();
21330 } else {
21331 _v = 1;
21332 }
21333 }
21334 if (_v) {
21335 {
21336 void *ptr;
21337 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
21338 _v = 0;
21339 PyErr_Clear();
21340 } else {
21341 _v = 1;
21342 }
21343 }
21344 if (_v) {
21345 {
21346 void *ptr;
21347 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21348 _v = 0;
21349 PyErr_Clear();
21350 } else {
21351 _v = 1;
21352 }
21353 }
21354 if (_v) {
21355 return _wrap_new_PrintPreview__SWIG_1(self,args);
21356 }
21357 }
21358 }
21359 }
21360
21361 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
21362 return NULL;
21363 }
21364
21365
21366 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
21367 PyObject *resultobj;
21368 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21369 int arg2 ;
21370 bool result;
21371 PyObject * obj0 = 0 ;
21372 PyObject * obj1 = 0 ;
21373 char *kwnames[] = {
21374 (char *) "self",(char *) "pageNum", NULL
21375 };
21376
21377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21380 arg2 = (int) SWIG_AsInt(obj1);
21381 if (PyErr_Occurred()) SWIG_fail;
21382 {
21383 PyThreadState* __tstate = wxPyBeginAllowThreads();
21384 result = (bool)(arg1)->SetCurrentPage(arg2);
21385
21386 wxPyEndAllowThreads(__tstate);
21387 if (PyErr_Occurred()) SWIG_fail;
21388 }
21389 {
21390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21391 }
21392 return resultobj;
21393 fail:
21394 return NULL;
21395 }
21396
21397
21398 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
21399 PyObject *resultobj;
21400 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21401 int result;
21402 PyObject * obj0 = 0 ;
21403 char *kwnames[] = {
21404 (char *) "self", NULL
21405 };
21406
21407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
21408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21410 {
21411 PyThreadState* __tstate = wxPyBeginAllowThreads();
21412 result = (int)(arg1)->GetCurrentPage();
21413
21414 wxPyEndAllowThreads(__tstate);
21415 if (PyErr_Occurred()) SWIG_fail;
21416 }
21417 resultobj = SWIG_FromInt((int)result);
21418 return resultobj;
21419 fail:
21420 return NULL;
21421 }
21422
21423
21424 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
21425 PyObject *resultobj;
21426 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21427 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21428 PyObject * obj0 = 0 ;
21429 PyObject * obj1 = 0 ;
21430 char *kwnames[] = {
21431 (char *) "self",(char *) "printout", NULL
21432 };
21433
21434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
21435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
21438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21439 {
21440 PyThreadState* __tstate = wxPyBeginAllowThreads();
21441 (arg1)->SetPrintout(arg2);
21442
21443 wxPyEndAllowThreads(__tstate);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 }
21446 Py_INCREF(Py_None); resultobj = Py_None;
21447 return resultobj;
21448 fail:
21449 return NULL;
21450 }
21451
21452
21453 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
21454 PyObject *resultobj;
21455 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21456 wxPyPrintout *result;
21457 PyObject * obj0 = 0 ;
21458 char *kwnames[] = {
21459 (char *) "self", NULL
21460 };
21461
21462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
21463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21465 {
21466 PyThreadState* __tstate = wxPyBeginAllowThreads();
21467 result = (wxPyPrintout *)(arg1)->GetPrintout();
21468
21469 wxPyEndAllowThreads(__tstate);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 }
21472 {
21473 resultobj = wxPyMake_wxObject(result);
21474 }
21475 return resultobj;
21476 fail:
21477 return NULL;
21478 }
21479
21480
21481 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
21482 PyObject *resultobj;
21483 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21484 wxPyPrintout *result;
21485 PyObject * obj0 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
21491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 {
21501 resultobj = wxPyMake_wxObject(result);
21502 }
21503 return resultobj;
21504 fail:
21505 return NULL;
21506 }
21507
21508
21509 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
21510 PyObject *resultobj;
21511 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21512 wxFrame *arg2 = (wxFrame *) 0 ;
21513 PyObject * obj0 = 0 ;
21514 PyObject * obj1 = 0 ;
21515 char *kwnames[] = {
21516 (char *) "self",(char *) "frame", NULL
21517 };
21518
21519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
21520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21524 {
21525 PyThreadState* __tstate = wxPyBeginAllowThreads();
21526 (arg1)->SetFrame(arg2);
21527
21528 wxPyEndAllowThreads(__tstate);
21529 if (PyErr_Occurred()) SWIG_fail;
21530 }
21531 Py_INCREF(Py_None); resultobj = Py_None;
21532 return resultobj;
21533 fail:
21534 return NULL;
21535 }
21536
21537
21538 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
21539 PyObject *resultobj;
21540 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21541 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21542 PyObject * obj0 = 0 ;
21543 PyObject * obj1 = 0 ;
21544 char *kwnames[] = {
21545 (char *) "self",(char *) "canvas", NULL
21546 };
21547
21548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
21549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21553 {
21554 PyThreadState* __tstate = wxPyBeginAllowThreads();
21555 (arg1)->SetCanvas(arg2);
21556
21557 wxPyEndAllowThreads(__tstate);
21558 if (PyErr_Occurred()) SWIG_fail;
21559 }
21560 Py_INCREF(Py_None); resultobj = Py_None;
21561 return resultobj;
21562 fail:
21563 return NULL;
21564 }
21565
21566
21567 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj;
21569 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21570 wxFrame *result;
21571 PyObject * obj0 = 0 ;
21572 char *kwnames[] = {
21573 (char *) "self", NULL
21574 };
21575
21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
21577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21579 {
21580 PyThreadState* __tstate = wxPyBeginAllowThreads();
21581 result = (wxFrame *)(arg1)->GetFrame();
21582
21583 wxPyEndAllowThreads(__tstate);
21584 if (PyErr_Occurred()) SWIG_fail;
21585 }
21586 {
21587 resultobj = wxPyMake_wxObject(result);
21588 }
21589 return resultobj;
21590 fail:
21591 return NULL;
21592 }
21593
21594
21595 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
21596 PyObject *resultobj;
21597 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21598 wxPreviewCanvas *result;
21599 PyObject * obj0 = 0 ;
21600 char *kwnames[] = {
21601 (char *) "self", NULL
21602 };
21603
21604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
21605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21607 {
21608 PyThreadState* __tstate = wxPyBeginAllowThreads();
21609 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
21610
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
21614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
21615 return resultobj;
21616 fail:
21617 return NULL;
21618 }
21619
21620
21621 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
21622 PyObject *resultobj;
21623 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21624 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21625 wxDC *arg3 = 0 ;
21626 bool result;
21627 PyObject * obj0 = 0 ;
21628 PyObject * obj1 = 0 ;
21629 PyObject * obj2 = 0 ;
21630 char *kwnames[] = {
21631 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21632 };
21633
21634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21637 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21639 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
21640 SWIG_POINTER_EXCEPTION | 0)) == -1)
21641 SWIG_fail;
21642 if (arg3 == NULL) {
21643 PyErr_SetString(PyExc_TypeError,"null reference");
21644 SWIG_fail;
21645 }
21646 {
21647 PyThreadState* __tstate = wxPyBeginAllowThreads();
21648 result = (bool)(arg1)->PaintPage(arg2,*arg3);
21649
21650 wxPyEndAllowThreads(__tstate);
21651 if (PyErr_Occurred()) SWIG_fail;
21652 }
21653 {
21654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21655 }
21656 return resultobj;
21657 fail:
21658 return NULL;
21659 }
21660
21661
21662 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
21663 PyObject *resultobj;
21664 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21665 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21666 wxDC *arg3 = 0 ;
21667 bool result;
21668 PyObject * obj0 = 0 ;
21669 PyObject * obj1 = 0 ;
21670 PyObject * obj2 = 0 ;
21671 char *kwnames[] = {
21672 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21673 };
21674
21675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21678 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21680 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
21681 SWIG_POINTER_EXCEPTION | 0)) == -1)
21682 SWIG_fail;
21683 if (arg3 == NULL) {
21684 PyErr_SetString(PyExc_TypeError,"null reference");
21685 SWIG_fail;
21686 }
21687 {
21688 PyThreadState* __tstate = wxPyBeginAllowThreads();
21689 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
21690
21691 wxPyEndAllowThreads(__tstate);
21692 if (PyErr_Occurred()) SWIG_fail;
21693 }
21694 {
21695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21696 }
21697 return resultobj;
21698 fail:
21699 return NULL;
21700 }
21701
21702
21703 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
21704 PyObject *resultobj;
21705 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21706 int arg2 ;
21707 bool result;
21708 PyObject * obj0 = 0 ;
21709 PyObject * obj1 = 0 ;
21710 char *kwnames[] = {
21711 (char *) "self",(char *) "pageNum", NULL
21712 };
21713
21714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
21715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21717 arg2 = (int) SWIG_AsInt(obj1);
21718 if (PyErr_Occurred()) SWIG_fail;
21719 {
21720 PyThreadState* __tstate = wxPyBeginAllowThreads();
21721 result = (bool)(arg1)->RenderPage(arg2);
21722
21723 wxPyEndAllowThreads(__tstate);
21724 if (PyErr_Occurred()) SWIG_fail;
21725 }
21726 {
21727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21728 }
21729 return resultobj;
21730 fail:
21731 return NULL;
21732 }
21733
21734
21735 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
21736 PyObject *resultobj;
21737 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21738 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21739 PyObject * obj0 = 0 ;
21740 PyObject * obj1 = 0 ;
21741 char *kwnames[] = {
21742 (char *) "self",(char *) "canvas", NULL
21743 };
21744
21745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
21746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
21749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21750 {
21751 PyThreadState* __tstate = wxPyBeginAllowThreads();
21752 (arg1)->AdjustScrollbars(arg2);
21753
21754 wxPyEndAllowThreads(__tstate);
21755 if (PyErr_Occurred()) SWIG_fail;
21756 }
21757 Py_INCREF(Py_None); resultobj = Py_None;
21758 return resultobj;
21759 fail:
21760 return NULL;
21761 }
21762
21763
21764 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21765 PyObject *resultobj;
21766 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21767 wxPrintDialogData *result;
21768 PyObject * obj0 = 0 ;
21769 char *kwnames[] = {
21770 (char *) "self", NULL
21771 };
21772
21773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
21774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21776 {
21777 PyThreadState* __tstate = wxPyBeginAllowThreads();
21778 {
21779 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21780 result = (wxPrintDialogData *) &_result_ref;
21781 }
21782
21783 wxPyEndAllowThreads(__tstate);
21784 if (PyErr_Occurred()) SWIG_fail;
21785 }
21786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21787 return resultobj;
21788 fail:
21789 return NULL;
21790 }
21791
21792
21793 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
21794 PyObject *resultobj;
21795 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21796 int arg2 ;
21797 PyObject * obj0 = 0 ;
21798 PyObject * obj1 = 0 ;
21799 char *kwnames[] = {
21800 (char *) "self",(char *) "percent", NULL
21801 };
21802
21803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
21804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21806 arg2 = (int) SWIG_AsInt(obj1);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 {
21809 PyThreadState* __tstate = wxPyBeginAllowThreads();
21810 (arg1)->SetZoom(arg2);
21811
21812 wxPyEndAllowThreads(__tstate);
21813 if (PyErr_Occurred()) SWIG_fail;
21814 }
21815 Py_INCREF(Py_None); resultobj = Py_None;
21816 return resultobj;
21817 fail:
21818 return NULL;
21819 }
21820
21821
21822 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
21823 PyObject *resultobj;
21824 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21825 int result;
21826 PyObject * obj0 = 0 ;
21827 char *kwnames[] = {
21828 (char *) "self", NULL
21829 };
21830
21831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
21832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21834 {
21835 PyThreadState* __tstate = wxPyBeginAllowThreads();
21836 result = (int)(arg1)->GetZoom();
21837
21838 wxPyEndAllowThreads(__tstate);
21839 if (PyErr_Occurred()) SWIG_fail;
21840 }
21841 resultobj = SWIG_FromInt((int)result);
21842 return resultobj;
21843 fail:
21844 return NULL;
21845 }
21846
21847
21848 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21849 PyObject *resultobj;
21850 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21851 int result;
21852 PyObject * obj0 = 0 ;
21853 char *kwnames[] = {
21854 (char *) "self", NULL
21855 };
21856
21857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
21858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21860 {
21861 PyThreadState* __tstate = wxPyBeginAllowThreads();
21862 result = (int)(arg1)->GetMaxPage();
21863
21864 wxPyEndAllowThreads(__tstate);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 }
21867 resultobj = SWIG_FromInt((int)result);
21868 return resultobj;
21869 fail:
21870 return NULL;
21871 }
21872
21873
21874 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21875 PyObject *resultobj;
21876 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21877 int result;
21878 PyObject * obj0 = 0 ;
21879 char *kwnames[] = {
21880 (char *) "self", NULL
21881 };
21882
21883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
21884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21886 {
21887 PyThreadState* __tstate = wxPyBeginAllowThreads();
21888 result = (int)(arg1)->GetMinPage();
21889
21890 wxPyEndAllowThreads(__tstate);
21891 if (PyErr_Occurred()) SWIG_fail;
21892 }
21893 resultobj = SWIG_FromInt((int)result);
21894 return resultobj;
21895 fail:
21896 return NULL;
21897 }
21898
21899
21900 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21901 PyObject *resultobj;
21902 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21903 bool result;
21904 PyObject * obj0 = 0 ;
21905 char *kwnames[] = {
21906 (char *) "self", NULL
21907 };
21908
21909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
21910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21912 {
21913 PyThreadState* __tstate = wxPyBeginAllowThreads();
21914 result = (bool)(arg1)->Ok();
21915
21916 wxPyEndAllowThreads(__tstate);
21917 if (PyErr_Occurred()) SWIG_fail;
21918 }
21919 {
21920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21921 }
21922 return resultobj;
21923 fail:
21924 return NULL;
21925 }
21926
21927
21928 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
21929 PyObject *resultobj;
21930 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21931 bool arg2 ;
21932 PyObject * obj0 = 0 ;
21933 PyObject * obj1 = 0 ;
21934 char *kwnames[] = {
21935 (char *) "self",(char *) "ok", NULL
21936 };
21937
21938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
21939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21941 arg2 = (bool) SWIG_AsBool(obj1);
21942 if (PyErr_Occurred()) SWIG_fail;
21943 {
21944 PyThreadState* __tstate = wxPyBeginAllowThreads();
21945 (arg1)->SetOk(arg2);
21946
21947 wxPyEndAllowThreads(__tstate);
21948 if (PyErr_Occurred()) SWIG_fail;
21949 }
21950 Py_INCREF(Py_None); resultobj = Py_None;
21951 return resultobj;
21952 fail:
21953 return NULL;
21954 }
21955
21956
21957 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
21958 PyObject *resultobj;
21959 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21960 bool arg2 ;
21961 bool result;
21962 PyObject * obj0 = 0 ;
21963 PyObject * obj1 = 0 ;
21964 char *kwnames[] = {
21965 (char *) "self",(char *) "interactive", NULL
21966 };
21967
21968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
21969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21971 arg2 = (bool) SWIG_AsBool(obj1);
21972 if (PyErr_Occurred()) SWIG_fail;
21973 {
21974 PyThreadState* __tstate = wxPyBeginAllowThreads();
21975 result = (bool)(arg1)->Print(arg2);
21976
21977 wxPyEndAllowThreads(__tstate);
21978 if (PyErr_Occurred()) SWIG_fail;
21979 }
21980 {
21981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21982 }
21983 return resultobj;
21984 fail:
21985 return NULL;
21986 }
21987
21988
21989 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
21990 PyObject *resultobj;
21991 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21992 PyObject * obj0 = 0 ;
21993 char *kwnames[] = {
21994 (char *) "self", NULL
21995 };
21996
21997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
21998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 (arg1)->DetermineScaling();
22003
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 Py_INCREF(Py_None); resultobj = Py_None;
22008 return resultobj;
22009 fail:
22010 return NULL;
22011 }
22012
22013
22014 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
22015 PyObject *obj;
22016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22017 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
22018 Py_INCREF(obj);
22019 return Py_BuildValue((char *)"");
22020 }
22021 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
22022 PyObject *resultobj;
22023 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22024 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22025 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22026 wxPyPrintPreview *result;
22027 PyObject * obj0 = 0 ;
22028 PyObject * obj1 = 0 ;
22029 PyObject * obj2 = 0 ;
22030
22031 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
22032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22034 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22036 if (obj2) {
22037 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22039 }
22040 {
22041 PyThreadState* __tstate = wxPyBeginAllowThreads();
22042 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
22043
22044 wxPyEndAllowThreads(__tstate);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
22047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
22048 return resultobj;
22049 fail:
22050 return NULL;
22051 }
22052
22053
22054 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
22055 PyObject *resultobj;
22056 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22057 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22058 wxPrintData *arg3 = (wxPrintData *) 0 ;
22059 wxPyPrintPreview *result;
22060 PyObject * obj0 = 0 ;
22061 PyObject * obj1 = 0 ;
22062 PyObject * obj2 = 0 ;
22063
22064 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
22065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22069 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22071 {
22072 PyThreadState* __tstate = wxPyBeginAllowThreads();
22073 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
22074
22075 wxPyEndAllowThreads(__tstate);
22076 if (PyErr_Occurred()) SWIG_fail;
22077 }
22078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
22079 return resultobj;
22080 fail:
22081 return NULL;
22082 }
22083
22084
22085 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
22086 int argc;
22087 PyObject *argv[4];
22088 int ii;
22089
22090 argc = PyObject_Length(args);
22091 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22092 argv[ii] = PyTuple_GetItem(args,ii);
22093 }
22094 if ((argc >= 2) && (argc <= 3)) {
22095 int _v;
22096 {
22097 void *ptr;
22098 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22099 _v = 0;
22100 PyErr_Clear();
22101 } else {
22102 _v = 1;
22103 }
22104 }
22105 if (_v) {
22106 {
22107 void *ptr;
22108 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22109 _v = 0;
22110 PyErr_Clear();
22111 } else {
22112 _v = 1;
22113 }
22114 }
22115 if (_v) {
22116 if (argc <= 2) {
22117 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
22118 }
22119 {
22120 void *ptr;
22121 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22122 _v = 0;
22123 PyErr_Clear();
22124 } else {
22125 _v = 1;
22126 }
22127 }
22128 if (_v) {
22129 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
22130 }
22131 }
22132 }
22133 }
22134 if (argc == 3) {
22135 int _v;
22136 {
22137 void *ptr;
22138 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22139 _v = 0;
22140 PyErr_Clear();
22141 } else {
22142 _v = 1;
22143 }
22144 }
22145 if (_v) {
22146 {
22147 void *ptr;
22148 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22149 _v = 0;
22150 PyErr_Clear();
22151 } else {
22152 _v = 1;
22153 }
22154 }
22155 if (_v) {
22156 {
22157 void *ptr;
22158 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22159 _v = 0;
22160 PyErr_Clear();
22161 } else {
22162 _v = 1;
22163 }
22164 }
22165 if (_v) {
22166 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
22167 }
22168 }
22169 }
22170 }
22171
22172 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
22173 return NULL;
22174 }
22175
22176
22177 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22178 PyObject *resultobj;
22179 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22180 PyObject *arg2 = (PyObject *) 0 ;
22181 PyObject *arg3 = (PyObject *) 0 ;
22182 PyObject * obj0 = 0 ;
22183 PyObject * obj1 = 0 ;
22184 PyObject * obj2 = 0 ;
22185 char *kwnames[] = {
22186 (char *) "self",(char *) "self",(char *) "_class", NULL
22187 };
22188
22189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22192 arg2 = obj1;
22193 arg3 = obj2;
22194 {
22195 PyThreadState* __tstate = wxPyBeginAllowThreads();
22196 (arg1)->_setCallbackInfo(arg2,arg3);
22197
22198 wxPyEndAllowThreads(__tstate);
22199 if (PyErr_Occurred()) SWIG_fail;
22200 }
22201 Py_INCREF(Py_None); resultobj = Py_None;
22202 return resultobj;
22203 fail:
22204 return NULL;
22205 }
22206
22207
22208 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
22209 PyObject *resultobj;
22210 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22211 int arg2 ;
22212 bool result;
22213 PyObject * obj0 = 0 ;
22214 PyObject * obj1 = 0 ;
22215 char *kwnames[] = {
22216 (char *) "self",(char *) "pageNum", NULL
22217 };
22218
22219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22222 arg2 = (int) SWIG_AsInt(obj1);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 {
22225 PyThreadState* __tstate = wxPyBeginAllowThreads();
22226 result = (bool)(arg1)->base_SetCurrentPage(arg2);
22227
22228 wxPyEndAllowThreads(__tstate);
22229 if (PyErr_Occurred()) SWIG_fail;
22230 }
22231 {
22232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22233 }
22234 return resultobj;
22235 fail:
22236 return NULL;
22237 }
22238
22239
22240 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
22241 PyObject *resultobj;
22242 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22243 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22244 wxDC *arg3 = 0 ;
22245 bool result;
22246 PyObject * obj0 = 0 ;
22247 PyObject * obj1 = 0 ;
22248 PyObject * obj2 = 0 ;
22249 char *kwnames[] = {
22250 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22251 };
22252
22253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22256 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22258 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22259 SWIG_POINTER_EXCEPTION | 0)) == -1)
22260 SWIG_fail;
22261 if (arg3 == NULL) {
22262 PyErr_SetString(PyExc_TypeError,"null reference");
22263 SWIG_fail;
22264 }
22265 {
22266 PyThreadState* __tstate = wxPyBeginAllowThreads();
22267 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
22268
22269 wxPyEndAllowThreads(__tstate);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 }
22272 {
22273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22274 }
22275 return resultobj;
22276 fail:
22277 return NULL;
22278 }
22279
22280
22281 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
22282 PyObject *resultobj;
22283 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22284 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22285 wxDC *arg3 = 0 ;
22286 bool result;
22287 PyObject * obj0 = 0 ;
22288 PyObject * obj1 = 0 ;
22289 PyObject * obj2 = 0 ;
22290 char *kwnames[] = {
22291 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22292 };
22293
22294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22299 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22300 SWIG_POINTER_EXCEPTION | 0)) == -1)
22301 SWIG_fail;
22302 if (arg3 == NULL) {
22303 PyErr_SetString(PyExc_TypeError,"null reference");
22304 SWIG_fail;
22305 }
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
22309
22310 wxPyEndAllowThreads(__tstate);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 }
22313 {
22314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22315 }
22316 return resultobj;
22317 fail:
22318 return NULL;
22319 }
22320
22321
22322 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
22323 PyObject *resultobj;
22324 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22325 int arg2 ;
22326 bool result;
22327 PyObject * obj0 = 0 ;
22328 PyObject * obj1 = 0 ;
22329 char *kwnames[] = {
22330 (char *) "self",(char *) "pageNum", NULL
22331 };
22332
22333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22336 arg2 = (int) SWIG_AsInt(obj1);
22337 if (PyErr_Occurred()) SWIG_fail;
22338 {
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 result = (bool)(arg1)->base_RenderPage(arg2);
22341
22342 wxPyEndAllowThreads(__tstate);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 }
22345 {
22346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22347 }
22348 return resultobj;
22349 fail:
22350 return NULL;
22351 }
22352
22353
22354 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
22355 PyObject *resultobj;
22356 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22357 int arg2 ;
22358 PyObject * obj0 = 0 ;
22359 PyObject * obj1 = 0 ;
22360 char *kwnames[] = {
22361 (char *) "self",(char *) "percent", NULL
22362 };
22363
22364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22367 arg2 = (int) SWIG_AsInt(obj1);
22368 if (PyErr_Occurred()) SWIG_fail;
22369 {
22370 PyThreadState* __tstate = wxPyBeginAllowThreads();
22371 (arg1)->base_SetZoom(arg2);
22372
22373 wxPyEndAllowThreads(__tstate);
22374 if (PyErr_Occurred()) SWIG_fail;
22375 }
22376 Py_INCREF(Py_None); resultobj = Py_None;
22377 return resultobj;
22378 fail:
22379 return NULL;
22380 }
22381
22382
22383 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
22384 PyObject *resultobj;
22385 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22386 bool arg2 ;
22387 bool result;
22388 PyObject * obj0 = 0 ;
22389 PyObject * obj1 = 0 ;
22390 char *kwnames[] = {
22391 (char *) "self",(char *) "interactive", NULL
22392 };
22393
22394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
22395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22397 arg2 = (bool) SWIG_AsBool(obj1);
22398 if (PyErr_Occurred()) SWIG_fail;
22399 {
22400 PyThreadState* __tstate = wxPyBeginAllowThreads();
22401 result = (bool)(arg1)->base_Print(arg2);
22402
22403 wxPyEndAllowThreads(__tstate);
22404 if (PyErr_Occurred()) SWIG_fail;
22405 }
22406 {
22407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22408 }
22409 return resultobj;
22410 fail:
22411 return NULL;
22412 }
22413
22414
22415 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
22416 PyObject *resultobj;
22417 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22418 PyObject * obj0 = 0 ;
22419 char *kwnames[] = {
22420 (char *) "self", NULL
22421 };
22422
22423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
22424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
22425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22426 {
22427 PyThreadState* __tstate = wxPyBeginAllowThreads();
22428 (arg1)->base_DetermineScaling();
22429
22430 wxPyEndAllowThreads(__tstate);
22431 if (PyErr_Occurred()) SWIG_fail;
22432 }
22433 Py_INCREF(Py_None); resultobj = Py_None;
22434 return resultobj;
22435 fail:
22436 return NULL;
22437 }
22438
22439
22440 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
22441 PyObject *obj;
22442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22443 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
22444 Py_INCREF(obj);
22445 return Py_BuildValue((char *)"");
22446 }
22447 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
22448 PyObject *resultobj;
22449 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22450 wxFrame *arg2 = (wxFrame *) 0 ;
22451 wxString *arg3 = 0 ;
22452 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22453 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22454 wxSize const &arg5_defvalue = wxDefaultSize ;
22455 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22456 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22457 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22458 wxString *arg7 = (wxString *) &arg7_defvalue ;
22459 wxPyPreviewFrame *result;
22460 bool temp3 = False ;
22461 wxPoint temp4 ;
22462 wxSize temp5 ;
22463 bool temp7 = False ;
22464 PyObject * obj0 = 0 ;
22465 PyObject * obj1 = 0 ;
22466 PyObject * obj2 = 0 ;
22467 PyObject * obj3 = 0 ;
22468 PyObject * obj4 = 0 ;
22469 PyObject * obj5 = 0 ;
22470 PyObject * obj6 = 0 ;
22471 char *kwnames[] = {
22472 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22473 };
22474
22475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22478 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22480 {
22481 arg3 = wxString_in_helper(obj2);
22482 if (arg3 == NULL) SWIG_fail;
22483 temp3 = True;
22484 }
22485 if (obj3) {
22486 {
22487 arg4 = &temp4;
22488 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22489 }
22490 }
22491 if (obj4) {
22492 {
22493 arg5 = &temp5;
22494 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22495 }
22496 }
22497 if (obj5) {
22498 arg6 = (long) SWIG_AsLong(obj5);
22499 if (PyErr_Occurred()) SWIG_fail;
22500 }
22501 if (obj6) {
22502 {
22503 arg7 = wxString_in_helper(obj6);
22504 if (arg7 == NULL) SWIG_fail;
22505 temp7 = True;
22506 }
22507 }
22508 {
22509 PyThreadState* __tstate = wxPyBeginAllowThreads();
22510 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22511
22512 wxPyEndAllowThreads(__tstate);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 }
22515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
22516 {
22517 if (temp3)
22518 delete arg3;
22519 }
22520 {
22521 if (temp7)
22522 delete arg7;
22523 }
22524 return resultobj;
22525 fail:
22526 {
22527 if (temp3)
22528 delete arg3;
22529 }
22530 {
22531 if (temp7)
22532 delete arg7;
22533 }
22534 return NULL;
22535 }
22536
22537
22538 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22539 PyObject *resultobj;
22540 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22541 PyObject *arg2 = (PyObject *) 0 ;
22542 PyObject *arg3 = (PyObject *) 0 ;
22543 PyObject * obj0 = 0 ;
22544 PyObject * obj1 = 0 ;
22545 PyObject * obj2 = 0 ;
22546 char *kwnames[] = {
22547 (char *) "self",(char *) "self",(char *) "_class", NULL
22548 };
22549
22550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22553 arg2 = obj1;
22554 arg3 = obj2;
22555 {
22556 PyThreadState* __tstate = wxPyBeginAllowThreads();
22557 (arg1)->_setCallbackInfo(arg2,arg3);
22558
22559 wxPyEndAllowThreads(__tstate);
22560 if (PyErr_Occurred()) SWIG_fail;
22561 }
22562 Py_INCREF(Py_None); resultobj = Py_None;
22563 return resultobj;
22564 fail:
22565 return NULL;
22566 }
22567
22568
22569 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22570 PyObject *resultobj;
22571 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22572 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22573 PyObject * obj0 = 0 ;
22574 PyObject * obj1 = 0 ;
22575 char *kwnames[] = {
22576 (char *) "self",(char *) "canvas", NULL
22577 };
22578
22579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
22580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 (arg1)->SetPreviewCanvas(arg2);
22587
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 Py_INCREF(Py_None); resultobj = Py_None;
22592 return resultobj;
22593 fail:
22594 return NULL;
22595 }
22596
22597
22598 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22599 PyObject *resultobj;
22600 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22601 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
22602 PyObject * obj0 = 0 ;
22603 PyObject * obj1 = 0 ;
22604 char *kwnames[] = {
22605 (char *) "self",(char *) "bar", NULL
22606 };
22607
22608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
22609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
22612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22613 {
22614 PyThreadState* __tstate = wxPyBeginAllowThreads();
22615 (arg1)->SetControlBar(arg2);
22616
22617 wxPyEndAllowThreads(__tstate);
22618 if (PyErr_Occurred()) SWIG_fail;
22619 }
22620 Py_INCREF(Py_None); resultobj = Py_None;
22621 return resultobj;
22622 fail:
22623 return NULL;
22624 }
22625
22626
22627 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
22628 PyObject *resultobj;
22629 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22630 PyObject * obj0 = 0 ;
22631 char *kwnames[] = {
22632 (char *) "self", NULL
22633 };
22634
22635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
22636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22638 {
22639 PyThreadState* __tstate = wxPyBeginAllowThreads();
22640 (arg1)->base_Initialize();
22641
22642 wxPyEndAllowThreads(__tstate);
22643 if (PyErr_Occurred()) SWIG_fail;
22644 }
22645 Py_INCREF(Py_None); resultobj = Py_None;
22646 return resultobj;
22647 fail:
22648 return NULL;
22649 }
22650
22651
22652 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22653 PyObject *resultobj;
22654 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22655 PyObject * obj0 = 0 ;
22656 char *kwnames[] = {
22657 (char *) "self", NULL
22658 };
22659
22660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
22661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22663 {
22664 PyThreadState* __tstate = wxPyBeginAllowThreads();
22665 (arg1)->base_CreateCanvas();
22666
22667 wxPyEndAllowThreads(__tstate);
22668 if (PyErr_Occurred()) SWIG_fail;
22669 }
22670 Py_INCREF(Py_None); resultobj = Py_None;
22671 return resultobj;
22672 fail:
22673 return NULL;
22674 }
22675
22676
22677 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22678 PyObject *resultobj;
22679 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22680 PyObject * obj0 = 0 ;
22681 char *kwnames[] = {
22682 (char *) "self", NULL
22683 };
22684
22685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
22686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
22687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22688 {
22689 PyThreadState* __tstate = wxPyBeginAllowThreads();
22690 (arg1)->base_CreateControlBar();
22691
22692 wxPyEndAllowThreads(__tstate);
22693 if (PyErr_Occurred()) SWIG_fail;
22694 }
22695 Py_INCREF(Py_None); resultobj = Py_None;
22696 return resultobj;
22697 fail:
22698 return NULL;
22699 }
22700
22701
22702 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
22703 PyObject *obj;
22704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22705 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
22706 Py_INCREF(obj);
22707 return Py_BuildValue((char *)"");
22708 }
22709 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
22710 PyObject *resultobj;
22711 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22712 long arg2 ;
22713 wxWindow *arg3 = (wxWindow *) 0 ;
22714 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22715 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22716 wxSize const &arg5_defvalue = wxDefaultSize ;
22717 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22718 long arg6 = (long) 0 ;
22719 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22720 wxString *arg7 = (wxString *) &arg7_defvalue ;
22721 wxPyPreviewControlBar *result;
22722 wxPoint temp4 ;
22723 wxSize temp5 ;
22724 bool temp7 = False ;
22725 PyObject * obj0 = 0 ;
22726 PyObject * obj1 = 0 ;
22727 PyObject * obj2 = 0 ;
22728 PyObject * obj3 = 0 ;
22729 PyObject * obj4 = 0 ;
22730 PyObject * obj5 = 0 ;
22731 PyObject * obj6 = 0 ;
22732 char *kwnames[] = {
22733 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22734 };
22735
22736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22739 arg2 = (long) SWIG_AsLong(obj1);
22740 if (PyErr_Occurred()) SWIG_fail;
22741 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22743 if (obj3) {
22744 {
22745 arg4 = &temp4;
22746 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22747 }
22748 }
22749 if (obj4) {
22750 {
22751 arg5 = &temp5;
22752 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22753 }
22754 }
22755 if (obj5) {
22756 arg6 = (long) SWIG_AsLong(obj5);
22757 if (PyErr_Occurred()) SWIG_fail;
22758 }
22759 if (obj6) {
22760 {
22761 arg7 = wxString_in_helper(obj6);
22762 if (arg7 == NULL) SWIG_fail;
22763 temp7 = True;
22764 }
22765 }
22766 {
22767 PyThreadState* __tstate = wxPyBeginAllowThreads();
22768 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22769
22770 wxPyEndAllowThreads(__tstate);
22771 if (PyErr_Occurred()) SWIG_fail;
22772 }
22773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
22774 {
22775 if (temp7)
22776 delete arg7;
22777 }
22778 return resultobj;
22779 fail:
22780 {
22781 if (temp7)
22782 delete arg7;
22783 }
22784 return NULL;
22785 }
22786
22787
22788 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22789 PyObject *resultobj;
22790 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22791 PyObject *arg2 = (PyObject *) 0 ;
22792 PyObject *arg3 = (PyObject *) 0 ;
22793 PyObject * obj0 = 0 ;
22794 PyObject * obj1 = 0 ;
22795 PyObject * obj2 = 0 ;
22796 char *kwnames[] = {
22797 (char *) "self",(char *) "self",(char *) "_class", NULL
22798 };
22799
22800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22803 arg2 = obj1;
22804 arg3 = obj2;
22805 {
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 (arg1)->_setCallbackInfo(arg2,arg3);
22808
22809 wxPyEndAllowThreads(__tstate);
22810 if (PyErr_Occurred()) SWIG_fail;
22811 }
22812 Py_INCREF(Py_None); resultobj = Py_None;
22813 return resultobj;
22814 fail:
22815 return NULL;
22816 }
22817
22818
22819 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22820 PyObject *resultobj;
22821 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22822 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
22823 PyObject * obj0 = 0 ;
22824 PyObject * obj1 = 0 ;
22825 char *kwnames[] = {
22826 (char *) "self",(char *) "preview", NULL
22827 };
22828
22829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
22830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22832 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
22833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22834 {
22835 PyThreadState* __tstate = wxPyBeginAllowThreads();
22836 (arg1)->SetPrintPreview(arg2);
22837
22838 wxPyEndAllowThreads(__tstate);
22839 if (PyErr_Occurred()) SWIG_fail;
22840 }
22841 Py_INCREF(Py_None); resultobj = Py_None;
22842 return resultobj;
22843 fail:
22844 return NULL;
22845 }
22846
22847
22848 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
22849 PyObject *resultobj;
22850 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22851 PyObject * obj0 = 0 ;
22852 char *kwnames[] = {
22853 (char *) "self", NULL
22854 };
22855
22856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
22857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22859 {
22860 PyThreadState* __tstate = wxPyBeginAllowThreads();
22861 (arg1)->base_CreateButtons();
22862
22863 wxPyEndAllowThreads(__tstate);
22864 if (PyErr_Occurred()) SWIG_fail;
22865 }
22866 Py_INCREF(Py_None); resultobj = Py_None;
22867 return resultobj;
22868 fail:
22869 return NULL;
22870 }
22871
22872
22873 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
22874 PyObject *resultobj;
22875 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22876 int arg2 ;
22877 PyObject * obj0 = 0 ;
22878 PyObject * obj1 = 0 ;
22879 char *kwnames[] = {
22880 (char *) "self",(char *) "zoom", NULL
22881 };
22882
22883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
22885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22886 arg2 = (int) SWIG_AsInt(obj1);
22887 if (PyErr_Occurred()) SWIG_fail;
22888 {
22889 PyThreadState* __tstate = wxPyBeginAllowThreads();
22890 (arg1)->base_SetZoomControl(arg2);
22891
22892 wxPyEndAllowThreads(__tstate);
22893 if (PyErr_Occurred()) SWIG_fail;
22894 }
22895 Py_INCREF(Py_None); resultobj = Py_None;
22896 return resultobj;
22897 fail:
22898 return NULL;
22899 }
22900
22901
22902 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
22903 PyObject *obj;
22904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22905 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
22906 Py_INCREF(obj);
22907 return Py_BuildValue((char *)"");
22908 }
22909 static PyMethodDef SwigMethods[] = {
22910 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
22911 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
22912 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22913 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22914 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
22915 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22916 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22917 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22918 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
22919 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
22920 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
22921 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
22922 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
22923 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
22924 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
22925 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
22926 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
22927 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
22928 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
22929 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
22930 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
22931 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
22932 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
22933 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22934 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22935 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
22936 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
22937 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
22938 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
22939 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
22940 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
22941 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
22942 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
22943 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
22944 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
22945 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
22946 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
22947 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
22948 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
22949 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
22950 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
22951 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
22952 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
22953 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
22954 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22955 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
22956 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
22957 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
22958 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
22959 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
22960 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
22961 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
22962 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
22963 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
22964 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
22965 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
22966 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
22967 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
22968 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
22969 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
22970 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
22971 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
22972 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
22973 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
22974 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
22975 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
22976 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
22977 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22978 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
22979 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
22980 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
22981 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
22982 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
22983 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
22984 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
22985 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS, NULL },
22986 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
22987 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
22988 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
22989 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
22990 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
22991 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22992 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
22993 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
22994 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
22995 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
22996 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
22997 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
22998 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
22999 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
23000 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
23001 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
23002 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23003 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
23004 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
23005 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
23006 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
23007 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
23008 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
23009 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
23010 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
23011 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
23012 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
23013 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
23014 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
23015 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23016 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23017 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23018 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
23019 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
23020 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
23021 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
23022 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
23023 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
23024 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
23025 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
23026 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23027 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
23028 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
23029 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
23030 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
23031 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
23032 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
23033 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
23034 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
23035 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
23036 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
23037 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
23038 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
23039 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
23040 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
23041 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
23042 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
23043 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
23044 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
23045 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
23046 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
23047 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
23048 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23049 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23050 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23051 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
23052 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
23053 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
23054 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
23055 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
23056 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
23057 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
23058 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
23059 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
23060 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
23061 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
23062 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
23063 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
23064 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
23065 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
23066 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
23067 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
23068 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
23069 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
23070 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
23071 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
23072 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
23073 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
23074 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
23075 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
23076 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
23077 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
23078 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
23079 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
23080 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
23081 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
23082 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
23083 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
23084 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
23085 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
23086 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
23087 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
23088 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
23089 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
23090 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
23091 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
23092 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
23093 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
23094 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
23095 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
23096 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
23097 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23098 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23099 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23100 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
23101 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
23102 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
23103 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
23104 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
23105 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
23106 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
23107 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
23108 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
23109 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
23110 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23111 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
23112 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23113 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23114 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
23115 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23116 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23117 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
23118 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23119 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
23120 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
23121 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
23122 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23123 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23124 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23125 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23126 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
23127 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
23128 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
23129 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
23130 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
23131 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
23132 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS, NULL },
23133 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
23134 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
23135 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
23136 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
23137 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
23138 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
23139 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
23140 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
23141 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
23142 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23143 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23144 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
23145 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
23146 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
23147 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
23148 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
23149 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
23150 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
23151 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
23152 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
23153 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
23154 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
23155 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
23156 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
23157 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
23158 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
23159 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
23160 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
23161 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
23162 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
23163 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
23164 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
23165 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
23166 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
23167 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
23168 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23169 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23170 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
23171 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
23172 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
23173 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
23174 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
23175 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
23176 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
23177 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
23178 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
23179 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
23180 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
23181 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
23182 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
23183 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
23184 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
23185 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
23186 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
23187 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23188 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
23189 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
23190 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23191 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
23192 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
23193 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
23194 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
23195 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
23196 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
23197 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23198 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
23199 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
23200 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
23201 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
23202 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
23203 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
23204 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
23205 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
23206 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
23207 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
23208 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
23209 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
23210 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
23211 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
23212 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
23213 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
23214 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
23215 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23216 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
23217 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
23218 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
23219 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23220 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
23221 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
23222 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
23223 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
23224 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23225 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
23226 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
23227 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
23228 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
23229 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
23230 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
23231 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
23232 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
23233 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
23234 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
23235 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
23236 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
23237 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
23238 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
23239 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
23240 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
23241 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
23242 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
23243 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
23244 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23245 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
23246 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
23247 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23248 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
23249 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23250 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
23251 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
23252 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
23253 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
23254 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
23255 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
23256 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
23257 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23258 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
23259 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
23260 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
23261 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
23262 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
23263 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
23264 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
23265 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
23266 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
23267 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
23268 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
23269 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
23270 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
23271 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23272 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23273 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23274 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
23275 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
23276 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
23277 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
23278 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
23279 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23280 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
23281 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
23282 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
23283 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
23284 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
23285 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23286 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
23287 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
23288 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
23289 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
23290 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
23291 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23292 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
23293 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
23294 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
23295 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
23296 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23297 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23298 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23299 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
23300 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23301 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23302 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23303 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
23304 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
23305 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
23306 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
23307 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
23308 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
23309 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
23310 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
23311 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23312 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23313 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23314 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
23315 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
23316 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
23317 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
23318 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
23319 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
23320 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
23321 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
23322 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23323 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23324 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
23325 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
23326 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
23327 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
23328 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
23329 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
23330 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
23331 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
23332 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23333 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23334 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23335 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
23336 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
23337 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
23338 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
23339 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
23340 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
23341 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
23342 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
23343 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
23344 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
23345 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
23346 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
23347 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
23348 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
23349 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
23350 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
23351 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
23352 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
23353 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
23354 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
23355 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
23356 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
23357 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
23358 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
23359 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
23360 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
23361 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
23362 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
23363 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
23364 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
23365 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
23366 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
23367 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
23368 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
23369 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
23370 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
23371 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
23372 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
23373 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
23374 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
23375 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
23376 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
23377 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
23378 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
23379 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
23380 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
23381 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
23382 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
23383 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
23384 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
23385 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
23386 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
23387 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
23388 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
23389 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
23390 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
23391 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
23392 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
23393 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
23394 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
23395 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
23396 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
23397 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
23398 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
23399 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
23400 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
23401 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23402 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
23403 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
23404 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
23405 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
23406 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
23407 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
23408 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
23409 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
23410 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23411 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
23412 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
23413 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
23414 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
23415 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
23416 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
23417 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
23418 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
23419 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
23420 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23421 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
23422 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
23423 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
23424 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
23425 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
23426 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
23427 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
23428 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
23429 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
23430 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
23431 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
23432 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
23433 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
23434 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
23435 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23436 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
23437 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
23438 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
23439 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
23440 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
23441 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
23442 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
23443 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
23444 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
23445 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23446 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
23447 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
23448 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
23449 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
23450 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
23451 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
23452 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
23453 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
23454 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
23455 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
23456 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
23457 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
23458 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23459 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
23460 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
23461 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
23462 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
23463 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
23464 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
23465 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23466 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
23467 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
23468 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23469 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
23470 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
23471 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
23472 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
23473 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
23474 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
23475 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23476 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
23477 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
23478 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
23479 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
23480 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
23481 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
23482 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
23483 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
23484 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
23485 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
23486 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
23487 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
23488 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
23489 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
23490 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
23491 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
23492 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
23493 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
23494 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
23495 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23496 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
23497 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
23498 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
23499 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
23500 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
23501 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
23502 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
23503 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
23504 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
23505 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
23506 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
23507 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
23508 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
23509 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
23510 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
23511 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
23512 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
23513 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
23514 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
23515 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
23516 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
23517 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
23518 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
23519 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
23520 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
23521 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
23522 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
23523 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
23524 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
23525 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
23526 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
23527 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
23528 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
23529 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
23530 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
23531 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
23532 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
23533 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
23534 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
23535 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
23536 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
23537 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
23538 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
23539 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
23540 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23541 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
23542 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
23543 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
23544 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
23545 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
23546 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
23547 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
23548 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
23549 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
23550 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23551 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
23552 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
23553 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
23554 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
23555 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
23556 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
23557 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
23558 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
23559 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
23560 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
23561 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
23562 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
23563 { NULL, NULL, 0, NULL }
23564 };
23565
23566
23567 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23568
23569 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
23570 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23571 }
23572 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
23573 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
23574 }
23575 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
23576 return (void *)((wxEvent *) ((wxMenuEvent *) x));
23577 }
23578 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
23579 return (void *)((wxEvent *) ((wxCloseEvent *) x));
23580 }
23581 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
23582 return (void *)((wxEvent *) ((wxMouseEvent *) x));
23583 }
23584 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
23585 return (void *)((wxEvent *) ((wxEraseEvent *) x));
23586 }
23587 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
23588 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
23589 }
23590 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
23591 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23592 }
23593 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
23594 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
23595 }
23596 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
23597 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
23598 }
23599 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
23600 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
23601 }
23602 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
23603 return (void *)((wxEvent *) ((wxPyEvent *) x));
23604 }
23605 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
23606 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
23607 }
23608 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
23609 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
23610 }
23611 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
23612 return (void *)((wxEvent *) ((wxIdleEvent *) x));
23613 }
23614 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
23615 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
23616 }
23617 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
23618 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
23619 }
23620 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
23621 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
23622 }
23623 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
23624 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
23625 }
23626 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
23627 return (void *)((wxEvent *) ((wxActivateEvent *) x));
23628 }
23629 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
23630 return (void *)((wxEvent *) ((wxSizeEvent *) x));
23631 }
23632 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
23633 return (void *)((wxEvent *) ((wxMoveEvent *) x));
23634 }
23635 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
23636 return (void *)((wxEvent *) ((wxPaintEvent *) x));
23637 }
23638 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
23639 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
23640 }
23641 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
23642 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
23643 }
23644 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
23645 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
23646 }
23647 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
23648 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
23649 }
23650 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
23651 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23652 }
23653 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
23654 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
23655 }
23656 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
23657 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
23658 }
23659 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
23660 return (void *)((wxEvent *) ((wxFocusEvent *) x));
23661 }
23662 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
23663 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
23664 }
23665 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
23666 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
23667 }
23668 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
23669 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23670 }
23671 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
23672 return (void *)((wxEvent *) ((wxShowEvent *) x));
23673 }
23674 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
23675 return (void *)((wxEvent *) ((wxCommandEvent *) x));
23676 }
23677 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
23678 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
23679 }
23680 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
23681 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23682 }
23683 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
23684 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
23685 }
23686 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
23687 return (void *)((wxEvent *) ((wxKeyEvent *) x));
23688 }
23689 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
23690 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
23691 }
23692 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
23693 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
23694 }
23695 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
23696 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
23697 }
23698 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
23699 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23700 }
23701 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
23702 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23703 }
23704 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
23705 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23706 }
23707 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
23708 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
23709 }
23710 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
23711 return (void *)((wxEvtHandler *) ((wxValidator *) x));
23712 }
23713 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
23714 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
23715 }
23716 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
23717 return (void *)((wxEvtHandler *) ((wxMenu *) x));
23718 }
23719 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
23720 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23721 }
23722 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
23723 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23724 }
23725 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
23726 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23727 }
23728 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
23729 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23730 }
23731 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
23732 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23733 }
23734 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
23735 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23736 }
23737 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
23738 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23739 }
23740 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
23741 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
23742 }
23743 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
23744 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
23745 }
23746 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
23747 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23748 }
23749 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
23750 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
23751 }
23752 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
23753 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23754 }
23755 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
23756 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
23757 }
23758 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
23759 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23760 }
23761 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
23762 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
23763 }
23764 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
23765 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
23766 }
23767 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
23768 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
23769 }
23770 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
23771 return (void *)((wxEvtHandler *) ((wxWindow *) x));
23772 }
23773 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
23774 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23775 }
23776 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
23777 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
23778 }
23779 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
23780 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
23781 }
23782 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
23783 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
23784 }
23785 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
23786 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23787 }
23788 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
23789 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23790 }
23791 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
23792 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23793 }
23794 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
23795 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
23796 }
23797 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
23798 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23799 }
23800 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
23801 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
23802 }
23803 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
23804 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23805 }
23806 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
23807 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23808 }
23809 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
23810 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23811 }
23812 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
23813 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23814 }
23815 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
23816 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23817 }
23818 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
23819 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
23820 }
23821 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
23822 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23823 }
23824 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
23825 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23826 }
23827 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
23828 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23829 }
23830 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
23831 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23832 }
23833 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
23834 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23835 }
23836 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
23837 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23838 }
23839 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
23840 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23841 }
23842 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
23843 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23844 }
23845 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
23846 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
23847 }
23848 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
23849 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
23850 }
23851 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
23852 return (void *)((wxFrame *) ((wxProgressDialog *) x));
23853 }
23854 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
23855 return (void *)((wxFrame *) ((wxTipWindow *) x));
23856 }
23857 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
23858 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
23859 }
23860 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
23861 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23862 }
23863 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
23864 return (void *)((wxFrame *) ((wxMiniFrame *) x));
23865 }
23866 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
23867 return (void *)((wxFrame *) ((wxSplashScreen *) x));
23868 }
23869 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
23870 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
23871 }
23872 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
23873 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
23874 }
23875 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
23876 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23877 }
23878 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
23879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23880 }
23881 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
23882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23883 }
23884 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
23885 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
23886 }
23887 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
23888 return (void *)((wxObject *) ((wxSizerItem *) x));
23889 }
23890 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
23891 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
23892 }
23893 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
23894 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
23895 }
23896 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
23897 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
23898 }
23899 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
23900 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
23901 }
23902 static void *_p_wxSizerTo_p_wxObject(void *x) {
23903 return (void *)((wxObject *) ((wxSizer *) x));
23904 }
23905 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
23906 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
23907 }
23908 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
23909 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
23910 }
23911 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
23912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23913 }
23914 static void *_p_wxEventTo_p_wxObject(void *x) {
23915 return (void *)((wxObject *) ((wxEvent *) x));
23916 }
23917 static void *_p_wxFontDataTo_p_wxObject(void *x) {
23918 return (void *)((wxObject *) ((wxFontData *) x));
23919 }
23920 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
23921 return (void *)((wxObject *) ((wxPrintData *) x));
23922 }
23923 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
23924 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
23925 }
23926 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
23927 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
23928 }
23929 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
23930 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
23931 }
23932 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
23933 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
23934 }
23935 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
23936 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
23937 }
23938 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
23939 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
23940 }
23941 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
23942 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
23943 }
23944 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
23945 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
23946 }
23947 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
23948 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
23949 }
23950 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
23951 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
23952 }
23953 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
23954 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23955 }
23956 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
23957 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
23958 }
23959 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
23960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23961 }
23962 static void *_p_wxControlTo_p_wxObject(void *x) {
23963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
23964 }
23965 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
23966 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
23967 }
23968 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
23969 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23970 }
23971 static void *_p_wxFSFileTo_p_wxObject(void *x) {
23972 return (void *)((wxObject *) ((wxFSFile *) x));
23973 }
23974 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
23975 return (void *)((wxObject *) ((wxFindReplaceData *) x));
23976 }
23977 static void *_p_wxPySizerTo_p_wxObject(void *x) {
23978 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
23979 }
23980 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
23981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23982 }
23983 static void *_p_wxColourDataTo_p_wxObject(void *x) {
23984 return (void *)((wxObject *) ((wxColourData *) x));
23985 }
23986 static void *_p_wxPyEventTo_p_wxObject(void *x) {
23987 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
23988 }
23989 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
23990 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
23991 }
23992 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
23993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
23994 }
23995 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
23996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23997 }
23998 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
23999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24000 }
24001 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
24002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24003 }
24004 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
24005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24006 }
24007 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
24008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24009 }
24010 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
24011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24012 }
24013 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
24014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24015 }
24016 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
24017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24018 }
24019 static void *_p_wxShowEventTo_p_wxObject(void *x) {
24020 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
24021 }
24022 static void *_p_wxPrinterTo_p_wxObject(void *x) {
24023 return (void *)((wxObject *) ((wxPrinter *) x));
24024 }
24025 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
24026 return (void *)((wxObject *) ((wxMenuItem *) x));
24027 }
24028 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
24029 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
24030 }
24031 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
24032 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
24033 }
24034 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
24035 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
24036 }
24037 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
24038 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
24039 }
24040 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
24041 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
24042 }
24043 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
24044 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
24045 }
24046 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
24047 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
24048 }
24049 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
24050 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
24051 }
24052 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
24053 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
24054 }
24055 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
24056 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
24057 }
24058 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
24059 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
24060 }
24061 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
24062 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
24063 }
24064 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
24065 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
24066 }
24067 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
24068 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
24069 }
24070 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
24071 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
24072 }
24073 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
24074 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
24075 }
24076 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
24077 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
24078 }
24079 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
24080 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
24081 }
24082 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
24083 return (void *)((wxObject *) ((wxImageHandler *) x));
24084 }
24085 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
24086 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
24087 }
24088 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
24089 return (void *)((wxObject *) ((wxEvtHandler *) x));
24090 }
24091 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
24092 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
24093 }
24094 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
24095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24096 }
24097 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
24098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24099 }
24100 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
24101 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
24102 }
24103 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
24104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24105 }
24106 static void *_p_wxImageTo_p_wxObject(void *x) {
24107 return (void *)((wxObject *) ((wxImage *) x));
24108 }
24109 static void *_p_wxFrameTo_p_wxObject(void *x) {
24110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
24111 }
24112 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
24113 return (void *)((wxObject *) ((wxPyPrintout *) x));
24114 }
24115 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
24116 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
24117 }
24118 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
24119 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
24120 }
24121 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
24122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
24123 }
24124 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
24125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24126 }
24127 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
24128 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24129 }
24130 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
24131 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
24132 }
24133 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
24134 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
24135 }
24136 static void *_p_wxWindowTo_p_wxObject(void *x) {
24137 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
24138 }
24139 static void *_p_wxMenuTo_p_wxObject(void *x) {
24140 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
24141 }
24142 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
24143 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
24144 }
24145 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
24146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
24147 }
24148 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
24149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
24150 }
24151 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
24152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
24153 }
24154 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
24155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
24156 }
24157 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
24158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
24159 }
24160 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
24161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
24162 }
24163 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
24164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
24165 }
24166 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
24167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24168 }
24169 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
24170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
24171 }
24172 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
24173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
24174 }
24175 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
24176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
24177 }
24178 static void *_p_wxSashEventTo_p_wxObject(void *x) {
24179 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
24180 }
24181 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
24182 return (void *)((wxObject *) ((wxPrintPreview *) x));
24183 }
24184 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
24185 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
24186 }
24187 static void *_p_wxPanelTo_p_wxObject(void *x) {
24188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
24189 }
24190 static void *_p_wxDialogTo_p_wxObject(void *x) {
24191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
24192 }
24193 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
24194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24195 }
24196 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
24197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24198 }
24199 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
24200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24201 }
24202 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
24203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24204 }
24205 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
24206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24207 }
24208 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
24209 return (void *)((wxObject *) ((wxFileSystem *) x));
24210 }
24211 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
24212 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
24213 }
24214 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
24215 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
24216 }
24217 static void *_p_wxPyAppTo_p_wxObject(void *x) {
24218 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
24219 }
24220 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
24221 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
24222 }
24223 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
24224 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
24225 }
24226 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
24227 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
24228 }
24229 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
24230 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
24231 }
24232 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
24233 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
24234 }
24235 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
24236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
24237 }
24238 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
24239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24240 }
24241 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
24242 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
24243 }
24244 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
24245 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
24246 }
24247 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
24248 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
24249 }
24250 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
24251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
24252 }
24253 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
24254 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
24255 }
24256 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
24257 return (void *)((wxObject *) ((wxPrintDialogData *) x));
24258 }
24259 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
24260 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
24261 }
24262 static void *_p_wxValidatorTo_p_wxObject(void *x) {
24263 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
24264 }
24265 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
24266 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24267 }
24268 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
24269 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
24270 }
24271 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
24272 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24273 }
24274 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
24275 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
24276 }
24277 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
24278 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
24279 }
24280 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
24281 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
24282 }
24283 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
24284 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
24285 }
24286 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
24287 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
24288 }
24289 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
24290 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
24291 }
24292 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
24293 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
24294 }
24295 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
24296 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
24297 }
24298 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
24299 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
24300 }
24301 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
24302 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
24303 }
24304 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
24305 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
24306 }
24307 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
24308 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
24309 }
24310 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
24311 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
24312 }
24313 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
24314 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
24315 }
24316 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
24317 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
24318 }
24319 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
24320 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
24321 }
24322 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24323 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
24324 }
24325 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24326 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
24327 }
24328 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
24329 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
24330 }
24331 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
24332 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
24333 }
24334 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24335 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
24336 }
24337 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24338 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24339 }
24340 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
24341 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24342 }
24343 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
24344 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24345 }
24346 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
24347 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
24348 }
24349 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
24350 return (void *)((wxWindow *) ((wxMenuBar *) x));
24351 }
24352 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
24353 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24354 }
24355 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
24356 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24357 }
24358 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
24359 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24360 }
24361 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
24362 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24363 }
24364 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
24365 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24366 }
24367 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
24368 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24369 }
24370 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
24371 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24372 }
24373 static void *_p_wxPanelTo_p_wxWindow(void *x) {
24374 return (void *)((wxWindow *) ((wxPanel *) x));
24375 }
24376 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
24377 return (void *)((wxWindow *) ((wxStatusBar *) x));
24378 }
24379 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
24380 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
24381 }
24382 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
24383 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
24384 }
24385 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
24386 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
24387 }
24388 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
24389 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24390 }
24391 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
24392 return (void *)((wxWindow *) ((wxPopupWindow *) x));
24393 }
24394 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
24395 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
24396 }
24397 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
24398 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
24399 }
24400 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
24401 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
24402 }
24403 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
24404 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
24405 }
24406 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
24407 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
24408 }
24409 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
24410 return (void *)((wxWindow *) ((wxSashWindow *) x));
24411 }
24412 static void *_p_wxControlTo_p_wxWindow(void *x) {
24413 return (void *)((wxWindow *) ((wxControl *) x));
24414 }
24415 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
24416 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24417 }
24418 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
24419 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24420 }
24421 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
24422 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24423 }
24424 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
24425 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
24426 }
24427 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
24428 return (void *)((wxWindow *) ((wxPyWindow *) x));
24429 }
24430 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
24431 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24432 }
24433 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
24434 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24435 }
24436 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
24437 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24438 }
24439 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
24440 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
24441 }
24442 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
24443 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24444 }
24445 static void *_p_wxFrameTo_p_wxWindow(void *x) {
24446 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
24447 }
24448 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
24449 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24450 }
24451 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
24452 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24453 }
24454 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
24455 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24456 }
24457 static void *_p_wxDialogTo_p_wxWindow(void *x) {
24458 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
24459 }
24460 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
24461 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24462 }
24463 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
24464 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24465 }
24466 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
24467 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24468 }
24469 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
24470 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
24471 }
24472 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
24473 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
24474 }
24475 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
24476 return (void *)((wxDialog *) ((wxColourDialog *) x));
24477 }
24478 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
24479 return (void *)((wxDialog *) ((wxDirDialog *) x));
24480 }
24481 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
24482 return (void *)((wxDialog *) ((wxFontDialog *) x));
24483 }
24484 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
24485 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
24486 }
24487 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
24488 return (void *)((wxDialog *) ((wxPrintDialog *) x));
24489 }
24490 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
24491 return (void *)((wxDialog *) ((wxFileDialog *) x));
24492 }
24493 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
24494 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
24495 }
24496 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
24497 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
24498 }
24499 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
24500 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
24501 }
24502 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
24503 return (void *)((wxDialog *) ((wxMessageDialog *) x));
24504 }
24505 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
24506 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
24507 }
24508 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
24509 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
24510 }
24511 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
24512 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
24513 }
24514 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
24515 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24516 }
24517 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
24518 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24519 }
24520 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
24521 return (void *)((wxPanel *) ((wxPyPanel *) x));
24522 }
24523 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
24524 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
24525 }
24526 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
24527 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
24528 }
24529 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
24530 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24531 }
24532 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
24533 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
24534 }
24535 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
24536 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
24537 }
24538 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
24539 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
24540 }
24541 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
24542 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
24543 }
24544 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
24545 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
24546 }
24547 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
24548 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24549 }
24550 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
24551 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
24552 }
24553 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
24554 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
24555 }
24556 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
24557 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
24558 }
24559 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
24560 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
24561 }
24562 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
24563 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
24564 }
24565 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
24566 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24567 }
24568 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}};
24569 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}};
24570 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}};
24571 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}};
24572 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}};
24573 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}};
24574 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}};
24575 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}};
24576 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}};
24577 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}};
24578 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}};
24579 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}};
24580 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}};
24581 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}};
24582 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}};
24583 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}};
24584 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}};
24585 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}};
24586 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}};
24587 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}};
24588 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}};
24589 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}};
24590 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}};
24591 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}};
24592 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}};
24593 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}};
24594 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}};
24595 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}};
24596 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}};
24597 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}};
24598 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}};
24599 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}};
24600 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}};
24601 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}};
24602 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}};
24603 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}};
24604 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}};
24605 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}};
24606 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}};
24607 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}};
24608 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}};
24609 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}};
24610 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}};
24611 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}};
24612 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}};
24613 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}};
24614 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}};
24615 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}};
24616 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}};
24617 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}};
24618 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}};
24619 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}};
24620 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}};
24621 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}};
24622 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}};
24623 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}};
24624 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}};
24625 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}};
24626 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}};
24627 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}};
24628 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}};
24629 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}};
24630 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}};
24631 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}};
24632 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}};
24633 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}};
24634 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}};
24635 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}};
24636 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}};
24637 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}};
24638 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}};
24639 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}};
24640 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}};
24641 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}};
24642 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}};
24643 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}};
24644 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}};
24645 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}};
24646 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}};
24647 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}};
24648 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}};
24649 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}};
24650 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}};
24651 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}};
24652
24653 static swig_type_info *swig_types_initial[] = {
24654 _swigt__p_wxQueryLayoutInfoEvent,
24655 _swigt__p_wxPreviewFrame,
24656 _swigt__p_wxPyPreviewFrame,
24657 _swigt__p_wxPyPanel,
24658 _swigt__p_wxMenu,
24659 _swigt__p_wxPrintData,
24660 _swigt__p_wxFontData,
24661 _swigt__p_wxEvent,
24662 _swigt__p_wxTaskBarIcon,
24663 _swigt__p_wxIconBundle,
24664 _swigt__p_wxLayoutAlgorithm,
24665 _swigt__p_wxFindDialogEvent,
24666 _swigt__p_wxPreviewCanvas,
24667 _swigt__p_wxFont,
24668 _swigt__p_wxSplitterEvent,
24669 _swigt__p_wxRegion,
24670 _swigt__p_wxFindReplaceData,
24671 _swigt__p_int,
24672 _swigt__p_wxSize,
24673 _swigt__p_wxDC,
24674 _swigt__p_wxIcon,
24675 _swigt__p_wxMDIChildFrame,
24676 _swigt__p_wxColourData,
24677 _swigt__p_wxNotifyEvent,
24678 _swigt__p_wxPyWindow,
24679 _swigt__p_wxSplashScreen,
24680 _swigt__p_wxFindReplaceDialog,
24681 _swigt__p_wxProgressDialog,
24682 _swigt__p_wxMessageDialog,
24683 _swigt__p_wxTextEntryDialog,
24684 _swigt__p_wxSingleChoiceDialog,
24685 _swigt__p_wxMultiChoiceDialog,
24686 _swigt__p_wxFileDialog,
24687 _swigt__p_wxPrinter,
24688 _swigt__p_wxArrayInt,
24689 _swigt__p_wxEvtHandler,
24690 _swigt__p_wxCalculateLayoutEvent,
24691 _swigt__p_wxPyHtmlListBox,
24692 _swigt__p_wxPyVListBox,
24693 _swigt__p_wxRect,
24694 _swigt__p_char,
24695 _swigt__p_wxMiniFrame,
24696 _swigt__p_wxFrame,
24697 _swigt__p_wxPyPrintout,
24698 _swigt__p_wxTaskBarIconEvent,
24699 _swigt__p_wxScrollWinEvent,
24700 _swigt__p_wxStatusBar,
24701 _swigt__p_wxMDIParentFrame,
24702 _swigt__p_wxPoint,
24703 _swigt__p_wxObject,
24704 _swigt__p_wxOutputStream,
24705 _swigt__p_unsigned_long,
24706 _swigt__p_wxMDIClientWindow,
24707 _swigt__p_wxTipWindow,
24708 _swigt__p_wxPyPopupTransientWindow,
24709 _swigt__p_wxSashLayoutWindow,
24710 _swigt__p_wxSplitterWindow,
24711 _swigt__p_wxPyVScrolledWindow,
24712 _swigt__p_wxPopupWindow,
24713 _swigt__p_wxSashWindow,
24714 _swigt__p_wxTopLevelWindow,
24715 _swigt__p_wxWindow,
24716 _swigt__p_wxScrolledWindow,
24717 _swigt__p_wxSplashScreenWindow,
24718 _swigt__p_wxMenuBar,
24719 _swigt__p_wxPrintPreview,
24720 _swigt__p_wxSashEvent,
24721 _swigt__p_wxString,
24722 _swigt__p_wxPyPrintPreview,
24723 _swigt__p_wxFontDialog,
24724 _swigt__p_wxDirDialog,
24725 _swigt__p_wxColourDialog,
24726 _swigt__p_wxDialog,
24727 _swigt__p_wxPanel,
24728 _swigt__p_wxPageSetupDialog,
24729 _swigt__p_wxPrintDialog,
24730 _swigt__p_wxBitmap,
24731 _swigt__p_wxCommandEvent,
24732 _swigt__p_wxPreviewControlBar,
24733 _swigt__p_wxPyPreviewControlBar,
24734 _swigt__p_wxColour,
24735 _swigt__p_wxToolBar,
24736 _swigt__p_wxPageSetupDialogData,
24737 _swigt__p_wxPrintDialogData,
24738 0
24739 };
24740
24741
24742 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24743
24744 static swig_const_info swig_const_table[] = {
24745 {0, 0, 0, 0.0, 0, 0}};
24746
24747 #ifdef __cplusplus
24748 }
24749 #endif
24750
24751 #ifdef __cplusplus
24752 extern "C"
24753 #endif
24754 SWIGEXPORT(void) SWIG_init(void) {
24755 static PyObject *SWIG_globals = 0;
24756 static int typeinit = 0;
24757 PyObject *m, *d;
24758 int i;
24759 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
24760 m = Py_InitModule((char *) SWIG_name, SwigMethods);
24761 d = PyModule_GetDict(m);
24762
24763 if (!typeinit) {
24764 for (i = 0; swig_types_initial[i]; i++) {
24765 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
24766 }
24767 typeinit = 1;
24768 }
24769 SWIG_InstallConstants(d,swig_const_table);
24770
24771 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
24772 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
24773 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
24774 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
24775 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
24776 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
24777 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
24778 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
24779 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
24780 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
24781 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
24782 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
24783 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
24784 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
24785 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
24786 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
24787 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
24788 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
24789 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
24790 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
24791 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
24792 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
24793 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
24794 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
24795 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
24796 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
24797 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
24798 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
24799 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
24800 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
24801 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
24802 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
24803 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
24804 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
24805 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
24806 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
24807 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
24808 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
24809 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
24810 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
24811 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
24812 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
24813 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
24814 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
24815 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
24816 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
24817 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
24818 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
24819 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
24820 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
24821 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
24822 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
24823 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
24824 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
24825 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
24826 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
24827 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
24828 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
24829 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
24830 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
24831 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
24832 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
24833 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
24834 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
24835 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
24836 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
24837 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
24838 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
24839
24840 // Map renamed classes back to their common name for OOR
24841 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24842 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24843 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24844
24845 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
24846 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
24847 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
24848 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
24849 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
24850 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
24851 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
24852 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
24853 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
24854 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
24855 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
24856 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
24857 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
24858 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
24859 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
24860 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
24861 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
24862 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
24863 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
24864 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
24865 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
24866 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
24867 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
24868 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
24869 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
24870 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
24871 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
24872 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
24873 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
24874 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
24875 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
24876 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
24877 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
24878 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
24879 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
24880 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
24881 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
24882 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
24883 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
24884 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
24885 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
24886 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
24887 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
24888 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
24889 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
24890 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
24891 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
24892 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
24893 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
24894 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
24895 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
24896 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
24897 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
24898 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
24899 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
24900 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
24901 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
24902 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
24903 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
24904 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
24905
24906 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
24907
24908 }
24909