]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/windows_wrap.cpp
Some ifdef's to correct compile problems on wxMac
[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 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
234 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
235 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
236 #define SWIGTYPE_p_wxPyPanel swig_types[3]
237 #define SWIGTYPE_p_wxMenu swig_types[4]
238 #define SWIGTYPE_p_wxPrintData swig_types[5]
239 #define SWIGTYPE_p_wxFontData swig_types[6]
240 #define SWIGTYPE_p_wxEvent swig_types[7]
241 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
242 #define SWIGTYPE_p_wxIconBundle swig_types[9]
243 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
244 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
245 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
246 #define SWIGTYPE_p_wxFont swig_types[13]
247 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
248 #define SWIGTYPE_p_wxRegion swig_types[15]
249 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
250 #define SWIGTYPE_p_int swig_types[17]
251 #define SWIGTYPE_p_wxSize swig_types[18]
252 #define SWIGTYPE_p_wxDC swig_types[19]
253 #define SWIGTYPE_p_wxIcon swig_types[20]
254 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
255 #define SWIGTYPE_p_wxColourData swig_types[22]
256 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
257 #define SWIGTYPE_p_wxPyWindow swig_types[24]
258 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
259 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
260 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
261 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
262 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
263 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
264 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
265 #define SWIGTYPE_p_wxFileDialog swig_types[32]
266 #define SWIGTYPE_p_wxPrinter swig_types[33]
267 #define SWIGTYPE_p_wxArrayInt swig_types[34]
268 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
269 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
270 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
271 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
272 #define SWIGTYPE_p_wxRect swig_types[39]
273 #define SWIGTYPE_p_char swig_types[40]
274 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
275 #define SWIGTYPE_p_wxFrame swig_types[42]
276 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
277 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
278 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
279 #define SWIGTYPE_p_wxStatusBar swig_types[46]
280 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
281 #define SWIGTYPE_p_wxPoint swig_types[48]
282 #define SWIGTYPE_p_wxObject swig_types[49]
283 #define SWIGTYPE_p_unsigned_long swig_types[50]
284 #define SWIGTYPE_p_wxMDIClientWindow swig_types[51]
285 #define SWIGTYPE_p_wxTipWindow swig_types[52]
286 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[53]
287 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[54]
288 #define SWIGTYPE_p_wxSplitterWindow swig_types[55]
289 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[56]
290 #define SWIGTYPE_p_wxPopupWindow swig_types[57]
291 #define SWIGTYPE_p_wxSashWindow swig_types[58]
292 #define SWIGTYPE_p_wxTopLevelWindow swig_types[59]
293 #define SWIGTYPE_p_wxWindow swig_types[60]
294 #define SWIGTYPE_p_wxScrolledWindow swig_types[61]
295 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[62]
296 #define SWIGTYPE_p_wxMenuBar swig_types[63]
297 #define SWIGTYPE_p_wxPrintPreview swig_types[64]
298 #define SWIGTYPE_p_wxSashEvent swig_types[65]
299 #define SWIGTYPE_p_wxString swig_types[66]
300 #define SWIGTYPE_p_wxPyPrintPreview swig_types[67]
301 #define SWIGTYPE_p_wxPageSetupDialog swig_types[68]
302 #define SWIGTYPE_p_wxFontDialog swig_types[69]
303 #define SWIGTYPE_p_wxDirDialog swig_types[70]
304 #define SWIGTYPE_p_wxColourDialog swig_types[71]
305 #define SWIGTYPE_p_wxDialog swig_types[72]
306 #define SWIGTYPE_p_wxPanel swig_types[73]
307 #define SWIGTYPE_p_wxPrintDialog swig_types[74]
308 #define SWIGTYPE_p_wxBitmap swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
311 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
312 #define SWIGTYPE_p_wxColour swig_types[79]
313 #define SWIGTYPE_p_wxToolBar swig_types[80]
314 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
315 #define SWIGTYPE_p_wxPrintDialogData swig_types[82]
316 static swig_type_info *swig_types[84];
317
318 /* -------- TYPES TABLE (END) -------- */
319
320
321 /*-----------------------------------------------
322 @(target):= _windows.so
323 ------------------------------------------------*/
324 #define SWIG_init init_windows
325
326 #define SWIG_name "_windows"
327
328 #include <limits.h>
329 #include <float.h>
330 #include <string.h>
331
332 #ifndef SWIGSTATIC
333 #ifdef __cplusplus
334 #define SWIGSTATIC(a) static inline a
335 #else
336 #define SWIGSTATIC(a) static a
337 #endif
338 #endif
339
340 #ifndef numeric_cast
341 #ifdef __cplusplus
342 #ifdef HAVE_NUMERIC_CAST
343 #define numeric_cast(type,a) numeric_cast<type>(a)
344 #else
345 #define numeric_cast(type,a) static_cast<type>(a)
346 #endif
347 #else
348 #define numeric_cast(type,a) (type)(a)
349 #endif
350 #endif
351
352
353
354 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
355 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromShort PyInt_FromLong
357 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
358 #define SWIG_PyObj_FromInt PyInt_FromLong
359 #define SWIG_PyObj_FromLong PyInt_FromLong
360 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
361 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
362 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
363 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
364
365
366 #include "wx/wxPython/wxPython.h"
367 #include "wx/wxPython/pyclasses.h"
368
369
370 static const wxString wxPyEmptyString(wxEmptyString);
371 static const wxString wxPyPanelNameStr(wxPanelNameStr);
372
373
374
375 SWIGSTATIC(int)
376 SWIG_PyObj_AsInt(PyObject *obj)
377 {
378 return numeric_cast(int,
379 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
380 }
381
382
383 SWIGSTATIC(long)
384 SWIG_PyObj_AsLong(PyObject * obj)
385 {
386 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
387 }
388
389
390 SWIGSTATIC(PyObject*)
391 SWIG_PyObj_FromBool(bool value)
392 {
393 PyObject *obj = value ? Py_True : Py_False;
394 Py_INCREF(obj);
395 return obj;
396 }
397
398
399 SWIGSTATIC(bool)
400 SWIG_PyObj_AsBool(PyObject *obj)
401 {
402 return PyObject_IsTrue(obj) ? true : false;
403 }
404
405
406 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
407 PyObject* o2;
408 PyObject* o3;
409
410 if (!target) {
411 target = o;
412 } else if (target == Py_None) {
413 Py_DECREF(Py_None);
414 target = o;
415 } else {
416 if (!PyTuple_Check(target)) {
417 o2 = target;
418 target = PyTuple_New(1);
419 PyTuple_SetItem(target, 0, o2);
420 }
421 o3 = PyTuple_New(1);
422 PyTuple_SetItem(o3, 0, o);
423
424 o2 = target;
425 target = PySequence_Concat(o2, o3);
426 Py_DECREF(o2);
427 Py_DECREF(o3);
428 }
429 return target;
430 }
431
432
433 SWIGSTATIC(double)
434 SWIG_PyObj_AsDouble(PyObject *obj)
435 {
436 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
437 #if HAVE_LONG_LONG
438 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
439 #else
440 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
441 #endif
442 if (PyErr_Occurred()) {
443 PyErr_Clear();
444 PyErr_SetString(PyExc_TypeError, "a double is expected");
445 }
446 }
447
448 static const wxString wxPyFrameNameStr(wxFrameNameStr);
449 static const wxString wxPyDialogNameStr(wxDialogNameStr);
450 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
451 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
452 bool wxDialog_IsModalShowing(wxDialog *self){
453
454
455
456 return self->IsModalShowing();
457
458 }
459
460
461 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
462 wxRect r;
463 self->GetFieldRect(i, r);
464 return r;
465 }
466 static const wxString wxPySplitterNameStr(wxT("splitter"));
467 static const wxString wxPySashNameStr(wxT("sashWindow"));
468 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
469
470 #include <wx/popupwin.h>
471
472
473 class wxPopupWindow : public wxWindow {
474 public:
475 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
476 wxPopupWindow() { wxPyRaiseNotImplemented(); }
477 };
478
479 class wxPyPopupTransientWindow : public wxPopupWindow
480 {
481 public:
482 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
483 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
484 };
485
486
487 #include <wx/tipwin.h>
488
489 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
490 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
491 }
492
493 #include <wx/tipwin.h>
494
495
496 #include <wx/vscroll.h>
497
498
499 class wxPyVScrolledWindow : public wxVScrolledWindow
500 {
501 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
502 public:
503 wxPyVScrolledWindow() : wxVScrolledWindow() {}
504
505 wxPyVScrolledWindow(wxWindow *parent,
506 wxWindowID id = wxID_ANY,
507 const wxPoint& pos = wxDefaultPosition,
508 const wxSize& size = wxDefaultSize,
509 long style = 0,
510 const wxString& name = wxPyPanelNameStr)
511 : wxVScrolledWindow(parent, id, pos, size, style, name)
512 {}
513
514 // Overridable virtuals
515
516 // this function must be overridden in the derived class and it should
517 // return the height of the given line in pixels
518 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
519
520
521 // this function doesn't have to be overridden but it may be useful to do
522 // it if calculating the lines heights is a relatively expensive operation
523 // as it gives the user code a possibility to calculate several of them at
524 // once
525 //
526 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
527 // shouldn't rely on the latter being called for all lines in the interval
528 // specified here. It is also possible that OnGetLineHeight() will be
529 // called for the lines outside of this interval, so this is really just a
530 // hint, not a promise.
531 //
532 // finally note that lineMin is inclusive, while lineMax is exclusive, as
533 // usual
534 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
535
536
537 // when the number of lines changes, we try to estimate the total height
538 // of all lines which is a rather expensive operation in terms of lines
539 // access, so if the user code may estimate the average height
540 // better/faster than we do, it should override this function to implement
541 // its own logic
542 //
543 // this function should return the best guess for the total height it may
544 // make
545 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
546
547
548 // Also expose some other interesting protected methods
549
550
551 // find the index of the line we need to show at the top of the window such
552 // that the last (fully or partially) visible line is the given one
553 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
554 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
555
556 // get the total height of the lines between lineMin (inclusive) and
557 // lineMax (exclusive)
558 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
559 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
560
561
562 PYPRIVATE;
563 };
564
565 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
566
567 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
568 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
569 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
570
571
572 SWIGSTATIC(PyObject* )
573 SWIG_PyObj_FromUnsignedLong(unsigned long value)
574 {
575 return (value > (unsigned long)(LONG_MAX)) ?
576 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
577 }
578
579
580 #include <wx/vlbox.h>
581
582 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
583
584 class wxPyVListBox : public wxVListBox
585 {
586 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
587 public:
588 wxPyVListBox() : wxVListBox() {}
589
590 wxPyVListBox(wxWindow *parent,
591 wxWindowID id = wxID_ANY,
592 const wxPoint& pos = wxDefaultPosition,
593 const wxSize& size = wxDefaultSize,
594 long style = 0,
595 const wxString& name = wxPyVListBoxNameStr)
596 : wxVListBox(parent, id, pos, size, style, name)
597 {}
598
599 // Overridable virtuals
600
601 // the derived class must implement this function to actually draw the item
602 // with the given index on the provided DC
603 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
604 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
605
606
607 // the derived class must implement this method to return the height of the
608 // specified item
609 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
610 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
611
612
613 // this method may be used to draw separators between the lines; note that
614 // the rectangle may be modified, typically to deflate it a bit before
615 // passing to OnDrawItem()
616 //
617 // the base class version doesn't do anything
618 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
619 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
620
621
622 // this method is used to draw the items background and, maybe, a border
623 // around it
624 //
625 // the base class version implements a reasonable default behaviour which
626 // consists in drawing the selected item with the standard background
627 // colour and drawing a border around the item if it is either selected or
628 // current
629 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
630 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
631
632
633 PYPRIVATE;
634 };
635
636 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
637
638 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
639 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
640 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
641 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
642
643
644
645 #include <wx/htmllbox.h>
646
647
648 class wxPyHtmlListBox : public wxHtmlListBox
649 {
650 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
651 public:
652 wxPyHtmlListBox() : wxHtmlListBox() {}
653
654 wxPyHtmlListBox(wxWindow *parent,
655 wxWindowID id = wxID_ANY,
656 const wxPoint& pos = wxDefaultPosition,
657 const wxSize& size = wxDefaultSize,
658 long style = 0,
659 const wxString& name = wxPyVListBoxNameStr)
660 : wxHtmlListBox(parent, id, pos, size, style, name)
661 {}
662
663 // Overridable virtuals
664
665 // this method must be implemented in the derived class and should return
666 // the body (i.e. without <html>) of the HTML for the given item
667 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
668
669 // this function may be overridden to decorate HTML returned by OnGetItem()
670 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
671
672 // TODO:
673 // // this method allows to customize the selection appearance: it may be used
674 // // to specify the colour of the text which normally has the given colour
675 // // colFg when it is inside the selection
676 // //
677 // // by default, the original colour is not used at all and all text has the
678 // // same (default for this system) colour inside selection
679 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
680
681 // // this is the same as GetSelectedTextColour() but allows to customize the
682 // // background colour -- this is even more rarely used as you can change it
683 // // globally using SetSelectionBackground()
684 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
685
686
687 PYPRIVATE;
688 };
689
690
691 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
692
693 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
694 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
695
696
697
698
699
700 #ifdef __WXMAC__
701 // implement dummy classes and such for wxMac
702
703 class wxTaskBarIcon : public wxEvtHandler
704 {
705 public:
706 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
707 };
708
709
710 class wxTaskBarIconEvent : public wxEvent
711 {
712 public:
713 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
714 { wxPyRaiseNotImplemented(); }
715 virtual wxEvent* Clone() const { return NULL; }
716 };
717
718 enum {
719 wxEVT_TASKBAR_MOVE = 0,
720 wxEVT_TASKBAR_LEFT_DOWN = 0,
721 wxEVT_TASKBAR_LEFT_UP = 0,
722 wxEVT_TASKBAR_RIGHT_DOWN = 0,
723 wxEVT_TASKBAR_RIGHT_UP = 0,
724 wxEVT_TASKBAR_LEFT_DCLICK = 0,
725 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
726 };
727 #endif
728
729 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
730 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
731 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
732 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
733 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
734 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
735 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
736 wxArrayString arr;
737 self->GetFilenames(arr);
738 return wxArrayString2PyList_helper(arr);
739 }
740 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
741 wxArrayString arr;
742 self->GetPaths(arr);
743 return wxArrayString2PyList_helper(arr);
744 }
745 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
746 return wxArrayInt2PyList_helper(self->GetSelections());
747 }
748 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
749 return new wxSingleChoiceDialog(parent, message, caption,
750 choices, choices_array, NULL, style, pos);
751 }
752
753 #include <wx/mdi.h>
754
755 // C++ version of Python aware wxWindow
756 class wxPyWindow : public wxWindow
757 {
758 DECLARE_DYNAMIC_CLASS(wxPyWindow)
759 public:
760 wxPyWindow() : wxWindow() {}
761 wxPyWindow(wxWindow* parent, const wxWindowID id,
762 const wxPoint& pos = wxDefaultPosition,
763 const wxSize& size = wxDefaultSize,
764 long style = 0,
765 const wxString& name = wxPyPanelNameStr)
766 : wxWindow(parent, id, pos, size, style, name) {}
767
768
769 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
770 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
771 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
772 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
773
774 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
775 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
776 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
777
778 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
779 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
780
781 DEC_PYCALLBACK__(InitDialog);
782 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
783 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
784 DEC_PYCALLBACK_BOOL_(Validate);
785
786 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
787 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
788 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
789
790 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
791 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
792
793 PYPRIVATE;
794 };
795
796 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
797
798 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
799 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
800 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
801 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
802
803 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
804 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
805 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
806
807 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
808 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
809
810 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
811 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
812 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
813 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
814
815 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
816 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
817 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
818
819 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
820 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
821
822
823 // C++ version of Python aware wxPanel
824 class wxPyPanel : public wxPanel
825 {
826 DECLARE_DYNAMIC_CLASS(wxPyPanel)
827 public:
828 wxPyPanel() : wxPanel() {}
829 wxPyPanel(wxWindow* parent, const wxWindowID id,
830 const wxPoint& pos = wxDefaultPosition,
831 const wxSize& size = wxDefaultSize,
832 long style = 0,
833 const wxString& name = wxPyPanelNameStr)
834 : wxPanel(parent, id, pos, size, style, name) {}
835
836
837 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
838 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
839 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
840 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
841
842 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
843 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
844 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
845
846 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
847 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
848
849 DEC_PYCALLBACK__(InitDialog);
850 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
851 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
852 DEC_PYCALLBACK_BOOL_(Validate);
853
854 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
855 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
856 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
857
858 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
859 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
860
861 PYPRIVATE;
862 };
863
864 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
865
866 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
867 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
868 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
869 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
870
871 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
872 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
873 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
874
875 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
876 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
877
878 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
879 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
880 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
881 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
882
883 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
884 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
885 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
886
887 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
888 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
889
890
891
892 #include "wx/wxPython/printfw.h"
893
894
895 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
896 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
897
898
899
900 // Since this one would be tough and ugly to do with the Macros...
901 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
902 bool hadErr = False;
903 bool found;
904
905 wxPyBeginBlockThreads();
906 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
907 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
908 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
909 PyObject* val;
910
911 val = PyTuple_GetItem(result, 0);
912 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
913 else hadErr = True;
914
915 val = PyTuple_GetItem(result, 1);
916 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
917 else hadErr = True;
918
919 val = PyTuple_GetItem(result, 2);
920 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
921 else hadErr = True;
922
923 val = PyTuple_GetItem(result, 3);
924 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
925 else hadErr = True;
926 }
927 else
928 hadErr = True;
929
930 if (hadErr) {
931 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
932 PyErr_Print();
933 }
934 Py_DECREF(result);
935 }
936 wxPyEndBlockThreads();
937 if (! found)
938 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
939 }
940
941 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
942 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
943 }
944
945
946 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
947 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
948 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
949 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
950 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
951 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
952 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
953
954
955
956
957
958 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
959 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
960 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
961
962
963 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
964 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
965 bool rval=False; \
966 bool found; \
967 wxPyBeginBlockThreads(); \
968 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
969 PyObject* win = wxPyMake_wxObject(a); \
970 PyObject* dc = wxPyMake_wxObject(&b); \
971 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
972 Py_DECREF(win); \
973 Py_DECREF(dc); \
974 } \
975 wxPyEndBlockThreads(); \
976 if (! found) \
977 rval = PCLASS::CBNAME(a, b); \
978 return rval; \
979 } \
980 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
981 return PCLASS::CBNAME(a, b); \
982 }
983
984
985
986
987 class wxPyPrintPreview : public wxPrintPreview
988 {
989 DECLARE_CLASS(wxPyPrintPreview)
990 public:
991 wxPyPrintPreview(wxPyPrintout* printout,
992 wxPyPrintout* printoutForPrinting,
993 wxPrintData* data=NULL)
994 : wxPrintPreview(printout, printoutForPrinting, data)
995 {}
996
997 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
998 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
999 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1000 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1001 DEC_PYCALLBACK_VOID_INT(SetZoom);
1002 DEC_PYCALLBACK_BOOL_BOOL(Print);
1003 DEC_PYCALLBACK_VOID_(DetermineScaling);
1004
1005 PYPRIVATE;
1006 };
1007
1008 // Stupid renamed classes... Fix this in 2.5...
1009 #if defined(__WXMSW__)
1010 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1011 #elif defined(__WXMAC__)
1012 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1013 #else
1014 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1015 #endif
1016
1017 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1018 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1019 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1020 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1021 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1022 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1023 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1024
1025
1026 class wxPyPreviewFrame : public wxPreviewFrame
1027 {
1028 DECLARE_CLASS(wxPyPreviewFrame);
1029 public:
1030 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1031 const wxString& title,
1032 const wxPoint& pos = wxDefaultPosition,
1033 const wxSize& size = wxDefaultSize,
1034 long style = wxDEFAULT_FRAME_STYLE,
1035 const wxString& name = wxPyFrameNameStr)
1036 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1037 {}
1038
1039 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1040 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1041
1042 DEC_PYCALLBACK_VOID_(Initialize);
1043 DEC_PYCALLBACK_VOID_(CreateCanvas);
1044 DEC_PYCALLBACK_VOID_(CreateControlBar);
1045
1046 PYPRIVATE;
1047 };
1048
1049 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1050
1051 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1052 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1053 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1054
1055
1056 class wxPyPreviewControlBar : public wxPreviewControlBar
1057 {
1058 DECLARE_CLASS(wxPyPreviewControlBar);
1059 public:
1060 wxPyPreviewControlBar(wxPrintPreview *preview,
1061 long buttons,
1062 wxWindow *parent,
1063 const wxPoint& pos = wxDefaultPosition,
1064 const wxSize& size = wxDefaultSize,
1065 long style = 0,
1066 const wxString& name = wxPyPanelNameStr)
1067 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1068 {}
1069
1070 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1071
1072 DEC_PYCALLBACK_VOID_(CreateButtons);
1073 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1074
1075 PYPRIVATE;
1076 };
1077
1078 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1079 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1080 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1081
1082 #ifdef __cplusplus
1083 extern "C" {
1084 #endif
1085 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1086 PyObject *resultobj;
1087 wxWindow *arg1 = (wxWindow *) 0 ;
1088 int arg2 = (int) (int)-1 ;
1089 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1090 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1091 wxSize const &arg4_defvalue = wxDefaultSize ;
1092 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1093 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1094 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1095 wxString *arg6 = (wxString *) &arg6_defvalue ;
1096 wxPanel *result;
1097 wxPoint temp3 ;
1098 wxSize temp4 ;
1099 bool temp6 = False ;
1100 PyObject * obj0 = 0 ;
1101 PyObject * obj1 = 0 ;
1102 PyObject * obj2 = 0 ;
1103 PyObject * obj3 = 0 ;
1104 PyObject * obj4 = 0 ;
1105 PyObject * obj5 = 0 ;
1106 char *kwnames[] = {
1107 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1108 };
1109
1110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1112 if (obj1) {
1113 {
1114 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
1115 if (PyErr_Occurred()) SWIG_fail;
1116 }
1117 }
1118 if (obj2) {
1119 {
1120 arg3 = &temp3;
1121 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1122 }
1123 }
1124 if (obj3) {
1125 {
1126 arg4 = &temp4;
1127 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1128 }
1129 }
1130 if (obj4) {
1131 {
1132 arg5 = (long) SWIG_PyObj_AsLong(obj4);
1133 if (PyErr_Occurred()) SWIG_fail;
1134 }
1135 }
1136 if (obj5) {
1137 {
1138 arg6 = wxString_in_helper(obj5);
1139 if (arg6 == NULL) SWIG_fail;
1140 temp6 = True;
1141 }
1142 }
1143 {
1144 PyThreadState* __tstate = wxPyBeginAllowThreads();
1145 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1146
1147 wxPyEndAllowThreads(__tstate);
1148 if (PyErr_Occurred()) SWIG_fail;
1149 }
1150 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1151 {
1152 if (temp6)
1153 delete arg6;
1154 }
1155 return resultobj;
1156 fail:
1157 {
1158 if (temp6)
1159 delete arg6;
1160 }
1161 return NULL;
1162 }
1163
1164
1165 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1166 PyObject *resultobj;
1167 wxPanel *result;
1168 char *kwnames[] = {
1169 NULL
1170 };
1171
1172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1173 {
1174 PyThreadState* __tstate = wxPyBeginAllowThreads();
1175 result = (wxPanel *)new wxPanel();
1176
1177 wxPyEndAllowThreads(__tstate);
1178 if (PyErr_Occurred()) SWIG_fail;
1179 }
1180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1181 return resultobj;
1182 fail:
1183 return NULL;
1184 }
1185
1186
1187 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1188 PyObject *resultobj;
1189 wxPanel *arg1 = (wxPanel *) 0 ;
1190 wxWindow *arg2 = (wxWindow *) 0 ;
1191 int arg3 ;
1192 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1193 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1194 wxSize const &arg5_defvalue = wxDefaultSize ;
1195 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1196 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1197 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1198 wxString *arg7 = (wxString *) &arg7_defvalue ;
1199 bool result;
1200 wxPoint temp4 ;
1201 wxSize temp5 ;
1202 bool temp7 = False ;
1203 PyObject * obj0 = 0 ;
1204 PyObject * obj1 = 0 ;
1205 PyObject * obj2 = 0 ;
1206 PyObject * obj3 = 0 ;
1207 PyObject * obj4 = 0 ;
1208 PyObject * obj5 = 0 ;
1209 PyObject * obj6 = 0 ;
1210 char *kwnames[] = {
1211 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1212 };
1213
1214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1216 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1217 {
1218 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
1219 if (PyErr_Occurred()) SWIG_fail;
1220 }
1221 if (obj3) {
1222 {
1223 arg4 = &temp4;
1224 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1225 }
1226 }
1227 if (obj4) {
1228 {
1229 arg5 = &temp5;
1230 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1231 }
1232 }
1233 if (obj5) {
1234 {
1235 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1236 if (PyErr_Occurred()) SWIG_fail;
1237 }
1238 }
1239 if (obj6) {
1240 {
1241 arg7 = wxString_in_helper(obj6);
1242 if (arg7 == NULL) SWIG_fail;
1243 temp7 = True;
1244 }
1245 }
1246 {
1247 PyThreadState* __tstate = wxPyBeginAllowThreads();
1248 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1249
1250 wxPyEndAllowThreads(__tstate);
1251 if (PyErr_Occurred()) SWIG_fail;
1252 }
1253 resultobj = SWIG_PyObj_FromBool((bool)result);
1254 {
1255 if (temp7)
1256 delete arg7;
1257 }
1258 return resultobj;
1259 fail:
1260 {
1261 if (temp7)
1262 delete arg7;
1263 }
1264 return NULL;
1265 }
1266
1267
1268 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1269 PyObject *resultobj;
1270 wxPanel *arg1 = (wxPanel *) 0 ;
1271 PyObject * obj0 = 0 ;
1272 char *kwnames[] = {
1273 (char *) "self", NULL
1274 };
1275
1276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1278 {
1279 PyThreadState* __tstate = wxPyBeginAllowThreads();
1280 (arg1)->InitDialog();
1281
1282 wxPyEndAllowThreads(__tstate);
1283 if (PyErr_Occurred()) SWIG_fail;
1284 }
1285 Py_INCREF(Py_None); resultobj = Py_None;
1286 return resultobj;
1287 fail:
1288 return NULL;
1289 }
1290
1291
1292 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1293 PyObject *obj;
1294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1295 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1296 Py_INCREF(obj);
1297 return Py_BuildValue((char *)"");
1298 }
1299 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1300 PyObject *resultobj;
1301 wxWindow *arg1 = (wxWindow *) 0 ;
1302 int arg2 = (int) (int)-1 ;
1303 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1304 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1305 wxSize const &arg4_defvalue = wxDefaultSize ;
1306 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1307 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1308 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1309 wxString *arg6 = (wxString *) &arg6_defvalue ;
1310 wxScrolledWindow *result;
1311 wxPoint temp3 ;
1312 wxSize temp4 ;
1313 bool temp6 = False ;
1314 PyObject * obj0 = 0 ;
1315 PyObject * obj1 = 0 ;
1316 PyObject * obj2 = 0 ;
1317 PyObject * obj3 = 0 ;
1318 PyObject * obj4 = 0 ;
1319 PyObject * obj5 = 0 ;
1320 char *kwnames[] = {
1321 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1322 };
1323
1324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1326 if (obj1) {
1327 {
1328 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
1329 if (PyErr_Occurred()) SWIG_fail;
1330 }
1331 }
1332 if (obj2) {
1333 {
1334 arg3 = &temp3;
1335 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1336 }
1337 }
1338 if (obj3) {
1339 {
1340 arg4 = &temp4;
1341 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1342 }
1343 }
1344 if (obj4) {
1345 {
1346 arg5 = (long) SWIG_PyObj_AsLong(obj4);
1347 if (PyErr_Occurred()) SWIG_fail;
1348 }
1349 }
1350 if (obj5) {
1351 {
1352 arg6 = wxString_in_helper(obj5);
1353 if (arg6 == NULL) SWIG_fail;
1354 temp6 = True;
1355 }
1356 }
1357 {
1358 PyThreadState* __tstate = wxPyBeginAllowThreads();
1359 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1360
1361 wxPyEndAllowThreads(__tstate);
1362 if (PyErr_Occurred()) SWIG_fail;
1363 }
1364 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1365 {
1366 if (temp6)
1367 delete arg6;
1368 }
1369 return resultobj;
1370 fail:
1371 {
1372 if (temp6)
1373 delete arg6;
1374 }
1375 return NULL;
1376 }
1377
1378
1379 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1380 PyObject *resultobj;
1381 wxScrolledWindow *result;
1382 char *kwnames[] = {
1383 NULL
1384 };
1385
1386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1387 {
1388 PyThreadState* __tstate = wxPyBeginAllowThreads();
1389 result = (wxScrolledWindow *)new wxScrolledWindow();
1390
1391 wxPyEndAllowThreads(__tstate);
1392 if (PyErr_Occurred()) SWIG_fail;
1393 }
1394 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1395 return resultobj;
1396 fail:
1397 return NULL;
1398 }
1399
1400
1401 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1402 PyObject *resultobj;
1403 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1404 wxWindow *arg2 = (wxWindow *) 0 ;
1405 int arg3 = (int) (int)-1 ;
1406 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1407 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1408 wxSize const &arg5_defvalue = wxDefaultSize ;
1409 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1410 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1411 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1412 wxString *arg7 = (wxString *) &arg7_defvalue ;
1413 bool result;
1414 wxPoint temp4 ;
1415 wxSize temp5 ;
1416 bool temp7 = False ;
1417 PyObject * obj0 = 0 ;
1418 PyObject * obj1 = 0 ;
1419 PyObject * obj2 = 0 ;
1420 PyObject * obj3 = 0 ;
1421 PyObject * obj4 = 0 ;
1422 PyObject * obj5 = 0 ;
1423 PyObject * obj6 = 0 ;
1424 char *kwnames[] = {
1425 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1426 };
1427
1428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1431 if (obj2) {
1432 {
1433 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
1434 if (PyErr_Occurred()) SWIG_fail;
1435 }
1436 }
1437 if (obj3) {
1438 {
1439 arg4 = &temp4;
1440 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1441 }
1442 }
1443 if (obj4) {
1444 {
1445 arg5 = &temp5;
1446 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1447 }
1448 }
1449 if (obj5) {
1450 {
1451 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1452 if (PyErr_Occurred()) SWIG_fail;
1453 }
1454 }
1455 if (obj6) {
1456 {
1457 arg7 = wxString_in_helper(obj6);
1458 if (arg7 == NULL) SWIG_fail;
1459 temp7 = True;
1460 }
1461 }
1462 {
1463 PyThreadState* __tstate = wxPyBeginAllowThreads();
1464 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1465
1466 wxPyEndAllowThreads(__tstate);
1467 if (PyErr_Occurred()) SWIG_fail;
1468 }
1469 resultobj = SWIG_PyObj_FromBool((bool)result);
1470 {
1471 if (temp7)
1472 delete arg7;
1473 }
1474 return resultobj;
1475 fail:
1476 {
1477 if (temp7)
1478 delete arg7;
1479 }
1480 return NULL;
1481 }
1482
1483
1484 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1485 PyObject *resultobj;
1486 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1487 int arg2 ;
1488 int arg3 ;
1489 int arg4 ;
1490 int arg5 ;
1491 int arg6 = (int) 0 ;
1492 int arg7 = (int) 0 ;
1493 bool arg8 = (bool) False ;
1494 PyObject * obj0 = 0 ;
1495 PyObject * obj1 = 0 ;
1496 PyObject * obj2 = 0 ;
1497 PyObject * obj3 = 0 ;
1498 PyObject * obj4 = 0 ;
1499 PyObject * obj5 = 0 ;
1500 PyObject * obj6 = 0 ;
1501 PyObject * obj7 = 0 ;
1502 char *kwnames[] = {
1503 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1504 };
1505
1506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1508 {
1509 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1510 if (PyErr_Occurred()) SWIG_fail;
1511 }
1512 {
1513 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1514 if (PyErr_Occurred()) SWIG_fail;
1515 }
1516 {
1517 arg4 = (int) SWIG_PyObj_AsInt(obj3);
1518 if (PyErr_Occurred()) SWIG_fail;
1519 }
1520 {
1521 arg5 = (int) SWIG_PyObj_AsInt(obj4);
1522 if (PyErr_Occurred()) SWIG_fail;
1523 }
1524 if (obj5) {
1525 {
1526 arg6 = (int) SWIG_PyObj_AsInt(obj5);
1527 if (PyErr_Occurred()) SWIG_fail;
1528 }
1529 }
1530 if (obj6) {
1531 {
1532 arg7 = (int) SWIG_PyObj_AsInt(obj6);
1533 if (PyErr_Occurred()) SWIG_fail;
1534 }
1535 }
1536 if (obj7) {
1537 {
1538 arg8 = (bool) SWIG_PyObj_AsBool(obj7);
1539 if (PyErr_Occurred()) SWIG_fail;
1540 }
1541 }
1542 {
1543 PyThreadState* __tstate = wxPyBeginAllowThreads();
1544 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1545
1546 wxPyEndAllowThreads(__tstate);
1547 if (PyErr_Occurred()) SWIG_fail;
1548 }
1549 Py_INCREF(Py_None); resultobj = Py_None;
1550 return resultobj;
1551 fail:
1552 return NULL;
1553 }
1554
1555
1556 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1557 PyObject *resultobj;
1558 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1559 int arg2 ;
1560 int arg3 ;
1561 PyObject * obj0 = 0 ;
1562 PyObject * obj1 = 0 ;
1563 PyObject * obj2 = 0 ;
1564 char *kwnames[] = {
1565 (char *) "self",(char *) "x",(char *) "y", NULL
1566 };
1567
1568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1570 {
1571 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1572 if (PyErr_Occurred()) SWIG_fail;
1573 }
1574 {
1575 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1576 if (PyErr_Occurred()) SWIG_fail;
1577 }
1578 {
1579 PyThreadState* __tstate = wxPyBeginAllowThreads();
1580 (arg1)->Scroll(arg2,arg3);
1581
1582 wxPyEndAllowThreads(__tstate);
1583 if (PyErr_Occurred()) SWIG_fail;
1584 }
1585 Py_INCREF(Py_None); resultobj = Py_None;
1586 return resultobj;
1587 fail:
1588 return NULL;
1589 }
1590
1591
1592 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject *resultobj;
1594 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1595 int arg2 ;
1596 int result;
1597 PyObject * obj0 = 0 ;
1598 PyObject * obj1 = 0 ;
1599 char *kwnames[] = {
1600 (char *) "self",(char *) "orient", NULL
1601 };
1602
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1605 {
1606 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1607 if (PyErr_Occurred()) SWIG_fail;
1608 }
1609 {
1610 PyThreadState* __tstate = wxPyBeginAllowThreads();
1611 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1612
1613 wxPyEndAllowThreads(__tstate);
1614 if (PyErr_Occurred()) SWIG_fail;
1615 }
1616 resultobj = SWIG_PyObj_FromInt((int)result);
1617 return resultobj;
1618 fail:
1619 return NULL;
1620 }
1621
1622
1623 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1624 PyObject *resultobj;
1625 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1626 int arg2 ;
1627 int arg3 ;
1628 PyObject * obj0 = 0 ;
1629 PyObject * obj1 = 0 ;
1630 PyObject * obj2 = 0 ;
1631 char *kwnames[] = {
1632 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1633 };
1634
1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1637 {
1638 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1639 if (PyErr_Occurred()) SWIG_fail;
1640 }
1641 {
1642 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1643 if (PyErr_Occurred()) SWIG_fail;
1644 }
1645 {
1646 PyThreadState* __tstate = wxPyBeginAllowThreads();
1647 (arg1)->SetScrollPageSize(arg2,arg3);
1648
1649 wxPyEndAllowThreads(__tstate);
1650 if (PyErr_Occurred()) SWIG_fail;
1651 }
1652 Py_INCREF(Py_None); resultobj = Py_None;
1653 return resultobj;
1654 fail:
1655 return NULL;
1656 }
1657
1658
1659 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1660 PyObject *resultobj;
1661 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1662 int arg2 ;
1663 int arg3 ;
1664 PyObject * obj0 = 0 ;
1665 PyObject * obj1 = 0 ;
1666 PyObject * obj2 = 0 ;
1667 char *kwnames[] = {
1668 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1669 };
1670
1671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1673 {
1674 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1675 if (PyErr_Occurred()) SWIG_fail;
1676 }
1677 {
1678 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1679 if (PyErr_Occurred()) SWIG_fail;
1680 }
1681 {
1682 PyThreadState* __tstate = wxPyBeginAllowThreads();
1683 (arg1)->SetScrollRate(arg2,arg3);
1684
1685 wxPyEndAllowThreads(__tstate);
1686 if (PyErr_Occurred()) SWIG_fail;
1687 }
1688 Py_INCREF(Py_None); resultobj = Py_None;
1689 return resultobj;
1690 fail:
1691 return NULL;
1692 }
1693
1694
1695 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1696 PyObject *resultobj;
1697 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1698 int *arg2 = (int *) 0 ;
1699 int *arg3 = (int *) 0 ;
1700 int temp2 ;
1701 int temp3 ;
1702 PyObject * obj0 = 0 ;
1703 char *kwnames[] = {
1704 (char *) "self", NULL
1705 };
1706
1707 arg2 = &temp2;
1708 arg3 = &temp3;
1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1711 {
1712 PyThreadState* __tstate = wxPyBeginAllowThreads();
1713 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1714
1715 wxPyEndAllowThreads(__tstate);
1716 if (PyErr_Occurred()) SWIG_fail;
1717 }
1718 Py_INCREF(Py_None); resultobj = Py_None;
1719 {
1720 PyObject *o = PyInt_FromLong((long) (*arg2));
1721 resultobj = t_output_helper(resultobj,o);
1722 }
1723 {
1724 PyObject *o = PyInt_FromLong((long) (*arg3));
1725 resultobj = t_output_helper(resultobj,o);
1726 }
1727 return resultobj;
1728 fail:
1729 return NULL;
1730 }
1731
1732
1733 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1734 PyObject *resultobj;
1735 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1736 bool arg2 ;
1737 bool arg3 ;
1738 PyObject * obj0 = 0 ;
1739 PyObject * obj1 = 0 ;
1740 PyObject * obj2 = 0 ;
1741 char *kwnames[] = {
1742 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1743 };
1744
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1747 {
1748 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
1749 if (PyErr_Occurred()) SWIG_fail;
1750 }
1751 {
1752 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
1753 if (PyErr_Occurred()) SWIG_fail;
1754 }
1755 {
1756 PyThreadState* __tstate = wxPyBeginAllowThreads();
1757 (arg1)->EnableScrolling(arg2,arg3);
1758
1759 wxPyEndAllowThreads(__tstate);
1760 if (PyErr_Occurred()) SWIG_fail;
1761 }
1762 Py_INCREF(Py_None); resultobj = Py_None;
1763 return resultobj;
1764 fail:
1765 return NULL;
1766 }
1767
1768
1769 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1770 PyObject *resultobj;
1771 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1772 int *arg2 = (int *) 0 ;
1773 int *arg3 = (int *) 0 ;
1774 int temp2 ;
1775 int temp3 ;
1776 PyObject * obj0 = 0 ;
1777 char *kwnames[] = {
1778 (char *) "self", NULL
1779 };
1780
1781 arg2 = &temp2;
1782 arg3 = &temp3;
1783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1785 {
1786 PyThreadState* __tstate = wxPyBeginAllowThreads();
1787 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1788
1789 wxPyEndAllowThreads(__tstate);
1790 if (PyErr_Occurred()) SWIG_fail;
1791 }
1792 Py_INCREF(Py_None); resultobj = Py_None;
1793 {
1794 PyObject *o = PyInt_FromLong((long) (*arg2));
1795 resultobj = t_output_helper(resultobj,o);
1796 }
1797 {
1798 PyObject *o = PyInt_FromLong((long) (*arg3));
1799 resultobj = t_output_helper(resultobj,o);
1800 }
1801 return resultobj;
1802 fail:
1803 return NULL;
1804 }
1805
1806
1807 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1808 PyObject *resultobj;
1809 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1810 double arg2 ;
1811 double arg3 ;
1812 PyObject * obj0 = 0 ;
1813 PyObject * obj1 = 0 ;
1814 PyObject * obj2 = 0 ;
1815 char *kwnames[] = {
1816 (char *) "self",(char *) "xs",(char *) "ys", NULL
1817 };
1818
1819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1821 {
1822 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 }
1825 {
1826 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
1829 {
1830 PyThreadState* __tstate = wxPyBeginAllowThreads();
1831 (arg1)->SetScale(arg2,arg3);
1832
1833 wxPyEndAllowThreads(__tstate);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 }
1836 Py_INCREF(Py_None); resultobj = Py_None;
1837 return resultobj;
1838 fail:
1839 return NULL;
1840 }
1841
1842
1843 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject *resultobj;
1845 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1846 double result;
1847 PyObject * obj0 = 0 ;
1848 char *kwnames[] = {
1849 (char *) "self", NULL
1850 };
1851
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1854 {
1855 PyThreadState* __tstate = wxPyBeginAllowThreads();
1856 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1857
1858 wxPyEndAllowThreads(__tstate);
1859 if (PyErr_Occurred()) SWIG_fail;
1860 }
1861 resultobj = SWIG_PyObj_FromDouble((double)result);
1862 return resultobj;
1863 fail:
1864 return NULL;
1865 }
1866
1867
1868 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1869 PyObject *resultobj;
1870 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1871 double result;
1872 PyObject * obj0 = 0 ;
1873 char *kwnames[] = {
1874 (char *) "self", NULL
1875 };
1876
1877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1879 {
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 }
1886 resultobj = SWIG_PyObj_FromDouble((double)result);
1887 return resultobj;
1888 fail:
1889 return NULL;
1890 }
1891
1892
1893 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1894 PyObject *resultobj;
1895 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1896 wxPoint *arg2 = 0 ;
1897 wxPoint result;
1898 wxPoint temp2 ;
1899 PyObject * obj0 = 0 ;
1900 PyObject * obj1 = 0 ;
1901
1902 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1904 {
1905 arg2 = &temp2;
1906 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1907 }
1908 {
1909 PyThreadState* __tstate = wxPyBeginAllowThreads();
1910 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1911
1912 wxPyEndAllowThreads(__tstate);
1913 if (PyErr_Occurred()) SWIG_fail;
1914 }
1915 {
1916 wxPoint * resultptr;
1917 resultptr = new wxPoint((wxPoint &) result);
1918 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1919 }
1920 return resultobj;
1921 fail:
1922 return NULL;
1923 }
1924
1925
1926 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1927 PyObject *resultobj;
1928 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1929 int arg2 ;
1930 int arg3 ;
1931 int *arg4 = (int *) 0 ;
1932 int *arg5 = (int *) 0 ;
1933 int temp4 ;
1934 int temp5 ;
1935 PyObject * obj0 = 0 ;
1936 PyObject * obj1 = 0 ;
1937 PyObject * obj2 = 0 ;
1938
1939 arg4 = &temp4;
1940 arg5 = &temp5;
1941 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
1942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1943 {
1944 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1945 if (PyErr_Occurred()) SWIG_fail;
1946 }
1947 {
1948 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
1951 {
1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
1953 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1954
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 }
1958 Py_INCREF(Py_None); resultobj = Py_None;
1959 {
1960 PyObject *o = PyInt_FromLong((long) (*arg4));
1961 resultobj = t_output_helper(resultobj,o);
1962 }
1963 {
1964 PyObject *o = PyInt_FromLong((long) (*arg5));
1965 resultobj = t_output_helper(resultobj,o);
1966 }
1967 return resultobj;
1968 fail:
1969 return NULL;
1970 }
1971
1972
1973 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1974 int argc;
1975 PyObject *argv[4];
1976 int ii;
1977
1978 argc = PyObject_Length(args);
1979 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1980 argv[ii] = PyTuple_GetItem(args,ii);
1981 }
1982 if (argc == 2) {
1983 int _v;
1984 {
1985 void *ptr;
1986 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1987 _v = 0;
1988 PyErr_Clear();
1989 } else {
1990 _v = 1;
1991 }
1992 }
1993 if (_v) {
1994 {
1995 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1996 }
1997 if (_v) {
1998 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1999 }
2000 }
2001 }
2002 if (argc == 3) {
2003 int _v;
2004 {
2005 void *ptr;
2006 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2007 _v = 0;
2008 PyErr_Clear();
2009 } else {
2010 _v = 1;
2011 }
2012 }
2013 if (_v) {
2014 {
2015 SWIG_PyObj_AsInt(argv[1]);
2016 if (PyErr_Occurred()) {
2017 _v = 0;
2018 PyErr_Clear();
2019 } else {
2020 _v = 1;
2021 }
2022 }
2023 if (_v) {
2024 {
2025 SWIG_PyObj_AsInt(argv[2]);
2026 if (PyErr_Occurred()) {
2027 _v = 0;
2028 PyErr_Clear();
2029 } else {
2030 _v = 1;
2031 }
2032 }
2033 if (_v) {
2034 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2035 }
2036 }
2037 }
2038 }
2039
2040 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2041 return NULL;
2042 }
2043
2044
2045 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2046 PyObject *resultobj;
2047 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2048 wxPoint *arg2 = 0 ;
2049 wxPoint result;
2050 wxPoint temp2 ;
2051 PyObject * obj0 = 0 ;
2052 PyObject * obj1 = 0 ;
2053
2054 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2056 {
2057 arg2 = &temp2;
2058 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2059 }
2060 {
2061 PyThreadState* __tstate = wxPyBeginAllowThreads();
2062 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2063
2064 wxPyEndAllowThreads(__tstate);
2065 if (PyErr_Occurred()) SWIG_fail;
2066 }
2067 {
2068 wxPoint * resultptr;
2069 resultptr = new wxPoint((wxPoint &) result);
2070 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2071 }
2072 return resultobj;
2073 fail:
2074 return NULL;
2075 }
2076
2077
2078 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2079 PyObject *resultobj;
2080 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2081 int arg2 ;
2082 int arg3 ;
2083 int *arg4 = (int *) 0 ;
2084 int *arg5 = (int *) 0 ;
2085 int temp4 ;
2086 int temp5 ;
2087 PyObject * obj0 = 0 ;
2088 PyObject * obj1 = 0 ;
2089 PyObject * obj2 = 0 ;
2090
2091 arg4 = &temp4;
2092 arg5 = &temp5;
2093 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2095 {
2096 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2097 if (PyErr_Occurred()) SWIG_fail;
2098 }
2099 {
2100 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2101 if (PyErr_Occurred()) SWIG_fail;
2102 }
2103 {
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 Py_INCREF(Py_None); resultobj = Py_None;
2111 {
2112 PyObject *o = PyInt_FromLong((long) (*arg4));
2113 resultobj = t_output_helper(resultobj,o);
2114 }
2115 {
2116 PyObject *o = PyInt_FromLong((long) (*arg5));
2117 resultobj = t_output_helper(resultobj,o);
2118 }
2119 return resultobj;
2120 fail:
2121 return NULL;
2122 }
2123
2124
2125 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2126 int argc;
2127 PyObject *argv[4];
2128 int ii;
2129
2130 argc = PyObject_Length(args);
2131 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2132 argv[ii] = PyTuple_GetItem(args,ii);
2133 }
2134 if (argc == 2) {
2135 int _v;
2136 {
2137 void *ptr;
2138 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2139 _v = 0;
2140 PyErr_Clear();
2141 } else {
2142 _v = 1;
2143 }
2144 }
2145 if (_v) {
2146 {
2147 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2148 }
2149 if (_v) {
2150 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2151 }
2152 }
2153 }
2154 if (argc == 3) {
2155 int _v;
2156 {
2157 void *ptr;
2158 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2159 _v = 0;
2160 PyErr_Clear();
2161 } else {
2162 _v = 1;
2163 }
2164 }
2165 if (_v) {
2166 {
2167 SWIG_PyObj_AsInt(argv[1]);
2168 if (PyErr_Occurred()) {
2169 _v = 0;
2170 PyErr_Clear();
2171 } else {
2172 _v = 1;
2173 }
2174 }
2175 if (_v) {
2176 {
2177 SWIG_PyObj_AsInt(argv[2]);
2178 if (PyErr_Occurred()) {
2179 _v = 0;
2180 PyErr_Clear();
2181 } else {
2182 _v = 1;
2183 }
2184 }
2185 if (_v) {
2186 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2187 }
2188 }
2189 }
2190 }
2191
2192 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2193 return NULL;
2194 }
2195
2196
2197 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2198 PyObject *resultobj;
2199 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2200 PyObject * obj0 = 0 ;
2201 char *kwnames[] = {
2202 (char *) "self", NULL
2203 };
2204
2205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2207 {
2208 PyThreadState* __tstate = wxPyBeginAllowThreads();
2209 (arg1)->AdjustScrollbars();
2210
2211 wxPyEndAllowThreads(__tstate);
2212 if (PyErr_Occurred()) SWIG_fail;
2213 }
2214 Py_INCREF(Py_None); resultobj = Py_None;
2215 return resultobj;
2216 fail:
2217 return NULL;
2218 }
2219
2220
2221 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2222 PyObject *resultobj;
2223 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2224 wxScrollWinEvent *arg2 = 0 ;
2225 int result;
2226 PyObject * obj0 = 0 ;
2227 PyObject * obj1 = 0 ;
2228 char *kwnames[] = {
2229 (char *) "self",(char *) "event", NULL
2230 };
2231
2232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2234 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2235 if (arg2 == NULL) {
2236 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2237 }
2238 {
2239 PyThreadState* __tstate = wxPyBeginAllowThreads();
2240 result = (int)(arg1)->CalcScrollInc(*arg2);
2241
2242 wxPyEndAllowThreads(__tstate);
2243 if (PyErr_Occurred()) SWIG_fail;
2244 }
2245 resultobj = SWIG_PyObj_FromInt((int)result);
2246 return resultobj;
2247 fail:
2248 return NULL;
2249 }
2250
2251
2252 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2253 PyObject *resultobj;
2254 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2255 wxWindow *arg2 = (wxWindow *) 0 ;
2256 PyObject * obj0 = 0 ;
2257 PyObject * obj1 = 0 ;
2258 char *kwnames[] = {
2259 (char *) "self",(char *) "target", NULL
2260 };
2261
2262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 (arg1)->SetTargetWindow(arg2);
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
2272 Py_INCREF(Py_None); resultobj = Py_None;
2273 return resultobj;
2274 fail:
2275 return NULL;
2276 }
2277
2278
2279 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2280 PyObject *resultobj;
2281 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2282 wxWindow *result;
2283 PyObject * obj0 = 0 ;
2284 char *kwnames[] = {
2285 (char *) "self", NULL
2286 };
2287
2288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2290 {
2291 PyThreadState* __tstate = wxPyBeginAllowThreads();
2292 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2293
2294 wxPyEndAllowThreads(__tstate);
2295 if (PyErr_Occurred()) SWIG_fail;
2296 }
2297 {
2298 resultobj = wxPyMake_wxObject(result);
2299 }
2300 return resultobj;
2301 fail:
2302 return NULL;
2303 }
2304
2305
2306 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2307 PyObject *resultobj;
2308 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2309 wxRect *arg2 = 0 ;
2310 wxRect temp2 ;
2311 PyObject * obj0 = 0 ;
2312 PyObject * obj1 = 0 ;
2313 char *kwnames[] = {
2314 (char *) "self",(char *) "rect", NULL
2315 };
2316
2317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2319 {
2320 arg2 = &temp2;
2321 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2322 }
2323 {
2324 PyThreadState* __tstate = wxPyBeginAllowThreads();
2325 (arg1)->SetTargetRect((wxRect const &)*arg2);
2326
2327 wxPyEndAllowThreads(__tstate);
2328 if (PyErr_Occurred()) SWIG_fail;
2329 }
2330 Py_INCREF(Py_None); resultobj = Py_None;
2331 return resultobj;
2332 fail:
2333 return NULL;
2334 }
2335
2336
2337 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2338 PyObject *resultobj;
2339 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2340 wxRect result;
2341 PyObject * obj0 = 0 ;
2342 char *kwnames[] = {
2343 (char *) "self", NULL
2344 };
2345
2346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2348 {
2349 PyThreadState* __tstate = wxPyBeginAllowThreads();
2350 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2351
2352 wxPyEndAllowThreads(__tstate);
2353 if (PyErr_Occurred()) SWIG_fail;
2354 }
2355 {
2356 wxRect * resultptr;
2357 resultptr = new wxRect((wxRect &) result);
2358 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2359 }
2360 return resultobj;
2361 fail:
2362 return NULL;
2363 }
2364
2365
2366 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2367 PyObject *obj;
2368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2369 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2370 Py_INCREF(obj);
2371 return Py_BuildValue((char *)"");
2372 }
2373 static int _wrap_FrameNameStr_set(PyObject *) {
2374 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2375 return 1;
2376 }
2377
2378
2379 static PyObject *_wrap_FrameNameStr_get() {
2380 PyObject *pyobj;
2381
2382 {
2383 #if wxUSE_UNICODE
2384 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2385 #else
2386 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2387 #endif
2388 }
2389 return pyobj;
2390 }
2391
2392
2393 static int _wrap_DialogNameStr_set(PyObject *) {
2394 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2395 return 1;
2396 }
2397
2398
2399 static PyObject *_wrap_DialogNameStr_get() {
2400 PyObject *pyobj;
2401
2402 {
2403 #if wxUSE_UNICODE
2404 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2405 #else
2406 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2407 #endif
2408 }
2409 return pyobj;
2410 }
2411
2412
2413 static int _wrap_StatusLineNameStr_set(PyObject *) {
2414 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2415 return 1;
2416 }
2417
2418
2419 static PyObject *_wrap_StatusLineNameStr_get() {
2420 PyObject *pyobj;
2421
2422 {
2423 #if wxUSE_UNICODE
2424 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2425 #else
2426 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2427 #endif
2428 }
2429 return pyobj;
2430 }
2431
2432
2433 static int _wrap_ToolBarNameStr_set(PyObject *) {
2434 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2435 return 1;
2436 }
2437
2438
2439 static PyObject *_wrap_ToolBarNameStr_get() {
2440 PyObject *pyobj;
2441
2442 {
2443 #if wxUSE_UNICODE
2444 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2445 #else
2446 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2447 #endif
2448 }
2449 return pyobj;
2450 }
2451
2452
2453 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2454 PyObject *resultobj;
2455 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2456 bool arg2 = (bool) True ;
2457 PyObject * obj0 = 0 ;
2458 PyObject * obj1 = 0 ;
2459 char *kwnames[] = {
2460 (char *) "self",(char *) "maximize", NULL
2461 };
2462
2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2465 if (obj1) {
2466 {
2467 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2468 if (PyErr_Occurred()) SWIG_fail;
2469 }
2470 }
2471 {
2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
2473 (arg1)->Maximize(arg2);
2474
2475 wxPyEndAllowThreads(__tstate);
2476 if (PyErr_Occurred()) SWIG_fail;
2477 }
2478 Py_INCREF(Py_None); resultobj = Py_None;
2479 return resultobj;
2480 fail:
2481 return NULL;
2482 }
2483
2484
2485 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2486 PyObject *resultobj;
2487 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2488 PyObject * obj0 = 0 ;
2489 char *kwnames[] = {
2490 (char *) "self", NULL
2491 };
2492
2493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2495 {
2496 PyThreadState* __tstate = wxPyBeginAllowThreads();
2497 (arg1)->Restore();
2498
2499 wxPyEndAllowThreads(__tstate);
2500 if (PyErr_Occurred()) SWIG_fail;
2501 }
2502 Py_INCREF(Py_None); resultobj = Py_None;
2503 return resultobj;
2504 fail:
2505 return NULL;
2506 }
2507
2508
2509 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2510 PyObject *resultobj;
2511 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2512 bool arg2 = (bool) True ;
2513 PyObject * obj0 = 0 ;
2514 PyObject * obj1 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "self",(char *) "iconize", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2521 if (obj1) {
2522 {
2523 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 }
2526 }
2527 {
2528 PyThreadState* __tstate = wxPyBeginAllowThreads();
2529 (arg1)->Iconize(arg2);
2530
2531 wxPyEndAllowThreads(__tstate);
2532 if (PyErr_Occurred()) SWIG_fail;
2533 }
2534 Py_INCREF(Py_None); resultobj = Py_None;
2535 return resultobj;
2536 fail:
2537 return NULL;
2538 }
2539
2540
2541 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2542 PyObject *resultobj;
2543 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2544 bool result;
2545 PyObject * obj0 = 0 ;
2546 char *kwnames[] = {
2547 (char *) "self", NULL
2548 };
2549
2550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2552 {
2553 PyThreadState* __tstate = wxPyBeginAllowThreads();
2554 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2555
2556 wxPyEndAllowThreads(__tstate);
2557 if (PyErr_Occurred()) SWIG_fail;
2558 }
2559 resultobj = SWIG_PyObj_FromBool((bool)result);
2560 return resultobj;
2561 fail:
2562 return NULL;
2563 }
2564
2565
2566 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2567 PyObject *resultobj;
2568 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2569 bool result;
2570 PyObject * obj0 = 0 ;
2571 char *kwnames[] = {
2572 (char *) "self", NULL
2573 };
2574
2575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2577 {
2578 PyThreadState* __tstate = wxPyBeginAllowThreads();
2579 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2580
2581 wxPyEndAllowThreads(__tstate);
2582 if (PyErr_Occurred()) SWIG_fail;
2583 }
2584 resultobj = SWIG_PyObj_FromBool((bool)result);
2585 return resultobj;
2586 fail:
2587 return NULL;
2588 }
2589
2590
2591 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2592 PyObject *resultobj;
2593 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2594 wxIcon result;
2595 PyObject * obj0 = 0 ;
2596 char *kwnames[] = {
2597 (char *) "self", NULL
2598 };
2599
2600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2602 {
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
2604 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2605
2606 wxPyEndAllowThreads(__tstate);
2607 if (PyErr_Occurred()) SWIG_fail;
2608 }
2609 {
2610 wxIcon * resultptr;
2611 resultptr = new wxIcon((wxIcon &) result);
2612 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2613 }
2614 return resultobj;
2615 fail:
2616 return NULL;
2617 }
2618
2619
2620 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2621 PyObject *resultobj;
2622 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2623 wxIcon *arg2 = 0 ;
2624 PyObject * obj0 = 0 ;
2625 PyObject * obj1 = 0 ;
2626 char *kwnames[] = {
2627 (char *) "self",(char *) "icon", NULL
2628 };
2629
2630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2633 if (arg2 == NULL) {
2634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2635 }
2636 {
2637 PyThreadState* __tstate = wxPyBeginAllowThreads();
2638 (arg1)->SetIcon((wxIcon const &)*arg2);
2639
2640 wxPyEndAllowThreads(__tstate);
2641 if (PyErr_Occurred()) SWIG_fail;
2642 }
2643 Py_INCREF(Py_None); resultobj = Py_None;
2644 return resultobj;
2645 fail:
2646 return NULL;
2647 }
2648
2649
2650 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2651 PyObject *resultobj;
2652 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2653 wxIconBundle *arg2 = 0 ;
2654 PyObject * obj0 = 0 ;
2655 PyObject * obj1 = 0 ;
2656 char *kwnames[] = {
2657 (char *) "self",(char *) "icons", NULL
2658 };
2659
2660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2663 if (arg2 == NULL) {
2664 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2665 }
2666 {
2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
2668 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2669
2670 wxPyEndAllowThreads(__tstate);
2671 if (PyErr_Occurred()) SWIG_fail;
2672 }
2673 Py_INCREF(Py_None); resultobj = Py_None;
2674 return resultobj;
2675 fail:
2676 return NULL;
2677 }
2678
2679
2680 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2681 PyObject *resultobj;
2682 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2683 bool arg2 ;
2684 long arg3 = (long) wxFULLSCREEN_ALL ;
2685 bool result;
2686 PyObject * obj0 = 0 ;
2687 PyObject * obj1 = 0 ;
2688 PyObject * obj2 = 0 ;
2689 char *kwnames[] = {
2690 (char *) "self",(char *) "show",(char *) "style", NULL
2691 };
2692
2693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2695 {
2696 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2697 if (PyErr_Occurred()) SWIG_fail;
2698 }
2699 if (obj2) {
2700 {
2701 arg3 = (long) SWIG_PyObj_AsLong(obj2);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 }
2705 {
2706 PyThreadState* __tstate = wxPyBeginAllowThreads();
2707 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2708
2709 wxPyEndAllowThreads(__tstate);
2710 if (PyErr_Occurred()) SWIG_fail;
2711 }
2712 resultobj = SWIG_PyObj_FromBool((bool)result);
2713 return resultobj;
2714 fail:
2715 return NULL;
2716 }
2717
2718
2719 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2720 PyObject *resultobj;
2721 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2722 bool result;
2723 PyObject * obj0 = 0 ;
2724 char *kwnames[] = {
2725 (char *) "self", NULL
2726 };
2727
2728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2730 {
2731 PyThreadState* __tstate = wxPyBeginAllowThreads();
2732 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2733
2734 wxPyEndAllowThreads(__tstate);
2735 if (PyErr_Occurred()) SWIG_fail;
2736 }
2737 resultobj = SWIG_PyObj_FromBool((bool)result);
2738 return resultobj;
2739 fail:
2740 return NULL;
2741 }
2742
2743
2744 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2745 PyObject *resultobj;
2746 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2747 wxString *arg2 = 0 ;
2748 bool temp2 = False ;
2749 PyObject * obj0 = 0 ;
2750 PyObject * obj1 = 0 ;
2751 char *kwnames[] = {
2752 (char *) "self",(char *) "title", NULL
2753 };
2754
2755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2757 {
2758 arg2 = wxString_in_helper(obj1);
2759 if (arg2 == NULL) SWIG_fail;
2760 temp2 = True;
2761 }
2762 {
2763 PyThreadState* __tstate = wxPyBeginAllowThreads();
2764 (arg1)->SetTitle((wxString const &)*arg2);
2765
2766 wxPyEndAllowThreads(__tstate);
2767 if (PyErr_Occurred()) SWIG_fail;
2768 }
2769 Py_INCREF(Py_None); resultobj = Py_None;
2770 {
2771 if (temp2)
2772 delete arg2;
2773 }
2774 return resultobj;
2775 fail:
2776 {
2777 if (temp2)
2778 delete arg2;
2779 }
2780 return NULL;
2781 }
2782
2783
2784 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2785 PyObject *resultobj;
2786 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2787 wxString result;
2788 PyObject * obj0 = 0 ;
2789 char *kwnames[] = {
2790 (char *) "self", NULL
2791 };
2792
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2795 {
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2798
2799 wxPyEndAllowThreads(__tstate);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 }
2802 {
2803 #if wxUSE_UNICODE
2804 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2805 #else
2806 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2807 #endif
2808 }
2809 return resultobj;
2810 fail:
2811 return NULL;
2812 }
2813
2814
2815 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2816 PyObject *resultobj;
2817 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2818 wxRegion *arg2 = 0 ;
2819 bool result;
2820 PyObject * obj0 = 0 ;
2821 PyObject * obj1 = 0 ;
2822 char *kwnames[] = {
2823 (char *) "self",(char *) "region", NULL
2824 };
2825
2826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2828 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2829 if (arg2 == NULL) {
2830 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2831 }
2832 {
2833 PyThreadState* __tstate = wxPyBeginAllowThreads();
2834 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2835
2836 wxPyEndAllowThreads(__tstate);
2837 if (PyErr_Occurred()) SWIG_fail;
2838 }
2839 resultobj = SWIG_PyObj_FromBool((bool)result);
2840 return resultobj;
2841 fail:
2842 return NULL;
2843 }
2844
2845
2846 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2847 PyObject *obj;
2848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2849 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2850 Py_INCREF(obj);
2851 return Py_BuildValue((char *)"");
2852 }
2853 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2854 PyObject *resultobj;
2855 wxWindow *arg1 = (wxWindow *) 0 ;
2856 int arg2 ;
2857 wxString *arg3 = 0 ;
2858 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2859 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2860 wxSize const &arg5_defvalue = wxDefaultSize ;
2861 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2862 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2863 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2864 wxString *arg7 = (wxString *) &arg7_defvalue ;
2865 wxFrame *result;
2866 bool temp3 = False ;
2867 wxPoint temp4 ;
2868 wxSize temp5 ;
2869 bool temp7 = False ;
2870 PyObject * obj0 = 0 ;
2871 PyObject * obj1 = 0 ;
2872 PyObject * obj2 = 0 ;
2873 PyObject * obj3 = 0 ;
2874 PyObject * obj4 = 0 ;
2875 PyObject * obj5 = 0 ;
2876 PyObject * obj6 = 0 ;
2877 char *kwnames[] = {
2878 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2879 };
2880
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2883 {
2884 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2885 if (PyErr_Occurred()) SWIG_fail;
2886 }
2887 {
2888 arg3 = wxString_in_helper(obj2);
2889 if (arg3 == NULL) SWIG_fail;
2890 temp3 = True;
2891 }
2892 if (obj3) {
2893 {
2894 arg4 = &temp4;
2895 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2896 }
2897 }
2898 if (obj4) {
2899 {
2900 arg5 = &temp5;
2901 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2902 }
2903 }
2904 if (obj5) {
2905 {
2906 arg6 = (long) SWIG_PyObj_AsLong(obj5);
2907 if (PyErr_Occurred()) SWIG_fail;
2908 }
2909 }
2910 if (obj6) {
2911 {
2912 arg7 = wxString_in_helper(obj6);
2913 if (arg7 == NULL) SWIG_fail;
2914 temp7 = True;
2915 }
2916 }
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 }
2924 {
2925 resultobj = wxPyMake_wxObject(result);
2926 }
2927 {
2928 if (temp3)
2929 delete arg3;
2930 }
2931 {
2932 if (temp7)
2933 delete arg7;
2934 }
2935 return resultobj;
2936 fail:
2937 {
2938 if (temp3)
2939 delete arg3;
2940 }
2941 {
2942 if (temp7)
2943 delete arg7;
2944 }
2945 return NULL;
2946 }
2947
2948
2949 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj;
2951 wxFrame *result;
2952 char *kwnames[] = {
2953 NULL
2954 };
2955
2956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 result = (wxFrame *)new wxFrame();
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
2964 {
2965 resultobj = wxPyMake_wxObject(result);
2966 }
2967 return resultobj;
2968 fail:
2969 return NULL;
2970 }
2971
2972
2973 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2974 PyObject *resultobj;
2975 wxFrame *arg1 = (wxFrame *) 0 ;
2976 wxWindow *arg2 = (wxWindow *) 0 ;
2977 int arg3 ;
2978 wxString *arg4 = 0 ;
2979 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2980 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2981 wxSize const &arg6_defvalue = wxDefaultSize ;
2982 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2983 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2984 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2985 wxString *arg8 = (wxString *) &arg8_defvalue ;
2986 bool result;
2987 bool temp4 = False ;
2988 wxPoint temp5 ;
2989 wxSize temp6 ;
2990 bool temp8 = False ;
2991 PyObject * obj0 = 0 ;
2992 PyObject * obj1 = 0 ;
2993 PyObject * obj2 = 0 ;
2994 PyObject * obj3 = 0 ;
2995 PyObject * obj4 = 0 ;
2996 PyObject * obj5 = 0 ;
2997 PyObject * obj6 = 0 ;
2998 PyObject * obj7 = 0 ;
2999 char *kwnames[] = {
3000 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3001 };
3002
3003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3006 {
3007 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 {
3011 arg4 = wxString_in_helper(obj3);
3012 if (arg4 == NULL) SWIG_fail;
3013 temp4 = True;
3014 }
3015 if (obj4) {
3016 {
3017 arg5 = &temp5;
3018 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3019 }
3020 }
3021 if (obj5) {
3022 {
3023 arg6 = &temp6;
3024 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3025 }
3026 }
3027 if (obj6) {
3028 {
3029 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3030 if (PyErr_Occurred()) SWIG_fail;
3031 }
3032 }
3033 if (obj7) {
3034 {
3035 arg8 = wxString_in_helper(obj7);
3036 if (arg8 == NULL) SWIG_fail;
3037 temp8 = True;
3038 }
3039 }
3040 {
3041 PyThreadState* __tstate = wxPyBeginAllowThreads();
3042 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3043
3044 wxPyEndAllowThreads(__tstate);
3045 if (PyErr_Occurred()) SWIG_fail;
3046 }
3047 resultobj = SWIG_PyObj_FromBool((bool)result);
3048 {
3049 if (temp4)
3050 delete arg4;
3051 }
3052 {
3053 if (temp8)
3054 delete arg8;
3055 }
3056 return resultobj;
3057 fail:
3058 {
3059 if (temp4)
3060 delete arg4;
3061 }
3062 {
3063 if (temp8)
3064 delete arg8;
3065 }
3066 return NULL;
3067 }
3068
3069
3070 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3071 PyObject *resultobj;
3072 wxFrame *arg1 = (wxFrame *) 0 ;
3073 wxPoint result;
3074 PyObject * obj0 = 0 ;
3075 char *kwnames[] = {
3076 (char *) "self", NULL
3077 };
3078
3079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3081 {
3082 PyThreadState* __tstate = wxPyBeginAllowThreads();
3083 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3084
3085 wxPyEndAllowThreads(__tstate);
3086 if (PyErr_Occurred()) SWIG_fail;
3087 }
3088 {
3089 wxPoint * resultptr;
3090 resultptr = new wxPoint((wxPoint &) result);
3091 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3092 }
3093 return resultobj;
3094 fail:
3095 return NULL;
3096 }
3097
3098
3099 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3100 PyObject *resultobj;
3101 wxFrame *arg1 = (wxFrame *) 0 ;
3102 PyObject * obj0 = 0 ;
3103 char *kwnames[] = {
3104 (char *) "self", NULL
3105 };
3106
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3109 {
3110 PyThreadState* __tstate = wxPyBeginAllowThreads();
3111 (arg1)->SendSizeEvent();
3112
3113 wxPyEndAllowThreads(__tstate);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
3116 Py_INCREF(Py_None); resultobj = Py_None;
3117 return resultobj;
3118 fail:
3119 return NULL;
3120 }
3121
3122
3123 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3124 PyObject *resultobj;
3125 wxFrame *arg1 = (wxFrame *) 0 ;
3126 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3127 PyObject * obj0 = 0 ;
3128 PyObject * obj1 = 0 ;
3129 char *kwnames[] = {
3130 (char *) "self",(char *) "menubar", NULL
3131 };
3132
3133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3136 {
3137 PyThreadState* __tstate = wxPyBeginAllowThreads();
3138 (arg1)->SetMenuBar(arg2);
3139
3140 wxPyEndAllowThreads(__tstate);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
3143 Py_INCREF(Py_None); resultobj = Py_None;
3144 return resultobj;
3145 fail:
3146 return NULL;
3147 }
3148
3149
3150 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3151 PyObject *resultobj;
3152 wxFrame *arg1 = (wxFrame *) 0 ;
3153 wxMenuBar *result;
3154 PyObject * obj0 = 0 ;
3155 char *kwnames[] = {
3156 (char *) "self", NULL
3157 };
3158
3159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3161 {
3162 PyThreadState* __tstate = wxPyBeginAllowThreads();
3163 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3164
3165 wxPyEndAllowThreads(__tstate);
3166 if (PyErr_Occurred()) SWIG_fail;
3167 }
3168 {
3169 resultobj = wxPyMake_wxObject(result);
3170 }
3171 return resultobj;
3172 fail:
3173 return NULL;
3174 }
3175
3176
3177 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3178 PyObject *resultobj;
3179 wxFrame *arg1 = (wxFrame *) 0 ;
3180 int arg2 ;
3181 bool result;
3182 PyObject * obj0 = 0 ;
3183 PyObject * obj1 = 0 ;
3184 char *kwnames[] = {
3185 (char *) "self",(char *) "winid", NULL
3186 };
3187
3188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3190 {
3191 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3192 if (PyErr_Occurred()) SWIG_fail;
3193 }
3194 {
3195 PyThreadState* __tstate = wxPyBeginAllowThreads();
3196 result = (bool)(arg1)->ProcessCommand(arg2);
3197
3198 wxPyEndAllowThreads(__tstate);
3199 if (PyErr_Occurred()) SWIG_fail;
3200 }
3201 resultobj = SWIG_PyObj_FromBool((bool)result);
3202 return resultobj;
3203 fail:
3204 return NULL;
3205 }
3206
3207
3208 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3209 PyObject *resultobj;
3210 wxFrame *arg1 = (wxFrame *) 0 ;
3211 int arg2 = (int) 1 ;
3212 long arg3 = (long) wxST_SIZEGRIP ;
3213 int arg4 = (int) 0 ;
3214 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3215 wxString *arg5 = (wxString *) &arg5_defvalue ;
3216 wxStatusBar *result;
3217 bool temp5 = False ;
3218 PyObject * obj0 = 0 ;
3219 PyObject * obj1 = 0 ;
3220 PyObject * obj2 = 0 ;
3221 PyObject * obj3 = 0 ;
3222 PyObject * obj4 = 0 ;
3223 char *kwnames[] = {
3224 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3225 };
3226
3227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3229 if (obj1) {
3230 {
3231 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 }
3234 }
3235 if (obj2) {
3236 {
3237 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
3240 }
3241 if (obj3) {
3242 {
3243 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3244 if (PyErr_Occurred()) SWIG_fail;
3245 }
3246 }
3247 if (obj4) {
3248 {
3249 arg5 = wxString_in_helper(obj4);
3250 if (arg5 == NULL) SWIG_fail;
3251 temp5 = True;
3252 }
3253 }
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 {
3262 resultobj = wxPyMake_wxObject(result);
3263 }
3264 {
3265 if (temp5)
3266 delete arg5;
3267 }
3268 return resultobj;
3269 fail:
3270 {
3271 if (temp5)
3272 delete arg5;
3273 }
3274 return NULL;
3275 }
3276
3277
3278 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3279 PyObject *resultobj;
3280 wxFrame *arg1 = (wxFrame *) 0 ;
3281 wxStatusBar *result;
3282 PyObject * obj0 = 0 ;
3283 char *kwnames[] = {
3284 (char *) "self", NULL
3285 };
3286
3287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3289 {
3290 PyThreadState* __tstate = wxPyBeginAllowThreads();
3291 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3292
3293 wxPyEndAllowThreads(__tstate);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
3296 {
3297 resultobj = wxPyMake_wxObject(result);
3298 }
3299 return resultobj;
3300 fail:
3301 return NULL;
3302 }
3303
3304
3305 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj;
3307 wxFrame *arg1 = (wxFrame *) 0 ;
3308 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3309 PyObject * obj0 = 0 ;
3310 PyObject * obj1 = 0 ;
3311 char *kwnames[] = {
3312 (char *) "self",(char *) "statBar", NULL
3313 };
3314
3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3317 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 (arg1)->SetStatusBar(arg2);
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 Py_INCREF(Py_None); resultobj = Py_None;
3326 return resultobj;
3327 fail:
3328 return NULL;
3329 }
3330
3331
3332 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3333 PyObject *resultobj;
3334 wxFrame *arg1 = (wxFrame *) 0 ;
3335 wxString *arg2 = 0 ;
3336 int arg3 = (int) 0 ;
3337 bool temp2 = False ;
3338 PyObject * obj0 = 0 ;
3339 PyObject * obj1 = 0 ;
3340 PyObject * obj2 = 0 ;
3341 char *kwnames[] = {
3342 (char *) "self",(char *) "text",(char *) "number", NULL
3343 };
3344
3345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3347 {
3348 arg2 = wxString_in_helper(obj1);
3349 if (arg2 == NULL) SWIG_fail;
3350 temp2 = True;
3351 }
3352 if (obj2) {
3353 {
3354 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 }
3357 }
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 Py_INCREF(Py_None); resultobj = Py_None;
3366 {
3367 if (temp2)
3368 delete arg2;
3369 }
3370 return resultobj;
3371 fail:
3372 {
3373 if (temp2)
3374 delete arg2;
3375 }
3376 return NULL;
3377 }
3378
3379
3380 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3381 PyObject *resultobj;
3382 wxFrame *arg1 = (wxFrame *) 0 ;
3383 int arg2 ;
3384 int *arg3 = (int *) 0 ;
3385 PyObject * obj0 = 0 ;
3386 PyObject * obj1 = 0 ;
3387 char *kwnames[] = {
3388 (char *) "self",(char *) "widths", NULL
3389 };
3390
3391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3393 {
3394 arg2 = PyList_Size(obj1);
3395 arg3 = int_LIST_helper(obj1);
3396 if (arg3 == NULL) SWIG_fail;
3397 }
3398 {
3399 PyThreadState* __tstate = wxPyBeginAllowThreads();
3400 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3401
3402 wxPyEndAllowThreads(__tstate);
3403 if (PyErr_Occurred()) SWIG_fail;
3404 }
3405 Py_INCREF(Py_None); resultobj = Py_None;
3406 {
3407 if (arg3) delete [] arg3;
3408 }
3409 return resultobj;
3410 fail:
3411 {
3412 if (arg3) delete [] arg3;
3413 }
3414 return NULL;
3415 }
3416
3417
3418 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3419 PyObject *resultobj;
3420 wxFrame *arg1 = (wxFrame *) 0 ;
3421 wxString *arg2 = 0 ;
3422 int arg3 = (int) 0 ;
3423 bool temp2 = False ;
3424 PyObject * obj0 = 0 ;
3425 PyObject * obj1 = 0 ;
3426 PyObject * obj2 = 0 ;
3427 char *kwnames[] = {
3428 (char *) "self",(char *) "text",(char *) "number", NULL
3429 };
3430
3431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3433 {
3434 arg2 = wxString_in_helper(obj1);
3435 if (arg2 == NULL) SWIG_fail;
3436 temp2 = True;
3437 }
3438 if (obj2) {
3439 {
3440 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 }
3444 {
3445 PyThreadState* __tstate = wxPyBeginAllowThreads();
3446 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3447
3448 wxPyEndAllowThreads(__tstate);
3449 if (PyErr_Occurred()) SWIG_fail;
3450 }
3451 Py_INCREF(Py_None); resultobj = Py_None;
3452 {
3453 if (temp2)
3454 delete arg2;
3455 }
3456 return resultobj;
3457 fail:
3458 {
3459 if (temp2)
3460 delete arg2;
3461 }
3462 return NULL;
3463 }
3464
3465
3466 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3467 PyObject *resultobj;
3468 wxFrame *arg1 = (wxFrame *) 0 ;
3469 int arg2 = (int) 0 ;
3470 PyObject * obj0 = 0 ;
3471 PyObject * obj1 = 0 ;
3472 char *kwnames[] = {
3473 (char *) "self",(char *) "number", NULL
3474 };
3475
3476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3478 if (obj1) {
3479 {
3480 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 }
3484 {
3485 PyThreadState* __tstate = wxPyBeginAllowThreads();
3486 (arg1)->PopStatusText(arg2);
3487
3488 wxPyEndAllowThreads(__tstate);
3489 if (PyErr_Occurred()) SWIG_fail;
3490 }
3491 Py_INCREF(Py_None); resultobj = Py_None;
3492 return resultobj;
3493 fail:
3494 return NULL;
3495 }
3496
3497
3498 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3499 PyObject *resultobj;
3500 wxFrame *arg1 = (wxFrame *) 0 ;
3501 int arg2 ;
3502 PyObject * obj0 = 0 ;
3503 PyObject * obj1 = 0 ;
3504 char *kwnames[] = {
3505 (char *) "self",(char *) "n", NULL
3506 };
3507
3508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3510 {
3511 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 (arg1)->SetStatusBarPane(arg2);
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
3521 Py_INCREF(Py_None); resultobj = Py_None;
3522 return resultobj;
3523 fail:
3524 return NULL;
3525 }
3526
3527
3528 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3529 PyObject *resultobj;
3530 wxFrame *arg1 = (wxFrame *) 0 ;
3531 int result;
3532 PyObject * obj0 = 0 ;
3533 char *kwnames[] = {
3534 (char *) "self", NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3539 {
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3542
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 resultobj = SWIG_PyObj_FromInt((int)result);
3547 return resultobj;
3548 fail:
3549 return NULL;
3550 }
3551
3552
3553 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3554 PyObject *resultobj;
3555 wxFrame *arg1 = (wxFrame *) 0 ;
3556 long arg2 = (long) -1 ;
3557 int arg3 = (int) -1 ;
3558 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3559 wxString *arg4 = (wxString *) &arg4_defvalue ;
3560 wxToolBar *result;
3561 bool temp4 = False ;
3562 PyObject * obj0 = 0 ;
3563 PyObject * obj1 = 0 ;
3564 PyObject * obj2 = 0 ;
3565 PyObject * obj3 = 0 ;
3566 char *kwnames[] = {
3567 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3568 };
3569
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3572 if (obj1) {
3573 {
3574 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3575 if (PyErr_Occurred()) SWIG_fail;
3576 }
3577 }
3578 if (obj2) {
3579 {
3580 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3581 if (PyErr_Occurred()) SWIG_fail;
3582 }
3583 }
3584 if (obj3) {
3585 {
3586 arg4 = wxString_in_helper(obj3);
3587 if (arg4 == NULL) SWIG_fail;
3588 temp4 = True;
3589 }
3590 }
3591 {
3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
3593 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3594
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
3598 {
3599 resultobj = wxPyMake_wxObject(result);
3600 }
3601 {
3602 if (temp4)
3603 delete arg4;
3604 }
3605 return resultobj;
3606 fail:
3607 {
3608 if (temp4)
3609 delete arg4;
3610 }
3611 return NULL;
3612 }
3613
3614
3615 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3616 PyObject *resultobj;
3617 wxFrame *arg1 = (wxFrame *) 0 ;
3618 wxToolBar *result;
3619 PyObject * obj0 = 0 ;
3620 char *kwnames[] = {
3621 (char *) "self", NULL
3622 };
3623
3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3626 {
3627 PyThreadState* __tstate = wxPyBeginAllowThreads();
3628 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3629
3630 wxPyEndAllowThreads(__tstate);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 }
3633 {
3634 resultobj = wxPyMake_wxObject(result);
3635 }
3636 return resultobj;
3637 fail:
3638 return NULL;
3639 }
3640
3641
3642 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3643 PyObject *resultobj;
3644 wxFrame *arg1 = (wxFrame *) 0 ;
3645 wxToolBar *arg2 = (wxToolBar *) 0 ;
3646 PyObject * obj0 = 0 ;
3647 PyObject * obj1 = 0 ;
3648 char *kwnames[] = {
3649 (char *) "self",(char *) "toolbar", NULL
3650 };
3651
3652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3655 {
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
3657 (arg1)->SetToolBar(arg2);
3658
3659 wxPyEndAllowThreads(__tstate);
3660 if (PyErr_Occurred()) SWIG_fail;
3661 }
3662 Py_INCREF(Py_None); resultobj = Py_None;
3663 return resultobj;
3664 fail:
3665 return NULL;
3666 }
3667
3668
3669 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3670 PyObject *resultobj;
3671 wxFrame *arg1 = (wxFrame *) 0 ;
3672 wxString *arg2 = 0 ;
3673 bool arg3 ;
3674 bool temp2 = False ;
3675 PyObject * obj0 = 0 ;
3676 PyObject * obj1 = 0 ;
3677 PyObject * obj2 = 0 ;
3678 char *kwnames[] = {
3679 (char *) "self",(char *) "text",(char *) "show", NULL
3680 };
3681
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3684 {
3685 arg2 = wxString_in_helper(obj1);
3686 if (arg2 == NULL) SWIG_fail;
3687 temp2 = True;
3688 }
3689 {
3690 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3696
3697 wxPyEndAllowThreads(__tstate);
3698 if (PyErr_Occurred()) SWIG_fail;
3699 }
3700 Py_INCREF(Py_None); resultobj = Py_None;
3701 {
3702 if (temp2)
3703 delete arg2;
3704 }
3705 return resultobj;
3706 fail:
3707 {
3708 if (temp2)
3709 delete arg2;
3710 }
3711 return NULL;
3712 }
3713
3714
3715 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 wxFrame *arg1 = (wxFrame *) 0 ;
3718 wxMenu *arg2 = (wxMenu *) NULL ;
3719 PyObject * obj0 = 0 ;
3720 PyObject * obj1 = 0 ;
3721 char *kwnames[] = {
3722 (char *) "self",(char *) "menu", NULL
3723 };
3724
3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3727 if (obj1) {
3728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3729 }
3730 {
3731 PyThreadState* __tstate = wxPyBeginAllowThreads();
3732 (arg1)->DoMenuUpdates(arg2);
3733
3734 wxPyEndAllowThreads(__tstate);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
3737 Py_INCREF(Py_None); resultobj = Py_None;
3738 return resultobj;
3739 fail:
3740 return NULL;
3741 }
3742
3743
3744 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3745 PyObject *obj;
3746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3747 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3748 Py_INCREF(obj);
3749 return Py_BuildValue((char *)"");
3750 }
3751 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj;
3753 wxWindow *arg1 = (wxWindow *) 0 ;
3754 int arg2 ;
3755 wxString *arg3 = 0 ;
3756 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3757 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3758 wxSize const &arg5_defvalue = wxDefaultSize ;
3759 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3760 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3761 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3762 wxString *arg7 = (wxString *) &arg7_defvalue ;
3763 wxDialog *result;
3764 bool temp3 = False ;
3765 wxPoint temp4 ;
3766 wxSize temp5 ;
3767 bool temp7 = False ;
3768 PyObject * obj0 = 0 ;
3769 PyObject * obj1 = 0 ;
3770 PyObject * obj2 = 0 ;
3771 PyObject * obj3 = 0 ;
3772 PyObject * obj4 = 0 ;
3773 PyObject * obj5 = 0 ;
3774 PyObject * obj6 = 0 ;
3775 char *kwnames[] = {
3776 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3777 };
3778
3779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3781 {
3782 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
3785 {
3786 arg3 = wxString_in_helper(obj2);
3787 if (arg3 == NULL) SWIG_fail;
3788 temp3 = True;
3789 }
3790 if (obj3) {
3791 {
3792 arg4 = &temp4;
3793 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3794 }
3795 }
3796 if (obj4) {
3797 {
3798 arg5 = &temp5;
3799 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3800 }
3801 }
3802 if (obj5) {
3803 {
3804 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3805 if (PyErr_Occurred()) SWIG_fail;
3806 }
3807 }
3808 if (obj6) {
3809 {
3810 arg7 = wxString_in_helper(obj6);
3811 if (arg7 == NULL) SWIG_fail;
3812 temp7 = True;
3813 }
3814 }
3815 {
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3818
3819 wxPyEndAllowThreads(__tstate);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 }
3822 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3823 {
3824 if (temp3)
3825 delete arg3;
3826 }
3827 {
3828 if (temp7)
3829 delete arg7;
3830 }
3831 return resultobj;
3832 fail:
3833 {
3834 if (temp3)
3835 delete arg3;
3836 }
3837 {
3838 if (temp7)
3839 delete arg7;
3840 }
3841 return NULL;
3842 }
3843
3844
3845 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3846 PyObject *resultobj;
3847 wxDialog *result;
3848 char *kwnames[] = {
3849 NULL
3850 };
3851
3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3853 {
3854 PyThreadState* __tstate = wxPyBeginAllowThreads();
3855 result = (wxDialog *)new wxDialog();
3856
3857 wxPyEndAllowThreads(__tstate);
3858 if (PyErr_Occurred()) SWIG_fail;
3859 }
3860 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3861 return resultobj;
3862 fail:
3863 return NULL;
3864 }
3865
3866
3867 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3868 PyObject *resultobj;
3869 wxDialog *arg1 = (wxDialog *) 0 ;
3870 wxWindow *arg2 = (wxWindow *) 0 ;
3871 int arg3 ;
3872 wxString *arg4 = 0 ;
3873 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3874 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3875 wxSize const &arg6_defvalue = wxDefaultSize ;
3876 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3877 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3878 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3879 wxString *arg8 = (wxString *) &arg8_defvalue ;
3880 bool result;
3881 bool temp4 = False ;
3882 wxPoint temp5 ;
3883 wxSize temp6 ;
3884 bool temp8 = False ;
3885 PyObject * obj0 = 0 ;
3886 PyObject * obj1 = 0 ;
3887 PyObject * obj2 = 0 ;
3888 PyObject * obj3 = 0 ;
3889 PyObject * obj4 = 0 ;
3890 PyObject * obj5 = 0 ;
3891 PyObject * obj6 = 0 ;
3892 PyObject * obj7 = 0 ;
3893 char *kwnames[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3899 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3900 {
3901 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
3902 if (PyErr_Occurred()) SWIG_fail;
3903 }
3904 {
3905 arg4 = wxString_in_helper(obj3);
3906 if (arg4 == NULL) SWIG_fail;
3907 temp4 = True;
3908 }
3909 if (obj4) {
3910 {
3911 arg5 = &temp5;
3912 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3913 }
3914 }
3915 if (obj5) {
3916 {
3917 arg6 = &temp6;
3918 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3919 }
3920 }
3921 if (obj6) {
3922 {
3923 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3924 if (PyErr_Occurred()) SWIG_fail;
3925 }
3926 }
3927 if (obj7) {
3928 {
3929 arg8 = wxString_in_helper(obj7);
3930 if (arg8 == NULL) SWIG_fail;
3931 temp8 = True;
3932 }
3933 }
3934 {
3935 PyThreadState* __tstate = wxPyBeginAllowThreads();
3936 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3937
3938 wxPyEndAllowThreads(__tstate);
3939 if (PyErr_Occurred()) SWIG_fail;
3940 }
3941 resultobj = SWIG_PyObj_FromBool((bool)result);
3942 {
3943 if (temp4)
3944 delete arg4;
3945 }
3946 {
3947 if (temp8)
3948 delete arg8;
3949 }
3950 return resultobj;
3951 fail:
3952 {
3953 if (temp4)
3954 delete arg4;
3955 }
3956 {
3957 if (temp8)
3958 delete arg8;
3959 }
3960 return NULL;
3961 }
3962
3963
3964 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3965 PyObject *resultobj;
3966 wxDialog *arg1 = (wxDialog *) 0 ;
3967 int arg2 ;
3968 PyObject * obj0 = 0 ;
3969 PyObject * obj1 = 0 ;
3970 char *kwnames[] = {
3971 (char *) "self",(char *) "returnCode", NULL
3972 };
3973
3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
3975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3976 {
3977 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3978 if (PyErr_Occurred()) SWIG_fail;
3979 }
3980 {
3981 PyThreadState* __tstate = wxPyBeginAllowThreads();
3982 (arg1)->SetReturnCode(arg2);
3983
3984 wxPyEndAllowThreads(__tstate);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 Py_INCREF(Py_None); resultobj = Py_None;
3988 return resultobj;
3989 fail:
3990 return NULL;
3991 }
3992
3993
3994 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3995 PyObject *resultobj;
3996 wxDialog *arg1 = (wxDialog *) 0 ;
3997 int result;
3998 PyObject * obj0 = 0 ;
3999 char *kwnames[] = {
4000 (char *) "self", NULL
4001 };
4002
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4005 {
4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
4007 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4008
4009 wxPyEndAllowThreads(__tstate);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 }
4012 resultobj = SWIG_PyObj_FromInt((int)result);
4013 return resultobj;
4014 fail:
4015 return NULL;
4016 }
4017
4018
4019 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4020 PyObject *resultobj;
4021 wxDialog *arg1 = (wxDialog *) 0 ;
4022 wxString *arg2 = 0 ;
4023 wxSizer *result;
4024 bool temp2 = False ;
4025 PyObject * obj0 = 0 ;
4026 PyObject * obj1 = 0 ;
4027 char *kwnames[] = {
4028 (char *) "self",(char *) "message", NULL
4029 };
4030
4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4033 {
4034 arg2 = wxString_in_helper(obj1);
4035 if (arg2 == NULL) SWIG_fail;
4036 temp2 = True;
4037 }
4038 {
4039 PyThreadState* __tstate = wxPyBeginAllowThreads();
4040 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4041
4042 wxPyEndAllowThreads(__tstate);
4043 if (PyErr_Occurred()) SWIG_fail;
4044 }
4045 {
4046 resultobj = wxPyMake_wxSizer(result);
4047 }
4048 {
4049 if (temp2)
4050 delete arg2;
4051 }
4052 return resultobj;
4053 fail:
4054 {
4055 if (temp2)
4056 delete arg2;
4057 }
4058 return NULL;
4059 }
4060
4061
4062 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4063 PyObject *resultobj;
4064 wxDialog *arg1 = (wxDialog *) 0 ;
4065 long arg2 ;
4066 wxSizer *result;
4067 PyObject * obj0 = 0 ;
4068 PyObject * obj1 = 0 ;
4069 char *kwnames[] = {
4070 (char *) "self",(char *) "flags", NULL
4071 };
4072
4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4075 {
4076 arg2 = (long) SWIG_PyObj_AsLong(obj1);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 {
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4082
4083 wxPyEndAllowThreads(__tstate);
4084 if (PyErr_Occurred()) SWIG_fail;
4085 }
4086 {
4087 resultobj = wxPyMake_wxSizer(result);
4088 }
4089 return resultobj;
4090 fail:
4091 return NULL;
4092 }
4093
4094
4095 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4096 PyObject *resultobj;
4097 wxDialog *arg1 = (wxDialog *) 0 ;
4098 bool result;
4099 PyObject * obj0 = 0 ;
4100 char *kwnames[] = {
4101 (char *) "self", NULL
4102 };
4103
4104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4106 {
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 result = (bool)((wxDialog const *)arg1)->IsModal();
4109
4110 wxPyEndAllowThreads(__tstate);
4111 if (PyErr_Occurred()) SWIG_fail;
4112 }
4113 resultobj = SWIG_PyObj_FromBool((bool)result);
4114 return resultobj;
4115 fail:
4116 return NULL;
4117 }
4118
4119
4120 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4121 PyObject *resultobj;
4122 wxDialog *arg1 = (wxDialog *) 0 ;
4123 int result;
4124 PyObject * obj0 = 0 ;
4125 char *kwnames[] = {
4126 (char *) "self", NULL
4127 };
4128
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4131 {
4132 PyThreadState* __tstate = wxPyBeginAllowThreads();
4133 result = (int)(arg1)->ShowModal();
4134
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 resultobj = SWIG_PyObj_FromInt((int)result);
4139 return resultobj;
4140 fail:
4141 return NULL;
4142 }
4143
4144
4145 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4146 PyObject *resultobj;
4147 wxDialog *arg1 = (wxDialog *) 0 ;
4148 int arg2 ;
4149 PyObject * obj0 = 0 ;
4150 PyObject * obj1 = 0 ;
4151 char *kwnames[] = {
4152 (char *) "self",(char *) "retCode", NULL
4153 };
4154
4155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4157 {
4158 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4159 if (PyErr_Occurred()) SWIG_fail;
4160 }
4161 {
4162 PyThreadState* __tstate = wxPyBeginAllowThreads();
4163 (arg1)->EndModal(arg2);
4164
4165 wxPyEndAllowThreads(__tstate);
4166 if (PyErr_Occurred()) SWIG_fail;
4167 }
4168 Py_INCREF(Py_None); resultobj = Py_None;
4169 return resultobj;
4170 fail:
4171 return NULL;
4172 }
4173
4174
4175 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4176 PyObject *resultobj;
4177 wxDialog *arg1 = (wxDialog *) 0 ;
4178 bool result;
4179 PyObject * obj0 = 0 ;
4180 char *kwnames[] = {
4181 (char *) "self", NULL
4182 };
4183
4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4186 {
4187 PyThreadState* __tstate = wxPyBeginAllowThreads();
4188 result = (bool)wxDialog_IsModalShowing(arg1);
4189
4190 wxPyEndAllowThreads(__tstate);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 }
4193 resultobj = SWIG_PyObj_FromBool((bool)result);
4194 return resultobj;
4195 fail:
4196 return NULL;
4197 }
4198
4199
4200 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4201 PyObject *obj;
4202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4203 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4204 Py_INCREF(obj);
4205 return Py_BuildValue((char *)"");
4206 }
4207 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4208 PyObject *resultobj;
4209 wxWindow *arg1 = (wxWindow *) 0 ;
4210 int arg2 ;
4211 wxString *arg3 = 0 ;
4212 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4213 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4214 wxSize const &arg5_defvalue = wxDefaultSize ;
4215 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4216 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4217 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4218 wxString *arg7 = (wxString *) &arg7_defvalue ;
4219 wxMiniFrame *result;
4220 bool temp3 = False ;
4221 wxPoint temp4 ;
4222 wxSize temp5 ;
4223 bool temp7 = False ;
4224 PyObject * obj0 = 0 ;
4225 PyObject * obj1 = 0 ;
4226 PyObject * obj2 = 0 ;
4227 PyObject * obj3 = 0 ;
4228 PyObject * obj4 = 0 ;
4229 PyObject * obj5 = 0 ;
4230 PyObject * obj6 = 0 ;
4231 char *kwnames[] = {
4232 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4233 };
4234
4235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4237 {
4238 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
4239 if (PyErr_Occurred()) SWIG_fail;
4240 }
4241 {
4242 arg3 = wxString_in_helper(obj2);
4243 if (arg3 == NULL) SWIG_fail;
4244 temp3 = True;
4245 }
4246 if (obj3) {
4247 {
4248 arg4 = &temp4;
4249 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4250 }
4251 }
4252 if (obj4) {
4253 {
4254 arg5 = &temp5;
4255 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4256 }
4257 }
4258 if (obj5) {
4259 {
4260 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 }
4263 }
4264 if (obj6) {
4265 {
4266 arg7 = wxString_in_helper(obj6);
4267 if (arg7 == NULL) SWIG_fail;
4268 temp7 = True;
4269 }
4270 }
4271 {
4272 PyThreadState* __tstate = wxPyBeginAllowThreads();
4273 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4274
4275 wxPyEndAllowThreads(__tstate);
4276 if (PyErr_Occurred()) SWIG_fail;
4277 }
4278 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4279 {
4280 if (temp3)
4281 delete arg3;
4282 }
4283 {
4284 if (temp7)
4285 delete arg7;
4286 }
4287 return resultobj;
4288 fail:
4289 {
4290 if (temp3)
4291 delete arg3;
4292 }
4293 {
4294 if (temp7)
4295 delete arg7;
4296 }
4297 return NULL;
4298 }
4299
4300
4301 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj;
4303 wxMiniFrame *result;
4304 char *kwnames[] = {
4305 NULL
4306 };
4307
4308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 result = (wxMiniFrame *)new wxMiniFrame();
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4317 return resultobj;
4318 fail:
4319 return NULL;
4320 }
4321
4322
4323 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4324 PyObject *resultobj;
4325 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4326 wxWindow *arg2 = (wxWindow *) 0 ;
4327 int arg3 ;
4328 wxString *arg4 = 0 ;
4329 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4330 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4331 wxSize const &arg6_defvalue = wxDefaultSize ;
4332 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4333 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4334 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4335 wxString *arg8 = (wxString *) &arg8_defvalue ;
4336 bool result;
4337 bool temp4 = False ;
4338 wxPoint temp5 ;
4339 wxSize temp6 ;
4340 bool temp8 = False ;
4341 PyObject * obj0 = 0 ;
4342 PyObject * obj1 = 0 ;
4343 PyObject * obj2 = 0 ;
4344 PyObject * obj3 = 0 ;
4345 PyObject * obj4 = 0 ;
4346 PyObject * obj5 = 0 ;
4347 PyObject * obj6 = 0 ;
4348 PyObject * obj7 = 0 ;
4349 char *kwnames[] = {
4350 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4351 };
4352
4353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4355 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4356 {
4357 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
4358 if (PyErr_Occurred()) SWIG_fail;
4359 }
4360 {
4361 arg4 = wxString_in_helper(obj3);
4362 if (arg4 == NULL) SWIG_fail;
4363 temp4 = True;
4364 }
4365 if (obj4) {
4366 {
4367 arg5 = &temp5;
4368 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4369 }
4370 }
4371 if (obj5) {
4372 {
4373 arg6 = &temp6;
4374 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4375 }
4376 }
4377 if (obj6) {
4378 {
4379 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4380 if (PyErr_Occurred()) SWIG_fail;
4381 }
4382 }
4383 if (obj7) {
4384 {
4385 arg8 = wxString_in_helper(obj7);
4386 if (arg8 == NULL) SWIG_fail;
4387 temp8 = True;
4388 }
4389 }
4390 {
4391 PyThreadState* __tstate = wxPyBeginAllowThreads();
4392 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4393
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 }
4397 resultobj = SWIG_PyObj_FromBool((bool)result);
4398 {
4399 if (temp4)
4400 delete arg4;
4401 }
4402 {
4403 if (temp8)
4404 delete arg8;
4405 }
4406 return resultobj;
4407 fail:
4408 {
4409 if (temp4)
4410 delete arg4;
4411 }
4412 {
4413 if (temp8)
4414 delete arg8;
4415 }
4416 return NULL;
4417 }
4418
4419
4420 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4421 PyObject *obj;
4422 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4423 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4424 Py_INCREF(obj);
4425 return Py_BuildValue((char *)"");
4426 }
4427 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4428 PyObject *resultobj;
4429 wxBitmap *arg1 = 0 ;
4430 wxWindow *arg2 = (wxWindow *) 0 ;
4431 int arg3 ;
4432 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4433 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4434 wxSize const &arg5_defvalue = wxDefaultSize ;
4435 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4436 long arg6 = (long) wxNO_BORDER ;
4437 wxSplashScreenWindow *result;
4438 wxPoint temp4 ;
4439 wxSize temp5 ;
4440 PyObject * obj0 = 0 ;
4441 PyObject * obj1 = 0 ;
4442 PyObject * obj2 = 0 ;
4443 PyObject * obj3 = 0 ;
4444 PyObject * obj4 = 0 ;
4445 PyObject * obj5 = 0 ;
4446 char *kwnames[] = {
4447 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4448 };
4449
4450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4452 if (arg1 == NULL) {
4453 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4454 }
4455 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4456 {
4457 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 if (obj3) {
4461 {
4462 arg4 = &temp4;
4463 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4464 }
4465 }
4466 if (obj4) {
4467 {
4468 arg5 = &temp5;
4469 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4470 }
4471 }
4472 if (obj5) {
4473 {
4474 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4475 if (PyErr_Occurred()) SWIG_fail;
4476 }
4477 }
4478 {
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4481
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) SWIG_fail;
4484 }
4485 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4486 return resultobj;
4487 fail:
4488 return NULL;
4489 }
4490
4491
4492 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4493 PyObject *resultobj;
4494 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4495 wxBitmap *arg2 = 0 ;
4496 PyObject * obj0 = 0 ;
4497 PyObject * obj1 = 0 ;
4498 char *kwnames[] = {
4499 (char *) "self",(char *) "bitmap", NULL
4500 };
4501
4502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4505 if (arg2 == NULL) {
4506 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4507 }
4508 {
4509 PyThreadState* __tstate = wxPyBeginAllowThreads();
4510 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4511
4512 wxPyEndAllowThreads(__tstate);
4513 if (PyErr_Occurred()) SWIG_fail;
4514 }
4515 Py_INCREF(Py_None); resultobj = Py_None;
4516 return resultobj;
4517 fail:
4518 return NULL;
4519 }
4520
4521
4522 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4523 PyObject *resultobj;
4524 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4525 wxBitmap *result;
4526 PyObject * obj0 = 0 ;
4527 char *kwnames[] = {
4528 (char *) "self", NULL
4529 };
4530
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 {
4536 wxBitmap &_result_ref = (arg1)->GetBitmap();
4537 result = (wxBitmap *) &_result_ref;
4538 }
4539
4540 wxPyEndAllowThreads(__tstate);
4541 if (PyErr_Occurred()) SWIG_fail;
4542 }
4543 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4544 return resultobj;
4545 fail:
4546 return NULL;
4547 }
4548
4549
4550 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4551 PyObject *obj;
4552 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4553 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4554 Py_INCREF(obj);
4555 return Py_BuildValue((char *)"");
4556 }
4557 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4558 PyObject *resultobj;
4559 wxBitmap *arg1 = 0 ;
4560 long arg2 ;
4561 int arg3 ;
4562 wxWindow *arg4 = (wxWindow *) 0 ;
4563 int arg5 ;
4564 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4565 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4566 wxSize const &arg7_defvalue = wxDefaultSize ;
4567 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4568 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4569 wxSplashScreen *result;
4570 wxPoint temp6 ;
4571 wxSize temp7 ;
4572 PyObject * obj0 = 0 ;
4573 PyObject * obj1 = 0 ;
4574 PyObject * obj2 = 0 ;
4575 PyObject * obj3 = 0 ;
4576 PyObject * obj4 = 0 ;
4577 PyObject * obj5 = 0 ;
4578 PyObject * obj6 = 0 ;
4579 PyObject * obj7 = 0 ;
4580 char *kwnames[] = {
4581 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4582 };
4583
4584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4586 if (arg1 == NULL) {
4587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4588 }
4589 {
4590 arg2 = (long) SWIG_PyObj_AsLong(obj1);
4591 if (PyErr_Occurred()) SWIG_fail;
4592 }
4593 {
4594 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4595 if (PyErr_Occurred()) SWIG_fail;
4596 }
4597 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4598 {
4599 arg5 = (int) SWIG_PyObj_AsInt(obj4);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 if (obj5) {
4603 {
4604 arg6 = &temp6;
4605 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4606 }
4607 }
4608 if (obj6) {
4609 {
4610 arg7 = &temp7;
4611 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4612 }
4613 }
4614 if (obj7) {
4615 {
4616 arg8 = (long) SWIG_PyObj_AsLong(obj7);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 }
4619 }
4620 {
4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4622 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4623
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4628 return resultobj;
4629 fail:
4630 return NULL;
4631 }
4632
4633
4634 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4635 PyObject *resultobj;
4636 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4637 long result;
4638 PyObject * obj0 = 0 ;
4639 char *kwnames[] = {
4640 (char *) "self", NULL
4641 };
4642
4643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4645 {
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4648
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4652 resultobj = SWIG_PyObj_FromLong((long)result);
4653 return resultobj;
4654 fail:
4655 return NULL;
4656 }
4657
4658
4659 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4660 PyObject *resultobj;
4661 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4662 wxSplashScreenWindow *result;
4663 PyObject * obj0 = 0 ;
4664 char *kwnames[] = {
4665 (char *) "self", NULL
4666 };
4667
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4670 {
4671 PyThreadState* __tstate = wxPyBeginAllowThreads();
4672 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4673
4674 wxPyEndAllowThreads(__tstate);
4675 if (PyErr_Occurred()) SWIG_fail;
4676 }
4677 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4678 return resultobj;
4679 fail:
4680 return NULL;
4681 }
4682
4683
4684 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4685 PyObject *resultobj;
4686 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4687 int result;
4688 PyObject * obj0 = 0 ;
4689 char *kwnames[] = {
4690 (char *) "self", NULL
4691 };
4692
4693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4695 {
4696 PyThreadState* __tstate = wxPyBeginAllowThreads();
4697 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4698
4699 wxPyEndAllowThreads(__tstate);
4700 if (PyErr_Occurred()) SWIG_fail;
4701 }
4702 resultobj = SWIG_PyObj_FromInt((int)result);
4703 return resultobj;
4704 fail:
4705 return NULL;
4706 }
4707
4708
4709 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4710 PyObject *obj;
4711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4712 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4713 Py_INCREF(obj);
4714 return Py_BuildValue((char *)"");
4715 }
4716 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4717 PyObject *resultobj;
4718 wxWindow *arg1 = (wxWindow *) 0 ;
4719 int arg2 = (int) -1 ;
4720 long arg3 = (long) wxST_SIZEGRIP ;
4721 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4722 wxString *arg4 = (wxString *) &arg4_defvalue ;
4723 wxStatusBar *result;
4724 bool temp4 = False ;
4725 PyObject * obj0 = 0 ;
4726 PyObject * obj1 = 0 ;
4727 PyObject * obj2 = 0 ;
4728 PyObject * obj3 = 0 ;
4729 char *kwnames[] = {
4730 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4731 };
4732
4733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4735 if (obj1) {
4736 {
4737 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4738 if (PyErr_Occurred()) SWIG_fail;
4739 }
4740 }
4741 if (obj2) {
4742 {
4743 arg3 = (long) SWIG_PyObj_AsLong(obj2);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 }
4747 if (obj3) {
4748 {
4749 arg4 = wxString_in_helper(obj3);
4750 if (arg4 == NULL) SWIG_fail;
4751 temp4 = True;
4752 }
4753 }
4754 {
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4757
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 }
4761 {
4762 resultobj = wxPyMake_wxObject(result);
4763 }
4764 {
4765 if (temp4)
4766 delete arg4;
4767 }
4768 return resultobj;
4769 fail:
4770 {
4771 if (temp4)
4772 delete arg4;
4773 }
4774 return NULL;
4775 }
4776
4777
4778 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4779 PyObject *resultobj;
4780 wxStatusBar *result;
4781 char *kwnames[] = {
4782 NULL
4783 };
4784
4785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 result = (wxStatusBar *)new wxStatusBar();
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 {
4794 resultobj = wxPyMake_wxObject(result);
4795 }
4796 return resultobj;
4797 fail:
4798 return NULL;
4799 }
4800
4801
4802 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4803 PyObject *resultobj;
4804 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4805 wxWindow *arg2 = (wxWindow *) 0 ;
4806 int arg3 ;
4807 long arg4 = (long) wxST_SIZEGRIP ;
4808 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4809 wxString *arg5 = (wxString *) &arg5_defvalue ;
4810 bool result;
4811 bool temp5 = False ;
4812 PyObject * obj0 = 0 ;
4813 PyObject * obj1 = 0 ;
4814 PyObject * obj2 = 0 ;
4815 PyObject * obj3 = 0 ;
4816 PyObject * obj4 = 0 ;
4817 char *kwnames[] = {
4818 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4819 };
4820
4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4823 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4824 {
4825 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 if (obj3) {
4829 {
4830 arg4 = (long) SWIG_PyObj_AsLong(obj3);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 }
4834 if (obj4) {
4835 {
4836 arg5 = wxString_in_helper(obj4);
4837 if (arg5 == NULL) SWIG_fail;
4838 temp5 = True;
4839 }
4840 }
4841 {
4842 PyThreadState* __tstate = wxPyBeginAllowThreads();
4843 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4844
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 resultobj = SWIG_PyObj_FromBool((bool)result);
4849 {
4850 if (temp5)
4851 delete arg5;
4852 }
4853 return resultobj;
4854 fail:
4855 {
4856 if (temp5)
4857 delete arg5;
4858 }
4859 return NULL;
4860 }
4861
4862
4863 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4864 PyObject *resultobj;
4865 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4866 int arg2 = (int) 1 ;
4867 PyObject * obj0 = 0 ;
4868 PyObject * obj1 = 0 ;
4869 char *kwnames[] = {
4870 (char *) "self",(char *) "number", NULL
4871 };
4872
4873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4875 if (obj1) {
4876 {
4877 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 }
4881 {
4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
4883 (arg1)->SetFieldsCount(arg2);
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 Py_INCREF(Py_None); resultobj = Py_None;
4889 return resultobj;
4890 fail:
4891 return NULL;
4892 }
4893
4894
4895 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4898 int result;
4899 PyObject * obj0 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4906 {
4907 PyThreadState* __tstate = wxPyBeginAllowThreads();
4908 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4909
4910 wxPyEndAllowThreads(__tstate);
4911 if (PyErr_Occurred()) SWIG_fail;
4912 }
4913 resultobj = SWIG_PyObj_FromInt((int)result);
4914 return resultobj;
4915 fail:
4916 return NULL;
4917 }
4918
4919
4920 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4921 PyObject *resultobj;
4922 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4923 wxString *arg2 = 0 ;
4924 int arg3 = (int) 0 ;
4925 bool temp2 = False ;
4926 PyObject * obj0 = 0 ;
4927 PyObject * obj1 = 0 ;
4928 PyObject * obj2 = 0 ;
4929 char *kwnames[] = {
4930 (char *) "self",(char *) "text",(char *) "number", NULL
4931 };
4932
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4935 {
4936 arg2 = wxString_in_helper(obj1);
4937 if (arg2 == NULL) SWIG_fail;
4938 temp2 = True;
4939 }
4940 if (obj2) {
4941 {
4942 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 }
4946 {
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 Py_INCREF(Py_None); resultobj = Py_None;
4954 {
4955 if (temp2)
4956 delete arg2;
4957 }
4958 return resultobj;
4959 fail:
4960 {
4961 if (temp2)
4962 delete arg2;
4963 }
4964 return NULL;
4965 }
4966
4967
4968 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4969 PyObject *resultobj;
4970 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4971 int arg2 = (int) 0 ;
4972 wxString result;
4973 PyObject * obj0 = 0 ;
4974 PyObject * obj1 = 0 ;
4975 char *kwnames[] = {
4976 (char *) "self",(char *) "number", NULL
4977 };
4978
4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
4980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4981 if (obj1) {
4982 {
4983 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 }
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4990
4991 wxPyEndAllowThreads(__tstate);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 {
4995 #if wxUSE_UNICODE
4996 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4997 #else
4998 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4999 #endif
5000 }
5001 return resultobj;
5002 fail:
5003 return NULL;
5004 }
5005
5006
5007 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5008 PyObject *resultobj;
5009 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5010 wxString *arg2 = 0 ;
5011 int arg3 = (int) 0 ;
5012 bool temp2 = False ;
5013 PyObject * obj0 = 0 ;
5014 PyObject * obj1 = 0 ;
5015 PyObject * obj2 = 0 ;
5016 char *kwnames[] = {
5017 (char *) "self",(char *) "text",(char *) "number", NULL
5018 };
5019
5020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5022 {
5023 arg2 = wxString_in_helper(obj1);
5024 if (arg2 == NULL) SWIG_fail;
5025 temp2 = True;
5026 }
5027 if (obj2) {
5028 {
5029 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 }
5033 {
5034 PyThreadState* __tstate = wxPyBeginAllowThreads();
5035 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5036
5037 wxPyEndAllowThreads(__tstate);
5038 if (PyErr_Occurred()) SWIG_fail;
5039 }
5040 Py_INCREF(Py_None); resultobj = Py_None;
5041 {
5042 if (temp2)
5043 delete arg2;
5044 }
5045 return resultobj;
5046 fail:
5047 {
5048 if (temp2)
5049 delete arg2;
5050 }
5051 return NULL;
5052 }
5053
5054
5055 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5056 PyObject *resultobj;
5057 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5058 int arg2 = (int) 0 ;
5059 PyObject * obj0 = 0 ;
5060 PyObject * obj1 = 0 ;
5061 char *kwnames[] = {
5062 (char *) "self",(char *) "number", NULL
5063 };
5064
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5067 if (obj1) {
5068 {
5069 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 }
5073 {
5074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5075 (arg1)->PopStatusText(arg2);
5076
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 Py_INCREF(Py_None); resultobj = Py_None;
5081 return resultobj;
5082 fail:
5083 return NULL;
5084 }
5085
5086
5087 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5088 PyObject *resultobj;
5089 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5090 int arg2 ;
5091 int *arg3 = (int *) 0 ;
5092 PyObject * obj0 = 0 ;
5093 PyObject * obj1 = 0 ;
5094 char *kwnames[] = {
5095 (char *) "self",(char *) "widths", NULL
5096 };
5097
5098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5100 {
5101 arg2 = PyList_Size(obj1);
5102 arg3 = int_LIST_helper(obj1);
5103 if (arg3 == NULL) SWIG_fail;
5104 }
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 Py_INCREF(Py_None); resultobj = Py_None;
5113 {
5114 if (arg3) delete [] arg3;
5115 }
5116 return resultobj;
5117 fail:
5118 {
5119 if (arg3) delete [] arg3;
5120 }
5121 return NULL;
5122 }
5123
5124
5125 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5126 PyObject *resultobj;
5127 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5128 int arg2 ;
5129 wxRect result;
5130 PyObject * obj0 = 0 ;
5131 PyObject * obj1 = 0 ;
5132 char *kwnames[] = {
5133 (char *) "self",(char *) "i", NULL
5134 };
5135
5136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5138 {
5139 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 {
5143 PyThreadState* __tstate = wxPyBeginAllowThreads();
5144 result = wxStatusBar_GetFieldRect(arg1,arg2);
5145
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
5149 {
5150 wxRect * resultptr;
5151 resultptr = new wxRect((wxRect &) result);
5152 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
5153 }
5154 return resultobj;
5155 fail:
5156 return NULL;
5157 }
5158
5159
5160 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5163 int arg2 ;
5164 PyObject * obj0 = 0 ;
5165 PyObject * obj1 = 0 ;
5166 char *kwnames[] = {
5167 (char *) "self",(char *) "height", NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5172 {
5173 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 {
5177 PyThreadState* __tstate = wxPyBeginAllowThreads();
5178 (arg1)->SetMinHeight(arg2);
5179
5180 wxPyEndAllowThreads(__tstate);
5181 if (PyErr_Occurred()) SWIG_fail;
5182 }
5183 Py_INCREF(Py_None); resultobj = Py_None;
5184 return resultobj;
5185 fail:
5186 return NULL;
5187 }
5188
5189
5190 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5191 PyObject *resultobj;
5192 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5193 int result;
5194 PyObject * obj0 = 0 ;
5195 char *kwnames[] = {
5196 (char *) "self", NULL
5197 };
5198
5199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5204
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 resultobj = SWIG_PyObj_FromInt((int)result);
5209 return resultobj;
5210 fail:
5211 return NULL;
5212 }
5213
5214
5215 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5216 PyObject *resultobj;
5217 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5218 int result;
5219 PyObject * obj0 = 0 ;
5220 char *kwnames[] = {
5221 (char *) "self", NULL
5222 };
5223
5224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5226 {
5227 PyThreadState* __tstate = wxPyBeginAllowThreads();
5228 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5229
5230 wxPyEndAllowThreads(__tstate);
5231 if (PyErr_Occurred()) SWIG_fail;
5232 }
5233 resultobj = SWIG_PyObj_FromInt((int)result);
5234 return resultobj;
5235 fail:
5236 return NULL;
5237 }
5238
5239
5240 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5241 PyObject *obj;
5242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5243 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5244 Py_INCREF(obj);
5245 return Py_BuildValue((char *)"");
5246 }
5247 static int _wrap_SplitterNameStr_set(PyObject *) {
5248 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5249 return 1;
5250 }
5251
5252
5253 static PyObject *_wrap_SplitterNameStr_get() {
5254 PyObject *pyobj;
5255
5256 {
5257 #if wxUSE_UNICODE
5258 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5259 #else
5260 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5261 #endif
5262 }
5263 return pyobj;
5264 }
5265
5266
5267 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxWindow *arg1 = (wxWindow *) 0 ;
5270 int arg2 ;
5271 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5272 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5273 wxSize const &arg4_defvalue = wxDefaultSize ;
5274 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5275 long arg5 = (long) wxSP_3D ;
5276 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5277 wxString *arg6 = (wxString *) &arg6_defvalue ;
5278 wxSplitterWindow *result;
5279 wxPoint temp3 ;
5280 wxSize temp4 ;
5281 bool temp6 = False ;
5282 PyObject * obj0 = 0 ;
5283 PyObject * obj1 = 0 ;
5284 PyObject * obj2 = 0 ;
5285 PyObject * obj3 = 0 ;
5286 PyObject * obj4 = 0 ;
5287 PyObject * obj5 = 0 ;
5288 char *kwnames[] = {
5289 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5290 };
5291
5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5294 {
5295 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 if (obj2) {
5299 {
5300 arg3 = &temp3;
5301 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5302 }
5303 }
5304 if (obj3) {
5305 {
5306 arg4 = &temp4;
5307 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5308 }
5309 }
5310 if (obj4) {
5311 {
5312 arg5 = (long) SWIG_PyObj_AsLong(obj4);
5313 if (PyErr_Occurred()) SWIG_fail;
5314 }
5315 }
5316 if (obj5) {
5317 {
5318 arg6 = wxString_in_helper(obj5);
5319 if (arg6 == NULL) SWIG_fail;
5320 temp6 = True;
5321 }
5322 }
5323 {
5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
5325 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5326
5327 wxPyEndAllowThreads(__tstate);
5328 if (PyErr_Occurred()) SWIG_fail;
5329 }
5330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5331 {
5332 if (temp6)
5333 delete arg6;
5334 }
5335 return resultobj;
5336 fail:
5337 {
5338 if (temp6)
5339 delete arg6;
5340 }
5341 return NULL;
5342 }
5343
5344
5345 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5346 PyObject *resultobj;
5347 wxSplitterWindow *result;
5348 char *kwnames[] = {
5349 NULL
5350 };
5351
5352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5353 {
5354 PyThreadState* __tstate = wxPyBeginAllowThreads();
5355 result = (wxSplitterWindow *)new wxSplitterWindow();
5356
5357 wxPyEndAllowThreads(__tstate);
5358 if (PyErr_Occurred()) SWIG_fail;
5359 }
5360 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5361 return resultobj;
5362 fail:
5363 return NULL;
5364 }
5365
5366
5367 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5368 PyObject *resultobj;
5369 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5370 wxWindow *arg2 = (wxWindow *) 0 ;
5371 int arg3 ;
5372 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5373 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5374 wxSize const &arg5_defvalue = wxDefaultSize ;
5375 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5376 long arg6 = (long) wxSP_3D ;
5377 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5378 wxString *arg7 = (wxString *) &arg7_defvalue ;
5379 bool result;
5380 wxPoint temp4 ;
5381 wxSize temp5 ;
5382 bool temp7 = False ;
5383 PyObject * obj0 = 0 ;
5384 PyObject * obj1 = 0 ;
5385 PyObject * obj2 = 0 ;
5386 PyObject * obj3 = 0 ;
5387 PyObject * obj4 = 0 ;
5388 PyObject * obj5 = 0 ;
5389 PyObject * obj6 = 0 ;
5390 char *kwnames[] = {
5391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5392 };
5393
5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5396 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5397 {
5398 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5399 if (PyErr_Occurred()) SWIG_fail;
5400 }
5401 if (obj3) {
5402 {
5403 arg4 = &temp4;
5404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5405 }
5406 }
5407 if (obj4) {
5408 {
5409 arg5 = &temp5;
5410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5411 }
5412 }
5413 if (obj5) {
5414 {
5415 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 }
5419 if (obj6) {
5420 {
5421 arg7 = wxString_in_helper(obj6);
5422 if (arg7 == NULL) SWIG_fail;
5423 temp7 = True;
5424 }
5425 }
5426 {
5427 PyThreadState* __tstate = wxPyBeginAllowThreads();
5428 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5429
5430 wxPyEndAllowThreads(__tstate);
5431 if (PyErr_Occurred()) SWIG_fail;
5432 }
5433 resultobj = SWIG_PyObj_FromBool((bool)result);
5434 {
5435 if (temp7)
5436 delete arg7;
5437 }
5438 return resultobj;
5439 fail:
5440 {
5441 if (temp7)
5442 delete arg7;
5443 }
5444 return NULL;
5445 }
5446
5447
5448 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj;
5450 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5451 wxWindow *result;
5452 PyObject * obj0 = 0 ;
5453 char *kwnames[] = {
5454 (char *) "self", NULL
5455 };
5456
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5459 {
5460 PyThreadState* __tstate = wxPyBeginAllowThreads();
5461 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5462
5463 wxPyEndAllowThreads(__tstate);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 }
5466 {
5467 resultobj = wxPyMake_wxObject(result);
5468 }
5469 return resultobj;
5470 fail:
5471 return NULL;
5472 }
5473
5474
5475 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5476 PyObject *resultobj;
5477 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5478 wxWindow *result;
5479 PyObject * obj0 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "self", NULL
5482 };
5483
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 {
5494 resultobj = wxPyMake_wxObject(result);
5495 }
5496 return resultobj;
5497 fail:
5498 return NULL;
5499 }
5500
5501
5502 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5503 PyObject *resultobj;
5504 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5505 int arg2 ;
5506 PyObject * obj0 = 0 ;
5507 PyObject * obj1 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "self",(char *) "mode", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5514 {
5515 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 {
5519 PyThreadState* __tstate = wxPyBeginAllowThreads();
5520 (arg1)->SetSplitMode(arg2);
5521
5522 wxPyEndAllowThreads(__tstate);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 }
5525 Py_INCREF(Py_None); resultobj = Py_None;
5526 return resultobj;
5527 fail:
5528 return NULL;
5529 }
5530
5531
5532 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5533 PyObject *resultobj;
5534 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5535 int result;
5536 PyObject * obj0 = 0 ;
5537 char *kwnames[] = {
5538 (char *) "self", NULL
5539 };
5540
5541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5543 {
5544 PyThreadState* __tstate = wxPyBeginAllowThreads();
5545 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5546
5547 wxPyEndAllowThreads(__tstate);
5548 if (PyErr_Occurred()) SWIG_fail;
5549 }
5550 resultobj = SWIG_PyObj_FromInt((int)result);
5551 return resultobj;
5552 fail:
5553 return NULL;
5554 }
5555
5556
5557 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5558 PyObject *resultobj;
5559 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5560 wxWindow *arg2 = (wxWindow *) 0 ;
5561 PyObject * obj0 = 0 ;
5562 PyObject * obj1 = 0 ;
5563 char *kwnames[] = {
5564 (char *) "self",(char *) "window", NULL
5565 };
5566
5567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5570 {
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 (arg1)->Initialize(arg2);
5573
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 Py_INCREF(Py_None); resultobj = Py_None;
5578 return resultobj;
5579 fail:
5580 return NULL;
5581 }
5582
5583
5584 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5585 PyObject *resultobj;
5586 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5587 wxWindow *arg2 = (wxWindow *) 0 ;
5588 wxWindow *arg3 = (wxWindow *) 0 ;
5589 int arg4 = (int) 0 ;
5590 bool result;
5591 PyObject * obj0 = 0 ;
5592 PyObject * obj1 = 0 ;
5593 PyObject * obj2 = 0 ;
5594 PyObject * obj3 = 0 ;
5595 char *kwnames[] = {
5596 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5597 };
5598
5599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5601 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5602 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5603 if (obj3) {
5604 {
5605 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 }
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
5616 resultobj = SWIG_PyObj_FromBool((bool)result);
5617 return resultobj;
5618 fail:
5619 return NULL;
5620 }
5621
5622
5623 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5624 PyObject *resultobj;
5625 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5626 wxWindow *arg2 = (wxWindow *) 0 ;
5627 wxWindow *arg3 = (wxWindow *) 0 ;
5628 int arg4 = (int) 0 ;
5629 bool result;
5630 PyObject * obj0 = 0 ;
5631 PyObject * obj1 = 0 ;
5632 PyObject * obj2 = 0 ;
5633 PyObject * obj3 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5640 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5641 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5642 if (obj3) {
5643 {
5644 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5645 if (PyErr_Occurred()) SWIG_fail;
5646 }
5647 }
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 resultobj = SWIG_PyObj_FromBool((bool)result);
5656 return resultobj;
5657 fail:
5658 return NULL;
5659 }
5660
5661
5662 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject *resultobj;
5664 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5665 wxWindow *arg2 = (wxWindow *) NULL ;
5666 bool result;
5667 PyObject * obj0 = 0 ;
5668 PyObject * obj1 = 0 ;
5669 char *kwnames[] = {
5670 (char *) "self",(char *) "toRemove", NULL
5671 };
5672
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5675 if (obj1) {
5676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5677 }
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 result = (bool)(arg1)->Unsplit(arg2);
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 resultobj = SWIG_PyObj_FromBool((bool)result);
5686 return resultobj;
5687 fail:
5688 return NULL;
5689 }
5690
5691
5692 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5693 PyObject *resultobj;
5694 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5695 wxWindow *arg2 = (wxWindow *) 0 ;
5696 wxWindow *arg3 = (wxWindow *) 0 ;
5697 bool result;
5698 PyObject * obj0 = 0 ;
5699 PyObject * obj1 = 0 ;
5700 PyObject * obj2 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5708 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5712
5713 wxPyEndAllowThreads(__tstate);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
5716 resultobj = SWIG_PyObj_FromBool((bool)result);
5717 return resultobj;
5718 fail:
5719 return NULL;
5720 }
5721
5722
5723 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5724 PyObject *resultobj;
5725 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5726 bool result;
5727 PyObject * obj0 = 0 ;
5728 char *kwnames[] = {
5729 (char *) "self", NULL
5730 };
5731
5732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 resultobj = SWIG_PyObj_FromBool((bool)result);
5742 return resultobj;
5743 fail:
5744 return NULL;
5745 }
5746
5747
5748 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5749 PyObject *resultobj;
5750 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5751 int arg2 ;
5752 PyObject * obj0 = 0 ;
5753 PyObject * obj1 = 0 ;
5754 char *kwnames[] = {
5755 (char *) "self",(char *) "width", NULL
5756 };
5757
5758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5760 {
5761 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 {
5765 PyThreadState* __tstate = wxPyBeginAllowThreads();
5766 (arg1)->SetSashSize(arg2);
5767
5768 wxPyEndAllowThreads(__tstate);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 }
5771 Py_INCREF(Py_None); resultobj = Py_None;
5772 return resultobj;
5773 fail:
5774 return NULL;
5775 }
5776
5777
5778 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5779 PyObject *resultobj;
5780 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5781 int arg2 ;
5782 PyObject * obj0 = 0 ;
5783 PyObject * obj1 = 0 ;
5784 char *kwnames[] = {
5785 (char *) "self",(char *) "width", NULL
5786 };
5787
5788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5790 {
5791 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 (arg1)->SetBorderSize(arg2);
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 }
5801 Py_INCREF(Py_None); resultobj = Py_None;
5802 return resultobj;
5803 fail:
5804 return NULL;
5805 }
5806
5807
5808 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5809 PyObject *resultobj;
5810 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5811 int result;
5812 PyObject * obj0 = 0 ;
5813 char *kwnames[] = {
5814 (char *) "self", NULL
5815 };
5816
5817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 resultobj = SWIG_PyObj_FromInt((int)result);
5827 return resultobj;
5828 fail:
5829 return NULL;
5830 }
5831
5832
5833 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5834 PyObject *resultobj;
5835 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5836 int result;
5837 PyObject * obj0 = 0 ;
5838 char *kwnames[] = {
5839 (char *) "self", NULL
5840 };
5841
5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5844 {
5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
5846 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5847
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 resultobj = SWIG_PyObj_FromInt((int)result);
5852 return resultobj;
5853 fail:
5854 return NULL;
5855 }
5856
5857
5858 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5859 PyObject *resultobj;
5860 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5861 int arg2 ;
5862 bool arg3 = (bool) True ;
5863 PyObject * obj0 = 0 ;
5864 PyObject * obj1 = 0 ;
5865 PyObject * obj2 = 0 ;
5866 char *kwnames[] = {
5867 (char *) "self",(char *) "position",(char *) "redraw", NULL
5868 };
5869
5870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
5871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5872 {
5873 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 }
5876 if (obj2) {
5877 {
5878 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 }
5882 {
5883 PyThreadState* __tstate = wxPyBeginAllowThreads();
5884 (arg1)->SetSashPosition(arg2,arg3);
5885
5886 wxPyEndAllowThreads(__tstate);
5887 if (PyErr_Occurred()) SWIG_fail;
5888 }
5889 Py_INCREF(Py_None); resultobj = Py_None;
5890 return resultobj;
5891 fail:
5892 return NULL;
5893 }
5894
5895
5896 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5897 PyObject *resultobj;
5898 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5899 int result;
5900 PyObject * obj0 = 0 ;
5901 char *kwnames[] = {
5902 (char *) "self", NULL
5903 };
5904
5905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5907 {
5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
5909 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5910
5911 wxPyEndAllowThreads(__tstate);
5912 if (PyErr_Occurred()) SWIG_fail;
5913 }
5914 resultobj = SWIG_PyObj_FromInt((int)result);
5915 return resultobj;
5916 fail:
5917 return NULL;
5918 }
5919
5920
5921 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj;
5923 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5924 int arg2 ;
5925 PyObject * obj0 = 0 ;
5926 PyObject * obj1 = 0 ;
5927 char *kwnames[] = {
5928 (char *) "self",(char *) "min", NULL
5929 };
5930
5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
5932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5933 {
5934 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
5937 {
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5939 (arg1)->SetMinimumPaneSize(arg2);
5940
5941 wxPyEndAllowThreads(__tstate);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 }
5944 Py_INCREF(Py_None); resultobj = Py_None;
5945 return resultobj;
5946 fail:
5947 return NULL;
5948 }
5949
5950
5951 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5952 PyObject *resultobj;
5953 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5954 int result;
5955 PyObject * obj0 = 0 ;
5956 char *kwnames[] = {
5957 (char *) "self", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5962 {
5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5964 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5965
5966 wxPyEndAllowThreads(__tstate);
5967 if (PyErr_Occurred()) SWIG_fail;
5968 }
5969 resultobj = SWIG_PyObj_FromInt((int)result);
5970 return resultobj;
5971 fail:
5972 return NULL;
5973 }
5974
5975
5976 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5977 PyObject *resultobj;
5978 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5979 int arg2 ;
5980 int arg3 ;
5981 int arg4 = (int) 5 ;
5982 bool result;
5983 PyObject * obj0 = 0 ;
5984 PyObject * obj1 = 0 ;
5985 PyObject * obj2 = 0 ;
5986 PyObject * obj3 = 0 ;
5987 char *kwnames[] = {
5988 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5993 {
5994 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5995 if (PyErr_Occurred()) SWIG_fail;
5996 }
5997 {
5998 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 if (obj3) {
6002 {
6003 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 }
6006 }
6007 {
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6010
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
6014 resultobj = SWIG_PyObj_FromBool((bool)result);
6015 return resultobj;
6016 fail:
6017 return NULL;
6018 }
6019
6020
6021 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6022 PyObject *resultobj;
6023 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6024 PyObject * obj0 = 0 ;
6025 char *kwnames[] = {
6026 (char *) "self", NULL
6027 };
6028
6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6031 {
6032 PyThreadState* __tstate = wxPyBeginAllowThreads();
6033 (arg1)->SizeWindows();
6034
6035 wxPyEndAllowThreads(__tstate);
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
6038 Py_INCREF(Py_None); resultobj = Py_None;
6039 return resultobj;
6040 fail:
6041 return NULL;
6042 }
6043
6044
6045 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6046 PyObject *resultobj;
6047 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6048 bool arg2 ;
6049 PyObject * obj0 = 0 ;
6050 PyObject * obj1 = 0 ;
6051 char *kwnames[] = {
6052 (char *) "self",(char *) "needUpdating", NULL
6053 };
6054
6055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6057 {
6058 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 {
6062 PyThreadState* __tstate = wxPyBeginAllowThreads();
6063 (arg1)->SetNeedUpdating(arg2);
6064
6065 wxPyEndAllowThreads(__tstate);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 }
6068 Py_INCREF(Py_None); resultobj = Py_None;
6069 return resultobj;
6070 fail:
6071 return NULL;
6072 }
6073
6074
6075 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6076 PyObject *resultobj;
6077 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6078 bool result;
6079 PyObject * obj0 = 0 ;
6080 char *kwnames[] = {
6081 (char *) "self", NULL
6082 };
6083
6084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 resultobj = SWIG_PyObj_FromBool((bool)result);
6094 return resultobj;
6095 fail:
6096 return NULL;
6097 }
6098
6099
6100 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6101 PyObject *obj;
6102 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6103 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6104 Py_INCREF(obj);
6105 return Py_BuildValue((char *)"");
6106 }
6107 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6108 PyObject *resultobj;
6109 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6110 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6111 wxSplitterEvent *result;
6112 PyObject * obj0 = 0 ;
6113 PyObject * obj1 = 0 ;
6114 char *kwnames[] = {
6115 (char *) "type",(char *) "splitter", NULL
6116 };
6117
6118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6119 if (obj0) {
6120 {
6121 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
6124 }
6125 if (obj1) {
6126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6127 }
6128 {
6129 PyThreadState* __tstate = wxPyBeginAllowThreads();
6130 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6131
6132 wxPyEndAllowThreads(__tstate);
6133 if (PyErr_Occurred()) SWIG_fail;
6134 }
6135 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
6136 return resultobj;
6137 fail:
6138 return NULL;
6139 }
6140
6141
6142 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6143 PyObject *resultobj;
6144 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6145 int arg2 ;
6146 PyObject * obj0 = 0 ;
6147 PyObject * obj1 = 0 ;
6148 char *kwnames[] = {
6149 (char *) "self",(char *) "pos", NULL
6150 };
6151
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6154 {
6155 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 (arg1)->SetSashPosition(arg2);
6161
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 Py_INCREF(Py_None); resultobj = Py_None;
6166 return resultobj;
6167 fail:
6168 return NULL;
6169 }
6170
6171
6172 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj;
6174 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6175 int result;
6176 PyObject * obj0 = 0 ;
6177 char *kwnames[] = {
6178 (char *) "self", NULL
6179 };
6180
6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 resultobj = SWIG_PyObj_FromInt((int)result);
6191 return resultobj;
6192 fail:
6193 return NULL;
6194 }
6195
6196
6197 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6198 PyObject *resultobj;
6199 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6200 wxWindow *result;
6201 PyObject * obj0 = 0 ;
6202 char *kwnames[] = {
6203 (char *) "self", NULL
6204 };
6205
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6208 {
6209 PyThreadState* __tstate = wxPyBeginAllowThreads();
6210 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6211
6212 wxPyEndAllowThreads(__tstate);
6213 if (PyErr_Occurred()) SWIG_fail;
6214 }
6215 {
6216 resultobj = wxPyMake_wxObject(result);
6217 }
6218 return resultobj;
6219 fail:
6220 return NULL;
6221 }
6222
6223
6224 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6225 PyObject *resultobj;
6226 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6227 int result;
6228 PyObject * obj0 = 0 ;
6229 char *kwnames[] = {
6230 (char *) "self", NULL
6231 };
6232
6233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 resultobj = SWIG_PyObj_FromInt((int)result);
6243 return resultobj;
6244 fail:
6245 return NULL;
6246 }
6247
6248
6249 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6250 PyObject *resultobj;
6251 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6252 int result;
6253 PyObject * obj0 = 0 ;
6254 char *kwnames[] = {
6255 (char *) "self", NULL
6256 };
6257
6258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6260 {
6261 PyThreadState* __tstate = wxPyBeginAllowThreads();
6262 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6263
6264 wxPyEndAllowThreads(__tstate);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 }
6267 resultobj = SWIG_PyObj_FromInt((int)result);
6268 return resultobj;
6269 fail:
6270 return NULL;
6271 }
6272
6273
6274 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6275 PyObject *obj;
6276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6277 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6278 Py_INCREF(obj);
6279 return Py_BuildValue((char *)"");
6280 }
6281 static int _wrap_SashNameStr_set(PyObject *) {
6282 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6283 return 1;
6284 }
6285
6286
6287 static PyObject *_wrap_SashNameStr_get() {
6288 PyObject *pyobj;
6289
6290 {
6291 #if wxUSE_UNICODE
6292 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6293 #else
6294 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6295 #endif
6296 }
6297 return pyobj;
6298 }
6299
6300
6301 static int _wrap_SashLayoutNameStr_set(PyObject *) {
6302 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6303 return 1;
6304 }
6305
6306
6307 static PyObject *_wrap_SashLayoutNameStr_get() {
6308 PyObject *pyobj;
6309
6310 {
6311 #if wxUSE_UNICODE
6312 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6313 #else
6314 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6315 #endif
6316 }
6317 return pyobj;
6318 }
6319
6320
6321 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6322 PyObject *resultobj;
6323 wxWindow *arg1 = (wxWindow *) 0 ;
6324 int arg2 ;
6325 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6326 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6327 wxSize const &arg4_defvalue = wxDefaultSize ;
6328 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6329 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6330 wxString const &arg6_defvalue = wxPySashNameStr ;
6331 wxString *arg6 = (wxString *) &arg6_defvalue ;
6332 wxSashWindow *result;
6333 wxPoint temp3 ;
6334 wxSize temp4 ;
6335 bool temp6 = False ;
6336 PyObject * obj0 = 0 ;
6337 PyObject * obj1 = 0 ;
6338 PyObject * obj2 = 0 ;
6339 PyObject * obj3 = 0 ;
6340 PyObject * obj4 = 0 ;
6341 PyObject * obj5 = 0 ;
6342 char *kwnames[] = {
6343 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6344 };
6345
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6348 {
6349 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6350 if (PyErr_Occurred()) SWIG_fail;
6351 }
6352 if (obj2) {
6353 {
6354 arg3 = &temp3;
6355 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6356 }
6357 }
6358 if (obj3) {
6359 {
6360 arg4 = &temp4;
6361 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6362 }
6363 }
6364 if (obj4) {
6365 {
6366 arg5 = (long) SWIG_PyObj_AsLong(obj4);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 }
6370 if (obj5) {
6371 {
6372 arg6 = wxString_in_helper(obj5);
6373 if (arg6 == NULL) SWIG_fail;
6374 temp6 = True;
6375 }
6376 }
6377 {
6378 PyThreadState* __tstate = wxPyBeginAllowThreads();
6379 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6380
6381 wxPyEndAllowThreads(__tstate);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 }
6384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6385 {
6386 if (temp6)
6387 delete arg6;
6388 }
6389 return resultobj;
6390 fail:
6391 {
6392 if (temp6)
6393 delete arg6;
6394 }
6395 return NULL;
6396 }
6397
6398
6399 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6400 PyObject *resultobj;
6401 wxSashWindow *result;
6402 char *kwnames[] = {
6403 NULL
6404 };
6405
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6407 {
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 result = (wxSashWindow *)new wxSashWindow();
6410
6411 wxPyEndAllowThreads(__tstate);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 }
6414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6415 return resultobj;
6416 fail:
6417 return NULL;
6418 }
6419
6420
6421 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6422 PyObject *resultobj;
6423 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6424 wxWindow *arg2 = (wxWindow *) 0 ;
6425 int arg3 ;
6426 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6427 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6428 wxSize const &arg5_defvalue = wxDefaultSize ;
6429 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6430 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6431 wxString const &arg7_defvalue = wxPySashNameStr ;
6432 wxString *arg7 = (wxString *) &arg7_defvalue ;
6433 bool result;
6434 wxPoint temp4 ;
6435 wxSize temp5 ;
6436 bool temp7 = False ;
6437 PyObject * obj0 = 0 ;
6438 PyObject * obj1 = 0 ;
6439 PyObject * obj2 = 0 ;
6440 PyObject * obj3 = 0 ;
6441 PyObject * obj4 = 0 ;
6442 PyObject * obj5 = 0 ;
6443 PyObject * obj6 = 0 ;
6444 char *kwnames[] = {
6445 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6446 };
6447
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 {
6452 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 }
6455 if (obj3) {
6456 {
6457 arg4 = &temp4;
6458 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6459 }
6460 }
6461 if (obj4) {
6462 {
6463 arg5 = &temp5;
6464 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6465 }
6466 }
6467 if (obj5) {
6468 {
6469 arg6 = (long) SWIG_PyObj_AsLong(obj5);
6470 if (PyErr_Occurred()) SWIG_fail;
6471 }
6472 }
6473 if (obj6) {
6474 {
6475 arg7 = wxString_in_helper(obj6);
6476 if (arg7 == NULL) SWIG_fail;
6477 temp7 = True;
6478 }
6479 }
6480 {
6481 PyThreadState* __tstate = wxPyBeginAllowThreads();
6482 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6483
6484 wxPyEndAllowThreads(__tstate);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 }
6487 resultobj = SWIG_PyObj_FromBool((bool)result);
6488 {
6489 if (temp7)
6490 delete arg7;
6491 }
6492 return resultobj;
6493 fail:
6494 {
6495 if (temp7)
6496 delete arg7;
6497 }
6498 return NULL;
6499 }
6500
6501
6502 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6503 PyObject *resultobj;
6504 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6505 int arg2 ;
6506 bool arg3 ;
6507 PyObject * obj0 = 0 ;
6508 PyObject * obj1 = 0 ;
6509 PyObject * obj2 = 0 ;
6510 char *kwnames[] = {
6511 (char *) "self",(char *) "edge",(char *) "sash", NULL
6512 };
6513
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6516 {
6517 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6518 if (PyErr_Occurred()) SWIG_fail;
6519 }
6520 {
6521 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 Py_INCREF(Py_None); resultobj = Py_None;
6532 return resultobj;
6533 fail:
6534 return NULL;
6535 }
6536
6537
6538 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject *resultobj;
6540 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6541 int arg2 ;
6542 bool result;
6543 PyObject * obj0 = 0 ;
6544 PyObject * obj1 = 0 ;
6545 char *kwnames[] = {
6546 (char *) "self",(char *) "edge", NULL
6547 };
6548
6549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6551 {
6552 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 resultobj = SWIG_PyObj_FromBool((bool)result);
6563 return resultobj;
6564 fail:
6565 return NULL;
6566 }
6567
6568
6569 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6572 int arg2 ;
6573 bool arg3 ;
6574 PyObject * obj0 = 0 ;
6575 PyObject * obj1 = 0 ;
6576 PyObject * obj2 = 0 ;
6577 char *kwnames[] = {
6578 (char *) "self",(char *) "edge",(char *) "border", NULL
6579 };
6580
6581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6583 {
6584 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 {
6588 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6589 if (PyErr_Occurred()) SWIG_fail;
6590 }
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6594
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 Py_INCREF(Py_None); resultobj = Py_None;
6599 return resultobj;
6600 fail:
6601 return NULL;
6602 }
6603
6604
6605 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6606 PyObject *resultobj;
6607 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6608 int arg2 ;
6609 bool result;
6610 PyObject * obj0 = 0 ;
6611 PyObject * obj1 = 0 ;
6612 char *kwnames[] = {
6613 (char *) "self",(char *) "edge", NULL
6614 };
6615
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6618 {
6619 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 {
6623 PyThreadState* __tstate = wxPyBeginAllowThreads();
6624 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6625
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 resultobj = SWIG_PyObj_FromBool((bool)result);
6630 return resultobj;
6631 fail:
6632 return NULL;
6633 }
6634
6635
6636 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6637 PyObject *resultobj;
6638 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6639 int arg2 ;
6640 int result;
6641 PyObject * obj0 = 0 ;
6642 PyObject * obj1 = 0 ;
6643 char *kwnames[] = {
6644 (char *) "self",(char *) "edge", NULL
6645 };
6646
6647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6649 {
6650 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6651 if (PyErr_Occurred()) SWIG_fail;
6652 }
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 resultobj = SWIG_PyObj_FromInt((int)result);
6661 return resultobj;
6662 fail:
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6670 int arg2 ;
6671 PyObject * obj0 = 0 ;
6672 PyObject * obj1 = 0 ;
6673 char *kwnames[] = {
6674 (char *) "self",(char *) "width", NULL
6675 };
6676
6677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6679 {
6680 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 }
6683 {
6684 PyThreadState* __tstate = wxPyBeginAllowThreads();
6685 (arg1)->SetDefaultBorderSize(arg2);
6686
6687 wxPyEndAllowThreads(__tstate);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 Py_INCREF(Py_None); resultobj = Py_None;
6691 return resultobj;
6692 fail:
6693 return NULL;
6694 }
6695
6696
6697 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6698 PyObject *resultobj;
6699 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6700 int result;
6701 PyObject * obj0 = 0 ;
6702 char *kwnames[] = {
6703 (char *) "self", NULL
6704 };
6705
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6708 {
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6711
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 resultobj = SWIG_PyObj_FromInt((int)result);
6716 return resultobj;
6717 fail:
6718 return NULL;
6719 }
6720
6721
6722 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6723 PyObject *resultobj;
6724 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6725 int arg2 ;
6726 PyObject * obj0 = 0 ;
6727 PyObject * obj1 = 0 ;
6728 char *kwnames[] = {
6729 (char *) "self",(char *) "width", NULL
6730 };
6731
6732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6734 {
6735 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 {
6739 PyThreadState* __tstate = wxPyBeginAllowThreads();
6740 (arg1)->SetExtraBorderSize(arg2);
6741
6742 wxPyEndAllowThreads(__tstate);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
6745 Py_INCREF(Py_None); resultobj = Py_None;
6746 return resultobj;
6747 fail:
6748 return NULL;
6749 }
6750
6751
6752 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6753 PyObject *resultobj;
6754 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6755 int result;
6756 PyObject * obj0 = 0 ;
6757 char *kwnames[] = {
6758 (char *) "self", NULL
6759 };
6760
6761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6763 {
6764 PyThreadState* __tstate = wxPyBeginAllowThreads();
6765 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6766
6767 wxPyEndAllowThreads(__tstate);
6768 if (PyErr_Occurred()) SWIG_fail;
6769 }
6770 resultobj = SWIG_PyObj_FromInt((int)result);
6771 return resultobj;
6772 fail:
6773 return NULL;
6774 }
6775
6776
6777 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6778 PyObject *resultobj;
6779 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6780 int arg2 ;
6781 PyObject * obj0 = 0 ;
6782 PyObject * obj1 = 0 ;
6783 char *kwnames[] = {
6784 (char *) "self",(char *) "min", NULL
6785 };
6786
6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6789 {
6790 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6791 if (PyErr_Occurred()) SWIG_fail;
6792 }
6793 {
6794 PyThreadState* __tstate = wxPyBeginAllowThreads();
6795 (arg1)->SetMinimumSizeX(arg2);
6796
6797 wxPyEndAllowThreads(__tstate);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 }
6800 Py_INCREF(Py_None); resultobj = Py_None;
6801 return resultobj;
6802 fail:
6803 return NULL;
6804 }
6805
6806
6807 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6808 PyObject *resultobj;
6809 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6810 int arg2 ;
6811 PyObject * obj0 = 0 ;
6812 PyObject * obj1 = 0 ;
6813 char *kwnames[] = {
6814 (char *) "self",(char *) "min", NULL
6815 };
6816
6817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6819 {
6820 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 {
6824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6825 (arg1)->SetMinimumSizeY(arg2);
6826
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
6830 Py_INCREF(Py_None); resultobj = Py_None;
6831 return resultobj;
6832 fail:
6833 return NULL;
6834 }
6835
6836
6837 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6838 PyObject *resultobj;
6839 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6840 int result;
6841 PyObject * obj0 = 0 ;
6842 char *kwnames[] = {
6843 (char *) "self", NULL
6844 };
6845
6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6848 {
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6851
6852 wxPyEndAllowThreads(__tstate);
6853 if (PyErr_Occurred()) SWIG_fail;
6854 }
6855 resultobj = SWIG_PyObj_FromInt((int)result);
6856 return resultobj;
6857 fail:
6858 return NULL;
6859 }
6860
6861
6862 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6863 PyObject *resultobj;
6864 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6865 int result;
6866 PyObject * obj0 = 0 ;
6867 char *kwnames[] = {
6868 (char *) "self", NULL
6869 };
6870
6871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6873 {
6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6875 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6876
6877 wxPyEndAllowThreads(__tstate);
6878 if (PyErr_Occurred()) SWIG_fail;
6879 }
6880 resultobj = SWIG_PyObj_FromInt((int)result);
6881 return resultobj;
6882 fail:
6883 return NULL;
6884 }
6885
6886
6887 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6888 PyObject *resultobj;
6889 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6890 int arg2 ;
6891 PyObject * obj0 = 0 ;
6892 PyObject * obj1 = 0 ;
6893 char *kwnames[] = {
6894 (char *) "self",(char *) "max", NULL
6895 };
6896
6897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
6898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6899 {
6900 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
6905 (arg1)->SetMaximumSizeX(arg2);
6906
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 Py_INCREF(Py_None); resultobj = Py_None;
6911 return resultobj;
6912 fail:
6913 return NULL;
6914 }
6915
6916
6917 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj;
6919 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6920 int arg2 ;
6921 PyObject * obj0 = 0 ;
6922 PyObject * obj1 = 0 ;
6923 char *kwnames[] = {
6924 (char *) "self",(char *) "max", NULL
6925 };
6926
6927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
6928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6929 {
6930 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6931 if (PyErr_Occurred()) SWIG_fail;
6932 }
6933 {
6934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6935 (arg1)->SetMaximumSizeY(arg2);
6936
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 Py_INCREF(Py_None); resultobj = Py_None;
6941 return resultobj;
6942 fail:
6943 return NULL;
6944 }
6945
6946
6947 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6948 PyObject *resultobj;
6949 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6950 int result;
6951 PyObject * obj0 = 0 ;
6952 char *kwnames[] = {
6953 (char *) "self", NULL
6954 };
6955
6956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 resultobj = SWIG_PyObj_FromInt((int)result);
6966 return resultobj;
6967 fail:
6968 return NULL;
6969 }
6970
6971
6972 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6973 PyObject *resultobj;
6974 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6975 int result;
6976 PyObject * obj0 = 0 ;
6977 char *kwnames[] = {
6978 (char *) "self", NULL
6979 };
6980
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6983 {
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6986
6987 wxPyEndAllowThreads(__tstate);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
6990 resultobj = SWIG_PyObj_FromInt((int)result);
6991 return resultobj;
6992 fail:
6993 return NULL;
6994 }
6995
6996
6997 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6998 PyObject *resultobj;
6999 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7000 int arg2 ;
7001 int arg3 ;
7002 int arg4 = (int) 2 ;
7003 int result;
7004 PyObject * obj0 = 0 ;
7005 PyObject * obj1 = 0 ;
7006 PyObject * obj2 = 0 ;
7007 PyObject * obj3 = 0 ;
7008 char *kwnames[] = {
7009 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7010 };
7011
7012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7014 {
7015 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7016 if (PyErr_Occurred()) SWIG_fail;
7017 }
7018 {
7019 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7020 if (PyErr_Occurred()) SWIG_fail;
7021 }
7022 if (obj3) {
7023 {
7024 arg4 = (int) SWIG_PyObj_AsInt(obj3);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 }
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 resultobj = SWIG_PyObj_FromInt((int)result);
7036 return resultobj;
7037 fail:
7038 return NULL;
7039 }
7040
7041
7042 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj;
7044 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7045 PyObject * obj0 = 0 ;
7046 char *kwnames[] = {
7047 (char *) "self", NULL
7048 };
7049
7050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 (arg1)->SizeWindows();
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 Py_INCREF(Py_None); resultobj = Py_None;
7060 return resultobj;
7061 fail:
7062 return NULL;
7063 }
7064
7065
7066 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7067 PyObject *obj;
7068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7069 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7070 Py_INCREF(obj);
7071 return Py_BuildValue((char *)"");
7072 }
7073 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7074 PyObject *resultobj;
7075 int arg1 = (int) 0 ;
7076 int arg2 = (int) wxSASH_NONE ;
7077 wxSashEvent *result;
7078 PyObject * obj0 = 0 ;
7079 PyObject * obj1 = 0 ;
7080 char *kwnames[] = {
7081 (char *) "id",(char *) "edge", NULL
7082 };
7083
7084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7085 if (obj0) {
7086 {
7087 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 }
7091 if (obj1) {
7092 {
7093 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 }
7097 {
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7099 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7100
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
7105 return resultobj;
7106 fail:
7107 return NULL;
7108 }
7109
7110
7111 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7112 PyObject *resultobj;
7113 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7114 int arg2 ;
7115 PyObject * obj0 = 0 ;
7116 PyObject * obj1 = 0 ;
7117 char *kwnames[] = {
7118 (char *) "self",(char *) "edge", NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7123 {
7124 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
7125 if (PyErr_Occurred()) SWIG_fail;
7126 }
7127 {
7128 PyThreadState* __tstate = wxPyBeginAllowThreads();
7129 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7130
7131 wxPyEndAllowThreads(__tstate);
7132 if (PyErr_Occurred()) SWIG_fail;
7133 }
7134 Py_INCREF(Py_None); resultobj = Py_None;
7135 return resultobj;
7136 fail:
7137 return NULL;
7138 }
7139
7140
7141 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7142 PyObject *resultobj;
7143 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7144 int result;
7145 PyObject * obj0 = 0 ;
7146 char *kwnames[] = {
7147 (char *) "self", NULL
7148 };
7149
7150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 resultobj = SWIG_PyObj_FromInt((int)result);
7160 return resultobj;
7161 fail:
7162 return NULL;
7163 }
7164
7165
7166 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7167 PyObject *resultobj;
7168 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7169 wxRect *arg2 = 0 ;
7170 wxRect temp2 ;
7171 PyObject * obj0 = 0 ;
7172 PyObject * obj1 = 0 ;
7173 char *kwnames[] = {
7174 (char *) "self",(char *) "rect", NULL
7175 };
7176
7177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7179 {
7180 arg2 = &temp2;
7181 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7182 }
7183 {
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 (arg1)->SetDragRect((wxRect const &)*arg2);
7186
7187 wxPyEndAllowThreads(__tstate);
7188 if (PyErr_Occurred()) SWIG_fail;
7189 }
7190 Py_INCREF(Py_None); resultobj = Py_None;
7191 return resultobj;
7192 fail:
7193 return NULL;
7194 }
7195
7196
7197 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7198 PyObject *resultobj;
7199 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7200 wxRect result;
7201 PyObject * obj0 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "self", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 result = ((wxSashEvent const *)arg1)->GetDragRect();
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 {
7216 wxRect * resultptr;
7217 resultptr = new wxRect((wxRect &) result);
7218 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7219 }
7220 return resultobj;
7221 fail:
7222 return NULL;
7223 }
7224
7225
7226 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7227 PyObject *resultobj;
7228 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7229 int arg2 ;
7230 PyObject * obj0 = 0 ;
7231 PyObject * obj1 = 0 ;
7232 char *kwnames[] = {
7233 (char *) "self",(char *) "status", NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7238 {
7239 arg2 = (wxSashDragStatus) SWIG_PyObj_AsInt(obj1);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 {
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7245
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 Py_INCREF(Py_None); resultobj = Py_None;
7250 return resultobj;
7251 fail:
7252 return NULL;
7253 }
7254
7255
7256 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj;
7258 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7259 int result;
7260 PyObject * obj0 = 0 ;
7261 char *kwnames[] = {
7262 (char *) "self", NULL
7263 };
7264
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7270
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 resultobj = SWIG_PyObj_FromInt((int)result);
7275 return resultobj;
7276 fail:
7277 return NULL;
7278 }
7279
7280
7281 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7282 PyObject *obj;
7283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7284 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7285 Py_INCREF(obj);
7286 return Py_BuildValue((char *)"");
7287 }
7288 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7289 PyObject *resultobj;
7290 int arg1 = (int) 0 ;
7291 wxQueryLayoutInfoEvent *result;
7292 PyObject * obj0 = 0 ;
7293 char *kwnames[] = {
7294 (char *) "id", NULL
7295 };
7296
7297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7298 if (obj0) {
7299 {
7300 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 }
7304 {
7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
7306 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7307
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7312 return resultobj;
7313 fail:
7314 return NULL;
7315 }
7316
7317
7318 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj;
7320 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7321 int arg2 ;
7322 PyObject * obj0 = 0 ;
7323 PyObject * obj1 = 0 ;
7324 char *kwnames[] = {
7325 (char *) "self",(char *) "length", NULL
7326 };
7327
7328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7330 {
7331 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7332 if (PyErr_Occurred()) SWIG_fail;
7333 }
7334 {
7335 PyThreadState* __tstate = wxPyBeginAllowThreads();
7336 (arg1)->SetRequestedLength(arg2);
7337
7338 wxPyEndAllowThreads(__tstate);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 }
7341 Py_INCREF(Py_None); resultobj = Py_None;
7342 return resultobj;
7343 fail:
7344 return NULL;
7345 }
7346
7347
7348 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7349 PyObject *resultobj;
7350 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7351 int result;
7352 PyObject * obj0 = 0 ;
7353 char *kwnames[] = {
7354 (char *) "self", NULL
7355 };
7356
7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 resultobj = SWIG_PyObj_FromInt((int)result);
7367 return resultobj;
7368 fail:
7369 return NULL;
7370 }
7371
7372
7373 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject *resultobj;
7375 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7376 int arg2 ;
7377 PyObject * obj0 = 0 ;
7378 PyObject * obj1 = 0 ;
7379 char *kwnames[] = {
7380 (char *) "self",(char *) "flags", NULL
7381 };
7382
7383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7385 {
7386 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 {
7390 PyThreadState* __tstate = wxPyBeginAllowThreads();
7391 (arg1)->SetFlags(arg2);
7392
7393 wxPyEndAllowThreads(__tstate);
7394 if (PyErr_Occurred()) SWIG_fail;
7395 }
7396 Py_INCREF(Py_None); resultobj = Py_None;
7397 return resultobj;
7398 fail:
7399 return NULL;
7400 }
7401
7402
7403 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7404 PyObject *resultobj;
7405 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7406 int result;
7407 PyObject * obj0 = 0 ;
7408 char *kwnames[] = {
7409 (char *) "self", NULL
7410 };
7411
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7414 {
7415 PyThreadState* __tstate = wxPyBeginAllowThreads();
7416 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7417
7418 wxPyEndAllowThreads(__tstate);
7419 if (PyErr_Occurred()) SWIG_fail;
7420 }
7421 resultobj = SWIG_PyObj_FromInt((int)result);
7422 return resultobj;
7423 fail:
7424 return NULL;
7425 }
7426
7427
7428 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7429 PyObject *resultobj;
7430 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7431 wxSize *arg2 = 0 ;
7432 wxSize temp2 ;
7433 PyObject * obj0 = 0 ;
7434 PyObject * obj1 = 0 ;
7435 char *kwnames[] = {
7436 (char *) "self",(char *) "size", NULL
7437 };
7438
7439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7441 {
7442 arg2 = &temp2;
7443 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7444 }
7445 {
7446 PyThreadState* __tstate = wxPyBeginAllowThreads();
7447 (arg1)->SetSize((wxSize const &)*arg2);
7448
7449 wxPyEndAllowThreads(__tstate);
7450 if (PyErr_Occurred()) SWIG_fail;
7451 }
7452 Py_INCREF(Py_None); resultobj = Py_None;
7453 return resultobj;
7454 fail:
7455 return NULL;
7456 }
7457
7458
7459 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7460 PyObject *resultobj;
7461 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7462 wxSize result;
7463 PyObject * obj0 = 0 ;
7464 char *kwnames[] = {
7465 (char *) "self", NULL
7466 };
7467
7468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7472 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7473
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 {
7478 wxSize * resultptr;
7479 resultptr = new wxSize((wxSize &) result);
7480 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
7481 }
7482 return resultobj;
7483 fail:
7484 return NULL;
7485 }
7486
7487
7488 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7489 PyObject *resultobj;
7490 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7491 int arg2 ;
7492 PyObject * obj0 = 0 ;
7493 PyObject * obj1 = 0 ;
7494 char *kwnames[] = {
7495 (char *) "self",(char *) "orient", NULL
7496 };
7497
7498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7500 {
7501 arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 }
7504 {
7505 PyThreadState* __tstate = wxPyBeginAllowThreads();
7506 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7507
7508 wxPyEndAllowThreads(__tstate);
7509 if (PyErr_Occurred()) SWIG_fail;
7510 }
7511 Py_INCREF(Py_None); resultobj = Py_None;
7512 return resultobj;
7513 fail:
7514 return NULL;
7515 }
7516
7517
7518 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7519 PyObject *resultobj;
7520 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7521 int result;
7522 PyObject * obj0 = 0 ;
7523 char *kwnames[] = {
7524 (char *) "self", NULL
7525 };
7526
7527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7529 {
7530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7531 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7532
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 resultobj = SWIG_PyObj_FromInt((int)result);
7537 return resultobj;
7538 fail:
7539 return NULL;
7540 }
7541
7542
7543 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7544 PyObject *resultobj;
7545 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7546 int arg2 ;
7547 PyObject * obj0 = 0 ;
7548 PyObject * obj1 = 0 ;
7549 char *kwnames[] = {
7550 (char *) "self",(char *) "align", NULL
7551 };
7552
7553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7555 {
7556 arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 }
7559 {
7560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7561 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7562
7563 wxPyEndAllowThreads(__tstate);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 Py_INCREF(Py_None); resultobj = Py_None;
7567 return resultobj;
7568 fail:
7569 return NULL;
7570 }
7571
7572
7573 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7574 PyObject *resultobj;
7575 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7576 int result;
7577 PyObject * obj0 = 0 ;
7578 char *kwnames[] = {
7579 (char *) "self", NULL
7580 };
7581
7582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7587
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 resultobj = SWIG_PyObj_FromInt((int)result);
7592 return resultobj;
7593 fail:
7594 return NULL;
7595 }
7596
7597
7598 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7599 PyObject *obj;
7600 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7601 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7602 Py_INCREF(obj);
7603 return Py_BuildValue((char *)"");
7604 }
7605 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7606 PyObject *resultobj;
7607 int arg1 = (int) 0 ;
7608 wxCalculateLayoutEvent *result;
7609 PyObject * obj0 = 0 ;
7610 char *kwnames[] = {
7611 (char *) "id", NULL
7612 };
7613
7614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7615 if (obj0) {
7616 {
7617 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7618 if (PyErr_Occurred()) SWIG_fail;
7619 }
7620 }
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7624
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7629 return resultobj;
7630 fail:
7631 return NULL;
7632 }
7633
7634
7635 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7636 PyObject *resultobj;
7637 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7638 int arg2 ;
7639 PyObject * obj0 = 0 ;
7640 PyObject * obj1 = 0 ;
7641 char *kwnames[] = {
7642 (char *) "self",(char *) "flags", NULL
7643 };
7644
7645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7647 {
7648 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7649 if (PyErr_Occurred()) SWIG_fail;
7650 }
7651 {
7652 PyThreadState* __tstate = wxPyBeginAllowThreads();
7653 (arg1)->SetFlags(arg2);
7654
7655 wxPyEndAllowThreads(__tstate);
7656 if (PyErr_Occurred()) SWIG_fail;
7657 }
7658 Py_INCREF(Py_None); resultobj = Py_None;
7659 return resultobj;
7660 fail:
7661 return NULL;
7662 }
7663
7664
7665 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7666 PyObject *resultobj;
7667 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7668 int result;
7669 PyObject * obj0 = 0 ;
7670 char *kwnames[] = {
7671 (char *) "self", NULL
7672 };
7673
7674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 resultobj = SWIG_PyObj_FromInt((int)result);
7684 return resultobj;
7685 fail:
7686 return NULL;
7687 }
7688
7689
7690 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7691 PyObject *resultobj;
7692 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7693 wxRect *arg2 = 0 ;
7694 wxRect temp2 ;
7695 PyObject * obj0 = 0 ;
7696 PyObject * obj1 = 0 ;
7697 char *kwnames[] = {
7698 (char *) "self",(char *) "rect", NULL
7699 };
7700
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7703 {
7704 arg2 = &temp2;
7705 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7706 }
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
7709 (arg1)->SetRect((wxRect const &)*arg2);
7710
7711 wxPyEndAllowThreads(__tstate);
7712 if (PyErr_Occurred()) SWIG_fail;
7713 }
7714 Py_INCREF(Py_None); resultobj = Py_None;
7715 return resultobj;
7716 fail:
7717 return NULL;
7718 }
7719
7720
7721 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7722 PyObject *resultobj;
7723 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7724 wxRect result;
7725 PyObject * obj0 = 0 ;
7726 char *kwnames[] = {
7727 (char *) "self", NULL
7728 };
7729
7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 {
7740 wxRect * resultptr;
7741 resultptr = new wxRect((wxRect &) result);
7742 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7743 }
7744 return resultobj;
7745 fail:
7746 return NULL;
7747 }
7748
7749
7750 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7751 PyObject *obj;
7752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7753 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7754 Py_INCREF(obj);
7755 return Py_BuildValue((char *)"");
7756 }
7757 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj;
7759 wxWindow *arg1 = (wxWindow *) 0 ;
7760 int arg2 ;
7761 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7762 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7763 wxSize const &arg4_defvalue = wxDefaultSize ;
7764 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7765 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7766 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7767 wxString *arg6 = (wxString *) &arg6_defvalue ;
7768 wxSashLayoutWindow *result;
7769 wxPoint temp3 ;
7770 wxSize temp4 ;
7771 bool temp6 = False ;
7772 PyObject * obj0 = 0 ;
7773 PyObject * obj1 = 0 ;
7774 PyObject * obj2 = 0 ;
7775 PyObject * obj3 = 0 ;
7776 PyObject * obj4 = 0 ;
7777 PyObject * obj5 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7784 {
7785 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7786 if (PyErr_Occurred()) SWIG_fail;
7787 }
7788 if (obj2) {
7789 {
7790 arg3 = &temp3;
7791 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7792 }
7793 }
7794 if (obj3) {
7795 {
7796 arg4 = &temp4;
7797 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7798 }
7799 }
7800 if (obj4) {
7801 {
7802 arg5 = (long) SWIG_PyObj_AsLong(obj4);
7803 if (PyErr_Occurred()) SWIG_fail;
7804 }
7805 }
7806 if (obj5) {
7807 {
7808 arg6 = wxString_in_helper(obj5);
7809 if (arg6 == NULL) SWIG_fail;
7810 temp6 = True;
7811 }
7812 }
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7816
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7821 {
7822 if (temp6)
7823 delete arg6;
7824 }
7825 return resultobj;
7826 fail:
7827 {
7828 if (temp6)
7829 delete arg6;
7830 }
7831 return NULL;
7832 }
7833
7834
7835 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7836 PyObject *resultobj;
7837 wxSashLayoutWindow *result;
7838 char *kwnames[] = {
7839 NULL
7840 };
7841
7842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7851 return resultobj;
7852 fail:
7853 return NULL;
7854 }
7855
7856
7857 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7860 wxWindow *arg2 = (wxWindow *) 0 ;
7861 int arg3 ;
7862 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7863 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7864 wxSize const &arg5_defvalue = wxDefaultSize ;
7865 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7866 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7867 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7868 wxString *arg7 = (wxString *) &arg7_defvalue ;
7869 bool result;
7870 wxPoint temp4 ;
7871 wxSize temp5 ;
7872 bool temp7 = False ;
7873 PyObject * obj0 = 0 ;
7874 PyObject * obj1 = 0 ;
7875 PyObject * obj2 = 0 ;
7876 PyObject * obj3 = 0 ;
7877 PyObject * obj4 = 0 ;
7878 PyObject * obj5 = 0 ;
7879 PyObject * obj6 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7886 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7887 {
7888 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 if (obj3) {
7892 {
7893 arg4 = &temp4;
7894 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7895 }
7896 }
7897 if (obj4) {
7898 {
7899 arg5 = &temp5;
7900 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7901 }
7902 }
7903 if (obj5) {
7904 {
7905 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7906 if (PyErr_Occurred()) SWIG_fail;
7907 }
7908 }
7909 if (obj6) {
7910 {
7911 arg7 = wxString_in_helper(obj6);
7912 if (arg7 == NULL) SWIG_fail;
7913 temp7 = True;
7914 }
7915 }
7916 {
7917 PyThreadState* __tstate = wxPyBeginAllowThreads();
7918 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7919
7920 wxPyEndAllowThreads(__tstate);
7921 if (PyErr_Occurred()) SWIG_fail;
7922 }
7923 resultobj = SWIG_PyObj_FromBool((bool)result);
7924 {
7925 if (temp7)
7926 delete arg7;
7927 }
7928 return resultobj;
7929 fail:
7930 {
7931 if (temp7)
7932 delete arg7;
7933 }
7934 return NULL;
7935 }
7936
7937
7938 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7939 PyObject *resultobj;
7940 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7941 int result;
7942 PyObject * obj0 = 0 ;
7943 char *kwnames[] = {
7944 (char *) "self", NULL
7945 };
7946
7947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (int)(arg1)->GetAlignment();
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 resultobj = SWIG_PyObj_FromInt((int)result);
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7966 int result;
7967 PyObject * obj0 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 result = (int)(arg1)->GetOrientation();
7977
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 }
7981 resultobj = SWIG_PyObj_FromInt((int)result);
7982 return resultobj;
7983 fail:
7984 return NULL;
7985 }
7986
7987
7988 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7989 PyObject *resultobj;
7990 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7991 int arg2 ;
7992 PyObject * obj0 = 0 ;
7993 PyObject * obj1 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "self",(char *) "alignment", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8000 {
8001 arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 }
8004 {
8005 PyThreadState* __tstate = wxPyBeginAllowThreads();
8006 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8007
8008 wxPyEndAllowThreads(__tstate);
8009 if (PyErr_Occurred()) SWIG_fail;
8010 }
8011 Py_INCREF(Py_None); resultobj = Py_None;
8012 return resultobj;
8013 fail:
8014 return NULL;
8015 }
8016
8017
8018 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8019 PyObject *resultobj;
8020 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8021 wxSize *arg2 = 0 ;
8022 wxSize temp2 ;
8023 PyObject * obj0 = 0 ;
8024 PyObject * obj1 = 0 ;
8025 char *kwnames[] = {
8026 (char *) "self",(char *) "size", NULL
8027 };
8028
8029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8031 {
8032 arg2 = &temp2;
8033 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8034 }
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8038
8039 wxPyEndAllowThreads(__tstate);
8040 if (PyErr_Occurred()) SWIG_fail;
8041 }
8042 Py_INCREF(Py_None); resultobj = Py_None;
8043 return resultobj;
8044 fail:
8045 return NULL;
8046 }
8047
8048
8049 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8050 PyObject *resultobj;
8051 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8052 int arg2 ;
8053 PyObject * obj0 = 0 ;
8054 PyObject * obj1 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self",(char *) "orientation", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8061 {
8062 arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 Py_INCREF(Py_None); resultobj = Py_None;
8073 return resultobj;
8074 fail:
8075 return NULL;
8076 }
8077
8078
8079 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8080 PyObject *obj;
8081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8082 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8083 Py_INCREF(obj);
8084 return Py_BuildValue((char *)"");
8085 }
8086 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8087 PyObject *resultobj;
8088 wxLayoutAlgorithm *result;
8089 char *kwnames[] = {
8090 NULL
8091 };
8092
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8094 {
8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
8096 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8097
8098 wxPyEndAllowThreads(__tstate);
8099 if (PyErr_Occurred()) SWIG_fail;
8100 }
8101 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
8102 return resultobj;
8103 fail:
8104 return NULL;
8105 }
8106
8107
8108 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8109 PyObject *resultobj;
8110 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8111 PyObject * obj0 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8118 {
8119 PyThreadState* __tstate = wxPyBeginAllowThreads();
8120 delete arg1;
8121
8122 wxPyEndAllowThreads(__tstate);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 }
8125 Py_INCREF(Py_None); resultobj = Py_None;
8126 return resultobj;
8127 fail:
8128 return NULL;
8129 }
8130
8131
8132 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8133 PyObject *resultobj;
8134 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8135 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8136 wxRect *arg3 = (wxRect *) NULL ;
8137 bool result;
8138 PyObject * obj0 = 0 ;
8139 PyObject * obj1 = 0 ;
8140 PyObject * obj2 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "self",(char *) "frame",(char *) "rect", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8147 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8148 if (obj2) {
8149 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8150 }
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8154
8155 wxPyEndAllowThreads(__tstate);
8156 if (PyErr_Occurred()) SWIG_fail;
8157 }
8158 resultobj = SWIG_PyObj_FromBool((bool)result);
8159 return resultobj;
8160 fail:
8161 return NULL;
8162 }
8163
8164
8165 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8166 PyObject *resultobj;
8167 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8168 wxFrame *arg2 = (wxFrame *) 0 ;
8169 wxWindow *arg3 = (wxWindow *) NULL ;
8170 bool result;
8171 PyObject * obj0 = 0 ;
8172 PyObject * obj1 = 0 ;
8173 PyObject * obj2 = 0 ;
8174 char *kwnames[] = {
8175 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8176 };
8177
8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8180 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8181 if (obj2) {
8182 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8183 }
8184 {
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
8186 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8187
8188 wxPyEndAllowThreads(__tstate);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
8191 resultobj = SWIG_PyObj_FromBool((bool)result);
8192 return resultobj;
8193 fail:
8194 return NULL;
8195 }
8196
8197
8198 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8199 PyObject *resultobj;
8200 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8201 wxWindow *arg2 = (wxWindow *) 0 ;
8202 wxWindow *arg3 = (wxWindow *) NULL ;
8203 bool result;
8204 PyObject * obj0 = 0 ;
8205 PyObject * obj1 = 0 ;
8206 PyObject * obj2 = 0 ;
8207 char *kwnames[] = {
8208 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8209 };
8210
8211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8214 if (obj2) {
8215 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8216 }
8217 {
8218 PyThreadState* __tstate = wxPyBeginAllowThreads();
8219 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8220
8221 wxPyEndAllowThreads(__tstate);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 }
8224 resultobj = SWIG_PyObj_FromBool((bool)result);
8225 return resultobj;
8226 fail:
8227 return NULL;
8228 }
8229
8230
8231 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8232 PyObject *obj;
8233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8234 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8235 Py_INCREF(obj);
8236 return Py_BuildValue((char *)"");
8237 }
8238 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8239 PyObject *resultobj;
8240 wxWindow *arg1 = (wxWindow *) 0 ;
8241 int arg2 = (int) wxBORDER_NONE ;
8242 wxPopupWindow *result;
8243 PyObject * obj0 = 0 ;
8244 PyObject * obj1 = 0 ;
8245 char *kwnames[] = {
8246 (char *) "parent",(char *) "flags", NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8251 if (obj1) {
8252 {
8253 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 }
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
8259 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
8264 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
8265 return resultobj;
8266 fail:
8267 return NULL;
8268 }
8269
8270
8271 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8272 PyObject *resultobj;
8273 wxPopupWindow *result;
8274 char *kwnames[] = {
8275 NULL
8276 };
8277
8278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 result = (wxPopupWindow *)new wxPopupWindow();
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
8287 return resultobj;
8288 fail:
8289 return NULL;
8290 }
8291
8292
8293 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8294 PyObject *obj;
8295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8296 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8297 Py_INCREF(obj);
8298 return Py_BuildValue((char *)"");
8299 }
8300 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8301 PyObject *resultobj;
8302 wxWindow *arg1 = (wxWindow *) 0 ;
8303 int arg2 = (int) wxBORDER_NONE ;
8304 wxPyPopupTransientWindow *result;
8305 PyObject * obj0 = 0 ;
8306 PyObject * obj1 = 0 ;
8307 char *kwnames[] = {
8308 (char *) "parent",(char *) "style", NULL
8309 };
8310
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8313 if (obj1) {
8314 {
8315 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 }
8319 {
8320 PyThreadState* __tstate = wxPyBeginAllowThreads();
8321 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8322
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
8326 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8327 return resultobj;
8328 fail:
8329 return NULL;
8330 }
8331
8332
8333 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8334 PyObject *resultobj;
8335 wxPyPopupTransientWindow *result;
8336 char *kwnames[] = {
8337 NULL
8338 };
8339
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8341 {
8342 PyThreadState* __tstate = wxPyBeginAllowThreads();
8343 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8344
8345 wxPyEndAllowThreads(__tstate);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 }
8348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8349 return resultobj;
8350 fail:
8351 return NULL;
8352 }
8353
8354
8355 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8356 PyObject *obj;
8357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8358 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8359 Py_INCREF(obj);
8360 return Py_BuildValue((char *)"");
8361 }
8362 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8363 PyObject *resultobj;
8364 wxWindow *arg1 = (wxWindow *) 0 ;
8365 wxString *arg2 = 0 ;
8366 int arg3 = (int) 100 ;
8367 wxRect *arg4 = (wxRect *) NULL ;
8368 wxTipWindow *result;
8369 bool temp2 = False ;
8370 PyObject * obj0 = 0 ;
8371 PyObject * obj1 = 0 ;
8372 PyObject * obj2 = 0 ;
8373 PyObject * obj3 = 0 ;
8374 char *kwnames[] = {
8375 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8376 };
8377
8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8380 {
8381 arg2 = wxString_in_helper(obj1);
8382 if (arg2 == NULL) SWIG_fail;
8383 temp2 = True;
8384 }
8385 if (obj2) {
8386 {
8387 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8388 if (PyErr_Occurred()) SWIG_fail;
8389 }
8390 }
8391 if (obj3) {
8392 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8393 }
8394 {
8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
8396 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8397
8398 wxPyEndAllowThreads(__tstate);
8399 if (PyErr_Occurred()) SWIG_fail;
8400 }
8401 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
8402 {
8403 if (temp2)
8404 delete arg2;
8405 }
8406 return resultobj;
8407 fail:
8408 {
8409 if (temp2)
8410 delete arg2;
8411 }
8412 return NULL;
8413 }
8414
8415
8416 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8417 PyObject *resultobj;
8418 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8419 wxRect *arg2 = 0 ;
8420 wxRect temp2 ;
8421 PyObject * obj0 = 0 ;
8422 PyObject * obj1 = 0 ;
8423 char *kwnames[] = {
8424 (char *) "self",(char *) "rectBound", NULL
8425 };
8426
8427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8429 {
8430 arg2 = &temp2;
8431 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8432 }
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 Py_INCREF(Py_None); resultobj = Py_None;
8441 return resultobj;
8442 fail:
8443 return NULL;
8444 }
8445
8446
8447 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8450 PyObject * obj0 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 (arg1)->Close();
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 Py_INCREF(Py_None); resultobj = Py_None;
8465 return resultobj;
8466 fail:
8467 return NULL;
8468 }
8469
8470
8471 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8472 PyObject *obj;
8473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8474 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8475 Py_INCREF(obj);
8476 return Py_BuildValue((char *)"");
8477 }
8478 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8479 PyObject *resultobj;
8480 wxWindow *arg1 = (wxWindow *) 0 ;
8481 int arg2 = (int) wxID_ANY ;
8482 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8483 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8484 wxSize const &arg4_defvalue = wxDefaultSize ;
8485 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8486 long arg5 = (long) 0 ;
8487 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8488 wxString *arg6 = (wxString *) &arg6_defvalue ;
8489 wxPyVScrolledWindow *result;
8490 wxPoint temp3 ;
8491 wxSize temp4 ;
8492 bool temp6 = False ;
8493 PyObject * obj0 = 0 ;
8494 PyObject * obj1 = 0 ;
8495 PyObject * obj2 = 0 ;
8496 PyObject * obj3 = 0 ;
8497 PyObject * obj4 = 0 ;
8498 PyObject * obj5 = 0 ;
8499 char *kwnames[] = {
8500 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8501 };
8502
8503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8505 if (obj1) {
8506 {
8507 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
8510 }
8511 if (obj2) {
8512 {
8513 arg3 = &temp3;
8514 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8515 }
8516 }
8517 if (obj3) {
8518 {
8519 arg4 = &temp4;
8520 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8521 }
8522 }
8523 if (obj4) {
8524 {
8525 arg5 = (long) SWIG_PyObj_AsLong(obj4);
8526 if (PyErr_Occurred()) SWIG_fail;
8527 }
8528 }
8529 if (obj5) {
8530 {
8531 arg6 = wxString_in_helper(obj5);
8532 if (arg6 == NULL) SWIG_fail;
8533 temp6 = True;
8534 }
8535 }
8536 {
8537 PyThreadState* __tstate = wxPyBeginAllowThreads();
8538 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8539
8540 wxPyEndAllowThreads(__tstate);
8541 if (PyErr_Occurred()) SWIG_fail;
8542 }
8543 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8544 {
8545 if (temp6)
8546 delete arg6;
8547 }
8548 return resultobj;
8549 fail:
8550 {
8551 if (temp6)
8552 delete arg6;
8553 }
8554 return NULL;
8555 }
8556
8557
8558 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8559 PyObject *resultobj;
8560 wxPyVScrolledWindow *result;
8561 char *kwnames[] = {
8562 NULL
8563 };
8564
8565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8574 return resultobj;
8575 fail:
8576 return NULL;
8577 }
8578
8579
8580 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8581 PyObject *resultobj;
8582 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8583 PyObject *arg2 = (PyObject *) 0 ;
8584 PyObject *arg3 = (PyObject *) 0 ;
8585 PyObject * obj0 = 0 ;
8586 PyObject * obj1 = 0 ;
8587 PyObject * obj2 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "self",(char *) "self",(char *) "_class", NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8594 arg2 = obj1;
8595 arg3 = obj2;
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 (arg1)->_setCallbackInfo(arg2,arg3);
8599
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
8603 Py_INCREF(Py_None); resultobj = Py_None;
8604 return resultobj;
8605 fail:
8606 return NULL;
8607 }
8608
8609
8610 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8611 PyObject *resultobj;
8612 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8613 wxWindow *arg2 = (wxWindow *) 0 ;
8614 int arg3 = (int) wxID_ANY ;
8615 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8616 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8617 wxSize const &arg5_defvalue = wxDefaultSize ;
8618 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8619 long arg6 = (long) 0 ;
8620 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8621 wxString *arg7 = (wxString *) &arg7_defvalue ;
8622 bool result;
8623 wxPoint temp4 ;
8624 wxSize temp5 ;
8625 bool temp7 = False ;
8626 PyObject * obj0 = 0 ;
8627 PyObject * obj1 = 0 ;
8628 PyObject * obj2 = 0 ;
8629 PyObject * obj3 = 0 ;
8630 PyObject * obj4 = 0 ;
8631 PyObject * obj5 = 0 ;
8632 PyObject * obj6 = 0 ;
8633 char *kwnames[] = {
8634 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8635 };
8636
8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8640 if (obj2) {
8641 {
8642 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
8645 }
8646 if (obj3) {
8647 {
8648 arg4 = &temp4;
8649 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8650 }
8651 }
8652 if (obj4) {
8653 {
8654 arg5 = &temp5;
8655 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8656 }
8657 }
8658 if (obj5) {
8659 {
8660 arg6 = (long) SWIG_PyObj_AsLong(obj5);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 }
8664 if (obj6) {
8665 {
8666 arg7 = wxString_in_helper(obj6);
8667 if (arg7 == NULL) SWIG_fail;
8668 temp7 = True;
8669 }
8670 }
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8674
8675 wxPyEndAllowThreads(__tstate);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 }
8678 resultobj = SWIG_PyObj_FromBool((bool)result);
8679 {
8680 if (temp7)
8681 delete arg7;
8682 }
8683 return resultobj;
8684 fail:
8685 {
8686 if (temp7)
8687 delete arg7;
8688 }
8689 return NULL;
8690 }
8691
8692
8693 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj;
8695 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8696 size_t arg2 ;
8697 PyObject * obj0 = 0 ;
8698 PyObject * obj1 = 0 ;
8699 char *kwnames[] = {
8700 (char *) "self",(char *) "count", NULL
8701 };
8702
8703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8705 {
8706 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8707 if (PyErr_Occurred()) SWIG_fail;
8708 }
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 (arg1)->SetLineCount(arg2);
8712
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 Py_INCREF(Py_None); resultobj = Py_None;
8717 return resultobj;
8718 fail:
8719 return NULL;
8720 }
8721
8722
8723 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8724 PyObject *resultobj;
8725 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8726 size_t arg2 ;
8727 bool result;
8728 PyObject * obj0 = 0 ;
8729 PyObject * obj1 = 0 ;
8730 char *kwnames[] = {
8731 (char *) "self",(char *) "line", NULL
8732 };
8733
8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8736 {
8737 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 }
8740 {
8741 PyThreadState* __tstate = wxPyBeginAllowThreads();
8742 result = (bool)(arg1)->ScrollToLine(arg2);
8743
8744 wxPyEndAllowThreads(__tstate);
8745 if (PyErr_Occurred()) SWIG_fail;
8746 }
8747 resultobj = SWIG_PyObj_FromBool((bool)result);
8748 return resultobj;
8749 fail:
8750 return NULL;
8751 }
8752
8753
8754 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8755 PyObject *resultobj;
8756 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8757 int arg2 ;
8758 bool result;
8759 PyObject * obj0 = 0 ;
8760 PyObject * obj1 = 0 ;
8761 char *kwnames[] = {
8762 (char *) "self",(char *) "lines", NULL
8763 };
8764
8765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8767 {
8768 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 result = (bool)(arg1)->ScrollLines(arg2);
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 resultobj = SWIG_PyObj_FromBool((bool)result);
8779 return resultobj;
8780 fail:
8781 return NULL;
8782 }
8783
8784
8785 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj;
8787 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8788 int arg2 ;
8789 bool result;
8790 PyObject * obj0 = 0 ;
8791 PyObject * obj1 = 0 ;
8792 char *kwnames[] = {
8793 (char *) "self",(char *) "pages", NULL
8794 };
8795
8796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
8797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8798 {
8799 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 {
8803 PyThreadState* __tstate = wxPyBeginAllowThreads();
8804 result = (bool)(arg1)->ScrollPages(arg2);
8805
8806 wxPyEndAllowThreads(__tstate);
8807 if (PyErr_Occurred()) SWIG_fail;
8808 }
8809 resultobj = SWIG_PyObj_FromBool((bool)result);
8810 return resultobj;
8811 fail:
8812 return NULL;
8813 }
8814
8815
8816 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8817 PyObject *resultobj;
8818 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8819 size_t arg2 ;
8820 PyObject * obj0 = 0 ;
8821 PyObject * obj1 = 0 ;
8822 char *kwnames[] = {
8823 (char *) "self",(char *) "line", NULL
8824 };
8825
8826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8828 {
8829 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8830 if (PyErr_Occurred()) SWIG_fail;
8831 }
8832 {
8833 PyThreadState* __tstate = wxPyBeginAllowThreads();
8834 (arg1)->RefreshLine(arg2);
8835
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 Py_INCREF(Py_None); resultobj = Py_None;
8840 return resultobj;
8841 fail:
8842 return NULL;
8843 }
8844
8845
8846 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8847 PyObject *resultobj;
8848 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8849 size_t arg2 ;
8850 size_t arg3 ;
8851 PyObject * obj0 = 0 ;
8852 PyObject * obj1 = 0 ;
8853 PyObject * obj2 = 0 ;
8854 char *kwnames[] = {
8855 (char *) "self",(char *) "from",(char *) "to", NULL
8856 };
8857
8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8860 {
8861 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8862 if (PyErr_Occurred()) SWIG_fail;
8863 }
8864 {
8865 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 }
8868 {
8869 PyThreadState* __tstate = wxPyBeginAllowThreads();
8870 (arg1)->RefreshLines(arg2,arg3);
8871
8872 wxPyEndAllowThreads(__tstate);
8873 if (PyErr_Occurred()) SWIG_fail;
8874 }
8875 Py_INCREF(Py_None); resultobj = Py_None;
8876 return resultobj;
8877 fail:
8878 return NULL;
8879 }
8880
8881
8882 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8883 PyObject *resultobj;
8884 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8885 int arg2 ;
8886 int arg3 ;
8887 int result;
8888 PyObject * obj0 = 0 ;
8889 PyObject * obj1 = 0 ;
8890 PyObject * obj2 = 0 ;
8891 char *kwnames[] = {
8892 (char *) "self",(char *) "x",(char *) "y", NULL
8893 };
8894
8895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
8896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8897 {
8898 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 {
8902 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8903 if (PyErr_Occurred()) SWIG_fail;
8904 }
8905 {
8906 PyThreadState* __tstate = wxPyBeginAllowThreads();
8907 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8908
8909 wxPyEndAllowThreads(__tstate);
8910 if (PyErr_Occurred()) SWIG_fail;
8911 }
8912 resultobj = SWIG_PyObj_FromInt((int)result);
8913 return resultobj;
8914 fail:
8915 return NULL;
8916 }
8917
8918
8919 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8920 PyObject *resultobj;
8921 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8922 wxPoint *arg2 = 0 ;
8923 int result;
8924 wxPoint temp2 ;
8925 PyObject * obj0 = 0 ;
8926 PyObject * obj1 = 0 ;
8927 char *kwnames[] = {
8928 (char *) "self",(char *) "pt", NULL
8929 };
8930
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8933 {
8934 arg2 = &temp2;
8935 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8936 }
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8939 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8940
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 resultobj = SWIG_PyObj_FromInt((int)result);
8945 return resultobj;
8946 fail:
8947 return NULL;
8948 }
8949
8950
8951 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj;
8953 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8954 PyObject * obj0 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 (arg1)->RefreshAll();
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 Py_INCREF(Py_None); resultobj = Py_None;
8969 return resultobj;
8970 fail:
8971 return NULL;
8972 }
8973
8974
8975 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8976 PyObject *resultobj;
8977 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8978 size_t result;
8979 PyObject * obj0 = 0 ;
8980 char *kwnames[] = {
8981 (char *) "self", NULL
8982 };
8983
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
8988 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8989
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
8994 return resultobj;
8995 fail:
8996 return NULL;
8997 }
8998
8999
9000 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj;
9002 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9003 size_t result;
9004 PyObject * obj0 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "self", NULL
9007 };
9008
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9011 {
9012 PyThreadState* __tstate = wxPyBeginAllowThreads();
9013 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9014
9015 wxPyEndAllowThreads(__tstate);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9019 return resultobj;
9020 fail:
9021 return NULL;
9022 }
9023
9024
9025 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9026 PyObject *resultobj;
9027 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9028 size_t result;
9029 PyObject * obj0 = 0 ;
9030 char *kwnames[] = {
9031 (char *) "self", NULL
9032 };
9033
9034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9039
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
9043 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9044 return resultobj;
9045 fail:
9046 return NULL;
9047 }
9048
9049
9050 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9051 PyObject *resultobj;
9052 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9053 size_t arg2 ;
9054 bool result;
9055 PyObject * obj0 = 0 ;
9056 PyObject * obj1 = 0 ;
9057 char *kwnames[] = {
9058 (char *) "self",(char *) "line", NULL
9059 };
9060
9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9063 {
9064 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 {
9068 PyThreadState* __tstate = wxPyBeginAllowThreads();
9069 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9070
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 resultobj = SWIG_PyObj_FromBool((bool)result);
9075 return resultobj;
9076 fail:
9077 return NULL;
9078 }
9079
9080
9081 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9082 PyObject *obj;
9083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9084 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9085 Py_INCREF(obj);
9086 return Py_BuildValue((char *)"");
9087 }
9088 static int _wrap_VListBoxNameStr_set(PyObject *) {
9089 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9090 return 1;
9091 }
9092
9093
9094 static PyObject *_wrap_VListBoxNameStr_get() {
9095 PyObject *pyobj;
9096
9097 {
9098 #if wxUSE_UNICODE
9099 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9100 #else
9101 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9102 #endif
9103 }
9104 return pyobj;
9105 }
9106
9107
9108 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9109 PyObject *resultobj;
9110 wxWindow *arg1 = (wxWindow *) 0 ;
9111 int arg2 = (int) wxID_ANY ;
9112 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9113 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9114 wxSize const &arg4_defvalue = wxDefaultSize ;
9115 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9116 long arg5 = (long) 0 ;
9117 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9118 wxString *arg6 = (wxString *) &arg6_defvalue ;
9119 wxPyVListBox *result;
9120 wxPoint temp3 ;
9121 wxSize temp4 ;
9122 bool temp6 = False ;
9123 PyObject * obj0 = 0 ;
9124 PyObject * obj1 = 0 ;
9125 PyObject * obj2 = 0 ;
9126 PyObject * obj3 = 0 ;
9127 PyObject * obj4 = 0 ;
9128 PyObject * obj5 = 0 ;
9129 char *kwnames[] = {
9130 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9131 };
9132
9133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9135 if (obj1) {
9136 {
9137 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9138 if (PyErr_Occurred()) SWIG_fail;
9139 }
9140 }
9141 if (obj2) {
9142 {
9143 arg3 = &temp3;
9144 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9145 }
9146 }
9147 if (obj3) {
9148 {
9149 arg4 = &temp4;
9150 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9151 }
9152 }
9153 if (obj4) {
9154 {
9155 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 }
9159 if (obj5) {
9160 {
9161 arg6 = wxString_in_helper(obj5);
9162 if (arg6 == NULL) SWIG_fail;
9163 temp6 = True;
9164 }
9165 }
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9169
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
9174 {
9175 if (temp6)
9176 delete arg6;
9177 }
9178 return resultobj;
9179 fail:
9180 {
9181 if (temp6)
9182 delete arg6;
9183 }
9184 return NULL;
9185 }
9186
9187
9188 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9189 PyObject *resultobj;
9190 wxPyVListBox *result;
9191 char *kwnames[] = {
9192 NULL
9193 };
9194
9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 result = (wxPyVListBox *)new wxPyVListBox();
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
9204 return resultobj;
9205 fail:
9206 return NULL;
9207 }
9208
9209
9210 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9213 PyObject *arg2 = (PyObject *) 0 ;
9214 PyObject *arg3 = (PyObject *) 0 ;
9215 PyObject * obj0 = 0 ;
9216 PyObject * obj1 = 0 ;
9217 PyObject * obj2 = 0 ;
9218 char *kwnames[] = {
9219 (char *) "self",(char *) "self",(char *) "_class", NULL
9220 };
9221
9222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9224 arg2 = obj1;
9225 arg3 = obj2;
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 (arg1)->_setCallbackInfo(arg2,arg3);
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 Py_INCREF(Py_None); resultobj = Py_None;
9234 return resultobj;
9235 fail:
9236 return NULL;
9237 }
9238
9239
9240 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9241 PyObject *resultobj;
9242 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9243 wxWindow *arg2 = (wxWindow *) 0 ;
9244 int arg3 = (int) wxID_ANY ;
9245 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9246 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9247 wxSize const &arg5_defvalue = wxDefaultSize ;
9248 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9249 long arg6 = (long) 0 ;
9250 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9251 wxString *arg7 = (wxString *) &arg7_defvalue ;
9252 bool result;
9253 wxPoint temp4 ;
9254 wxSize temp5 ;
9255 bool temp7 = False ;
9256 PyObject * obj0 = 0 ;
9257 PyObject * obj1 = 0 ;
9258 PyObject * obj2 = 0 ;
9259 PyObject * obj3 = 0 ;
9260 PyObject * obj4 = 0 ;
9261 PyObject * obj5 = 0 ;
9262 PyObject * obj6 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9265 };
9266
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9269 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9270 if (obj2) {
9271 {
9272 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 }
9275 }
9276 if (obj3) {
9277 {
9278 arg4 = &temp4;
9279 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9280 }
9281 }
9282 if (obj4) {
9283 {
9284 arg5 = &temp5;
9285 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9286 }
9287 }
9288 if (obj5) {
9289 {
9290 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 }
9293 }
9294 if (obj6) {
9295 {
9296 arg7 = wxString_in_helper(obj6);
9297 if (arg7 == NULL) SWIG_fail;
9298 temp7 = True;
9299 }
9300 }
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9304
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 resultobj = SWIG_PyObj_FromBool((bool)result);
9309 {
9310 if (temp7)
9311 delete arg7;
9312 }
9313 return resultobj;
9314 fail:
9315 {
9316 if (temp7)
9317 delete arg7;
9318 }
9319 return NULL;
9320 }
9321
9322
9323 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9324 PyObject *resultobj;
9325 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9326 size_t result;
9327 PyObject * obj0 = 0 ;
9328 char *kwnames[] = {
9329 (char *) "self", NULL
9330 };
9331
9332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9334 {
9335 PyThreadState* __tstate = wxPyBeginAllowThreads();
9336 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9337
9338 wxPyEndAllowThreads(__tstate);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 }
9341 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9342 return resultobj;
9343 fail:
9344 return NULL;
9345 }
9346
9347
9348 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9349 PyObject *resultobj;
9350 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9351 bool result;
9352 PyObject * obj0 = 0 ;
9353 char *kwnames[] = {
9354 (char *) "self", NULL
9355 };
9356
9357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9359 {
9360 PyThreadState* __tstate = wxPyBeginAllowThreads();
9361 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9362
9363 wxPyEndAllowThreads(__tstate);
9364 if (PyErr_Occurred()) SWIG_fail;
9365 }
9366 resultobj = SWIG_PyObj_FromBool((bool)result);
9367 return resultobj;
9368 fail:
9369 return NULL;
9370 }
9371
9372
9373 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9374 PyObject *resultobj;
9375 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9376 int result;
9377 PyObject * obj0 = 0 ;
9378 char *kwnames[] = {
9379 (char *) "self", NULL
9380 };
9381
9382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9384 {
9385 PyThreadState* __tstate = wxPyBeginAllowThreads();
9386 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9387
9388 wxPyEndAllowThreads(__tstate);
9389 if (PyErr_Occurred()) SWIG_fail;
9390 }
9391 resultobj = SWIG_PyObj_FromInt((int)result);
9392 return resultobj;
9393 fail:
9394 return NULL;
9395 }
9396
9397
9398 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9399 PyObject *resultobj;
9400 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9401 size_t arg2 ;
9402 bool result;
9403 PyObject * obj0 = 0 ;
9404 PyObject * obj1 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self",(char *) "item", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9411 {
9412 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 {
9416 PyThreadState* __tstate = wxPyBeginAllowThreads();
9417 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9418
9419 wxPyEndAllowThreads(__tstate);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
9422 resultobj = SWIG_PyObj_FromBool((bool)result);
9423 return resultobj;
9424 fail:
9425 return NULL;
9426 }
9427
9428
9429 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9430 PyObject *resultobj;
9431 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9432 size_t arg2 ;
9433 bool result;
9434 PyObject * obj0 = 0 ;
9435 PyObject * obj1 = 0 ;
9436 char *kwnames[] = {
9437 (char *) "self",(char *) "item", NULL
9438 };
9439
9440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9442 {
9443 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 }
9446 {
9447 PyThreadState* __tstate = wxPyBeginAllowThreads();
9448 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 resultobj = SWIG_PyObj_FromBool((bool)result);
9454 return resultobj;
9455 fail:
9456 return NULL;
9457 }
9458
9459
9460 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9461 PyObject *resultobj;
9462 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9463 size_t result;
9464 PyObject * obj0 = 0 ;
9465 char *kwnames[] = {
9466 (char *) "self", NULL
9467 };
9468
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9474
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
9478 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9479 return resultobj;
9480 fail:
9481 return NULL;
9482 }
9483
9484
9485 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj;
9487 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9488 unsigned long *arg2 = 0 ;
9489 int result;
9490 PyObject * obj0 = 0 ;
9491 PyObject * obj1 = 0 ;
9492 char *kwnames[] = {
9493 (char *) "self",(char *) "cookie", NULL
9494 };
9495
9496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9498 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9499 if (arg2 == NULL) {
9500 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9501 }
9502 {
9503 PyThreadState* __tstate = wxPyBeginAllowThreads();
9504 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9505
9506 wxPyEndAllowThreads(__tstate);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 }
9509 resultobj = SWIG_PyObj_FromInt((int)result);
9510 return resultobj;
9511 fail:
9512 return NULL;
9513 }
9514
9515
9516 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9517 PyObject *resultobj;
9518 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9519 unsigned long *arg2 = 0 ;
9520 int result;
9521 PyObject * obj0 = 0 ;
9522 PyObject * obj1 = 0 ;
9523 char *kwnames[] = {
9524 (char *) "self",(char *) "cookie", NULL
9525 };
9526
9527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9530 if (arg2 == NULL) {
9531 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9532 }
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9536
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 resultobj = SWIG_PyObj_FromInt((int)result);
9541 return resultobj;
9542 fail:
9543 return NULL;
9544 }
9545
9546
9547 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9548 PyObject *resultobj;
9549 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9550 wxPoint result;
9551 PyObject * obj0 = 0 ;
9552 char *kwnames[] = {
9553 (char *) "self", NULL
9554 };
9555
9556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9558 {
9559 PyThreadState* __tstate = wxPyBeginAllowThreads();
9560 result = ((wxPyVListBox const *)arg1)->GetMargins();
9561
9562 wxPyEndAllowThreads(__tstate);
9563 if (PyErr_Occurred()) SWIG_fail;
9564 }
9565 {
9566 wxPoint * resultptr;
9567 resultptr = new wxPoint((wxPoint &) result);
9568 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9569 }
9570 return resultobj;
9571 fail:
9572 return NULL;
9573 }
9574
9575
9576 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9577 PyObject *resultobj;
9578 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9579 wxColour *result;
9580 PyObject * obj0 = 0 ;
9581 char *kwnames[] = {
9582 (char *) "self", NULL
9583 };
9584
9585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9587 {
9588 PyThreadState* __tstate = wxPyBeginAllowThreads();
9589 {
9590 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9591 result = (wxColour *) &_result_ref;
9592 }
9593
9594 wxPyEndAllowThreads(__tstate);
9595 if (PyErr_Occurred()) SWIG_fail;
9596 }
9597 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
9598 return resultobj;
9599 fail:
9600 return NULL;
9601 }
9602
9603
9604 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9605 PyObject *resultobj;
9606 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9607 size_t arg2 ;
9608 PyObject * obj0 = 0 ;
9609 PyObject * obj1 = 0 ;
9610 char *kwnames[] = {
9611 (char *) "self",(char *) "count", NULL
9612 };
9613
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9616 {
9617 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 }
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 (arg1)->SetItemCount(arg2);
9623
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 Py_INCREF(Py_None); resultobj = Py_None;
9628 return resultobj;
9629 fail:
9630 return NULL;
9631 }
9632
9633
9634 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9635 PyObject *resultobj;
9636 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9637 PyObject * obj0 = 0 ;
9638 char *kwnames[] = {
9639 (char *) "self", NULL
9640 };
9641
9642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 (arg1)->Clear();
9647
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
9651 Py_INCREF(Py_None); resultobj = Py_None;
9652 return resultobj;
9653 fail:
9654 return NULL;
9655 }
9656
9657
9658 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9659 PyObject *resultobj;
9660 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9661 int arg2 ;
9662 PyObject * obj0 = 0 ;
9663 PyObject * obj1 = 0 ;
9664 char *kwnames[] = {
9665 (char *) "self",(char *) "selection", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9670 {
9671 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 (arg1)->SetSelection(arg2);
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 Py_INCREF(Py_None); resultobj = Py_None;
9682 return resultobj;
9683 fail:
9684 return NULL;
9685 }
9686
9687
9688 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj;
9690 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9691 size_t arg2 ;
9692 bool arg3 = (bool) True ;
9693 bool result;
9694 PyObject * obj0 = 0 ;
9695 PyObject * obj1 = 0 ;
9696 PyObject * obj2 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self",(char *) "item",(char *) "select", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9703 {
9704 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 }
9707 if (obj2) {
9708 {
9709 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 }
9713 {
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 result = (bool)(arg1)->Select(arg2,arg3);
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 resultobj = SWIG_PyObj_FromBool((bool)result);
9721 return resultobj;
9722 fail:
9723 return NULL;
9724 }
9725
9726
9727 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj;
9729 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9730 size_t arg2 ;
9731 size_t arg3 ;
9732 bool result;
9733 PyObject * obj0 = 0 ;
9734 PyObject * obj1 = 0 ;
9735 PyObject * obj2 = 0 ;
9736 char *kwnames[] = {
9737 (char *) "self",(char *) "from",(char *) "to", NULL
9738 };
9739
9740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9742 {
9743 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 }
9746 {
9747 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
9750 {
9751 PyThreadState* __tstate = wxPyBeginAllowThreads();
9752 result = (bool)(arg1)->SelectRange(arg2,arg3);
9753
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 resultobj = SWIG_PyObj_FromBool((bool)result);
9758 return resultobj;
9759 fail:
9760 return NULL;
9761 }
9762
9763
9764 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9765 PyObject *resultobj;
9766 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9767 size_t arg2 ;
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj1 = 0 ;
9770 char *kwnames[] = {
9771 (char *) "self",(char *) "item", NULL
9772 };
9773
9774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9776 {
9777 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 {
9781 PyThreadState* __tstate = wxPyBeginAllowThreads();
9782 (arg1)->Toggle(arg2);
9783
9784 wxPyEndAllowThreads(__tstate);
9785 if (PyErr_Occurred()) SWIG_fail;
9786 }
9787 Py_INCREF(Py_None); resultobj = Py_None;
9788 return resultobj;
9789 fail:
9790 return NULL;
9791 }
9792
9793
9794 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9795 PyObject *resultobj;
9796 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9797 bool result;
9798 PyObject * obj0 = 0 ;
9799 char *kwnames[] = {
9800 (char *) "self", NULL
9801 };
9802
9803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9805 {
9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
9807 result = (bool)(arg1)->SelectAll();
9808
9809 wxPyEndAllowThreads(__tstate);
9810 if (PyErr_Occurred()) SWIG_fail;
9811 }
9812 resultobj = SWIG_PyObj_FromBool((bool)result);
9813 return resultobj;
9814 fail:
9815 return NULL;
9816 }
9817
9818
9819 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9820 PyObject *resultobj;
9821 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9822 bool result;
9823 PyObject * obj0 = 0 ;
9824 char *kwnames[] = {
9825 (char *) "self", NULL
9826 };
9827
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 result = (bool)(arg1)->DeselectAll();
9833
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 resultobj = SWIG_PyObj_FromBool((bool)result);
9838 return resultobj;
9839 fail:
9840 return NULL;
9841 }
9842
9843
9844 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj;
9846 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9847 wxPoint *arg2 = 0 ;
9848 wxPoint temp2 ;
9849 PyObject * obj0 = 0 ;
9850 PyObject * obj1 = 0 ;
9851 char *kwnames[] = {
9852 (char *) "self",(char *) "pt", NULL
9853 };
9854
9855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9857 {
9858 arg2 = &temp2;
9859 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9860 }
9861 {
9862 PyThreadState* __tstate = wxPyBeginAllowThreads();
9863 (arg1)->SetMargins((wxPoint const &)*arg2);
9864
9865 wxPyEndAllowThreads(__tstate);
9866 if (PyErr_Occurred()) SWIG_fail;
9867 }
9868 Py_INCREF(Py_None); resultobj = Py_None;
9869 return resultobj;
9870 fail:
9871 return NULL;
9872 }
9873
9874
9875 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9876 PyObject *resultobj;
9877 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9878 int arg2 ;
9879 int arg3 ;
9880 PyObject * obj0 = 0 ;
9881 PyObject * obj1 = 0 ;
9882 PyObject * obj2 = 0 ;
9883 char *kwnames[] = {
9884 (char *) "self",(char *) "x",(char *) "y", NULL
9885 };
9886
9887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9889 {
9890 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9891 if (PyErr_Occurred()) SWIG_fail;
9892 }
9893 {
9894 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 (arg1)->SetMargins(arg2,arg3);
9900
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 }
9904 Py_INCREF(Py_None); resultobj = Py_None;
9905 return resultobj;
9906 fail:
9907 return NULL;
9908 }
9909
9910
9911 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9912 PyObject *resultobj;
9913 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9914 wxColour *arg2 = 0 ;
9915 wxColour temp2 ;
9916 PyObject * obj0 = 0 ;
9917 PyObject * obj1 = 0 ;
9918 char *kwnames[] = {
9919 (char *) "self",(char *) "col", NULL
9920 };
9921
9922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9924 {
9925 arg2 = &temp2;
9926 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9927 }
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9931
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 Py_INCREF(Py_None); resultobj = Py_None;
9936 return resultobj;
9937 fail:
9938 return NULL;
9939 }
9940
9941
9942 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9943 PyObject *obj;
9944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9945 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9946 Py_INCREF(obj);
9947 return Py_BuildValue((char *)"");
9948 }
9949 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9950 PyObject *resultobj;
9951 wxWindow *arg1 = (wxWindow *) 0 ;
9952 int arg2 = (int) wxID_ANY ;
9953 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9954 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9955 wxSize const &arg4_defvalue = wxDefaultSize ;
9956 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9957 long arg5 = (long) 0 ;
9958 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9959 wxString *arg6 = (wxString *) &arg6_defvalue ;
9960 wxPyHtmlListBox *result;
9961 wxPoint temp3 ;
9962 wxSize temp4 ;
9963 bool temp6 = False ;
9964 PyObject * obj0 = 0 ;
9965 PyObject * obj1 = 0 ;
9966 PyObject * obj2 = 0 ;
9967 PyObject * obj3 = 0 ;
9968 PyObject * obj4 = 0 ;
9969 PyObject * obj5 = 0 ;
9970 char *kwnames[] = {
9971 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9972 };
9973
9974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9976 if (obj1) {
9977 {
9978 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 }
9982 if (obj2) {
9983 {
9984 arg3 = &temp3;
9985 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9986 }
9987 }
9988 if (obj3) {
9989 {
9990 arg4 = &temp4;
9991 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9992 }
9993 }
9994 if (obj4) {
9995 {
9996 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 }
10000 if (obj5) {
10001 {
10002 arg6 = wxString_in_helper(obj5);
10003 if (arg6 == NULL) SWIG_fail;
10004 temp6 = True;
10005 }
10006 }
10007 {
10008 PyThreadState* __tstate = wxPyBeginAllowThreads();
10009 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10010
10011 wxPyEndAllowThreads(__tstate);
10012 if (PyErr_Occurred()) SWIG_fail;
10013 }
10014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
10015 {
10016 if (temp6)
10017 delete arg6;
10018 }
10019 return resultobj;
10020 fail:
10021 {
10022 if (temp6)
10023 delete arg6;
10024 }
10025 return NULL;
10026 }
10027
10028
10029 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10030 PyObject *resultobj;
10031 wxPyHtmlListBox *result;
10032 char *kwnames[] = {
10033 NULL
10034 };
10035
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10040
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
10045 return resultobj;
10046 fail:
10047 return NULL;
10048 }
10049
10050
10051 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10052 PyObject *resultobj;
10053 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10054 PyObject *arg2 = (PyObject *) 0 ;
10055 PyObject *arg3 = (PyObject *) 0 ;
10056 PyObject * obj0 = 0 ;
10057 PyObject * obj1 = 0 ;
10058 PyObject * obj2 = 0 ;
10059 char *kwnames[] = {
10060 (char *) "self",(char *) "self",(char *) "_class", NULL
10061 };
10062
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10065 arg2 = obj1;
10066 arg3 = obj2;
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 (arg1)->_setCallbackInfo(arg2,arg3);
10070
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 Py_INCREF(Py_None); resultobj = Py_None;
10075 return resultobj;
10076 fail:
10077 return NULL;
10078 }
10079
10080
10081 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10082 PyObject *resultobj;
10083 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10084 wxWindow *arg2 = (wxWindow *) 0 ;
10085 int arg3 = (int) wxID_ANY ;
10086 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10087 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10088 wxSize const &arg5_defvalue = wxDefaultSize ;
10089 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10090 long arg6 = (long) 0 ;
10091 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10092 wxString *arg7 = (wxString *) &arg7_defvalue ;
10093 bool result;
10094 wxPoint temp4 ;
10095 wxSize temp5 ;
10096 bool temp7 = False ;
10097 PyObject * obj0 = 0 ;
10098 PyObject * obj1 = 0 ;
10099 PyObject * obj2 = 0 ;
10100 PyObject * obj3 = 0 ;
10101 PyObject * obj4 = 0 ;
10102 PyObject * obj5 = 0 ;
10103 PyObject * obj6 = 0 ;
10104 char *kwnames[] = {
10105 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10106 };
10107
10108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10111 if (obj2) {
10112 {
10113 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 }
10117 if (obj3) {
10118 {
10119 arg4 = &temp4;
10120 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10121 }
10122 }
10123 if (obj4) {
10124 {
10125 arg5 = &temp5;
10126 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10127 }
10128 }
10129 if (obj5) {
10130 {
10131 arg6 = (long) SWIG_PyObj_AsLong(obj5);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 }
10135 if (obj6) {
10136 {
10137 arg7 = wxString_in_helper(obj6);
10138 if (arg7 == NULL) SWIG_fail;
10139 temp7 = True;
10140 }
10141 }
10142 {
10143 PyThreadState* __tstate = wxPyBeginAllowThreads();
10144 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10145
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 resultobj = SWIG_PyObj_FromBool((bool)result);
10150 {
10151 if (temp7)
10152 delete arg7;
10153 }
10154 return resultobj;
10155 fail:
10156 {
10157 if (temp7)
10158 delete arg7;
10159 }
10160 return NULL;
10161 }
10162
10163
10164 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10165 PyObject *resultobj;
10166 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10167 PyObject * obj0 = 0 ;
10168 char *kwnames[] = {
10169 (char *) "self", NULL
10170 };
10171
10172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 (arg1)->RefreshAll();
10177
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 Py_INCREF(Py_None); resultobj = Py_None;
10182 return resultobj;
10183 fail:
10184 return NULL;
10185 }
10186
10187
10188 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj;
10190 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10191 size_t arg2 ;
10192 PyObject * obj0 = 0 ;
10193 PyObject * obj1 = 0 ;
10194 char *kwnames[] = {
10195 (char *) "self",(char *) "count", NULL
10196 };
10197
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10200 {
10201 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
10202 if (PyErr_Occurred()) SWIG_fail;
10203 }
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 (arg1)->SetItemCount(arg2);
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 Py_INCREF(Py_None); resultobj = Py_None;
10212 return resultobj;
10213 fail:
10214 return NULL;
10215 }
10216
10217
10218 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10219 PyObject *obj;
10220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10221 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10222 Py_INCREF(obj);
10223 return Py_BuildValue((char *)"");
10224 }
10225 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10226 PyObject *resultobj;
10227 wxTaskBarIcon *result;
10228 char *kwnames[] = {
10229 NULL
10230 };
10231
10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
10241 return resultobj;
10242 fail:
10243 return NULL;
10244 }
10245
10246
10247 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10248 PyObject *resultobj;
10249 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10250 PyObject * obj0 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10257 {
10258 PyThreadState* __tstate = wxPyBeginAllowThreads();
10259 delete arg1;
10260
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 Py_INCREF(Py_None); resultobj = Py_None;
10265 return resultobj;
10266 fail:
10267 return NULL;
10268 }
10269
10270
10271 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10272 PyObject *obj;
10273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10274 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10275 Py_INCREF(obj);
10276 return Py_BuildValue((char *)"");
10277 }
10278 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxEventType arg1 ;
10281 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10282 wxTaskBarIconEvent *result;
10283 PyObject * obj0 = 0 ;
10284 PyObject * obj1 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "evtType",(char *) "tbIcon", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10290 {
10291 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10292 if (PyErr_Occurred()) SWIG_fail;
10293 }
10294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10295 {
10296 PyThreadState* __tstate = wxPyBeginAllowThreads();
10297 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10298
10299 wxPyEndAllowThreads(__tstate);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 }
10302 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
10303 return resultobj;
10304 fail:
10305 return NULL;
10306 }
10307
10308
10309 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10310 PyObject *obj;
10311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10312 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10313 Py_INCREF(obj);
10314 return Py_BuildValue((char *)"");
10315 }
10316 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
10317 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10318 return 1;
10319 }
10320
10321
10322 static PyObject *_wrap_FileSelectorPromptStr_get() {
10323 PyObject *pyobj;
10324
10325 {
10326 #if wxUSE_UNICODE
10327 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10328 #else
10329 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10330 #endif
10331 }
10332 return pyobj;
10333 }
10334
10335
10336 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
10337 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10338 return 1;
10339 }
10340
10341
10342 static PyObject *_wrap_DirSelectorPromptStr_get() {
10343 PyObject *pyobj;
10344
10345 {
10346 #if wxUSE_UNICODE
10347 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10348 #else
10349 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10350 #endif
10351 }
10352 return pyobj;
10353 }
10354
10355
10356 static int _wrap_DirDialogNameStr_set(PyObject *) {
10357 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10358 return 1;
10359 }
10360
10361
10362 static PyObject *_wrap_DirDialogNameStr_get() {
10363 PyObject *pyobj;
10364
10365 {
10366 #if wxUSE_UNICODE
10367 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10368 #else
10369 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10370 #endif
10371 }
10372 return pyobj;
10373 }
10374
10375
10376 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
10377 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10378 return 1;
10379 }
10380
10381
10382 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10383 PyObject *pyobj;
10384
10385 {
10386 #if wxUSE_UNICODE
10387 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10388 #else
10389 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10390 #endif
10391 }
10392 return pyobj;
10393 }
10394
10395
10396 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
10397 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10398 return 1;
10399 }
10400
10401
10402 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10403 PyObject *pyobj;
10404
10405 {
10406 #if wxUSE_UNICODE
10407 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10408 #else
10409 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10410 #endif
10411 }
10412 return pyobj;
10413 }
10414
10415
10416 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
10417 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10418 return 1;
10419 }
10420
10421
10422 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10423 PyObject *pyobj;
10424
10425 {
10426 #if wxUSE_UNICODE
10427 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10428 #else
10429 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10430 #endif
10431 }
10432 return pyobj;
10433 }
10434
10435
10436 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj;
10438 wxColourData *result;
10439 char *kwnames[] = {
10440 NULL
10441 };
10442
10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 result = (wxColourData *)new wxColourData();
10447
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
10452 return resultobj;
10453 fail:
10454 return NULL;
10455 }
10456
10457
10458 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxColourData *arg1 = (wxColourData *) 0 ;
10461 PyObject * obj0 = 0 ;
10462 char *kwnames[] = {
10463 (char *) "self", NULL
10464 };
10465
10466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 delete arg1;
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 Py_INCREF(Py_None); resultobj = Py_None;
10476 return resultobj;
10477 fail:
10478 return NULL;
10479 }
10480
10481
10482 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10483 PyObject *resultobj;
10484 wxColourData *arg1 = (wxColourData *) 0 ;
10485 bool result;
10486 PyObject * obj0 = 0 ;
10487 char *kwnames[] = {
10488 (char *) "self", NULL
10489 };
10490
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 result = (bool)(arg1)->GetChooseFull();
10496
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) SWIG_fail;
10499 }
10500 resultobj = SWIG_PyObj_FromBool((bool)result);
10501 return resultobj;
10502 fail:
10503 return NULL;
10504 }
10505
10506
10507 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10508 PyObject *resultobj;
10509 wxColourData *arg1 = (wxColourData *) 0 ;
10510 wxColour result;
10511 PyObject * obj0 = 0 ;
10512 char *kwnames[] = {
10513 (char *) "self", NULL
10514 };
10515
10516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10518 {
10519 PyThreadState* __tstate = wxPyBeginAllowThreads();
10520 result = (arg1)->GetColour();
10521
10522 wxPyEndAllowThreads(__tstate);
10523 if (PyErr_Occurred()) SWIG_fail;
10524 }
10525 {
10526 wxColour * resultptr;
10527 resultptr = new wxColour((wxColour &) result);
10528 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10529 }
10530 return resultobj;
10531 fail:
10532 return NULL;
10533 }
10534
10535
10536 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10537 PyObject *resultobj;
10538 wxColourData *arg1 = (wxColourData *) 0 ;
10539 int arg2 ;
10540 wxColour result;
10541 PyObject * obj0 = 0 ;
10542 PyObject * obj1 = 0 ;
10543 char *kwnames[] = {
10544 (char *) "self",(char *) "i", NULL
10545 };
10546
10547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10549 {
10550 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 }
10553 {
10554 PyThreadState* __tstate = wxPyBeginAllowThreads();
10555 result = (arg1)->GetCustomColour(arg2);
10556
10557 wxPyEndAllowThreads(__tstate);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 }
10560 {
10561 wxColour * resultptr;
10562 resultptr = new wxColour((wxColour &) result);
10563 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10564 }
10565 return resultobj;
10566 fail:
10567 return NULL;
10568 }
10569
10570
10571 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj;
10573 wxColourData *arg1 = (wxColourData *) 0 ;
10574 int arg2 ;
10575 PyObject * obj0 = 0 ;
10576 PyObject * obj1 = 0 ;
10577 char *kwnames[] = {
10578 (char *) "self",(char *) "flag", NULL
10579 };
10580
10581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10583 {
10584 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10585 if (PyErr_Occurred()) SWIG_fail;
10586 }
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 (arg1)->SetChooseFull(arg2);
10590
10591 wxPyEndAllowThreads(__tstate);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 Py_INCREF(Py_None); resultobj = Py_None;
10595 return resultobj;
10596 fail:
10597 return NULL;
10598 }
10599
10600
10601 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10602 PyObject *resultobj;
10603 wxColourData *arg1 = (wxColourData *) 0 ;
10604 wxColour *arg2 = 0 ;
10605 wxColour temp2 ;
10606 PyObject * obj0 = 0 ;
10607 PyObject * obj1 = 0 ;
10608 char *kwnames[] = {
10609 (char *) "self",(char *) "colour", NULL
10610 };
10611
10612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10614 {
10615 arg2 = &temp2;
10616 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10617 }
10618 {
10619 PyThreadState* __tstate = wxPyBeginAllowThreads();
10620 (arg1)->SetColour((wxColour const &)*arg2);
10621
10622 wxPyEndAllowThreads(__tstate);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 Py_INCREF(Py_None); resultobj = Py_None;
10626 return resultobj;
10627 fail:
10628 return NULL;
10629 }
10630
10631
10632 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10633 PyObject *resultobj;
10634 wxColourData *arg1 = (wxColourData *) 0 ;
10635 int arg2 ;
10636 wxColour *arg3 = 0 ;
10637 wxColour temp3 ;
10638 PyObject * obj0 = 0 ;
10639 PyObject * obj1 = 0 ;
10640 PyObject * obj2 = 0 ;
10641 char *kwnames[] = {
10642 (char *) "self",(char *) "i",(char *) "colour", NULL
10643 };
10644
10645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10647 {
10648 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 {
10652 arg3 = &temp3;
10653 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10654 }
10655 {
10656 PyThreadState* __tstate = wxPyBeginAllowThreads();
10657 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10658
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 }
10662 Py_INCREF(Py_None); resultobj = Py_None;
10663 return resultobj;
10664 fail:
10665 return NULL;
10666 }
10667
10668
10669 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10670 PyObject *obj;
10671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10672 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10673 Py_INCREF(obj);
10674 return Py_BuildValue((char *)"");
10675 }
10676 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10677 PyObject *resultobj;
10678 wxWindow *arg1 = (wxWindow *) 0 ;
10679 wxColourData *arg2 = (wxColourData *) NULL ;
10680 wxColourDialog *result;
10681 PyObject * obj0 = 0 ;
10682 PyObject * obj1 = 0 ;
10683 char *kwnames[] = {
10684 (char *) "parent",(char *) "data", NULL
10685 };
10686
10687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10689 if (obj1) {
10690 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10691 }
10692 {
10693 PyThreadState* __tstate = wxPyBeginAllowThreads();
10694 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10695
10696 wxPyEndAllowThreads(__tstate);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 }
10699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
10700 return resultobj;
10701 fail:
10702 return NULL;
10703 }
10704
10705
10706 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10707 PyObject *resultobj;
10708 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10709 wxColourData *result;
10710 PyObject * obj0 = 0 ;
10711 char *kwnames[] = {
10712 (char *) "self", NULL
10713 };
10714
10715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 {
10720 wxColourData &_result_ref = (arg1)->GetColourData();
10721 result = (wxColourData *) &_result_ref;
10722 }
10723
10724 wxPyEndAllowThreads(__tstate);
10725 if (PyErr_Occurred()) SWIG_fail;
10726 }
10727 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
10728 return resultobj;
10729 fail:
10730 return NULL;
10731 }
10732
10733
10734 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10735 PyObject *resultobj;
10736 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10737 int result;
10738 PyObject * obj0 = 0 ;
10739 char *kwnames[] = {
10740 (char *) "self", NULL
10741 };
10742
10743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
10744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10745 {
10746 PyThreadState* __tstate = wxPyBeginAllowThreads();
10747 result = (int)(arg1)->ShowModal();
10748
10749 wxPyEndAllowThreads(__tstate);
10750 if (PyErr_Occurred()) SWIG_fail;
10751 }
10752 resultobj = SWIG_PyObj_FromInt((int)result);
10753 return resultobj;
10754 fail:
10755 return NULL;
10756 }
10757
10758
10759 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
10760 PyObject *obj;
10761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10762 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10763 Py_INCREF(obj);
10764 return Py_BuildValue((char *)"");
10765 }
10766 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10767 PyObject *resultobj;
10768 wxWindow *arg1 = (wxWindow *) 0 ;
10769 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10770 wxString *arg2 = (wxString *) &arg2_defvalue ;
10771 wxString const &arg3_defvalue = wxPyEmptyString ;
10772 wxString *arg3 = (wxString *) &arg3_defvalue ;
10773 long arg4 = (long) 0 ;
10774 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10775 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10776 wxSize const &arg6_defvalue = wxDefaultSize ;
10777 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10778 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10779 wxString *arg7 = (wxString *) &arg7_defvalue ;
10780 wxDirDialog *result;
10781 bool temp2 = False ;
10782 bool temp3 = False ;
10783 wxPoint temp5 ;
10784 wxSize temp6 ;
10785 bool temp7 = False ;
10786 PyObject * obj0 = 0 ;
10787 PyObject * obj1 = 0 ;
10788 PyObject * obj2 = 0 ;
10789 PyObject * obj3 = 0 ;
10790 PyObject * obj4 = 0 ;
10791 PyObject * obj5 = 0 ;
10792 PyObject * obj6 = 0 ;
10793 char *kwnames[] = {
10794 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10795 };
10796
10797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10799 if (obj1) {
10800 {
10801 arg2 = wxString_in_helper(obj1);
10802 if (arg2 == NULL) SWIG_fail;
10803 temp2 = True;
10804 }
10805 }
10806 if (obj2) {
10807 {
10808 arg3 = wxString_in_helper(obj2);
10809 if (arg3 == NULL) SWIG_fail;
10810 temp3 = True;
10811 }
10812 }
10813 if (obj3) {
10814 {
10815 arg4 = (long) SWIG_PyObj_AsLong(obj3);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 }
10818 }
10819 if (obj4) {
10820 {
10821 arg5 = &temp5;
10822 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10823 }
10824 }
10825 if (obj5) {
10826 {
10827 arg6 = &temp6;
10828 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10829 }
10830 }
10831 if (obj6) {
10832 {
10833 arg7 = wxString_in_helper(obj6);
10834 if (arg7 == NULL) SWIG_fail;
10835 temp7 = True;
10836 }
10837 }
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10846 {
10847 if (temp2)
10848 delete arg2;
10849 }
10850 {
10851 if (temp3)
10852 delete arg3;
10853 }
10854 {
10855 if (temp7)
10856 delete arg7;
10857 }
10858 return resultobj;
10859 fail:
10860 {
10861 if (temp2)
10862 delete arg2;
10863 }
10864 {
10865 if (temp3)
10866 delete arg3;
10867 }
10868 {
10869 if (temp7)
10870 delete arg7;
10871 }
10872 return NULL;
10873 }
10874
10875
10876 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10877 PyObject *resultobj;
10878 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10879 wxString result;
10880 PyObject * obj0 = 0 ;
10881 char *kwnames[] = {
10882 (char *) "self", NULL
10883 };
10884
10885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10887 {
10888 PyThreadState* __tstate = wxPyBeginAllowThreads();
10889 result = (arg1)->GetPath();
10890
10891 wxPyEndAllowThreads(__tstate);
10892 if (PyErr_Occurred()) SWIG_fail;
10893 }
10894 {
10895 #if wxUSE_UNICODE
10896 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10897 #else
10898 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10899 #endif
10900 }
10901 return resultobj;
10902 fail:
10903 return NULL;
10904 }
10905
10906
10907 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10908 PyObject *resultobj;
10909 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10910 wxString result;
10911 PyObject * obj0 = 0 ;
10912 char *kwnames[] = {
10913 (char *) "self", NULL
10914 };
10915
10916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10918 {
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
10920 result = (arg1)->GetMessage();
10921
10922 wxPyEndAllowThreads(__tstate);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 }
10925 {
10926 #if wxUSE_UNICODE
10927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10928 #else
10929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10930 #endif
10931 }
10932 return resultobj;
10933 fail:
10934 return NULL;
10935 }
10936
10937
10938 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10939 PyObject *resultobj;
10940 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10941 long result;
10942 PyObject * obj0 = 0 ;
10943 char *kwnames[] = {
10944 (char *) "self", NULL
10945 };
10946
10947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10949 {
10950 PyThreadState* __tstate = wxPyBeginAllowThreads();
10951 result = (long)(arg1)->GetStyle();
10952
10953 wxPyEndAllowThreads(__tstate);
10954 if (PyErr_Occurred()) SWIG_fail;
10955 }
10956 resultobj = SWIG_PyObj_FromLong((long)result);
10957 return resultobj;
10958 fail:
10959 return NULL;
10960 }
10961
10962
10963 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10964 PyObject *resultobj;
10965 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10966 wxString *arg2 = 0 ;
10967 bool temp2 = False ;
10968 PyObject * obj0 = 0 ;
10969 PyObject * obj1 = 0 ;
10970 char *kwnames[] = {
10971 (char *) "self",(char *) "message", NULL
10972 };
10973
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10976 {
10977 arg2 = wxString_in_helper(obj1);
10978 if (arg2 == NULL) SWIG_fail;
10979 temp2 = True;
10980 }
10981 {
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 (arg1)->SetMessage((wxString const &)*arg2);
10984
10985 wxPyEndAllowThreads(__tstate);
10986 if (PyErr_Occurred()) SWIG_fail;
10987 }
10988 Py_INCREF(Py_None); resultobj = Py_None;
10989 {
10990 if (temp2)
10991 delete arg2;
10992 }
10993 return resultobj;
10994 fail:
10995 {
10996 if (temp2)
10997 delete arg2;
10998 }
10999 return NULL;
11000 }
11001
11002
11003 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11004 PyObject *resultobj;
11005 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11006 wxString *arg2 = 0 ;
11007 bool temp2 = False ;
11008 PyObject * obj0 = 0 ;
11009 PyObject * obj1 = 0 ;
11010 char *kwnames[] = {
11011 (char *) "self",(char *) "path", NULL
11012 };
11013
11014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11016 {
11017 arg2 = wxString_in_helper(obj1);
11018 if (arg2 == NULL) SWIG_fail;
11019 temp2 = True;
11020 }
11021 {
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 (arg1)->SetPath((wxString const &)*arg2);
11024
11025 wxPyEndAllowThreads(__tstate);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 }
11028 Py_INCREF(Py_None); resultobj = Py_None;
11029 {
11030 if (temp2)
11031 delete arg2;
11032 }
11033 return resultobj;
11034 fail:
11035 {
11036 if (temp2)
11037 delete arg2;
11038 }
11039 return NULL;
11040 }
11041
11042
11043 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj;
11045 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11046 int result;
11047 PyObject * obj0 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
11053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 result = (int)(arg1)->ShowModal();
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 resultobj = SWIG_PyObj_FromInt((int)result);
11062 return resultobj;
11063 fail:
11064 return NULL;
11065 }
11066
11067
11068 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11069 PyObject *obj;
11070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11071 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11072 Py_INCREF(obj);
11073 return Py_BuildValue((char *)"");
11074 }
11075 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11076 PyObject *resultobj;
11077 wxWindow *arg1 = (wxWindow *) 0 ;
11078 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11079 wxString *arg2 = (wxString *) &arg2_defvalue ;
11080 wxString const &arg3_defvalue = wxPyEmptyString ;
11081 wxString *arg3 = (wxString *) &arg3_defvalue ;
11082 wxString const &arg4_defvalue = wxPyEmptyString ;
11083 wxString *arg4 = (wxString *) &arg4_defvalue ;
11084 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11085 wxString *arg5 = (wxString *) &arg5_defvalue ;
11086 long arg6 = (long) 0 ;
11087 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11088 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11089 wxFileDialog *result;
11090 bool temp2 = False ;
11091 bool temp3 = False ;
11092 bool temp4 = False ;
11093 bool temp5 = False ;
11094 wxPoint temp7 ;
11095 PyObject * obj0 = 0 ;
11096 PyObject * obj1 = 0 ;
11097 PyObject * obj2 = 0 ;
11098 PyObject * obj3 = 0 ;
11099 PyObject * obj4 = 0 ;
11100 PyObject * obj5 = 0 ;
11101 PyObject * obj6 = 0 ;
11102 char *kwnames[] = {
11103 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11104 };
11105
11106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11108 if (obj1) {
11109 {
11110 arg2 = wxString_in_helper(obj1);
11111 if (arg2 == NULL) SWIG_fail;
11112 temp2 = True;
11113 }
11114 }
11115 if (obj2) {
11116 {
11117 arg3 = wxString_in_helper(obj2);
11118 if (arg3 == NULL) SWIG_fail;
11119 temp3 = True;
11120 }
11121 }
11122 if (obj3) {
11123 {
11124 arg4 = wxString_in_helper(obj3);
11125 if (arg4 == NULL) SWIG_fail;
11126 temp4 = True;
11127 }
11128 }
11129 if (obj4) {
11130 {
11131 arg5 = wxString_in_helper(obj4);
11132 if (arg5 == NULL) SWIG_fail;
11133 temp5 = True;
11134 }
11135 }
11136 if (obj5) {
11137 {
11138 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
11141 }
11142 if (obj6) {
11143 {
11144 arg7 = &temp7;
11145 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11146 }
11147 }
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11151
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
11156 {
11157 if (temp2)
11158 delete arg2;
11159 }
11160 {
11161 if (temp3)
11162 delete arg3;
11163 }
11164 {
11165 if (temp4)
11166 delete arg4;
11167 }
11168 {
11169 if (temp5)
11170 delete arg5;
11171 }
11172 return resultobj;
11173 fail:
11174 {
11175 if (temp2)
11176 delete arg2;
11177 }
11178 {
11179 if (temp3)
11180 delete arg3;
11181 }
11182 {
11183 if (temp4)
11184 delete arg4;
11185 }
11186 {
11187 if (temp5)
11188 delete arg5;
11189 }
11190 return NULL;
11191 }
11192
11193
11194 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj;
11196 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11197 wxString *arg2 = 0 ;
11198 bool temp2 = False ;
11199 PyObject * obj0 = 0 ;
11200 PyObject * obj1 = 0 ;
11201 char *kwnames[] = {
11202 (char *) "self",(char *) "message", NULL
11203 };
11204
11205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11207 {
11208 arg2 = wxString_in_helper(obj1);
11209 if (arg2 == NULL) SWIG_fail;
11210 temp2 = True;
11211 }
11212 {
11213 PyThreadState* __tstate = wxPyBeginAllowThreads();
11214 (arg1)->SetMessage((wxString const &)*arg2);
11215
11216 wxPyEndAllowThreads(__tstate);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 Py_INCREF(Py_None); resultobj = Py_None;
11220 {
11221 if (temp2)
11222 delete arg2;
11223 }
11224 return resultobj;
11225 fail:
11226 {
11227 if (temp2)
11228 delete arg2;
11229 }
11230 return NULL;
11231 }
11232
11233
11234 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11235 PyObject *resultobj;
11236 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11237 wxString *arg2 = 0 ;
11238 bool temp2 = False ;
11239 PyObject * obj0 = 0 ;
11240 PyObject * obj1 = 0 ;
11241 char *kwnames[] = {
11242 (char *) "self",(char *) "path", NULL
11243 };
11244
11245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11247 {
11248 arg2 = wxString_in_helper(obj1);
11249 if (arg2 == NULL) SWIG_fail;
11250 temp2 = True;
11251 }
11252 {
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 (arg1)->SetPath((wxString const &)*arg2);
11255
11256 wxPyEndAllowThreads(__tstate);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 }
11259 Py_INCREF(Py_None); resultobj = Py_None;
11260 {
11261 if (temp2)
11262 delete arg2;
11263 }
11264 return resultobj;
11265 fail:
11266 {
11267 if (temp2)
11268 delete arg2;
11269 }
11270 return NULL;
11271 }
11272
11273
11274 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11277 wxString *arg2 = 0 ;
11278 bool temp2 = False ;
11279 PyObject * obj0 = 0 ;
11280 PyObject * obj1 = 0 ;
11281 char *kwnames[] = {
11282 (char *) "self",(char *) "dir", NULL
11283 };
11284
11285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11287 {
11288 arg2 = wxString_in_helper(obj1);
11289 if (arg2 == NULL) SWIG_fail;
11290 temp2 = True;
11291 }
11292 {
11293 PyThreadState* __tstate = wxPyBeginAllowThreads();
11294 (arg1)->SetDirectory((wxString const &)*arg2);
11295
11296 wxPyEndAllowThreads(__tstate);
11297 if (PyErr_Occurred()) SWIG_fail;
11298 }
11299 Py_INCREF(Py_None); resultobj = Py_None;
11300 {
11301 if (temp2)
11302 delete arg2;
11303 }
11304 return resultobj;
11305 fail:
11306 {
11307 if (temp2)
11308 delete arg2;
11309 }
11310 return NULL;
11311 }
11312
11313
11314 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11315 PyObject *resultobj;
11316 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11317 wxString *arg2 = 0 ;
11318 bool temp2 = False ;
11319 PyObject * obj0 = 0 ;
11320 PyObject * obj1 = 0 ;
11321 char *kwnames[] = {
11322 (char *) "self",(char *) "name", NULL
11323 };
11324
11325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11327 {
11328 arg2 = wxString_in_helper(obj1);
11329 if (arg2 == NULL) SWIG_fail;
11330 temp2 = True;
11331 }
11332 {
11333 PyThreadState* __tstate = wxPyBeginAllowThreads();
11334 (arg1)->SetFilename((wxString const &)*arg2);
11335
11336 wxPyEndAllowThreads(__tstate);
11337 if (PyErr_Occurred()) SWIG_fail;
11338 }
11339 Py_INCREF(Py_None); resultobj = Py_None;
11340 {
11341 if (temp2)
11342 delete arg2;
11343 }
11344 return resultobj;
11345 fail:
11346 {
11347 if (temp2)
11348 delete arg2;
11349 }
11350 return NULL;
11351 }
11352
11353
11354 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11355 PyObject *resultobj;
11356 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11357 wxString *arg2 = 0 ;
11358 bool temp2 = False ;
11359 PyObject * obj0 = 0 ;
11360 PyObject * obj1 = 0 ;
11361 char *kwnames[] = {
11362 (char *) "self",(char *) "wildCard", NULL
11363 };
11364
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11367 {
11368 arg2 = wxString_in_helper(obj1);
11369 if (arg2 == NULL) SWIG_fail;
11370 temp2 = True;
11371 }
11372 {
11373 PyThreadState* __tstate = wxPyBeginAllowThreads();
11374 (arg1)->SetWildcard((wxString const &)*arg2);
11375
11376 wxPyEndAllowThreads(__tstate);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 }
11379 Py_INCREF(Py_None); resultobj = Py_None;
11380 {
11381 if (temp2)
11382 delete arg2;
11383 }
11384 return resultobj;
11385 fail:
11386 {
11387 if (temp2)
11388 delete arg2;
11389 }
11390 return NULL;
11391 }
11392
11393
11394 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11395 PyObject *resultobj;
11396 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11397 long arg2 ;
11398 PyObject * obj0 = 0 ;
11399 PyObject * obj1 = 0 ;
11400 char *kwnames[] = {
11401 (char *) "self",(char *) "style", NULL
11402 };
11403
11404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11406 {
11407 arg2 = (long) SWIG_PyObj_AsLong(obj1);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 (arg1)->SetStyle(arg2);
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 Py_INCREF(Py_None); resultobj = Py_None;
11418 return resultobj;
11419 fail:
11420 return NULL;
11421 }
11422
11423
11424 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11425 PyObject *resultobj;
11426 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11427 int arg2 ;
11428 PyObject * obj0 = 0 ;
11429 PyObject * obj1 = 0 ;
11430 char *kwnames[] = {
11431 (char *) "self",(char *) "filterIndex", NULL
11432 };
11433
11434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11436 {
11437 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 }
11440 {
11441 PyThreadState* __tstate = wxPyBeginAllowThreads();
11442 (arg1)->SetFilterIndex(arg2);
11443
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 Py_INCREF(Py_None); resultobj = Py_None;
11448 return resultobj;
11449 fail:
11450 return NULL;
11451 }
11452
11453
11454 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11455 PyObject *resultobj;
11456 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11457 wxString result;
11458 PyObject * obj0 = 0 ;
11459 char *kwnames[] = {
11460 (char *) "self", NULL
11461 };
11462
11463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11465 {
11466 PyThreadState* __tstate = wxPyBeginAllowThreads();
11467 result = ((wxFileDialog const *)arg1)->GetMessage();
11468
11469 wxPyEndAllowThreads(__tstate);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 }
11472 {
11473 #if wxUSE_UNICODE
11474 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11475 #else
11476 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11477 #endif
11478 }
11479 return resultobj;
11480 fail:
11481 return NULL;
11482 }
11483
11484
11485 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11488 wxString result;
11489 PyObject * obj0 = 0 ;
11490 char *kwnames[] = {
11491 (char *) "self", NULL
11492 };
11493
11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11496 {
11497 PyThreadState* __tstate = wxPyBeginAllowThreads();
11498 result = ((wxFileDialog const *)arg1)->GetPath();
11499
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 {
11504 #if wxUSE_UNICODE
11505 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11506 #else
11507 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11508 #endif
11509 }
11510 return resultobj;
11511 fail:
11512 return NULL;
11513 }
11514
11515
11516 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, 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_GetDirectory",kwnames,&obj0)) goto fail;
11526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11527 {
11528 PyThreadState* __tstate = wxPyBeginAllowThreads();
11529 result = ((wxFileDialog const *)arg1)->GetDirectory();
11530
11531 wxPyEndAllowThreads(__tstate);
11532 if (PyErr_Occurred()) SWIG_fail;
11533 }
11534 {
11535 #if wxUSE_UNICODE
11536 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11537 #else
11538 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11539 #endif
11540 }
11541 return resultobj;
11542 fail:
11543 return NULL;
11544 }
11545
11546
11547 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj;
11549 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11550 wxString result;
11551 PyObject * obj0 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 result = ((wxFileDialog const *)arg1)->GetFilename();
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 {
11566 #if wxUSE_UNICODE
11567 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11568 #else
11569 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11570 #endif
11571 }
11572 return resultobj;
11573 fail:
11574 return NULL;
11575 }
11576
11577
11578 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11579 PyObject *resultobj;
11580 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11581 wxString result;
11582 PyObject * obj0 = 0 ;
11583 char *kwnames[] = {
11584 (char *) "self", NULL
11585 };
11586
11587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11589 {
11590 PyThreadState* __tstate = wxPyBeginAllowThreads();
11591 result = ((wxFileDialog const *)arg1)->GetWildcard();
11592
11593 wxPyEndAllowThreads(__tstate);
11594 if (PyErr_Occurred()) SWIG_fail;
11595 }
11596 {
11597 #if wxUSE_UNICODE
11598 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11599 #else
11600 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11601 #endif
11602 }
11603 return resultobj;
11604 fail:
11605 return NULL;
11606 }
11607
11608
11609 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11610 PyObject *resultobj;
11611 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11612 long result;
11613 PyObject * obj0 = 0 ;
11614 char *kwnames[] = {
11615 (char *) "self", NULL
11616 };
11617
11618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11620 {
11621 PyThreadState* __tstate = wxPyBeginAllowThreads();
11622 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11623
11624 wxPyEndAllowThreads(__tstate);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 resultobj = SWIG_PyObj_FromLong((long)result);
11628 return resultobj;
11629 fail:
11630 return NULL;
11631 }
11632
11633
11634 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11635 PyObject *resultobj;
11636 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11637 int result;
11638 PyObject * obj0 = 0 ;
11639 char *kwnames[] = {
11640 (char *) "self", NULL
11641 };
11642
11643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11645 {
11646 PyThreadState* __tstate = wxPyBeginAllowThreads();
11647 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11648
11649 wxPyEndAllowThreads(__tstate);
11650 if (PyErr_Occurred()) SWIG_fail;
11651 }
11652 resultobj = SWIG_PyObj_FromInt((int)result);
11653 return resultobj;
11654 fail:
11655 return NULL;
11656 }
11657
11658
11659 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11660 PyObject *resultobj;
11661 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11662 PyObject *result;
11663 PyObject * obj0 = 0 ;
11664 char *kwnames[] = {
11665 (char *) "self", NULL
11666 };
11667
11668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11670 {
11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
11672 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11673
11674 wxPyEndAllowThreads(__tstate);
11675 if (PyErr_Occurred()) SWIG_fail;
11676 }
11677 resultobj = result;
11678 return resultobj;
11679 fail:
11680 return NULL;
11681 }
11682
11683
11684 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11685 PyObject *resultobj;
11686 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11687 PyObject *result;
11688 PyObject * obj0 = 0 ;
11689 char *kwnames[] = {
11690 (char *) "self", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11695 {
11696 PyThreadState* __tstate = wxPyBeginAllowThreads();
11697 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11698
11699 wxPyEndAllowThreads(__tstate);
11700 if (PyErr_Occurred()) SWIG_fail;
11701 }
11702 resultobj = result;
11703 return resultobj;
11704 fail:
11705 return NULL;
11706 }
11707
11708
11709 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11710 PyObject *obj;
11711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11712 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11713 Py_INCREF(obj);
11714 return Py_BuildValue((char *)"");
11715 }
11716 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11717 PyObject *resultobj;
11718 wxWindow *arg1 = (wxWindow *) 0 ;
11719 wxString *arg2 = 0 ;
11720 wxString *arg3 = 0 ;
11721 int arg4 ;
11722 wxString *arg5 = (wxString *) 0 ;
11723 long arg6 = (long) wxCHOICEDLG_STYLE ;
11724 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11725 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11726 wxMultiChoiceDialog *result;
11727 bool temp2 = False ;
11728 bool temp3 = False ;
11729 bool temp5 = False ;
11730 wxPoint temp7 ;
11731 PyObject * obj0 = 0 ;
11732 PyObject * obj1 = 0 ;
11733 PyObject * obj2 = 0 ;
11734 PyObject * obj3 = 0 ;
11735 PyObject * obj4 = 0 ;
11736 PyObject * obj5 = 0 ;
11737 PyObject * obj6 = 0 ;
11738 char *kwnames[] = {
11739 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
11740 };
11741
11742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11744 {
11745 arg2 = wxString_in_helper(obj1);
11746 if (arg2 == NULL) SWIG_fail;
11747 temp2 = True;
11748 }
11749 {
11750 arg3 = wxString_in_helper(obj2);
11751 if (arg3 == NULL) SWIG_fail;
11752 temp3 = True;
11753 }
11754 {
11755 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11756 if (PyErr_Occurred()) SWIG_fail;
11757 }
11758 {
11759 arg5 = wxString_in_helper(obj4);
11760 if (arg5 == NULL) SWIG_fail;
11761 temp5 = True;
11762 }
11763 if (obj5) {
11764 {
11765 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 }
11768 }
11769 if (obj6) {
11770 {
11771 arg7 = &temp7;
11772 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11773 }
11774 }
11775 {
11776 PyThreadState* __tstate = wxPyBeginAllowThreads();
11777 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11778
11779 wxPyEndAllowThreads(__tstate);
11780 if (PyErr_Occurred()) SWIG_fail;
11781 }
11782 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
11783 {
11784 if (temp2)
11785 delete arg2;
11786 }
11787 {
11788 if (temp3)
11789 delete arg3;
11790 }
11791 {
11792 if (temp5)
11793 delete arg5;
11794 }
11795 return resultobj;
11796 fail:
11797 {
11798 if (temp2)
11799 delete arg2;
11800 }
11801 {
11802 if (temp3)
11803 delete arg3;
11804 }
11805 {
11806 if (temp5)
11807 delete arg5;
11808 }
11809 return NULL;
11810 }
11811
11812
11813 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11814 PyObject *resultobj;
11815 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11816 wxArrayInt *arg2 = 0 ;
11817 PyObject * obj0 = 0 ;
11818 PyObject * obj1 = 0 ;
11819 char *kwnames[] = {
11820 (char *) "self",(char *) "selections", NULL
11821 };
11822
11823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11825 {
11826 if (! PySequence_Check(obj1)) {
11827 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11828 SWIG_fail;
11829 }
11830 arg2 = new wxArrayInt;
11831 int i, len=PySequence_Length(obj1);
11832 for (i=0; i<len; i++) {
11833 PyObject* item = PySequence_GetItem(obj1, i);
11834 PyObject* number = PyNumber_Int(item);
11835 arg2->Add(PyInt_AS_LONG(number));
11836 Py_DECREF(item);
11837 Py_DECREF(number);
11838 }
11839 }
11840 {
11841 PyThreadState* __tstate = wxPyBeginAllowThreads();
11842 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11843
11844 wxPyEndAllowThreads(__tstate);
11845 if (PyErr_Occurred()) SWIG_fail;
11846 }
11847 Py_INCREF(Py_None); resultobj = Py_None;
11848 {
11849 if (arg2) delete arg2;
11850 }
11851 return resultobj;
11852 fail:
11853 {
11854 if (arg2) delete arg2;
11855 }
11856 return NULL;
11857 }
11858
11859
11860 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11861 PyObject *resultobj;
11862 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11863 PyObject *result;
11864 PyObject * obj0 = 0 ;
11865 char *kwnames[] = {
11866 (char *) "self", NULL
11867 };
11868
11869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11871 {
11872 PyThreadState* __tstate = wxPyBeginAllowThreads();
11873 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11874
11875 wxPyEndAllowThreads(__tstate);
11876 if (PyErr_Occurred()) SWIG_fail;
11877 }
11878 resultobj = result;
11879 return resultobj;
11880 fail:
11881 return NULL;
11882 }
11883
11884
11885 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11886 PyObject *obj;
11887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11888 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11889 Py_INCREF(obj);
11890 return Py_BuildValue((char *)"");
11891 }
11892 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11893 PyObject *resultobj;
11894 wxWindow *arg1 = (wxWindow *) 0 ;
11895 wxString *arg2 = 0 ;
11896 wxString *arg3 = 0 ;
11897 int arg4 ;
11898 wxString *arg5 = (wxString *) 0 ;
11899 long arg6 = (long) wxCHOICEDLG_STYLE ;
11900 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11901 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11902 wxSingleChoiceDialog *result;
11903 bool temp2 = False ;
11904 bool temp3 = False ;
11905 wxPoint temp6 ;
11906 PyObject * obj0 = 0 ;
11907 PyObject * obj1 = 0 ;
11908 PyObject * obj2 = 0 ;
11909 PyObject * obj3 = 0 ;
11910 PyObject * obj4 = 0 ;
11911 PyObject * obj5 = 0 ;
11912 char *kwnames[] = {
11913 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11914 };
11915
11916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11918 {
11919 arg2 = wxString_in_helper(obj1);
11920 if (arg2 == NULL) SWIG_fail;
11921 temp2 = True;
11922 }
11923 {
11924 arg3 = wxString_in_helper(obj2);
11925 if (arg3 == NULL) SWIG_fail;
11926 temp3 = True;
11927 }
11928 {
11929 arg4 = PyList_Size(obj3);
11930 arg5 = wxString_LIST_helper(obj3);
11931 if (arg5 == NULL) SWIG_fail;
11932 }
11933 if (obj4) {
11934 {
11935 arg6 = (long) SWIG_PyObj_AsLong(obj4);
11936 if (PyErr_Occurred()) SWIG_fail;
11937 }
11938 }
11939 if (obj5) {
11940 {
11941 arg7 = &temp6;
11942 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11943 }
11944 }
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11948
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11953 {
11954 if (temp2)
11955 delete arg2;
11956 }
11957 {
11958 if (temp3)
11959 delete arg3;
11960 }
11961 {
11962 if (arg5) delete [] arg5;
11963 }
11964 return resultobj;
11965 fail:
11966 {
11967 if (temp2)
11968 delete arg2;
11969 }
11970 {
11971 if (temp3)
11972 delete arg3;
11973 }
11974 {
11975 if (arg5) delete [] arg5;
11976 }
11977 return NULL;
11978 }
11979
11980
11981 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11982 PyObject *resultobj;
11983 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11984 int result;
11985 PyObject * obj0 = 0 ;
11986 char *kwnames[] = {
11987 (char *) "self", NULL
11988 };
11989
11990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 result = (int)(arg1)->GetSelection();
11995
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 resultobj = SWIG_PyObj_FromInt((int)result);
12000 return resultobj;
12001 fail:
12002 return NULL;
12003 }
12004
12005
12006 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12007 PyObject *resultobj;
12008 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12009 wxString result;
12010 PyObject * obj0 = 0 ;
12011 char *kwnames[] = {
12012 (char *) "self", NULL
12013 };
12014
12015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (arg1)->GetStringSelection();
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 {
12025 #if wxUSE_UNICODE
12026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12027 #else
12028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12029 #endif
12030 }
12031 return resultobj;
12032 fail:
12033 return NULL;
12034 }
12035
12036
12037 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12038 PyObject *resultobj;
12039 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12040 int arg2 ;
12041 PyObject * obj0 = 0 ;
12042 PyObject * obj1 = 0 ;
12043 char *kwnames[] = {
12044 (char *) "self",(char *) "sel", NULL
12045 };
12046
12047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12049 {
12050 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 (arg1)->SetSelection(arg2);
12056
12057 wxPyEndAllowThreads(__tstate);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 Py_INCREF(Py_None); resultobj = Py_None;
12061 return resultobj;
12062 fail:
12063 return NULL;
12064 }
12065
12066
12067 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12068 PyObject *resultobj;
12069 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12070 int result;
12071 PyObject * obj0 = 0 ;
12072 char *kwnames[] = {
12073 (char *) "self", NULL
12074 };
12075
12076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
12077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (int)(arg1)->ShowModal();
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 resultobj = SWIG_PyObj_FromInt((int)result);
12086 return resultobj;
12087 fail:
12088 return NULL;
12089 }
12090
12091
12092 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12093 PyObject *obj;
12094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12095 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12096 Py_INCREF(obj);
12097 return Py_BuildValue((char *)"");
12098 }
12099 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12100 PyObject *resultobj;
12101 wxWindow *arg1 = (wxWindow *) 0 ;
12102 wxString *arg2 = 0 ;
12103 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12104 wxString *arg3 = (wxString *) &arg3_defvalue ;
12105 wxString const &arg4_defvalue = wxPyEmptyString ;
12106 wxString *arg4 = (wxString *) &arg4_defvalue ;
12107 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12108 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12109 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12110 wxTextEntryDialog *result;
12111 bool temp2 = False ;
12112 bool temp3 = False ;
12113 bool temp4 = False ;
12114 wxPoint temp6 ;
12115 PyObject * obj0 = 0 ;
12116 PyObject * obj1 = 0 ;
12117 PyObject * obj2 = 0 ;
12118 PyObject * obj3 = 0 ;
12119 PyObject * obj4 = 0 ;
12120 PyObject * obj5 = 0 ;
12121 char *kwnames[] = {
12122 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12123 };
12124
12125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12127 {
12128 arg2 = wxString_in_helper(obj1);
12129 if (arg2 == NULL) SWIG_fail;
12130 temp2 = True;
12131 }
12132 if (obj2) {
12133 {
12134 arg3 = wxString_in_helper(obj2);
12135 if (arg3 == NULL) SWIG_fail;
12136 temp3 = True;
12137 }
12138 }
12139 if (obj3) {
12140 {
12141 arg4 = wxString_in_helper(obj3);
12142 if (arg4 == NULL) SWIG_fail;
12143 temp4 = True;
12144 }
12145 }
12146 if (obj4) {
12147 {
12148 arg5 = (long) SWIG_PyObj_AsLong(obj4);
12149 if (PyErr_Occurred()) SWIG_fail;
12150 }
12151 }
12152 if (obj5) {
12153 {
12154 arg6 = &temp6;
12155 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12156 }
12157 }
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
12166 {
12167 if (temp2)
12168 delete arg2;
12169 }
12170 {
12171 if (temp3)
12172 delete arg3;
12173 }
12174 {
12175 if (temp4)
12176 delete arg4;
12177 }
12178 return resultobj;
12179 fail:
12180 {
12181 if (temp2)
12182 delete arg2;
12183 }
12184 {
12185 if (temp3)
12186 delete arg3;
12187 }
12188 {
12189 if (temp4)
12190 delete arg4;
12191 }
12192 return NULL;
12193 }
12194
12195
12196 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj;
12198 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12199 wxString result;
12200 PyObject * obj0 = 0 ;
12201 char *kwnames[] = {
12202 (char *) "self", NULL
12203 };
12204
12205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12207 {
12208 PyThreadState* __tstate = wxPyBeginAllowThreads();
12209 result = (arg1)->GetValue();
12210
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 {
12215 #if wxUSE_UNICODE
12216 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12217 #else
12218 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12219 #endif
12220 }
12221 return resultobj;
12222 fail:
12223 return NULL;
12224 }
12225
12226
12227 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12228 PyObject *resultobj;
12229 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12230 wxString *arg2 = 0 ;
12231 bool temp2 = False ;
12232 PyObject * obj0 = 0 ;
12233 PyObject * obj1 = 0 ;
12234 char *kwnames[] = {
12235 (char *) "self",(char *) "value", NULL
12236 };
12237
12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12240 {
12241 arg2 = wxString_in_helper(obj1);
12242 if (arg2 == NULL) SWIG_fail;
12243 temp2 = True;
12244 }
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 (arg1)->SetValue((wxString const &)*arg2);
12248
12249 wxPyEndAllowThreads(__tstate);
12250 if (PyErr_Occurred()) SWIG_fail;
12251 }
12252 Py_INCREF(Py_None); resultobj = Py_None;
12253 {
12254 if (temp2)
12255 delete arg2;
12256 }
12257 return resultobj;
12258 fail:
12259 {
12260 if (temp2)
12261 delete arg2;
12262 }
12263 return NULL;
12264 }
12265
12266
12267 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj;
12269 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12270 int result;
12271 PyObject * obj0 = 0 ;
12272 char *kwnames[] = {
12273 (char *) "self", NULL
12274 };
12275
12276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
12277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 result = (int)(arg1)->ShowModal();
12281
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 resultobj = SWIG_PyObj_FromInt((int)result);
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12293 PyObject *obj;
12294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12295 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12296 Py_INCREF(obj);
12297 return Py_BuildValue((char *)"");
12298 }
12299 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12300 PyObject *resultobj;
12301 wxFontData *result;
12302 char *kwnames[] = {
12303 NULL
12304 };
12305
12306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12307 {
12308 PyThreadState* __tstate = wxPyBeginAllowThreads();
12309 result = (wxFontData *)new wxFontData();
12310
12311 wxPyEndAllowThreads(__tstate);
12312 if (PyErr_Occurred()) SWIG_fail;
12313 }
12314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
12315 return resultobj;
12316 fail:
12317 return NULL;
12318 }
12319
12320
12321 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12322 PyObject *resultobj;
12323 wxFontData *arg1 = (wxFontData *) 0 ;
12324 PyObject * obj0 = 0 ;
12325 char *kwnames[] = {
12326 (char *) "self", NULL
12327 };
12328
12329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12331 {
12332 PyThreadState* __tstate = wxPyBeginAllowThreads();
12333 delete arg1;
12334
12335 wxPyEndAllowThreads(__tstate);
12336 if (PyErr_Occurred()) SWIG_fail;
12337 }
12338 Py_INCREF(Py_None); resultobj = Py_None;
12339 return resultobj;
12340 fail:
12341 return NULL;
12342 }
12343
12344
12345 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12346 PyObject *resultobj;
12347 wxFontData *arg1 = (wxFontData *) 0 ;
12348 bool arg2 ;
12349 PyObject * obj0 = 0 ;
12350 PyObject * obj1 = 0 ;
12351 char *kwnames[] = {
12352 (char *) "self",(char *) "enable", NULL
12353 };
12354
12355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12357 {
12358 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 }
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 (arg1)->EnableEffects(arg2);
12364
12365 wxPyEndAllowThreads(__tstate);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 }
12368 Py_INCREF(Py_None); resultobj = Py_None;
12369 return resultobj;
12370 fail:
12371 return NULL;
12372 }
12373
12374
12375 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12376 PyObject *resultobj;
12377 wxFontData *arg1 = (wxFontData *) 0 ;
12378 bool result;
12379 PyObject * obj0 = 0 ;
12380 char *kwnames[] = {
12381 (char *) "self", NULL
12382 };
12383
12384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12386 {
12387 PyThreadState* __tstate = wxPyBeginAllowThreads();
12388 result = (bool)(arg1)->GetAllowSymbols();
12389
12390 wxPyEndAllowThreads(__tstate);
12391 if (PyErr_Occurred()) SWIG_fail;
12392 }
12393 resultobj = SWIG_PyObj_FromBool((bool)result);
12394 return resultobj;
12395 fail:
12396 return NULL;
12397 }
12398
12399
12400 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12401 PyObject *resultobj;
12402 wxFontData *arg1 = (wxFontData *) 0 ;
12403 wxColour result;
12404 PyObject * obj0 = 0 ;
12405 char *kwnames[] = {
12406 (char *) "self", NULL
12407 };
12408
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12411 {
12412 PyThreadState* __tstate = wxPyBeginAllowThreads();
12413 result = (arg1)->GetColour();
12414
12415 wxPyEndAllowThreads(__tstate);
12416 if (PyErr_Occurred()) SWIG_fail;
12417 }
12418 {
12419 wxColour * resultptr;
12420 resultptr = new wxColour((wxColour &) result);
12421 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
12422 }
12423 return resultobj;
12424 fail:
12425 return NULL;
12426 }
12427
12428
12429 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12430 PyObject *resultobj;
12431 wxFontData *arg1 = (wxFontData *) 0 ;
12432 wxFont result;
12433 PyObject * obj0 = 0 ;
12434 char *kwnames[] = {
12435 (char *) "self", NULL
12436 };
12437
12438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12440 {
12441 PyThreadState* __tstate = wxPyBeginAllowThreads();
12442 result = (arg1)->GetChosenFont();
12443
12444 wxPyEndAllowThreads(__tstate);
12445 if (PyErr_Occurred()) SWIG_fail;
12446 }
12447 {
12448 wxFont * resultptr;
12449 resultptr = new wxFont((wxFont &) result);
12450 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
12451 }
12452 return resultobj;
12453 fail:
12454 return NULL;
12455 }
12456
12457
12458 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12459 PyObject *resultobj;
12460 wxFontData *arg1 = (wxFontData *) 0 ;
12461 bool result;
12462 PyObject * obj0 = 0 ;
12463 char *kwnames[] = {
12464 (char *) "self", NULL
12465 };
12466
12467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12469 {
12470 PyThreadState* __tstate = wxPyBeginAllowThreads();
12471 result = (bool)(arg1)->GetEnableEffects();
12472
12473 wxPyEndAllowThreads(__tstate);
12474 if (PyErr_Occurred()) SWIG_fail;
12475 }
12476 resultobj = SWIG_PyObj_FromBool((bool)result);
12477 return resultobj;
12478 fail:
12479 return NULL;
12480 }
12481
12482
12483 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12484 PyObject *resultobj;
12485 wxFontData *arg1 = (wxFontData *) 0 ;
12486 wxFont result;
12487 PyObject * obj0 = 0 ;
12488 char *kwnames[] = {
12489 (char *) "self", NULL
12490 };
12491
12492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (arg1)->GetInitialFont();
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 {
12502 wxFont * resultptr;
12503 resultptr = new wxFont((wxFont &) result);
12504 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
12505 }
12506 return resultobj;
12507 fail:
12508 return NULL;
12509 }
12510
12511
12512 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12513 PyObject *resultobj;
12514 wxFontData *arg1 = (wxFontData *) 0 ;
12515 bool result;
12516 PyObject * obj0 = 0 ;
12517 char *kwnames[] = {
12518 (char *) "self", NULL
12519 };
12520
12521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 result = (bool)(arg1)->GetShowHelp();
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 resultobj = SWIG_PyObj_FromBool((bool)result);
12531 return resultobj;
12532 fail:
12533 return NULL;
12534 }
12535
12536
12537 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12538 PyObject *resultobj;
12539 wxFontData *arg1 = (wxFontData *) 0 ;
12540 bool arg2 ;
12541 PyObject * obj0 = 0 ;
12542 PyObject * obj1 = 0 ;
12543 char *kwnames[] = {
12544 (char *) "self",(char *) "allowSymbols", NULL
12545 };
12546
12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12549 {
12550 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12551 if (PyErr_Occurred()) SWIG_fail;
12552 }
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 (arg1)->SetAllowSymbols(arg2);
12556
12557 wxPyEndAllowThreads(__tstate);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
12560 Py_INCREF(Py_None); resultobj = Py_None;
12561 return resultobj;
12562 fail:
12563 return NULL;
12564 }
12565
12566
12567 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12568 PyObject *resultobj;
12569 wxFontData *arg1 = (wxFontData *) 0 ;
12570 wxFont *arg2 = 0 ;
12571 PyObject * obj0 = 0 ;
12572 PyObject * obj1 = 0 ;
12573 char *kwnames[] = {
12574 (char *) "self",(char *) "font", NULL
12575 };
12576
12577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12580 if (arg2 == NULL) {
12581 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12582 }
12583 {
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 (arg1)->SetChosenFont((wxFont const &)*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_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12598 PyObject *resultobj;
12599 wxFontData *arg1 = (wxFontData *) 0 ;
12600 wxColour *arg2 = 0 ;
12601 wxColour temp2 ;
12602 PyObject * obj0 = 0 ;
12603 PyObject * obj1 = 0 ;
12604 char *kwnames[] = {
12605 (char *) "self",(char *) "colour", NULL
12606 };
12607
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12610 {
12611 arg2 = &temp2;
12612 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12613 }
12614 {
12615 PyThreadState* __tstate = wxPyBeginAllowThreads();
12616 (arg1)->SetColour((wxColour const &)*arg2);
12617
12618 wxPyEndAllowThreads(__tstate);
12619 if (PyErr_Occurred()) SWIG_fail;
12620 }
12621 Py_INCREF(Py_None); resultobj = Py_None;
12622 return resultobj;
12623 fail:
12624 return NULL;
12625 }
12626
12627
12628 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12629 PyObject *resultobj;
12630 wxFontData *arg1 = (wxFontData *) 0 ;
12631 wxFont *arg2 = 0 ;
12632 PyObject * obj0 = 0 ;
12633 PyObject * obj1 = 0 ;
12634 char *kwnames[] = {
12635 (char *) "self",(char *) "font", NULL
12636 };
12637
12638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12640 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12641 if (arg2 == NULL) {
12642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12643 }
12644 {
12645 PyThreadState* __tstate = wxPyBeginAllowThreads();
12646 (arg1)->SetInitialFont((wxFont const &)*arg2);
12647
12648 wxPyEndAllowThreads(__tstate);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 }
12651 Py_INCREF(Py_None); resultobj = Py_None;
12652 return resultobj;
12653 fail:
12654 return NULL;
12655 }
12656
12657
12658 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12659 PyObject *resultobj;
12660 wxFontData *arg1 = (wxFontData *) 0 ;
12661 int arg2 ;
12662 int arg3 ;
12663 PyObject * obj0 = 0 ;
12664 PyObject * obj1 = 0 ;
12665 PyObject * obj2 = 0 ;
12666 char *kwnames[] = {
12667 (char *) "self",(char *) "min",(char *) "max", NULL
12668 };
12669
12670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12672 {
12673 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 {
12677 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12678 if (PyErr_Occurred()) SWIG_fail;
12679 }
12680 {
12681 PyThreadState* __tstate = wxPyBeginAllowThreads();
12682 (arg1)->SetRange(arg2,arg3);
12683
12684 wxPyEndAllowThreads(__tstate);
12685 if (PyErr_Occurred()) SWIG_fail;
12686 }
12687 Py_INCREF(Py_None); resultobj = Py_None;
12688 return resultobj;
12689 fail:
12690 return NULL;
12691 }
12692
12693
12694 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12695 PyObject *resultobj;
12696 wxFontData *arg1 = (wxFontData *) 0 ;
12697 bool arg2 ;
12698 PyObject * obj0 = 0 ;
12699 PyObject * obj1 = 0 ;
12700 char *kwnames[] = {
12701 (char *) "self",(char *) "showHelp", NULL
12702 };
12703
12704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12706 {
12707 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12708 if (PyErr_Occurred()) SWIG_fail;
12709 }
12710 {
12711 PyThreadState* __tstate = wxPyBeginAllowThreads();
12712 (arg1)->SetShowHelp(arg2);
12713
12714 wxPyEndAllowThreads(__tstate);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 }
12717 Py_INCREF(Py_None); resultobj = Py_None;
12718 return resultobj;
12719 fail:
12720 return NULL;
12721 }
12722
12723
12724 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
12725 PyObject *obj;
12726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12727 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12728 Py_INCREF(obj);
12729 return Py_BuildValue((char *)"");
12730 }
12731 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12732 PyObject *resultobj;
12733 wxWindow *arg1 = (wxWindow *) 0 ;
12734 wxFontData *arg2 = 0 ;
12735 wxFontDialog *result;
12736 PyObject * obj0 = 0 ;
12737 PyObject * obj1 = 0 ;
12738 char *kwnames[] = {
12739 (char *) "parent",(char *) "data", NULL
12740 };
12741
12742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12745 if (arg2 == NULL) {
12746 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12747 }
12748 {
12749 PyThreadState* __tstate = wxPyBeginAllowThreads();
12750 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12751
12752 wxPyEndAllowThreads(__tstate);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
12756 return resultobj;
12757 fail:
12758 return NULL;
12759 }
12760
12761
12762 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12763 PyObject *resultobj;
12764 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12765 wxFontData *result;
12766 PyObject * obj0 = 0 ;
12767 char *kwnames[] = {
12768 (char *) "self", NULL
12769 };
12770
12771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12773 {
12774 PyThreadState* __tstate = wxPyBeginAllowThreads();
12775 {
12776 wxFontData &_result_ref = (arg1)->GetFontData();
12777 result = (wxFontData *) &_result_ref;
12778 }
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
12784 return resultobj;
12785 fail:
12786 return NULL;
12787 }
12788
12789
12790 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12791 PyObject *resultobj;
12792 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12793 int result;
12794 PyObject * obj0 = 0 ;
12795 char *kwnames[] = {
12796 (char *) "self", NULL
12797 };
12798
12799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
12800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12801 {
12802 PyThreadState* __tstate = wxPyBeginAllowThreads();
12803 result = (int)(arg1)->ShowModal();
12804
12805 wxPyEndAllowThreads(__tstate);
12806 if (PyErr_Occurred()) SWIG_fail;
12807 }
12808 resultobj = SWIG_PyObj_FromInt((int)result);
12809 return resultobj;
12810 fail:
12811 return NULL;
12812 }
12813
12814
12815 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
12816 PyObject *obj;
12817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12818 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12819 Py_INCREF(obj);
12820 return Py_BuildValue((char *)"");
12821 }
12822 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj;
12824 wxWindow *arg1 = (wxWindow *) 0 ;
12825 wxString *arg2 = 0 ;
12826 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12827 wxString *arg3 = (wxString *) &arg3_defvalue ;
12828 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12829 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12830 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12831 wxMessageDialog *result;
12832 bool temp2 = False ;
12833 bool temp3 = False ;
12834 wxPoint temp5 ;
12835 PyObject * obj0 = 0 ;
12836 PyObject * obj1 = 0 ;
12837 PyObject * obj2 = 0 ;
12838 PyObject * obj3 = 0 ;
12839 PyObject * obj4 = 0 ;
12840 char *kwnames[] = {
12841 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12842 };
12843
12844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12846 {
12847 arg2 = wxString_in_helper(obj1);
12848 if (arg2 == NULL) SWIG_fail;
12849 temp2 = True;
12850 }
12851 if (obj2) {
12852 {
12853 arg3 = wxString_in_helper(obj2);
12854 if (arg3 == NULL) SWIG_fail;
12855 temp3 = True;
12856 }
12857 }
12858 if (obj3) {
12859 {
12860 arg4 = (long) SWIG_PyObj_AsLong(obj3);
12861 if (PyErr_Occurred()) SWIG_fail;
12862 }
12863 }
12864 if (obj4) {
12865 {
12866 arg5 = &temp5;
12867 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12868 }
12869 }
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12878 {
12879 if (temp2)
12880 delete arg2;
12881 }
12882 {
12883 if (temp3)
12884 delete arg3;
12885 }
12886 return resultobj;
12887 fail:
12888 {
12889 if (temp2)
12890 delete arg2;
12891 }
12892 {
12893 if (temp3)
12894 delete arg3;
12895 }
12896 return NULL;
12897 }
12898
12899
12900 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12901 PyObject *resultobj;
12902 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12903 int result;
12904 PyObject * obj0 = 0 ;
12905 char *kwnames[] = {
12906 (char *) "self", NULL
12907 };
12908
12909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12911 {
12912 PyThreadState* __tstate = wxPyBeginAllowThreads();
12913 result = (int)(arg1)->ShowModal();
12914
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 resultobj = SWIG_PyObj_FromInt((int)result);
12919 return resultobj;
12920 fail:
12921 return NULL;
12922 }
12923
12924
12925 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12926 PyObject *obj;
12927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12928 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12929 Py_INCREF(obj);
12930 return Py_BuildValue((char *)"");
12931 }
12932 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12933 PyObject *resultobj;
12934 wxString *arg1 = 0 ;
12935 wxString *arg2 = 0 ;
12936 int arg3 = (int) 100 ;
12937 wxWindow *arg4 = (wxWindow *) NULL ;
12938 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12939 wxProgressDialog *result;
12940 bool temp1 = False ;
12941 bool temp2 = False ;
12942 PyObject * obj0 = 0 ;
12943 PyObject * obj1 = 0 ;
12944 PyObject * obj2 = 0 ;
12945 PyObject * obj3 = 0 ;
12946 PyObject * obj4 = 0 ;
12947 char *kwnames[] = {
12948 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12949 };
12950
12951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12952 {
12953 arg1 = wxString_in_helper(obj0);
12954 if (arg1 == NULL) SWIG_fail;
12955 temp1 = True;
12956 }
12957 {
12958 arg2 = wxString_in_helper(obj1);
12959 if (arg2 == NULL) SWIG_fail;
12960 temp2 = True;
12961 }
12962 if (obj2) {
12963 {
12964 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12965 if (PyErr_Occurred()) SWIG_fail;
12966 }
12967 }
12968 if (obj3) {
12969 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12970 }
12971 if (obj4) {
12972 {
12973 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12974 if (PyErr_Occurred()) SWIG_fail;
12975 }
12976 }
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12980
12981 wxPyEndAllowThreads(__tstate);
12982 if (PyErr_Occurred()) SWIG_fail;
12983 }
12984 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12985 {
12986 if (temp1)
12987 delete arg1;
12988 }
12989 {
12990 if (temp2)
12991 delete arg2;
12992 }
12993 return resultobj;
12994 fail:
12995 {
12996 if (temp1)
12997 delete arg1;
12998 }
12999 {
13000 if (temp2)
13001 delete arg2;
13002 }
13003 return NULL;
13004 }
13005
13006
13007 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13008 PyObject *resultobj;
13009 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13010 int arg2 ;
13011 wxString const &arg3_defvalue = wxPyEmptyString ;
13012 wxString *arg3 = (wxString *) &arg3_defvalue ;
13013 bool result;
13014 bool temp3 = False ;
13015 PyObject * obj0 = 0 ;
13016 PyObject * obj1 = 0 ;
13017 PyObject * obj2 = 0 ;
13018 char *kwnames[] = {
13019 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13020 };
13021
13022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13024 {
13025 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13026 if (PyErr_Occurred()) SWIG_fail;
13027 }
13028 if (obj2) {
13029 {
13030 arg3 = wxString_in_helper(obj2);
13031 if (arg3 == NULL) SWIG_fail;
13032 temp3 = True;
13033 }
13034 }
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 resultobj = SWIG_PyObj_FromBool((bool)result);
13043 {
13044 if (temp3)
13045 delete arg3;
13046 }
13047 return resultobj;
13048 fail:
13049 {
13050 if (temp3)
13051 delete arg3;
13052 }
13053 return NULL;
13054 }
13055
13056
13057 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13058 PyObject *resultobj;
13059 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13060 PyObject * obj0 = 0 ;
13061 char *kwnames[] = {
13062 (char *) "self", NULL
13063 };
13064
13065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13067 {
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 (arg1)->Resume();
13070
13071 wxPyEndAllowThreads(__tstate);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 }
13074 Py_INCREF(Py_None); resultobj = Py_None;
13075 return resultobj;
13076 fail:
13077 return NULL;
13078 }
13079
13080
13081 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13082 PyObject *obj;
13083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13084 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13085 Py_INCREF(obj);
13086 return Py_BuildValue((char *)"");
13087 }
13088 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13089 PyObject *resultobj;
13090 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13091 int arg2 = (int) 0 ;
13092 wxFindDialogEvent *result;
13093 PyObject * obj0 = 0 ;
13094 PyObject * obj1 = 0 ;
13095 char *kwnames[] = {
13096 (char *) "commandType",(char *) "id", NULL
13097 };
13098
13099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13100 if (obj0) {
13101 {
13102 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 }
13106 if (obj1) {
13107 {
13108 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 }
13111 }
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13115
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) SWIG_fail;
13118 }
13119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
13120 return resultobj;
13121 fail:
13122 return NULL;
13123 }
13124
13125
13126 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13129 int result;
13130 PyObject * obj0 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 result = (int)(arg1)->GetFlags();
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
13144 resultobj = SWIG_PyObj_FromInt((int)result);
13145 return resultobj;
13146 fail:
13147 return NULL;
13148 }
13149
13150
13151 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13152 PyObject *resultobj;
13153 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13154 wxString *result;
13155 PyObject * obj0 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 {
13165 wxString const &_result_ref = (arg1)->GetFindString();
13166 result = (wxString *) &_result_ref;
13167 }
13168
13169 wxPyEndAllowThreads(__tstate);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
13172 {
13173 #if wxUSE_UNICODE
13174 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13175 #else
13176 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13177 #endif
13178 }
13179 return resultobj;
13180 fail:
13181 return NULL;
13182 }
13183
13184
13185 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13186 PyObject *resultobj;
13187 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13188 wxString *result;
13189 PyObject * obj0 = 0 ;
13190 char *kwnames[] = {
13191 (char *) "self", NULL
13192 };
13193
13194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13196 {
13197 PyThreadState* __tstate = wxPyBeginAllowThreads();
13198 {
13199 wxString const &_result_ref = (arg1)->GetReplaceString();
13200 result = (wxString *) &_result_ref;
13201 }
13202
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 {
13207 #if wxUSE_UNICODE
13208 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13209 #else
13210 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13211 #endif
13212 }
13213 return resultobj;
13214 fail:
13215 return NULL;
13216 }
13217
13218
13219 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13220 PyObject *resultobj;
13221 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13222 wxFindReplaceDialog *result;
13223 PyObject * obj0 = 0 ;
13224 char *kwnames[] = {
13225 (char *) "self", NULL
13226 };
13227
13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13230 {
13231 PyThreadState* __tstate = wxPyBeginAllowThreads();
13232 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13233
13234 wxPyEndAllowThreads(__tstate);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 }
13237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
13238 return resultobj;
13239 fail:
13240 return NULL;
13241 }
13242
13243
13244 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13245 PyObject *resultobj;
13246 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13247 int arg2 ;
13248 PyObject * obj0 = 0 ;
13249 PyObject * obj1 = 0 ;
13250 char *kwnames[] = {
13251 (char *) "self",(char *) "flags", NULL
13252 };
13253
13254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13256 {
13257 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 {
13261 PyThreadState* __tstate = wxPyBeginAllowThreads();
13262 (arg1)->SetFlags(arg2);
13263
13264 wxPyEndAllowThreads(__tstate);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 }
13267 Py_INCREF(Py_None); resultobj = Py_None;
13268 return resultobj;
13269 fail:
13270 return NULL;
13271 }
13272
13273
13274 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13275 PyObject *resultobj;
13276 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13277 wxString *arg2 = 0 ;
13278 bool temp2 = False ;
13279 PyObject * obj0 = 0 ;
13280 PyObject * obj1 = 0 ;
13281 char *kwnames[] = {
13282 (char *) "self",(char *) "str", NULL
13283 };
13284
13285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13287 {
13288 arg2 = wxString_in_helper(obj1);
13289 if (arg2 == NULL) SWIG_fail;
13290 temp2 = True;
13291 }
13292 {
13293 PyThreadState* __tstate = wxPyBeginAllowThreads();
13294 (arg1)->SetFindString((wxString const &)*arg2);
13295
13296 wxPyEndAllowThreads(__tstate);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 }
13299 Py_INCREF(Py_None); resultobj = Py_None;
13300 {
13301 if (temp2)
13302 delete arg2;
13303 }
13304 return resultobj;
13305 fail:
13306 {
13307 if (temp2)
13308 delete arg2;
13309 }
13310 return NULL;
13311 }
13312
13313
13314 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13315 PyObject *resultobj;
13316 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13317 wxString *arg2 = 0 ;
13318 bool temp2 = False ;
13319 PyObject * obj0 = 0 ;
13320 PyObject * obj1 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self",(char *) "str", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13327 {
13328 arg2 = wxString_in_helper(obj1);
13329 if (arg2 == NULL) SWIG_fail;
13330 temp2 = True;
13331 }
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 (arg1)->SetReplaceString((wxString const &)*arg2);
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 Py_INCREF(Py_None); resultobj = Py_None;
13340 {
13341 if (temp2)
13342 delete arg2;
13343 }
13344 return resultobj;
13345 fail:
13346 {
13347 if (temp2)
13348 delete arg2;
13349 }
13350 return NULL;
13351 }
13352
13353
13354 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13355 PyObject *obj;
13356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13357 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13358 Py_INCREF(obj);
13359 return Py_BuildValue((char *)"");
13360 }
13361 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13362 PyObject *resultobj;
13363 int arg1 = (int) 0 ;
13364 wxFindReplaceData *result;
13365 PyObject * obj0 = 0 ;
13366 char *kwnames[] = {
13367 (char *) "flags", NULL
13368 };
13369
13370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13371 if (obj0) {
13372 {
13373 arg1 = (int) SWIG_PyObj_AsInt(obj0);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 }
13377 {
13378 PyThreadState* __tstate = wxPyBeginAllowThreads();
13379 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13380
13381 wxPyEndAllowThreads(__tstate);
13382 if (PyErr_Occurred()) SWIG_fail;
13383 }
13384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
13385 return resultobj;
13386 fail:
13387 return NULL;
13388 }
13389
13390
13391 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13392 PyObject *resultobj;
13393 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13394 PyObject * obj0 = 0 ;
13395 char *kwnames[] = {
13396 (char *) "self", NULL
13397 };
13398
13399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 delete arg1;
13404
13405 wxPyEndAllowThreads(__tstate);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
13408 Py_INCREF(Py_None); resultobj = Py_None;
13409 return resultobj;
13410 fail:
13411 return NULL;
13412 }
13413
13414
13415 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13416 PyObject *resultobj;
13417 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13418 wxString *result;
13419 PyObject * obj0 = 0 ;
13420 char *kwnames[] = {
13421 (char *) "self", NULL
13422 };
13423
13424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13426 {
13427 PyThreadState* __tstate = wxPyBeginAllowThreads();
13428 {
13429 wxString const &_result_ref = (arg1)->GetFindString();
13430 result = (wxString *) &_result_ref;
13431 }
13432
13433 wxPyEndAllowThreads(__tstate);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 }
13436 {
13437 #if wxUSE_UNICODE
13438 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13439 #else
13440 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13441 #endif
13442 }
13443 return resultobj;
13444 fail:
13445 return NULL;
13446 }
13447
13448
13449 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13450 PyObject *resultobj;
13451 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13452 wxString *result;
13453 PyObject * obj0 = 0 ;
13454 char *kwnames[] = {
13455 (char *) "self", NULL
13456 };
13457
13458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
13462 {
13463 wxString const &_result_ref = (arg1)->GetReplaceString();
13464 result = (wxString *) &_result_ref;
13465 }
13466
13467 wxPyEndAllowThreads(__tstate);
13468 if (PyErr_Occurred()) SWIG_fail;
13469 }
13470 {
13471 #if wxUSE_UNICODE
13472 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13473 #else
13474 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13475 #endif
13476 }
13477 return resultobj;
13478 fail:
13479 return NULL;
13480 }
13481
13482
13483 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13484 PyObject *resultobj;
13485 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13486 int result;
13487 PyObject * obj0 = 0 ;
13488 char *kwnames[] = {
13489 (char *) "self", NULL
13490 };
13491
13492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13494 {
13495 PyThreadState* __tstate = wxPyBeginAllowThreads();
13496 result = (int)(arg1)->GetFlags();
13497
13498 wxPyEndAllowThreads(__tstate);
13499 if (PyErr_Occurred()) SWIG_fail;
13500 }
13501 resultobj = SWIG_PyObj_FromInt((int)result);
13502 return resultobj;
13503 fail:
13504 return NULL;
13505 }
13506
13507
13508 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13509 PyObject *resultobj;
13510 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13511 int arg2 ;
13512 PyObject * obj0 = 0 ;
13513 PyObject * obj1 = 0 ;
13514 char *kwnames[] = {
13515 (char *) "self",(char *) "flags", NULL
13516 };
13517
13518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13520 {
13521 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13522 if (PyErr_Occurred()) SWIG_fail;
13523 }
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 (arg1)->SetFlags(arg2);
13527
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 Py_INCREF(Py_None); resultobj = Py_None;
13532 return resultobj;
13533 fail:
13534 return NULL;
13535 }
13536
13537
13538 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13539 PyObject *resultobj;
13540 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13541 wxString *arg2 = 0 ;
13542 bool temp2 = False ;
13543 PyObject * obj0 = 0 ;
13544 PyObject * obj1 = 0 ;
13545 char *kwnames[] = {
13546 (char *) "self",(char *) "str", NULL
13547 };
13548
13549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13551 {
13552 arg2 = wxString_in_helper(obj1);
13553 if (arg2 == NULL) SWIG_fail;
13554 temp2 = True;
13555 }
13556 {
13557 PyThreadState* __tstate = wxPyBeginAllowThreads();
13558 (arg1)->SetFindString((wxString const &)*arg2);
13559
13560 wxPyEndAllowThreads(__tstate);
13561 if (PyErr_Occurred()) SWIG_fail;
13562 }
13563 Py_INCREF(Py_None); resultobj = Py_None;
13564 {
13565 if (temp2)
13566 delete arg2;
13567 }
13568 return resultobj;
13569 fail:
13570 {
13571 if (temp2)
13572 delete arg2;
13573 }
13574 return NULL;
13575 }
13576
13577
13578 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13579 PyObject *resultobj;
13580 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13581 wxString *arg2 = 0 ;
13582 bool temp2 = False ;
13583 PyObject * obj0 = 0 ;
13584 PyObject * obj1 = 0 ;
13585 char *kwnames[] = {
13586 (char *) "self",(char *) "str", NULL
13587 };
13588
13589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13591 {
13592 arg2 = wxString_in_helper(obj1);
13593 if (arg2 == NULL) SWIG_fail;
13594 temp2 = True;
13595 }
13596 {
13597 PyThreadState* __tstate = wxPyBeginAllowThreads();
13598 (arg1)->SetReplaceString((wxString const &)*arg2);
13599
13600 wxPyEndAllowThreads(__tstate);
13601 if (PyErr_Occurred()) SWIG_fail;
13602 }
13603 Py_INCREF(Py_None); resultobj = Py_None;
13604 {
13605 if (temp2)
13606 delete arg2;
13607 }
13608 return resultobj;
13609 fail:
13610 {
13611 if (temp2)
13612 delete arg2;
13613 }
13614 return NULL;
13615 }
13616
13617
13618 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
13619 PyObject *obj;
13620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13621 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13622 Py_INCREF(obj);
13623 return Py_BuildValue((char *)"");
13624 }
13625 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13626 PyObject *resultobj;
13627 wxWindow *arg1 = (wxWindow *) 0 ;
13628 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13629 wxString *arg3 = 0 ;
13630 int arg4 = (int) 0 ;
13631 wxFindReplaceDialog *result;
13632 bool temp3 = False ;
13633 PyObject * obj0 = 0 ;
13634 PyObject * obj1 = 0 ;
13635 PyObject * obj2 = 0 ;
13636 PyObject * obj3 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13643 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13644 {
13645 arg3 = wxString_in_helper(obj2);
13646 if (arg3 == NULL) SWIG_fail;
13647 temp3 = True;
13648 }
13649 if (obj3) {
13650 {
13651 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13652 if (PyErr_Occurred()) SWIG_fail;
13653 }
13654 }
13655 {
13656 PyThreadState* __tstate = wxPyBeginAllowThreads();
13657 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13658
13659 wxPyEndAllowThreads(__tstate);
13660 if (PyErr_Occurred()) SWIG_fail;
13661 }
13662 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13663 {
13664 if (temp3)
13665 delete arg3;
13666 }
13667 return resultobj;
13668 fail:
13669 {
13670 if (temp3)
13671 delete arg3;
13672 }
13673 return NULL;
13674 }
13675
13676
13677 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13678 PyObject *resultobj;
13679 wxFindReplaceDialog *result;
13680 char *kwnames[] = {
13681 NULL
13682 };
13683
13684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13685 {
13686 PyThreadState* __tstate = wxPyBeginAllowThreads();
13687 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13688
13689 wxPyEndAllowThreads(__tstate);
13690 if (PyErr_Occurred()) SWIG_fail;
13691 }
13692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13693 return resultobj;
13694 fail:
13695 return NULL;
13696 }
13697
13698
13699 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13700 PyObject *resultobj;
13701 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13702 wxWindow *arg2 = (wxWindow *) 0 ;
13703 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13704 wxString *arg4 = 0 ;
13705 int arg5 = (int) 0 ;
13706 bool result;
13707 bool temp4 = False ;
13708 PyObject * obj0 = 0 ;
13709 PyObject * obj1 = 0 ;
13710 PyObject * obj2 = 0 ;
13711 PyObject * obj3 = 0 ;
13712 PyObject * obj4 = 0 ;
13713 char *kwnames[] = {
13714 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13715 };
13716
13717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13719 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13720 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13721 {
13722 arg4 = wxString_in_helper(obj3);
13723 if (arg4 == NULL) SWIG_fail;
13724 temp4 = True;
13725 }
13726 if (obj4) {
13727 {
13728 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13729 if (PyErr_Occurred()) SWIG_fail;
13730 }
13731 }
13732 {
13733 PyThreadState* __tstate = wxPyBeginAllowThreads();
13734 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13735
13736 wxPyEndAllowThreads(__tstate);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 }
13739 resultobj = SWIG_PyObj_FromBool((bool)result);
13740 {
13741 if (temp4)
13742 delete arg4;
13743 }
13744 return resultobj;
13745 fail:
13746 {
13747 if (temp4)
13748 delete arg4;
13749 }
13750 return NULL;
13751 }
13752
13753
13754 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13755 PyObject *resultobj;
13756 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13757 wxFindReplaceData *result;
13758 PyObject * obj0 = 0 ;
13759 char *kwnames[] = {
13760 (char *) "self", NULL
13761 };
13762
13763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13765 {
13766 PyThreadState* __tstate = wxPyBeginAllowThreads();
13767 result = (wxFindReplaceData *)(arg1)->GetData();
13768
13769 wxPyEndAllowThreads(__tstate);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
13773 return resultobj;
13774 fail:
13775 return NULL;
13776 }
13777
13778
13779 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13780 PyObject *resultobj;
13781 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13782 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13783 PyObject * obj0 = 0 ;
13784 PyObject * obj1 = 0 ;
13785 char *kwnames[] = {
13786 (char *) "self",(char *) "data", NULL
13787 };
13788
13789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13792 {
13793 PyThreadState* __tstate = wxPyBeginAllowThreads();
13794 (arg1)->SetData(arg2);
13795
13796 wxPyEndAllowThreads(__tstate);
13797 if (PyErr_Occurred()) SWIG_fail;
13798 }
13799 Py_INCREF(Py_None); resultobj = Py_None;
13800 return resultobj;
13801 fail:
13802 return NULL;
13803 }
13804
13805
13806 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
13807 PyObject *obj;
13808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13809 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
13810 Py_INCREF(obj);
13811 return Py_BuildValue((char *)"");
13812 }
13813 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13814 PyObject *resultobj;
13815 wxWindow *arg1 = (wxWindow *) 0 ;
13816 int arg2 ;
13817 wxString *arg3 = 0 ;
13818 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13819 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13820 wxSize const &arg5_defvalue = wxDefaultSize ;
13821 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13822 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13823 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13824 wxString *arg7 = (wxString *) &arg7_defvalue ;
13825 wxMDIParentFrame *result;
13826 bool temp3 = False ;
13827 wxPoint temp4 ;
13828 wxSize temp5 ;
13829 bool temp7 = False ;
13830 PyObject * obj0 = 0 ;
13831 PyObject * obj1 = 0 ;
13832 PyObject * obj2 = 0 ;
13833 PyObject * obj3 = 0 ;
13834 PyObject * obj4 = 0 ;
13835 PyObject * obj5 = 0 ;
13836 PyObject * obj6 = 0 ;
13837 char *kwnames[] = {
13838 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13839 };
13840
13841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13843 {
13844 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
13845 if (PyErr_Occurred()) SWIG_fail;
13846 }
13847 {
13848 arg3 = wxString_in_helper(obj2);
13849 if (arg3 == NULL) SWIG_fail;
13850 temp3 = True;
13851 }
13852 if (obj3) {
13853 {
13854 arg4 = &temp4;
13855 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13856 }
13857 }
13858 if (obj4) {
13859 {
13860 arg5 = &temp5;
13861 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13862 }
13863 }
13864 if (obj5) {
13865 {
13866 arg6 = (long) SWIG_PyObj_AsLong(obj5);
13867 if (PyErr_Occurred()) SWIG_fail;
13868 }
13869 }
13870 if (obj6) {
13871 {
13872 arg7 = wxString_in_helper(obj6);
13873 if (arg7 == NULL) SWIG_fail;
13874 temp7 = True;
13875 }
13876 }
13877 {
13878 PyThreadState* __tstate = wxPyBeginAllowThreads();
13879 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13880
13881 wxPyEndAllowThreads(__tstate);
13882 if (PyErr_Occurred()) SWIG_fail;
13883 }
13884 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13885 {
13886 if (temp3)
13887 delete arg3;
13888 }
13889 {
13890 if (temp7)
13891 delete arg7;
13892 }
13893 return resultobj;
13894 fail:
13895 {
13896 if (temp3)
13897 delete arg3;
13898 }
13899 {
13900 if (temp7)
13901 delete arg7;
13902 }
13903 return NULL;
13904 }
13905
13906
13907 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13908 PyObject *resultobj;
13909 wxMDIParentFrame *result;
13910 char *kwnames[] = {
13911 NULL
13912 };
13913
13914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13915 {
13916 PyThreadState* __tstate = wxPyBeginAllowThreads();
13917 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13918
13919 wxPyEndAllowThreads(__tstate);
13920 if (PyErr_Occurred()) SWIG_fail;
13921 }
13922 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13923 return resultobj;
13924 fail:
13925 return NULL;
13926 }
13927
13928
13929 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13930 PyObject *resultobj;
13931 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13932 wxWindow *arg2 = (wxWindow *) 0 ;
13933 int arg3 ;
13934 wxString *arg4 = 0 ;
13935 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13936 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13937 wxSize const &arg6_defvalue = wxDefaultSize ;
13938 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13939 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13940 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13941 wxString *arg8 = (wxString *) &arg8_defvalue ;
13942 bool result;
13943 bool temp4 = False ;
13944 wxPoint temp5 ;
13945 wxSize temp6 ;
13946 bool temp8 = False ;
13947 PyObject * obj0 = 0 ;
13948 PyObject * obj1 = 0 ;
13949 PyObject * obj2 = 0 ;
13950 PyObject * obj3 = 0 ;
13951 PyObject * obj4 = 0 ;
13952 PyObject * obj5 = 0 ;
13953 PyObject * obj6 = 0 ;
13954 PyObject * obj7 = 0 ;
13955 char *kwnames[] = {
13956 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13957 };
13958
13959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13962 {
13963 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 {
13967 arg4 = wxString_in_helper(obj3);
13968 if (arg4 == NULL) SWIG_fail;
13969 temp4 = True;
13970 }
13971 if (obj4) {
13972 {
13973 arg5 = &temp5;
13974 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13975 }
13976 }
13977 if (obj5) {
13978 {
13979 arg6 = &temp6;
13980 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13981 }
13982 }
13983 if (obj6) {
13984 {
13985 arg7 = (long) SWIG_PyObj_AsLong(obj6);
13986 if (PyErr_Occurred()) SWIG_fail;
13987 }
13988 }
13989 if (obj7) {
13990 {
13991 arg8 = wxString_in_helper(obj7);
13992 if (arg8 == NULL) SWIG_fail;
13993 temp8 = True;
13994 }
13995 }
13996 {
13997 PyThreadState* __tstate = wxPyBeginAllowThreads();
13998 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13999
14000 wxPyEndAllowThreads(__tstate);
14001 if (PyErr_Occurred()) SWIG_fail;
14002 }
14003 resultobj = SWIG_PyObj_FromBool((bool)result);
14004 {
14005 if (temp4)
14006 delete arg4;
14007 }
14008 {
14009 if (temp8)
14010 delete arg8;
14011 }
14012 return resultobj;
14013 fail:
14014 {
14015 if (temp4)
14016 delete arg4;
14017 }
14018 {
14019 if (temp8)
14020 delete arg8;
14021 }
14022 return NULL;
14023 }
14024
14025
14026 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14027 PyObject *resultobj;
14028 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14029 PyObject * obj0 = 0 ;
14030 char *kwnames[] = {
14031 (char *) "self", NULL
14032 };
14033
14034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14036 {
14037 PyThreadState* __tstate = wxPyBeginAllowThreads();
14038 (arg1)->ActivateNext();
14039
14040 wxPyEndAllowThreads(__tstate);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
14043 Py_INCREF(Py_None); resultobj = Py_None;
14044 return resultobj;
14045 fail:
14046 return NULL;
14047 }
14048
14049
14050 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14051 PyObject *resultobj;
14052 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14053 PyObject * obj0 = 0 ;
14054 char *kwnames[] = {
14055 (char *) "self", NULL
14056 };
14057
14058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14060 {
14061 PyThreadState* __tstate = wxPyBeginAllowThreads();
14062 (arg1)->ActivatePrevious();
14063
14064 wxPyEndAllowThreads(__tstate);
14065 if (PyErr_Occurred()) SWIG_fail;
14066 }
14067 Py_INCREF(Py_None); resultobj = Py_None;
14068 return resultobj;
14069 fail:
14070 return NULL;
14071 }
14072
14073
14074 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14075 PyObject *resultobj;
14076 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14077 PyObject * obj0 = 0 ;
14078 char *kwnames[] = {
14079 (char *) "self", NULL
14080 };
14081
14082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14084 {
14085 PyThreadState* __tstate = wxPyBeginAllowThreads();
14086 (arg1)->ArrangeIcons();
14087
14088 wxPyEndAllowThreads(__tstate);
14089 if (PyErr_Occurred()) SWIG_fail;
14090 }
14091 Py_INCREF(Py_None); resultobj = Py_None;
14092 return resultobj;
14093 fail:
14094 return NULL;
14095 }
14096
14097
14098 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14099 PyObject *resultobj;
14100 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14101 PyObject * obj0 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 (arg1)->Cascade();
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 Py_INCREF(Py_None); resultobj = Py_None;
14116 return resultobj;
14117 fail:
14118 return NULL;
14119 }
14120
14121
14122 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14123 PyObject *resultobj;
14124 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14125 wxMDIChildFrame *result;
14126 PyObject * obj0 = 0 ;
14127 char *kwnames[] = {
14128 (char *) "self", NULL
14129 };
14130
14131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,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 *self, 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,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14160 {
14161 PyThreadState* __tstate = wxPyBeginAllowThreads();
14162 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14163
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 {
14168 resultobj = wxPyMake_wxObject(result);
14169 }
14170 return resultobj;
14171 fail:
14172 return NULL;
14173 }
14174
14175
14176 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14177 PyObject *resultobj;
14178 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14179 wxWindow *result;
14180 PyObject * obj0 = 0 ;
14181 char *kwnames[] = {
14182 (char *) "self", NULL
14183 };
14184
14185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14187 {
14188 PyThreadState* __tstate = wxPyBeginAllowThreads();
14189 result = (wxWindow *)(arg1)->GetToolBar();
14190
14191 wxPyEndAllowThreads(__tstate);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 {
14195 resultobj = wxPyMake_wxObject(result);
14196 }
14197 return resultobj;
14198 fail:
14199 return NULL;
14200 }
14201
14202
14203 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14204 PyObject *resultobj;
14205 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14206 PyObject * obj0 = 0 ;
14207 char *kwnames[] = {
14208 (char *) "self", NULL
14209 };
14210
14211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14213 {
14214 PyThreadState* __tstate = wxPyBeginAllowThreads();
14215 (arg1)->Tile();
14216
14217 wxPyEndAllowThreads(__tstate);
14218 if (PyErr_Occurred()) SWIG_fail;
14219 }
14220 Py_INCREF(Py_None); resultobj = Py_None;
14221 return resultobj;
14222 fail:
14223 return NULL;
14224 }
14225
14226
14227 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14228 PyObject *obj;
14229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14230 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14231 Py_INCREF(obj);
14232 return Py_BuildValue((char *)"");
14233 }
14234 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14235 PyObject *resultobj;
14236 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14237 int arg2 ;
14238 wxString *arg3 = 0 ;
14239 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14240 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14241 wxSize const &arg5_defvalue = wxDefaultSize ;
14242 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14243 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14244 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14245 wxString *arg7 = (wxString *) &arg7_defvalue ;
14246 wxMDIChildFrame *result;
14247 bool temp3 = False ;
14248 wxPoint temp4 ;
14249 wxSize temp5 ;
14250 bool temp7 = False ;
14251 PyObject * obj0 = 0 ;
14252 PyObject * obj1 = 0 ;
14253 PyObject * obj2 = 0 ;
14254 PyObject * obj3 = 0 ;
14255 PyObject * obj4 = 0 ;
14256 PyObject * obj5 = 0 ;
14257 PyObject * obj6 = 0 ;
14258 char *kwnames[] = {
14259 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14260 };
14261
14262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14264 {
14265 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
14268 {
14269 arg3 = wxString_in_helper(obj2);
14270 if (arg3 == NULL) SWIG_fail;
14271 temp3 = True;
14272 }
14273 if (obj3) {
14274 {
14275 arg4 = &temp4;
14276 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14277 }
14278 }
14279 if (obj4) {
14280 {
14281 arg5 = &temp5;
14282 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14283 }
14284 }
14285 if (obj5) {
14286 {
14287 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14288 if (PyErr_Occurred()) SWIG_fail;
14289 }
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 *self, 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 *self, 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,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14387 {
14388 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
14389 if (PyErr_Occurred()) SWIG_fail;
14390 }
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 {
14410 arg7 = (long) SWIG_PyObj_AsLong(obj6);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 }
14413 }
14414 if (obj7) {
14415 {
14416 arg8 = wxString_in_helper(obj7);
14417 if (arg8 == NULL) SWIG_fail;
14418 temp8 = True;
14419 }
14420 }
14421 {
14422 PyThreadState* __tstate = wxPyBeginAllowThreads();
14423 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14424
14425 wxPyEndAllowThreads(__tstate);
14426 if (PyErr_Occurred()) SWIG_fail;
14427 }
14428 resultobj = SWIG_PyObj_FromBool((bool)result);
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 *self, 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,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14461 {
14462 PyThreadState* __tstate = wxPyBeginAllowThreads();
14463 (arg1)->Activate();
14464
14465 wxPyEndAllowThreads(__tstate);
14466 if (PyErr_Occurred()) SWIG_fail;
14467 }
14468 Py_INCREF(Py_None); resultobj = Py_None;
14469 return resultobj;
14470 fail:
14471 return NULL;
14472 }
14473
14474
14475 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14476 PyObject *resultobj;
14477 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14478 bool arg2 ;
14479 PyObject * obj0 = 0 ;
14480 PyObject * obj1 = 0 ;
14481 char *kwnames[] = {
14482 (char *) "self",(char *) "maximize", NULL
14483 };
14484
14485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14487 {
14488 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14489 if (PyErr_Occurred()) SWIG_fail;
14490 }
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 *self, 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,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14515 {
14516 PyThreadState* __tstate = wxPyBeginAllowThreads();
14517 (arg1)->Restore();
14518
14519 wxPyEndAllowThreads(__tstate);
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
14522 Py_INCREF(Py_None); resultobj = Py_None;
14523 return resultobj;
14524 fail:
14525 return NULL;
14526 }
14527
14528
14529 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14530 PyObject *obj;
14531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14532 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14533 Py_INCREF(obj);
14534 return Py_BuildValue((char *)"");
14535 }
14536 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14537 PyObject *resultobj;
14538 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14539 long arg2 = (long) 0 ;
14540 wxMDIClientWindow *result;
14541 PyObject * obj0 = 0 ;
14542 PyObject * obj1 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "parent",(char *) "style", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14549 if (obj1) {
14550 {
14551 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
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 *self, 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 *self, 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,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14610 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14611 if (obj2) {
14612 {
14613 arg3 = (long) SWIG_PyObj_AsLong(obj2);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
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 resultobj = SWIG_PyObj_FromBool((bool)result);
14625 return resultobj;
14626 fail:
14627 return NULL;
14628 }
14629
14630
14631 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
14632 PyObject *obj;
14633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14634 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14635 Py_INCREF(obj);
14636 return Py_BuildValue((char *)"");
14637 }
14638 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14639 PyObject *resultobj;
14640 wxWindow *arg1 = (wxWindow *) 0 ;
14641 int arg2 ;
14642 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14643 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14644 wxSize const &arg4_defvalue = wxDefaultSize ;
14645 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14646 long arg5 = (long) 0 ;
14647 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14648 wxString *arg6 = (wxString *) &arg6_defvalue ;
14649 wxPyWindow *result;
14650 wxPoint temp3 ;
14651 wxSize temp4 ;
14652 bool temp6 = False ;
14653 PyObject * obj0 = 0 ;
14654 PyObject * obj1 = 0 ;
14655 PyObject * obj2 = 0 ;
14656 PyObject * obj3 = 0 ;
14657 PyObject * obj4 = 0 ;
14658 PyObject * obj5 = 0 ;
14659 char *kwnames[] = {
14660 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14661 };
14662
14663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14665 {
14666 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 if (obj2) {
14670 {
14671 arg3 = &temp3;
14672 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14673 }
14674 }
14675 if (obj3) {
14676 {
14677 arg4 = &temp4;
14678 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14679 }
14680 }
14681 if (obj4) {
14682 {
14683 arg5 = (long) SWIG_PyObj_AsLong(obj4);
14684 if (PyErr_Occurred()) SWIG_fail;
14685 }
14686 }
14687 if (obj5) {
14688 {
14689 arg6 = wxString_in_helper(obj5);
14690 if (arg6 == NULL) SWIG_fail;
14691 temp6 = True;
14692 }
14693 }
14694 {
14695 PyThreadState* __tstate = wxPyBeginAllowThreads();
14696 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14697
14698 wxPyEndAllowThreads(__tstate);
14699 if (PyErr_Occurred()) SWIG_fail;
14700 }
14701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
14702 {
14703 if (temp6)
14704 delete arg6;
14705 }
14706 return resultobj;
14707 fail:
14708 {
14709 if (temp6)
14710 delete arg6;
14711 }
14712 return NULL;
14713 }
14714
14715
14716 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14717 PyObject *resultobj;
14718 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14719 PyObject *arg2 = (PyObject *) 0 ;
14720 PyObject *arg3 = (PyObject *) 0 ;
14721 PyObject * obj0 = 0 ;
14722 PyObject * obj1 = 0 ;
14723 PyObject * obj2 = 0 ;
14724 char *kwnames[] = {
14725 (char *) "self",(char *) "self",(char *) "_class", NULL
14726 };
14727
14728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,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 *self, 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,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14764 {
14765 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 }
14768 {
14769 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 }
14772 {
14773 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 }
14776 {
14777 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14778 if (PyErr_Occurred()) SWIG_fail;
14779 }
14780 {
14781 PyThreadState* __tstate = wxPyBeginAllowThreads();
14782 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14783
14784 wxPyEndAllowThreads(__tstate);
14785 if (PyErr_Occurred()) SWIG_fail;
14786 }
14787 Py_INCREF(Py_None); resultobj = Py_None;
14788 return resultobj;
14789 fail:
14790 return NULL;
14791 }
14792
14793
14794 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14795 PyObject *resultobj;
14796 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14797 int arg2 ;
14798 int arg3 ;
14799 int arg4 ;
14800 int arg5 ;
14801 int arg6 = (int) wxSIZE_AUTO ;
14802 PyObject * obj0 = 0 ;
14803 PyObject * obj1 = 0 ;
14804 PyObject * obj2 = 0 ;
14805 PyObject * obj3 = 0 ;
14806 PyObject * obj4 = 0 ;
14807 PyObject * obj5 = 0 ;
14808 char *kwnames[] = {
14809 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14810 };
14811
14812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14814 {
14815 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14816 if (PyErr_Occurred()) SWIG_fail;
14817 }
14818 {
14819 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14820 if (PyErr_Occurred()) SWIG_fail;
14821 }
14822 {
14823 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 {
14827 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
14830 if (obj5) {
14831 {
14832 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 }
14836 {
14837 PyThreadState* __tstate = wxPyBeginAllowThreads();
14838 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14839
14840 wxPyEndAllowThreads(__tstate);
14841 if (PyErr_Occurred()) SWIG_fail;
14842 }
14843 Py_INCREF(Py_None); resultobj = Py_None;
14844 return resultobj;
14845 fail:
14846 return NULL;
14847 }
14848
14849
14850 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14851 PyObject *resultobj;
14852 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14853 int arg2 ;
14854 int arg3 ;
14855 PyObject * obj0 = 0 ;
14856 PyObject * obj1 = 0 ;
14857 PyObject * obj2 = 0 ;
14858 char *kwnames[] = {
14859 (char *) "self",(char *) "width",(char *) "height", NULL
14860 };
14861
14862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14864 {
14865 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14866 if (PyErr_Occurred()) SWIG_fail;
14867 }
14868 {
14869 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 }
14872 {
14873 PyThreadState* __tstate = wxPyBeginAllowThreads();
14874 (arg1)->base_DoSetClientSize(arg2,arg3);
14875
14876 wxPyEndAllowThreads(__tstate);
14877 if (PyErr_Occurred()) SWIG_fail;
14878 }
14879 Py_INCREF(Py_None); resultobj = Py_None;
14880 return resultobj;
14881 fail:
14882 return NULL;
14883 }
14884
14885
14886 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14887 PyObject *resultobj;
14888 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14889 int arg2 ;
14890 int arg3 ;
14891 PyObject * obj0 = 0 ;
14892 PyObject * obj1 = 0 ;
14893 PyObject * obj2 = 0 ;
14894 char *kwnames[] = {
14895 (char *) "self",(char *) "x",(char *) "y", NULL
14896 };
14897
14898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14900 {
14901 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 }
14904 {
14905 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14906 if (PyErr_Occurred()) SWIG_fail;
14907 }
14908 {
14909 PyThreadState* __tstate = wxPyBeginAllowThreads();
14910 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14911
14912 wxPyEndAllowThreads(__tstate);
14913 if (PyErr_Occurred()) SWIG_fail;
14914 }
14915 Py_INCREF(Py_None); resultobj = Py_None;
14916 return resultobj;
14917 fail:
14918 return NULL;
14919 }
14920
14921
14922 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14923 PyObject *resultobj;
14924 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14925 int *arg2 = (int *) 0 ;
14926 int *arg3 = (int *) 0 ;
14927 int temp2 ;
14928 int temp3 ;
14929 PyObject * obj0 = 0 ;
14930 char *kwnames[] = {
14931 (char *) "self", NULL
14932 };
14933
14934 arg2 = &temp2;
14935 arg3 = &temp3;
14936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
14937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14938 {
14939 PyThreadState* __tstate = wxPyBeginAllowThreads();
14940 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
14941
14942 wxPyEndAllowThreads(__tstate);
14943 if (PyErr_Occurred()) SWIG_fail;
14944 }
14945 Py_INCREF(Py_None); resultobj = Py_None;
14946 {
14947 PyObject *o = PyInt_FromLong((long) (*arg2));
14948 resultobj = t_output_helper(resultobj,o);
14949 }
14950 {
14951 PyObject *o = PyInt_FromLong((long) (*arg3));
14952 resultobj = t_output_helper(resultobj,o);
14953 }
14954 return resultobj;
14955 fail:
14956 return NULL;
14957 }
14958
14959
14960 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj;
14962 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14963 int *arg2 = (int *) 0 ;
14964 int *arg3 = (int *) 0 ;
14965 int temp2 ;
14966 int temp3 ;
14967 PyObject * obj0 = 0 ;
14968 char *kwnames[] = {
14969 (char *) "self", NULL
14970 };
14971
14972 arg2 = &temp2;
14973 arg3 = &temp3;
14974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14976 {
14977 PyThreadState* __tstate = wxPyBeginAllowThreads();
14978 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
14979
14980 wxPyEndAllowThreads(__tstate);
14981 if (PyErr_Occurred()) SWIG_fail;
14982 }
14983 Py_INCREF(Py_None); resultobj = Py_None;
14984 {
14985 PyObject *o = PyInt_FromLong((long) (*arg2));
14986 resultobj = t_output_helper(resultobj,o);
14987 }
14988 {
14989 PyObject *o = PyInt_FromLong((long) (*arg3));
14990 resultobj = t_output_helper(resultobj,o);
14991 }
14992 return resultobj;
14993 fail:
14994 return NULL;
14995 }
14996
14997
14998 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14999 PyObject *resultobj;
15000 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15001 int *arg2 = (int *) 0 ;
15002 int *arg3 = (int *) 0 ;
15003 int temp2 ;
15004 int temp3 ;
15005 PyObject * obj0 = 0 ;
15006 char *kwnames[] = {
15007 (char *) "self", NULL
15008 };
15009
15010 arg2 = &temp2;
15011 arg3 = &temp3;
15012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15014 {
15015 PyThreadState* __tstate = wxPyBeginAllowThreads();
15016 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15017
15018 wxPyEndAllowThreads(__tstate);
15019 if (PyErr_Occurred()) SWIG_fail;
15020 }
15021 Py_INCREF(Py_None); resultobj = Py_None;
15022 {
15023 PyObject *o = PyInt_FromLong((long) (*arg2));
15024 resultobj = t_output_helper(resultobj,o);
15025 }
15026 {
15027 PyObject *o = PyInt_FromLong((long) (*arg3));
15028 resultobj = t_output_helper(resultobj,o);
15029 }
15030 return resultobj;
15031 fail:
15032 return NULL;
15033 }
15034
15035
15036 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15037 PyObject *resultobj;
15038 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15039 wxSize result;
15040 PyObject * obj0 = 0 ;
15041 char *kwnames[] = {
15042 (char *) "self", NULL
15043 };
15044
15045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15047 {
15048 PyThreadState* __tstate = wxPyBeginAllowThreads();
15049 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15050
15051 wxPyEndAllowThreads(__tstate);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 }
15054 {
15055 wxSize * resultptr;
15056 resultptr = new wxSize((wxSize &) result);
15057 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15058 }
15059 return resultobj;
15060 fail:
15061 return NULL;
15062 }
15063
15064
15065 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15066 PyObject *resultobj;
15067 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15068 wxSize result;
15069 PyObject * obj0 = 0 ;
15070 char *kwnames[] = {
15071 (char *) "self", NULL
15072 };
15073
15074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
15078 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15079
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 {
15084 wxSize * resultptr;
15085 resultptr = new wxSize((wxSize &) result);
15086 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15087 }
15088 return resultobj;
15089 fail:
15090 return NULL;
15091 }
15092
15093
15094 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj;
15096 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15097 PyObject * obj0 = 0 ;
15098 char *kwnames[] = {
15099 (char *) "self", NULL
15100 };
15101
15102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 (arg1)->base_InitDialog();
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 Py_INCREF(Py_None); resultobj = Py_None;
15112 return resultobj;
15113 fail:
15114 return NULL;
15115 }
15116
15117
15118 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15119 PyObject *resultobj;
15120 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15121 bool result;
15122 PyObject * obj0 = 0 ;
15123 char *kwnames[] = {
15124 (char *) "self", NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 result = (bool)(arg1)->base_TransferDataToWindow();
15132
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 resultobj = SWIG_PyObj_FromBool((bool)result);
15137 return resultobj;
15138 fail:
15139 return NULL;
15140 }
15141
15142
15143 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15144 PyObject *resultobj;
15145 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15146 bool result;
15147 PyObject * obj0 = 0 ;
15148 char *kwnames[] = {
15149 (char *) "self", NULL
15150 };
15151
15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15154 {
15155 PyThreadState* __tstate = wxPyBeginAllowThreads();
15156 result = (bool)(arg1)->base_TransferDataFromWindow();
15157
15158 wxPyEndAllowThreads(__tstate);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 }
15161 resultobj = SWIG_PyObj_FromBool((bool)result);
15162 return resultobj;
15163 fail:
15164 return NULL;
15165 }
15166
15167
15168 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15169 PyObject *resultobj;
15170 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15171 bool result;
15172 PyObject * obj0 = 0 ;
15173 char *kwnames[] = {
15174 (char *) "self", NULL
15175 };
15176
15177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 result = (bool)(arg1)->base_Validate();
15182
15183 wxPyEndAllowThreads(__tstate);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 }
15186 resultobj = SWIG_PyObj_FromBool((bool)result);
15187 return resultobj;
15188 fail:
15189 return NULL;
15190 }
15191
15192
15193 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15194 PyObject *resultobj;
15195 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15196 bool result;
15197 PyObject * obj0 = 0 ;
15198 char *kwnames[] = {
15199 (char *) "self", NULL
15200 };
15201
15202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15207
15208 wxPyEndAllowThreads(__tstate);
15209 if (PyErr_Occurred()) SWIG_fail;
15210 }
15211 resultobj = SWIG_PyObj_FromBool((bool)result);
15212 return resultobj;
15213 fail:
15214 return NULL;
15215 }
15216
15217
15218 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15219 PyObject *resultobj;
15220 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15221 bool result;
15222 PyObject * obj0 = 0 ;
15223 char *kwnames[] = {
15224 (char *) "self", NULL
15225 };
15226
15227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15232
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 resultobj = SWIG_PyObj_FromBool((bool)result);
15237 return resultobj;
15238 fail:
15239 return NULL;
15240 }
15241
15242
15243 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15246 wxSize result;
15247 PyObject * obj0 = 0 ;
15248 char *kwnames[] = {
15249 (char *) "self", NULL
15250 };
15251
15252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,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 *self, 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,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15285 {
15286 PyThreadState* __tstate = wxPyBeginAllowThreads();
15287 (arg1)->base_AddChild(arg2);
15288
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15292 Py_INCREF(Py_None); resultobj = Py_None;
15293 return resultobj;
15294 fail:
15295 return NULL;
15296 }
15297
15298
15299 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15300 PyObject *resultobj;
15301 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15302 wxWindow *arg2 = (wxWindow *) 0 ;
15303 PyObject * obj0 = 0 ;
15304 PyObject * obj1 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self",(char *) "child", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15311 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15312 {
15313 PyThreadState* __tstate = wxPyBeginAllowThreads();
15314 (arg1)->base_RemoveChild(arg2);
15315
15316 wxPyEndAllowThreads(__tstate);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
15319 Py_INCREF(Py_None); resultobj = Py_None;
15320 return resultobj;
15321 fail:
15322 return NULL;
15323 }
15324
15325
15326 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15327 PyObject *obj;
15328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15329 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15330 Py_INCREF(obj);
15331 return Py_BuildValue((char *)"");
15332 }
15333 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15334 PyObject *resultobj;
15335 wxWindow *arg1 = (wxWindow *) 0 ;
15336 int arg2 ;
15337 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15338 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15339 wxSize const &arg4_defvalue = wxDefaultSize ;
15340 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15341 long arg5 = (long) 0 ;
15342 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15343 wxString *arg6 = (wxString *) &arg6_defvalue ;
15344 wxPyPanel *result;
15345 wxPoint temp3 ;
15346 wxSize temp4 ;
15347 bool temp6 = False ;
15348 PyObject * obj0 = 0 ;
15349 PyObject * obj1 = 0 ;
15350 PyObject * obj2 = 0 ;
15351 PyObject * obj3 = 0 ;
15352 PyObject * obj4 = 0 ;
15353 PyObject * obj5 = 0 ;
15354 char *kwnames[] = {
15355 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15356 };
15357
15358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15360 {
15361 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
15362 if (PyErr_Occurred()) SWIG_fail;
15363 }
15364 if (obj2) {
15365 {
15366 arg3 = &temp3;
15367 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15368 }
15369 }
15370 if (obj3) {
15371 {
15372 arg4 = &temp4;
15373 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15374 }
15375 }
15376 if (obj4) {
15377 {
15378 arg5 = (long) SWIG_PyObj_AsLong(obj4);
15379 if (PyErr_Occurred()) SWIG_fail;
15380 }
15381 }
15382 if (obj5) {
15383 {
15384 arg6 = wxString_in_helper(obj5);
15385 if (arg6 == NULL) SWIG_fail;
15386 temp6 = True;
15387 }
15388 }
15389 {
15390 PyThreadState* __tstate = wxPyBeginAllowThreads();
15391 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15392
15393 wxPyEndAllowThreads(__tstate);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 }
15396 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
15397 {
15398 if (temp6)
15399 delete arg6;
15400 }
15401 return resultobj;
15402 fail:
15403 {
15404 if (temp6)
15405 delete arg6;
15406 }
15407 return NULL;
15408 }
15409
15410
15411 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15412 PyObject *resultobj;
15413 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15414 PyObject *arg2 = (PyObject *) 0 ;
15415 PyObject *arg3 = (PyObject *) 0 ;
15416 PyObject * obj0 = 0 ;
15417 PyObject * obj1 = 0 ;
15418 PyObject * obj2 = 0 ;
15419 char *kwnames[] = {
15420 (char *) "self",(char *) "self",(char *) "_class", NULL
15421 };
15422
15423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15425 arg2 = obj1;
15426 arg3 = obj2;
15427 {
15428 PyThreadState* __tstate = wxPyBeginAllowThreads();
15429 (arg1)->_setCallbackInfo(arg2,arg3);
15430
15431 wxPyEndAllowThreads(__tstate);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 }
15434 Py_INCREF(Py_None); resultobj = Py_None;
15435 return resultobj;
15436 fail:
15437 return NULL;
15438 }
15439
15440
15441 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15442 PyObject *resultobj;
15443 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15444 int arg2 ;
15445 int arg3 ;
15446 int arg4 ;
15447 int arg5 ;
15448 PyObject * obj0 = 0 ;
15449 PyObject * obj1 = 0 ;
15450 PyObject * obj2 = 0 ;
15451 PyObject * obj3 = 0 ;
15452 PyObject * obj4 = 0 ;
15453 char *kwnames[] = {
15454 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15455 };
15456
15457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15459 {
15460 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15461 if (PyErr_Occurred()) SWIG_fail;
15462 }
15463 {
15464 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 }
15467 {
15468 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 {
15472 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
15475 {
15476 PyThreadState* __tstate = wxPyBeginAllowThreads();
15477 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15478
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 Py_INCREF(Py_None); resultobj = Py_None;
15483 return resultobj;
15484 fail:
15485 return NULL;
15486 }
15487
15488
15489 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj;
15491 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15492 int arg2 ;
15493 int arg3 ;
15494 int arg4 ;
15495 int arg5 ;
15496 int arg6 = (int) wxSIZE_AUTO ;
15497 PyObject * obj0 = 0 ;
15498 PyObject * obj1 = 0 ;
15499 PyObject * obj2 = 0 ;
15500 PyObject * obj3 = 0 ;
15501 PyObject * obj4 = 0 ;
15502 PyObject * obj5 = 0 ;
15503 char *kwnames[] = {
15504 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15505 };
15506
15507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15509 {
15510 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 {
15514 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15515 if (PyErr_Occurred()) SWIG_fail;
15516 }
15517 {
15518 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15519 if (PyErr_Occurred()) SWIG_fail;
15520 }
15521 {
15522 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15523 if (PyErr_Occurred()) SWIG_fail;
15524 }
15525 if (obj5) {
15526 {
15527 arg6 = (int) SWIG_PyObj_AsInt(obj5);
15528 if (PyErr_Occurred()) SWIG_fail;
15529 }
15530 }
15531 {
15532 PyThreadState* __tstate = wxPyBeginAllowThreads();
15533 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15534
15535 wxPyEndAllowThreads(__tstate);
15536 if (PyErr_Occurred()) SWIG_fail;
15537 }
15538 Py_INCREF(Py_None); resultobj = Py_None;
15539 return resultobj;
15540 fail:
15541 return NULL;
15542 }
15543
15544
15545 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15546 PyObject *resultobj;
15547 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15548 int arg2 ;
15549 int arg3 ;
15550 PyObject * obj0 = 0 ;
15551 PyObject * obj1 = 0 ;
15552 PyObject * obj2 = 0 ;
15553 char *kwnames[] = {
15554 (char *) "self",(char *) "width",(char *) "height", NULL
15555 };
15556
15557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15559 {
15560 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 {
15564 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 }
15567 {
15568 PyThreadState* __tstate = wxPyBeginAllowThreads();
15569 (arg1)->base_DoSetClientSize(arg2,arg3);
15570
15571 wxPyEndAllowThreads(__tstate);
15572 if (PyErr_Occurred()) SWIG_fail;
15573 }
15574 Py_INCREF(Py_None); resultobj = Py_None;
15575 return resultobj;
15576 fail:
15577 return NULL;
15578 }
15579
15580
15581 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15582 PyObject *resultobj;
15583 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15584 int arg2 ;
15585 int arg3 ;
15586 PyObject * obj0 = 0 ;
15587 PyObject * obj1 = 0 ;
15588 PyObject * obj2 = 0 ;
15589 char *kwnames[] = {
15590 (char *) "self",(char *) "x",(char *) "y", NULL
15591 };
15592
15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15595 {
15596 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15597 if (PyErr_Occurred()) SWIG_fail;
15598 }
15599 {
15600 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15601 if (PyErr_Occurred()) SWIG_fail;
15602 }
15603 {
15604 PyThreadState* __tstate = wxPyBeginAllowThreads();
15605 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15606
15607 wxPyEndAllowThreads(__tstate);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 Py_INCREF(Py_None); resultobj = Py_None;
15611 return resultobj;
15612 fail:
15613 return NULL;
15614 }
15615
15616
15617 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15618 PyObject *resultobj;
15619 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15620 int *arg2 = (int *) 0 ;
15621 int *arg3 = (int *) 0 ;
15622 int temp2 ;
15623 int temp3 ;
15624 PyObject * obj0 = 0 ;
15625 char *kwnames[] = {
15626 (char *) "self", NULL
15627 };
15628
15629 arg2 = &temp2;
15630 arg3 = &temp3;
15631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15633 {
15634 PyThreadState* __tstate = wxPyBeginAllowThreads();
15635 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15636
15637 wxPyEndAllowThreads(__tstate);
15638 if (PyErr_Occurred()) SWIG_fail;
15639 }
15640 Py_INCREF(Py_None); resultobj = Py_None;
15641 {
15642 PyObject *o = PyInt_FromLong((long) (*arg2));
15643 resultobj = t_output_helper(resultobj,o);
15644 }
15645 {
15646 PyObject *o = PyInt_FromLong((long) (*arg3));
15647 resultobj = t_output_helper(resultobj,o);
15648 }
15649 return resultobj;
15650 fail:
15651 return NULL;
15652 }
15653
15654
15655 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15656 PyObject *resultobj;
15657 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15658 int *arg2 = (int *) 0 ;
15659 int *arg3 = (int *) 0 ;
15660 int temp2 ;
15661 int temp3 ;
15662 PyObject * obj0 = 0 ;
15663 char *kwnames[] = {
15664 (char *) "self", NULL
15665 };
15666
15667 arg2 = &temp2;
15668 arg3 = &temp3;
15669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15671 {
15672 PyThreadState* __tstate = wxPyBeginAllowThreads();
15673 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15674
15675 wxPyEndAllowThreads(__tstate);
15676 if (PyErr_Occurred()) SWIG_fail;
15677 }
15678 Py_INCREF(Py_None); resultobj = Py_None;
15679 {
15680 PyObject *o = PyInt_FromLong((long) (*arg2));
15681 resultobj = t_output_helper(resultobj,o);
15682 }
15683 {
15684 PyObject *o = PyInt_FromLong((long) (*arg3));
15685 resultobj = t_output_helper(resultobj,o);
15686 }
15687 return resultobj;
15688 fail:
15689 return NULL;
15690 }
15691
15692
15693 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15694 PyObject *resultobj;
15695 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15696 int *arg2 = (int *) 0 ;
15697 int *arg3 = (int *) 0 ;
15698 int temp2 ;
15699 int temp3 ;
15700 PyObject * obj0 = 0 ;
15701 char *kwnames[] = {
15702 (char *) "self", NULL
15703 };
15704
15705 arg2 = &temp2;
15706 arg3 = &temp3;
15707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15709 {
15710 PyThreadState* __tstate = wxPyBeginAllowThreads();
15711 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15712
15713 wxPyEndAllowThreads(__tstate);
15714 if (PyErr_Occurred()) SWIG_fail;
15715 }
15716 Py_INCREF(Py_None); resultobj = Py_None;
15717 {
15718 PyObject *o = PyInt_FromLong((long) (*arg2));
15719 resultobj = t_output_helper(resultobj,o);
15720 }
15721 {
15722 PyObject *o = PyInt_FromLong((long) (*arg3));
15723 resultobj = t_output_helper(resultobj,o);
15724 }
15725 return resultobj;
15726 fail:
15727 return NULL;
15728 }
15729
15730
15731 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15732 PyObject *resultobj;
15733 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15734 wxSize result;
15735 PyObject * obj0 = 0 ;
15736 char *kwnames[] = {
15737 (char *) "self", NULL
15738 };
15739
15740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15742 {
15743 PyThreadState* __tstate = wxPyBeginAllowThreads();
15744 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
15745
15746 wxPyEndAllowThreads(__tstate);
15747 if (PyErr_Occurred()) SWIG_fail;
15748 }
15749 {
15750 wxSize * resultptr;
15751 resultptr = new wxSize((wxSize &) result);
15752 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15753 }
15754 return resultobj;
15755 fail:
15756 return NULL;
15757 }
15758
15759
15760 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15761 PyObject *resultobj;
15762 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15763 wxSize result;
15764 PyObject * obj0 = 0 ;
15765 char *kwnames[] = {
15766 (char *) "self", NULL
15767 };
15768
15769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15771 {
15772 PyThreadState* __tstate = wxPyBeginAllowThreads();
15773 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
15774
15775 wxPyEndAllowThreads(__tstate);
15776 if (PyErr_Occurred()) SWIG_fail;
15777 }
15778 {
15779 wxSize * resultptr;
15780 resultptr = new wxSize((wxSize &) result);
15781 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15782 }
15783 return resultobj;
15784 fail:
15785 return NULL;
15786 }
15787
15788
15789 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15790 PyObject *resultobj;
15791 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15792 PyObject * obj0 = 0 ;
15793 char *kwnames[] = {
15794 (char *) "self", NULL
15795 };
15796
15797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
15798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15799 {
15800 PyThreadState* __tstate = wxPyBeginAllowThreads();
15801 (arg1)->base_InitDialog();
15802
15803 wxPyEndAllowThreads(__tstate);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 Py_INCREF(Py_None); resultobj = Py_None;
15807 return resultobj;
15808 fail:
15809 return NULL;
15810 }
15811
15812
15813 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15814 PyObject *resultobj;
15815 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15816 bool result;
15817 PyObject * obj0 = 0 ;
15818 char *kwnames[] = {
15819 (char *) "self", NULL
15820 };
15821
15822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 result = (bool)(arg1)->base_TransferDataToWindow();
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 resultobj = SWIG_PyObj_FromBool((bool)result);
15832 return resultobj;
15833 fail:
15834 return NULL;
15835 }
15836
15837
15838 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15841 bool result;
15842 PyObject * obj0 = 0 ;
15843 char *kwnames[] = {
15844 (char *) "self", NULL
15845 };
15846
15847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 result = (bool)(arg1)->base_TransferDataFromWindow();
15852
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 resultobj = SWIG_PyObj_FromBool((bool)result);
15857 return resultobj;
15858 fail:
15859 return NULL;
15860 }
15861
15862
15863 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15864 PyObject *resultobj;
15865 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15866 bool result;
15867 PyObject * obj0 = 0 ;
15868 char *kwnames[] = {
15869 (char *) "self", NULL
15870 };
15871
15872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
15873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15874 {
15875 PyThreadState* __tstate = wxPyBeginAllowThreads();
15876 result = (bool)(arg1)->base_Validate();
15877
15878 wxPyEndAllowThreads(__tstate);
15879 if (PyErr_Occurred()) SWIG_fail;
15880 }
15881 resultobj = SWIG_PyObj_FromBool((bool)result);
15882 return resultobj;
15883 fail:
15884 return NULL;
15885 }
15886
15887
15888 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15889 PyObject *resultobj;
15890 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15891 bool result;
15892 PyObject * obj0 = 0 ;
15893 char *kwnames[] = {
15894 (char *) "self", NULL
15895 };
15896
15897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15899 {
15900 PyThreadState* __tstate = wxPyBeginAllowThreads();
15901 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
15902
15903 wxPyEndAllowThreads(__tstate);
15904 if (PyErr_Occurred()) SWIG_fail;
15905 }
15906 resultobj = SWIG_PyObj_FromBool((bool)result);
15907 return resultobj;
15908 fail:
15909 return NULL;
15910 }
15911
15912
15913 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15914 PyObject *resultobj;
15915 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15916 bool result;
15917 PyObject * obj0 = 0 ;
15918 char *kwnames[] = {
15919 (char *) "self", NULL
15920 };
15921
15922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
15927
15928 wxPyEndAllowThreads(__tstate);
15929 if (PyErr_Occurred()) SWIG_fail;
15930 }
15931 resultobj = SWIG_PyObj_FromBool((bool)result);
15932 return resultobj;
15933 fail:
15934 return NULL;
15935 }
15936
15937
15938 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15941 wxSize result;
15942 PyObject * obj0 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self", NULL
15945 };
15946
15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
15948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15949 {
15950 PyThreadState* __tstate = wxPyBeginAllowThreads();
15951 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
15952
15953 wxPyEndAllowThreads(__tstate);
15954 if (PyErr_Occurred()) SWIG_fail;
15955 }
15956 {
15957 wxSize * resultptr;
15958 resultptr = new wxSize((wxSize &) result);
15959 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15960 }
15961 return resultobj;
15962 fail:
15963 return NULL;
15964 }
15965
15966
15967 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15968 PyObject *resultobj;
15969 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15970 wxWindow *arg2 = (wxWindow *) 0 ;
15971 PyObject * obj0 = 0 ;
15972 PyObject * obj1 = 0 ;
15973 char *kwnames[] = {
15974 (char *) "self",(char *) "child", NULL
15975 };
15976
15977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15979 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15980 {
15981 PyThreadState* __tstate = wxPyBeginAllowThreads();
15982 (arg1)->base_AddChild(arg2);
15983
15984 wxPyEndAllowThreads(__tstate);
15985 if (PyErr_Occurred()) SWIG_fail;
15986 }
15987 Py_INCREF(Py_None); resultobj = Py_None;
15988 return resultobj;
15989 fail:
15990 return NULL;
15991 }
15992
15993
15994 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15995 PyObject *resultobj;
15996 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15997 wxWindow *arg2 = (wxWindow *) 0 ;
15998 PyObject * obj0 = 0 ;
15999 PyObject * obj1 = 0 ;
16000 char *kwnames[] = {
16001 (char *) "self",(char *) "child", NULL
16002 };
16003
16004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16006 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16007 {
16008 PyThreadState* __tstate = wxPyBeginAllowThreads();
16009 (arg1)->base_RemoveChild(arg2);
16010
16011 wxPyEndAllowThreads(__tstate);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 }
16014 Py_INCREF(Py_None); resultobj = Py_None;
16015 return resultobj;
16016 fail:
16017 return NULL;
16018 }
16019
16020
16021 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16022 PyObject *obj;
16023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16024 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16025 Py_INCREF(obj);
16026 return Py_BuildValue((char *)"");
16027 }
16028 static int _wrap_PrintoutTitleStr_set(PyObject *) {
16029 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
16030 return 1;
16031 }
16032
16033
16034 static PyObject *_wrap_PrintoutTitleStr_get() {
16035 PyObject *pyobj;
16036
16037 {
16038 #if wxUSE_UNICODE
16039 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16040 #else
16041 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16042 #endif
16043 }
16044 return pyobj;
16045 }
16046
16047
16048 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
16049 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
16050 return 1;
16051 }
16052
16053
16054 static PyObject *_wrap_PreviewCanvasNameStr_get() {
16055 PyObject *pyobj;
16056
16057 {
16058 #if wxUSE_UNICODE
16059 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16060 #else
16061 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16062 #endif
16063 }
16064 return pyobj;
16065 }
16066
16067
16068 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16069 PyObject *resultobj;
16070 wxPrintData *result;
16071 char *kwnames[] = {
16072 NULL
16073 };
16074
16075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
16076 {
16077 PyThreadState* __tstate = wxPyBeginAllowThreads();
16078 result = (wxPrintData *)new wxPrintData();
16079
16080 wxPyEndAllowThreads(__tstate);
16081 if (PyErr_Occurred()) SWIG_fail;
16082 }
16083 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
16084 return resultobj;
16085 fail:
16086 return NULL;
16087 }
16088
16089
16090 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16091 PyObject *resultobj;
16092 wxPrintData *arg1 = (wxPrintData *) 0 ;
16093 PyObject * obj0 = 0 ;
16094 char *kwnames[] = {
16095 (char *) "self", NULL
16096 };
16097
16098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
16099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16100 {
16101 PyThreadState* __tstate = wxPyBeginAllowThreads();
16102 delete arg1;
16103
16104 wxPyEndAllowThreads(__tstate);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 Py_INCREF(Py_None); resultobj = Py_None;
16108 return resultobj;
16109 fail:
16110 return NULL;
16111 }
16112
16113
16114 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj;
16116 wxPrintData *arg1 = (wxPrintData *) 0 ;
16117 int result;
16118 PyObject * obj0 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
16124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16125 {
16126 PyThreadState* __tstate = wxPyBeginAllowThreads();
16127 result = (int)(arg1)->GetNoCopies();
16128
16129 wxPyEndAllowThreads(__tstate);
16130 if (PyErr_Occurred()) SWIG_fail;
16131 }
16132 resultobj = SWIG_PyObj_FromInt((int)result);
16133 return resultobj;
16134 fail:
16135 return NULL;
16136 }
16137
16138
16139 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
16141 wxPrintData *arg1 = (wxPrintData *) 0 ;
16142 bool result;
16143 PyObject * obj0 = 0 ;
16144 char *kwnames[] = {
16145 (char *) "self", NULL
16146 };
16147
16148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
16149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16150 {
16151 PyThreadState* __tstate = wxPyBeginAllowThreads();
16152 result = (bool)(arg1)->GetCollate();
16153
16154 wxPyEndAllowThreads(__tstate);
16155 if (PyErr_Occurred()) SWIG_fail;
16156 }
16157 resultobj = SWIG_PyObj_FromBool((bool)result);
16158 return resultobj;
16159 fail:
16160 return NULL;
16161 }
16162
16163
16164 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj;
16166 wxPrintData *arg1 = (wxPrintData *) 0 ;
16167 int result;
16168 PyObject * obj0 = 0 ;
16169 char *kwnames[] = {
16170 (char *) "self", NULL
16171 };
16172
16173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
16174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16175 {
16176 PyThreadState* __tstate = wxPyBeginAllowThreads();
16177 result = (int)(arg1)->GetOrientation();
16178
16179 wxPyEndAllowThreads(__tstate);
16180 if (PyErr_Occurred()) SWIG_fail;
16181 }
16182 resultobj = SWIG_PyObj_FromInt((int)result);
16183 return resultobj;
16184 fail:
16185 return NULL;
16186 }
16187
16188
16189 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16190 PyObject *resultobj;
16191 wxPrintData *arg1 = (wxPrintData *) 0 ;
16192 bool result;
16193 PyObject * obj0 = 0 ;
16194 char *kwnames[] = {
16195 (char *) "self", NULL
16196 };
16197
16198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
16199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16200 {
16201 PyThreadState* __tstate = wxPyBeginAllowThreads();
16202 result = (bool)(arg1)->Ok();
16203
16204 wxPyEndAllowThreads(__tstate);
16205 if (PyErr_Occurred()) SWIG_fail;
16206 }
16207 resultobj = SWIG_PyObj_FromBool((bool)result);
16208 return resultobj;
16209 fail:
16210 return NULL;
16211 }
16212
16213
16214 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16215 PyObject *resultobj;
16216 wxPrintData *arg1 = (wxPrintData *) 0 ;
16217 wxString *result;
16218 PyObject * obj0 = 0 ;
16219 char *kwnames[] = {
16220 (char *) "self", NULL
16221 };
16222
16223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
16224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 {
16228 wxString const &_result_ref = (arg1)->GetPrinterName();
16229 result = (wxString *) &_result_ref;
16230 }
16231
16232 wxPyEndAllowThreads(__tstate);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 }
16235 {
16236 #if wxUSE_UNICODE
16237 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16238 #else
16239 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16240 #endif
16241 }
16242 return resultobj;
16243 fail:
16244 return NULL;
16245 }
16246
16247
16248 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16249 PyObject *resultobj;
16250 wxPrintData *arg1 = (wxPrintData *) 0 ;
16251 bool result;
16252 PyObject * obj0 = 0 ;
16253 char *kwnames[] = {
16254 (char *) "self", NULL
16255 };
16256
16257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
16258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16259 {
16260 PyThreadState* __tstate = wxPyBeginAllowThreads();
16261 result = (bool)(arg1)->GetColour();
16262
16263 wxPyEndAllowThreads(__tstate);
16264 if (PyErr_Occurred()) SWIG_fail;
16265 }
16266 resultobj = SWIG_PyObj_FromBool((bool)result);
16267 return resultobj;
16268 fail:
16269 return NULL;
16270 }
16271
16272
16273 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16274 PyObject *resultobj;
16275 wxPrintData *arg1 = (wxPrintData *) 0 ;
16276 int result;
16277 PyObject * obj0 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "self", NULL
16280 };
16281
16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
16283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16284 {
16285 PyThreadState* __tstate = wxPyBeginAllowThreads();
16286 result = (int)(arg1)->GetDuplex();
16287
16288 wxPyEndAllowThreads(__tstate);
16289 if (PyErr_Occurred()) SWIG_fail;
16290 }
16291 resultobj = SWIG_PyObj_FromInt((int)result);
16292 return resultobj;
16293 fail:
16294 return NULL;
16295 }
16296
16297
16298 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16299 PyObject *resultobj;
16300 wxPrintData *arg1 = (wxPrintData *) 0 ;
16301 int result;
16302 PyObject * obj0 = 0 ;
16303 char *kwnames[] = {
16304 (char *) "self", NULL
16305 };
16306
16307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
16308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 result = (int)(arg1)->GetPaperId();
16312
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 resultobj = SWIG_PyObj_FromInt((int)result);
16317 return resultobj;
16318 fail:
16319 return NULL;
16320 }
16321
16322
16323 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16324 PyObject *resultobj;
16325 wxPrintData *arg1 = (wxPrintData *) 0 ;
16326 wxSize *result;
16327 PyObject * obj0 = 0 ;
16328 char *kwnames[] = {
16329 (char *) "self", NULL
16330 };
16331
16332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
16333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16334 {
16335 PyThreadState* __tstate = wxPyBeginAllowThreads();
16336 {
16337 wxSize const &_result_ref = (arg1)->GetPaperSize();
16338 result = (wxSize *) &_result_ref;
16339 }
16340
16341 wxPyEndAllowThreads(__tstate);
16342 if (PyErr_Occurred()) SWIG_fail;
16343 }
16344 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
16345 return resultobj;
16346 fail:
16347 return NULL;
16348 }
16349
16350
16351 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16352 PyObject *resultobj;
16353 wxPrintData *arg1 = (wxPrintData *) 0 ;
16354 int result;
16355 PyObject * obj0 = 0 ;
16356 char *kwnames[] = {
16357 (char *) "self", NULL
16358 };
16359
16360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
16361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 result = (int)(arg1)->GetQuality();
16365
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 resultobj = SWIG_PyObj_FromInt((int)result);
16370 return resultobj;
16371 fail:
16372 return NULL;
16373 }
16374
16375
16376 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16377 PyObject *resultobj;
16378 wxPrintData *arg1 = (wxPrintData *) 0 ;
16379 int arg2 ;
16380 PyObject * obj0 = 0 ;
16381 PyObject * obj1 = 0 ;
16382 char *kwnames[] = {
16383 (char *) "self",(char *) "v", NULL
16384 };
16385
16386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
16387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16388 {
16389 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16390 if (PyErr_Occurred()) SWIG_fail;
16391 }
16392 {
16393 PyThreadState* __tstate = wxPyBeginAllowThreads();
16394 (arg1)->SetNoCopies(arg2);
16395
16396 wxPyEndAllowThreads(__tstate);
16397 if (PyErr_Occurred()) SWIG_fail;
16398 }
16399 Py_INCREF(Py_None); resultobj = Py_None;
16400 return resultobj;
16401 fail:
16402 return NULL;
16403 }
16404
16405
16406 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16407 PyObject *resultobj;
16408 wxPrintData *arg1 = (wxPrintData *) 0 ;
16409 bool arg2 ;
16410 PyObject * obj0 = 0 ;
16411 PyObject * obj1 = 0 ;
16412 char *kwnames[] = {
16413 (char *) "self",(char *) "flag", NULL
16414 };
16415
16416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
16417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16418 {
16419 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16420 if (PyErr_Occurred()) SWIG_fail;
16421 }
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 (arg1)->SetCollate(arg2);
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
16429 Py_INCREF(Py_None); resultobj = Py_None;
16430 return resultobj;
16431 fail:
16432 return NULL;
16433 }
16434
16435
16436 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16437 PyObject *resultobj;
16438 wxPrintData *arg1 = (wxPrintData *) 0 ;
16439 int arg2 ;
16440 PyObject * obj0 = 0 ;
16441 PyObject * obj1 = 0 ;
16442 char *kwnames[] = {
16443 (char *) "self",(char *) "orient", NULL
16444 };
16445
16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
16447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16448 {
16449 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 }
16452 {
16453 PyThreadState* __tstate = wxPyBeginAllowThreads();
16454 (arg1)->SetOrientation(arg2);
16455
16456 wxPyEndAllowThreads(__tstate);
16457 if (PyErr_Occurred()) SWIG_fail;
16458 }
16459 Py_INCREF(Py_None); resultobj = Py_None;
16460 return resultobj;
16461 fail:
16462 return NULL;
16463 }
16464
16465
16466 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16467 PyObject *resultobj;
16468 wxPrintData *arg1 = (wxPrintData *) 0 ;
16469 wxString *arg2 = 0 ;
16470 bool temp2 = False ;
16471 PyObject * obj0 = 0 ;
16472 PyObject * obj1 = 0 ;
16473 char *kwnames[] = {
16474 (char *) "self",(char *) "name", NULL
16475 };
16476
16477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
16478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16479 {
16480 arg2 = wxString_in_helper(obj1);
16481 if (arg2 == NULL) SWIG_fail;
16482 temp2 = True;
16483 }
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 (arg1)->SetPrinterName((wxString const &)*arg2);
16487
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 Py_INCREF(Py_None); resultobj = Py_None;
16492 {
16493 if (temp2)
16494 delete arg2;
16495 }
16496 return resultobj;
16497 fail:
16498 {
16499 if (temp2)
16500 delete arg2;
16501 }
16502 return NULL;
16503 }
16504
16505
16506 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16507 PyObject *resultobj;
16508 wxPrintData *arg1 = (wxPrintData *) 0 ;
16509 bool arg2 ;
16510 PyObject * obj0 = 0 ;
16511 PyObject * obj1 = 0 ;
16512 char *kwnames[] = {
16513 (char *) "self",(char *) "colour", NULL
16514 };
16515
16516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
16517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16518 {
16519 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 {
16523 PyThreadState* __tstate = wxPyBeginAllowThreads();
16524 (arg1)->SetColour(arg2);
16525
16526 wxPyEndAllowThreads(__tstate);
16527 if (PyErr_Occurred()) SWIG_fail;
16528 }
16529 Py_INCREF(Py_None); resultobj = Py_None;
16530 return resultobj;
16531 fail:
16532 return NULL;
16533 }
16534
16535
16536 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16537 PyObject *resultobj;
16538 wxPrintData *arg1 = (wxPrintData *) 0 ;
16539 int arg2 ;
16540 PyObject * obj0 = 0 ;
16541 PyObject * obj1 = 0 ;
16542 char *kwnames[] = {
16543 (char *) "self",(char *) "duplex", NULL
16544 };
16545
16546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
16547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16548 {
16549 arg2 = (wxDuplexMode) SWIG_PyObj_AsInt(obj1);
16550 if (PyErr_Occurred()) SWIG_fail;
16551 }
16552 {
16553 PyThreadState* __tstate = wxPyBeginAllowThreads();
16554 (arg1)->SetDuplex((wxDuplexMode )arg2);
16555
16556 wxPyEndAllowThreads(__tstate);
16557 if (PyErr_Occurred()) SWIG_fail;
16558 }
16559 Py_INCREF(Py_None); resultobj = Py_None;
16560 return resultobj;
16561 fail:
16562 return NULL;
16563 }
16564
16565
16566 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16567 PyObject *resultobj;
16568 wxPrintData *arg1 = (wxPrintData *) 0 ;
16569 int arg2 ;
16570 PyObject * obj0 = 0 ;
16571 PyObject * obj1 = 0 ;
16572 char *kwnames[] = {
16573 (char *) "self",(char *) "sizeId", NULL
16574 };
16575
16576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
16577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16578 {
16579 arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 }
16582 {
16583 PyThreadState* __tstate = wxPyBeginAllowThreads();
16584 (arg1)->SetPaperId((wxPaperSize )arg2);
16585
16586 wxPyEndAllowThreads(__tstate);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 }
16589 Py_INCREF(Py_None); resultobj = Py_None;
16590 return resultobj;
16591 fail:
16592 return NULL;
16593 }
16594
16595
16596 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16597 PyObject *resultobj;
16598 wxPrintData *arg1 = (wxPrintData *) 0 ;
16599 wxSize *arg2 = 0 ;
16600 wxSize temp2 ;
16601 PyObject * obj0 = 0 ;
16602 PyObject * obj1 = 0 ;
16603 char *kwnames[] = {
16604 (char *) "self",(char *) "sz", NULL
16605 };
16606
16607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16609 {
16610 arg2 = &temp2;
16611 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16612 }
16613 {
16614 PyThreadState* __tstate = wxPyBeginAllowThreads();
16615 (arg1)->SetPaperSize((wxSize const &)*arg2);
16616
16617 wxPyEndAllowThreads(__tstate);
16618 if (PyErr_Occurred()) SWIG_fail;
16619 }
16620 Py_INCREF(Py_None); resultobj = Py_None;
16621 return resultobj;
16622 fail:
16623 return NULL;
16624 }
16625
16626
16627 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16628 PyObject *resultobj;
16629 wxPrintData *arg1 = (wxPrintData *) 0 ;
16630 int arg2 ;
16631 PyObject * obj0 = 0 ;
16632 PyObject * obj1 = 0 ;
16633 char *kwnames[] = {
16634 (char *) "self",(char *) "quality", NULL
16635 };
16636
16637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
16638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16639 {
16640 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 {
16644 PyThreadState* __tstate = wxPyBeginAllowThreads();
16645 (arg1)->SetQuality(arg2);
16646
16647 wxPyEndAllowThreads(__tstate);
16648 if (PyErr_Occurred()) SWIG_fail;
16649 }
16650 Py_INCREF(Py_None); resultobj = Py_None;
16651 return resultobj;
16652 fail:
16653 return NULL;
16654 }
16655
16656
16657 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16658 PyObject *resultobj;
16659 wxPrintData *arg1 = (wxPrintData *) 0 ;
16660 wxString *result;
16661 PyObject * obj0 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "self", NULL
16664 };
16665
16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
16667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 {
16671 wxString const &_result_ref = (arg1)->GetPrinterCommand();
16672 result = (wxString *) &_result_ref;
16673 }
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 {
16679 #if wxUSE_UNICODE
16680 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16681 #else
16682 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16683 #endif
16684 }
16685 return resultobj;
16686 fail:
16687 return NULL;
16688 }
16689
16690
16691 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
16692 PyObject *resultobj;
16693 wxPrintData *arg1 = (wxPrintData *) 0 ;
16694 wxString *result;
16695 PyObject * obj0 = 0 ;
16696 char *kwnames[] = {
16697 (char *) "self", NULL
16698 };
16699
16700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
16701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16702 {
16703 PyThreadState* __tstate = wxPyBeginAllowThreads();
16704 {
16705 wxString const &_result_ref = (arg1)->GetPrinterOptions();
16706 result = (wxString *) &_result_ref;
16707 }
16708
16709 wxPyEndAllowThreads(__tstate);
16710 if (PyErr_Occurred()) SWIG_fail;
16711 }
16712 {
16713 #if wxUSE_UNICODE
16714 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16715 #else
16716 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16717 #endif
16718 }
16719 return resultobj;
16720 fail:
16721 return NULL;
16722 }
16723
16724
16725 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16726 PyObject *resultobj;
16727 wxPrintData *arg1 = (wxPrintData *) 0 ;
16728 wxString *result;
16729 PyObject * obj0 = 0 ;
16730 char *kwnames[] = {
16731 (char *) "self", NULL
16732 };
16733
16734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
16735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16736 {
16737 PyThreadState* __tstate = wxPyBeginAllowThreads();
16738 {
16739 wxString const &_result_ref = (arg1)->GetPreviewCommand();
16740 result = (wxString *) &_result_ref;
16741 }
16742
16743 wxPyEndAllowThreads(__tstate);
16744 if (PyErr_Occurred()) SWIG_fail;
16745 }
16746 {
16747 #if wxUSE_UNICODE
16748 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16749 #else
16750 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16751 #endif
16752 }
16753 return resultobj;
16754 fail:
16755 return NULL;
16756 }
16757
16758
16759 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
16760 PyObject *resultobj;
16761 wxPrintData *arg1 = (wxPrintData *) 0 ;
16762 wxString *result;
16763 PyObject * obj0 = 0 ;
16764 char *kwnames[] = {
16765 (char *) "self", NULL
16766 };
16767
16768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
16769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 {
16773 wxString const &_result_ref = (arg1)->GetFilename();
16774 result = (wxString *) &_result_ref;
16775 }
16776
16777 wxPyEndAllowThreads(__tstate);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 }
16780 {
16781 #if wxUSE_UNICODE
16782 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16783 #else
16784 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16785 #endif
16786 }
16787 return resultobj;
16788 fail:
16789 return NULL;
16790 }
16791
16792
16793 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
16794 PyObject *resultobj;
16795 wxPrintData *arg1 = (wxPrintData *) 0 ;
16796 wxString *result;
16797 PyObject * obj0 = 0 ;
16798 char *kwnames[] = {
16799 (char *) "self", NULL
16800 };
16801
16802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
16803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16804 {
16805 PyThreadState* __tstate = wxPyBeginAllowThreads();
16806 {
16807 wxString const &_result_ref = (arg1)->GetFontMetricPath();
16808 result = (wxString *) &_result_ref;
16809 }
16810
16811 wxPyEndAllowThreads(__tstate);
16812 if (PyErr_Occurred()) SWIG_fail;
16813 }
16814 {
16815 #if wxUSE_UNICODE
16816 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16817 #else
16818 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16819 #endif
16820 }
16821 return resultobj;
16822 fail:
16823 return NULL;
16824 }
16825
16826
16827 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
16828 PyObject *resultobj;
16829 wxPrintData *arg1 = (wxPrintData *) 0 ;
16830 double result;
16831 PyObject * obj0 = 0 ;
16832 char *kwnames[] = {
16833 (char *) "self", NULL
16834 };
16835
16836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
16837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16838 {
16839 PyThreadState* __tstate = wxPyBeginAllowThreads();
16840 result = (double)(arg1)->GetPrinterScaleX();
16841
16842 wxPyEndAllowThreads(__tstate);
16843 if (PyErr_Occurred()) SWIG_fail;
16844 }
16845 resultobj = SWIG_PyObj_FromDouble((double)result);
16846 return resultobj;
16847 fail:
16848 return NULL;
16849 }
16850
16851
16852 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16853 PyObject *resultobj;
16854 wxPrintData *arg1 = (wxPrintData *) 0 ;
16855 double result;
16856 PyObject * obj0 = 0 ;
16857 char *kwnames[] = {
16858 (char *) "self", NULL
16859 };
16860
16861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
16862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16863 {
16864 PyThreadState* __tstate = wxPyBeginAllowThreads();
16865 result = (double)(arg1)->GetPrinterScaleY();
16866
16867 wxPyEndAllowThreads(__tstate);
16868 if (PyErr_Occurred()) SWIG_fail;
16869 }
16870 resultobj = SWIG_PyObj_FromDouble((double)result);
16871 return resultobj;
16872 fail:
16873 return NULL;
16874 }
16875
16876
16877 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16878 PyObject *resultobj;
16879 wxPrintData *arg1 = (wxPrintData *) 0 ;
16880 long result;
16881 PyObject * obj0 = 0 ;
16882 char *kwnames[] = {
16883 (char *) "self", NULL
16884 };
16885
16886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
16887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16888 {
16889 PyThreadState* __tstate = wxPyBeginAllowThreads();
16890 result = (long)(arg1)->GetPrinterTranslateX();
16891
16892 wxPyEndAllowThreads(__tstate);
16893 if (PyErr_Occurred()) SWIG_fail;
16894 }
16895 resultobj = SWIG_PyObj_FromLong((long)result);
16896 return resultobj;
16897 fail:
16898 return NULL;
16899 }
16900
16901
16902 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, 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_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
16912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16913 {
16914 PyThreadState* __tstate = wxPyBeginAllowThreads();
16915 result = (long)(arg1)->GetPrinterTranslateY();
16916
16917 wxPyEndAllowThreads(__tstate);
16918 if (PyErr_Occurred()) SWIG_fail;
16919 }
16920 resultobj = SWIG_PyObj_FromLong((long)result);
16921 return resultobj;
16922 fail:
16923 return NULL;
16924 }
16925
16926
16927 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16928 PyObject *resultobj;
16929 wxPrintData *arg1 = (wxPrintData *) 0 ;
16930 int result;
16931 PyObject * obj0 = 0 ;
16932 char *kwnames[] = {
16933 (char *) "self", NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
16937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 result = (int)(arg1)->GetPrintMode();
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 resultobj = SWIG_PyObj_FromInt((int)result);
16946 return resultobj;
16947 fail:
16948 return NULL;
16949 }
16950
16951
16952 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16953 PyObject *resultobj;
16954 wxPrintData *arg1 = (wxPrintData *) 0 ;
16955 wxString *arg2 = 0 ;
16956 bool temp2 = False ;
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
16959 char *kwnames[] = {
16960 (char *) "self",(char *) "command", NULL
16961 };
16962
16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
16964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16965 {
16966 arg2 = wxString_in_helper(obj1);
16967 if (arg2 == NULL) SWIG_fail;
16968 temp2 = True;
16969 }
16970 {
16971 PyThreadState* __tstate = wxPyBeginAllowThreads();
16972 (arg1)->SetPrinterCommand((wxString const &)*arg2);
16973
16974 wxPyEndAllowThreads(__tstate);
16975 if (PyErr_Occurred()) SWIG_fail;
16976 }
16977 Py_INCREF(Py_None); resultobj = Py_None;
16978 {
16979 if (temp2)
16980 delete arg2;
16981 }
16982 return resultobj;
16983 fail:
16984 {
16985 if (temp2)
16986 delete arg2;
16987 }
16988 return NULL;
16989 }
16990
16991
16992 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj;
16994 wxPrintData *arg1 = (wxPrintData *) 0 ;
16995 wxString *arg2 = 0 ;
16996 bool temp2 = False ;
16997 PyObject * obj0 = 0 ;
16998 PyObject * obj1 = 0 ;
16999 char *kwnames[] = {
17000 (char *) "self",(char *) "options", NULL
17001 };
17002
17003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
17004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17005 {
17006 arg2 = wxString_in_helper(obj1);
17007 if (arg2 == NULL) SWIG_fail;
17008 temp2 = True;
17009 }
17010 {
17011 PyThreadState* __tstate = wxPyBeginAllowThreads();
17012 (arg1)->SetPrinterOptions((wxString const &)*arg2);
17013
17014 wxPyEndAllowThreads(__tstate);
17015 if (PyErr_Occurred()) SWIG_fail;
17016 }
17017 Py_INCREF(Py_None); resultobj = Py_None;
17018 {
17019 if (temp2)
17020 delete arg2;
17021 }
17022 return resultobj;
17023 fail:
17024 {
17025 if (temp2)
17026 delete arg2;
17027 }
17028 return NULL;
17029 }
17030
17031
17032 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj;
17034 wxPrintData *arg1 = (wxPrintData *) 0 ;
17035 wxString *arg2 = 0 ;
17036 bool temp2 = False ;
17037 PyObject * obj0 = 0 ;
17038 PyObject * obj1 = 0 ;
17039 char *kwnames[] = {
17040 (char *) "self",(char *) "command", NULL
17041 };
17042
17043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
17044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17045 {
17046 arg2 = wxString_in_helper(obj1);
17047 if (arg2 == NULL) SWIG_fail;
17048 temp2 = True;
17049 }
17050 {
17051 PyThreadState* __tstate = wxPyBeginAllowThreads();
17052 (arg1)->SetPreviewCommand((wxString const &)*arg2);
17053
17054 wxPyEndAllowThreads(__tstate);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 }
17057 Py_INCREF(Py_None); resultobj = Py_None;
17058 {
17059 if (temp2)
17060 delete arg2;
17061 }
17062 return resultobj;
17063 fail:
17064 {
17065 if (temp2)
17066 delete arg2;
17067 }
17068 return NULL;
17069 }
17070
17071
17072 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17073 PyObject *resultobj;
17074 wxPrintData *arg1 = (wxPrintData *) 0 ;
17075 wxString *arg2 = 0 ;
17076 bool temp2 = False ;
17077 PyObject * obj0 = 0 ;
17078 PyObject * obj1 = 0 ;
17079 char *kwnames[] = {
17080 (char *) "self",(char *) "filename", NULL
17081 };
17082
17083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
17084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17085 {
17086 arg2 = wxString_in_helper(obj1);
17087 if (arg2 == NULL) SWIG_fail;
17088 temp2 = True;
17089 }
17090 {
17091 PyThreadState* __tstate = wxPyBeginAllowThreads();
17092 (arg1)->SetFilename((wxString const &)*arg2);
17093
17094 wxPyEndAllowThreads(__tstate);
17095 if (PyErr_Occurred()) SWIG_fail;
17096 }
17097 Py_INCREF(Py_None); resultobj = Py_None;
17098 {
17099 if (temp2)
17100 delete arg2;
17101 }
17102 return resultobj;
17103 fail:
17104 {
17105 if (temp2)
17106 delete arg2;
17107 }
17108 return NULL;
17109 }
17110
17111
17112 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17113 PyObject *resultobj;
17114 wxPrintData *arg1 = (wxPrintData *) 0 ;
17115 wxString *arg2 = 0 ;
17116 bool temp2 = False ;
17117 PyObject * obj0 = 0 ;
17118 PyObject * obj1 = 0 ;
17119 char *kwnames[] = {
17120 (char *) "self",(char *) "path", NULL
17121 };
17122
17123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
17124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17125 {
17126 arg2 = wxString_in_helper(obj1);
17127 if (arg2 == NULL) SWIG_fail;
17128 temp2 = True;
17129 }
17130 {
17131 PyThreadState* __tstate = wxPyBeginAllowThreads();
17132 (arg1)->SetFontMetricPath((wxString const &)*arg2);
17133
17134 wxPyEndAllowThreads(__tstate);
17135 if (PyErr_Occurred()) SWIG_fail;
17136 }
17137 Py_INCREF(Py_None); resultobj = Py_None;
17138 {
17139 if (temp2)
17140 delete arg2;
17141 }
17142 return resultobj;
17143 fail:
17144 {
17145 if (temp2)
17146 delete arg2;
17147 }
17148 return NULL;
17149 }
17150
17151
17152 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17153 PyObject *resultobj;
17154 wxPrintData *arg1 = (wxPrintData *) 0 ;
17155 double arg2 ;
17156 PyObject * obj0 = 0 ;
17157 PyObject * obj1 = 0 ;
17158 char *kwnames[] = {
17159 (char *) "self",(char *) "x", NULL
17160 };
17161
17162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
17163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17164 {
17165 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 {
17169 PyThreadState* __tstate = wxPyBeginAllowThreads();
17170 (arg1)->SetPrinterScaleX(arg2);
17171
17172 wxPyEndAllowThreads(__tstate);
17173 if (PyErr_Occurred()) SWIG_fail;
17174 }
17175 Py_INCREF(Py_None); resultobj = Py_None;
17176 return resultobj;
17177 fail:
17178 return NULL;
17179 }
17180
17181
17182 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17183 PyObject *resultobj;
17184 wxPrintData *arg1 = (wxPrintData *) 0 ;
17185 double arg2 ;
17186 PyObject * obj0 = 0 ;
17187 PyObject * obj1 = 0 ;
17188 char *kwnames[] = {
17189 (char *) "self",(char *) "y", NULL
17190 };
17191
17192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
17193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17194 {
17195 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17196 if (PyErr_Occurred()) SWIG_fail;
17197 }
17198 {
17199 PyThreadState* __tstate = wxPyBeginAllowThreads();
17200 (arg1)->SetPrinterScaleY(arg2);
17201
17202 wxPyEndAllowThreads(__tstate);
17203 if (PyErr_Occurred()) SWIG_fail;
17204 }
17205 Py_INCREF(Py_None); resultobj = Py_None;
17206 return resultobj;
17207 fail:
17208 return NULL;
17209 }
17210
17211
17212 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
17213 PyObject *resultobj;
17214 wxPrintData *arg1 = (wxPrintData *) 0 ;
17215 double arg2 ;
17216 double arg3 ;
17217 PyObject * obj0 = 0 ;
17218 PyObject * obj1 = 0 ;
17219 PyObject * obj2 = 0 ;
17220 char *kwnames[] = {
17221 (char *) "self",(char *) "x",(char *) "y", NULL
17222 };
17223
17224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
17225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17226 {
17227 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17228 if (PyErr_Occurred()) SWIG_fail;
17229 }
17230 {
17231 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 }
17234 {
17235 PyThreadState* __tstate = wxPyBeginAllowThreads();
17236 (arg1)->SetPrinterScaling(arg2,arg3);
17237
17238 wxPyEndAllowThreads(__tstate);
17239 if (PyErr_Occurred()) SWIG_fail;
17240 }
17241 Py_INCREF(Py_None); resultobj = Py_None;
17242 return resultobj;
17243 fail:
17244 return NULL;
17245 }
17246
17247
17248 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17249 PyObject *resultobj;
17250 wxPrintData *arg1 = (wxPrintData *) 0 ;
17251 long arg2 ;
17252 PyObject * obj0 = 0 ;
17253 PyObject * obj1 = 0 ;
17254 char *kwnames[] = {
17255 (char *) "self",(char *) "x", NULL
17256 };
17257
17258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
17259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17260 {
17261 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17262 if (PyErr_Occurred()) SWIG_fail;
17263 }
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
17266 (arg1)->SetPrinterTranslateX(arg2);
17267
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 Py_INCREF(Py_None); resultobj = Py_None;
17272 return resultobj;
17273 fail:
17274 return NULL;
17275 }
17276
17277
17278 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17279 PyObject *resultobj;
17280 wxPrintData *arg1 = (wxPrintData *) 0 ;
17281 long arg2 ;
17282 PyObject * obj0 = 0 ;
17283 PyObject * obj1 = 0 ;
17284 char *kwnames[] = {
17285 (char *) "self",(char *) "y", NULL
17286 };
17287
17288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
17289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17290 {
17291 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17292 if (PyErr_Occurred()) SWIG_fail;
17293 }
17294 {
17295 PyThreadState* __tstate = wxPyBeginAllowThreads();
17296 (arg1)->SetPrinterTranslateY(arg2);
17297
17298 wxPyEndAllowThreads(__tstate);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 }
17301 Py_INCREF(Py_None); resultobj = Py_None;
17302 return resultobj;
17303 fail:
17304 return NULL;
17305 }
17306
17307
17308 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
17309 PyObject *resultobj;
17310 wxPrintData *arg1 = (wxPrintData *) 0 ;
17311 long arg2 ;
17312 long arg3 ;
17313 PyObject * obj0 = 0 ;
17314 PyObject * obj1 = 0 ;
17315 PyObject * obj2 = 0 ;
17316 char *kwnames[] = {
17317 (char *) "self",(char *) "x",(char *) "y", NULL
17318 };
17319
17320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
17321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17322 {
17323 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 {
17327 arg3 = (long) SWIG_PyObj_AsLong(obj2);
17328 if (PyErr_Occurred()) SWIG_fail;
17329 }
17330 {
17331 PyThreadState* __tstate = wxPyBeginAllowThreads();
17332 (arg1)->SetPrinterTranslation(arg2,arg3);
17333
17334 wxPyEndAllowThreads(__tstate);
17335 if (PyErr_Occurred()) SWIG_fail;
17336 }
17337 Py_INCREF(Py_None); resultobj = Py_None;
17338 return resultobj;
17339 fail:
17340 return NULL;
17341 }
17342
17343
17344 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17345 PyObject *resultobj;
17346 wxPrintData *arg1 = (wxPrintData *) 0 ;
17347 int arg2 ;
17348 PyObject * obj0 = 0 ;
17349 PyObject * obj1 = 0 ;
17350 char *kwnames[] = {
17351 (char *) "self",(char *) "printMode", NULL
17352 };
17353
17354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
17355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17356 {
17357 arg2 = (wxPrintMode) SWIG_PyObj_AsInt(obj1);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 {
17361 PyThreadState* __tstate = wxPyBeginAllowThreads();
17362 (arg1)->SetPrintMode((wxPrintMode )arg2);
17363
17364 wxPyEndAllowThreads(__tstate);
17365 if (PyErr_Occurred()) SWIG_fail;
17366 }
17367 Py_INCREF(Py_None); resultobj = Py_None;
17368 return resultobj;
17369 fail:
17370 return NULL;
17371 }
17372
17373
17374 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
17375 PyObject *obj;
17376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17377 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
17378 Py_INCREF(obj);
17379 return Py_BuildValue((char *)"");
17380 }
17381 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17382 PyObject *resultobj;
17383 wxPageSetupDialogData *result;
17384 char *kwnames[] = {
17385 NULL
17386 };
17387
17388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
17389 {
17390 PyThreadState* __tstate = wxPyBeginAllowThreads();
17391 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
17392
17393 wxPyEndAllowThreads(__tstate);
17394 if (PyErr_Occurred()) SWIG_fail;
17395 }
17396 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
17397 return resultobj;
17398 fail:
17399 return NULL;
17400 }
17401
17402
17403 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17404 PyObject *resultobj;
17405 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17406 PyObject * obj0 = 0 ;
17407 char *kwnames[] = {
17408 (char *) "self", NULL
17409 };
17410
17411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
17412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17413 {
17414 PyThreadState* __tstate = wxPyBeginAllowThreads();
17415 delete arg1;
17416
17417 wxPyEndAllowThreads(__tstate);
17418 if (PyErr_Occurred()) SWIG_fail;
17419 }
17420 Py_INCREF(Py_None); resultobj = Py_None;
17421 return resultobj;
17422 fail:
17423 return NULL;
17424 }
17425
17426
17427 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17428 PyObject *resultobj;
17429 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17430 bool arg2 ;
17431 PyObject * obj0 = 0 ;
17432 PyObject * obj1 = 0 ;
17433 char *kwnames[] = {
17434 (char *) "self",(char *) "flag", NULL
17435 };
17436
17437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17439 {
17440 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 {
17444 PyThreadState* __tstate = wxPyBeginAllowThreads();
17445 (arg1)->EnableHelp(arg2);
17446
17447 wxPyEndAllowThreads(__tstate);
17448 if (PyErr_Occurred()) SWIG_fail;
17449 }
17450 Py_INCREF(Py_None); resultobj = Py_None;
17451 return resultobj;
17452 fail:
17453 return NULL;
17454 }
17455
17456
17457 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17458 PyObject *resultobj;
17459 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17460 bool arg2 ;
17461 PyObject * obj0 = 0 ;
17462 PyObject * obj1 = 0 ;
17463 char *kwnames[] = {
17464 (char *) "self",(char *) "flag", NULL
17465 };
17466
17467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
17468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17469 {
17470 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 {
17474 PyThreadState* __tstate = wxPyBeginAllowThreads();
17475 (arg1)->EnableMargins(arg2);
17476
17477 wxPyEndAllowThreads(__tstate);
17478 if (PyErr_Occurred()) SWIG_fail;
17479 }
17480 Py_INCREF(Py_None); resultobj = Py_None;
17481 return resultobj;
17482 fail:
17483 return NULL;
17484 }
17485
17486
17487 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17488 PyObject *resultobj;
17489 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17490 bool arg2 ;
17491 PyObject * obj0 = 0 ;
17492 PyObject * obj1 = 0 ;
17493 char *kwnames[] = {
17494 (char *) "self",(char *) "flag", NULL
17495 };
17496
17497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
17498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17499 {
17500 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17501 if (PyErr_Occurred()) SWIG_fail;
17502 }
17503 {
17504 PyThreadState* __tstate = wxPyBeginAllowThreads();
17505 (arg1)->EnableOrientation(arg2);
17506
17507 wxPyEndAllowThreads(__tstate);
17508 if (PyErr_Occurred()) SWIG_fail;
17509 }
17510 Py_INCREF(Py_None); resultobj = Py_None;
17511 return resultobj;
17512 fail:
17513 return NULL;
17514 }
17515
17516
17517 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17518 PyObject *resultobj;
17519 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17520 bool arg2 ;
17521 PyObject * obj0 = 0 ;
17522 PyObject * obj1 = 0 ;
17523 char *kwnames[] = {
17524 (char *) "self",(char *) "flag", NULL
17525 };
17526
17527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
17528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17529 {
17530 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 }
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 (arg1)->EnablePaper(arg2);
17536
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 Py_INCREF(Py_None); resultobj = Py_None;
17541 return resultobj;
17542 fail:
17543 return NULL;
17544 }
17545
17546
17547 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17548 PyObject *resultobj;
17549 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17550 bool arg2 ;
17551 PyObject * obj0 = 0 ;
17552 PyObject * obj1 = 0 ;
17553 char *kwnames[] = {
17554 (char *) "self",(char *) "flag", NULL
17555 };
17556
17557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
17558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17559 {
17560 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17561 if (PyErr_Occurred()) SWIG_fail;
17562 }
17563 {
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 (arg1)->EnablePrinter(arg2);
17566
17567 wxPyEndAllowThreads(__tstate);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 Py_INCREF(Py_None); resultobj = Py_None;
17571 return resultobj;
17572 fail:
17573 return NULL;
17574 }
17575
17576
17577 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17578 PyObject *resultobj;
17579 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17580 bool result;
17581 PyObject * obj0 = 0 ;
17582 char *kwnames[] = {
17583 (char *) "self", NULL
17584 };
17585
17586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
17587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17588 {
17589 PyThreadState* __tstate = wxPyBeginAllowThreads();
17590 result = (bool)(arg1)->GetDefaultMinMargins();
17591
17592 wxPyEndAllowThreads(__tstate);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 }
17595 resultobj = SWIG_PyObj_FromBool((bool)result);
17596 return resultobj;
17597 fail:
17598 return NULL;
17599 }
17600
17601
17602 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17603 PyObject *resultobj;
17604 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17605 bool result;
17606 PyObject * obj0 = 0 ;
17607 char *kwnames[] = {
17608 (char *) "self", NULL
17609 };
17610
17611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
17612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17613 {
17614 PyThreadState* __tstate = wxPyBeginAllowThreads();
17615 result = (bool)(arg1)->GetEnableMargins();
17616
17617 wxPyEndAllowThreads(__tstate);
17618 if (PyErr_Occurred()) SWIG_fail;
17619 }
17620 resultobj = SWIG_PyObj_FromBool((bool)result);
17621 return resultobj;
17622 fail:
17623 return NULL;
17624 }
17625
17626
17627 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17628 PyObject *resultobj;
17629 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17630 bool result;
17631 PyObject * obj0 = 0 ;
17632 char *kwnames[] = {
17633 (char *) "self", NULL
17634 };
17635
17636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
17637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17638 {
17639 PyThreadState* __tstate = wxPyBeginAllowThreads();
17640 result = (bool)(arg1)->GetEnableOrientation();
17641
17642 wxPyEndAllowThreads(__tstate);
17643 if (PyErr_Occurred()) SWIG_fail;
17644 }
17645 resultobj = SWIG_PyObj_FromBool((bool)result);
17646 return resultobj;
17647 fail:
17648 return NULL;
17649 }
17650
17651
17652 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17653 PyObject *resultobj;
17654 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17655 bool result;
17656 PyObject * obj0 = 0 ;
17657 char *kwnames[] = {
17658 (char *) "self", NULL
17659 };
17660
17661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
17662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17663 {
17664 PyThreadState* __tstate = wxPyBeginAllowThreads();
17665 result = (bool)(arg1)->GetEnablePaper();
17666
17667 wxPyEndAllowThreads(__tstate);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 }
17670 resultobj = SWIG_PyObj_FromBool((bool)result);
17671 return resultobj;
17672 fail:
17673 return NULL;
17674 }
17675
17676
17677 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17678 PyObject *resultobj;
17679 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17680 bool result;
17681 PyObject * obj0 = 0 ;
17682 char *kwnames[] = {
17683 (char *) "self", NULL
17684 };
17685
17686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
17687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17688 {
17689 PyThreadState* __tstate = wxPyBeginAllowThreads();
17690 result = (bool)(arg1)->GetEnablePrinter();
17691
17692 wxPyEndAllowThreads(__tstate);
17693 if (PyErr_Occurred()) SWIG_fail;
17694 }
17695 resultobj = SWIG_PyObj_FromBool((bool)result);
17696 return resultobj;
17697 fail:
17698 return NULL;
17699 }
17700
17701
17702 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17703 PyObject *resultobj;
17704 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17705 bool result;
17706 PyObject * obj0 = 0 ;
17707 char *kwnames[] = {
17708 (char *) "self", NULL
17709 };
17710
17711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17713 {
17714 PyThreadState* __tstate = wxPyBeginAllowThreads();
17715 result = (bool)(arg1)->GetEnableHelp();
17716
17717 wxPyEndAllowThreads(__tstate);
17718 if (PyErr_Occurred()) SWIG_fail;
17719 }
17720 resultobj = SWIG_PyObj_FromBool((bool)result);
17721 return resultobj;
17722 fail:
17723 return NULL;
17724 }
17725
17726
17727 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17728 PyObject *resultobj;
17729 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17730 bool result;
17731 PyObject * obj0 = 0 ;
17732 char *kwnames[] = {
17733 (char *) "self", NULL
17734 };
17735
17736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
17737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17738 {
17739 PyThreadState* __tstate = wxPyBeginAllowThreads();
17740 result = (bool)(arg1)->GetDefaultInfo();
17741
17742 wxPyEndAllowThreads(__tstate);
17743 if (PyErr_Occurred()) SWIG_fail;
17744 }
17745 resultobj = SWIG_PyObj_FromBool((bool)result);
17746 return resultobj;
17747 fail:
17748 return NULL;
17749 }
17750
17751
17752 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17753 PyObject *resultobj;
17754 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17755 wxPoint result;
17756 PyObject * obj0 = 0 ;
17757 char *kwnames[] = {
17758 (char *) "self", NULL
17759 };
17760
17761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
17762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17763 {
17764 PyThreadState* __tstate = wxPyBeginAllowThreads();
17765 result = (arg1)->GetMarginTopLeft();
17766
17767 wxPyEndAllowThreads(__tstate);
17768 if (PyErr_Occurred()) SWIG_fail;
17769 }
17770 {
17771 wxPoint * resultptr;
17772 resultptr = new wxPoint((wxPoint &) result);
17773 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17774 }
17775 return resultobj;
17776 fail:
17777 return NULL;
17778 }
17779
17780
17781 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17782 PyObject *resultobj;
17783 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17784 wxPoint result;
17785 PyObject * obj0 = 0 ;
17786 char *kwnames[] = {
17787 (char *) "self", NULL
17788 };
17789
17790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
17791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17792 {
17793 PyThreadState* __tstate = wxPyBeginAllowThreads();
17794 result = (arg1)->GetMarginBottomRight();
17795
17796 wxPyEndAllowThreads(__tstate);
17797 if (PyErr_Occurred()) SWIG_fail;
17798 }
17799 {
17800 wxPoint * resultptr;
17801 resultptr = new wxPoint((wxPoint &) result);
17802 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17803 }
17804 return resultobj;
17805 fail:
17806 return NULL;
17807 }
17808
17809
17810 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17811 PyObject *resultobj;
17812 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17813 wxPoint result;
17814 PyObject * obj0 = 0 ;
17815 char *kwnames[] = {
17816 (char *) "self", NULL
17817 };
17818
17819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
17820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17821 {
17822 PyThreadState* __tstate = wxPyBeginAllowThreads();
17823 result = (arg1)->GetMinMarginTopLeft();
17824
17825 wxPyEndAllowThreads(__tstate);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
17828 {
17829 wxPoint * resultptr;
17830 resultptr = new wxPoint((wxPoint &) result);
17831 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17832 }
17833 return resultobj;
17834 fail:
17835 return NULL;
17836 }
17837
17838
17839 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17840 PyObject *resultobj;
17841 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17842 wxPoint result;
17843 PyObject * obj0 = 0 ;
17844 char *kwnames[] = {
17845 (char *) "self", NULL
17846 };
17847
17848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
17849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17850 {
17851 PyThreadState* __tstate = wxPyBeginAllowThreads();
17852 result = (arg1)->GetMinMarginBottomRight();
17853
17854 wxPyEndAllowThreads(__tstate);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
17857 {
17858 wxPoint * resultptr;
17859 resultptr = new wxPoint((wxPoint &) result);
17860 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17861 }
17862 return resultobj;
17863 fail:
17864 return NULL;
17865 }
17866
17867
17868 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17869 PyObject *resultobj;
17870 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17871 int result;
17872 PyObject * obj0 = 0 ;
17873 char *kwnames[] = {
17874 (char *) "self", NULL
17875 };
17876
17877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
17878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17879 {
17880 PyThreadState* __tstate = wxPyBeginAllowThreads();
17881 result = (int)(arg1)->GetPaperId();
17882
17883 wxPyEndAllowThreads(__tstate);
17884 if (PyErr_Occurred()) SWIG_fail;
17885 }
17886 resultobj = SWIG_PyObj_FromInt((int)result);
17887 return resultobj;
17888 fail:
17889 return NULL;
17890 }
17891
17892
17893 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17894 PyObject *resultobj;
17895 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17896 wxSize result;
17897 PyObject * obj0 = 0 ;
17898 char *kwnames[] = {
17899 (char *) "self", NULL
17900 };
17901
17902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
17903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17904 {
17905 PyThreadState* __tstate = wxPyBeginAllowThreads();
17906 result = (arg1)->GetPaperSize();
17907
17908 wxPyEndAllowThreads(__tstate);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 }
17911 {
17912 wxSize * resultptr;
17913 resultptr = new wxSize((wxSize &) result);
17914 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17915 }
17916 return resultobj;
17917 fail:
17918 return NULL;
17919 }
17920
17921
17922 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17923 PyObject *resultobj;
17924 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17925 wxPrintData *result;
17926 PyObject * obj0 = 0 ;
17927 char *kwnames[] = {
17928 (char *) "self", NULL
17929 };
17930
17931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17933 {
17934 PyThreadState* __tstate = wxPyBeginAllowThreads();
17935 {
17936 wxPrintData &_result_ref = (arg1)->GetPrintData();
17937 result = (wxPrintData *) &_result_ref;
17938 }
17939
17940 wxPyEndAllowThreads(__tstate);
17941 if (PyErr_Occurred()) SWIG_fail;
17942 }
17943 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17944 return resultobj;
17945 fail:
17946 return NULL;
17947 }
17948
17949
17950 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17951 PyObject *resultobj;
17952 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17953 bool result;
17954 PyObject * obj0 = 0 ;
17955 char *kwnames[] = {
17956 (char *) "self", NULL
17957 };
17958
17959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
17960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17961 {
17962 PyThreadState* __tstate = wxPyBeginAllowThreads();
17963 result = (bool)(arg1)->Ok();
17964
17965 wxPyEndAllowThreads(__tstate);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 }
17968 resultobj = SWIG_PyObj_FromBool((bool)result);
17969 return resultobj;
17970 fail:
17971 return NULL;
17972 }
17973
17974
17975 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17976 PyObject *resultobj;
17977 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17978 bool arg2 ;
17979 PyObject * obj0 = 0 ;
17980 PyObject * obj1 = 0 ;
17981 char *kwnames[] = {
17982 (char *) "self",(char *) "flag", NULL
17983 };
17984
17985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
17986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17987 {
17988 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 }
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 (arg1)->SetDefaultInfo(arg2);
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 Py_INCREF(Py_None); resultobj = Py_None;
17999 return resultobj;
18000 fail:
18001 return NULL;
18002 }
18003
18004
18005 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18008 bool arg2 ;
18009 PyObject * obj0 = 0 ;
18010 PyObject * obj1 = 0 ;
18011 char *kwnames[] = {
18012 (char *) "self",(char *) "flag", NULL
18013 };
18014
18015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
18016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18017 {
18018 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 (arg1)->SetDefaultMinMargins(arg2);
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 Py_INCREF(Py_None); resultobj = Py_None;
18029 return resultobj;
18030 fail:
18031 return NULL;
18032 }
18033
18034
18035 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj;
18037 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18038 wxPoint *arg2 = 0 ;
18039 wxPoint temp2 ;
18040 PyObject * obj0 = 0 ;
18041 PyObject * obj1 = 0 ;
18042 char *kwnames[] = {
18043 (char *) "self",(char *) "pt", NULL
18044 };
18045
18046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18048 {
18049 arg2 = &temp2;
18050 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18051 }
18052 {
18053 PyThreadState* __tstate = wxPyBeginAllowThreads();
18054 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
18055
18056 wxPyEndAllowThreads(__tstate);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 Py_INCREF(Py_None); resultobj = Py_None;
18060 return resultobj;
18061 fail:
18062 return NULL;
18063 }
18064
18065
18066 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18067 PyObject *resultobj;
18068 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18069 wxPoint *arg2 = 0 ;
18070 wxPoint temp2 ;
18071 PyObject * obj0 = 0 ;
18072 PyObject * obj1 = 0 ;
18073 char *kwnames[] = {
18074 (char *) "self",(char *) "pt", NULL
18075 };
18076
18077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18079 {
18080 arg2 = &temp2;
18081 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18082 }
18083 {
18084 PyThreadState* __tstate = wxPyBeginAllowThreads();
18085 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
18086
18087 wxPyEndAllowThreads(__tstate);
18088 if (PyErr_Occurred()) SWIG_fail;
18089 }
18090 Py_INCREF(Py_None); resultobj = Py_None;
18091 return resultobj;
18092 fail:
18093 return NULL;
18094 }
18095
18096
18097 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18098 PyObject *resultobj;
18099 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18100 wxPoint *arg2 = 0 ;
18101 wxPoint temp2 ;
18102 PyObject * obj0 = 0 ;
18103 PyObject * obj1 = 0 ;
18104 char *kwnames[] = {
18105 (char *) "self",(char *) "pt", NULL
18106 };
18107
18108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18110 {
18111 arg2 = &temp2;
18112 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18113 }
18114 {
18115 PyThreadState* __tstate = wxPyBeginAllowThreads();
18116 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
18117
18118 wxPyEndAllowThreads(__tstate);
18119 if (PyErr_Occurred()) SWIG_fail;
18120 }
18121 Py_INCREF(Py_None); resultobj = Py_None;
18122 return resultobj;
18123 fail:
18124 return NULL;
18125 }
18126
18127
18128 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18129 PyObject *resultobj;
18130 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18131 wxPoint *arg2 = 0 ;
18132 wxPoint temp2 ;
18133 PyObject * obj0 = 0 ;
18134 PyObject * obj1 = 0 ;
18135 char *kwnames[] = {
18136 (char *) "self",(char *) "pt", NULL
18137 };
18138
18139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18141 {
18142 arg2 = &temp2;
18143 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18144 }
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
18148
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 Py_INCREF(Py_None); resultobj = Py_None;
18153 return resultobj;
18154 fail:
18155 return NULL;
18156 }
18157
18158
18159 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18160 PyObject *resultobj;
18161 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18162 int arg2 ;
18163 PyObject * obj0 = 0 ;
18164 PyObject * obj1 = 0 ;
18165 char *kwnames[] = {
18166 (char *) "self",(char *) "id", NULL
18167 };
18168
18169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18171 {
18172 arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1);
18173 if (PyErr_Occurred()) SWIG_fail;
18174 }
18175 {
18176 PyThreadState* __tstate = wxPyBeginAllowThreads();
18177 (arg1)->SetPaperId((wxPaperSize )arg2);
18178
18179 wxPyEndAllowThreads(__tstate);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 }
18182 Py_INCREF(Py_None); resultobj = Py_None;
18183 return resultobj;
18184 fail:
18185 return NULL;
18186 }
18187
18188
18189 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18190 PyObject *resultobj;
18191 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18192 wxSize *arg2 = 0 ;
18193 wxSize temp2 ;
18194 PyObject * obj0 = 0 ;
18195 PyObject * obj1 = 0 ;
18196 char *kwnames[] = {
18197 (char *) "self",(char *) "size", NULL
18198 };
18199
18200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18202 {
18203 arg2 = &temp2;
18204 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18205 }
18206 {
18207 PyThreadState* __tstate = wxPyBeginAllowThreads();
18208 (arg1)->SetPaperSize((wxSize const &)*arg2);
18209
18210 wxPyEndAllowThreads(__tstate);
18211 if (PyErr_Occurred()) SWIG_fail;
18212 }
18213 Py_INCREF(Py_None); resultobj = Py_None;
18214 return resultobj;
18215 fail:
18216 return NULL;
18217 }
18218
18219
18220 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18221 PyObject *resultobj;
18222 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18223 wxPrintData *arg2 = 0 ;
18224 PyObject * obj0 = 0 ;
18225 PyObject * obj1 = 0 ;
18226 char *kwnames[] = {
18227 (char *) "self",(char *) "printData", NULL
18228 };
18229
18230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18232 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18233 if (arg2 == NULL) {
18234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18235 }
18236 {
18237 PyThreadState* __tstate = wxPyBeginAllowThreads();
18238 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18239
18240 wxPyEndAllowThreads(__tstate);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
18243 Py_INCREF(Py_None); resultobj = Py_None;
18244 return resultobj;
18245 fail:
18246 return NULL;
18247 }
18248
18249
18250 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
18251 PyObject *obj;
18252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18253 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
18254 Py_INCREF(obj);
18255 return Py_BuildValue((char *)"");
18256 }
18257 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18258 PyObject *resultobj;
18259 wxWindow *arg1 = (wxWindow *) 0 ;
18260 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
18261 wxPageSetupDialog *result;
18262 PyObject * obj0 = 0 ;
18263 PyObject * obj1 = 0 ;
18264 char *kwnames[] = {
18265 (char *) "parent",(char *) "data", NULL
18266 };
18267
18268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18270 if (obj1) {
18271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18272 }
18273 {
18274 PyThreadState* __tstate = wxPyBeginAllowThreads();
18275 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
18276
18277 wxPyEndAllowThreads(__tstate);
18278 if (PyErr_Occurred()) SWIG_fail;
18279 }
18280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
18281 return resultobj;
18282 fail:
18283 return NULL;
18284 }
18285
18286
18287 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
18288 PyObject *resultobj;
18289 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18290 wxPageSetupDialogData *result;
18291 PyObject * obj0 = 0 ;
18292 char *kwnames[] = {
18293 (char *) "self", NULL
18294 };
18295
18296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
18297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18298 {
18299 PyThreadState* __tstate = wxPyBeginAllowThreads();
18300 {
18301 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
18302 result = (wxPageSetupDialogData *) &_result_ref;
18303 }
18304
18305 wxPyEndAllowThreads(__tstate);
18306 if (PyErr_Occurred()) SWIG_fail;
18307 }
18308 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
18309 return resultobj;
18310 fail:
18311 return NULL;
18312 }
18313
18314
18315 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18316 PyObject *resultobj;
18317 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18318 int result;
18319 PyObject * obj0 = 0 ;
18320 char *kwnames[] = {
18321 (char *) "self", NULL
18322 };
18323
18324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
18325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 result = (int)(arg1)->ShowModal();
18329
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 resultobj = SWIG_PyObj_FromInt((int)result);
18334 return resultobj;
18335 fail:
18336 return NULL;
18337 }
18338
18339
18340 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
18341 PyObject *obj;
18342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18343 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
18344 Py_INCREF(obj);
18345 return Py_BuildValue((char *)"");
18346 }
18347 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18348 PyObject *resultobj;
18349 wxPrintDialogData *result;
18350 char *kwnames[] = {
18351 NULL
18352 };
18353
18354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
18355 {
18356 PyThreadState* __tstate = wxPyBeginAllowThreads();
18357 result = (wxPrintDialogData *)new wxPrintDialogData();
18358
18359 wxPyEndAllowThreads(__tstate);
18360 if (PyErr_Occurred()) SWIG_fail;
18361 }
18362 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
18363 return resultobj;
18364 fail:
18365 return NULL;
18366 }
18367
18368
18369 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18370 PyObject *resultobj;
18371 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18372 PyObject * obj0 = 0 ;
18373 char *kwnames[] = {
18374 (char *) "self", NULL
18375 };
18376
18377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
18378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18379 {
18380 PyThreadState* __tstate = wxPyBeginAllowThreads();
18381 delete arg1;
18382
18383 wxPyEndAllowThreads(__tstate);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 }
18386 Py_INCREF(Py_None); resultobj = Py_None;
18387 return resultobj;
18388 fail:
18389 return NULL;
18390 }
18391
18392
18393 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18394 PyObject *resultobj;
18395 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18396 int result;
18397 PyObject * obj0 = 0 ;
18398 char *kwnames[] = {
18399 (char *) "self", NULL
18400 };
18401
18402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
18403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18404 {
18405 PyThreadState* __tstate = wxPyBeginAllowThreads();
18406 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
18407
18408 wxPyEndAllowThreads(__tstate);
18409 if (PyErr_Occurred()) SWIG_fail;
18410 }
18411 resultobj = SWIG_PyObj_FromInt((int)result);
18412 return resultobj;
18413 fail:
18414 return NULL;
18415 }
18416
18417
18418 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18419 PyObject *resultobj;
18420 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18421 int result;
18422 PyObject * obj0 = 0 ;
18423 char *kwnames[] = {
18424 (char *) "self", NULL
18425 };
18426
18427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
18428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18429 {
18430 PyThreadState* __tstate = wxPyBeginAllowThreads();
18431 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
18432
18433 wxPyEndAllowThreads(__tstate);
18434 if (PyErr_Occurred()) SWIG_fail;
18435 }
18436 resultobj = SWIG_PyObj_FromInt((int)result);
18437 return resultobj;
18438 fail:
18439 return NULL;
18440 }
18441
18442
18443 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18444 PyObject *resultobj;
18445 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18446 int result;
18447 PyObject * obj0 = 0 ;
18448 char *kwnames[] = {
18449 (char *) "self", NULL
18450 };
18451
18452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
18453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18454 {
18455 PyThreadState* __tstate = wxPyBeginAllowThreads();
18456 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
18457
18458 wxPyEndAllowThreads(__tstate);
18459 if (PyErr_Occurred()) SWIG_fail;
18460 }
18461 resultobj = SWIG_PyObj_FromInt((int)result);
18462 return resultobj;
18463 fail:
18464 return NULL;
18465 }
18466
18467
18468 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18469 PyObject *resultobj;
18470 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18471 int result;
18472 PyObject * obj0 = 0 ;
18473 char *kwnames[] = {
18474 (char *) "self", NULL
18475 };
18476
18477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
18478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18479 {
18480 PyThreadState* __tstate = wxPyBeginAllowThreads();
18481 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
18482
18483 wxPyEndAllowThreads(__tstate);
18484 if (PyErr_Occurred()) SWIG_fail;
18485 }
18486 resultobj = SWIG_PyObj_FromInt((int)result);
18487 return resultobj;
18488 fail:
18489 return NULL;
18490 }
18491
18492
18493 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18494 PyObject *resultobj;
18495 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18496 int result;
18497 PyObject * obj0 = 0 ;
18498 char *kwnames[] = {
18499 (char *) "self", NULL
18500 };
18501
18502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
18503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18504 {
18505 PyThreadState* __tstate = wxPyBeginAllowThreads();
18506 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
18507
18508 wxPyEndAllowThreads(__tstate);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 resultobj = SWIG_PyObj_FromInt((int)result);
18512 return resultobj;
18513 fail:
18514 return NULL;
18515 }
18516
18517
18518 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj;
18520 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18521 bool result;
18522 PyObject * obj0 = 0 ;
18523 char *kwnames[] = {
18524 (char *) "self", NULL
18525 };
18526
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
18528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18529 {
18530 PyThreadState* __tstate = wxPyBeginAllowThreads();
18531 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
18532
18533 wxPyEndAllowThreads(__tstate);
18534 if (PyErr_Occurred()) SWIG_fail;
18535 }
18536 resultobj = SWIG_PyObj_FromBool((bool)result);
18537 return resultobj;
18538 fail:
18539 return NULL;
18540 }
18541
18542
18543 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18544 PyObject *resultobj;
18545 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18546 bool result;
18547 PyObject * obj0 = 0 ;
18548 char *kwnames[] = {
18549 (char *) "self", NULL
18550 };
18551
18552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
18553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
18557
18558 wxPyEndAllowThreads(__tstate);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 resultobj = SWIG_PyObj_FromBool((bool)result);
18562 return resultobj;
18563 fail:
18564 return NULL;
18565 }
18566
18567
18568 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18569 PyObject *resultobj;
18570 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18571 bool result;
18572 PyObject * obj0 = 0 ;
18573 char *kwnames[] = {
18574 (char *) "self", NULL
18575 };
18576
18577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
18578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18579 {
18580 PyThreadState* __tstate = wxPyBeginAllowThreads();
18581 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
18582
18583 wxPyEndAllowThreads(__tstate);
18584 if (PyErr_Occurred()) SWIG_fail;
18585 }
18586 resultobj = SWIG_PyObj_FromBool((bool)result);
18587 return resultobj;
18588 fail:
18589 return NULL;
18590 }
18591
18592
18593 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18594 PyObject *resultobj;
18595 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18596 bool result;
18597 PyObject * obj0 = 0 ;
18598 char *kwnames[] = {
18599 (char *) "self", NULL
18600 };
18601
18602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
18603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18604 {
18605 PyThreadState* __tstate = wxPyBeginAllowThreads();
18606 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
18607
18608 wxPyEndAllowThreads(__tstate);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 }
18611 resultobj = SWIG_PyObj_FromBool((bool)result);
18612 return resultobj;
18613 fail:
18614 return NULL;
18615 }
18616
18617
18618 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18619 PyObject *resultobj;
18620 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18621 bool result;
18622 PyObject * obj0 = 0 ;
18623 char *kwnames[] = {
18624 (char *) "self", NULL
18625 };
18626
18627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
18628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18629 {
18630 PyThreadState* __tstate = wxPyBeginAllowThreads();
18631 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
18632
18633 wxPyEndAllowThreads(__tstate);
18634 if (PyErr_Occurred()) SWIG_fail;
18635 }
18636 resultobj = SWIG_PyObj_FromBool((bool)result);
18637 return resultobj;
18638 fail:
18639 return NULL;
18640 }
18641
18642
18643 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18644 PyObject *resultobj;
18645 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18646 int arg2 ;
18647 PyObject * obj0 = 0 ;
18648 PyObject * obj1 = 0 ;
18649 char *kwnames[] = {
18650 (char *) "self",(char *) "v", NULL
18651 };
18652
18653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
18654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18655 {
18656 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18657 if (PyErr_Occurred()) SWIG_fail;
18658 }
18659 {
18660 PyThreadState* __tstate = wxPyBeginAllowThreads();
18661 (arg1)->SetFromPage(arg2);
18662
18663 wxPyEndAllowThreads(__tstate);
18664 if (PyErr_Occurred()) SWIG_fail;
18665 }
18666 Py_INCREF(Py_None); resultobj = Py_None;
18667 return resultobj;
18668 fail:
18669 return NULL;
18670 }
18671
18672
18673 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18674 PyObject *resultobj;
18675 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18676 int arg2 ;
18677 PyObject * obj0 = 0 ;
18678 PyObject * obj1 = 0 ;
18679 char *kwnames[] = {
18680 (char *) "self",(char *) "v", NULL
18681 };
18682
18683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
18684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18685 {
18686 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 }
18689 {
18690 PyThreadState* __tstate = wxPyBeginAllowThreads();
18691 (arg1)->SetToPage(arg2);
18692
18693 wxPyEndAllowThreads(__tstate);
18694 if (PyErr_Occurred()) SWIG_fail;
18695 }
18696 Py_INCREF(Py_None); resultobj = Py_None;
18697 return resultobj;
18698 fail:
18699 return NULL;
18700 }
18701
18702
18703 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18704 PyObject *resultobj;
18705 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18706 int arg2 ;
18707 PyObject * obj0 = 0 ;
18708 PyObject * obj1 = 0 ;
18709 char *kwnames[] = {
18710 (char *) "self",(char *) "v", NULL
18711 };
18712
18713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
18714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18715 {
18716 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18717 if (PyErr_Occurred()) SWIG_fail;
18718 }
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 (arg1)->SetMinPage(arg2);
18722
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 Py_INCREF(Py_None); resultobj = Py_None;
18727 return resultobj;
18728 fail:
18729 return NULL;
18730 }
18731
18732
18733 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18734 PyObject *resultobj;
18735 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18736 int arg2 ;
18737 PyObject * obj0 = 0 ;
18738 PyObject * obj1 = 0 ;
18739 char *kwnames[] = {
18740 (char *) "self",(char *) "v", NULL
18741 };
18742
18743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
18744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18745 {
18746 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18747 if (PyErr_Occurred()) SWIG_fail;
18748 }
18749 {
18750 PyThreadState* __tstate = wxPyBeginAllowThreads();
18751 (arg1)->SetMaxPage(arg2);
18752
18753 wxPyEndAllowThreads(__tstate);
18754 if (PyErr_Occurred()) SWIG_fail;
18755 }
18756 Py_INCREF(Py_None); resultobj = Py_None;
18757 return resultobj;
18758 fail:
18759 return NULL;
18760 }
18761
18762
18763 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18764 PyObject *resultobj;
18765 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18766 int arg2 ;
18767 PyObject * obj0 = 0 ;
18768 PyObject * obj1 = 0 ;
18769 char *kwnames[] = {
18770 (char *) "self",(char *) "v", NULL
18771 };
18772
18773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18775 {
18776 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 {
18780 PyThreadState* __tstate = wxPyBeginAllowThreads();
18781 (arg1)->SetNoCopies(arg2);
18782
18783 wxPyEndAllowThreads(__tstate);
18784 if (PyErr_Occurred()) SWIG_fail;
18785 }
18786 Py_INCREF(Py_None); resultobj = Py_None;
18787 return resultobj;
18788 fail:
18789 return NULL;
18790 }
18791
18792
18793 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
18794 PyObject *resultobj;
18795 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18796 bool arg2 ;
18797 PyObject * obj0 = 0 ;
18798 PyObject * obj1 = 0 ;
18799 char *kwnames[] = {
18800 (char *) "self",(char *) "flag", NULL
18801 };
18802
18803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
18804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18805 {
18806 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18807 if (PyErr_Occurred()) SWIG_fail;
18808 }
18809 {
18810 PyThreadState* __tstate = wxPyBeginAllowThreads();
18811 (arg1)->SetAllPages(arg2);
18812
18813 wxPyEndAllowThreads(__tstate);
18814 if (PyErr_Occurred()) SWIG_fail;
18815 }
18816 Py_INCREF(Py_None); resultobj = Py_None;
18817 return resultobj;
18818 fail:
18819 return NULL;
18820 }
18821
18822
18823 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18824 PyObject *resultobj;
18825 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18826 bool arg2 ;
18827 PyObject * obj0 = 0 ;
18828 PyObject * obj1 = 0 ;
18829 char *kwnames[] = {
18830 (char *) "self",(char *) "flag", NULL
18831 };
18832
18833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
18834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18835 {
18836 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18837 if (PyErr_Occurred()) SWIG_fail;
18838 }
18839 {
18840 PyThreadState* __tstate = wxPyBeginAllowThreads();
18841 (arg1)->SetSelection(arg2);
18842
18843 wxPyEndAllowThreads(__tstate);
18844 if (PyErr_Occurred()) SWIG_fail;
18845 }
18846 Py_INCREF(Py_None); resultobj = Py_None;
18847 return resultobj;
18848 fail:
18849 return NULL;
18850 }
18851
18852
18853 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18854 PyObject *resultobj;
18855 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18856 bool arg2 ;
18857 PyObject * obj0 = 0 ;
18858 PyObject * obj1 = 0 ;
18859 char *kwnames[] = {
18860 (char *) "self",(char *) "flag", NULL
18861 };
18862
18863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18865 {
18866 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 {
18870 PyThreadState* __tstate = wxPyBeginAllowThreads();
18871 (arg1)->SetCollate(arg2);
18872
18873 wxPyEndAllowThreads(__tstate);
18874 if (PyErr_Occurred()) SWIG_fail;
18875 }
18876 Py_INCREF(Py_None); resultobj = Py_None;
18877 return resultobj;
18878 fail:
18879 return NULL;
18880 }
18881
18882
18883 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18884 PyObject *resultobj;
18885 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18886 bool arg2 ;
18887 PyObject * obj0 = 0 ;
18888 PyObject * obj1 = 0 ;
18889 char *kwnames[] = {
18890 (char *) "self",(char *) "flag", NULL
18891 };
18892
18893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
18894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18895 {
18896 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 }
18899 {
18900 PyThreadState* __tstate = wxPyBeginAllowThreads();
18901 (arg1)->SetPrintToFile(arg2);
18902
18903 wxPyEndAllowThreads(__tstate);
18904 if (PyErr_Occurred()) SWIG_fail;
18905 }
18906 Py_INCREF(Py_None); resultobj = Py_None;
18907 return resultobj;
18908 fail:
18909 return NULL;
18910 }
18911
18912
18913 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj;
18915 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18916 bool arg2 ;
18917 PyObject * obj0 = 0 ;
18918 PyObject * obj1 = 0 ;
18919 char *kwnames[] = {
18920 (char *) "self",(char *) "flag", NULL
18921 };
18922
18923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18925 {
18926 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 {
18930 PyThreadState* __tstate = wxPyBeginAllowThreads();
18931 (arg1)->SetSetupDialog(arg2);
18932
18933 wxPyEndAllowThreads(__tstate);
18934 if (PyErr_Occurred()) SWIG_fail;
18935 }
18936 Py_INCREF(Py_None); resultobj = Py_None;
18937 return resultobj;
18938 fail:
18939 return NULL;
18940 }
18941
18942
18943 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18944 PyObject *resultobj;
18945 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18946 bool arg2 ;
18947 PyObject * obj0 = 0 ;
18948 PyObject * obj1 = 0 ;
18949 char *kwnames[] = {
18950 (char *) "self",(char *) "flag", NULL
18951 };
18952
18953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
18954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18955 {
18956 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18957 if (PyErr_Occurred()) SWIG_fail;
18958 }
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 (arg1)->EnablePrintToFile(arg2);
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 Py_INCREF(Py_None); resultobj = Py_None;
18967 return resultobj;
18968 fail:
18969 return NULL;
18970 }
18971
18972
18973 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj;
18975 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18976 bool arg2 ;
18977 PyObject * obj0 = 0 ;
18978 PyObject * obj1 = 0 ;
18979 char *kwnames[] = {
18980 (char *) "self",(char *) "flag", NULL
18981 };
18982
18983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
18984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18985 {
18986 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
18991 (arg1)->EnableSelection(arg2);
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 Py_INCREF(Py_None); resultobj = Py_None;
18997 return resultobj;
18998 fail:
18999 return NULL;
19000 }
19001
19002
19003 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19004 PyObject *resultobj;
19005 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19006 bool arg2 ;
19007 PyObject * obj0 = 0 ;
19008 PyObject * obj1 = 0 ;
19009 char *kwnames[] = {
19010 (char *) "self",(char *) "flag", NULL
19011 };
19012
19013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
19014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19015 {
19016 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 (arg1)->EnablePageNumbers(arg2);
19022
19023 wxPyEndAllowThreads(__tstate);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 }
19026 Py_INCREF(Py_None); resultobj = Py_None;
19027 return resultobj;
19028 fail:
19029 return NULL;
19030 }
19031
19032
19033 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19034 PyObject *resultobj;
19035 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19036 bool arg2 ;
19037 PyObject * obj0 = 0 ;
19038 PyObject * obj1 = 0 ;
19039 char *kwnames[] = {
19040 (char *) "self",(char *) "flag", NULL
19041 };
19042
19043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19045 {
19046 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19047 if (PyErr_Occurred()) SWIG_fail;
19048 }
19049 {
19050 PyThreadState* __tstate = wxPyBeginAllowThreads();
19051 (arg1)->EnableHelp(arg2);
19052
19053 wxPyEndAllowThreads(__tstate);
19054 if (PyErr_Occurred()) SWIG_fail;
19055 }
19056 Py_INCREF(Py_None); resultobj = Py_None;
19057 return resultobj;
19058 fail:
19059 return NULL;
19060 }
19061
19062
19063 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19064 PyObject *resultobj;
19065 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19066 bool result;
19067 PyObject * obj0 = 0 ;
19068 char *kwnames[] = {
19069 (char *) "self", NULL
19070 };
19071
19072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
19073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19074 {
19075 PyThreadState* __tstate = wxPyBeginAllowThreads();
19076 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
19077
19078 wxPyEndAllowThreads(__tstate);
19079 if (PyErr_Occurred()) SWIG_fail;
19080 }
19081 resultobj = SWIG_PyObj_FromBool((bool)result);
19082 return resultobj;
19083 fail:
19084 return NULL;
19085 }
19086
19087
19088 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19089 PyObject *resultobj;
19090 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19091 bool result;
19092 PyObject * obj0 = 0 ;
19093 char *kwnames[] = {
19094 (char *) "self", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
19098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19099 {
19100 PyThreadState* __tstate = wxPyBeginAllowThreads();
19101 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
19102
19103 wxPyEndAllowThreads(__tstate);
19104 if (PyErr_Occurred()) SWIG_fail;
19105 }
19106 resultobj = SWIG_PyObj_FromBool((bool)result);
19107 return resultobj;
19108 fail:
19109 return NULL;
19110 }
19111
19112
19113 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19114 PyObject *resultobj;
19115 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19116 bool result;
19117 PyObject * obj0 = 0 ;
19118 char *kwnames[] = {
19119 (char *) "self", NULL
19120 };
19121
19122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
19123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19124 {
19125 PyThreadState* __tstate = wxPyBeginAllowThreads();
19126 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
19127
19128 wxPyEndAllowThreads(__tstate);
19129 if (PyErr_Occurred()) SWIG_fail;
19130 }
19131 resultobj = SWIG_PyObj_FromBool((bool)result);
19132 return resultobj;
19133 fail:
19134 return NULL;
19135 }
19136
19137
19138 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19139 PyObject *resultobj;
19140 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19141 bool result;
19142 PyObject * obj0 = 0 ;
19143 char *kwnames[] = {
19144 (char *) "self", NULL
19145 };
19146
19147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19149 {
19150 PyThreadState* __tstate = wxPyBeginAllowThreads();
19151 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
19152
19153 wxPyEndAllowThreads(__tstate);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 }
19156 resultobj = SWIG_PyObj_FromBool((bool)result);
19157 return resultobj;
19158 fail:
19159 return NULL;
19160 }
19161
19162
19163 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19164 PyObject *resultobj;
19165 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19166 bool result;
19167 PyObject * obj0 = 0 ;
19168 char *kwnames[] = {
19169 (char *) "self", NULL
19170 };
19171
19172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
19173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19174 {
19175 PyThreadState* __tstate = wxPyBeginAllowThreads();
19176 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
19177
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 resultobj = SWIG_PyObj_FromBool((bool)result);
19182 return resultobj;
19183 fail:
19184 return NULL;
19185 }
19186
19187
19188 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19189 PyObject *resultobj;
19190 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19191 wxPrintData *result;
19192 PyObject * obj0 = 0 ;
19193 char *kwnames[] = {
19194 (char *) "self", NULL
19195 };
19196
19197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19199 {
19200 PyThreadState* __tstate = wxPyBeginAllowThreads();
19201 {
19202 wxPrintData &_result_ref = (arg1)->GetPrintData();
19203 result = (wxPrintData *) &_result_ref;
19204 }
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
19210 return resultobj;
19211 fail:
19212 return NULL;
19213 }
19214
19215
19216 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19217 PyObject *resultobj;
19218 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19219 wxPrintData *arg2 = 0 ;
19220 PyObject * obj0 = 0 ;
19221 PyObject * obj1 = 0 ;
19222 char *kwnames[] = {
19223 (char *) "self",(char *) "printData", NULL
19224 };
19225
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19229 if (arg2 == NULL) {
19230 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19231 }
19232 {
19233 PyThreadState* __tstate = wxPyBeginAllowThreads();
19234 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19235
19236 wxPyEndAllowThreads(__tstate);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 Py_INCREF(Py_None); resultobj = Py_None;
19240 return resultobj;
19241 fail:
19242 return NULL;
19243 }
19244
19245
19246 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
19247 PyObject *obj;
19248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19249 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
19250 Py_INCREF(obj);
19251 return Py_BuildValue((char *)"");
19252 }
19253 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19254 PyObject *resultobj;
19255 wxWindow *arg1 = (wxWindow *) 0 ;
19256 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
19257 wxPrintDialog *result;
19258 PyObject * obj0 = 0 ;
19259 PyObject * obj1 = 0 ;
19260 char *kwnames[] = {
19261 (char *) "parent",(char *) "data", NULL
19262 };
19263
19264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19266 if (obj1) {
19267 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19268 }
19269 {
19270 PyThreadState* __tstate = wxPyBeginAllowThreads();
19271 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
19272
19273 wxPyEndAllowThreads(__tstate);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 }
19276 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
19277 return resultobj;
19278 fail:
19279 return NULL;
19280 }
19281
19282
19283 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19284 PyObject *resultobj;
19285 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19286 wxPrintDialogData *result;
19287 PyObject * obj0 = 0 ;
19288 char *kwnames[] = {
19289 (char *) "self", NULL
19290 };
19291
19292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
19293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19294 {
19295 PyThreadState* __tstate = wxPyBeginAllowThreads();
19296 {
19297 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19298 result = (wxPrintDialogData *) &_result_ref;
19299 }
19300
19301 wxPyEndAllowThreads(__tstate);
19302 if (PyErr_Occurred()) SWIG_fail;
19303 }
19304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19305 return resultobj;
19306 fail:
19307 return NULL;
19308 }
19309
19310
19311 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19312 PyObject *resultobj;
19313 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19314 wxDC *result;
19315 PyObject * obj0 = 0 ;
19316 char *kwnames[] = {
19317 (char *) "self", NULL
19318 };
19319
19320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
19321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19322 {
19323 PyThreadState* __tstate = wxPyBeginAllowThreads();
19324 result = (wxDC *)(arg1)->GetPrintDC();
19325
19326 wxPyEndAllowThreads(__tstate);
19327 if (PyErr_Occurred()) SWIG_fail;
19328 }
19329 {
19330 resultobj = wxPyMake_wxObject(result);
19331 }
19332 return resultobj;
19333 fail:
19334 return NULL;
19335 }
19336
19337
19338 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19339 PyObject *resultobj;
19340 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19341 int result;
19342 PyObject * obj0 = 0 ;
19343 char *kwnames[] = {
19344 (char *) "self", NULL
19345 };
19346
19347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
19348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19349 {
19350 PyThreadState* __tstate = wxPyBeginAllowThreads();
19351 result = (int)(arg1)->ShowModal();
19352
19353 wxPyEndAllowThreads(__tstate);
19354 if (PyErr_Occurred()) SWIG_fail;
19355 }
19356 resultobj = SWIG_PyObj_FromInt((int)result);
19357 return resultobj;
19358 fail:
19359 return NULL;
19360 }
19361
19362
19363 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
19364 PyObject *obj;
19365 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19366 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
19367 Py_INCREF(obj);
19368 return Py_BuildValue((char *)"");
19369 }
19370 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19371 PyObject *resultobj;
19372 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
19373 wxPrinter *result;
19374 PyObject * obj0 = 0 ;
19375 char *kwnames[] = {
19376 (char *) "data", NULL
19377 };
19378
19379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
19380 if (obj0) {
19381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19382 }
19383 {
19384 PyThreadState* __tstate = wxPyBeginAllowThreads();
19385 result = (wxPrinter *)new wxPrinter(arg1);
19386
19387 wxPyEndAllowThreads(__tstate);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 }
19390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
19391 return resultobj;
19392 fail:
19393 return NULL;
19394 }
19395
19396
19397 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19398 PyObject *resultobj;
19399 wxPrinter *arg1 = (wxPrinter *) 0 ;
19400 PyObject * obj0 = 0 ;
19401 char *kwnames[] = {
19402 (char *) "self", NULL
19403 };
19404
19405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
19406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19407 {
19408 PyThreadState* __tstate = wxPyBeginAllowThreads();
19409 delete arg1;
19410
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 Py_INCREF(Py_None); resultobj = Py_None;
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj;
19423 wxPrinter *arg1 = (wxPrinter *) 0 ;
19424 wxWindow *arg2 = (wxWindow *) 0 ;
19425 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19426 PyObject * obj0 = 0 ;
19427 PyObject * obj1 = 0 ;
19428 PyObject * obj2 = 0 ;
19429 char *kwnames[] = {
19430 (char *) "self",(char *) "parent",(char *) "printout", NULL
19431 };
19432
19433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
19434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19435 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19436 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19437 {
19438 PyThreadState* __tstate = wxPyBeginAllowThreads();
19439 (arg1)->CreateAbortWindow(arg2,arg3);
19440
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
19444 Py_INCREF(Py_None); resultobj = Py_None;
19445 return resultobj;
19446 fail:
19447 return NULL;
19448 }
19449
19450
19451 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19452 PyObject *resultobj;
19453 wxPrinter *arg1 = (wxPrinter *) 0 ;
19454 wxPrintDialogData *result;
19455 PyObject * obj0 = 0 ;
19456 char *kwnames[] = {
19457 (char *) "self", NULL
19458 };
19459
19460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
19461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19462 {
19463 PyThreadState* __tstate = wxPyBeginAllowThreads();
19464 {
19465 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19466 result = (wxPrintDialogData *) &_result_ref;
19467 }
19468
19469 wxPyEndAllowThreads(__tstate);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
19472 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19473 return resultobj;
19474 fail:
19475 return NULL;
19476 }
19477
19478
19479 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19480 PyObject *resultobj;
19481 wxPrinter *arg1 = (wxPrinter *) 0 ;
19482 wxWindow *arg2 = (wxWindow *) 0 ;
19483 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19484 int arg4 = (int) True ;
19485 bool result;
19486 PyObject * obj0 = 0 ;
19487 PyObject * obj1 = 0 ;
19488 PyObject * obj2 = 0 ;
19489 PyObject * obj3 = 0 ;
19490 char *kwnames[] = {
19491 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19492 };
19493
19494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19496 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19497 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19498 if (obj3) {
19499 {
19500 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19501 if (PyErr_Occurred()) SWIG_fail;
19502 }
19503 }
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 result = (bool)(arg1)->Print(arg2,arg3,arg4);
19507
19508 wxPyEndAllowThreads(__tstate);
19509 if (PyErr_Occurred()) SWIG_fail;
19510 }
19511 resultobj = SWIG_PyObj_FromBool((bool)result);
19512 return resultobj;
19513 fail:
19514 return NULL;
19515 }
19516
19517
19518 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19519 PyObject *resultobj;
19520 wxPrinter *arg1 = (wxPrinter *) 0 ;
19521 wxWindow *arg2 = (wxWindow *) 0 ;
19522 wxDC *result;
19523 PyObject * obj0 = 0 ;
19524 PyObject * obj1 = 0 ;
19525 char *kwnames[] = {
19526 (char *) "self",(char *) "parent", NULL
19527 };
19528
19529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19531 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
19534 result = (wxDC *)(arg1)->PrintDialog(arg2);
19535
19536 wxPyEndAllowThreads(__tstate);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
19539 {
19540 resultobj = wxPyMake_wxObject(result);
19541 }
19542 return resultobj;
19543 fail:
19544 return NULL;
19545 }
19546
19547
19548 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
19549 PyObject *resultobj;
19550 wxPrinter *arg1 = (wxPrinter *) 0 ;
19551 wxWindow *arg2 = (wxWindow *) 0 ;
19552 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19553 wxString *arg4 = 0 ;
19554 bool temp4 = False ;
19555 PyObject * obj0 = 0 ;
19556 PyObject * obj1 = 0 ;
19557 PyObject * obj2 = 0 ;
19558 PyObject * obj3 = 0 ;
19559 char *kwnames[] = {
19560 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19561 };
19562
19563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19565 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19566 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19567 {
19568 arg4 = wxString_in_helper(obj3);
19569 if (arg4 == NULL) SWIG_fail;
19570 temp4 = True;
19571 }
19572 {
19573 PyThreadState* __tstate = wxPyBeginAllowThreads();
19574 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
19575
19576 wxPyEndAllowThreads(__tstate);
19577 if (PyErr_Occurred()) SWIG_fail;
19578 }
19579 Py_INCREF(Py_None); resultobj = Py_None;
19580 {
19581 if (temp4)
19582 delete arg4;
19583 }
19584 return resultobj;
19585 fail:
19586 {
19587 if (temp4)
19588 delete arg4;
19589 }
19590 return NULL;
19591 }
19592
19593
19594 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj;
19596 wxPrinter *arg1 = (wxPrinter *) 0 ;
19597 wxWindow *arg2 = (wxWindow *) 0 ;
19598 bool result;
19599 PyObject * obj0 = 0 ;
19600 PyObject * obj1 = 0 ;
19601 char *kwnames[] = {
19602 (char *) "self",(char *) "parent", NULL
19603 };
19604
19605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
19606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19608 {
19609 PyThreadState* __tstate = wxPyBeginAllowThreads();
19610 result = (bool)(arg1)->Setup(arg2);
19611
19612 wxPyEndAllowThreads(__tstate);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 }
19615 resultobj = SWIG_PyObj_FromBool((bool)result);
19616 return resultobj;
19617 fail:
19618 return NULL;
19619 }
19620
19621
19622 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
19623 PyObject *resultobj;
19624 wxPrinter *arg1 = (wxPrinter *) 0 ;
19625 bool result;
19626 PyObject * obj0 = 0 ;
19627 char *kwnames[] = {
19628 (char *) "self", NULL
19629 };
19630
19631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
19632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19633 {
19634 PyThreadState* __tstate = wxPyBeginAllowThreads();
19635 result = (bool)(arg1)->GetAbort();
19636
19637 wxPyEndAllowThreads(__tstate);
19638 if (PyErr_Occurred()) SWIG_fail;
19639 }
19640 resultobj = SWIG_PyObj_FromBool((bool)result);
19641 return resultobj;
19642 fail:
19643 return NULL;
19644 }
19645
19646
19647 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
19648 PyObject *resultobj;
19649 int result;
19650 char *kwnames[] = {
19651 NULL
19652 };
19653
19654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 result = (int)wxPrinter::GetLastError();
19658
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 resultobj = SWIG_PyObj_FromInt((int)result);
19663 return resultobj;
19664 fail:
19665 return NULL;
19666 }
19667
19668
19669 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
19670 PyObject *obj;
19671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19672 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
19673 Py_INCREF(obj);
19674 return Py_BuildValue((char *)"");
19675 }
19676 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
19677 PyObject *resultobj;
19678 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
19679 wxString *arg1 = (wxString *) &arg1_defvalue ;
19680 wxPyPrintout *result;
19681 bool temp1 = False ;
19682 PyObject * obj0 = 0 ;
19683 char *kwnames[] = {
19684 (char *) "title", NULL
19685 };
19686
19687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
19688 if (obj0) {
19689 {
19690 arg1 = wxString_in_helper(obj0);
19691 if (arg1 == NULL) SWIG_fail;
19692 temp1 = True;
19693 }
19694 }
19695 {
19696 PyThreadState* __tstate = wxPyBeginAllowThreads();
19697 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
19698
19699 wxPyEndAllowThreads(__tstate);
19700 if (PyErr_Occurred()) SWIG_fail;
19701 }
19702 {
19703 resultobj = wxPyMake_wxObject(result);
19704 }
19705 {
19706 if (temp1)
19707 delete arg1;
19708 }
19709 return resultobj;
19710 fail:
19711 {
19712 if (temp1)
19713 delete arg1;
19714 }
19715 return NULL;
19716 }
19717
19718
19719 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19720 PyObject *resultobj;
19721 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19722 PyObject *arg2 = (PyObject *) 0 ;
19723 PyObject *arg3 = (PyObject *) 0 ;
19724 PyObject * obj0 = 0 ;
19725 PyObject * obj1 = 0 ;
19726 PyObject * obj2 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self",(char *) "self",(char *) "_class", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19733 arg2 = obj1;
19734 arg3 = obj2;
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 (arg1)->_setCallbackInfo(arg2,arg3);
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 Py_INCREF(Py_None); resultobj = Py_None;
19743 return resultobj;
19744 fail:
19745 return NULL;
19746 }
19747
19748
19749 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
19750 PyObject *resultobj;
19751 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19752 wxString result;
19753 PyObject * obj0 = 0 ;
19754 char *kwnames[] = {
19755 (char *) "self", NULL
19756 };
19757
19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
19759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 result = ((wxPyPrintout const *)arg1)->GetTitle();
19763
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 {
19768 #if wxUSE_UNICODE
19769 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19770 #else
19771 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19772 #endif
19773 }
19774 return resultobj;
19775 fail:
19776 return NULL;
19777 }
19778
19779
19780 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19781 PyObject *resultobj;
19782 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19783 wxDC *result;
19784 PyObject * obj0 = 0 ;
19785 char *kwnames[] = {
19786 (char *) "self", NULL
19787 };
19788
19789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
19790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 result = (wxDC *)(arg1)->GetDC();
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
19798 {
19799 resultobj = wxPyMake_wxObject(result);
19800 }
19801 return resultobj;
19802 fail:
19803 return NULL;
19804 }
19805
19806
19807 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19808 PyObject *resultobj;
19809 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19810 wxDC *arg2 = (wxDC *) 0 ;
19811 PyObject * obj0 = 0 ;
19812 PyObject * obj1 = 0 ;
19813 char *kwnames[] = {
19814 (char *) "self",(char *) "dc", NULL
19815 };
19816
19817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
19818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19819 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 (arg1)->SetDC(arg2);
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 Py_INCREF(Py_None); resultobj = Py_None;
19828 return resultobj;
19829 fail:
19830 return NULL;
19831 }
19832
19833
19834 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
19835 PyObject *resultobj;
19836 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19837 int arg2 ;
19838 int arg3 ;
19839 PyObject * obj0 = 0 ;
19840 PyObject * obj1 = 0 ;
19841 PyObject * obj2 = 0 ;
19842 char *kwnames[] = {
19843 (char *) "self",(char *) "w",(char *) "h", NULL
19844 };
19845
19846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
19847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19848 {
19849 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19850 if (PyErr_Occurred()) SWIG_fail;
19851 }
19852 {
19853 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 {
19857 PyThreadState* __tstate = wxPyBeginAllowThreads();
19858 (arg1)->SetPageSizePixels(arg2,arg3);
19859
19860 wxPyEndAllowThreads(__tstate);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 Py_INCREF(Py_None); resultobj = Py_None;
19864 return resultobj;
19865 fail:
19866 return NULL;
19867 }
19868
19869
19870 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
19871 PyObject *resultobj;
19872 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19873 int *arg2 = (int *) 0 ;
19874 int *arg3 = (int *) 0 ;
19875 int temp2 ;
19876 int temp3 ;
19877 PyObject * obj0 = 0 ;
19878 char *kwnames[] = {
19879 (char *) "self", NULL
19880 };
19881
19882 arg2 = &temp2;
19883 arg3 = &temp3;
19884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
19885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19886 {
19887 PyThreadState* __tstate = wxPyBeginAllowThreads();
19888 (arg1)->GetPageSizePixels(arg2,arg3);
19889
19890 wxPyEndAllowThreads(__tstate);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
19893 Py_INCREF(Py_None); resultobj = Py_None;
19894 {
19895 PyObject *o = PyInt_FromLong((long) (*arg2));
19896 resultobj = t_output_helper(resultobj,o);
19897 }
19898 {
19899 PyObject *o = PyInt_FromLong((long) (*arg3));
19900 resultobj = t_output_helper(resultobj,o);
19901 }
19902 return resultobj;
19903 fail:
19904 return NULL;
19905 }
19906
19907
19908 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
19909 PyObject *resultobj;
19910 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19911 int arg2 ;
19912 int arg3 ;
19913 PyObject * obj0 = 0 ;
19914 PyObject * obj1 = 0 ;
19915 PyObject * obj2 = 0 ;
19916 char *kwnames[] = {
19917 (char *) "self",(char *) "w",(char *) "h", NULL
19918 };
19919
19920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
19921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19922 {
19923 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19924 if (PyErr_Occurred()) SWIG_fail;
19925 }
19926 {
19927 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 {
19931 PyThreadState* __tstate = wxPyBeginAllowThreads();
19932 (arg1)->SetPageSizeMM(arg2,arg3);
19933
19934 wxPyEndAllowThreads(__tstate);
19935 if (PyErr_Occurred()) SWIG_fail;
19936 }
19937 Py_INCREF(Py_None); resultobj = Py_None;
19938 return resultobj;
19939 fail:
19940 return NULL;
19941 }
19942
19943
19944 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
19945 PyObject *resultobj;
19946 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19947 int *arg2 = (int *) 0 ;
19948 int *arg3 = (int *) 0 ;
19949 int temp2 ;
19950 int temp3 ;
19951 PyObject * obj0 = 0 ;
19952 char *kwnames[] = {
19953 (char *) "self", NULL
19954 };
19955
19956 arg2 = &temp2;
19957 arg3 = &temp3;
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
19959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19960 {
19961 PyThreadState* __tstate = wxPyBeginAllowThreads();
19962 (arg1)->GetPageSizeMM(arg2,arg3);
19963
19964 wxPyEndAllowThreads(__tstate);
19965 if (PyErr_Occurred()) SWIG_fail;
19966 }
19967 Py_INCREF(Py_None); resultobj = Py_None;
19968 {
19969 PyObject *o = PyInt_FromLong((long) (*arg2));
19970 resultobj = t_output_helper(resultobj,o);
19971 }
19972 {
19973 PyObject *o = PyInt_FromLong((long) (*arg3));
19974 resultobj = t_output_helper(resultobj,o);
19975 }
19976 return resultobj;
19977 fail:
19978 return NULL;
19979 }
19980
19981
19982 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
19983 PyObject *resultobj;
19984 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19985 int arg2 ;
19986 int arg3 ;
19987 PyObject * obj0 = 0 ;
19988 PyObject * obj1 = 0 ;
19989 PyObject * obj2 = 0 ;
19990 char *kwnames[] = {
19991 (char *) "self",(char *) "x",(char *) "y", NULL
19992 };
19993
19994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
19995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19996 {
19997 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19998 if (PyErr_Occurred()) SWIG_fail;
19999 }
20000 {
20001 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20002 if (PyErr_Occurred()) SWIG_fail;
20003 }
20004 {
20005 PyThreadState* __tstate = wxPyBeginAllowThreads();
20006 (arg1)->SetPPIScreen(arg2,arg3);
20007
20008 wxPyEndAllowThreads(__tstate);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 }
20011 Py_INCREF(Py_None); resultobj = Py_None;
20012 return resultobj;
20013 fail:
20014 return NULL;
20015 }
20016
20017
20018 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj;
20020 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20021 int *arg2 = (int *) 0 ;
20022 int *arg3 = (int *) 0 ;
20023 int temp2 ;
20024 int temp3 ;
20025 PyObject * obj0 = 0 ;
20026 char *kwnames[] = {
20027 (char *) "self", NULL
20028 };
20029
20030 arg2 = &temp2;
20031 arg3 = &temp3;
20032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
20033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20034 {
20035 PyThreadState* __tstate = wxPyBeginAllowThreads();
20036 (arg1)->GetPPIScreen(arg2,arg3);
20037
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 Py_INCREF(Py_None); resultobj = Py_None;
20042 {
20043 PyObject *o = PyInt_FromLong((long) (*arg2));
20044 resultobj = t_output_helper(resultobj,o);
20045 }
20046 {
20047 PyObject *o = PyInt_FromLong((long) (*arg3));
20048 resultobj = t_output_helper(resultobj,o);
20049 }
20050 return resultobj;
20051 fail:
20052 return NULL;
20053 }
20054
20055
20056 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20057 PyObject *resultobj;
20058 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20059 int arg2 ;
20060 int arg3 ;
20061 PyObject * obj0 = 0 ;
20062 PyObject * obj1 = 0 ;
20063 PyObject * obj2 = 0 ;
20064 char *kwnames[] = {
20065 (char *) "self",(char *) "x",(char *) "y", NULL
20066 };
20067
20068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
20069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20070 {
20071 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20072 if (PyErr_Occurred()) SWIG_fail;
20073 }
20074 {
20075 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 }
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 (arg1)->SetPPIPrinter(arg2,arg3);
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 Py_INCREF(Py_None); resultobj = Py_None;
20086 return resultobj;
20087 fail:
20088 return NULL;
20089 }
20090
20091
20092 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20095 int *arg2 = (int *) 0 ;
20096 int *arg3 = (int *) 0 ;
20097 int temp2 ;
20098 int temp3 ;
20099 PyObject * obj0 = 0 ;
20100 char *kwnames[] = {
20101 (char *) "self", NULL
20102 };
20103
20104 arg2 = &temp2;
20105 arg3 = &temp3;
20106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
20107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20108 {
20109 PyThreadState* __tstate = wxPyBeginAllowThreads();
20110 (arg1)->GetPPIPrinter(arg2,arg3);
20111
20112 wxPyEndAllowThreads(__tstate);
20113 if (PyErr_Occurred()) SWIG_fail;
20114 }
20115 Py_INCREF(Py_None); resultobj = Py_None;
20116 {
20117 PyObject *o = PyInt_FromLong((long) (*arg2));
20118 resultobj = t_output_helper(resultobj,o);
20119 }
20120 {
20121 PyObject *o = PyInt_FromLong((long) (*arg3));
20122 resultobj = t_output_helper(resultobj,o);
20123 }
20124 return resultobj;
20125 fail:
20126 return NULL;
20127 }
20128
20129
20130 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20131 PyObject *resultobj;
20132 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20133 bool result;
20134 PyObject * obj0 = 0 ;
20135 char *kwnames[] = {
20136 (char *) "self", NULL
20137 };
20138
20139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
20140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
20143 result = (bool)(arg1)->IsPreview();
20144
20145 wxPyEndAllowThreads(__tstate);
20146 if (PyErr_Occurred()) SWIG_fail;
20147 }
20148 resultobj = SWIG_PyObj_FromBool((bool)result);
20149 return resultobj;
20150 fail:
20151 return NULL;
20152 }
20153
20154
20155 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20156 PyObject *resultobj;
20157 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20158 bool arg2 ;
20159 PyObject * obj0 = 0 ;
20160 PyObject * obj1 = 0 ;
20161 char *kwnames[] = {
20162 (char *) "self",(char *) "p", NULL
20163 };
20164
20165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
20166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20167 {
20168 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
20169 if (PyErr_Occurred()) SWIG_fail;
20170 }
20171 {
20172 PyThreadState* __tstate = wxPyBeginAllowThreads();
20173 (arg1)->SetIsPreview(arg2);
20174
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
20178 Py_INCREF(Py_None); resultobj = Py_None;
20179 return resultobj;
20180 fail:
20181 return NULL;
20182 }
20183
20184
20185 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20186 PyObject *resultobj;
20187 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20188 int arg2 ;
20189 int arg3 ;
20190 bool result;
20191 PyObject * obj0 = 0 ;
20192 PyObject * obj1 = 0 ;
20193 PyObject * obj2 = 0 ;
20194 char *kwnames[] = {
20195 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20196 };
20197
20198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
20199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20200 {
20201 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
20204 {
20205 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20206 if (PyErr_Occurred()) SWIG_fail;
20207 }
20208 {
20209 PyThreadState* __tstate = wxPyBeginAllowThreads();
20210 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
20211
20212 wxPyEndAllowThreads(__tstate);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 }
20215 resultobj = SWIG_PyObj_FromBool((bool)result);
20216 return resultobj;
20217 fail:
20218 return NULL;
20219 }
20220
20221
20222 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20223 PyObject *resultobj;
20224 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20225 PyObject * obj0 = 0 ;
20226 char *kwnames[] = {
20227 (char *) "self", NULL
20228 };
20229
20230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
20231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20232 {
20233 PyThreadState* __tstate = wxPyBeginAllowThreads();
20234 (arg1)->base_OnEndDocument();
20235
20236 wxPyEndAllowThreads(__tstate);
20237 if (PyErr_Occurred()) SWIG_fail;
20238 }
20239 Py_INCREF(Py_None); resultobj = Py_None;
20240 return resultobj;
20241 fail:
20242 return NULL;
20243 }
20244
20245
20246 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20247 PyObject *resultobj;
20248 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20249 PyObject * obj0 = 0 ;
20250 char *kwnames[] = {
20251 (char *) "self", NULL
20252 };
20253
20254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
20255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20256 {
20257 PyThreadState* __tstate = wxPyBeginAllowThreads();
20258 (arg1)->base_OnBeginPrinting();
20259
20260 wxPyEndAllowThreads(__tstate);
20261 if (PyErr_Occurred()) SWIG_fail;
20262 }
20263 Py_INCREF(Py_None); resultobj = Py_None;
20264 return resultobj;
20265 fail:
20266 return NULL;
20267 }
20268
20269
20270 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20271 PyObject *resultobj;
20272 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20273 PyObject * obj0 = 0 ;
20274 char *kwnames[] = {
20275 (char *) "self", NULL
20276 };
20277
20278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
20279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
20282 (arg1)->base_OnEndPrinting();
20283
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 Py_INCREF(Py_None); resultobj = Py_None;
20288 return resultobj;
20289 fail:
20290 return NULL;
20291 }
20292
20293
20294 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20295 PyObject *resultobj;
20296 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20297 PyObject * obj0 = 0 ;
20298 char *kwnames[] = {
20299 (char *) "self", NULL
20300 };
20301
20302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
20303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
20306 (arg1)->base_OnPreparePrinting();
20307
20308 wxPyEndAllowThreads(__tstate);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 }
20311 Py_INCREF(Py_None); resultobj = Py_None;
20312 return resultobj;
20313 fail:
20314 return NULL;
20315 }
20316
20317
20318 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20319 PyObject *resultobj;
20320 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20321 int arg2 ;
20322 bool result;
20323 PyObject * obj0 = 0 ;
20324 PyObject * obj1 = 0 ;
20325 char *kwnames[] = {
20326 (char *) "self",(char *) "page", NULL
20327 };
20328
20329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
20330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20331 {
20332 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
20335 {
20336 PyThreadState* __tstate = wxPyBeginAllowThreads();
20337 result = (bool)(arg1)->base_HasPage(arg2);
20338
20339 wxPyEndAllowThreads(__tstate);
20340 if (PyErr_Occurred()) SWIG_fail;
20341 }
20342 resultobj = SWIG_PyObj_FromBool((bool)result);
20343 return resultobj;
20344 fail:
20345 return NULL;
20346 }
20347
20348
20349 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20350 PyObject *resultobj;
20351 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20352 int *arg2 = (int *) 0 ;
20353 int *arg3 = (int *) 0 ;
20354 int *arg4 = (int *) 0 ;
20355 int *arg5 = (int *) 0 ;
20356 int temp2 ;
20357 int temp3 ;
20358 int temp4 ;
20359 int temp5 ;
20360 PyObject * obj0 = 0 ;
20361 char *kwnames[] = {
20362 (char *) "self", NULL
20363 };
20364
20365 arg2 = &temp2;
20366 arg3 = &temp3;
20367 arg4 = &temp4;
20368 arg5 = &temp5;
20369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
20370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20371 {
20372 PyThreadState* __tstate = wxPyBeginAllowThreads();
20373 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
20374
20375 wxPyEndAllowThreads(__tstate);
20376 if (PyErr_Occurred()) SWIG_fail;
20377 }
20378 Py_INCREF(Py_None); resultobj = Py_None;
20379 {
20380 PyObject *o = PyInt_FromLong((long) (*arg2));
20381 resultobj = t_output_helper(resultobj,o);
20382 }
20383 {
20384 PyObject *o = PyInt_FromLong((long) (*arg3));
20385 resultobj = t_output_helper(resultobj,o);
20386 }
20387 {
20388 PyObject *o = PyInt_FromLong((long) (*arg4));
20389 resultobj = t_output_helper(resultobj,o);
20390 }
20391 {
20392 PyObject *o = PyInt_FromLong((long) (*arg5));
20393 resultobj = t_output_helper(resultobj,o);
20394 }
20395 return resultobj;
20396 fail:
20397 return NULL;
20398 }
20399
20400
20401 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
20402 PyObject *obj;
20403 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20404 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
20405 Py_INCREF(obj);
20406 return Py_BuildValue((char *)"");
20407 }
20408 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20409 PyObject *resultobj;
20410 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20411 wxWindow *arg2 = (wxWindow *) 0 ;
20412 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20413 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20414 wxSize const &arg4_defvalue = wxDefaultSize ;
20415 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20416 long arg5 = (long) 0 ;
20417 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
20418 wxString *arg6 = (wxString *) &arg6_defvalue ;
20419 wxPreviewCanvas *result;
20420 wxPoint temp3 ;
20421 wxSize temp4 ;
20422 bool temp6 = False ;
20423 PyObject * obj0 = 0 ;
20424 PyObject * obj1 = 0 ;
20425 PyObject * obj2 = 0 ;
20426 PyObject * obj3 = 0 ;
20427 PyObject * obj4 = 0 ;
20428 PyObject * obj5 = 0 ;
20429 char *kwnames[] = {
20430 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20431 };
20432
20433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20435 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20436 if (obj2) {
20437 {
20438 arg3 = &temp3;
20439 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20440 }
20441 }
20442 if (obj3) {
20443 {
20444 arg4 = &temp4;
20445 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20446 }
20447 }
20448 if (obj4) {
20449 {
20450 arg5 = (long) SWIG_PyObj_AsLong(obj4);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 }
20454 if (obj5) {
20455 {
20456 arg6 = wxString_in_helper(obj5);
20457 if (arg6 == NULL) SWIG_fail;
20458 temp6 = True;
20459 }
20460 }
20461 {
20462 PyThreadState* __tstate = wxPyBeginAllowThreads();
20463 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20464
20465 wxPyEndAllowThreads(__tstate);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 }
20468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
20469 {
20470 if (temp6)
20471 delete arg6;
20472 }
20473 return resultobj;
20474 fail:
20475 {
20476 if (temp6)
20477 delete arg6;
20478 }
20479 return NULL;
20480 }
20481
20482
20483 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
20484 PyObject *obj;
20485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20486 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
20487 Py_INCREF(obj);
20488 return Py_BuildValue((char *)"");
20489 }
20490 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20491 PyObject *resultobj;
20492 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20493 wxFrame *arg2 = (wxFrame *) 0 ;
20494 wxString *arg3 = 0 ;
20495 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20496 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20497 wxSize const &arg5_defvalue = wxDefaultSize ;
20498 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20499 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20500 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20501 wxString *arg7 = (wxString *) &arg7_defvalue ;
20502 wxPreviewFrame *result;
20503 bool temp3 = False ;
20504 wxPoint temp4 ;
20505 wxSize temp5 ;
20506 bool temp7 = False ;
20507 PyObject * obj0 = 0 ;
20508 PyObject * obj1 = 0 ;
20509 PyObject * obj2 = 0 ;
20510 PyObject * obj3 = 0 ;
20511 PyObject * obj4 = 0 ;
20512 PyObject * obj5 = 0 ;
20513 PyObject * obj6 = 0 ;
20514 char *kwnames[] = {
20515 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20516 };
20517
20518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20520 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20521 {
20522 arg3 = wxString_in_helper(obj2);
20523 if (arg3 == NULL) SWIG_fail;
20524 temp3 = True;
20525 }
20526 if (obj3) {
20527 {
20528 arg4 = &temp4;
20529 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20530 }
20531 }
20532 if (obj4) {
20533 {
20534 arg5 = &temp5;
20535 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20536 }
20537 }
20538 if (obj5) {
20539 {
20540 arg6 = (long) SWIG_PyObj_AsLong(obj5);
20541 if (PyErr_Occurred()) SWIG_fail;
20542 }
20543 }
20544 if (obj6) {
20545 {
20546 arg7 = wxString_in_helper(obj6);
20547 if (arg7 == NULL) SWIG_fail;
20548 temp7 = True;
20549 }
20550 }
20551 {
20552 PyThreadState* __tstate = wxPyBeginAllowThreads();
20553 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20554
20555 wxPyEndAllowThreads(__tstate);
20556 if (PyErr_Occurred()) SWIG_fail;
20557 }
20558 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
20559 {
20560 if (temp3)
20561 delete arg3;
20562 }
20563 {
20564 if (temp7)
20565 delete arg7;
20566 }
20567 return resultobj;
20568 fail:
20569 {
20570 if (temp3)
20571 delete arg3;
20572 }
20573 {
20574 if (temp7)
20575 delete arg7;
20576 }
20577 return NULL;
20578 }
20579
20580
20581 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20582 PyObject *resultobj;
20583 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20584 PyObject * obj0 = 0 ;
20585 char *kwnames[] = {
20586 (char *) "self", NULL
20587 };
20588
20589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
20590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 (arg1)->Initialize();
20594
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
20598 Py_INCREF(Py_None); resultobj = Py_None;
20599 return resultobj;
20600 fail:
20601 return NULL;
20602 }
20603
20604
20605 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20606 PyObject *resultobj;
20607 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20608 PyObject * obj0 = 0 ;
20609 char *kwnames[] = {
20610 (char *) "self", NULL
20611 };
20612
20613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
20614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20615 {
20616 PyThreadState* __tstate = wxPyBeginAllowThreads();
20617 (arg1)->CreateControlBar();
20618
20619 wxPyEndAllowThreads(__tstate);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 }
20622 Py_INCREF(Py_None); resultobj = Py_None;
20623 return resultobj;
20624 fail:
20625 return NULL;
20626 }
20627
20628
20629 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20630 PyObject *resultobj;
20631 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20632 PyObject * obj0 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self", NULL
20635 };
20636
20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
20638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20639 {
20640 PyThreadState* __tstate = wxPyBeginAllowThreads();
20641 (arg1)->CreateCanvas();
20642
20643 wxPyEndAllowThreads(__tstate);
20644 if (PyErr_Occurred()) SWIG_fail;
20645 }
20646 Py_INCREF(Py_None); resultobj = Py_None;
20647 return resultobj;
20648 fail:
20649 return NULL;
20650 }
20651
20652
20653 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20654 PyObject *resultobj;
20655 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20656 wxPreviewControlBar *result;
20657 PyObject * obj0 = 0 ;
20658 char *kwnames[] = {
20659 (char *) "self", NULL
20660 };
20661
20662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
20663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
20667
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
20671 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
20672 return resultobj;
20673 fail:
20674 return NULL;
20675 }
20676
20677
20678 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
20679 PyObject *obj;
20680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20681 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
20682 Py_INCREF(obj);
20683 return Py_BuildValue((char *)"");
20684 }
20685 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20686 PyObject *resultobj;
20687 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20688 long arg2 ;
20689 wxWindow *arg3 = (wxWindow *) 0 ;
20690 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20691 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20692 wxSize const &arg5_defvalue = wxDefaultSize ;
20693 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20694 long arg6 = (long) wxTAB_TRAVERSAL ;
20695 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20696 wxString *arg7 = (wxString *) &arg7_defvalue ;
20697 wxPreviewControlBar *result;
20698 wxPoint temp4 ;
20699 wxSize temp5 ;
20700 bool temp7 = False ;
20701 PyObject * obj0 = 0 ;
20702 PyObject * obj1 = 0 ;
20703 PyObject * obj2 = 0 ;
20704 PyObject * obj3 = 0 ;
20705 PyObject * obj4 = 0 ;
20706 PyObject * obj5 = 0 ;
20707 PyObject * obj6 = 0 ;
20708 char *kwnames[] = {
20709 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20710 };
20711
20712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20714 {
20715 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20719 if (obj3) {
20720 {
20721 arg4 = &temp4;
20722 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20723 }
20724 }
20725 if (obj4) {
20726 {
20727 arg5 = &temp5;
20728 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20729 }
20730 }
20731 if (obj5) {
20732 {
20733 arg6 = (long) SWIG_PyObj_AsLong(obj5);
20734 if (PyErr_Occurred()) SWIG_fail;
20735 }
20736 }
20737 if (obj6) {
20738 {
20739 arg7 = wxString_in_helper(obj6);
20740 if (arg7 == NULL) SWIG_fail;
20741 temp7 = True;
20742 }
20743 }
20744 {
20745 PyThreadState* __tstate = wxPyBeginAllowThreads();
20746 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20747
20748 wxPyEndAllowThreads(__tstate);
20749 if (PyErr_Occurred()) SWIG_fail;
20750 }
20751 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
20752 {
20753 if (temp7)
20754 delete arg7;
20755 }
20756 return resultobj;
20757 fail:
20758 {
20759 if (temp7)
20760 delete arg7;
20761 }
20762 return NULL;
20763 }
20764
20765
20766 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20767 PyObject *resultobj;
20768 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20769 int result;
20770 PyObject * obj0 = 0 ;
20771 char *kwnames[] = {
20772 (char *) "self", NULL
20773 };
20774
20775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
20776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20777 {
20778 PyThreadState* __tstate = wxPyBeginAllowThreads();
20779 result = (int)(arg1)->GetZoomControl();
20780
20781 wxPyEndAllowThreads(__tstate);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 }
20784 resultobj = SWIG_PyObj_FromInt((int)result);
20785 return resultobj;
20786 fail:
20787 return NULL;
20788 }
20789
20790
20791 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20792 PyObject *resultobj;
20793 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20794 int arg2 ;
20795 PyObject * obj0 = 0 ;
20796 PyObject * obj1 = 0 ;
20797 char *kwnames[] = {
20798 (char *) "self",(char *) "zoom", NULL
20799 };
20800
20801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
20802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20803 {
20804 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20805 if (PyErr_Occurred()) SWIG_fail;
20806 }
20807 {
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 (arg1)->SetZoomControl(arg2);
20810
20811 wxPyEndAllowThreads(__tstate);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 Py_INCREF(Py_None); resultobj = Py_None;
20815 return resultobj;
20816 fail:
20817 return NULL;
20818 }
20819
20820
20821 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20822 PyObject *resultobj;
20823 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20824 wxPrintPreview *result;
20825 PyObject * obj0 = 0 ;
20826 char *kwnames[] = {
20827 (char *) "self", NULL
20828 };
20829
20830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
20831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20832 {
20833 PyThreadState* __tstate = wxPyBeginAllowThreads();
20834 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
20835
20836 wxPyEndAllowThreads(__tstate);
20837 if (PyErr_Occurred()) SWIG_fail;
20838 }
20839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
20840 return resultobj;
20841 fail:
20842 return NULL;
20843 }
20844
20845
20846 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
20847 PyObject *resultobj;
20848 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20849 PyObject * obj0 = 0 ;
20850 char *kwnames[] = {
20851 (char *) "self", NULL
20852 };
20853
20854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
20855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20856 {
20857 PyThreadState* __tstate = wxPyBeginAllowThreads();
20858 (arg1)->OnNext();
20859
20860 wxPyEndAllowThreads(__tstate);
20861 if (PyErr_Occurred()) SWIG_fail;
20862 }
20863 Py_INCREF(Py_None); resultobj = Py_None;
20864 return resultobj;
20865 fail:
20866 return NULL;
20867 }
20868
20869
20870 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
20871 PyObject *resultobj;
20872 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20873 PyObject * obj0 = 0 ;
20874 char *kwnames[] = {
20875 (char *) "self", NULL
20876 };
20877
20878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
20879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20880 {
20881 PyThreadState* __tstate = wxPyBeginAllowThreads();
20882 (arg1)->OnPrevious();
20883
20884 wxPyEndAllowThreads(__tstate);
20885 if (PyErr_Occurred()) SWIG_fail;
20886 }
20887 Py_INCREF(Py_None); resultobj = Py_None;
20888 return resultobj;
20889 fail:
20890 return NULL;
20891 }
20892
20893
20894 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
20895 PyObject *resultobj;
20896 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20897 PyObject * obj0 = 0 ;
20898 char *kwnames[] = {
20899 (char *) "self", NULL
20900 };
20901
20902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
20903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20904 {
20905 PyThreadState* __tstate = wxPyBeginAllowThreads();
20906 (arg1)->OnFirst();
20907
20908 wxPyEndAllowThreads(__tstate);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
20911 Py_INCREF(Py_None); resultobj = Py_None;
20912 return resultobj;
20913 fail:
20914 return NULL;
20915 }
20916
20917
20918 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
20919 PyObject *resultobj;
20920 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20921 PyObject * obj0 = 0 ;
20922 char *kwnames[] = {
20923 (char *) "self", NULL
20924 };
20925
20926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
20927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20928 {
20929 PyThreadState* __tstate = wxPyBeginAllowThreads();
20930 (arg1)->OnLast();
20931
20932 wxPyEndAllowThreads(__tstate);
20933 if (PyErr_Occurred()) SWIG_fail;
20934 }
20935 Py_INCREF(Py_None); resultobj = Py_None;
20936 return resultobj;
20937 fail:
20938 return NULL;
20939 }
20940
20941
20942 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
20943 PyObject *resultobj;
20944 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20945 PyObject * obj0 = 0 ;
20946 char *kwnames[] = {
20947 (char *) "self", NULL
20948 };
20949
20950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
20951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20952 {
20953 PyThreadState* __tstate = wxPyBeginAllowThreads();
20954 (arg1)->OnGoto();
20955
20956 wxPyEndAllowThreads(__tstate);
20957 if (PyErr_Occurred()) SWIG_fail;
20958 }
20959 Py_INCREF(Py_None); resultobj = Py_None;
20960 return resultobj;
20961 fail:
20962 return NULL;
20963 }
20964
20965
20966 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20967 PyObject *obj;
20968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20969 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
20970 Py_INCREF(obj);
20971 return Py_BuildValue((char *)"");
20972 }
20973 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20974 PyObject *resultobj;
20975 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20976 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20977 wxPrintData *arg3 = (wxPrintData *) NULL ;
20978 wxPrintPreview *result;
20979 PyObject * obj0 = 0 ;
20980 PyObject * obj1 = 0 ;
20981 PyObject * obj2 = 0 ;
20982 char *kwnames[] = {
20983 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20984 };
20985
20986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20988 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20989 if (obj2) {
20990 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20991 }
20992 {
20993 PyThreadState* __tstate = wxPyBeginAllowThreads();
20994 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
20995
20996 wxPyEndAllowThreads(__tstate);
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
20999 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
21000 return resultobj;
21001 fail:
21002 return NULL;
21003 }
21004
21005
21006 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21007 PyObject *resultobj;
21008 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21009 int arg2 ;
21010 bool result;
21011 PyObject * obj0 = 0 ;
21012 PyObject * obj1 = 0 ;
21013 char *kwnames[] = {
21014 (char *) "self",(char *) "pageNum", NULL
21015 };
21016
21017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21019 {
21020 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21021 if (PyErr_Occurred()) SWIG_fail;
21022 }
21023 {
21024 PyThreadState* __tstate = wxPyBeginAllowThreads();
21025 result = (bool)(arg1)->SetCurrentPage(arg2);
21026
21027 wxPyEndAllowThreads(__tstate);
21028 if (PyErr_Occurred()) SWIG_fail;
21029 }
21030 resultobj = SWIG_PyObj_FromBool((bool)result);
21031 return resultobj;
21032 fail:
21033 return NULL;
21034 }
21035
21036
21037 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21038 PyObject *resultobj;
21039 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21040 int result;
21041 PyObject * obj0 = 0 ;
21042 char *kwnames[] = {
21043 (char *) "self", NULL
21044 };
21045
21046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
21047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 result = (int)(arg1)->GetCurrentPage();
21051
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
21055 resultobj = SWIG_PyObj_FromInt((int)result);
21056 return resultobj;
21057 fail:
21058 return NULL;
21059 }
21060
21061
21062 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21063 PyObject *resultobj;
21064 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21065 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21066 PyObject * obj0 = 0 ;
21067 PyObject * obj1 = 0 ;
21068 char *kwnames[] = {
21069 (char *) "self",(char *) "printout", NULL
21070 };
21071
21072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
21073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21075 {
21076 PyThreadState* __tstate = wxPyBeginAllowThreads();
21077 (arg1)->SetPrintout(arg2);
21078
21079 wxPyEndAllowThreads(__tstate);
21080 if (PyErr_Occurred()) SWIG_fail;
21081 }
21082 Py_INCREF(Py_None); resultobj = Py_None;
21083 return resultobj;
21084 fail:
21085 return NULL;
21086 }
21087
21088
21089 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj;
21091 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21092 wxPyPrintout *result;
21093 PyObject * obj0 = 0 ;
21094 char *kwnames[] = {
21095 (char *) "self", NULL
21096 };
21097
21098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
21099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21100 {
21101 PyThreadState* __tstate = wxPyBeginAllowThreads();
21102 result = (wxPyPrintout *)(arg1)->GetPrintout();
21103
21104 wxPyEndAllowThreads(__tstate);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 }
21107 {
21108 resultobj = wxPyMake_wxObject(result);
21109 }
21110 return resultobj;
21111 fail:
21112 return NULL;
21113 }
21114
21115
21116 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21117 PyObject *resultobj;
21118 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21119 wxPyPrintout *result;
21120 PyObject * obj0 = 0 ;
21121 char *kwnames[] = {
21122 (char *) "self", NULL
21123 };
21124
21125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
21126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21127 {
21128 PyThreadState* __tstate = wxPyBeginAllowThreads();
21129 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
21130
21131 wxPyEndAllowThreads(__tstate);
21132 if (PyErr_Occurred()) SWIG_fail;
21133 }
21134 {
21135 resultobj = wxPyMake_wxObject(result);
21136 }
21137 return resultobj;
21138 fail:
21139 return NULL;
21140 }
21141
21142
21143 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21144 PyObject *resultobj;
21145 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21146 wxFrame *arg2 = (wxFrame *) 0 ;
21147 PyObject * obj0 = 0 ;
21148 PyObject * obj1 = 0 ;
21149 char *kwnames[] = {
21150 (char *) "self",(char *) "frame", NULL
21151 };
21152
21153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
21154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21155 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21156 {
21157 PyThreadState* __tstate = wxPyBeginAllowThreads();
21158 (arg1)->SetFrame(arg2);
21159
21160 wxPyEndAllowThreads(__tstate);
21161 if (PyErr_Occurred()) SWIG_fail;
21162 }
21163 Py_INCREF(Py_None); resultobj = Py_None;
21164 return resultobj;
21165 fail:
21166 return NULL;
21167 }
21168
21169
21170 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21171 PyObject *resultobj;
21172 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21173 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21174 PyObject * obj0 = 0 ;
21175 PyObject * obj1 = 0 ;
21176 char *kwnames[] = {
21177 (char *) "self",(char *) "canvas", NULL
21178 };
21179
21180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
21181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21182 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21183 {
21184 PyThreadState* __tstate = wxPyBeginAllowThreads();
21185 (arg1)->SetCanvas(arg2);
21186
21187 wxPyEndAllowThreads(__tstate);
21188 if (PyErr_Occurred()) SWIG_fail;
21189 }
21190 Py_INCREF(Py_None); resultobj = Py_None;
21191 return resultobj;
21192 fail:
21193 return NULL;
21194 }
21195
21196
21197 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21198 PyObject *resultobj;
21199 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21200 wxFrame *result;
21201 PyObject * obj0 = 0 ;
21202 char *kwnames[] = {
21203 (char *) "self", NULL
21204 };
21205
21206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
21207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 result = (wxFrame *)(arg1)->GetFrame();
21211
21212 wxPyEndAllowThreads(__tstate);
21213 if (PyErr_Occurred()) SWIG_fail;
21214 }
21215 {
21216 resultobj = wxPyMake_wxObject(result);
21217 }
21218 return resultobj;
21219 fail:
21220 return NULL;
21221 }
21222
21223
21224 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj;
21226 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21227 wxPreviewCanvas *result;
21228 PyObject * obj0 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
21234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
21238
21239 wxPyEndAllowThreads(__tstate);
21240 if (PyErr_Occurred()) SWIG_fail;
21241 }
21242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
21243 return resultobj;
21244 fail:
21245 return NULL;
21246 }
21247
21248
21249 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21250 PyObject *resultobj;
21251 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21252 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21253 wxDC *arg3 = 0 ;
21254 bool result;
21255 PyObject * obj0 = 0 ;
21256 PyObject * obj1 = 0 ;
21257 PyObject * obj2 = 0 ;
21258 char *kwnames[] = {
21259 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21260 };
21261
21262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21265 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21266 if (arg3 == NULL) {
21267 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21268 }
21269 {
21270 PyThreadState* __tstate = wxPyBeginAllowThreads();
21271 result = (bool)(arg1)->PaintPage(arg2,*arg3);
21272
21273 wxPyEndAllowThreads(__tstate);
21274 if (PyErr_Occurred()) SWIG_fail;
21275 }
21276 resultobj = SWIG_PyObj_FromBool((bool)result);
21277 return resultobj;
21278 fail:
21279 return NULL;
21280 }
21281
21282
21283 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21284 PyObject *resultobj;
21285 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21286 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21287 wxDC *arg3 = 0 ;
21288 bool result;
21289 PyObject * obj0 = 0 ;
21290 PyObject * obj1 = 0 ;
21291 PyObject * obj2 = 0 ;
21292 char *kwnames[] = {
21293 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21294 };
21295
21296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21299 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21300 if (arg3 == NULL) {
21301 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21302 }
21303 {
21304 PyThreadState* __tstate = wxPyBeginAllowThreads();
21305 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
21306
21307 wxPyEndAllowThreads(__tstate);
21308 if (PyErr_Occurred()) SWIG_fail;
21309 }
21310 resultobj = SWIG_PyObj_FromBool((bool)result);
21311 return resultobj;
21312 fail:
21313 return NULL;
21314 }
21315
21316
21317 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21318 PyObject *resultobj;
21319 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21320 int arg2 ;
21321 bool result;
21322 PyObject * obj0 = 0 ;
21323 PyObject * obj1 = 0 ;
21324 char *kwnames[] = {
21325 (char *) "self",(char *) "pageNum", NULL
21326 };
21327
21328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
21329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21330 {
21331 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21332 if (PyErr_Occurred()) SWIG_fail;
21333 }
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 result = (bool)(arg1)->RenderPage(arg2);
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 resultobj = SWIG_PyObj_FromBool((bool)result);
21342 return resultobj;
21343 fail:
21344 return NULL;
21345 }
21346
21347
21348 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
21349 PyObject *resultobj;
21350 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21351 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21352 PyObject * obj0 = 0 ;
21353 PyObject * obj1 = 0 ;
21354 char *kwnames[] = {
21355 (char *) "self",(char *) "canvas", NULL
21356 };
21357
21358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
21359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21360 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 (arg1)->AdjustScrollbars(arg2);
21364
21365 wxPyEndAllowThreads(__tstate);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 Py_INCREF(Py_None); resultobj = Py_None;
21369 return resultobj;
21370 fail:
21371 return NULL;
21372 }
21373
21374
21375 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21376 PyObject *resultobj;
21377 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21378 wxPrintDialogData *result;
21379 PyObject * obj0 = 0 ;
21380 char *kwnames[] = {
21381 (char *) "self", NULL
21382 };
21383
21384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
21385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21386 {
21387 PyThreadState* __tstate = wxPyBeginAllowThreads();
21388 {
21389 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21390 result = (wxPrintDialogData *) &_result_ref;
21391 }
21392
21393 wxPyEndAllowThreads(__tstate);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
21396 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
21397 return resultobj;
21398 fail:
21399 return NULL;
21400 }
21401
21402
21403 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21404 PyObject *resultobj;
21405 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21406 int arg2 ;
21407 PyObject * obj0 = 0 ;
21408 PyObject * obj1 = 0 ;
21409 char *kwnames[] = {
21410 (char *) "self",(char *) "percent", NULL
21411 };
21412
21413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
21414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21415 {
21416 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 {
21420 PyThreadState* __tstate = wxPyBeginAllowThreads();
21421 (arg1)->SetZoom(arg2);
21422
21423 wxPyEndAllowThreads(__tstate);
21424 if (PyErr_Occurred()) SWIG_fail;
21425 }
21426 Py_INCREF(Py_None); resultobj = Py_None;
21427 return resultobj;
21428 fail:
21429 return NULL;
21430 }
21431
21432
21433 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21434 PyObject *resultobj;
21435 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21436 int result;
21437 PyObject * obj0 = 0 ;
21438 char *kwnames[] = {
21439 (char *) "self", NULL
21440 };
21441
21442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
21443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21444 {
21445 PyThreadState* __tstate = wxPyBeginAllowThreads();
21446 result = (int)(arg1)->GetZoom();
21447
21448 wxPyEndAllowThreads(__tstate);
21449 if (PyErr_Occurred()) SWIG_fail;
21450 }
21451 resultobj = SWIG_PyObj_FromInt((int)result);
21452 return resultobj;
21453 fail:
21454 return NULL;
21455 }
21456
21457
21458 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21459 PyObject *resultobj;
21460 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21461 int result;
21462 PyObject * obj0 = 0 ;
21463 char *kwnames[] = {
21464 (char *) "self", NULL
21465 };
21466
21467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
21468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 result = (int)(arg1)->GetMaxPage();
21472
21473 wxPyEndAllowThreads(__tstate);
21474 if (PyErr_Occurred()) SWIG_fail;
21475 }
21476 resultobj = SWIG_PyObj_FromInt((int)result);
21477 return resultobj;
21478 fail:
21479 return NULL;
21480 }
21481
21482
21483 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21484 PyObject *resultobj;
21485 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21486 int result;
21487 PyObject * obj0 = 0 ;
21488 char *kwnames[] = {
21489 (char *) "self", NULL
21490 };
21491
21492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
21493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21494 {
21495 PyThreadState* __tstate = wxPyBeginAllowThreads();
21496 result = (int)(arg1)->GetMinPage();
21497
21498 wxPyEndAllowThreads(__tstate);
21499 if (PyErr_Occurred()) SWIG_fail;
21500 }
21501 resultobj = SWIG_PyObj_FromInt((int)result);
21502 return resultobj;
21503 fail:
21504 return NULL;
21505 }
21506
21507
21508 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21509 PyObject *resultobj;
21510 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21511 bool result;
21512 PyObject * obj0 = 0 ;
21513 char *kwnames[] = {
21514 (char *) "self", NULL
21515 };
21516
21517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
21518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21519 {
21520 PyThreadState* __tstate = wxPyBeginAllowThreads();
21521 result = (bool)(arg1)->Ok();
21522
21523 wxPyEndAllowThreads(__tstate);
21524 if (PyErr_Occurred()) SWIG_fail;
21525 }
21526 resultobj = SWIG_PyObj_FromBool((bool)result);
21527 return resultobj;
21528 fail:
21529 return NULL;
21530 }
21531
21532
21533 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
21534 PyObject *resultobj;
21535 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21536 bool arg2 ;
21537 PyObject * obj0 = 0 ;
21538 PyObject * obj1 = 0 ;
21539 char *kwnames[] = {
21540 (char *) "self",(char *) "ok", NULL
21541 };
21542
21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
21544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21545 {
21546 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21547 if (PyErr_Occurred()) SWIG_fail;
21548 }
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 (arg1)->SetOk(arg2);
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 Py_INCREF(Py_None); resultobj = Py_None;
21557 return resultobj;
21558 fail:
21559 return NULL;
21560 }
21561
21562
21563 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21564 PyObject *resultobj;
21565 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21566 bool arg2 ;
21567 bool result;
21568 PyObject * obj0 = 0 ;
21569 PyObject * obj1 = 0 ;
21570 char *kwnames[] = {
21571 (char *) "self",(char *) "interactive", NULL
21572 };
21573
21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
21575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21576 {
21577 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 {
21581 PyThreadState* __tstate = wxPyBeginAllowThreads();
21582 result = (bool)(arg1)->Print(arg2);
21583
21584 wxPyEndAllowThreads(__tstate);
21585 if (PyErr_Occurred()) SWIG_fail;
21586 }
21587 resultobj = SWIG_PyObj_FromBool((bool)result);
21588 return resultobj;
21589 fail:
21590 return NULL;
21591 }
21592
21593
21594 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
21595 PyObject *resultobj;
21596 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21597 PyObject * obj0 = 0 ;
21598 char *kwnames[] = {
21599 (char *) "self", NULL
21600 };
21601
21602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
21603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21604 {
21605 PyThreadState* __tstate = wxPyBeginAllowThreads();
21606 (arg1)->DetermineScaling();
21607
21608 wxPyEndAllowThreads(__tstate);
21609 if (PyErr_Occurred()) SWIG_fail;
21610 }
21611 Py_INCREF(Py_None); resultobj = Py_None;
21612 return resultobj;
21613 fail:
21614 return NULL;
21615 }
21616
21617
21618 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
21619 PyObject *obj;
21620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21621 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
21622 Py_INCREF(obj);
21623 return Py_BuildValue((char *)"");
21624 }
21625 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21626 PyObject *resultobj;
21627 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21628 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21629 wxPrintData *arg3 = (wxPrintData *) NULL ;
21630 wxPyPrintPreview *result;
21631 PyObject * obj0 = 0 ;
21632 PyObject * obj1 = 0 ;
21633 PyObject * obj2 = 0 ;
21634 char *kwnames[] = {
21635 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21636 };
21637
21638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
21639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21640 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21641 if (obj2) {
21642 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21643 }
21644 {
21645 PyThreadState* __tstate = wxPyBeginAllowThreads();
21646 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
21647
21648 wxPyEndAllowThreads(__tstate);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
21652 return resultobj;
21653 fail:
21654 return NULL;
21655 }
21656
21657
21658 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21659 PyObject *resultobj;
21660 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21661 PyObject *arg2 = (PyObject *) 0 ;
21662 PyObject *arg3 = (PyObject *) 0 ;
21663 PyObject * obj0 = 0 ;
21664 PyObject * obj1 = 0 ;
21665 PyObject * obj2 = 0 ;
21666 char *kwnames[] = {
21667 (char *) "self",(char *) "self",(char *) "_class", NULL
21668 };
21669
21670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21672 arg2 = obj1;
21673 arg3 = obj2;
21674 {
21675 PyThreadState* __tstate = wxPyBeginAllowThreads();
21676 (arg1)->_setCallbackInfo(arg2,arg3);
21677
21678 wxPyEndAllowThreads(__tstate);
21679 if (PyErr_Occurred()) SWIG_fail;
21680 }
21681 Py_INCREF(Py_None); resultobj = Py_None;
21682 return resultobj;
21683 fail:
21684 return NULL;
21685 }
21686
21687
21688 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21689 PyObject *resultobj;
21690 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21691 int arg2 ;
21692 bool result;
21693 PyObject * obj0 = 0 ;
21694 PyObject * obj1 = 0 ;
21695 char *kwnames[] = {
21696 (char *) "self",(char *) "pageNum", NULL
21697 };
21698
21699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21701 {
21702 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21703 if (PyErr_Occurred()) SWIG_fail;
21704 }
21705 {
21706 PyThreadState* __tstate = wxPyBeginAllowThreads();
21707 result = (bool)(arg1)->base_SetCurrentPage(arg2);
21708
21709 wxPyEndAllowThreads(__tstate);
21710 if (PyErr_Occurred()) SWIG_fail;
21711 }
21712 resultobj = SWIG_PyObj_FromBool((bool)result);
21713 return resultobj;
21714 fail:
21715 return NULL;
21716 }
21717
21718
21719 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21720 PyObject *resultobj;
21721 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21722 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21723 wxDC *arg3 = 0 ;
21724 bool result;
21725 PyObject * obj0 = 0 ;
21726 PyObject * obj1 = 0 ;
21727 PyObject * obj2 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21735 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21736 if (arg3 == NULL) {
21737 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21738 }
21739 {
21740 PyThreadState* __tstate = wxPyBeginAllowThreads();
21741 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
21742
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 resultobj = SWIG_PyObj_FromBool((bool)result);
21747 return resultobj;
21748 fail:
21749 return NULL;
21750 }
21751
21752
21753 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21754 PyObject *resultobj;
21755 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21756 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21757 wxDC *arg3 = 0 ;
21758 bool result;
21759 PyObject * obj0 = 0 ;
21760 PyObject * obj1 = 0 ;
21761 PyObject * obj2 = 0 ;
21762 char *kwnames[] = {
21763 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21764 };
21765
21766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21768 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21769 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21770 if (arg3 == NULL) {
21771 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21772 }
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
21776
21777 wxPyEndAllowThreads(__tstate);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 }
21780 resultobj = SWIG_PyObj_FromBool((bool)result);
21781 return resultobj;
21782 fail:
21783 return NULL;
21784 }
21785
21786
21787 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21788 PyObject *resultobj;
21789 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21790 int arg2 ;
21791 bool result;
21792 PyObject * obj0 = 0 ;
21793 PyObject * obj1 = 0 ;
21794 char *kwnames[] = {
21795 (char *) "self",(char *) "pageNum", NULL
21796 };
21797
21798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
21799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21800 {
21801 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21802 if (PyErr_Occurred()) SWIG_fail;
21803 }
21804 {
21805 PyThreadState* __tstate = wxPyBeginAllowThreads();
21806 result = (bool)(arg1)->base_RenderPage(arg2);
21807
21808 wxPyEndAllowThreads(__tstate);
21809 if (PyErr_Occurred()) SWIG_fail;
21810 }
21811 resultobj = SWIG_PyObj_FromBool((bool)result);
21812 return resultobj;
21813 fail:
21814 return NULL;
21815 }
21816
21817
21818 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21821 int arg2 ;
21822 PyObject * obj0 = 0 ;
21823 PyObject * obj1 = 0 ;
21824 char *kwnames[] = {
21825 (char *) "self",(char *) "percent", NULL
21826 };
21827
21828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
21829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21830 {
21831 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21832 if (PyErr_Occurred()) SWIG_fail;
21833 }
21834 {
21835 PyThreadState* __tstate = wxPyBeginAllowThreads();
21836 (arg1)->base_SetZoom(arg2);
21837
21838 wxPyEndAllowThreads(__tstate);
21839 if (PyErr_Occurred()) SWIG_fail;
21840 }
21841 Py_INCREF(Py_None); resultobj = Py_None;
21842 return resultobj;
21843 fail:
21844 return NULL;
21845 }
21846
21847
21848 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21849 PyObject *resultobj;
21850 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21851 bool arg2 ;
21852 bool result;
21853 PyObject * obj0 = 0 ;
21854 PyObject * obj1 = 0 ;
21855 char *kwnames[] = {
21856 (char *) "self",(char *) "interactive", NULL
21857 };
21858
21859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
21860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21861 {
21862 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21863 if (PyErr_Occurred()) SWIG_fail;
21864 }
21865 {
21866 PyThreadState* __tstate = wxPyBeginAllowThreads();
21867 result = (bool)(arg1)->base_Print(arg2);
21868
21869 wxPyEndAllowThreads(__tstate);
21870 if (PyErr_Occurred()) SWIG_fail;
21871 }
21872 resultobj = SWIG_PyObj_FromBool((bool)result);
21873 return resultobj;
21874 fail:
21875 return NULL;
21876 }
21877
21878
21879 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
21880 PyObject *resultobj;
21881 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21882 PyObject * obj0 = 0 ;
21883 char *kwnames[] = {
21884 (char *) "self", NULL
21885 };
21886
21887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
21888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21889 {
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 (arg1)->base_DetermineScaling();
21892
21893 wxPyEndAllowThreads(__tstate);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 Py_INCREF(Py_None); resultobj = Py_None;
21897 return resultobj;
21898 fail:
21899 return NULL;
21900 }
21901
21902
21903 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
21904 PyObject *obj;
21905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21906 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
21907 Py_INCREF(obj);
21908 return Py_BuildValue((char *)"");
21909 }
21910 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21911 PyObject *resultobj;
21912 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21913 wxFrame *arg2 = (wxFrame *) 0 ;
21914 wxString *arg3 = 0 ;
21915 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21916 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21917 wxSize const &arg5_defvalue = wxDefaultSize ;
21918 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21919 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21920 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21921 wxString *arg7 = (wxString *) &arg7_defvalue ;
21922 wxPyPreviewFrame *result;
21923 bool temp3 = False ;
21924 wxPoint temp4 ;
21925 wxSize temp5 ;
21926 bool temp7 = False ;
21927 PyObject * obj0 = 0 ;
21928 PyObject * obj1 = 0 ;
21929 PyObject * obj2 = 0 ;
21930 PyObject * obj3 = 0 ;
21931 PyObject * obj4 = 0 ;
21932 PyObject * obj5 = 0 ;
21933 PyObject * obj6 = 0 ;
21934 char *kwnames[] = {
21935 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21936 };
21937
21938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21941 {
21942 arg3 = wxString_in_helper(obj2);
21943 if (arg3 == NULL) SWIG_fail;
21944 temp3 = True;
21945 }
21946 if (obj3) {
21947 {
21948 arg4 = &temp4;
21949 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21950 }
21951 }
21952 if (obj4) {
21953 {
21954 arg5 = &temp5;
21955 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21956 }
21957 }
21958 if (obj5) {
21959 {
21960 arg6 = (long) SWIG_PyObj_AsLong(obj5);
21961 if (PyErr_Occurred()) SWIG_fail;
21962 }
21963 }
21964 if (obj6) {
21965 {
21966 arg7 = wxString_in_helper(obj6);
21967 if (arg7 == NULL) SWIG_fail;
21968 temp7 = True;
21969 }
21970 }
21971 {
21972 PyThreadState* __tstate = wxPyBeginAllowThreads();
21973 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21974
21975 wxPyEndAllowThreads(__tstate);
21976 if (PyErr_Occurred()) SWIG_fail;
21977 }
21978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
21979 {
21980 if (temp3)
21981 delete arg3;
21982 }
21983 {
21984 if (temp7)
21985 delete arg7;
21986 }
21987 return resultobj;
21988 fail:
21989 {
21990 if (temp3)
21991 delete arg3;
21992 }
21993 {
21994 if (temp7)
21995 delete arg7;
21996 }
21997 return NULL;
21998 }
21999
22000
22001 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22002 PyObject *resultobj;
22003 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22004 PyObject *arg2 = (PyObject *) 0 ;
22005 PyObject *arg3 = (PyObject *) 0 ;
22006 PyObject * obj0 = 0 ;
22007 PyObject * obj1 = 0 ;
22008 PyObject * obj2 = 0 ;
22009 char *kwnames[] = {
22010 (char *) "self",(char *) "self",(char *) "_class", NULL
22011 };
22012
22013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22015 arg2 = obj1;
22016 arg3 = obj2;
22017 {
22018 PyThreadState* __tstate = wxPyBeginAllowThreads();
22019 (arg1)->_setCallbackInfo(arg2,arg3);
22020
22021 wxPyEndAllowThreads(__tstate);
22022 if (PyErr_Occurred()) SWIG_fail;
22023 }
22024 Py_INCREF(Py_None); resultobj = Py_None;
22025 return resultobj;
22026 fail:
22027 return NULL;
22028 }
22029
22030
22031 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22032 PyObject *resultobj;
22033 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22034 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22035 PyObject * obj0 = 0 ;
22036 PyObject * obj1 = 0 ;
22037 char *kwnames[] = {
22038 (char *) "self",(char *) "canvas", NULL
22039 };
22040
22041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
22042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22043 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22044 {
22045 PyThreadState* __tstate = wxPyBeginAllowThreads();
22046 (arg1)->SetPreviewCanvas(arg2);
22047
22048 wxPyEndAllowThreads(__tstate);
22049 if (PyErr_Occurred()) SWIG_fail;
22050 }
22051 Py_INCREF(Py_None); resultobj = Py_None;
22052 return resultobj;
22053 fail:
22054 return NULL;
22055 }
22056
22057
22058 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22059 PyObject *resultobj;
22060 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22061 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
22062 PyObject * obj0 = 0 ;
22063 PyObject * obj1 = 0 ;
22064 char *kwnames[] = {
22065 (char *) "self",(char *) "bar", NULL
22066 };
22067
22068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
22069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22070 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22071 {
22072 PyThreadState* __tstate = wxPyBeginAllowThreads();
22073 (arg1)->SetControlBar(arg2);
22074
22075 wxPyEndAllowThreads(__tstate);
22076 if (PyErr_Occurred()) SWIG_fail;
22077 }
22078 Py_INCREF(Py_None); resultobj = Py_None;
22079 return resultobj;
22080 fail:
22081 return NULL;
22082 }
22083
22084
22085 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22086 PyObject *resultobj;
22087 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22088 PyObject * obj0 = 0 ;
22089 char *kwnames[] = {
22090 (char *) "self", NULL
22091 };
22092
22093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
22094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22095 {
22096 PyThreadState* __tstate = wxPyBeginAllowThreads();
22097 (arg1)->base_Initialize();
22098
22099 wxPyEndAllowThreads(__tstate);
22100 if (PyErr_Occurred()) SWIG_fail;
22101 }
22102 Py_INCREF(Py_None); resultobj = Py_None;
22103 return resultobj;
22104 fail:
22105 return NULL;
22106 }
22107
22108
22109 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22110 PyObject *resultobj;
22111 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22112 PyObject * obj0 = 0 ;
22113 char *kwnames[] = {
22114 (char *) "self", NULL
22115 };
22116
22117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
22118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22119 {
22120 PyThreadState* __tstate = wxPyBeginAllowThreads();
22121 (arg1)->base_CreateCanvas();
22122
22123 wxPyEndAllowThreads(__tstate);
22124 if (PyErr_Occurred()) SWIG_fail;
22125 }
22126 Py_INCREF(Py_None); resultobj = Py_None;
22127 return resultobj;
22128 fail:
22129 return NULL;
22130 }
22131
22132
22133 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22134 PyObject *resultobj;
22135 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22136 PyObject * obj0 = 0 ;
22137 char *kwnames[] = {
22138 (char *) "self", NULL
22139 };
22140
22141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
22142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22143 {
22144 PyThreadState* __tstate = wxPyBeginAllowThreads();
22145 (arg1)->base_CreateControlBar();
22146
22147 wxPyEndAllowThreads(__tstate);
22148 if (PyErr_Occurred()) SWIG_fail;
22149 }
22150 Py_INCREF(Py_None); resultobj = Py_None;
22151 return resultobj;
22152 fail:
22153 return NULL;
22154 }
22155
22156
22157 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
22158 PyObject *obj;
22159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22160 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
22161 Py_INCREF(obj);
22162 return Py_BuildValue((char *)"");
22163 }
22164 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22165 PyObject *resultobj;
22166 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22167 long arg2 ;
22168 wxWindow *arg3 = (wxWindow *) 0 ;
22169 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22170 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22171 wxSize const &arg5_defvalue = wxDefaultSize ;
22172 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22173 long arg6 = (long) 0 ;
22174 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22175 wxString *arg7 = (wxString *) &arg7_defvalue ;
22176 wxPyPreviewControlBar *result;
22177 wxPoint temp4 ;
22178 wxSize temp5 ;
22179 bool temp7 = False ;
22180 PyObject * obj0 = 0 ;
22181 PyObject * obj1 = 0 ;
22182 PyObject * obj2 = 0 ;
22183 PyObject * obj3 = 0 ;
22184 PyObject * obj4 = 0 ;
22185 PyObject * obj5 = 0 ;
22186 PyObject * obj6 = 0 ;
22187 char *kwnames[] = {
22188 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22189 };
22190
22191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22193 {
22194 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
22197 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22198 if (obj3) {
22199 {
22200 arg4 = &temp4;
22201 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22202 }
22203 }
22204 if (obj4) {
22205 {
22206 arg5 = &temp5;
22207 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22208 }
22209 }
22210 if (obj5) {
22211 {
22212 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 }
22216 if (obj6) {
22217 {
22218 arg7 = wxString_in_helper(obj6);
22219 if (arg7 == NULL) SWIG_fail;
22220 temp7 = True;
22221 }
22222 }
22223 {
22224 PyThreadState* __tstate = wxPyBeginAllowThreads();
22225 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22226
22227 wxPyEndAllowThreads(__tstate);
22228 if (PyErr_Occurred()) SWIG_fail;
22229 }
22230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
22231 {
22232 if (temp7)
22233 delete arg7;
22234 }
22235 return resultobj;
22236 fail:
22237 {
22238 if (temp7)
22239 delete arg7;
22240 }
22241 return NULL;
22242 }
22243
22244
22245 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22246 PyObject *resultobj;
22247 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22248 PyObject *arg2 = (PyObject *) 0 ;
22249 PyObject *arg3 = (PyObject *) 0 ;
22250 PyObject * obj0 = 0 ;
22251 PyObject * obj1 = 0 ;
22252 PyObject * obj2 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self",(char *) "self",(char *) "_class", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22259 arg2 = obj1;
22260 arg3 = obj2;
22261 {
22262 PyThreadState* __tstate = wxPyBeginAllowThreads();
22263 (arg1)->_setCallbackInfo(arg2,arg3);
22264
22265 wxPyEndAllowThreads(__tstate);
22266 if (PyErr_Occurred()) SWIG_fail;
22267 }
22268 Py_INCREF(Py_None); resultobj = Py_None;
22269 return resultobj;
22270 fail:
22271 return NULL;
22272 }
22273
22274
22275 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22276 PyObject *resultobj;
22277 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22278 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
22279 PyObject * obj0 = 0 ;
22280 PyObject * obj1 = 0 ;
22281 char *kwnames[] = {
22282 (char *) "self",(char *) "preview", NULL
22283 };
22284
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
22286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22287 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 (arg1)->SetPrintPreview(arg2);
22291
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 Py_INCREF(Py_None); resultobj = Py_None;
22296 return resultobj;
22297 fail:
22298 return NULL;
22299 }
22300
22301
22302 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
22303 PyObject *resultobj;
22304 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22305 PyObject * obj0 = 0 ;
22306 char *kwnames[] = {
22307 (char *) "self", NULL
22308 };
22309
22310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
22311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22312 {
22313 PyThreadState* __tstate = wxPyBeginAllowThreads();
22314 (arg1)->base_CreateButtons();
22315
22316 wxPyEndAllowThreads(__tstate);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 }
22319 Py_INCREF(Py_None); resultobj = Py_None;
22320 return resultobj;
22321 fail:
22322 return NULL;
22323 }
22324
22325
22326 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22327 PyObject *resultobj;
22328 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22329 int arg2 ;
22330 PyObject * obj0 = 0 ;
22331 PyObject * obj1 = 0 ;
22332 char *kwnames[] = {
22333 (char *) "self",(char *) "zoom", NULL
22334 };
22335
22336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22338 {
22339 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 }
22342 {
22343 PyThreadState* __tstate = wxPyBeginAllowThreads();
22344 (arg1)->base_SetZoomControl(arg2);
22345
22346 wxPyEndAllowThreads(__tstate);
22347 if (PyErr_Occurred()) SWIG_fail;
22348 }
22349 Py_INCREF(Py_None); resultobj = Py_None;
22350 return resultobj;
22351 fail:
22352 return NULL;
22353 }
22354
22355
22356 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22357 PyObject *obj;
22358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22359 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
22360 Py_INCREF(obj);
22361 return Py_BuildValue((char *)"");
22362 }
22363 static PyMethodDef SwigMethods[] = {
22364 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
22365 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
22366 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
22367 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
22368 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
22369 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22370 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22371 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22372 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
22373 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
22374 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22375 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22376 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
22377 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
22378 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
22379 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
22380 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
22381 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
22382 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
22383 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
22384 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
22385 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
22386 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
22387 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22388 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22389 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
22390 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
22391 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
22392 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
22393 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
22394 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
22395 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
22396 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
22397 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
22398 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
22399 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
22400 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
22401 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
22402 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
22403 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
22404 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
22405 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
22406 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
22407 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
22408 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
22409 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
22410 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
22411 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
22412 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
22413 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
22414 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
22415 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
22416 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
22417 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22418 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22419 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22420 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22421 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22422 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22423 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
22424 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
22425 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
22426 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
22427 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
22428 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
22429 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
22430 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
22431 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
22432 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
22433 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
22434 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
22435 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
22436 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
22437 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22438 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
22439 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
22440 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
22441 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
22442 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
22443 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
22444 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
22445 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
22446 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
22447 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
22448 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
22449 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
22450 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
22451 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
22452 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
22453 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
22454 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
22455 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
22456 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
22457 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22458 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22459 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22460 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
22461 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22462 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22463 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22464 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
22465 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
22466 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
22467 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
22468 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
22469 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
22470 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
22471 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
22472 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
22473 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
22474 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
22475 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
22476 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
22477 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
22478 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
22479 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
22480 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
22481 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
22482 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
22483 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
22484 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
22485 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
22486 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22487 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22488 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22489 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22490 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22491 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22492 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22493 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22494 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
22495 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
22496 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22497 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22498 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
22499 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
22500 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
22501 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
22502 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
22503 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
22504 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
22505 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
22506 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
22507 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
22508 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
22509 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
22510 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22511 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22512 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22513 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22514 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22515 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22516 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22517 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22518 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22519 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22520 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22521 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22522 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22523 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22524 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
22525 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
22526 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
22527 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
22528 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
22529 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
22530 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
22531 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
22532 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
22533 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
22534 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22535 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22536 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22537 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22538 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
22539 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
22540 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22541 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22542 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22543 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22544 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
22545 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
22546 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22547 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22548 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
22549 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
22550 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
22551 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22552 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22553 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
22554 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22555 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22556 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22557 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
22558 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22559 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
22560 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22561 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22562 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
22563 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
22564 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
22565 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
22566 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
22567 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
22568 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
22569 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
22570 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
22571 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
22572 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
22573 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
22574 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
22575 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
22576 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22577 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22578 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22579 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22580 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
22581 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
22582 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
22583 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
22584 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
22585 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
22586 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
22587 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
22588 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
22589 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
22590 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
22591 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
22592 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
22593 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
22594 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
22595 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
22596 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22597 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
22598 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
22599 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
22600 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
22601 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
22602 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
22603 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
22604 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
22605 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
22606 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
22607 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
22608 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
22609 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
22610 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
22611 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
22612 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
22613 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
22614 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
22615 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
22616 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
22617 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
22618 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
22619 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
22620 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
22621 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
22622 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22623 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
22624 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
22625 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
22626 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
22627 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
22628 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
22629 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
22630 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
22631 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
22632 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
22633 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
22634 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
22635 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
22636 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
22637 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
22638 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
22639 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
22640 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
22641 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
22642 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
22643 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22644 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
22645 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
22646 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
22647 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
22648 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
22649 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
22650 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
22651 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22652 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
22653 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
22654 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
22655 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
22656 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
22657 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
22658 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
22659 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
22660 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
22661 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
22662 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
22663 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
22664 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
22665 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
22666 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
22667 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
22668 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
22669 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
22670 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
22671 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
22672 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
22673 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
22674 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
22675 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
22676 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
22677 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
22678 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
22679 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22680 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
22681 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
22682 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
22683 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
22684 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22685 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
22686 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
22687 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
22688 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
22689 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
22690 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
22691 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
22692 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
22693 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
22694 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
22695 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
22696 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
22697 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
22698 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
22699 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
22700 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
22701 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
22702 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
22703 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
22704 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22705 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
22706 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
22707 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22708 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
22709 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
22710 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
22711 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
22712 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
22713 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
22714 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22715 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
22716 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
22717 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
22718 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22719 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
22720 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
22721 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
22722 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
22723 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
22724 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
22725 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
22726 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
22727 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
22728 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
22729 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
22730 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
22731 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
22732 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
22733 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
22734 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
22735 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
22736 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
22737 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
22738 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
22739 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
22740 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
22741 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
22742 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
22743 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
22744 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
22745 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
22746 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
22747 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
22748 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
22749 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
22750 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
22751 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
22752 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
22753 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
22754 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
22755 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
22756 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
22757 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
22758 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
22759 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
22760 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
22761 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22762 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
22763 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
22764 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
22765 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
22766 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
22767 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
22768 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
22769 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
22770 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
22771 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
22772 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
22773 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
22774 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
22775 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
22776 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
22777 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
22778 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
22779 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
22780 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
22781 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
22782 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22783 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
22784 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
22785 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
22786 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
22787 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
22788 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
22789 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
22790 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
22791 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
22792 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
22793 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
22794 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
22795 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
22796 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
22797 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
22798 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
22799 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
22800 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
22801 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
22802 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
22803 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
22804 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
22805 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
22806 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22807 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
22808 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
22809 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
22810 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
22811 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
22812 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
22813 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
22814 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
22815 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
22816 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22817 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
22818 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
22819 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
22820 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
22821 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
22822 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
22823 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
22824 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
22825 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
22826 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
22827 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
22828 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
22829 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
22830 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
22831 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
22832 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
22833 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
22834 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
22835 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
22836 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
22837 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
22838 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
22839 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
22840 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
22841 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
22842 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
22843 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
22844 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
22845 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
22846 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
22847 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
22848 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
22849 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
22850 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
22851 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
22852 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
22853 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
22854 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
22855 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
22856 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
22857 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
22858 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
22859 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
22860 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
22861 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
22862 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
22863 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
22864 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
22865 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
22866 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
22867 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
22868 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
22869 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
22870 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
22871 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
22872 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
22873 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
22874 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
22875 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
22876 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
22877 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
22878 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
22879 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
22880 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22881 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
22882 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
22883 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
22884 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
22885 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
22886 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
22887 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
22888 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
22889 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
22890 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
22891 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
22892 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
22893 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
22894 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
22895 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
22896 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
22897 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
22898 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
22899 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
22900 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
22901 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
22902 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
22903 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
22904 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
22905 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
22906 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
22907 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
22908 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
22909 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
22910 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
22911 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
22912 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
22913 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
22914 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
22915 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
22916 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
22917 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
22918 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
22919 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22920 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
22921 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
22922 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
22923 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
22924 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
22925 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
22926 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
22927 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
22928 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
22929 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
22930 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
22931 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
22932 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
22933 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22934 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
22935 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
22936 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
22937 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
22938 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
22939 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
22940 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
22941 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
22942 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
22943 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
22944 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
22945 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
22946 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
22947 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
22948 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
22949 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
22950 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
22951 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
22952 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
22953 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
22954 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
22955 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
22956 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
22957 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
22958 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
22959 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
22960 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
22961 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
22962 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
22963 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
22964 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
22965 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
22966 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
22967 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
22968 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
22969 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
22970 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
22971 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
22972 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
22973 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
22974 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
22975 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
22976 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
22977 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
22978 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
22979 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
22980 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
22981 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
22982 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
22983 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
22984 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
22985 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
22986 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
22987 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
22988 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
22989 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
22990 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
22991 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
22992 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
22993 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
22994 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
22995 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
22996 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
22997 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
22998 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22999 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23000 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
23001 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23002 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
23003 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
23004 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
23005 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23006 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
23007 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
23008 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23009 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23010 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
23011 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
23012 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23013 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23014 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
23015 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23016 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23017 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23018 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
23019 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23020 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
23021 { NULL, NULL }
23022 };
23023
23024
23025 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23026
23027 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
23028 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23029 }
23030 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
23031 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
23032 }
23033 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
23034 return (void *)((wxEvent *) ((wxMenuEvent *) x));
23035 }
23036 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
23037 return (void *)((wxEvent *) ((wxCloseEvent *) x));
23038 }
23039 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
23040 return (void *)((wxEvent *) ((wxMouseEvent *) x));
23041 }
23042 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
23043 return (void *)((wxEvent *) ((wxEraseEvent *) x));
23044 }
23045 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
23046 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
23047 }
23048 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
23049 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23050 }
23051 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
23052 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
23053 }
23054 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
23055 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
23056 }
23057 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
23058 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
23059 }
23060 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
23061 return (void *)((wxEvent *) ((wxPyEvent *) x));
23062 }
23063 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
23064 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
23065 }
23066 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
23067 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
23068 }
23069 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
23070 return (void *)((wxEvent *) ((wxIdleEvent *) x));
23071 }
23072 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
23073 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
23074 }
23075 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
23076 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
23077 }
23078 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
23079 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
23080 }
23081 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
23082 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
23083 }
23084 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
23085 return (void *)((wxEvent *) ((wxActivateEvent *) x));
23086 }
23087 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
23088 return (void *)((wxEvent *) ((wxSizeEvent *) x));
23089 }
23090 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
23091 return (void *)((wxEvent *) ((wxMoveEvent *) x));
23092 }
23093 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
23094 return (void *)((wxEvent *) ((wxPaintEvent *) x));
23095 }
23096 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
23097 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
23098 }
23099 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
23100 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
23101 }
23102 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
23103 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
23104 }
23105 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
23106 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
23107 }
23108 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
23109 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23110 }
23111 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
23112 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
23113 }
23114 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
23115 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
23116 }
23117 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
23118 return (void *)((wxEvent *) ((wxFocusEvent *) x));
23119 }
23120 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
23121 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
23122 }
23123 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
23124 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
23125 }
23126 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
23127 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23128 }
23129 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
23130 return (void *)((wxEvent *) ((wxShowEvent *) x));
23131 }
23132 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
23133 return (void *)((wxEvent *) ((wxCommandEvent *) x));
23134 }
23135 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
23136 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
23137 }
23138 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
23139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23140 }
23141 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
23142 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
23143 }
23144 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
23145 return (void *)((wxEvent *) ((wxKeyEvent *) x));
23146 }
23147 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
23148 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
23149 }
23150 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
23151 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
23152 }
23153 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
23154 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
23155 }
23156 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
23157 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23158 }
23159 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
23160 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23161 }
23162 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
23163 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23164 }
23165 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
23166 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
23167 }
23168 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
23169 return (void *)((wxEvtHandler *) ((wxValidator *) x));
23170 }
23171 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
23172 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
23173 }
23174 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
23175 return (void *)((wxEvtHandler *) ((wxMenu *) x));
23176 }
23177 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
23178 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23179 }
23180 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
23181 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23182 }
23183 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
23184 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23185 }
23186 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
23187 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23188 }
23189 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
23190 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23191 }
23192 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
23193 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23194 }
23195 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
23196 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23197 }
23198 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
23199 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
23200 }
23201 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
23202 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
23203 }
23204 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
23205 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23206 }
23207 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
23208 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
23209 }
23210 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
23211 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23212 }
23213 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
23214 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
23215 }
23216 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
23217 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23218 }
23219 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
23220 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
23221 }
23222 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
23223 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
23224 }
23225 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
23226 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
23227 }
23228 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
23229 return (void *)((wxEvtHandler *) ((wxWindow *) x));
23230 }
23231 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
23232 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23233 }
23234 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
23235 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
23236 }
23237 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
23238 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
23239 }
23240 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
23241 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
23242 }
23243 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
23244 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23245 }
23246 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
23247 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23248 }
23249 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
23250 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23251 }
23252 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
23253 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
23254 }
23255 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
23256 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23257 }
23258 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
23259 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
23260 }
23261 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
23262 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23263 }
23264 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
23265 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23266 }
23267 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
23268 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23269 }
23270 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
23271 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23272 }
23273 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
23274 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23275 }
23276 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
23277 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
23278 }
23279 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
23280 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23281 }
23282 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
23283 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23284 }
23285 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
23286 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23287 }
23288 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
23289 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23290 }
23291 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
23292 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23293 }
23294 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
23295 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23296 }
23297 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
23298 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23299 }
23300 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
23301 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23302 }
23303 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
23304 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
23305 }
23306 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
23307 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
23308 }
23309 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
23310 return (void *)((wxFrame *) ((wxProgressDialog *) x));
23311 }
23312 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
23313 return (void *)((wxFrame *) ((wxTipWindow *) x));
23314 }
23315 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
23316 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
23317 }
23318 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
23319 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23320 }
23321 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
23322 return (void *)((wxFrame *) ((wxMiniFrame *) x));
23323 }
23324 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
23325 return (void *)((wxFrame *) ((wxSplashScreen *) x));
23326 }
23327 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
23328 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
23329 }
23330 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
23331 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
23332 }
23333 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
23334 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23335 }
23336 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
23337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23338 }
23339 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
23340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23341 }
23342 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
23343 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
23344 }
23345 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
23346 return (void *)((wxObject *) ((wxSizerItem *) x));
23347 }
23348 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
23349 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
23350 }
23351 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
23352 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
23353 }
23354 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
23355 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
23356 }
23357 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
23358 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
23359 }
23360 static void *_p_wxSizerTo_p_wxObject(void *x) {
23361 return (void *)((wxObject *) ((wxSizer *) x));
23362 }
23363 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
23364 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
23365 }
23366 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
23367 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
23368 }
23369 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
23370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23371 }
23372 static void *_p_wxEventTo_p_wxObject(void *x) {
23373 return (void *)((wxObject *) ((wxEvent *) x));
23374 }
23375 static void *_p_wxFontDataTo_p_wxObject(void *x) {
23376 return (void *)((wxObject *) ((wxFontData *) x));
23377 }
23378 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
23379 return (void *)((wxObject *) ((wxPrintData *) x));
23380 }
23381 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
23382 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
23383 }
23384 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
23385 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
23386 }
23387 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
23388 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
23389 }
23390 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
23391 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
23392 }
23393 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
23394 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
23395 }
23396 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
23397 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
23398 }
23399 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
23400 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
23401 }
23402 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
23403 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
23404 }
23405 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
23406 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
23407 }
23408 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
23409 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
23410 }
23411 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
23412 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23413 }
23414 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
23415 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
23416 }
23417 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
23418 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23419 }
23420 static void *_p_wxControlTo_p_wxObject(void *x) {
23421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
23422 }
23423 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
23424 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
23425 }
23426 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
23427 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23428 }
23429 static void *_p_wxFSFileTo_p_wxObject(void *x) {
23430 return (void *)((wxObject *) ((wxFSFile *) x));
23431 }
23432 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
23433 return (void *)((wxObject *) ((wxFindReplaceData *) x));
23434 }
23435 static void *_p_wxPySizerTo_p_wxObject(void *x) {
23436 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
23437 }
23438 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
23439 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23440 }
23441 static void *_p_wxColourDataTo_p_wxObject(void *x) {
23442 return (void *)((wxObject *) ((wxColourData *) x));
23443 }
23444 static void *_p_wxPyEventTo_p_wxObject(void *x) {
23445 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
23446 }
23447 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
23448 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
23449 }
23450 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
23451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
23452 }
23453 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
23454 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23455 }
23456 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
23457 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23458 }
23459 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
23460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23461 }
23462 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
23463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23464 }
23465 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
23466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23467 }
23468 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
23469 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23470 }
23471 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
23472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23473 }
23474 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
23475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23476 }
23477 static void *_p_wxShowEventTo_p_wxObject(void *x) {
23478 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
23479 }
23480 static void *_p_wxPrinterTo_p_wxObject(void *x) {
23481 return (void *)((wxObject *) ((wxPrinter *) x));
23482 }
23483 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
23484 return (void *)((wxObject *) ((wxMenuItem *) x));
23485 }
23486 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
23487 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
23488 }
23489 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
23490 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
23491 }
23492 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
23493 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
23494 }
23495 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
23496 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
23497 }
23498 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
23499 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
23500 }
23501 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
23502 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
23503 }
23504 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
23505 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
23506 }
23507 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
23508 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
23509 }
23510 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
23511 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
23512 }
23513 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
23514 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
23515 }
23516 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
23517 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
23518 }
23519 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
23520 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
23521 }
23522 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
23523 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
23524 }
23525 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
23526 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
23527 }
23528 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
23529 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
23530 }
23531 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
23532 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
23533 }
23534 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
23535 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
23536 }
23537 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
23538 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
23539 }
23540 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
23541 return (void *)((wxObject *) ((wxImageHandler *) x));
23542 }
23543 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
23544 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
23545 }
23546 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
23547 return (void *)((wxObject *) ((wxEvtHandler *) x));
23548 }
23549 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
23550 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
23551 }
23552 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
23553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23554 }
23555 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
23556 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23557 }
23558 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
23559 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
23560 }
23561 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
23562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23563 }
23564 static void *_p_wxImageTo_p_wxObject(void *x) {
23565 return (void *)((wxObject *) ((wxImage *) x));
23566 }
23567 static void *_p_wxFrameTo_p_wxObject(void *x) {
23568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23569 }
23570 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
23571 return (void *)((wxObject *) ((wxPyPrintout *) x));
23572 }
23573 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
23574 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
23575 }
23576 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
23577 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
23578 }
23579 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
23580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
23581 }
23582 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
23583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23584 }
23585 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
23586 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23587 }
23588 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
23589 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
23590 }
23591 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
23592 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
23593 }
23594 static void *_p_wxWindowTo_p_wxObject(void *x) {
23595 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
23596 }
23597 static void *_p_wxMenuTo_p_wxObject(void *x) {
23598 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
23599 }
23600 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
23601 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
23602 }
23603 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
23604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23605 }
23606 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
23607 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
23608 }
23609 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
23610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
23611 }
23612 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
23613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
23614 }
23615 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
23616 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
23617 }
23618 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
23619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23620 }
23621 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
23622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
23623 }
23624 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
23625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23626 }
23627 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
23628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
23629 }
23630 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
23631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23632 }
23633 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
23634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
23635 }
23636 static void *_p_wxSashEventTo_p_wxObject(void *x) {
23637 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
23638 }
23639 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
23640 return (void *)((wxObject *) ((wxPrintPreview *) x));
23641 }
23642 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
23643 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
23644 }
23645 static void *_p_wxPanelTo_p_wxObject(void *x) {
23646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
23647 }
23648 static void *_p_wxDialogTo_p_wxObject(void *x) {
23649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23650 }
23651 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
23652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23653 }
23654 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
23655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23656 }
23657 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
23658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23659 }
23660 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
23661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23662 }
23663 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
23664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23665 }
23666 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
23667 return (void *)((wxObject *) ((wxFileSystem *) x));
23668 }
23669 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
23670 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
23671 }
23672 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
23673 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
23674 }
23675 static void *_p_wxPyAppTo_p_wxObject(void *x) {
23676 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
23677 }
23678 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
23679 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
23680 }
23681 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
23682 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
23683 }
23684 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
23685 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
23686 }
23687 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
23688 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
23689 }
23690 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
23691 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
23692 }
23693 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
23694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23695 }
23696 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
23697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23698 }
23699 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
23700 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
23701 }
23702 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
23703 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
23704 }
23705 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
23706 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
23707 }
23708 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
23709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23710 }
23711 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
23712 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
23713 }
23714 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
23715 return (void *)((wxObject *) ((wxPrintDialogData *) x));
23716 }
23717 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
23718 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
23719 }
23720 static void *_p_wxValidatorTo_p_wxObject(void *x) {
23721 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
23722 }
23723 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
23724 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23725 }
23726 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
23727 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
23728 }
23729 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
23730 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23731 }
23732 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
23733 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
23734 }
23735 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
23736 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
23737 }
23738 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
23739 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
23740 }
23741 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
23742 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
23743 }
23744 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
23745 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
23746 }
23747 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
23748 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
23749 }
23750 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
23751 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
23752 }
23753 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
23754 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
23755 }
23756 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
23757 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
23758 }
23759 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
23760 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
23761 }
23762 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
23763 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
23764 }
23765 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
23766 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
23767 }
23768 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
23769 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
23770 }
23771 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
23772 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
23773 }
23774 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
23775 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
23776 }
23777 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
23778 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
23779 }
23780 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
23781 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
23782 }
23783 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
23784 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
23785 }
23786 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
23787 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
23788 }
23789 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
23790 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
23791 }
23792 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
23793 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
23794 }
23795 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
23796 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23797 }
23798 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
23799 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23800 }
23801 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
23802 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23803 }
23804 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
23805 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
23806 }
23807 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
23808 return (void *)((wxWindow *) ((wxMenuBar *) x));
23809 }
23810 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
23811 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23812 }
23813 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
23814 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23815 }
23816 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
23817 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23818 }
23819 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
23820 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23821 }
23822 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
23823 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23824 }
23825 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
23826 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23827 }
23828 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
23829 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23830 }
23831 static void *_p_wxPanelTo_p_wxWindow(void *x) {
23832 return (void *)((wxWindow *) ((wxPanel *) x));
23833 }
23834 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
23835 return (void *)((wxWindow *) ((wxStatusBar *) x));
23836 }
23837 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
23838 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
23839 }
23840 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
23841 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
23842 }
23843 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
23844 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
23845 }
23846 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
23847 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23848 }
23849 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
23850 return (void *)((wxWindow *) ((wxPopupWindow *) x));
23851 }
23852 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
23853 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
23854 }
23855 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
23856 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
23857 }
23858 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
23859 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
23860 }
23861 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
23862 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
23863 }
23864 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
23865 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
23866 }
23867 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
23868 return (void *)((wxWindow *) ((wxSashWindow *) x));
23869 }
23870 static void *_p_wxControlTo_p_wxWindow(void *x) {
23871 return (void *)((wxWindow *) ((wxControl *) x));
23872 }
23873 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
23874 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23875 }
23876 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
23877 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23878 }
23879 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
23880 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23881 }
23882 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
23883 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
23884 }
23885 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
23886 return (void *)((wxWindow *) ((wxPyWindow *) x));
23887 }
23888 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
23889 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23890 }
23891 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
23892 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23893 }
23894 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
23895 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23896 }
23897 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
23898 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
23899 }
23900 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
23901 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23902 }
23903 static void *_p_wxFrameTo_p_wxWindow(void *x) {
23904 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
23905 }
23906 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
23907 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23908 }
23909 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
23910 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23911 }
23912 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
23913 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23914 }
23915 static void *_p_wxDialogTo_p_wxWindow(void *x) {
23916 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
23917 }
23918 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
23919 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23920 }
23921 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
23922 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23923 }
23924 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
23925 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23926 }
23927 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
23928 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
23929 }
23930 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
23931 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
23932 }
23933 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
23934 return (void *)((wxDialog *) ((wxColourDialog *) x));
23935 }
23936 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
23937 return (void *)((wxDialog *) ((wxDirDialog *) x));
23938 }
23939 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
23940 return (void *)((wxDialog *) ((wxFontDialog *) x));
23941 }
23942 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
23943 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
23944 }
23945 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
23946 return (void *)((wxDialog *) ((wxPrintDialog *) x));
23947 }
23948 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
23949 return (void *)((wxDialog *) ((wxFileDialog *) x));
23950 }
23951 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
23952 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
23953 }
23954 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
23955 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
23956 }
23957 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
23958 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
23959 }
23960 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
23961 return (void *)((wxDialog *) ((wxMessageDialog *) x));
23962 }
23963 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
23964 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
23965 }
23966 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
23967 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
23968 }
23969 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
23970 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
23971 }
23972 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
23973 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23974 }
23975 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
23976 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23977 }
23978 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
23979 return (void *)((wxPanel *) ((wxPyPanel *) x));
23980 }
23981 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
23982 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
23983 }
23984 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
23985 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
23986 }
23987 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
23988 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23989 }
23990 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
23991 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
23992 }
23993 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
23994 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
23995 }
23996 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
23997 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
23998 }
23999 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
24000 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
24001 }
24002 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
24003 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
24004 }
24005 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
24006 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24007 }
24008 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
24009 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
24010 }
24011 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
24012 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
24013 }
24014 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
24015 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
24016 }
24017 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
24018 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
24019 }
24020 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
24021 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
24022 }
24023 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
24024 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24025 }
24026 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
24027 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
24028 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
24029 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
24030 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
24031 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
24032 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
24033 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent},{0}};
24034 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
24035 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
24036 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
24037 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
24038 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
24039 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
24040 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
24041 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
24042 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
24043 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
24044 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
24045 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
24046 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
24047 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
24048 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
24049 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
24050 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
24051 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
24052 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
24053 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
24054 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
24055 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
24056 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
24057 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
24058 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
24059 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
24060 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
24061 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
24062 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
24063 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
24064 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
24065 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
24066 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
24067 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
24068 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}};
24069 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
24070 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
24071 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
24072 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
24073 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
24074 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
24075 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
24076 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
24077 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
24078 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
24079 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
24080 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
24081 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
24082 static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0},{"_p_wxPyVScrolledWindow"},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow},{0}};
24083 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{0}};
24084 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
24085 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}};
24086 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
24087 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
24088 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
24089 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
24090 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
24091 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
24092 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
24093 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
24094 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
24095 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
24096 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
24097 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
24098 static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0},{"_p_wxDialog"},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog},{0}};
24099 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}};
24100 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
24101 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
24102 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{0}};
24103 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
24104 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
24105 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
24106 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
24107 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
24108 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
24109
24110 static swig_type_info *swig_types_initial[] = {
24111 _swigt__p_wxQueryLayoutInfoEvent,
24112 _swigt__p_wxPreviewFrame,
24113 _swigt__p_wxPyPreviewFrame,
24114 _swigt__p_wxPyPanel,
24115 _swigt__p_wxMenu,
24116 _swigt__p_wxPrintData,
24117 _swigt__p_wxFontData,
24118 _swigt__p_wxEvent,
24119 _swigt__p_wxTaskBarIcon,
24120 _swigt__p_wxIconBundle,
24121 _swigt__p_wxLayoutAlgorithm,
24122 _swigt__p_wxFindDialogEvent,
24123 _swigt__p_wxPreviewCanvas,
24124 _swigt__p_wxFont,
24125 _swigt__p_wxSplitterEvent,
24126 _swigt__p_wxRegion,
24127 _swigt__p_wxFindReplaceData,
24128 _swigt__p_int,
24129 _swigt__p_wxSize,
24130 _swigt__p_wxDC,
24131 _swigt__p_wxIcon,
24132 _swigt__p_wxMDIChildFrame,
24133 _swigt__p_wxColourData,
24134 _swigt__p_wxNotifyEvent,
24135 _swigt__p_wxPyWindow,
24136 _swigt__p_wxSplashScreen,
24137 _swigt__p_wxFindReplaceDialog,
24138 _swigt__p_wxProgressDialog,
24139 _swigt__p_wxMessageDialog,
24140 _swigt__p_wxTextEntryDialog,
24141 _swigt__p_wxSingleChoiceDialog,
24142 _swigt__p_wxMultiChoiceDialog,
24143 _swigt__p_wxFileDialog,
24144 _swigt__p_wxPrinter,
24145 _swigt__p_wxArrayInt,
24146 _swigt__p_wxEvtHandler,
24147 _swigt__p_wxCalculateLayoutEvent,
24148 _swigt__p_wxPyHtmlListBox,
24149 _swigt__p_wxPyVListBox,
24150 _swigt__p_wxRect,
24151 _swigt__p_char,
24152 _swigt__p_wxMiniFrame,
24153 _swigt__p_wxFrame,
24154 _swigt__p_wxPyPrintout,
24155 _swigt__p_wxTaskBarIconEvent,
24156 _swigt__p_wxScrollWinEvent,
24157 _swigt__p_wxStatusBar,
24158 _swigt__p_wxMDIParentFrame,
24159 _swigt__p_wxPoint,
24160 _swigt__p_wxObject,
24161 _swigt__p_unsigned_long,
24162 _swigt__p_wxMDIClientWindow,
24163 _swigt__p_wxTipWindow,
24164 _swigt__p_wxPyPopupTransientWindow,
24165 _swigt__p_wxSashLayoutWindow,
24166 _swigt__p_wxSplitterWindow,
24167 _swigt__p_wxPyVScrolledWindow,
24168 _swigt__p_wxPopupWindow,
24169 _swigt__p_wxSashWindow,
24170 _swigt__p_wxTopLevelWindow,
24171 _swigt__p_wxWindow,
24172 _swigt__p_wxScrolledWindow,
24173 _swigt__p_wxSplashScreenWindow,
24174 _swigt__p_wxMenuBar,
24175 _swigt__p_wxPrintPreview,
24176 _swigt__p_wxSashEvent,
24177 _swigt__p_wxString,
24178 _swigt__p_wxPyPrintPreview,
24179 _swigt__p_wxPageSetupDialog,
24180 _swigt__p_wxFontDialog,
24181 _swigt__p_wxDirDialog,
24182 _swigt__p_wxColourDialog,
24183 _swigt__p_wxDialog,
24184 _swigt__p_wxPanel,
24185 _swigt__p_wxPrintDialog,
24186 _swigt__p_wxBitmap,
24187 _swigt__p_wxCommandEvent,
24188 _swigt__p_wxPreviewControlBar,
24189 _swigt__p_wxPyPreviewControlBar,
24190 _swigt__p_wxColour,
24191 _swigt__p_wxToolBar,
24192 _swigt__p_wxPageSetupDialogData,
24193 _swigt__p_wxPrintDialogData,
24194 0
24195 };
24196
24197
24198 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24199
24200 static swig_const_info swig_const_table[] = {
24201 {0}};
24202
24203 #ifdef __cplusplus
24204 }
24205 #endif
24206
24207 #ifdef __cplusplus
24208 extern "C"
24209 #endif
24210 SWIGEXPORT(void) SWIG_init(void) {
24211 static PyObject *SWIG_globals = 0;
24212 static int typeinit = 0;
24213 PyObject *m, *d;
24214 int i;
24215 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
24216 m = Py_InitModule((char *) SWIG_name, SwigMethods);
24217 d = PyModule_GetDict(m);
24218
24219 if (!typeinit) {
24220 for (i = 0; swig_types_initial[i]; i++) {
24221 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
24222 }
24223 typeinit = 1;
24224 }
24225 SWIG_InstallConstants(d,swig_const_table);
24226
24227 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
24228 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
24229 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
24230 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
24231 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
24232 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR));
24233 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
24234 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
24235 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER));
24236 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION));
24237 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL));
24238 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG));
24239 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
24240 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
24241 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE));
24242 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT));
24243 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT));
24244 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
24245 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER));
24246 PyDict_SetItemString(d,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH));
24247 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT));
24248 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE));
24249 PyDict_SetItemString(d,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH));
24250 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER));
24251 PyDict_SetItemString(d,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER));
24252 PyDict_SetItemString(d,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D));
24253 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL));
24254 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL));
24255 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE));
24256 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING));
24257 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
24258 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
24259 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
24260 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
24261 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
24262 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
24263 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
24264 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE));
24265 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING));
24266 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
24267 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER));
24268 PyDict_SetItemString(d,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER));
24269 PyDict_SetItemString(d,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH));
24270 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER));
24271 PyDict_SetItemString(d,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D));
24272 PyDict_SetItemString(d,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP));
24273 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT));
24274 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM));
24275 PyDict_SetItemString(d,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT));
24276 PyDict_SetItemString(d,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE));
24277 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK));
24278 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
24279 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
24280 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL));
24281 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL));
24282 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE));
24283 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP));
24284 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT));
24285 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT));
24286 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM));
24287 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y));
24288 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X));
24289 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH));
24290 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY));
24291 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
24292 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
24293 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
24294
24295 // Map renamed classes back to their common name for OOR
24296 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24297 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24298 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24299
24300 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
24301 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
24302 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
24303 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
24304 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
24305 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
24306 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
24307 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
24308 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
24309 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
24310 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
24311 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
24312 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
24313 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE));
24314 PyDict_SetItemString(d,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN));
24315 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD));
24316 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE));
24317 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG));
24318 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN));
24319 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE));
24320 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD));
24321 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
24322 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
24323 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
24324 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
24325 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
24326 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001));
24327 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001));
24328 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002));
24329 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003));
24330 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004));
24331 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005));
24332 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100));
24333 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600));
24334 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
24335 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
24336 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE));
24337 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW));
24338 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE));
24339 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER));
24340 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR));
24341 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED));
24342 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR));
24343 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT));
24344 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS));
24345 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT));
24346 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM));
24347 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST));
24348 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST));
24349 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO));
24350 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT));
24351 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE));
24352 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT));
24353 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS));
24354 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT));
24355 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM));
24356 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST));
24357 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST));
24358 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO));
24359
24360 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
24361
24362 }
24363