]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows_wrap.cpp
Use Bind
[wxWidgets.git] / wxPython / src / gtk / 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_wxSashLayoutWindow swig_types[53]
287 #define SWIGTYPE_p_wxSplitterWindow swig_types[54]
288 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[55]
289 #define SWIGTYPE_p_wxPyPopupTransientWindow 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(bool)
391 SWIG_PyObj_AsBool(PyObject *obj)
392 {
393 return PyObject_IsTrue(obj) ? true : false;
394 }
395
396
397 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
398 PyObject* o2;
399 PyObject* o3;
400
401 if (!target) {
402 target = o;
403 } else if (target == Py_None) {
404 Py_DECREF(Py_None);
405 target = o;
406 } else {
407 if (!PyTuple_Check(target)) {
408 o2 = target;
409 target = PyTuple_New(1);
410 PyTuple_SetItem(target, 0, o2);
411 }
412 o3 = PyTuple_New(1);
413 PyTuple_SetItem(o3, 0, o);
414
415 o2 = target;
416 target = PySequence_Concat(o2, o3);
417 Py_DECREF(o2);
418 Py_DECREF(o3);
419 }
420 return target;
421 }
422
423
424 SWIGSTATIC(double)
425 SWIG_PyObj_AsDouble(PyObject *obj)
426 {
427 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
428 #if HAVE_LONG_LONG
429 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
430 #else
431 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
432 #endif
433 if (PyErr_Occurred()) {
434 PyErr_Clear();
435 PyErr_SetString(PyExc_TypeError, "a double is expected");
436 }
437 }
438
439 static const wxString wxPyFrameNameStr(wxFrameNameStr);
440 static const wxString wxPyDialogNameStr(wxDialogNameStr);
441 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
442 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
443 bool wxDialog_IsModalShowing(wxDialog *self){
444
445 return self->m_modalShowing;
446
447
448
449 }
450
451
452 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
453 wxRect r;
454 self->GetFieldRect(i, r);
455 return r;
456 }
457 static const wxString wxPySplitterNameStr(wxT("splitter"));
458 static const wxString wxPySashNameStr(wxT("sashWindow"));
459 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
460
461 #include <wx/popupwin.h>
462
463
464 class wxPyPopupTransientWindow : public wxPopupTransientWindow
465 {
466 public:
467 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
468 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
469 : wxPopupTransientWindow(parent, style) {}
470
471 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
472 DEC_PYCALLBACK__(OnDismiss);
473 DEC_PYCALLBACK_BOOL_(CanDismiss);
474 PYPRIVATE;
475 };
476
477
478 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
479 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
480 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
481
482
483 #include <wx/tipwin.h>
484
485 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
486 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
487 }
488
489 #include <wx/tipwin.h>
490
491
492 #include <wx/vscroll.h>
493
494
495 class wxPyVScrolledWindow : public wxVScrolledWindow
496 {
497 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
498 public:
499 wxPyVScrolledWindow() : wxVScrolledWindow() {}
500
501 wxPyVScrolledWindow(wxWindow *parent,
502 wxWindowID id = wxID_ANY,
503 const wxPoint& pos = wxDefaultPosition,
504 const wxSize& size = wxDefaultSize,
505 long style = 0,
506 const wxString& name = wxPyPanelNameStr)
507 : wxVScrolledWindow(parent, id, pos, size, style, name)
508 {}
509
510 // Overridable virtuals
511
512 // this function must be overridden in the derived class and it should
513 // return the height of the given line in pixels
514 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
515
516
517 // this function doesn't have to be overridden but it may be useful to do
518 // it if calculating the lines heights is a relatively expensive operation
519 // as it gives the user code a possibility to calculate several of them at
520 // once
521 //
522 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
523 // shouldn't rely on the latter being called for all lines in the interval
524 // specified here. It is also possible that OnGetLineHeight() will be
525 // called for the lines outside of this interval, so this is really just a
526 // hint, not a promise.
527 //
528 // finally note that lineMin is inclusive, while lineMax is exclusive, as
529 // usual
530 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
531
532
533 // when the number of lines changes, we try to estimate the total height
534 // of all lines which is a rather expensive operation in terms of lines
535 // access, so if the user code may estimate the average height
536 // better/faster than we do, it should override this function to implement
537 // its own logic
538 //
539 // this function should return the best guess for the total height it may
540 // make
541 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
542
543
544 // Also expose some other interesting protected methods
545
546
547 // find the index of the line we need to show at the top of the window such
548 // that the last (fully or partially) visible line is the given one
549 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
550 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
551
552 // get the total height of the lines between lineMin (inclusive) and
553 // lineMax (exclusive)
554 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
555 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
556
557
558 PYPRIVATE;
559 };
560
561 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
562
563 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
564 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
565 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
566
567
568 SWIGSTATIC(PyObject* )
569 SWIG_PyObj_FromUnsignedLong(unsigned long value)
570 {
571 return (value > (unsigned long)(LONG_MAX)) ?
572 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
573 }
574
575
576 #include <wx/vlbox.h>
577
578 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
579
580 class wxPyVListBox : public wxVListBox
581 {
582 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
583 public:
584 wxPyVListBox() : wxVListBox() {}
585
586 wxPyVListBox(wxWindow *parent,
587 wxWindowID id = wxID_ANY,
588 const wxPoint& pos = wxDefaultPosition,
589 const wxSize& size = wxDefaultSize,
590 long style = 0,
591 const wxString& name = wxPyVListBoxNameStr)
592 : wxVListBox(parent, id, pos, size, style, name)
593 {}
594
595 // Overridable virtuals
596
597 // the derived class must implement this function to actually draw the item
598 // with the given index on the provided DC
599 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
600 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
601
602
603 // the derived class must implement this method to return the height of the
604 // specified item
605 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
606 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
607
608
609 // this method may be used to draw separators between the lines; note that
610 // the rectangle may be modified, typically to deflate it a bit before
611 // passing to OnDrawItem()
612 //
613 // the base class version doesn't do anything
614 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
615 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
616
617
618 // this method is used to draw the items background and, maybe, a border
619 // around it
620 //
621 // the base class version implements a reasonable default behaviour which
622 // consists in drawing the selected item with the standard background
623 // colour and drawing a border around the item if it is either selected or
624 // current
625 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
626 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
627
628
629 PYPRIVATE;
630 };
631
632 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
633
634 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
635 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
636 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
637 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
638
639
640
641 #include <wx/htmllbox.h>
642
643
644 class wxPyHtmlListBox : public wxHtmlListBox
645 {
646 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
647 public:
648 wxPyHtmlListBox() : wxHtmlListBox() {}
649
650 wxPyHtmlListBox(wxWindow *parent,
651 wxWindowID id = wxID_ANY,
652 const wxPoint& pos = wxDefaultPosition,
653 const wxSize& size = wxDefaultSize,
654 long style = 0,
655 const wxString& name = wxPyVListBoxNameStr)
656 : wxHtmlListBox(parent, id, pos, size, style, name)
657 {}
658
659 // Overridable virtuals
660
661 // this method must be implemented in the derived class and should return
662 // the body (i.e. without <html>) of the HTML for the given item
663 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
664
665 // this function may be overridden to decorate HTML returned by OnGetItem()
666 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
667
668 // TODO:
669 // // this method allows to customize the selection appearance: it may be used
670 // // to specify the colour of the text which normally has the given colour
671 // // colFg when it is inside the selection
672 // //
673 // // by default, the original colour is not used at all and all text has the
674 // // same (default for this system) colour inside selection
675 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
676
677 // // this is the same as GetSelectedTextColour() but allows to customize the
678 // // background colour -- this is even more rarely used as you can change it
679 // // globally using SetSelectionBackground()
680 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
681
682
683 PYPRIVATE;
684 };
685
686
687 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
688
689 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
690 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
691
692
693
694
695
696 #ifdef __WXMAC__
697 // implement dummy classes and such for wxMac
698
699 class wxTaskBarIcon : public wxEvtHandler
700 {
701 public:
702 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
703 };
704
705
706 class wxTaskBarIconEvent : public wxEvent
707 {
708 public:
709 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
710 { wxPyRaiseNotImplemented(); }
711 virtual wxEvent* Clone() const { return NULL; }
712 };
713
714 enum {
715 wxEVT_TASKBAR_MOVE = 0,
716 wxEVT_TASKBAR_LEFT_DOWN = 0,
717 wxEVT_TASKBAR_LEFT_UP = 0,
718 wxEVT_TASKBAR_RIGHT_DOWN = 0,
719 wxEVT_TASKBAR_RIGHT_UP = 0,
720 wxEVT_TASKBAR_LEFT_DCLICK = 0,
721 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
722 };
723 #endif
724
725 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
726 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
727 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
728 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
729 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
730 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
731 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
732 wxArrayString arr;
733 self->GetFilenames(arr);
734 return wxArrayString2PyList_helper(arr);
735 }
736 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
737 wxArrayString arr;
738 self->GetPaths(arr);
739 return wxArrayString2PyList_helper(arr);
740 }
741 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
742 return wxArrayInt2PyList_helper(self->GetSelections());
743 }
744 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
745 return new wxSingleChoiceDialog(parent, message, caption,
746 choices, choices_array, NULL, style, pos);
747 }
748
749 #include <wx/mdi.h>
750
751 // C++ version of Python aware wxWindow
752 class wxPyWindow : public wxWindow
753 {
754 DECLARE_DYNAMIC_CLASS(wxPyWindow)
755 public:
756 wxPyWindow() : wxWindow() {}
757 wxPyWindow(wxWindow* parent, const wxWindowID id,
758 const wxPoint& pos = wxDefaultPosition,
759 const wxSize& size = wxDefaultSize,
760 long style = 0,
761 const wxString& name = wxPyPanelNameStr)
762 : wxWindow(parent, id, pos, size, style, name) {}
763
764
765 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
766 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
767 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
768 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
769
770 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
771 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
772 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
773
774 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
775 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
776
777 DEC_PYCALLBACK__(InitDialog);
778 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
779 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
780 DEC_PYCALLBACK_BOOL_(Validate);
781
782 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
783 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
784 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
785
786 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
787 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
788
789 PYPRIVATE;
790 };
791
792 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
793
794 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
795 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
796 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
797 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
798
799 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
800 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
801 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
802
803 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
804 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
805
806 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
807 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
808 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
809 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
810
811 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
812 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
813 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
814
815 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
816 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
817
818
819 // C++ version of Python aware wxPanel
820 class wxPyPanel : public wxPanel
821 {
822 DECLARE_DYNAMIC_CLASS(wxPyPanel)
823 public:
824 wxPyPanel() : wxPanel() {}
825 wxPyPanel(wxWindow* parent, const wxWindowID id,
826 const wxPoint& pos = wxDefaultPosition,
827 const wxSize& size = wxDefaultSize,
828 long style = 0,
829 const wxString& name = wxPyPanelNameStr)
830 : wxPanel(parent, id, pos, size, style, name) {}
831
832
833 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
834 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
835 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
836 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
837
838 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
839 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
840 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
841
842 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
843 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
844
845 DEC_PYCALLBACK__(InitDialog);
846 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
847 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
848 DEC_PYCALLBACK_BOOL_(Validate);
849
850 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
851 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
852 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
853
854 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
855 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
856
857 PYPRIVATE;
858 };
859
860 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
861
862 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
863 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
864 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
865 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
866
867 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
868 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
869 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
870
871 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
872 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
873
874 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
875 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
876 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
877 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
878
879 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
880 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
881 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
882
883 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
884 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
885
886
887
888 #include "wx/wxPython/printfw.h"
889
890
891 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
892 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
893
894
895
896 // Since this one would be tough and ugly to do with the Macros...
897 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
898 bool hadErr = False;
899 bool found;
900
901 wxPyBeginBlockThreads();
902 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
903 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
904 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
905 PyObject* val;
906
907 val = PyTuple_GetItem(result, 0);
908 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
909 else hadErr = True;
910
911 val = PyTuple_GetItem(result, 1);
912 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
913 else hadErr = True;
914
915 val = PyTuple_GetItem(result, 2);
916 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
917 else hadErr = True;
918
919 val = PyTuple_GetItem(result, 3);
920 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
921 else hadErr = True;
922 }
923 else
924 hadErr = True;
925
926 if (hadErr) {
927 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
928 PyErr_Print();
929 }
930 Py_DECREF(result);
931 }
932 wxPyEndBlockThreads();
933 if (! found)
934 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
935 }
936
937 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
938 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
939 }
940
941
942 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
943 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
944 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
945 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
946 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
947 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
948 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
949
950
951
952
953
954 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
955 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
956 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
957
958
959 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
960 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
961 bool rval=False; \
962 bool found; \
963 wxPyBeginBlockThreads(); \
964 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
965 PyObject* win = wxPyMake_wxObject(a); \
966 PyObject* dc = wxPyMake_wxObject(&b); \
967 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
968 Py_DECREF(win); \
969 Py_DECREF(dc); \
970 } \
971 wxPyEndBlockThreads(); \
972 if (! found) \
973 rval = PCLASS::CBNAME(a, b); \
974 return rval; \
975 } \
976 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
977 return PCLASS::CBNAME(a, b); \
978 }
979
980
981
982
983 class wxPyPrintPreview : public wxPrintPreview
984 {
985 DECLARE_CLASS(wxPyPrintPreview)
986 public:
987 wxPyPrintPreview(wxPyPrintout* printout,
988 wxPyPrintout* printoutForPrinting,
989 wxPrintData* data=NULL)
990 : wxPrintPreview(printout, printoutForPrinting, data)
991 {}
992
993 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
994 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
995 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
996 DEC_PYCALLBACK_BOOL_INT(RenderPage);
997 DEC_PYCALLBACK_VOID_INT(SetZoom);
998 DEC_PYCALLBACK_BOOL_BOOL(Print);
999 DEC_PYCALLBACK_VOID_(DetermineScaling);
1000
1001 PYPRIVATE;
1002 };
1003
1004 // Stupid renamed classes... Fix this in 2.5...
1005 #if defined(__WXMSW__)
1006 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1007 #elif defined(__WXMAC__)
1008 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1009 #else
1010 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1011 #endif
1012
1013 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1014 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1015 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1016 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1017 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1018 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1019 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1020
1021
1022 class wxPyPreviewFrame : public wxPreviewFrame
1023 {
1024 DECLARE_CLASS(wxPyPreviewFrame);
1025 public:
1026 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1027 const wxString& title,
1028 const wxPoint& pos = wxDefaultPosition,
1029 const wxSize& size = wxDefaultSize,
1030 long style = wxDEFAULT_FRAME_STYLE,
1031 const wxString& name = wxPyFrameNameStr)
1032 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1033 {}
1034
1035 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1036 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1037
1038 DEC_PYCALLBACK_VOID_(Initialize);
1039 DEC_PYCALLBACK_VOID_(CreateCanvas);
1040 DEC_PYCALLBACK_VOID_(CreateControlBar);
1041
1042 PYPRIVATE;
1043 };
1044
1045 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1046
1047 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1048 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1049 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1050
1051
1052 class wxPyPreviewControlBar : public wxPreviewControlBar
1053 {
1054 DECLARE_CLASS(wxPyPreviewControlBar);
1055 public:
1056 wxPyPreviewControlBar(wxPrintPreview *preview,
1057 long buttons,
1058 wxWindow *parent,
1059 const wxPoint& pos = wxDefaultPosition,
1060 const wxSize& size = wxDefaultSize,
1061 long style = 0,
1062 const wxString& name = wxPyPanelNameStr)
1063 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1064 {}
1065
1066 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1067
1068 DEC_PYCALLBACK_VOID_(CreateButtons);
1069 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1070
1071 PYPRIVATE;
1072 };
1073
1074 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1075 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1076 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1077
1078 #ifdef __cplusplus
1079 extern "C" {
1080 #endif
1081 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1082 PyObject *resultobj;
1083 wxWindow *arg1 = (wxWindow *) 0 ;
1084 int arg2 = (int) (int)-1 ;
1085 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1086 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1087 wxSize const &arg4_defvalue = wxDefaultSize ;
1088 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1089 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1090 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1091 wxString *arg6 = (wxString *) &arg6_defvalue ;
1092 wxPanel *result;
1093 wxPoint temp3 ;
1094 wxSize temp4 ;
1095 bool temp6 = False ;
1096 PyObject * obj0 = 0 ;
1097 PyObject * obj1 = 0 ;
1098 PyObject * obj2 = 0 ;
1099 PyObject * obj3 = 0 ;
1100 PyObject * obj4 = 0 ;
1101 PyObject * obj5 = 0 ;
1102 char *kwnames[] = {
1103 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1104 };
1105
1106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1108 if (obj1) {
1109 {
1110 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
1111 if (PyErr_Occurred()) SWIG_fail;
1112 }
1113 }
1114 if (obj2) {
1115 {
1116 arg3 = &temp3;
1117 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1118 }
1119 }
1120 if (obj3) {
1121 {
1122 arg4 = &temp4;
1123 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1124 }
1125 }
1126 if (obj4) {
1127 {
1128 arg5 = (long) SWIG_PyObj_AsLong(obj4);
1129 if (PyErr_Occurred()) SWIG_fail;
1130 }
1131 }
1132 if (obj5) {
1133 {
1134 arg6 = wxString_in_helper(obj5);
1135 if (arg6 == NULL) SWIG_fail;
1136 temp6 = True;
1137 }
1138 }
1139 {
1140 PyThreadState* __tstate = wxPyBeginAllowThreads();
1141 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1142
1143 wxPyEndAllowThreads(__tstate);
1144 if (PyErr_Occurred()) SWIG_fail;
1145 }
1146 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1147 {
1148 if (temp6)
1149 delete arg6;
1150 }
1151 return resultobj;
1152 fail:
1153 {
1154 if (temp6)
1155 delete arg6;
1156 }
1157 return NULL;
1158 }
1159
1160
1161 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1162 PyObject *resultobj;
1163 wxPanel *result;
1164 char *kwnames[] = {
1165 NULL
1166 };
1167
1168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1169 {
1170 PyThreadState* __tstate = wxPyBeginAllowThreads();
1171 result = (wxPanel *)new wxPanel();
1172
1173 wxPyEndAllowThreads(__tstate);
1174 if (PyErr_Occurred()) SWIG_fail;
1175 }
1176 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1177 return resultobj;
1178 fail:
1179 return NULL;
1180 }
1181
1182
1183 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1184 PyObject *resultobj;
1185 wxPanel *arg1 = (wxPanel *) 0 ;
1186 wxWindow *arg2 = (wxWindow *) 0 ;
1187 int arg3 ;
1188 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1189 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1190 wxSize const &arg5_defvalue = wxDefaultSize ;
1191 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1192 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1193 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1194 wxString *arg7 = (wxString *) &arg7_defvalue ;
1195 bool result;
1196 wxPoint temp4 ;
1197 wxSize temp5 ;
1198 bool temp7 = False ;
1199 PyObject * obj0 = 0 ;
1200 PyObject * obj1 = 0 ;
1201 PyObject * obj2 = 0 ;
1202 PyObject * obj3 = 0 ;
1203 PyObject * obj4 = 0 ;
1204 PyObject * obj5 = 0 ;
1205 PyObject * obj6 = 0 ;
1206 char *kwnames[] = {
1207 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1208 };
1209
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1212 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1213 {
1214 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
1215 if (PyErr_Occurred()) SWIG_fail;
1216 }
1217 if (obj3) {
1218 {
1219 arg4 = &temp4;
1220 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1221 }
1222 }
1223 if (obj4) {
1224 {
1225 arg5 = &temp5;
1226 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1227 }
1228 }
1229 if (obj5) {
1230 {
1231 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1232 if (PyErr_Occurred()) SWIG_fail;
1233 }
1234 }
1235 if (obj6) {
1236 {
1237 arg7 = wxString_in_helper(obj6);
1238 if (arg7 == NULL) SWIG_fail;
1239 temp7 = True;
1240 }
1241 }
1242 {
1243 PyThreadState* __tstate = wxPyBeginAllowThreads();
1244 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1245
1246 wxPyEndAllowThreads(__tstate);
1247 if (PyErr_Occurred()) SWIG_fail;
1248 }
1249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1250 {
1251 if (temp7)
1252 delete arg7;
1253 }
1254 return resultobj;
1255 fail:
1256 {
1257 if (temp7)
1258 delete arg7;
1259 }
1260 return NULL;
1261 }
1262
1263
1264 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1265 PyObject *resultobj;
1266 wxPanel *arg1 = (wxPanel *) 0 ;
1267 PyObject * obj0 = 0 ;
1268 char *kwnames[] = {
1269 (char *) "self", NULL
1270 };
1271
1272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1274 {
1275 PyThreadState* __tstate = wxPyBeginAllowThreads();
1276 (arg1)->InitDialog();
1277
1278 wxPyEndAllowThreads(__tstate);
1279 if (PyErr_Occurred()) SWIG_fail;
1280 }
1281 Py_INCREF(Py_None); resultobj = Py_None;
1282 return resultobj;
1283 fail:
1284 return NULL;
1285 }
1286
1287
1288 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1289 PyObject *obj;
1290 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1291 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1292 Py_INCREF(obj);
1293 return Py_BuildValue((char *)"");
1294 }
1295 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1296 PyObject *resultobj;
1297 wxWindow *arg1 = (wxWindow *) 0 ;
1298 int arg2 = (int) (int)-1 ;
1299 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1300 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1301 wxSize const &arg4_defvalue = wxDefaultSize ;
1302 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1303 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1304 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1305 wxString *arg6 = (wxString *) &arg6_defvalue ;
1306 wxScrolledWindow *result;
1307 wxPoint temp3 ;
1308 wxSize temp4 ;
1309 bool temp6 = False ;
1310 PyObject * obj0 = 0 ;
1311 PyObject * obj1 = 0 ;
1312 PyObject * obj2 = 0 ;
1313 PyObject * obj3 = 0 ;
1314 PyObject * obj4 = 0 ;
1315 PyObject * obj5 = 0 ;
1316 char *kwnames[] = {
1317 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1318 };
1319
1320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1322 if (obj1) {
1323 {
1324 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
1325 if (PyErr_Occurred()) SWIG_fail;
1326 }
1327 }
1328 if (obj2) {
1329 {
1330 arg3 = &temp3;
1331 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1332 }
1333 }
1334 if (obj3) {
1335 {
1336 arg4 = &temp4;
1337 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1338 }
1339 }
1340 if (obj4) {
1341 {
1342 arg5 = (long) SWIG_PyObj_AsLong(obj4);
1343 if (PyErr_Occurred()) SWIG_fail;
1344 }
1345 }
1346 if (obj5) {
1347 {
1348 arg6 = wxString_in_helper(obj5);
1349 if (arg6 == NULL) SWIG_fail;
1350 temp6 = True;
1351 }
1352 }
1353 {
1354 PyThreadState* __tstate = wxPyBeginAllowThreads();
1355 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1356
1357 wxPyEndAllowThreads(__tstate);
1358 if (PyErr_Occurred()) SWIG_fail;
1359 }
1360 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1361 {
1362 if (temp6)
1363 delete arg6;
1364 }
1365 return resultobj;
1366 fail:
1367 {
1368 if (temp6)
1369 delete arg6;
1370 }
1371 return NULL;
1372 }
1373
1374
1375 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1376 PyObject *resultobj;
1377 wxScrolledWindow *result;
1378 char *kwnames[] = {
1379 NULL
1380 };
1381
1382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1383 {
1384 PyThreadState* __tstate = wxPyBeginAllowThreads();
1385 result = (wxScrolledWindow *)new wxScrolledWindow();
1386
1387 wxPyEndAllowThreads(__tstate);
1388 if (PyErr_Occurred()) SWIG_fail;
1389 }
1390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1391 return resultobj;
1392 fail:
1393 return NULL;
1394 }
1395
1396
1397 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1398 PyObject *resultobj;
1399 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1400 wxWindow *arg2 = (wxWindow *) 0 ;
1401 int arg3 = (int) (int)-1 ;
1402 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1403 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1404 wxSize const &arg5_defvalue = wxDefaultSize ;
1405 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1406 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1407 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1408 wxString *arg7 = (wxString *) &arg7_defvalue ;
1409 bool result;
1410 wxPoint temp4 ;
1411 wxSize temp5 ;
1412 bool temp7 = False ;
1413 PyObject * obj0 = 0 ;
1414 PyObject * obj1 = 0 ;
1415 PyObject * obj2 = 0 ;
1416 PyObject * obj3 = 0 ;
1417 PyObject * obj4 = 0 ;
1418 PyObject * obj5 = 0 ;
1419 PyObject * obj6 = 0 ;
1420 char *kwnames[] = {
1421 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1422 };
1423
1424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1426 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1427 if (obj2) {
1428 {
1429 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
1430 if (PyErr_Occurred()) SWIG_fail;
1431 }
1432 }
1433 if (obj3) {
1434 {
1435 arg4 = &temp4;
1436 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1437 }
1438 }
1439 if (obj4) {
1440 {
1441 arg5 = &temp5;
1442 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1443 }
1444 }
1445 if (obj5) {
1446 {
1447 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1448 if (PyErr_Occurred()) SWIG_fail;
1449 }
1450 }
1451 if (obj6) {
1452 {
1453 arg7 = wxString_in_helper(obj6);
1454 if (arg7 == NULL) SWIG_fail;
1455 temp7 = True;
1456 }
1457 }
1458 {
1459 PyThreadState* __tstate = wxPyBeginAllowThreads();
1460 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1461
1462 wxPyEndAllowThreads(__tstate);
1463 if (PyErr_Occurred()) SWIG_fail;
1464 }
1465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1466 {
1467 if (temp7)
1468 delete arg7;
1469 }
1470 return resultobj;
1471 fail:
1472 {
1473 if (temp7)
1474 delete arg7;
1475 }
1476 return NULL;
1477 }
1478
1479
1480 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1481 PyObject *resultobj;
1482 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1483 int arg2 ;
1484 int arg3 ;
1485 int arg4 ;
1486 int arg5 ;
1487 int arg6 = (int) 0 ;
1488 int arg7 = (int) 0 ;
1489 bool arg8 = (bool) False ;
1490 PyObject * obj0 = 0 ;
1491 PyObject * obj1 = 0 ;
1492 PyObject * obj2 = 0 ;
1493 PyObject * obj3 = 0 ;
1494 PyObject * obj4 = 0 ;
1495 PyObject * obj5 = 0 ;
1496 PyObject * obj6 = 0 ;
1497 PyObject * obj7 = 0 ;
1498 char *kwnames[] = {
1499 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1500 };
1501
1502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1504 {
1505 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1506 if (PyErr_Occurred()) SWIG_fail;
1507 }
1508 {
1509 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1510 if (PyErr_Occurred()) SWIG_fail;
1511 }
1512 {
1513 arg4 = (int) SWIG_PyObj_AsInt(obj3);
1514 if (PyErr_Occurred()) SWIG_fail;
1515 }
1516 {
1517 arg5 = (int) SWIG_PyObj_AsInt(obj4);
1518 if (PyErr_Occurred()) SWIG_fail;
1519 }
1520 if (obj5) {
1521 {
1522 arg6 = (int) SWIG_PyObj_AsInt(obj5);
1523 if (PyErr_Occurred()) SWIG_fail;
1524 }
1525 }
1526 if (obj6) {
1527 {
1528 arg7 = (int) SWIG_PyObj_AsInt(obj6);
1529 if (PyErr_Occurred()) SWIG_fail;
1530 }
1531 }
1532 if (obj7) {
1533 {
1534 arg8 = (bool) SWIG_PyObj_AsBool(obj7);
1535 if (PyErr_Occurred()) SWIG_fail;
1536 }
1537 }
1538 {
1539 PyThreadState* __tstate = wxPyBeginAllowThreads();
1540 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1541
1542 wxPyEndAllowThreads(__tstate);
1543 if (PyErr_Occurred()) SWIG_fail;
1544 }
1545 Py_INCREF(Py_None); resultobj = Py_None;
1546 return resultobj;
1547 fail:
1548 return NULL;
1549 }
1550
1551
1552 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1553 PyObject *resultobj;
1554 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1555 int arg2 ;
1556 int arg3 ;
1557 PyObject * obj0 = 0 ;
1558 PyObject * obj1 = 0 ;
1559 PyObject * obj2 = 0 ;
1560 char *kwnames[] = {
1561 (char *) "self",(char *) "x",(char *) "y", NULL
1562 };
1563
1564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1566 {
1567 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1568 if (PyErr_Occurred()) SWIG_fail;
1569 }
1570 {
1571 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1572 if (PyErr_Occurred()) SWIG_fail;
1573 }
1574 {
1575 PyThreadState* __tstate = wxPyBeginAllowThreads();
1576 (arg1)->Scroll(arg2,arg3);
1577
1578 wxPyEndAllowThreads(__tstate);
1579 if (PyErr_Occurred()) SWIG_fail;
1580 }
1581 Py_INCREF(Py_None); resultobj = Py_None;
1582 return resultobj;
1583 fail:
1584 return NULL;
1585 }
1586
1587
1588 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1589 PyObject *resultobj;
1590 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1591 int arg2 ;
1592 int result;
1593 PyObject * obj0 = 0 ;
1594 PyObject * obj1 = 0 ;
1595 char *kwnames[] = {
1596 (char *) "self",(char *) "orient", NULL
1597 };
1598
1599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1601 {
1602 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1603 if (PyErr_Occurred()) SWIG_fail;
1604 }
1605 {
1606 PyThreadState* __tstate = wxPyBeginAllowThreads();
1607 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1608
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 resultobj = SWIG_PyObj_FromInt((int)result);
1613 return resultobj;
1614 fail:
1615 return NULL;
1616 }
1617
1618
1619 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1620 PyObject *resultobj;
1621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1622 int arg2 ;
1623 int arg3 ;
1624 PyObject * obj0 = 0 ;
1625 PyObject * obj1 = 0 ;
1626 PyObject * obj2 = 0 ;
1627 char *kwnames[] = {
1628 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1629 };
1630
1631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1633 {
1634 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1635 if (PyErr_Occurred()) SWIG_fail;
1636 }
1637 {
1638 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1639 if (PyErr_Occurred()) SWIG_fail;
1640 }
1641 {
1642 PyThreadState* __tstate = wxPyBeginAllowThreads();
1643 (arg1)->SetScrollPageSize(arg2,arg3);
1644
1645 wxPyEndAllowThreads(__tstate);
1646 if (PyErr_Occurred()) SWIG_fail;
1647 }
1648 Py_INCREF(Py_None); resultobj = Py_None;
1649 return resultobj;
1650 fail:
1651 return NULL;
1652 }
1653
1654
1655 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1656 PyObject *resultobj;
1657 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1658 int arg2 ;
1659 int arg3 ;
1660 PyObject * obj0 = 0 ;
1661 PyObject * obj1 = 0 ;
1662 PyObject * obj2 = 0 ;
1663 char *kwnames[] = {
1664 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1665 };
1666
1667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1669 {
1670 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1671 if (PyErr_Occurred()) SWIG_fail;
1672 }
1673 {
1674 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1675 if (PyErr_Occurred()) SWIG_fail;
1676 }
1677 {
1678 PyThreadState* __tstate = wxPyBeginAllowThreads();
1679 (arg1)->SetScrollRate(arg2,arg3);
1680
1681 wxPyEndAllowThreads(__tstate);
1682 if (PyErr_Occurred()) SWIG_fail;
1683 }
1684 Py_INCREF(Py_None); resultobj = Py_None;
1685 return resultobj;
1686 fail:
1687 return NULL;
1688 }
1689
1690
1691 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1692 PyObject *resultobj;
1693 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1694 int *arg2 = (int *) 0 ;
1695 int *arg3 = (int *) 0 ;
1696 int temp2 ;
1697 int temp3 ;
1698 PyObject * obj0 = 0 ;
1699 char *kwnames[] = {
1700 (char *) "self", NULL
1701 };
1702
1703 arg2 = &temp2;
1704 arg3 = &temp3;
1705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1707 {
1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
1709 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
1714 Py_INCREF(Py_None); resultobj = Py_None;
1715 {
1716 PyObject *o = PyInt_FromLong((long) (*arg2));
1717 resultobj = t_output_helper(resultobj,o);
1718 }
1719 {
1720 PyObject *o = PyInt_FromLong((long) (*arg3));
1721 resultobj = t_output_helper(resultobj,o);
1722 }
1723 return resultobj;
1724 fail:
1725 return NULL;
1726 }
1727
1728
1729 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1730 PyObject *resultobj;
1731 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1732 bool arg2 ;
1733 bool arg3 ;
1734 PyObject * obj0 = 0 ;
1735 PyObject * obj1 = 0 ;
1736 PyObject * obj2 = 0 ;
1737 char *kwnames[] = {
1738 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1739 };
1740
1741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1743 {
1744 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 }
1747 {
1748 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
1749 if (PyErr_Occurred()) SWIG_fail;
1750 }
1751 {
1752 PyThreadState* __tstate = wxPyBeginAllowThreads();
1753 (arg1)->EnableScrolling(arg2,arg3);
1754
1755 wxPyEndAllowThreads(__tstate);
1756 if (PyErr_Occurred()) SWIG_fail;
1757 }
1758 Py_INCREF(Py_None); resultobj = Py_None;
1759 return resultobj;
1760 fail:
1761 return NULL;
1762 }
1763
1764
1765 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1766 PyObject *resultobj;
1767 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1768 int *arg2 = (int *) 0 ;
1769 int *arg3 = (int *) 0 ;
1770 int temp2 ;
1771 int temp3 ;
1772 PyObject * obj0 = 0 ;
1773 char *kwnames[] = {
1774 (char *) "self", NULL
1775 };
1776
1777 arg2 = &temp2;
1778 arg3 = &temp3;
1779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1781 {
1782 PyThreadState* __tstate = wxPyBeginAllowThreads();
1783 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1784
1785 wxPyEndAllowThreads(__tstate);
1786 if (PyErr_Occurred()) SWIG_fail;
1787 }
1788 Py_INCREF(Py_None); resultobj = Py_None;
1789 {
1790 PyObject *o = PyInt_FromLong((long) (*arg2));
1791 resultobj = t_output_helper(resultobj,o);
1792 }
1793 {
1794 PyObject *o = PyInt_FromLong((long) (*arg3));
1795 resultobj = t_output_helper(resultobj,o);
1796 }
1797 return resultobj;
1798 fail:
1799 return NULL;
1800 }
1801
1802
1803 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1804 PyObject *resultobj;
1805 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1806 double arg2 ;
1807 double arg3 ;
1808 PyObject * obj0 = 0 ;
1809 PyObject * obj1 = 0 ;
1810 PyObject * obj2 = 0 ;
1811 char *kwnames[] = {
1812 (char *) "self",(char *) "xs",(char *) "ys", NULL
1813 };
1814
1815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1817 {
1818 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
1819 if (PyErr_Occurred()) SWIG_fail;
1820 }
1821 {
1822 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 }
1825 {
1826 PyThreadState* __tstate = wxPyBeginAllowThreads();
1827 (arg1)->SetScale(arg2,arg3);
1828
1829 wxPyEndAllowThreads(__tstate);
1830 if (PyErr_Occurred()) SWIG_fail;
1831 }
1832 Py_INCREF(Py_None); resultobj = Py_None;
1833 return resultobj;
1834 fail:
1835 return NULL;
1836 }
1837
1838
1839 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1840 PyObject *resultobj;
1841 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1842 double result;
1843 PyObject * obj0 = 0 ;
1844 char *kwnames[] = {
1845 (char *) "self", NULL
1846 };
1847
1848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1850 {
1851 PyThreadState* __tstate = wxPyBeginAllowThreads();
1852 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1853
1854 wxPyEndAllowThreads(__tstate);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 }
1857 resultobj = SWIG_PyObj_FromDouble((double)result);
1858 return resultobj;
1859 fail:
1860 return NULL;
1861 }
1862
1863
1864 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1865 PyObject *resultobj;
1866 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1867 double result;
1868 PyObject * obj0 = 0 ;
1869 char *kwnames[] = {
1870 (char *) "self", NULL
1871 };
1872
1873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1875 {
1876 PyThreadState* __tstate = wxPyBeginAllowThreads();
1877 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1878
1879 wxPyEndAllowThreads(__tstate);
1880 if (PyErr_Occurred()) SWIG_fail;
1881 }
1882 resultobj = SWIG_PyObj_FromDouble((double)result);
1883 return resultobj;
1884 fail:
1885 return NULL;
1886 }
1887
1888
1889 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1890 PyObject *resultobj;
1891 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1892 wxPoint *arg2 = 0 ;
1893 wxPoint result;
1894 wxPoint temp2 ;
1895 PyObject * obj0 = 0 ;
1896 PyObject * obj1 = 0 ;
1897
1898 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1900 {
1901 arg2 = &temp2;
1902 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1903 }
1904 {
1905 PyThreadState* __tstate = wxPyBeginAllowThreads();
1906 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1907
1908 wxPyEndAllowThreads(__tstate);
1909 if (PyErr_Occurred()) SWIG_fail;
1910 }
1911 {
1912 wxPoint * resultptr;
1913 resultptr = new wxPoint((wxPoint &) result);
1914 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1915 }
1916 return resultobj;
1917 fail:
1918 return NULL;
1919 }
1920
1921
1922 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1923 PyObject *resultobj;
1924 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1925 int arg2 ;
1926 int arg3 ;
1927 int *arg4 = (int *) 0 ;
1928 int *arg5 = (int *) 0 ;
1929 int temp4 ;
1930 int temp5 ;
1931 PyObject * obj0 = 0 ;
1932 PyObject * obj1 = 0 ;
1933 PyObject * obj2 = 0 ;
1934
1935 arg4 = &temp4;
1936 arg5 = &temp5;
1937 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
1938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1939 {
1940 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 {
1944 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1945 if (PyErr_Occurred()) SWIG_fail;
1946 }
1947 {
1948 PyThreadState* __tstate = wxPyBeginAllowThreads();
1949 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1950
1951 wxPyEndAllowThreads(__tstate);
1952 if (PyErr_Occurred()) SWIG_fail;
1953 }
1954 Py_INCREF(Py_None); resultobj = Py_None;
1955 {
1956 PyObject *o = PyInt_FromLong((long) (*arg4));
1957 resultobj = t_output_helper(resultobj,o);
1958 }
1959 {
1960 PyObject *o = PyInt_FromLong((long) (*arg5));
1961 resultobj = t_output_helper(resultobj,o);
1962 }
1963 return resultobj;
1964 fail:
1965 return NULL;
1966 }
1967
1968
1969 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1970 int argc;
1971 PyObject *argv[4];
1972 int ii;
1973
1974 argc = PyObject_Length(args);
1975 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1976 argv[ii] = PyTuple_GetItem(args,ii);
1977 }
1978 if (argc == 2) {
1979 int _v;
1980 {
1981 void *ptr;
1982 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1983 _v = 0;
1984 PyErr_Clear();
1985 } else {
1986 _v = 1;
1987 }
1988 }
1989 if (_v) {
1990 {
1991 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1992 }
1993 if (_v) {
1994 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1995 }
1996 }
1997 }
1998 if (argc == 3) {
1999 int _v;
2000 {
2001 void *ptr;
2002 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2003 _v = 0;
2004 PyErr_Clear();
2005 } else {
2006 _v = 1;
2007 }
2008 }
2009 if (_v) {
2010 {
2011 SWIG_PyObj_AsInt(argv[1]);
2012 if (PyErr_Occurred()) {
2013 _v = 0;
2014 PyErr_Clear();
2015 } else {
2016 _v = 1;
2017 }
2018 }
2019 if (_v) {
2020 {
2021 SWIG_PyObj_AsInt(argv[2]);
2022 if (PyErr_Occurred()) {
2023 _v = 0;
2024 PyErr_Clear();
2025 } else {
2026 _v = 1;
2027 }
2028 }
2029 if (_v) {
2030 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2031 }
2032 }
2033 }
2034 }
2035
2036 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2037 return NULL;
2038 }
2039
2040
2041 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2042 PyObject *resultobj;
2043 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2044 wxPoint *arg2 = 0 ;
2045 wxPoint result;
2046 wxPoint temp2 ;
2047 PyObject * obj0 = 0 ;
2048 PyObject * obj1 = 0 ;
2049
2050 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2052 {
2053 arg2 = &temp2;
2054 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2055 }
2056 {
2057 PyThreadState* __tstate = wxPyBeginAllowThreads();
2058 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2059
2060 wxPyEndAllowThreads(__tstate);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 }
2063 {
2064 wxPoint * resultptr;
2065 resultptr = new wxPoint((wxPoint &) result);
2066 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2067 }
2068 return resultobj;
2069 fail:
2070 return NULL;
2071 }
2072
2073
2074 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2075 PyObject *resultobj;
2076 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2077 int arg2 ;
2078 int arg3 ;
2079 int *arg4 = (int *) 0 ;
2080 int *arg5 = (int *) 0 ;
2081 int temp4 ;
2082 int temp5 ;
2083 PyObject * obj0 = 0 ;
2084 PyObject * obj1 = 0 ;
2085 PyObject * obj2 = 0 ;
2086
2087 arg4 = &temp4;
2088 arg5 = &temp5;
2089 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2091 {
2092 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 }
2095 {
2096 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2097 if (PyErr_Occurred()) SWIG_fail;
2098 }
2099 {
2100 PyThreadState* __tstate = wxPyBeginAllowThreads();
2101 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2102
2103 wxPyEndAllowThreads(__tstate);
2104 if (PyErr_Occurred()) SWIG_fail;
2105 }
2106 Py_INCREF(Py_None); resultobj = Py_None;
2107 {
2108 PyObject *o = PyInt_FromLong((long) (*arg4));
2109 resultobj = t_output_helper(resultobj,o);
2110 }
2111 {
2112 PyObject *o = PyInt_FromLong((long) (*arg5));
2113 resultobj = t_output_helper(resultobj,o);
2114 }
2115 return resultobj;
2116 fail:
2117 return NULL;
2118 }
2119
2120
2121 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2122 int argc;
2123 PyObject *argv[4];
2124 int ii;
2125
2126 argc = PyObject_Length(args);
2127 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2128 argv[ii] = PyTuple_GetItem(args,ii);
2129 }
2130 if (argc == 2) {
2131 int _v;
2132 {
2133 void *ptr;
2134 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2135 _v = 0;
2136 PyErr_Clear();
2137 } else {
2138 _v = 1;
2139 }
2140 }
2141 if (_v) {
2142 {
2143 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2144 }
2145 if (_v) {
2146 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2147 }
2148 }
2149 }
2150 if (argc == 3) {
2151 int _v;
2152 {
2153 void *ptr;
2154 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2155 _v = 0;
2156 PyErr_Clear();
2157 } else {
2158 _v = 1;
2159 }
2160 }
2161 if (_v) {
2162 {
2163 SWIG_PyObj_AsInt(argv[1]);
2164 if (PyErr_Occurred()) {
2165 _v = 0;
2166 PyErr_Clear();
2167 } else {
2168 _v = 1;
2169 }
2170 }
2171 if (_v) {
2172 {
2173 SWIG_PyObj_AsInt(argv[2]);
2174 if (PyErr_Occurred()) {
2175 _v = 0;
2176 PyErr_Clear();
2177 } else {
2178 _v = 1;
2179 }
2180 }
2181 if (_v) {
2182 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2183 }
2184 }
2185 }
2186 }
2187
2188 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2189 return NULL;
2190 }
2191
2192
2193 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2194 PyObject *resultobj;
2195 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2196 PyObject * obj0 = 0 ;
2197 char *kwnames[] = {
2198 (char *) "self", NULL
2199 };
2200
2201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2203 {
2204 PyThreadState* __tstate = wxPyBeginAllowThreads();
2205 (arg1)->AdjustScrollbars();
2206
2207 wxPyEndAllowThreads(__tstate);
2208 if (PyErr_Occurred()) SWIG_fail;
2209 }
2210 Py_INCREF(Py_None); resultobj = Py_None;
2211 return resultobj;
2212 fail:
2213 return NULL;
2214 }
2215
2216
2217 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2218 PyObject *resultobj;
2219 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2220 wxScrollWinEvent *arg2 = 0 ;
2221 int result;
2222 PyObject * obj0 = 0 ;
2223 PyObject * obj1 = 0 ;
2224 char *kwnames[] = {
2225 (char *) "self",(char *) "event", NULL
2226 };
2227
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2230 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2231 if (arg2 == NULL) {
2232 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2233 }
2234 {
2235 PyThreadState* __tstate = wxPyBeginAllowThreads();
2236 result = (int)(arg1)->CalcScrollInc(*arg2);
2237
2238 wxPyEndAllowThreads(__tstate);
2239 if (PyErr_Occurred()) SWIG_fail;
2240 }
2241 resultobj = SWIG_PyObj_FromInt((int)result);
2242 return resultobj;
2243 fail:
2244 return NULL;
2245 }
2246
2247
2248 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2249 PyObject *resultobj;
2250 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2251 wxWindow *arg2 = (wxWindow *) 0 ;
2252 PyObject * obj0 = 0 ;
2253 PyObject * obj1 = 0 ;
2254 char *kwnames[] = {
2255 (char *) "self",(char *) "target", NULL
2256 };
2257
2258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2261 {
2262 PyThreadState* __tstate = wxPyBeginAllowThreads();
2263 (arg1)->SetTargetWindow(arg2);
2264
2265 wxPyEndAllowThreads(__tstate);
2266 if (PyErr_Occurred()) SWIG_fail;
2267 }
2268 Py_INCREF(Py_None); resultobj = Py_None;
2269 return resultobj;
2270 fail:
2271 return NULL;
2272 }
2273
2274
2275 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2276 PyObject *resultobj;
2277 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2278 wxWindow *result;
2279 PyObject * obj0 = 0 ;
2280 char *kwnames[] = {
2281 (char *) "self", NULL
2282 };
2283
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2286 {
2287 PyThreadState* __tstate = wxPyBeginAllowThreads();
2288 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2289
2290 wxPyEndAllowThreads(__tstate);
2291 if (PyErr_Occurred()) SWIG_fail;
2292 }
2293 {
2294 resultobj = wxPyMake_wxObject(result);
2295 }
2296 return resultobj;
2297 fail:
2298 return NULL;
2299 }
2300
2301
2302 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2303 PyObject *obj;
2304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2305 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2306 Py_INCREF(obj);
2307 return Py_BuildValue((char *)"");
2308 }
2309 static int _wrap_FrameNameStr_set(PyObject *_val) {
2310 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2311 return 1;
2312 }
2313
2314
2315 static PyObject *_wrap_FrameNameStr_get() {
2316 PyObject *pyobj;
2317
2318 {
2319 #if wxUSE_UNICODE
2320 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2321 #else
2322 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2323 #endif
2324 }
2325 return pyobj;
2326 }
2327
2328
2329 static int _wrap_DialogNameStr_set(PyObject *_val) {
2330 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2331 return 1;
2332 }
2333
2334
2335 static PyObject *_wrap_DialogNameStr_get() {
2336 PyObject *pyobj;
2337
2338 {
2339 #if wxUSE_UNICODE
2340 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2341 #else
2342 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2343 #endif
2344 }
2345 return pyobj;
2346 }
2347
2348
2349 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2350 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2351 return 1;
2352 }
2353
2354
2355 static PyObject *_wrap_StatusLineNameStr_get() {
2356 PyObject *pyobj;
2357
2358 {
2359 #if wxUSE_UNICODE
2360 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2361 #else
2362 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2363 #endif
2364 }
2365 return pyobj;
2366 }
2367
2368
2369 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2370 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2371 return 1;
2372 }
2373
2374
2375 static PyObject *_wrap_ToolBarNameStr_get() {
2376 PyObject *pyobj;
2377
2378 {
2379 #if wxUSE_UNICODE
2380 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2381 #else
2382 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2383 #endif
2384 }
2385 return pyobj;
2386 }
2387
2388
2389 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2390 PyObject *resultobj;
2391 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2392 bool arg2 = (bool) True ;
2393 PyObject * obj0 = 0 ;
2394 PyObject * obj1 = 0 ;
2395 char *kwnames[] = {
2396 (char *) "self",(char *) "maximize", NULL
2397 };
2398
2399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2401 if (obj1) {
2402 {
2403 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2404 if (PyErr_Occurred()) SWIG_fail;
2405 }
2406 }
2407 {
2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
2409 (arg1)->Maximize(arg2);
2410
2411 wxPyEndAllowThreads(__tstate);
2412 if (PyErr_Occurred()) SWIG_fail;
2413 }
2414 Py_INCREF(Py_None); resultobj = Py_None;
2415 return resultobj;
2416 fail:
2417 return NULL;
2418 }
2419
2420
2421 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2422 PyObject *resultobj;
2423 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2424 PyObject * obj0 = 0 ;
2425 char *kwnames[] = {
2426 (char *) "self", NULL
2427 };
2428
2429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2431 {
2432 PyThreadState* __tstate = wxPyBeginAllowThreads();
2433 (arg1)->Restore();
2434
2435 wxPyEndAllowThreads(__tstate);
2436 if (PyErr_Occurred()) SWIG_fail;
2437 }
2438 Py_INCREF(Py_None); resultobj = Py_None;
2439 return resultobj;
2440 fail:
2441 return NULL;
2442 }
2443
2444
2445 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2446 PyObject *resultobj;
2447 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2448 bool arg2 = (bool) True ;
2449 PyObject * obj0 = 0 ;
2450 PyObject * obj1 = 0 ;
2451 char *kwnames[] = {
2452 (char *) "self",(char *) "iconize", NULL
2453 };
2454
2455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2457 if (obj1) {
2458 {
2459 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2460 if (PyErr_Occurred()) SWIG_fail;
2461 }
2462 }
2463 {
2464 PyThreadState* __tstate = wxPyBeginAllowThreads();
2465 (arg1)->Iconize(arg2);
2466
2467 wxPyEndAllowThreads(__tstate);
2468 if (PyErr_Occurred()) SWIG_fail;
2469 }
2470 Py_INCREF(Py_None); resultobj = Py_None;
2471 return resultobj;
2472 fail:
2473 return NULL;
2474 }
2475
2476
2477 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2478 PyObject *resultobj;
2479 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2480 bool result;
2481 PyObject * obj0 = 0 ;
2482 char *kwnames[] = {
2483 (char *) "self", NULL
2484 };
2485
2486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2488 {
2489 PyThreadState* __tstate = wxPyBeginAllowThreads();
2490 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2491
2492 wxPyEndAllowThreads(__tstate);
2493 if (PyErr_Occurred()) SWIG_fail;
2494 }
2495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2496 return resultobj;
2497 fail:
2498 return NULL;
2499 }
2500
2501
2502 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2503 PyObject *resultobj;
2504 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2505 bool result;
2506 PyObject * obj0 = 0 ;
2507 char *kwnames[] = {
2508 (char *) "self", NULL
2509 };
2510
2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2513 {
2514 PyThreadState* __tstate = wxPyBeginAllowThreads();
2515 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2516
2517 wxPyEndAllowThreads(__tstate);
2518 if (PyErr_Occurred()) SWIG_fail;
2519 }
2520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2521 return resultobj;
2522 fail:
2523 return NULL;
2524 }
2525
2526
2527 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2528 PyObject *resultobj;
2529 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2530 wxIcon result;
2531 PyObject * obj0 = 0 ;
2532 char *kwnames[] = {
2533 (char *) "self", NULL
2534 };
2535
2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2538 {
2539 PyThreadState* __tstate = wxPyBeginAllowThreads();
2540 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2541
2542 wxPyEndAllowThreads(__tstate);
2543 if (PyErr_Occurred()) SWIG_fail;
2544 }
2545 {
2546 wxIcon * resultptr;
2547 resultptr = new wxIcon((wxIcon &) result);
2548 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2549 }
2550 return resultobj;
2551 fail:
2552 return NULL;
2553 }
2554
2555
2556 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2559 wxIcon *arg2 = 0 ;
2560 PyObject * obj0 = 0 ;
2561 PyObject * obj1 = 0 ;
2562 char *kwnames[] = {
2563 (char *) "self",(char *) "icon", NULL
2564 };
2565
2566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2569 if (arg2 == NULL) {
2570 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2571 }
2572 {
2573 PyThreadState* __tstate = wxPyBeginAllowThreads();
2574 (arg1)->SetIcon((wxIcon const &)*arg2);
2575
2576 wxPyEndAllowThreads(__tstate);
2577 if (PyErr_Occurred()) SWIG_fail;
2578 }
2579 Py_INCREF(Py_None); resultobj = Py_None;
2580 return resultobj;
2581 fail:
2582 return NULL;
2583 }
2584
2585
2586 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2587 PyObject *resultobj;
2588 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2589 wxIconBundle *arg2 = 0 ;
2590 PyObject * obj0 = 0 ;
2591 PyObject * obj1 = 0 ;
2592 char *kwnames[] = {
2593 (char *) "self",(char *) "icons", NULL
2594 };
2595
2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2599 if (arg2 == NULL) {
2600 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2601 }
2602 {
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
2604 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2605
2606 wxPyEndAllowThreads(__tstate);
2607 if (PyErr_Occurred()) SWIG_fail;
2608 }
2609 Py_INCREF(Py_None); resultobj = Py_None;
2610 return resultobj;
2611 fail:
2612 return NULL;
2613 }
2614
2615
2616 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2617 PyObject *resultobj;
2618 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2619 bool arg2 ;
2620 long arg3 = (long) wxFULLSCREEN_ALL ;
2621 bool result;
2622 PyObject * obj0 = 0 ;
2623 PyObject * obj1 = 0 ;
2624 PyObject * obj2 = 0 ;
2625 char *kwnames[] = {
2626 (char *) "self",(char *) "show",(char *) "style", NULL
2627 };
2628
2629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2631 {
2632 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2633 if (PyErr_Occurred()) SWIG_fail;
2634 }
2635 if (obj2) {
2636 {
2637 arg3 = (long) SWIG_PyObj_AsLong(obj2);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
2640 }
2641 {
2642 PyThreadState* __tstate = wxPyBeginAllowThreads();
2643 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2644
2645 wxPyEndAllowThreads(__tstate);
2646 if (PyErr_Occurred()) SWIG_fail;
2647 }
2648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2649 return resultobj;
2650 fail:
2651 return NULL;
2652 }
2653
2654
2655 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2656 PyObject *resultobj;
2657 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2658 bool result;
2659 PyObject * obj0 = 0 ;
2660 char *kwnames[] = {
2661 (char *) "self", NULL
2662 };
2663
2664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2666 {
2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
2668 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2669
2670 wxPyEndAllowThreads(__tstate);
2671 if (PyErr_Occurred()) SWIG_fail;
2672 }
2673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2674 return resultobj;
2675 fail:
2676 return NULL;
2677 }
2678
2679
2680 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2681 PyObject *resultobj;
2682 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2683 wxString *arg2 = 0 ;
2684 bool temp2 = False ;
2685 PyObject * obj0 = 0 ;
2686 PyObject * obj1 = 0 ;
2687 char *kwnames[] = {
2688 (char *) "self",(char *) "title", NULL
2689 };
2690
2691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2693 {
2694 arg2 = wxString_in_helper(obj1);
2695 if (arg2 == NULL) SWIG_fail;
2696 temp2 = True;
2697 }
2698 {
2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
2700 (arg1)->SetTitle((wxString const &)*arg2);
2701
2702 wxPyEndAllowThreads(__tstate);
2703 if (PyErr_Occurred()) SWIG_fail;
2704 }
2705 Py_INCREF(Py_None); resultobj = Py_None;
2706 {
2707 if (temp2)
2708 delete arg2;
2709 }
2710 return resultobj;
2711 fail:
2712 {
2713 if (temp2)
2714 delete arg2;
2715 }
2716 return NULL;
2717 }
2718
2719
2720 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2721 PyObject *resultobj;
2722 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2723 wxString result;
2724 PyObject * obj0 = 0 ;
2725 char *kwnames[] = {
2726 (char *) "self", NULL
2727 };
2728
2729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2731 {
2732 PyThreadState* __tstate = wxPyBeginAllowThreads();
2733 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2734
2735 wxPyEndAllowThreads(__tstate);
2736 if (PyErr_Occurred()) SWIG_fail;
2737 }
2738 {
2739 #if wxUSE_UNICODE
2740 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2741 #else
2742 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2743 #endif
2744 }
2745 return resultobj;
2746 fail:
2747 return NULL;
2748 }
2749
2750
2751 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj;
2753 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2754 wxRegion *arg2 = 0 ;
2755 bool result;
2756 PyObject * obj0 = 0 ;
2757 PyObject * obj1 = 0 ;
2758 char *kwnames[] = {
2759 (char *) "self",(char *) "region", NULL
2760 };
2761
2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2765 if (arg2 == NULL) {
2766 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2767 }
2768 {
2769 PyThreadState* __tstate = wxPyBeginAllowThreads();
2770 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2771
2772 wxPyEndAllowThreads(__tstate);
2773 if (PyErr_Occurred()) SWIG_fail;
2774 }
2775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2776 return resultobj;
2777 fail:
2778 return NULL;
2779 }
2780
2781
2782 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2783 PyObject *obj;
2784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2785 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2786 Py_INCREF(obj);
2787 return Py_BuildValue((char *)"");
2788 }
2789 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2790 PyObject *resultobj;
2791 wxWindow *arg1 = (wxWindow *) 0 ;
2792 int arg2 ;
2793 wxString *arg3 = 0 ;
2794 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2795 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2796 wxSize const &arg5_defvalue = wxDefaultSize ;
2797 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2798 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2799 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2800 wxString *arg7 = (wxString *) &arg7_defvalue ;
2801 wxFrame *result;
2802 bool temp3 = False ;
2803 wxPoint temp4 ;
2804 wxSize temp5 ;
2805 bool temp7 = False ;
2806 PyObject * obj0 = 0 ;
2807 PyObject * obj1 = 0 ;
2808 PyObject * obj2 = 0 ;
2809 PyObject * obj3 = 0 ;
2810 PyObject * obj4 = 0 ;
2811 PyObject * obj5 = 0 ;
2812 PyObject * obj6 = 0 ;
2813 char *kwnames[] = {
2814 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2815 };
2816
2817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2819 {
2820 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2821 if (PyErr_Occurred()) SWIG_fail;
2822 }
2823 {
2824 arg3 = wxString_in_helper(obj2);
2825 if (arg3 == NULL) SWIG_fail;
2826 temp3 = True;
2827 }
2828 if (obj3) {
2829 {
2830 arg4 = &temp4;
2831 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2832 }
2833 }
2834 if (obj4) {
2835 {
2836 arg5 = &temp5;
2837 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2838 }
2839 }
2840 if (obj5) {
2841 {
2842 arg6 = (long) SWIG_PyObj_AsLong(obj5);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 }
2845 }
2846 if (obj6) {
2847 {
2848 arg7 = wxString_in_helper(obj6);
2849 if (arg7 == NULL) SWIG_fail;
2850 temp7 = True;
2851 }
2852 }
2853 {
2854 PyThreadState* __tstate = wxPyBeginAllowThreads();
2855 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2856
2857 wxPyEndAllowThreads(__tstate);
2858 if (PyErr_Occurred()) SWIG_fail;
2859 }
2860 {
2861 resultobj = wxPyMake_wxObject(result);
2862 }
2863 {
2864 if (temp3)
2865 delete arg3;
2866 }
2867 {
2868 if (temp7)
2869 delete arg7;
2870 }
2871 return resultobj;
2872 fail:
2873 {
2874 if (temp3)
2875 delete arg3;
2876 }
2877 {
2878 if (temp7)
2879 delete arg7;
2880 }
2881 return NULL;
2882 }
2883
2884
2885 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2886 PyObject *resultobj;
2887 wxFrame *result;
2888 char *kwnames[] = {
2889 NULL
2890 };
2891
2892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 result = (wxFrame *)new wxFrame();
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 {
2901 resultobj = wxPyMake_wxObject(result);
2902 }
2903 return resultobj;
2904 fail:
2905 return NULL;
2906 }
2907
2908
2909 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2910 PyObject *resultobj;
2911 wxFrame *arg1 = (wxFrame *) 0 ;
2912 wxWindow *arg2 = (wxWindow *) 0 ;
2913 int arg3 ;
2914 wxString *arg4 = 0 ;
2915 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2916 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2917 wxSize const &arg6_defvalue = wxDefaultSize ;
2918 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2919 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2920 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2921 wxString *arg8 = (wxString *) &arg8_defvalue ;
2922 bool result;
2923 bool temp4 = False ;
2924 wxPoint temp5 ;
2925 wxSize temp6 ;
2926 bool temp8 = False ;
2927 PyObject * obj0 = 0 ;
2928 PyObject * obj1 = 0 ;
2929 PyObject * obj2 = 0 ;
2930 PyObject * obj3 = 0 ;
2931 PyObject * obj4 = 0 ;
2932 PyObject * obj5 = 0 ;
2933 PyObject * obj6 = 0 ;
2934 PyObject * obj7 = 0 ;
2935 char *kwnames[] = {
2936 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2937 };
2938
2939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2942 {
2943 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
2944 if (PyErr_Occurred()) SWIG_fail;
2945 }
2946 {
2947 arg4 = wxString_in_helper(obj3);
2948 if (arg4 == NULL) SWIG_fail;
2949 temp4 = True;
2950 }
2951 if (obj4) {
2952 {
2953 arg5 = &temp5;
2954 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2955 }
2956 }
2957 if (obj5) {
2958 {
2959 arg6 = &temp6;
2960 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2961 }
2962 }
2963 if (obj6) {
2964 {
2965 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2966 if (PyErr_Occurred()) SWIG_fail;
2967 }
2968 }
2969 if (obj7) {
2970 {
2971 arg8 = wxString_in_helper(obj7);
2972 if (arg8 == NULL) SWIG_fail;
2973 temp8 = True;
2974 }
2975 }
2976 {
2977 PyThreadState* __tstate = wxPyBeginAllowThreads();
2978 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2979
2980 wxPyEndAllowThreads(__tstate);
2981 if (PyErr_Occurred()) SWIG_fail;
2982 }
2983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2984 {
2985 if (temp4)
2986 delete arg4;
2987 }
2988 {
2989 if (temp8)
2990 delete arg8;
2991 }
2992 return resultobj;
2993 fail:
2994 {
2995 if (temp4)
2996 delete arg4;
2997 }
2998 {
2999 if (temp8)
3000 delete arg8;
3001 }
3002 return NULL;
3003 }
3004
3005
3006 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3007 PyObject *resultobj;
3008 wxFrame *arg1 = (wxFrame *) 0 ;
3009 wxPoint result;
3010 PyObject * obj0 = 0 ;
3011 char *kwnames[] = {
3012 (char *) "self", NULL
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3017 {
3018 PyThreadState* __tstate = wxPyBeginAllowThreads();
3019 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3020
3021 wxPyEndAllowThreads(__tstate);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 }
3024 {
3025 wxPoint * resultptr;
3026 resultptr = new wxPoint((wxPoint &) result);
3027 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3028 }
3029 return resultobj;
3030 fail:
3031 return NULL;
3032 }
3033
3034
3035 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3036 PyObject *resultobj;
3037 wxFrame *arg1 = (wxFrame *) 0 ;
3038 PyObject * obj0 = 0 ;
3039 char *kwnames[] = {
3040 (char *) "self", NULL
3041 };
3042
3043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3045 {
3046 PyThreadState* __tstate = wxPyBeginAllowThreads();
3047 (arg1)->SendSizeEvent();
3048
3049 wxPyEndAllowThreads(__tstate);
3050 if (PyErr_Occurred()) SWIG_fail;
3051 }
3052 Py_INCREF(Py_None); resultobj = Py_None;
3053 return resultobj;
3054 fail:
3055 return NULL;
3056 }
3057
3058
3059 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3060 PyObject *resultobj;
3061 wxFrame *arg1 = (wxFrame *) 0 ;
3062 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3063 PyObject * obj0 = 0 ;
3064 PyObject * obj1 = 0 ;
3065 char *kwnames[] = {
3066 (char *) "self",(char *) "menubar", NULL
3067 };
3068
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3071 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3072 {
3073 PyThreadState* __tstate = wxPyBeginAllowThreads();
3074 (arg1)->SetMenuBar(arg2);
3075
3076 wxPyEndAllowThreads(__tstate);
3077 if (PyErr_Occurred()) SWIG_fail;
3078 }
3079 Py_INCREF(Py_None); resultobj = Py_None;
3080 return resultobj;
3081 fail:
3082 return NULL;
3083 }
3084
3085
3086 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3087 PyObject *resultobj;
3088 wxFrame *arg1 = (wxFrame *) 0 ;
3089 wxMenuBar *result;
3090 PyObject * obj0 = 0 ;
3091 char *kwnames[] = {
3092 (char *) "self", NULL
3093 };
3094
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3097 {
3098 PyThreadState* __tstate = wxPyBeginAllowThreads();
3099 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3100
3101 wxPyEndAllowThreads(__tstate);
3102 if (PyErr_Occurred()) SWIG_fail;
3103 }
3104 {
3105 resultobj = wxPyMake_wxObject(result);
3106 }
3107 return resultobj;
3108 fail:
3109 return NULL;
3110 }
3111
3112
3113 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3114 PyObject *resultobj;
3115 wxFrame *arg1 = (wxFrame *) 0 ;
3116 int arg2 ;
3117 bool result;
3118 PyObject * obj0 = 0 ;
3119 PyObject * obj1 = 0 ;
3120 char *kwnames[] = {
3121 (char *) "self",(char *) "winid", NULL
3122 };
3123
3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3126 {
3127 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 {
3131 PyThreadState* __tstate = wxPyBeginAllowThreads();
3132 result = (bool)(arg1)->ProcessCommand(arg2);
3133
3134 wxPyEndAllowThreads(__tstate);
3135 if (PyErr_Occurred()) SWIG_fail;
3136 }
3137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3138 return resultobj;
3139 fail:
3140 return NULL;
3141 }
3142
3143
3144 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3145 PyObject *resultobj;
3146 wxFrame *arg1 = (wxFrame *) 0 ;
3147 int arg2 = (int) 1 ;
3148 long arg3 = (long) wxST_SIZEGRIP ;
3149 int arg4 = (int) 0 ;
3150 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3151 wxString *arg5 = (wxString *) &arg5_defvalue ;
3152 wxStatusBar *result;
3153 bool temp5 = False ;
3154 PyObject * obj0 = 0 ;
3155 PyObject * obj1 = 0 ;
3156 PyObject * obj2 = 0 ;
3157 PyObject * obj3 = 0 ;
3158 PyObject * obj4 = 0 ;
3159 char *kwnames[] = {
3160 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3161 };
3162
3163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3165 if (obj1) {
3166 {
3167 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 }
3170 }
3171 if (obj2) {
3172 {
3173 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 }
3177 if (obj3) {
3178 {
3179 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3180 if (PyErr_Occurred()) SWIG_fail;
3181 }
3182 }
3183 if (obj4) {
3184 {
3185 arg5 = wxString_in_helper(obj4);
3186 if (arg5 == NULL) SWIG_fail;
3187 temp5 = True;
3188 }
3189 }
3190 {
3191 PyThreadState* __tstate = wxPyBeginAllowThreads();
3192 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3193
3194 wxPyEndAllowThreads(__tstate);
3195 if (PyErr_Occurred()) SWIG_fail;
3196 }
3197 {
3198 resultobj = wxPyMake_wxObject(result);
3199 }
3200 {
3201 if (temp5)
3202 delete arg5;
3203 }
3204 return resultobj;
3205 fail:
3206 {
3207 if (temp5)
3208 delete arg5;
3209 }
3210 return NULL;
3211 }
3212
3213
3214 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3215 PyObject *resultobj;
3216 wxFrame *arg1 = (wxFrame *) 0 ;
3217 wxStatusBar *result;
3218 PyObject * obj0 = 0 ;
3219 char *kwnames[] = {
3220 (char *) "self", NULL
3221 };
3222
3223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 {
3233 resultobj = wxPyMake_wxObject(result);
3234 }
3235 return resultobj;
3236 fail:
3237 return NULL;
3238 }
3239
3240
3241 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3242 PyObject *resultobj;
3243 wxFrame *arg1 = (wxFrame *) 0 ;
3244 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3245 PyObject * obj0 = 0 ;
3246 PyObject * obj1 = 0 ;
3247 char *kwnames[] = {
3248 (char *) "self",(char *) "statBar", NULL
3249 };
3250
3251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 (arg1)->SetStatusBar(arg2);
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 Py_INCREF(Py_None); resultobj = Py_None;
3262 return resultobj;
3263 fail:
3264 return NULL;
3265 }
3266
3267
3268 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3269 PyObject *resultobj;
3270 wxFrame *arg1 = (wxFrame *) 0 ;
3271 wxString *arg2 = 0 ;
3272 int arg3 = (int) 0 ;
3273 bool temp2 = False ;
3274 PyObject * obj0 = 0 ;
3275 PyObject * obj1 = 0 ;
3276 PyObject * obj2 = 0 ;
3277 char *kwnames[] = {
3278 (char *) "self",(char *) "text",(char *) "number", NULL
3279 };
3280
3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3283 {
3284 arg2 = wxString_in_helper(obj1);
3285 if (arg2 == NULL) SWIG_fail;
3286 temp2 = True;
3287 }
3288 if (obj2) {
3289 {
3290 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
3293 }
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 Py_INCREF(Py_None); resultobj = Py_None;
3302 {
3303 if (temp2)
3304 delete arg2;
3305 }
3306 return resultobj;
3307 fail:
3308 {
3309 if (temp2)
3310 delete arg2;
3311 }
3312 return NULL;
3313 }
3314
3315
3316 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3317 PyObject *resultobj;
3318 wxFrame *arg1 = (wxFrame *) 0 ;
3319 int arg2 ;
3320 int *arg3 = (int *) 0 ;
3321 PyObject * obj0 = 0 ;
3322 PyObject * obj1 = 0 ;
3323 char *kwnames[] = {
3324 (char *) "self",(char *) "widths", NULL
3325 };
3326
3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3329 {
3330 arg2 = PyList_Size(obj1);
3331 arg3 = int_LIST_helper(obj1);
3332 if (arg3 == NULL) SWIG_fail;
3333 }
3334 {
3335 PyThreadState* __tstate = wxPyBeginAllowThreads();
3336 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3337
3338 wxPyEndAllowThreads(__tstate);
3339 if (PyErr_Occurred()) SWIG_fail;
3340 }
3341 Py_INCREF(Py_None); resultobj = Py_None;
3342 {
3343 if (arg3) delete [] arg3;
3344 }
3345 return resultobj;
3346 fail:
3347 {
3348 if (arg3) delete [] arg3;
3349 }
3350 return NULL;
3351 }
3352
3353
3354 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3355 PyObject *resultobj;
3356 wxFrame *arg1 = (wxFrame *) 0 ;
3357 wxString *arg2 = 0 ;
3358 int arg3 = (int) 0 ;
3359 bool temp2 = False ;
3360 PyObject * obj0 = 0 ;
3361 PyObject * obj1 = 0 ;
3362 PyObject * obj2 = 0 ;
3363 char *kwnames[] = {
3364 (char *) "self",(char *) "text",(char *) "number", NULL
3365 };
3366
3367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3369 {
3370 arg2 = wxString_in_helper(obj1);
3371 if (arg2 == NULL) SWIG_fail;
3372 temp2 = True;
3373 }
3374 if (obj2) {
3375 {
3376 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 }
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
3387 Py_INCREF(Py_None); resultobj = Py_None;
3388 {
3389 if (temp2)
3390 delete arg2;
3391 }
3392 return resultobj;
3393 fail:
3394 {
3395 if (temp2)
3396 delete arg2;
3397 }
3398 return NULL;
3399 }
3400
3401
3402 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj;
3404 wxFrame *arg1 = (wxFrame *) 0 ;
3405 int arg2 = (int) 0 ;
3406 PyObject * obj0 = 0 ;
3407 PyObject * obj1 = 0 ;
3408 char *kwnames[] = {
3409 (char *) "self",(char *) "number", NULL
3410 };
3411
3412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3414 if (obj1) {
3415 {
3416 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3417 if (PyErr_Occurred()) SWIG_fail;
3418 }
3419 }
3420 {
3421 PyThreadState* __tstate = wxPyBeginAllowThreads();
3422 (arg1)->PopStatusText(arg2);
3423
3424 wxPyEndAllowThreads(__tstate);
3425 if (PyErr_Occurred()) SWIG_fail;
3426 }
3427 Py_INCREF(Py_None); resultobj = Py_None;
3428 return resultobj;
3429 fail:
3430 return NULL;
3431 }
3432
3433
3434 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3435 PyObject *resultobj;
3436 wxFrame *arg1 = (wxFrame *) 0 ;
3437 int arg2 ;
3438 PyObject * obj0 = 0 ;
3439 PyObject * obj1 = 0 ;
3440 char *kwnames[] = {
3441 (char *) "self",(char *) "n", NULL
3442 };
3443
3444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3446 {
3447 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 {
3451 PyThreadState* __tstate = wxPyBeginAllowThreads();
3452 (arg1)->SetStatusBarPane(arg2);
3453
3454 wxPyEndAllowThreads(__tstate);
3455 if (PyErr_Occurred()) SWIG_fail;
3456 }
3457 Py_INCREF(Py_None); resultobj = Py_None;
3458 return resultobj;
3459 fail:
3460 return NULL;
3461 }
3462
3463
3464 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3465 PyObject *resultobj;
3466 wxFrame *arg1 = (wxFrame *) 0 ;
3467 int result;
3468 PyObject * obj0 = 0 ;
3469 char *kwnames[] = {
3470 (char *) "self", NULL
3471 };
3472
3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3475 {
3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
3477 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3478
3479 wxPyEndAllowThreads(__tstate);
3480 if (PyErr_Occurred()) SWIG_fail;
3481 }
3482 resultobj = SWIG_PyObj_FromInt((int)result);
3483 return resultobj;
3484 fail:
3485 return NULL;
3486 }
3487
3488
3489 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3490 PyObject *resultobj;
3491 wxFrame *arg1 = (wxFrame *) 0 ;
3492 long arg2 = (long) -1 ;
3493 int arg3 = (int) -1 ;
3494 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3495 wxString *arg4 = (wxString *) &arg4_defvalue ;
3496 wxToolBar *result;
3497 bool temp4 = False ;
3498 PyObject * obj0 = 0 ;
3499 PyObject * obj1 = 0 ;
3500 PyObject * obj2 = 0 ;
3501 PyObject * obj3 = 0 ;
3502 char *kwnames[] = {
3503 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3504 };
3505
3506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3508 if (obj1) {
3509 {
3510 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 }
3514 if (obj2) {
3515 {
3516 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 }
3520 if (obj3) {
3521 {
3522 arg4 = wxString_in_helper(obj3);
3523 if (arg4 == NULL) SWIG_fail;
3524 temp4 = True;
3525 }
3526 }
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3530
3531 wxPyEndAllowThreads(__tstate);
3532 if (PyErr_Occurred()) SWIG_fail;
3533 }
3534 {
3535 resultobj = wxPyMake_wxObject(result);
3536 }
3537 {
3538 if (temp4)
3539 delete arg4;
3540 }
3541 return resultobj;
3542 fail:
3543 {
3544 if (temp4)
3545 delete arg4;
3546 }
3547 return NULL;
3548 }
3549
3550
3551 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3552 PyObject *resultobj;
3553 wxFrame *arg1 = (wxFrame *) 0 ;
3554 wxToolBar *result;
3555 PyObject * obj0 = 0 ;
3556 char *kwnames[] = {
3557 (char *) "self", NULL
3558 };
3559
3560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 {
3570 resultobj = wxPyMake_wxObject(result);
3571 }
3572 return resultobj;
3573 fail:
3574 return NULL;
3575 }
3576
3577
3578 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3579 PyObject *resultobj;
3580 wxFrame *arg1 = (wxFrame *) 0 ;
3581 wxToolBar *arg2 = (wxToolBar *) 0 ;
3582 PyObject * obj0 = 0 ;
3583 PyObject * obj1 = 0 ;
3584 char *kwnames[] = {
3585 (char *) "self",(char *) "toolbar", NULL
3586 };
3587
3588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3591 {
3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
3593 (arg1)->SetToolBar(arg2);
3594
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
3598 Py_INCREF(Py_None); resultobj = Py_None;
3599 return resultobj;
3600 fail:
3601 return NULL;
3602 }
3603
3604
3605 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3606 PyObject *resultobj;
3607 wxFrame *arg1 = (wxFrame *) 0 ;
3608 wxString *arg2 = 0 ;
3609 bool arg3 ;
3610 bool temp2 = False ;
3611 PyObject * obj0 = 0 ;
3612 PyObject * obj1 = 0 ;
3613 PyObject * obj2 = 0 ;
3614 char *kwnames[] = {
3615 (char *) "self",(char *) "text",(char *) "show", NULL
3616 };
3617
3618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3620 {
3621 arg2 = wxString_in_helper(obj1);
3622 if (arg2 == NULL) SWIG_fail;
3623 temp2 = True;
3624 }
3625 {
3626 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3627 if (PyErr_Occurred()) SWIG_fail;
3628 }
3629 {
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3632
3633 wxPyEndAllowThreads(__tstate);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 }
3636 Py_INCREF(Py_None); resultobj = Py_None;
3637 {
3638 if (temp2)
3639 delete arg2;
3640 }
3641 return resultobj;
3642 fail:
3643 {
3644 if (temp2)
3645 delete arg2;
3646 }
3647 return NULL;
3648 }
3649
3650
3651 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3652 PyObject *resultobj;
3653 wxFrame *arg1 = (wxFrame *) 0 ;
3654 wxMenu *arg2 = (wxMenu *) NULL ;
3655 PyObject * obj0 = 0 ;
3656 PyObject * obj1 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "self",(char *) "menu", NULL
3659 };
3660
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3663 if (obj1) {
3664 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3665 }
3666 {
3667 PyThreadState* __tstate = wxPyBeginAllowThreads();
3668 (arg1)->DoMenuUpdates(arg2);
3669
3670 wxPyEndAllowThreads(__tstate);
3671 if (PyErr_Occurred()) SWIG_fail;
3672 }
3673 Py_INCREF(Py_None); resultobj = Py_None;
3674 return resultobj;
3675 fail:
3676 return NULL;
3677 }
3678
3679
3680 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3681 PyObject *obj;
3682 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3683 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3684 Py_INCREF(obj);
3685 return Py_BuildValue((char *)"");
3686 }
3687 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3688 PyObject *resultobj;
3689 wxWindow *arg1 = (wxWindow *) 0 ;
3690 int arg2 ;
3691 wxString *arg3 = 0 ;
3692 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3693 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3694 wxSize const &arg5_defvalue = wxDefaultSize ;
3695 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3696 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3697 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3698 wxString *arg7 = (wxString *) &arg7_defvalue ;
3699 wxDialog *result;
3700 bool temp3 = False ;
3701 wxPoint temp4 ;
3702 wxSize temp5 ;
3703 bool temp7 = False ;
3704 PyObject * obj0 = 0 ;
3705 PyObject * obj1 = 0 ;
3706 PyObject * obj2 = 0 ;
3707 PyObject * obj3 = 0 ;
3708 PyObject * obj4 = 0 ;
3709 PyObject * obj5 = 0 ;
3710 PyObject * obj6 = 0 ;
3711 char *kwnames[] = {
3712 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3713 };
3714
3715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3717 {
3718 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
3721 {
3722 arg3 = wxString_in_helper(obj2);
3723 if (arg3 == NULL) SWIG_fail;
3724 temp3 = True;
3725 }
3726 if (obj3) {
3727 {
3728 arg4 = &temp4;
3729 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3730 }
3731 }
3732 if (obj4) {
3733 {
3734 arg5 = &temp5;
3735 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3736 }
3737 }
3738 if (obj5) {
3739 {
3740 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3741 if (PyErr_Occurred()) SWIG_fail;
3742 }
3743 }
3744 if (obj6) {
3745 {
3746 arg7 = wxString_in_helper(obj6);
3747 if (arg7 == NULL) SWIG_fail;
3748 temp7 = True;
3749 }
3750 }
3751 {
3752 PyThreadState* __tstate = wxPyBeginAllowThreads();
3753 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3754
3755 wxPyEndAllowThreads(__tstate);
3756 if (PyErr_Occurred()) SWIG_fail;
3757 }
3758 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3759 {
3760 if (temp3)
3761 delete arg3;
3762 }
3763 {
3764 if (temp7)
3765 delete arg7;
3766 }
3767 return resultobj;
3768 fail:
3769 {
3770 if (temp3)
3771 delete arg3;
3772 }
3773 {
3774 if (temp7)
3775 delete arg7;
3776 }
3777 return NULL;
3778 }
3779
3780
3781 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3782 PyObject *resultobj;
3783 wxDialog *result;
3784 char *kwnames[] = {
3785 NULL
3786 };
3787
3788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3789 {
3790 PyThreadState* __tstate = wxPyBeginAllowThreads();
3791 result = (wxDialog *)new wxDialog();
3792
3793 wxPyEndAllowThreads(__tstate);
3794 if (PyErr_Occurred()) SWIG_fail;
3795 }
3796 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3797 return resultobj;
3798 fail:
3799 return NULL;
3800 }
3801
3802
3803 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3804 PyObject *resultobj;
3805 wxDialog *arg1 = (wxDialog *) 0 ;
3806 wxWindow *arg2 = (wxWindow *) 0 ;
3807 int arg3 ;
3808 wxString *arg4 = 0 ;
3809 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3810 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3811 wxSize const &arg6_defvalue = wxDefaultSize ;
3812 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3813 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3814 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3815 wxString *arg8 = (wxString *) &arg8_defvalue ;
3816 bool result;
3817 bool temp4 = False ;
3818 wxPoint temp5 ;
3819 wxSize temp6 ;
3820 bool temp8 = False ;
3821 PyObject * obj0 = 0 ;
3822 PyObject * obj1 = 0 ;
3823 PyObject * obj2 = 0 ;
3824 PyObject * obj3 = 0 ;
3825 PyObject * obj4 = 0 ;
3826 PyObject * obj5 = 0 ;
3827 PyObject * obj6 = 0 ;
3828 PyObject * obj7 = 0 ;
3829 char *kwnames[] = {
3830 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3831 };
3832
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3835 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3836 {
3837 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
3840 {
3841 arg4 = wxString_in_helper(obj3);
3842 if (arg4 == NULL) SWIG_fail;
3843 temp4 = True;
3844 }
3845 if (obj4) {
3846 {
3847 arg5 = &temp5;
3848 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3849 }
3850 }
3851 if (obj5) {
3852 {
3853 arg6 = &temp6;
3854 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3855 }
3856 }
3857 if (obj6) {
3858 {
3859 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 }
3863 if (obj7) {
3864 {
3865 arg8 = wxString_in_helper(obj7);
3866 if (arg8 == NULL) SWIG_fail;
3867 temp8 = True;
3868 }
3869 }
3870 {
3871 PyThreadState* __tstate = wxPyBeginAllowThreads();
3872 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3873
3874 wxPyEndAllowThreads(__tstate);
3875 if (PyErr_Occurred()) SWIG_fail;
3876 }
3877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3878 {
3879 if (temp4)
3880 delete arg4;
3881 }
3882 {
3883 if (temp8)
3884 delete arg8;
3885 }
3886 return resultobj;
3887 fail:
3888 {
3889 if (temp4)
3890 delete arg4;
3891 }
3892 {
3893 if (temp8)
3894 delete arg8;
3895 }
3896 return NULL;
3897 }
3898
3899
3900 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3901 PyObject *resultobj;
3902 wxDialog *arg1 = (wxDialog *) 0 ;
3903 int arg2 ;
3904 PyObject * obj0 = 0 ;
3905 PyObject * obj1 = 0 ;
3906 char *kwnames[] = {
3907 (char *) "self",(char *) "returnCode", NULL
3908 };
3909
3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
3911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3912 {
3913 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3914 if (PyErr_Occurred()) SWIG_fail;
3915 }
3916 {
3917 PyThreadState* __tstate = wxPyBeginAllowThreads();
3918 (arg1)->SetReturnCode(arg2);
3919
3920 wxPyEndAllowThreads(__tstate);
3921 if (PyErr_Occurred()) SWIG_fail;
3922 }
3923 Py_INCREF(Py_None); resultobj = Py_None;
3924 return resultobj;
3925 fail:
3926 return NULL;
3927 }
3928
3929
3930 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3931 PyObject *resultobj;
3932 wxDialog *arg1 = (wxDialog *) 0 ;
3933 int result;
3934 PyObject * obj0 = 0 ;
3935 char *kwnames[] = {
3936 (char *) "self", NULL
3937 };
3938
3939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3944
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 resultobj = SWIG_PyObj_FromInt((int)result);
3949 return resultobj;
3950 fail:
3951 return NULL;
3952 }
3953
3954
3955 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3956 PyObject *resultobj;
3957 wxDialog *arg1 = (wxDialog *) 0 ;
3958 wxString *arg2 = 0 ;
3959 wxSizer *result;
3960 bool temp2 = False ;
3961 PyObject * obj0 = 0 ;
3962 PyObject * obj1 = 0 ;
3963 char *kwnames[] = {
3964 (char *) "self",(char *) "message", NULL
3965 };
3966
3967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3969 {
3970 arg2 = wxString_in_helper(obj1);
3971 if (arg2 == NULL) SWIG_fail;
3972 temp2 = True;
3973 }
3974 {
3975 PyThreadState* __tstate = wxPyBeginAllowThreads();
3976 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3977
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 {
3982 resultobj = wxPyMake_wxSizer(result);
3983 }
3984 {
3985 if (temp2)
3986 delete arg2;
3987 }
3988 return resultobj;
3989 fail:
3990 {
3991 if (temp2)
3992 delete arg2;
3993 }
3994 return NULL;
3995 }
3996
3997
3998 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3999 PyObject *resultobj;
4000 wxDialog *arg1 = (wxDialog *) 0 ;
4001 long arg2 ;
4002 wxSizer *result;
4003 PyObject * obj0 = 0 ;
4004 PyObject * obj1 = 0 ;
4005 char *kwnames[] = {
4006 (char *) "self",(char *) "flags", NULL
4007 };
4008
4009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4011 {
4012 arg2 = (long) SWIG_PyObj_AsLong(obj1);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 {
4023 resultobj = wxPyMake_wxSizer(result);
4024 }
4025 return resultobj;
4026 fail:
4027 return NULL;
4028 }
4029
4030
4031 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4032 PyObject *resultobj;
4033 wxDialog *arg1 = (wxDialog *) 0 ;
4034 bool result;
4035 PyObject * obj0 = 0 ;
4036 char *kwnames[] = {
4037 (char *) "self", NULL
4038 };
4039
4040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4042 {
4043 PyThreadState* __tstate = wxPyBeginAllowThreads();
4044 result = (bool)((wxDialog const *)arg1)->IsModal();
4045
4046 wxPyEndAllowThreads(__tstate);
4047 if (PyErr_Occurred()) SWIG_fail;
4048 }
4049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4050 return resultobj;
4051 fail:
4052 return NULL;
4053 }
4054
4055
4056 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4057 PyObject *resultobj;
4058 wxDialog *arg1 = (wxDialog *) 0 ;
4059 int result;
4060 PyObject * obj0 = 0 ;
4061 char *kwnames[] = {
4062 (char *) "self", NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4067 {
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 result = (int)(arg1)->ShowModal();
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 resultobj = SWIG_PyObj_FromInt((int)result);
4075 return resultobj;
4076 fail:
4077 return NULL;
4078 }
4079
4080
4081 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4082 PyObject *resultobj;
4083 wxDialog *arg1 = (wxDialog *) 0 ;
4084 int arg2 ;
4085 PyObject * obj0 = 0 ;
4086 PyObject * obj1 = 0 ;
4087 char *kwnames[] = {
4088 (char *) "self",(char *) "retCode", NULL
4089 };
4090
4091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4093 {
4094 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 {
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 (arg1)->EndModal(arg2);
4100
4101 wxPyEndAllowThreads(__tstate);
4102 if (PyErr_Occurred()) SWIG_fail;
4103 }
4104 Py_INCREF(Py_None); resultobj = Py_None;
4105 return resultobj;
4106 fail:
4107 return NULL;
4108 }
4109
4110
4111 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject *resultobj;
4113 wxDialog *arg1 = (wxDialog *) 0 ;
4114 bool result;
4115 PyObject * obj0 = 0 ;
4116 char *kwnames[] = {
4117 (char *) "self", NULL
4118 };
4119
4120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 result = (bool)wxDialog_IsModalShowing(arg1);
4125
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4130 return resultobj;
4131 fail:
4132 return NULL;
4133 }
4134
4135
4136 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4137 PyObject *obj;
4138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4139 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4140 Py_INCREF(obj);
4141 return Py_BuildValue((char *)"");
4142 }
4143 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4144 PyObject *resultobj;
4145 wxWindow *arg1 = (wxWindow *) 0 ;
4146 int arg2 ;
4147 wxString *arg3 = 0 ;
4148 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4149 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4150 wxSize const &arg5_defvalue = wxDefaultSize ;
4151 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4152 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4153 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4154 wxString *arg7 = (wxString *) &arg7_defvalue ;
4155 wxMiniFrame *result;
4156 bool temp3 = False ;
4157 wxPoint temp4 ;
4158 wxSize temp5 ;
4159 bool temp7 = False ;
4160 PyObject * obj0 = 0 ;
4161 PyObject * obj1 = 0 ;
4162 PyObject * obj2 = 0 ;
4163 PyObject * obj3 = 0 ;
4164 PyObject * obj4 = 0 ;
4165 PyObject * obj5 = 0 ;
4166 PyObject * obj6 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4173 {
4174 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 {
4178 arg3 = wxString_in_helper(obj2);
4179 if (arg3 == NULL) SWIG_fail;
4180 temp3 = True;
4181 }
4182 if (obj3) {
4183 {
4184 arg4 = &temp4;
4185 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4186 }
4187 }
4188 if (obj4) {
4189 {
4190 arg5 = &temp5;
4191 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4192 }
4193 }
4194 if (obj5) {
4195 {
4196 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 }
4200 if (obj6) {
4201 {
4202 arg7 = wxString_in_helper(obj6);
4203 if (arg7 == NULL) SWIG_fail;
4204 temp7 = True;
4205 }
4206 }
4207 {
4208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4209 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4210
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4215 {
4216 if (temp3)
4217 delete arg3;
4218 }
4219 {
4220 if (temp7)
4221 delete arg7;
4222 }
4223 return resultobj;
4224 fail:
4225 {
4226 if (temp3)
4227 delete arg3;
4228 }
4229 {
4230 if (temp7)
4231 delete arg7;
4232 }
4233 return NULL;
4234 }
4235
4236
4237 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj;
4239 wxMiniFrame *result;
4240 char *kwnames[] = {
4241 NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4245 {
4246 PyThreadState* __tstate = wxPyBeginAllowThreads();
4247 result = (wxMiniFrame *)new wxMiniFrame();
4248
4249 wxPyEndAllowThreads(__tstate);
4250 if (PyErr_Occurred()) SWIG_fail;
4251 }
4252 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4253 return resultobj;
4254 fail:
4255 return NULL;
4256 }
4257
4258
4259 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj;
4261 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4262 wxWindow *arg2 = (wxWindow *) 0 ;
4263 int arg3 ;
4264 wxString *arg4 = 0 ;
4265 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4266 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4267 wxSize const &arg6_defvalue = wxDefaultSize ;
4268 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4269 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4270 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4271 wxString *arg8 = (wxString *) &arg8_defvalue ;
4272 bool result;
4273 bool temp4 = False ;
4274 wxPoint temp5 ;
4275 wxSize temp6 ;
4276 bool temp8 = False ;
4277 PyObject * obj0 = 0 ;
4278 PyObject * obj1 = 0 ;
4279 PyObject * obj2 = 0 ;
4280 PyObject * obj3 = 0 ;
4281 PyObject * obj4 = 0 ;
4282 PyObject * obj5 = 0 ;
4283 PyObject * obj6 = 0 ;
4284 PyObject * obj7 = 0 ;
4285 char *kwnames[] = {
4286 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4287 };
4288
4289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4291 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4292 {
4293 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4296 {
4297 arg4 = wxString_in_helper(obj3);
4298 if (arg4 == NULL) SWIG_fail;
4299 temp4 = True;
4300 }
4301 if (obj4) {
4302 {
4303 arg5 = &temp5;
4304 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4305 }
4306 }
4307 if (obj5) {
4308 {
4309 arg6 = &temp6;
4310 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4311 }
4312 }
4313 if (obj6) {
4314 {
4315 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4316 if (PyErr_Occurred()) SWIG_fail;
4317 }
4318 }
4319 if (obj7) {
4320 {
4321 arg8 = wxString_in_helper(obj7);
4322 if (arg8 == NULL) SWIG_fail;
4323 temp8 = True;
4324 }
4325 }
4326 {
4327 PyThreadState* __tstate = wxPyBeginAllowThreads();
4328 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4329
4330 wxPyEndAllowThreads(__tstate);
4331 if (PyErr_Occurred()) SWIG_fail;
4332 }
4333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4334 {
4335 if (temp4)
4336 delete arg4;
4337 }
4338 {
4339 if (temp8)
4340 delete arg8;
4341 }
4342 return resultobj;
4343 fail:
4344 {
4345 if (temp4)
4346 delete arg4;
4347 }
4348 {
4349 if (temp8)
4350 delete arg8;
4351 }
4352 return NULL;
4353 }
4354
4355
4356 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4357 PyObject *obj;
4358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4359 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4360 Py_INCREF(obj);
4361 return Py_BuildValue((char *)"");
4362 }
4363 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4364 PyObject *resultobj;
4365 wxBitmap *arg1 = 0 ;
4366 wxWindow *arg2 = (wxWindow *) 0 ;
4367 int arg3 ;
4368 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4369 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4370 wxSize const &arg5_defvalue = wxDefaultSize ;
4371 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4372 long arg6 = (long) wxNO_BORDER ;
4373 wxSplashScreenWindow *result;
4374 wxPoint temp4 ;
4375 wxSize temp5 ;
4376 PyObject * obj0 = 0 ;
4377 PyObject * obj1 = 0 ;
4378 PyObject * obj2 = 0 ;
4379 PyObject * obj3 = 0 ;
4380 PyObject * obj4 = 0 ;
4381 PyObject * obj5 = 0 ;
4382 char *kwnames[] = {
4383 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4384 };
4385
4386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4388 if (arg1 == NULL) {
4389 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4390 }
4391 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4392 {
4393 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
4396 if (obj3) {
4397 {
4398 arg4 = &temp4;
4399 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4400 }
4401 }
4402 if (obj4) {
4403 {
4404 arg5 = &temp5;
4405 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4406 }
4407 }
4408 if (obj5) {
4409 {
4410 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 }
4414 {
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4417
4418 wxPyEndAllowThreads(__tstate);
4419 if (PyErr_Occurred()) SWIG_fail;
4420 }
4421 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4422 return resultobj;
4423 fail:
4424 return NULL;
4425 }
4426
4427
4428 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4429 PyObject *resultobj;
4430 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4431 wxBitmap *arg2 = 0 ;
4432 PyObject * obj0 = 0 ;
4433 PyObject * obj1 = 0 ;
4434 char *kwnames[] = {
4435 (char *) "self",(char *) "bitmap", NULL
4436 };
4437
4438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4441 if (arg2 == NULL) {
4442 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4443 }
4444 {
4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
4446 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4447
4448 wxPyEndAllowThreads(__tstate);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 }
4451 Py_INCREF(Py_None); resultobj = Py_None;
4452 return resultobj;
4453 fail:
4454 return NULL;
4455 }
4456
4457
4458 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4459 PyObject *resultobj;
4460 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4461 wxBitmap *result;
4462 PyObject * obj0 = 0 ;
4463 char *kwnames[] = {
4464 (char *) "self", NULL
4465 };
4466
4467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4469 {
4470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4471 {
4472 wxBitmap &_result_ref = (arg1)->GetBitmap();
4473 result = (wxBitmap *) &_result_ref;
4474 }
4475
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4480 return resultobj;
4481 fail:
4482 return NULL;
4483 }
4484
4485
4486 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4487 PyObject *obj;
4488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4489 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4490 Py_INCREF(obj);
4491 return Py_BuildValue((char *)"");
4492 }
4493 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj;
4495 wxBitmap *arg1 = 0 ;
4496 long arg2 ;
4497 int arg3 ;
4498 wxWindow *arg4 = (wxWindow *) 0 ;
4499 int arg5 ;
4500 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4501 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4502 wxSize const &arg7_defvalue = wxDefaultSize ;
4503 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4504 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4505 wxSplashScreen *result;
4506 wxPoint temp6 ;
4507 wxSize temp7 ;
4508 PyObject * obj0 = 0 ;
4509 PyObject * obj1 = 0 ;
4510 PyObject * obj2 = 0 ;
4511 PyObject * obj3 = 0 ;
4512 PyObject * obj4 = 0 ;
4513 PyObject * obj5 = 0 ;
4514 PyObject * obj6 = 0 ;
4515 PyObject * obj7 = 0 ;
4516 char *kwnames[] = {
4517 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4518 };
4519
4520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4522 if (arg1 == NULL) {
4523 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4524 }
4525 {
4526 arg2 = (long) SWIG_PyObj_AsLong(obj1);
4527 if (PyErr_Occurred()) SWIG_fail;
4528 }
4529 {
4530 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4531 if (PyErr_Occurred()) SWIG_fail;
4532 }
4533 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4534 {
4535 arg5 = (int) SWIG_PyObj_AsInt(obj4);
4536 if (PyErr_Occurred()) SWIG_fail;
4537 }
4538 if (obj5) {
4539 {
4540 arg6 = &temp6;
4541 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4542 }
4543 }
4544 if (obj6) {
4545 {
4546 arg7 = &temp7;
4547 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4548 }
4549 }
4550 if (obj7) {
4551 {
4552 arg8 = (long) SWIG_PyObj_AsLong(obj7);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 }
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4559
4560 wxPyEndAllowThreads(__tstate);
4561 if (PyErr_Occurred()) SWIG_fail;
4562 }
4563 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4564 return resultobj;
4565 fail:
4566 return NULL;
4567 }
4568
4569
4570 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4571 PyObject *resultobj;
4572 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4573 long result;
4574 PyObject * obj0 = 0 ;
4575 char *kwnames[] = {
4576 (char *) "self", NULL
4577 };
4578
4579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 resultobj = SWIG_PyObj_FromLong((long)result);
4589 return resultobj;
4590 fail:
4591 return NULL;
4592 }
4593
4594
4595 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4596 PyObject *resultobj;
4597 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4598 wxSplashScreenWindow *result;
4599 PyObject * obj0 = 0 ;
4600 char *kwnames[] = {
4601 (char *) "self", NULL
4602 };
4603
4604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4609
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4614 return resultobj;
4615 fail:
4616 return NULL;
4617 }
4618
4619
4620 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4621 PyObject *resultobj;
4622 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4623 int result;
4624 PyObject * obj0 = 0 ;
4625 char *kwnames[] = {
4626 (char *) "self", NULL
4627 };
4628
4629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4631 {
4632 PyThreadState* __tstate = wxPyBeginAllowThreads();
4633 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4634
4635 wxPyEndAllowThreads(__tstate);
4636 if (PyErr_Occurred()) SWIG_fail;
4637 }
4638 resultobj = SWIG_PyObj_FromInt((int)result);
4639 return resultobj;
4640 fail:
4641 return NULL;
4642 }
4643
4644
4645 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4646 PyObject *obj;
4647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4648 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4649 Py_INCREF(obj);
4650 return Py_BuildValue((char *)"");
4651 }
4652 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4653 PyObject *resultobj;
4654 wxWindow *arg1 = (wxWindow *) 0 ;
4655 int arg2 = (int) -1 ;
4656 long arg3 = (long) wxST_SIZEGRIP ;
4657 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4658 wxString *arg4 = (wxString *) &arg4_defvalue ;
4659 wxStatusBar *result;
4660 bool temp4 = False ;
4661 PyObject * obj0 = 0 ;
4662 PyObject * obj1 = 0 ;
4663 PyObject * obj2 = 0 ;
4664 PyObject * obj3 = 0 ;
4665 char *kwnames[] = {
4666 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4667 };
4668
4669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4671 if (obj1) {
4672 {
4673 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 }
4677 if (obj2) {
4678 {
4679 arg3 = (long) SWIG_PyObj_AsLong(obj2);
4680 if (PyErr_Occurred()) SWIG_fail;
4681 }
4682 }
4683 if (obj3) {
4684 {
4685 arg4 = wxString_in_helper(obj3);
4686 if (arg4 == NULL) SWIG_fail;
4687 temp4 = True;
4688 }
4689 }
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 {
4698 resultobj = wxPyMake_wxObject(result);
4699 }
4700 {
4701 if (temp4)
4702 delete arg4;
4703 }
4704 return resultobj;
4705 fail:
4706 {
4707 if (temp4)
4708 delete arg4;
4709 }
4710 return NULL;
4711 }
4712
4713
4714 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4715 PyObject *resultobj;
4716 wxStatusBar *result;
4717 char *kwnames[] = {
4718 NULL
4719 };
4720
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 result = (wxStatusBar *)new wxStatusBar();
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 {
4730 resultobj = wxPyMake_wxObject(result);
4731 }
4732 return resultobj;
4733 fail:
4734 return NULL;
4735 }
4736
4737
4738 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4739 PyObject *resultobj;
4740 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4741 wxWindow *arg2 = (wxWindow *) 0 ;
4742 int arg3 ;
4743 long arg4 = (long) wxST_SIZEGRIP ;
4744 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4745 wxString *arg5 = (wxString *) &arg5_defvalue ;
4746 bool result;
4747 bool temp5 = False ;
4748 PyObject * obj0 = 0 ;
4749 PyObject * obj1 = 0 ;
4750 PyObject * obj2 = 0 ;
4751 PyObject * obj3 = 0 ;
4752 PyObject * obj4 = 0 ;
4753 char *kwnames[] = {
4754 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4755 };
4756
4757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4759 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4760 {
4761 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 if (obj3) {
4765 {
4766 arg4 = (long) SWIG_PyObj_AsLong(obj3);
4767 if (PyErr_Occurred()) SWIG_fail;
4768 }
4769 }
4770 if (obj4) {
4771 {
4772 arg5 = wxString_in_helper(obj4);
4773 if (arg5 == NULL) SWIG_fail;
4774 temp5 = True;
4775 }
4776 }
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4780
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4785 {
4786 if (temp5)
4787 delete arg5;
4788 }
4789 return resultobj;
4790 fail:
4791 {
4792 if (temp5)
4793 delete arg5;
4794 }
4795 return NULL;
4796 }
4797
4798
4799 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4802 int arg2 = (int) 1 ;
4803 PyObject * obj0 = 0 ;
4804 PyObject * obj1 = 0 ;
4805 char *kwnames[] = {
4806 (char *) "self",(char *) "number", NULL
4807 };
4808
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4811 if (obj1) {
4812 {
4813 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 }
4817 {
4818 PyThreadState* __tstate = wxPyBeginAllowThreads();
4819 (arg1)->SetFieldsCount(arg2);
4820
4821 wxPyEndAllowThreads(__tstate);
4822 if (PyErr_Occurred()) SWIG_fail;
4823 }
4824 Py_INCREF(Py_None); resultobj = Py_None;
4825 return resultobj;
4826 fail:
4827 return NULL;
4828 }
4829
4830
4831 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4832 PyObject *resultobj;
4833 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4834 int result;
4835 PyObject * obj0 = 0 ;
4836 char *kwnames[] = {
4837 (char *) "self", NULL
4838 };
4839
4840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4842 {
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4845
4846 wxPyEndAllowThreads(__tstate);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 }
4849 resultobj = SWIG_PyObj_FromInt((int)result);
4850 return resultobj;
4851 fail:
4852 return NULL;
4853 }
4854
4855
4856 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4857 PyObject *resultobj;
4858 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4859 wxString *arg2 = 0 ;
4860 int arg3 = (int) 0 ;
4861 bool temp2 = False ;
4862 PyObject * obj0 = 0 ;
4863 PyObject * obj1 = 0 ;
4864 PyObject * obj2 = 0 ;
4865 char *kwnames[] = {
4866 (char *) "self",(char *) "text",(char *) "number", NULL
4867 };
4868
4869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4871 {
4872 arg2 = wxString_in_helper(obj1);
4873 if (arg2 == NULL) SWIG_fail;
4874 temp2 = True;
4875 }
4876 if (obj2) {
4877 {
4878 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 }
4881 }
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4885
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
4889 Py_INCREF(Py_None); resultobj = Py_None;
4890 {
4891 if (temp2)
4892 delete arg2;
4893 }
4894 return resultobj;
4895 fail:
4896 {
4897 if (temp2)
4898 delete arg2;
4899 }
4900 return NULL;
4901 }
4902
4903
4904 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4905 PyObject *resultobj;
4906 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4907 int arg2 = (int) 0 ;
4908 wxString result;
4909 PyObject * obj0 = 0 ;
4910 PyObject * obj1 = 0 ;
4911 char *kwnames[] = {
4912 (char *) "self",(char *) "number", NULL
4913 };
4914
4915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
4916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4917 if (obj1) {
4918 {
4919 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 }
4923 {
4924 PyThreadState* __tstate = wxPyBeginAllowThreads();
4925 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4926
4927 wxPyEndAllowThreads(__tstate);
4928 if (PyErr_Occurred()) SWIG_fail;
4929 }
4930 {
4931 #if wxUSE_UNICODE
4932 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4933 #else
4934 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4935 #endif
4936 }
4937 return resultobj;
4938 fail:
4939 return NULL;
4940 }
4941
4942
4943 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4944 PyObject *resultobj;
4945 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4946 wxString *arg2 = 0 ;
4947 int arg3 = (int) 0 ;
4948 bool temp2 = False ;
4949 PyObject * obj0 = 0 ;
4950 PyObject * obj1 = 0 ;
4951 PyObject * obj2 = 0 ;
4952 char *kwnames[] = {
4953 (char *) "self",(char *) "text",(char *) "number", NULL
4954 };
4955
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4958 {
4959 arg2 = wxString_in_helper(obj1);
4960 if (arg2 == NULL) SWIG_fail;
4961 temp2 = True;
4962 }
4963 if (obj2) {
4964 {
4965 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 }
4969 {
4970 PyThreadState* __tstate = wxPyBeginAllowThreads();
4971 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4972
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 Py_INCREF(Py_None); resultobj = Py_None;
4977 {
4978 if (temp2)
4979 delete arg2;
4980 }
4981 return resultobj;
4982 fail:
4983 {
4984 if (temp2)
4985 delete arg2;
4986 }
4987 return NULL;
4988 }
4989
4990
4991 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject *resultobj;
4993 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4994 int arg2 = (int) 0 ;
4995 PyObject * obj0 = 0 ;
4996 PyObject * obj1 = 0 ;
4997 char *kwnames[] = {
4998 (char *) "self",(char *) "number", NULL
4999 };
5000
5001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5003 if (obj1) {
5004 {
5005 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 }
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 (arg1)->PopStatusText(arg2);
5012
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
5016 Py_INCREF(Py_None); resultobj = Py_None;
5017 return resultobj;
5018 fail:
5019 return NULL;
5020 }
5021
5022
5023 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5024 PyObject *resultobj;
5025 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5026 int arg2 ;
5027 int *arg3 = (int *) 0 ;
5028 PyObject * obj0 = 0 ;
5029 PyObject * obj1 = 0 ;
5030 char *kwnames[] = {
5031 (char *) "self",(char *) "widths", NULL
5032 };
5033
5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5036 {
5037 arg2 = PyList_Size(obj1);
5038 arg3 = int_LIST_helper(obj1);
5039 if (arg3 == NULL) SWIG_fail;
5040 }
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 Py_INCREF(Py_None); resultobj = Py_None;
5049 {
5050 if (arg3) delete [] arg3;
5051 }
5052 return resultobj;
5053 fail:
5054 {
5055 if (arg3) delete [] arg3;
5056 }
5057 return NULL;
5058 }
5059
5060
5061 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5064 int arg2 ;
5065 wxRect result;
5066 PyObject * obj0 = 0 ;
5067 PyObject * obj1 = 0 ;
5068 char *kwnames[] = {
5069 (char *) "self",(char *) "i", NULL
5070 };
5071
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5074 {
5075 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 result = wxStatusBar_GetFieldRect(arg1,arg2);
5081
5082 wxPyEndAllowThreads(__tstate);
5083 if (PyErr_Occurred()) SWIG_fail;
5084 }
5085 {
5086 wxRect * resultptr;
5087 resultptr = new wxRect((wxRect &) result);
5088 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
5089 }
5090 return resultobj;
5091 fail:
5092 return NULL;
5093 }
5094
5095
5096 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5097 PyObject *resultobj;
5098 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5099 int arg2 ;
5100 PyObject * obj0 = 0 ;
5101 PyObject * obj1 = 0 ;
5102 char *kwnames[] = {
5103 (char *) "self",(char *) "height", NULL
5104 };
5105
5106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5108 {
5109 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 (arg1)->SetMinHeight(arg2);
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 Py_INCREF(Py_None); resultobj = Py_None;
5120 return resultobj;
5121 fail:
5122 return NULL;
5123 }
5124
5125
5126 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj;
5128 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5129 int result;
5130 PyObject * obj0 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "self", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5137 {
5138 PyThreadState* __tstate = wxPyBeginAllowThreads();
5139 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5140
5141 wxPyEndAllowThreads(__tstate);
5142 if (PyErr_Occurred()) SWIG_fail;
5143 }
5144 resultobj = SWIG_PyObj_FromInt((int)result);
5145 return resultobj;
5146 fail:
5147 return NULL;
5148 }
5149
5150
5151 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5152 PyObject *resultobj;
5153 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5154 int result;
5155 PyObject * obj0 = 0 ;
5156 char *kwnames[] = {
5157 (char *) "self", NULL
5158 };
5159
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 resultobj = SWIG_PyObj_FromInt((int)result);
5170 return resultobj;
5171 fail:
5172 return NULL;
5173 }
5174
5175
5176 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5177 PyObject *obj;
5178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5179 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5180 Py_INCREF(obj);
5181 return Py_BuildValue((char *)"");
5182 }
5183 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5184 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5185 return 1;
5186 }
5187
5188
5189 static PyObject *_wrap_SplitterNameStr_get() {
5190 PyObject *pyobj;
5191
5192 {
5193 #if wxUSE_UNICODE
5194 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5195 #else
5196 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5197 #endif
5198 }
5199 return pyobj;
5200 }
5201
5202
5203 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj;
5205 wxWindow *arg1 = (wxWindow *) 0 ;
5206 int arg2 ;
5207 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5208 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5209 wxSize const &arg4_defvalue = wxDefaultSize ;
5210 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5211 long arg5 = (long) wxSP_3D ;
5212 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5213 wxString *arg6 = (wxString *) &arg6_defvalue ;
5214 wxSplitterWindow *result;
5215 wxPoint temp3 ;
5216 wxSize temp4 ;
5217 bool temp6 = False ;
5218 PyObject * obj0 = 0 ;
5219 PyObject * obj1 = 0 ;
5220 PyObject * obj2 = 0 ;
5221 PyObject * obj3 = 0 ;
5222 PyObject * obj4 = 0 ;
5223 PyObject * obj5 = 0 ;
5224 char *kwnames[] = {
5225 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5226 };
5227
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5230 {
5231 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5232 if (PyErr_Occurred()) SWIG_fail;
5233 }
5234 if (obj2) {
5235 {
5236 arg3 = &temp3;
5237 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5238 }
5239 }
5240 if (obj3) {
5241 {
5242 arg4 = &temp4;
5243 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5244 }
5245 }
5246 if (obj4) {
5247 {
5248 arg5 = (long) SWIG_PyObj_AsLong(obj4);
5249 if (PyErr_Occurred()) SWIG_fail;
5250 }
5251 }
5252 if (obj5) {
5253 {
5254 arg6 = wxString_in_helper(obj5);
5255 if (arg6 == NULL) SWIG_fail;
5256 temp6 = True;
5257 }
5258 }
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5267 {
5268 if (temp6)
5269 delete arg6;
5270 }
5271 return resultobj;
5272 fail:
5273 {
5274 if (temp6)
5275 delete arg6;
5276 }
5277 return NULL;
5278 }
5279
5280
5281 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxSplitterWindow *result;
5284 char *kwnames[] = {
5285 NULL
5286 };
5287
5288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5289 {
5290 PyThreadState* __tstate = wxPyBeginAllowThreads();
5291 result = (wxSplitterWindow *)new wxSplitterWindow();
5292
5293 wxPyEndAllowThreads(__tstate);
5294 if (PyErr_Occurred()) SWIG_fail;
5295 }
5296 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5297 return resultobj;
5298 fail:
5299 return NULL;
5300 }
5301
5302
5303 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5304 PyObject *resultobj;
5305 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5306 wxWindow *arg2 = (wxWindow *) 0 ;
5307 int arg3 ;
5308 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5309 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5310 wxSize const &arg5_defvalue = wxDefaultSize ;
5311 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5312 long arg6 = (long) wxSP_3D ;
5313 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5314 wxString *arg7 = (wxString *) &arg7_defvalue ;
5315 bool result;
5316 wxPoint temp4 ;
5317 wxSize temp5 ;
5318 bool temp7 = False ;
5319 PyObject * obj0 = 0 ;
5320 PyObject * obj1 = 0 ;
5321 PyObject * obj2 = 0 ;
5322 PyObject * obj3 = 0 ;
5323 PyObject * obj4 = 0 ;
5324 PyObject * obj5 = 0 ;
5325 PyObject * obj6 = 0 ;
5326 char *kwnames[] = {
5327 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5328 };
5329
5330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5333 {
5334 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 if (obj3) {
5338 {
5339 arg4 = &temp4;
5340 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5341 }
5342 }
5343 if (obj4) {
5344 {
5345 arg5 = &temp5;
5346 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5347 }
5348 }
5349 if (obj5) {
5350 {
5351 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5352 if (PyErr_Occurred()) SWIG_fail;
5353 }
5354 }
5355 if (obj6) {
5356 {
5357 arg7 = wxString_in_helper(obj6);
5358 if (arg7 == NULL) SWIG_fail;
5359 temp7 = True;
5360 }
5361 }
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5370 {
5371 if (temp7)
5372 delete arg7;
5373 }
5374 return resultobj;
5375 fail:
5376 {
5377 if (temp7)
5378 delete arg7;
5379 }
5380 return NULL;
5381 }
5382
5383
5384 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5385 PyObject *resultobj;
5386 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5387 wxWindow *result;
5388 PyObject * obj0 = 0 ;
5389 char *kwnames[] = {
5390 (char *) "self", NULL
5391 };
5392
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5395 {
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5398
5399 wxPyEndAllowThreads(__tstate);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 {
5403 resultobj = wxPyMake_wxObject(result);
5404 }
5405 return resultobj;
5406 fail:
5407 return NULL;
5408 }
5409
5410
5411 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5412 PyObject *resultobj;
5413 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5414 wxWindow *result;
5415 PyObject * obj0 = 0 ;
5416 char *kwnames[] = {
5417 (char *) "self", NULL
5418 };
5419
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5422 {
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5425
5426 wxPyEndAllowThreads(__tstate);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 {
5430 resultobj = wxPyMake_wxObject(result);
5431 }
5432 return resultobj;
5433 fail:
5434 return NULL;
5435 }
5436
5437
5438 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5439 PyObject *resultobj;
5440 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5441 int arg2 ;
5442 PyObject * obj0 = 0 ;
5443 PyObject * obj1 = 0 ;
5444 char *kwnames[] = {
5445 (char *) "self",(char *) "mode", NULL
5446 };
5447
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5450 {
5451 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 (arg1)->SetSplitMode(arg2);
5457
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 Py_INCREF(Py_None); resultobj = Py_None;
5462 return resultobj;
5463 fail:
5464 return NULL;
5465 }
5466
5467
5468 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5469 PyObject *resultobj;
5470 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5471 int result;
5472 PyObject * obj0 = 0 ;
5473 char *kwnames[] = {
5474 (char *) "self", NULL
5475 };
5476
5477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 resultobj = SWIG_PyObj_FromInt((int)result);
5487 return resultobj;
5488 fail:
5489 return NULL;
5490 }
5491
5492
5493 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5494 PyObject *resultobj;
5495 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5496 wxWindow *arg2 = (wxWindow *) 0 ;
5497 PyObject * obj0 = 0 ;
5498 PyObject * obj1 = 0 ;
5499 char *kwnames[] = {
5500 (char *) "self",(char *) "window", NULL
5501 };
5502
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5506 {
5507 PyThreadState* __tstate = wxPyBeginAllowThreads();
5508 (arg1)->Initialize(arg2);
5509
5510 wxPyEndAllowThreads(__tstate);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 }
5513 Py_INCREF(Py_None); resultobj = Py_None;
5514 return resultobj;
5515 fail:
5516 return NULL;
5517 }
5518
5519
5520 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5521 PyObject *resultobj;
5522 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5523 wxWindow *arg2 = (wxWindow *) 0 ;
5524 wxWindow *arg3 = (wxWindow *) 0 ;
5525 int arg4 = (int) 0 ;
5526 bool result;
5527 PyObject * obj0 = 0 ;
5528 PyObject * obj1 = 0 ;
5529 PyObject * obj2 = 0 ;
5530 PyObject * obj3 = 0 ;
5531 char *kwnames[] = {
5532 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5533 };
5534
5535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5538 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5539 if (obj3) {
5540 {
5541 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
5544 }
5545 {
5546 PyThreadState* __tstate = wxPyBeginAllowThreads();
5547 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5548
5549 wxPyEndAllowThreads(__tstate);
5550 if (PyErr_Occurred()) SWIG_fail;
5551 }
5552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5553 return resultobj;
5554 fail:
5555 return NULL;
5556 }
5557
5558
5559 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5560 PyObject *resultobj;
5561 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5562 wxWindow *arg2 = (wxWindow *) 0 ;
5563 wxWindow *arg3 = (wxWindow *) 0 ;
5564 int arg4 = (int) 0 ;
5565 bool result;
5566 PyObject * obj0 = 0 ;
5567 PyObject * obj1 = 0 ;
5568 PyObject * obj2 = 0 ;
5569 PyObject * obj3 = 0 ;
5570 char *kwnames[] = {
5571 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5572 };
5573
5574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5576 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5577 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5578 if (obj3) {
5579 {
5580 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5581 if (PyErr_Occurred()) SWIG_fail;
5582 }
5583 }
5584 {
5585 PyThreadState* __tstate = wxPyBeginAllowThreads();
5586 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5587
5588 wxPyEndAllowThreads(__tstate);
5589 if (PyErr_Occurred()) SWIG_fail;
5590 }
5591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5592 return resultobj;
5593 fail:
5594 return NULL;
5595 }
5596
5597
5598 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5599 PyObject *resultobj;
5600 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5601 wxWindow *arg2 = (wxWindow *) NULL ;
5602 bool result;
5603 PyObject * obj0 = 0 ;
5604 PyObject * obj1 = 0 ;
5605 char *kwnames[] = {
5606 (char *) "self",(char *) "toRemove", NULL
5607 };
5608
5609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5611 if (obj1) {
5612 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5613 }
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 result = (bool)(arg1)->Unsplit(arg2);
5617
5618 wxPyEndAllowThreads(__tstate);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5622 return resultobj;
5623 fail:
5624 return NULL;
5625 }
5626
5627
5628 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5629 PyObject *resultobj;
5630 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5631 wxWindow *arg2 = (wxWindow *) 0 ;
5632 wxWindow *arg3 = (wxWindow *) 0 ;
5633 bool result;
5634 PyObject * obj0 = 0 ;
5635 PyObject * obj1 = 0 ;
5636 PyObject * obj2 = 0 ;
5637 char *kwnames[] = {
5638 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5639 };
5640
5641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5643 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5644 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5653 return resultobj;
5654 fail:
5655 return NULL;
5656 }
5657
5658
5659 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj;
5661 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5662 bool result;
5663 PyObject * obj0 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5678 return resultobj;
5679 fail:
5680 return NULL;
5681 }
5682
5683
5684 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5687 int arg2 ;
5688 PyObject * obj0 = 0 ;
5689 PyObject * obj1 = 0 ;
5690 char *kwnames[] = {
5691 (char *) "self",(char *) "width", NULL
5692 };
5693
5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5696 {
5697 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5698 if (PyErr_Occurred()) SWIG_fail;
5699 }
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 (arg1)->SetSashSize(arg2);
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 Py_INCREF(Py_None); resultobj = Py_None;
5708 return resultobj;
5709 fail:
5710 return NULL;
5711 }
5712
5713
5714 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5715 PyObject *resultobj;
5716 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5717 int arg2 ;
5718 PyObject * obj0 = 0 ;
5719 PyObject * obj1 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "self",(char *) "width", NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5726 {
5727 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 {
5731 PyThreadState* __tstate = wxPyBeginAllowThreads();
5732 (arg1)->SetBorderSize(arg2);
5733
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 Py_INCREF(Py_None); resultobj = Py_None;
5738 return resultobj;
5739 fail:
5740 return NULL;
5741 }
5742
5743
5744 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5745 PyObject *resultobj;
5746 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5747 int result;
5748 PyObject * obj0 = 0 ;
5749 char *kwnames[] = {
5750 (char *) "self", NULL
5751 };
5752
5753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5755 {
5756 PyThreadState* __tstate = wxPyBeginAllowThreads();
5757 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5758
5759 wxPyEndAllowThreads(__tstate);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 }
5762 resultobj = SWIG_PyObj_FromInt((int)result);
5763 return resultobj;
5764 fail:
5765 return NULL;
5766 }
5767
5768
5769 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5770 PyObject *resultobj;
5771 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5772 int result;
5773 PyObject * obj0 = 0 ;
5774 char *kwnames[] = {
5775 (char *) "self", NULL
5776 };
5777
5778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5780 {
5781 PyThreadState* __tstate = wxPyBeginAllowThreads();
5782 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5783
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 resultobj = SWIG_PyObj_FromInt((int)result);
5788 return resultobj;
5789 fail:
5790 return NULL;
5791 }
5792
5793
5794 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5795 PyObject *resultobj;
5796 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5797 int arg2 ;
5798 bool arg3 = (bool) True ;
5799 PyObject * obj0 = 0 ;
5800 PyObject * obj1 = 0 ;
5801 PyObject * obj2 = 0 ;
5802 char *kwnames[] = {
5803 (char *) "self",(char *) "position",(char *) "redraw", NULL
5804 };
5805
5806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
5807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5808 {
5809 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 }
5812 if (obj2) {
5813 {
5814 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
5817 }
5818 {
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 (arg1)->SetSashPosition(arg2,arg3);
5821
5822 wxPyEndAllowThreads(__tstate);
5823 if (PyErr_Occurred()) SWIG_fail;
5824 }
5825 Py_INCREF(Py_None); resultobj = Py_None;
5826 return resultobj;
5827 fail:
5828 return NULL;
5829 }
5830
5831
5832 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5833 PyObject *resultobj;
5834 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5835 int result;
5836 PyObject * obj0 = 0 ;
5837 char *kwnames[] = {
5838 (char *) "self", NULL
5839 };
5840
5841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5843 {
5844 PyThreadState* __tstate = wxPyBeginAllowThreads();
5845 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5846
5847 wxPyEndAllowThreads(__tstate);
5848 if (PyErr_Occurred()) SWIG_fail;
5849 }
5850 resultobj = SWIG_PyObj_FromInt((int)result);
5851 return resultobj;
5852 fail:
5853 return NULL;
5854 }
5855
5856
5857 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5858 PyObject *resultobj;
5859 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5860 int arg2 ;
5861 PyObject * obj0 = 0 ;
5862 PyObject * obj1 = 0 ;
5863 char *kwnames[] = {
5864 (char *) "self",(char *) "min", NULL
5865 };
5866
5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
5868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5869 {
5870 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 (arg1)->SetMinimumPaneSize(arg2);
5876
5877 wxPyEndAllowThreads(__tstate);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 }
5880 Py_INCREF(Py_None); resultobj = Py_None;
5881 return resultobj;
5882 fail:
5883 return NULL;
5884 }
5885
5886
5887 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj;
5889 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5890 int result;
5891 PyObject * obj0 = 0 ;
5892 char *kwnames[] = {
5893 (char *) "self", NULL
5894 };
5895
5896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5901
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 resultobj = SWIG_PyObj_FromInt((int)result);
5906 return resultobj;
5907 fail:
5908 return NULL;
5909 }
5910
5911
5912 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj;
5914 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5915 int arg2 ;
5916 int arg3 ;
5917 int arg4 = (int) 5 ;
5918 bool result;
5919 PyObject * obj0 = 0 ;
5920 PyObject * obj1 = 0 ;
5921 PyObject * obj2 = 0 ;
5922 PyObject * obj3 = 0 ;
5923 char *kwnames[] = {
5924 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5929 {
5930 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 {
5934 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
5937 if (obj3) {
5938 {
5939 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 }
5942 }
5943 {
5944 PyThreadState* __tstate = wxPyBeginAllowThreads();
5945 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5946
5947 wxPyEndAllowThreads(__tstate);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
5950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5951 return resultobj;
5952 fail:
5953 return NULL;
5954 }
5955
5956
5957 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5958 PyObject *resultobj;
5959 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5960 PyObject * obj0 = 0 ;
5961 char *kwnames[] = {
5962 (char *) "self", NULL
5963 };
5964
5965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 (arg1)->SizeWindows();
5970
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 Py_INCREF(Py_None); resultobj = Py_None;
5975 return resultobj;
5976 fail:
5977 return NULL;
5978 }
5979
5980
5981 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5982 PyObject *resultobj;
5983 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5984 bool arg2 ;
5985 PyObject * obj0 = 0 ;
5986 PyObject * obj1 = 0 ;
5987 char *kwnames[] = {
5988 (char *) "self",(char *) "needUpdating", NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5993 {
5994 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
5995 if (PyErr_Occurred()) SWIG_fail;
5996 }
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 (arg1)->SetNeedUpdating(arg2);
6000
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 Py_INCREF(Py_None); resultobj = Py_None;
6005 return resultobj;
6006 fail:
6007 return NULL;
6008 }
6009
6010
6011 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6012 PyObject *resultobj;
6013 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6014 bool result;
6015 PyObject * obj0 = 0 ;
6016 char *kwnames[] = {
6017 (char *) "self", NULL
6018 };
6019
6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6030 return resultobj;
6031 fail:
6032 return NULL;
6033 }
6034
6035
6036 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6037 PyObject *obj;
6038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6039 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6040 Py_INCREF(obj);
6041 return Py_BuildValue((char *)"");
6042 }
6043 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6046 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6047 wxSplitterEvent *result;
6048 PyObject * obj0 = 0 ;
6049 PyObject * obj1 = 0 ;
6050 char *kwnames[] = {
6051 (char *) "type",(char *) "splitter", NULL
6052 };
6053
6054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6055 if (obj0) {
6056 {
6057 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 }
6061 if (obj1) {
6062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6063 }
6064 {
6065 PyThreadState* __tstate = wxPyBeginAllowThreads();
6066 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6067
6068 wxPyEndAllowThreads(__tstate);
6069 if (PyErr_Occurred()) SWIG_fail;
6070 }
6071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
6072 return resultobj;
6073 fail:
6074 return NULL;
6075 }
6076
6077
6078 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6079 PyObject *resultobj;
6080 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6081 int arg2 ;
6082 PyObject * obj0 = 0 ;
6083 PyObject * obj1 = 0 ;
6084 char *kwnames[] = {
6085 (char *) "self",(char *) "pos", NULL
6086 };
6087
6088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6090 {
6091 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6092 if (PyErr_Occurred()) SWIG_fail;
6093 }
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 (arg1)->SetSashPosition(arg2);
6097
6098 wxPyEndAllowThreads(__tstate);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 }
6101 Py_INCREF(Py_None); resultobj = Py_None;
6102 return resultobj;
6103 fail:
6104 return NULL;
6105 }
6106
6107
6108 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6109 PyObject *resultobj;
6110 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6111 int result;
6112 PyObject * obj0 = 0 ;
6113 char *kwnames[] = {
6114 (char *) "self", NULL
6115 };
6116
6117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6122
6123 wxPyEndAllowThreads(__tstate);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 }
6126 resultobj = SWIG_PyObj_FromInt((int)result);
6127 return resultobj;
6128 fail:
6129 return NULL;
6130 }
6131
6132
6133 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6134 PyObject *resultobj;
6135 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6136 wxWindow *result;
6137 PyObject * obj0 = 0 ;
6138 char *kwnames[] = {
6139 (char *) "self", NULL
6140 };
6141
6142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
6151 {
6152 resultobj = wxPyMake_wxObject(result);
6153 }
6154 return resultobj;
6155 fail:
6156 return NULL;
6157 }
6158
6159
6160 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6161 PyObject *resultobj;
6162 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6163 int result;
6164 PyObject * obj0 = 0 ;
6165 char *kwnames[] = {
6166 (char *) "self", NULL
6167 };
6168
6169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6171 {
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6174
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 resultobj = SWIG_PyObj_FromInt((int)result);
6179 return resultobj;
6180 fail:
6181 return NULL;
6182 }
6183
6184
6185 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6186 PyObject *resultobj;
6187 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6188 int result;
6189 PyObject * obj0 = 0 ;
6190 char *kwnames[] = {
6191 (char *) "self", NULL
6192 };
6193
6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 resultobj = SWIG_PyObj_FromInt((int)result);
6204 return resultobj;
6205 fail:
6206 return NULL;
6207 }
6208
6209
6210 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6211 PyObject *obj;
6212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6213 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6214 Py_INCREF(obj);
6215 return Py_BuildValue((char *)"");
6216 }
6217 static int _wrap_SashNameStr_set(PyObject *_val) {
6218 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6219 return 1;
6220 }
6221
6222
6223 static PyObject *_wrap_SashNameStr_get() {
6224 PyObject *pyobj;
6225
6226 {
6227 #if wxUSE_UNICODE
6228 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6229 #else
6230 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6231 #endif
6232 }
6233 return pyobj;
6234 }
6235
6236
6237 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6238 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6239 return 1;
6240 }
6241
6242
6243 static PyObject *_wrap_SashLayoutNameStr_get() {
6244 PyObject *pyobj;
6245
6246 {
6247 #if wxUSE_UNICODE
6248 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6249 #else
6250 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6251 #endif
6252 }
6253 return pyobj;
6254 }
6255
6256
6257 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6258 PyObject *resultobj;
6259 wxWindow *arg1 = (wxWindow *) 0 ;
6260 int arg2 ;
6261 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6262 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6263 wxSize const &arg4_defvalue = wxDefaultSize ;
6264 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6265 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6266 wxString const &arg6_defvalue = wxPySashNameStr ;
6267 wxString *arg6 = (wxString *) &arg6_defvalue ;
6268 wxSashWindow *result;
6269 wxPoint temp3 ;
6270 wxSize temp4 ;
6271 bool temp6 = False ;
6272 PyObject * obj0 = 0 ;
6273 PyObject * obj1 = 0 ;
6274 PyObject * obj2 = 0 ;
6275 PyObject * obj3 = 0 ;
6276 PyObject * obj4 = 0 ;
6277 PyObject * obj5 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6284 {
6285 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 if (obj2) {
6289 {
6290 arg3 = &temp3;
6291 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6292 }
6293 }
6294 if (obj3) {
6295 {
6296 arg4 = &temp4;
6297 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6298 }
6299 }
6300 if (obj4) {
6301 {
6302 arg5 = (long) SWIG_PyObj_AsLong(obj4);
6303 if (PyErr_Occurred()) SWIG_fail;
6304 }
6305 }
6306 if (obj5) {
6307 {
6308 arg6 = wxString_in_helper(obj5);
6309 if (arg6 == NULL) SWIG_fail;
6310 temp6 = True;
6311 }
6312 }
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
6320 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6321 {
6322 if (temp6)
6323 delete arg6;
6324 }
6325 return resultobj;
6326 fail:
6327 {
6328 if (temp6)
6329 delete arg6;
6330 }
6331 return NULL;
6332 }
6333
6334
6335 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6336 PyObject *resultobj;
6337 wxSashWindow *result;
6338 char *kwnames[] = {
6339 NULL
6340 };
6341
6342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6343 {
6344 PyThreadState* __tstate = wxPyBeginAllowThreads();
6345 result = (wxSashWindow *)new wxSashWindow();
6346
6347 wxPyEndAllowThreads(__tstate);
6348 if (PyErr_Occurred()) SWIG_fail;
6349 }
6350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6351 return resultobj;
6352 fail:
6353 return NULL;
6354 }
6355
6356
6357 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6358 PyObject *resultobj;
6359 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6360 wxWindow *arg2 = (wxWindow *) 0 ;
6361 int arg3 ;
6362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6364 wxSize const &arg5_defvalue = wxDefaultSize ;
6365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6366 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6367 wxString const &arg7_defvalue = wxPySashNameStr ;
6368 wxString *arg7 = (wxString *) &arg7_defvalue ;
6369 bool result;
6370 wxPoint temp4 ;
6371 wxSize temp5 ;
6372 bool temp7 = False ;
6373 PyObject * obj0 = 0 ;
6374 PyObject * obj1 = 0 ;
6375 PyObject * obj2 = 0 ;
6376 PyObject * obj3 = 0 ;
6377 PyObject * obj4 = 0 ;
6378 PyObject * obj5 = 0 ;
6379 PyObject * obj6 = 0 ;
6380 char *kwnames[] = {
6381 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6382 };
6383
6384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6387 {
6388 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 if (obj3) {
6392 {
6393 arg4 = &temp4;
6394 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6395 }
6396 }
6397 if (obj4) {
6398 {
6399 arg5 = &temp5;
6400 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6401 }
6402 }
6403 if (obj5) {
6404 {
6405 arg6 = (long) SWIG_PyObj_AsLong(obj5);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 }
6408 }
6409 if (obj6) {
6410 {
6411 arg7 = wxString_in_helper(obj6);
6412 if (arg7 == NULL) SWIG_fail;
6413 temp7 = True;
6414 }
6415 }
6416 {
6417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6418 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6419
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6424 {
6425 if (temp7)
6426 delete arg7;
6427 }
6428 return resultobj;
6429 fail:
6430 {
6431 if (temp7)
6432 delete arg7;
6433 }
6434 return NULL;
6435 }
6436
6437
6438 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6441 int arg2 ;
6442 bool arg3 ;
6443 PyObject * obj0 = 0 ;
6444 PyObject * obj1 = 0 ;
6445 PyObject * obj2 = 0 ;
6446 char *kwnames[] = {
6447 (char *) "self",(char *) "edge",(char *) "sash", NULL
6448 };
6449
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6452 {
6453 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 {
6457 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6458 if (PyErr_Occurred()) SWIG_fail;
6459 }
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6463
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 Py_INCREF(Py_None); resultobj = Py_None;
6468 return resultobj;
6469 fail:
6470 return NULL;
6471 }
6472
6473
6474 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6475 PyObject *resultobj;
6476 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6477 int arg2 ;
6478 bool result;
6479 PyObject * obj0 = 0 ;
6480 PyObject * obj1 = 0 ;
6481 char *kwnames[] = {
6482 (char *) "self",(char *) "edge", NULL
6483 };
6484
6485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6487 {
6488 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6489 if (PyErr_Occurred()) SWIG_fail;
6490 }
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6494
6495 wxPyEndAllowThreads(__tstate);
6496 if (PyErr_Occurred()) SWIG_fail;
6497 }
6498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6499 return resultobj;
6500 fail:
6501 return NULL;
6502 }
6503
6504
6505 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6506 PyObject *resultobj;
6507 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6508 int arg2 ;
6509 bool arg3 ;
6510 PyObject * obj0 = 0 ;
6511 PyObject * obj1 = 0 ;
6512 PyObject * obj2 = 0 ;
6513 char *kwnames[] = {
6514 (char *) "self",(char *) "edge",(char *) "border", NULL
6515 };
6516
6517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6519 {
6520 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 {
6524 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6525 if (PyErr_Occurred()) SWIG_fail;
6526 }
6527 {
6528 PyThreadState* __tstate = wxPyBeginAllowThreads();
6529 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6530
6531 wxPyEndAllowThreads(__tstate);
6532 if (PyErr_Occurred()) SWIG_fail;
6533 }
6534 Py_INCREF(Py_None); resultobj = Py_None;
6535 return resultobj;
6536 fail:
6537 return NULL;
6538 }
6539
6540
6541 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6542 PyObject *resultobj;
6543 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6544 int arg2 ;
6545 bool result;
6546 PyObject * obj0 = 0 ;
6547 PyObject * obj1 = 0 ;
6548 char *kwnames[] = {
6549 (char *) "self",(char *) "edge", NULL
6550 };
6551
6552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6554 {
6555 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 {
6559 PyThreadState* __tstate = wxPyBeginAllowThreads();
6560 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6561
6562 wxPyEndAllowThreads(__tstate);
6563 if (PyErr_Occurred()) SWIG_fail;
6564 }
6565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6566 return resultobj;
6567 fail:
6568 return NULL;
6569 }
6570
6571
6572 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6573 PyObject *resultobj;
6574 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6575 int arg2 ;
6576 int result;
6577 PyObject * obj0 = 0 ;
6578 PyObject * obj1 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "self",(char *) "edge", NULL
6581 };
6582
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6585 {
6586 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6592
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 resultobj = SWIG_PyObj_FromInt((int)result);
6597 return resultobj;
6598 fail:
6599 return NULL;
6600 }
6601
6602
6603 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6604 PyObject *resultobj;
6605 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6606 int arg2 ;
6607 PyObject * obj0 = 0 ;
6608 PyObject * obj1 = 0 ;
6609 char *kwnames[] = {
6610 (char *) "self",(char *) "width", NULL
6611 };
6612
6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6615 {
6616 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6617 if (PyErr_Occurred()) SWIG_fail;
6618 }
6619 {
6620 PyThreadState* __tstate = wxPyBeginAllowThreads();
6621 (arg1)->SetDefaultBorderSize(arg2);
6622
6623 wxPyEndAllowThreads(__tstate);
6624 if (PyErr_Occurred()) SWIG_fail;
6625 }
6626 Py_INCREF(Py_None); resultobj = Py_None;
6627 return resultobj;
6628 fail:
6629 return NULL;
6630 }
6631
6632
6633 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6634 PyObject *resultobj;
6635 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6636 int result;
6637 PyObject * obj0 = 0 ;
6638 char *kwnames[] = {
6639 (char *) "self", NULL
6640 };
6641
6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6644 {
6645 PyThreadState* __tstate = wxPyBeginAllowThreads();
6646 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6647
6648 wxPyEndAllowThreads(__tstate);
6649 if (PyErr_Occurred()) SWIG_fail;
6650 }
6651 resultobj = SWIG_PyObj_FromInt((int)result);
6652 return resultobj;
6653 fail:
6654 return NULL;
6655 }
6656
6657
6658 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6659 PyObject *resultobj;
6660 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6661 int arg2 ;
6662 PyObject * obj0 = 0 ;
6663 PyObject * obj1 = 0 ;
6664 char *kwnames[] = {
6665 (char *) "self",(char *) "width", NULL
6666 };
6667
6668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6670 {
6671 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6672 if (PyErr_Occurred()) SWIG_fail;
6673 }
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 (arg1)->SetExtraBorderSize(arg2);
6677
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
6681 Py_INCREF(Py_None); resultobj = Py_None;
6682 return resultobj;
6683 fail:
6684 return NULL;
6685 }
6686
6687
6688 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6689 PyObject *resultobj;
6690 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6691 int result;
6692 PyObject * obj0 = 0 ;
6693 char *kwnames[] = {
6694 (char *) "self", NULL
6695 };
6696
6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6702
6703 wxPyEndAllowThreads(__tstate);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 resultobj = SWIG_PyObj_FromInt((int)result);
6707 return resultobj;
6708 fail:
6709 return NULL;
6710 }
6711
6712
6713 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6714 PyObject *resultobj;
6715 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6716 int arg2 ;
6717 PyObject * obj0 = 0 ;
6718 PyObject * obj1 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self",(char *) "min", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6725 {
6726 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 }
6729 {
6730 PyThreadState* __tstate = wxPyBeginAllowThreads();
6731 (arg1)->SetMinimumSizeX(arg2);
6732
6733 wxPyEndAllowThreads(__tstate);
6734 if (PyErr_Occurred()) SWIG_fail;
6735 }
6736 Py_INCREF(Py_None); resultobj = Py_None;
6737 return resultobj;
6738 fail:
6739 return NULL;
6740 }
6741
6742
6743 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6744 PyObject *resultobj;
6745 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6746 int arg2 ;
6747 PyObject * obj0 = 0 ;
6748 PyObject * obj1 = 0 ;
6749 char *kwnames[] = {
6750 (char *) "self",(char *) "min", NULL
6751 };
6752
6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6755 {
6756 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6757 if (PyErr_Occurred()) SWIG_fail;
6758 }
6759 {
6760 PyThreadState* __tstate = wxPyBeginAllowThreads();
6761 (arg1)->SetMinimumSizeY(arg2);
6762
6763 wxPyEndAllowThreads(__tstate);
6764 if (PyErr_Occurred()) SWIG_fail;
6765 }
6766 Py_INCREF(Py_None); resultobj = Py_None;
6767 return resultobj;
6768 fail:
6769 return NULL;
6770 }
6771
6772
6773 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6774 PyObject *resultobj;
6775 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6776 int result;
6777 PyObject * obj0 = 0 ;
6778 char *kwnames[] = {
6779 (char *) "self", NULL
6780 };
6781
6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6784 {
6785 PyThreadState* __tstate = wxPyBeginAllowThreads();
6786 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6787
6788 wxPyEndAllowThreads(__tstate);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 }
6791 resultobj = SWIG_PyObj_FromInt((int)result);
6792 return resultobj;
6793 fail:
6794 return NULL;
6795 }
6796
6797
6798 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6801 int result;
6802 PyObject * obj0 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6812
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 resultobj = SWIG_PyObj_FromInt((int)result);
6817 return resultobj;
6818 fail:
6819 return NULL;
6820 }
6821
6822
6823 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6824 PyObject *resultobj;
6825 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6826 int arg2 ;
6827 PyObject * obj0 = 0 ;
6828 PyObject * obj1 = 0 ;
6829 char *kwnames[] = {
6830 (char *) "self",(char *) "max", NULL
6831 };
6832
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
6834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6835 {
6836 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 }
6839 {
6840 PyThreadState* __tstate = wxPyBeginAllowThreads();
6841 (arg1)->SetMaximumSizeX(arg2);
6842
6843 wxPyEndAllowThreads(__tstate);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 }
6846 Py_INCREF(Py_None); resultobj = Py_None;
6847 return resultobj;
6848 fail:
6849 return NULL;
6850 }
6851
6852
6853 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6854 PyObject *resultobj;
6855 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6856 int arg2 ;
6857 PyObject * obj0 = 0 ;
6858 PyObject * obj1 = 0 ;
6859 char *kwnames[] = {
6860 (char *) "self",(char *) "max", NULL
6861 };
6862
6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
6864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6865 {
6866 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 (arg1)->SetMaximumSizeY(arg2);
6872
6873 wxPyEndAllowThreads(__tstate);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 }
6876 Py_INCREF(Py_None); resultobj = Py_None;
6877 return resultobj;
6878 fail:
6879 return NULL;
6880 }
6881
6882
6883 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6884 PyObject *resultobj;
6885 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6886 int result;
6887 PyObject * obj0 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6894 {
6895 PyThreadState* __tstate = wxPyBeginAllowThreads();
6896 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6897
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 resultobj = SWIG_PyObj_FromInt((int)result);
6902 return resultobj;
6903 fail:
6904 return NULL;
6905 }
6906
6907
6908 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj;
6910 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6911 int result;
6912 PyObject * obj0 = 0 ;
6913 char *kwnames[] = {
6914 (char *) "self", NULL
6915 };
6916
6917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 resultobj = SWIG_PyObj_FromInt((int)result);
6927 return resultobj;
6928 fail:
6929 return NULL;
6930 }
6931
6932
6933 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj;
6935 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6936 int arg2 ;
6937 int arg3 ;
6938 int arg4 = (int) 2 ;
6939 int result;
6940 PyObject * obj0 = 0 ;
6941 PyObject * obj1 = 0 ;
6942 PyObject * obj2 = 0 ;
6943 PyObject * obj3 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6950 {
6951 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6952 if (PyErr_Occurred()) SWIG_fail;
6953 }
6954 {
6955 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 }
6958 if (obj3) {
6959 {
6960 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 }
6964 {
6965 PyThreadState* __tstate = wxPyBeginAllowThreads();
6966 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6967
6968 wxPyEndAllowThreads(__tstate);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 }
6971 resultobj = SWIG_PyObj_FromInt((int)result);
6972 return resultobj;
6973 fail:
6974 return NULL;
6975 }
6976
6977
6978 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6979 PyObject *resultobj;
6980 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6981 PyObject * obj0 = 0 ;
6982 char *kwnames[] = {
6983 (char *) "self", NULL
6984 };
6985
6986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6988 {
6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
6990 (arg1)->SizeWindows();
6991
6992 wxPyEndAllowThreads(__tstate);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 }
6995 Py_INCREF(Py_None); resultobj = Py_None;
6996 return resultobj;
6997 fail:
6998 return NULL;
6999 }
7000
7001
7002 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7003 PyObject *obj;
7004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7005 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7006 Py_INCREF(obj);
7007 return Py_BuildValue((char *)"");
7008 }
7009 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7010 PyObject *resultobj;
7011 int arg1 = (int) 0 ;
7012 int arg2 = (int) wxSASH_NONE ;
7013 wxSashEvent *result;
7014 PyObject * obj0 = 0 ;
7015 PyObject * obj1 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "id",(char *) "edge", NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7021 if (obj0) {
7022 {
7023 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 }
7026 }
7027 if (obj1) {
7028 {
7029 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
7030 if (PyErr_Occurred()) SWIG_fail;
7031 }
7032 }
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7036
7037 wxPyEndAllowThreads(__tstate);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 }
7040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
7041 return resultobj;
7042 fail:
7043 return NULL;
7044 }
7045
7046
7047 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7048 PyObject *resultobj;
7049 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7050 int arg2 ;
7051 PyObject * obj0 = 0 ;
7052 PyObject * obj1 = 0 ;
7053 char *kwnames[] = {
7054 (char *) "self",(char *) "edge", NULL
7055 };
7056
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7059 {
7060 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 {
7064 PyThreadState* __tstate = wxPyBeginAllowThreads();
7065 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7066
7067 wxPyEndAllowThreads(__tstate);
7068 if (PyErr_Occurred()) SWIG_fail;
7069 }
7070 Py_INCREF(Py_None); resultobj = Py_None;
7071 return resultobj;
7072 fail:
7073 return NULL;
7074 }
7075
7076
7077 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7078 PyObject *resultobj;
7079 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7080 int result;
7081 PyObject * obj0 = 0 ;
7082 char *kwnames[] = {
7083 (char *) "self", NULL
7084 };
7085
7086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 resultobj = SWIG_PyObj_FromInt((int)result);
7096 return resultobj;
7097 fail:
7098 return NULL;
7099 }
7100
7101
7102 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7103 PyObject *resultobj;
7104 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7105 wxRect *arg2 = 0 ;
7106 wxRect temp2 ;
7107 PyObject * obj0 = 0 ;
7108 PyObject * obj1 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "self",(char *) "rect", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7115 {
7116 arg2 = &temp2;
7117 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7118 }
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 (arg1)->SetDragRect((wxRect const &)*arg2);
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 Py_INCREF(Py_None); resultobj = Py_None;
7127 return resultobj;
7128 fail:
7129 return NULL;
7130 }
7131
7132
7133 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7136 wxRect result;
7137 PyObject * obj0 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "self", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 result = ((wxSashEvent const *)arg1)->GetDragRect();
7147
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 {
7152 wxRect * resultptr;
7153 resultptr = new wxRect((wxRect &) result);
7154 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7155 }
7156 return resultobj;
7157 fail:
7158 return NULL;
7159 }
7160
7161
7162 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7163 PyObject *resultobj;
7164 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7165 int arg2 ;
7166 PyObject * obj0 = 0 ;
7167 PyObject * obj1 = 0 ;
7168 char *kwnames[] = {
7169 (char *) "self",(char *) "status", NULL
7170 };
7171
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7174 {
7175 arg2 = (wxSashDragStatus) SWIG_PyObj_AsInt(obj1);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7181
7182 wxPyEndAllowThreads(__tstate);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
7185 Py_INCREF(Py_None); resultobj = Py_None;
7186 return resultobj;
7187 fail:
7188 return NULL;
7189 }
7190
7191
7192 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7193 PyObject *resultobj;
7194 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7195 int result;
7196 PyObject * obj0 = 0 ;
7197 char *kwnames[] = {
7198 (char *) "self", NULL
7199 };
7200
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 resultobj = SWIG_PyObj_FromInt((int)result);
7211 return resultobj;
7212 fail:
7213 return NULL;
7214 }
7215
7216
7217 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7218 PyObject *obj;
7219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7220 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7221 Py_INCREF(obj);
7222 return Py_BuildValue((char *)"");
7223 }
7224 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7225 PyObject *resultobj;
7226 int arg1 = (int) 0 ;
7227 wxQueryLayoutInfoEvent *result;
7228 PyObject * obj0 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "id", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7234 if (obj0) {
7235 {
7236 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7237 if (PyErr_Occurred()) SWIG_fail;
7238 }
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7248 return resultobj;
7249 fail:
7250 return NULL;
7251 }
7252
7253
7254 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj;
7256 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7257 int arg2 ;
7258 PyObject * obj0 = 0 ;
7259 PyObject * obj1 = 0 ;
7260 char *kwnames[] = {
7261 (char *) "self",(char *) "length", NULL
7262 };
7263
7264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7266 {
7267 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 {
7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
7272 (arg1)->SetRequestedLength(arg2);
7273
7274 wxPyEndAllowThreads(__tstate);
7275 if (PyErr_Occurred()) SWIG_fail;
7276 }
7277 Py_INCREF(Py_None); resultobj = Py_None;
7278 return resultobj;
7279 fail:
7280 return NULL;
7281 }
7282
7283
7284 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7285 PyObject *resultobj;
7286 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7287 int result;
7288 PyObject * obj0 = 0 ;
7289 char *kwnames[] = {
7290 (char *) "self", NULL
7291 };
7292
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7295 {
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7298
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 resultobj = SWIG_PyObj_FromInt((int)result);
7303 return resultobj;
7304 fail:
7305 return NULL;
7306 }
7307
7308
7309 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7310 PyObject *resultobj;
7311 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7312 int arg2 ;
7313 PyObject * obj0 = 0 ;
7314 PyObject * obj1 = 0 ;
7315 char *kwnames[] = {
7316 (char *) "self",(char *) "flags", NULL
7317 };
7318
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7321 {
7322 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7323 if (PyErr_Occurred()) SWIG_fail;
7324 }
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 (arg1)->SetFlags(arg2);
7328
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 Py_INCREF(Py_None); resultobj = Py_None;
7333 return resultobj;
7334 fail:
7335 return NULL;
7336 }
7337
7338
7339 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7340 PyObject *resultobj;
7341 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7342 int result;
7343 PyObject * obj0 = 0 ;
7344 char *kwnames[] = {
7345 (char *) "self", NULL
7346 };
7347
7348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7350 {
7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
7352 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7353
7354 wxPyEndAllowThreads(__tstate);
7355 if (PyErr_Occurred()) SWIG_fail;
7356 }
7357 resultobj = SWIG_PyObj_FromInt((int)result);
7358 return resultobj;
7359 fail:
7360 return NULL;
7361 }
7362
7363
7364 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7365 PyObject *resultobj;
7366 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7367 wxSize *arg2 = 0 ;
7368 wxSize temp2 ;
7369 PyObject * obj0 = 0 ;
7370 PyObject * obj1 = 0 ;
7371 char *kwnames[] = {
7372 (char *) "self",(char *) "size", NULL
7373 };
7374
7375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7377 {
7378 arg2 = &temp2;
7379 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7380 }
7381 {
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 (arg1)->SetSize((wxSize const &)*arg2);
7384
7385 wxPyEndAllowThreads(__tstate);
7386 if (PyErr_Occurred()) SWIG_fail;
7387 }
7388 Py_INCREF(Py_None); resultobj = Py_None;
7389 return resultobj;
7390 fail:
7391 return NULL;
7392 }
7393
7394
7395 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7396 PyObject *resultobj;
7397 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7398 wxSize result;
7399 PyObject * obj0 = 0 ;
7400 char *kwnames[] = {
7401 (char *) "self", NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 {
7414 wxSize * resultptr;
7415 resultptr = new wxSize((wxSize &) result);
7416 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
7417 }
7418 return resultobj;
7419 fail:
7420 return NULL;
7421 }
7422
7423
7424 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7425 PyObject *resultobj;
7426 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7427 int arg2 ;
7428 PyObject * obj0 = 0 ;
7429 PyObject * obj1 = 0 ;
7430 char *kwnames[] = {
7431 (char *) "self",(char *) "orient", NULL
7432 };
7433
7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7436 {
7437 arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 Py_INCREF(Py_None); resultobj = Py_None;
7448 return resultobj;
7449 fail:
7450 return NULL;
7451 }
7452
7453
7454 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7455 PyObject *resultobj;
7456 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7457 int result;
7458 PyObject * obj0 = 0 ;
7459 char *kwnames[] = {
7460 (char *) "self", NULL
7461 };
7462
7463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7465 {
7466 PyThreadState* __tstate = wxPyBeginAllowThreads();
7467 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7468
7469 wxPyEndAllowThreads(__tstate);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 }
7472 resultobj = SWIG_PyObj_FromInt((int)result);
7473 return resultobj;
7474 fail:
7475 return NULL;
7476 }
7477
7478
7479 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7480 PyObject *resultobj;
7481 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7482 int arg2 ;
7483 PyObject * obj0 = 0 ;
7484 PyObject * obj1 = 0 ;
7485 char *kwnames[] = {
7486 (char *) "self",(char *) "align", NULL
7487 };
7488
7489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7491 {
7492 arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
7495 {
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7498
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 Py_INCREF(Py_None); resultobj = Py_None;
7503 return resultobj;
7504 fail:
7505 return NULL;
7506 }
7507
7508
7509 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7510 PyObject *resultobj;
7511 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7512 int result;
7513 PyObject * obj0 = 0 ;
7514 char *kwnames[] = {
7515 (char *) "self", NULL
7516 };
7517
7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7520 {
7521 PyThreadState* __tstate = wxPyBeginAllowThreads();
7522 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7523
7524 wxPyEndAllowThreads(__tstate);
7525 if (PyErr_Occurred()) SWIG_fail;
7526 }
7527 resultobj = SWIG_PyObj_FromInt((int)result);
7528 return resultobj;
7529 fail:
7530 return NULL;
7531 }
7532
7533
7534 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7535 PyObject *obj;
7536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7537 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7538 Py_INCREF(obj);
7539 return Py_BuildValue((char *)"");
7540 }
7541 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7542 PyObject *resultobj;
7543 int arg1 = (int) 0 ;
7544 wxCalculateLayoutEvent *result;
7545 PyObject * obj0 = 0 ;
7546 char *kwnames[] = {
7547 (char *) "id", NULL
7548 };
7549
7550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7551 if (obj0) {
7552 {
7553 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7554 if (PyErr_Occurred()) SWIG_fail;
7555 }
7556 }
7557 {
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
7559 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7560
7561 wxPyEndAllowThreads(__tstate);
7562 if (PyErr_Occurred()) SWIG_fail;
7563 }
7564 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7565 return resultobj;
7566 fail:
7567 return NULL;
7568 }
7569
7570
7571 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7572 PyObject *resultobj;
7573 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7574 int arg2 ;
7575 PyObject * obj0 = 0 ;
7576 PyObject * obj1 = 0 ;
7577 char *kwnames[] = {
7578 (char *) "self",(char *) "flags", NULL
7579 };
7580
7581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7583 {
7584 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 {
7588 PyThreadState* __tstate = wxPyBeginAllowThreads();
7589 (arg1)->SetFlags(arg2);
7590
7591 wxPyEndAllowThreads(__tstate);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 }
7594 Py_INCREF(Py_None); resultobj = Py_None;
7595 return resultobj;
7596 fail:
7597 return NULL;
7598 }
7599
7600
7601 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7602 PyObject *resultobj;
7603 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7604 int result;
7605 PyObject * obj0 = 0 ;
7606 char *kwnames[] = {
7607 (char *) "self", NULL
7608 };
7609
7610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 resultobj = SWIG_PyObj_FromInt((int)result);
7620 return resultobj;
7621 fail:
7622 return NULL;
7623 }
7624
7625
7626 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7629 wxRect *arg2 = 0 ;
7630 wxRect temp2 ;
7631 PyObject * obj0 = 0 ;
7632 PyObject * obj1 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "self",(char *) "rect", NULL
7635 };
7636
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7639 {
7640 arg2 = &temp2;
7641 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7642 }
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 (arg1)->SetRect((wxRect const &)*arg2);
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 Py_INCREF(Py_None); resultobj = Py_None;
7651 return resultobj;
7652 fail:
7653 return NULL;
7654 }
7655
7656
7657 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj;
7659 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7660 wxRect result;
7661 PyObject * obj0 = 0 ;
7662 char *kwnames[] = {
7663 (char *) "self", NULL
7664 };
7665
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7671
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 {
7676 wxRect * resultptr;
7677 resultptr = new wxRect((wxRect &) result);
7678 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7679 }
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7687 PyObject *obj;
7688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7689 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7690 Py_INCREF(obj);
7691 return Py_BuildValue((char *)"");
7692 }
7693 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj;
7695 wxWindow *arg1 = (wxWindow *) 0 ;
7696 int arg2 ;
7697 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7698 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7699 wxSize const &arg4_defvalue = wxDefaultSize ;
7700 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7701 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7702 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7703 wxString *arg6 = (wxString *) &arg6_defvalue ;
7704 wxSashLayoutWindow *result;
7705 wxPoint temp3 ;
7706 wxSize temp4 ;
7707 bool temp6 = False ;
7708 PyObject * obj0 = 0 ;
7709 PyObject * obj1 = 0 ;
7710 PyObject * obj2 = 0 ;
7711 PyObject * obj3 = 0 ;
7712 PyObject * obj4 = 0 ;
7713 PyObject * obj5 = 0 ;
7714 char *kwnames[] = {
7715 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7716 };
7717
7718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7720 {
7721 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7722 if (PyErr_Occurred()) SWIG_fail;
7723 }
7724 if (obj2) {
7725 {
7726 arg3 = &temp3;
7727 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7728 }
7729 }
7730 if (obj3) {
7731 {
7732 arg4 = &temp4;
7733 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7734 }
7735 }
7736 if (obj4) {
7737 {
7738 arg5 = (long) SWIG_PyObj_AsLong(obj4);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 }
7741 }
7742 if (obj5) {
7743 {
7744 arg6 = wxString_in_helper(obj5);
7745 if (arg6 == NULL) SWIG_fail;
7746 temp6 = True;
7747 }
7748 }
7749 {
7750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7751 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7752
7753 wxPyEndAllowThreads(__tstate);
7754 if (PyErr_Occurred()) SWIG_fail;
7755 }
7756 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7757 {
7758 if (temp6)
7759 delete arg6;
7760 }
7761 return resultobj;
7762 fail:
7763 {
7764 if (temp6)
7765 delete arg6;
7766 }
7767 return NULL;
7768 }
7769
7770
7771 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj;
7773 wxSashLayoutWindow *result;
7774 char *kwnames[] = {
7775 NULL
7776 };
7777
7778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7787 return resultobj;
7788 fail:
7789 return NULL;
7790 }
7791
7792
7793 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7794 PyObject *resultobj;
7795 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7796 wxWindow *arg2 = (wxWindow *) 0 ;
7797 int arg3 ;
7798 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7799 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7800 wxSize const &arg5_defvalue = wxDefaultSize ;
7801 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7802 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7803 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7804 wxString *arg7 = (wxString *) &arg7_defvalue ;
7805 bool result;
7806 wxPoint temp4 ;
7807 wxSize temp5 ;
7808 bool temp7 = False ;
7809 PyObject * obj0 = 0 ;
7810 PyObject * obj1 = 0 ;
7811 PyObject * obj2 = 0 ;
7812 PyObject * obj3 = 0 ;
7813 PyObject * obj4 = 0 ;
7814 PyObject * obj5 = 0 ;
7815 PyObject * obj6 = 0 ;
7816 char *kwnames[] = {
7817 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7818 };
7819
7820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7822 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7823 {
7824 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 if (obj3) {
7828 {
7829 arg4 = &temp4;
7830 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7831 }
7832 }
7833 if (obj4) {
7834 {
7835 arg5 = &temp5;
7836 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7837 }
7838 }
7839 if (obj5) {
7840 {
7841 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 }
7845 if (obj6) {
7846 {
7847 arg7 = wxString_in_helper(obj6);
7848 if (arg7 == NULL) SWIG_fail;
7849 temp7 = True;
7850 }
7851 }
7852 {
7853 PyThreadState* __tstate = wxPyBeginAllowThreads();
7854 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7855
7856 wxPyEndAllowThreads(__tstate);
7857 if (PyErr_Occurred()) SWIG_fail;
7858 }
7859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7860 {
7861 if (temp7)
7862 delete arg7;
7863 }
7864 return resultobj;
7865 fail:
7866 {
7867 if (temp7)
7868 delete arg7;
7869 }
7870 return NULL;
7871 }
7872
7873
7874 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7875 PyObject *resultobj;
7876 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7877 int result;
7878 PyObject * obj0 = 0 ;
7879 char *kwnames[] = {
7880 (char *) "self", NULL
7881 };
7882
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 result = (int)(arg1)->GetAlignment();
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 resultobj = SWIG_PyObj_FromInt((int)result);
7893 return resultobj;
7894 fail:
7895 return NULL;
7896 }
7897
7898
7899 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj;
7901 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7902 int result;
7903 PyObject * obj0 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (int)(arg1)->GetOrientation();
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 resultobj = SWIG_PyObj_FromInt((int)result);
7918 return resultobj;
7919 fail:
7920 return NULL;
7921 }
7922
7923
7924 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7927 int arg2 ;
7928 PyObject * obj0 = 0 ;
7929 PyObject * obj1 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self",(char *) "alignment", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7936 {
7937 arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1);
7938 if (PyErr_Occurred()) SWIG_fail;
7939 }
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 Py_INCREF(Py_None); resultobj = Py_None;
7948 return resultobj;
7949 fail:
7950 return NULL;
7951 }
7952
7953
7954 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7955 PyObject *resultobj;
7956 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7957 wxSize *arg2 = 0 ;
7958 wxSize temp2 ;
7959 PyObject * obj0 = 0 ;
7960 PyObject * obj1 = 0 ;
7961 char *kwnames[] = {
7962 (char *) "self",(char *) "size", NULL
7963 };
7964
7965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7967 {
7968 arg2 = &temp2;
7969 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7970 }
7971 {
7972 PyThreadState* __tstate = wxPyBeginAllowThreads();
7973 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7974
7975 wxPyEndAllowThreads(__tstate);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 }
7978 Py_INCREF(Py_None); resultobj = Py_None;
7979 return resultobj;
7980 fail:
7981 return NULL;
7982 }
7983
7984
7985 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7986 PyObject *resultobj;
7987 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7988 int arg2 ;
7989 PyObject * obj0 = 0 ;
7990 PyObject * obj1 = 0 ;
7991 char *kwnames[] = {
7992 (char *) "self",(char *) "orientation", NULL
7993 };
7994
7995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7997 {
7998 arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 {
8002 PyThreadState* __tstate = wxPyBeginAllowThreads();
8003 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8004
8005 wxPyEndAllowThreads(__tstate);
8006 if (PyErr_Occurred()) SWIG_fail;
8007 }
8008 Py_INCREF(Py_None); resultobj = Py_None;
8009 return resultobj;
8010 fail:
8011 return NULL;
8012 }
8013
8014
8015 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8016 PyObject *obj;
8017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8018 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8019 Py_INCREF(obj);
8020 return Py_BuildValue((char *)"");
8021 }
8022 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8023 PyObject *resultobj;
8024 wxLayoutAlgorithm *result;
8025 char *kwnames[] = {
8026 NULL
8027 };
8028
8029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8030 {
8031 PyThreadState* __tstate = wxPyBeginAllowThreads();
8032 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8033
8034 wxPyEndAllowThreads(__tstate);
8035 if (PyErr_Occurred()) SWIG_fail;
8036 }
8037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
8038 return resultobj;
8039 fail:
8040 return NULL;
8041 }
8042
8043
8044 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8045 PyObject *resultobj;
8046 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8047 PyObject * obj0 = 0 ;
8048 char *kwnames[] = {
8049 (char *) "self", NULL
8050 };
8051
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 delete arg1;
8057
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 Py_INCREF(Py_None); resultobj = Py_None;
8062 return resultobj;
8063 fail:
8064 return NULL;
8065 }
8066
8067
8068 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8069 PyObject *resultobj;
8070 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8071 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8072 wxRect *arg3 = (wxRect *) NULL ;
8073 bool result;
8074 PyObject * obj0 = 0 ;
8075 PyObject * obj1 = 0 ;
8076 PyObject * obj2 = 0 ;
8077 char *kwnames[] = {
8078 (char *) "self",(char *) "frame",(char *) "rect", NULL
8079 };
8080
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8084 if (obj2) {
8085 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8086 }
8087 {
8088 PyThreadState* __tstate = wxPyBeginAllowThreads();
8089 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8090
8091 wxPyEndAllowThreads(__tstate);
8092 if (PyErr_Occurred()) SWIG_fail;
8093 }
8094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8095 return resultobj;
8096 fail:
8097 return NULL;
8098 }
8099
8100
8101 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8102 PyObject *resultobj;
8103 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8104 wxFrame *arg2 = (wxFrame *) 0 ;
8105 wxWindow *arg3 = (wxWindow *) NULL ;
8106 bool result;
8107 PyObject * obj0 = 0 ;
8108 PyObject * obj1 = 0 ;
8109 PyObject * obj2 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8117 if (obj2) {
8118 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8119 }
8120 {
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8123
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8128 return resultobj;
8129 fail:
8130 return NULL;
8131 }
8132
8133
8134 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8135 PyObject *resultobj;
8136 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8137 wxWindow *arg2 = (wxWindow *) 0 ;
8138 wxWindow *arg3 = (wxWindow *) NULL ;
8139 bool result;
8140 PyObject * obj0 = 0 ;
8141 PyObject * obj1 = 0 ;
8142 PyObject * obj2 = 0 ;
8143 char *kwnames[] = {
8144 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8145 };
8146
8147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8150 if (obj2) {
8151 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8152 }
8153 {
8154 PyThreadState* __tstate = wxPyBeginAllowThreads();
8155 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8156
8157 wxPyEndAllowThreads(__tstate);
8158 if (PyErr_Occurred()) SWIG_fail;
8159 }
8160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8161 return resultobj;
8162 fail:
8163 return NULL;
8164 }
8165
8166
8167 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8168 PyObject *obj;
8169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8170 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8171 Py_INCREF(obj);
8172 return Py_BuildValue((char *)"");
8173 }
8174 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8175 PyObject *resultobj;
8176 wxWindow *arg1 = (wxWindow *) 0 ;
8177 int arg2 = (int) wxBORDER_NONE ;
8178 wxPopupWindow *result;
8179 PyObject * obj0 = 0 ;
8180 PyObject * obj1 = 0 ;
8181 char *kwnames[] = {
8182 (char *) "parent",(char *) "flags", NULL
8183 };
8184
8185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8187 if (obj1) {
8188 {
8189 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 }
8192 }
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8196
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
8201 return resultobj;
8202 fail:
8203 return NULL;
8204 }
8205
8206
8207 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8208 PyObject *resultobj;
8209 wxPopupWindow *result;
8210 char *kwnames[] = {
8211 NULL
8212 };
8213
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8215 {
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 result = (wxPopupWindow *)new wxPopupWindow();
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
8223 return resultobj;
8224 fail:
8225 return NULL;
8226 }
8227
8228
8229 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8230 PyObject *resultobj;
8231 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8232 wxWindow *arg2 = (wxWindow *) 0 ;
8233 int arg3 = (int) wxBORDER_NONE ;
8234 bool result;
8235 PyObject * obj0 = 0 ;
8236 PyObject * obj1 = 0 ;
8237 PyObject * obj2 = 0 ;
8238 char *kwnames[] = {
8239 (char *) "self",(char *) "parent",(char *) "flags", NULL
8240 };
8241
8242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8245 if (obj2) {
8246 {
8247 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8248 if (PyErr_Occurred()) SWIG_fail;
8249 }
8250 }
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 result = (bool)(arg1)->Create(arg2,arg3);
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8259 return resultobj;
8260 fail:
8261 return NULL;
8262 }
8263
8264
8265 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj;
8267 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8268 wxPoint *arg2 = 0 ;
8269 wxSize *arg3 = 0 ;
8270 wxPoint temp2 ;
8271 wxSize temp3 ;
8272 PyObject * obj0 = 0 ;
8273 PyObject * obj1 = 0 ;
8274 PyObject * obj2 = 0 ;
8275 char *kwnames[] = {
8276 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8277 };
8278
8279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8281 {
8282 arg2 = &temp2;
8283 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8284 }
8285 {
8286 arg3 = &temp3;
8287 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8288 }
8289 {
8290 PyThreadState* __tstate = wxPyBeginAllowThreads();
8291 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8292
8293 wxPyEndAllowThreads(__tstate);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 Py_INCREF(Py_None); resultobj = Py_None;
8297 return resultobj;
8298 fail:
8299 return NULL;
8300 }
8301
8302
8303 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8304 PyObject *obj;
8305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8306 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8307 Py_INCREF(obj);
8308 return Py_BuildValue((char *)"");
8309 }
8310 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8311 PyObject *resultobj;
8312 wxWindow *arg1 = (wxWindow *) 0 ;
8313 int arg2 = (int) wxBORDER_NONE ;
8314 wxPyPopupTransientWindow *result;
8315 PyObject * obj0 = 0 ;
8316 PyObject * obj1 = 0 ;
8317 char *kwnames[] = {
8318 (char *) "parent",(char *) "style", NULL
8319 };
8320
8321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8323 if (obj1) {
8324 {
8325 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8326 if (PyErr_Occurred()) SWIG_fail;
8327 }
8328 }
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8332
8333 wxPyEndAllowThreads(__tstate);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8337 return resultobj;
8338 fail:
8339 return NULL;
8340 }
8341
8342
8343 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8344 PyObject *resultobj;
8345 wxPyPopupTransientWindow *result;
8346 char *kwnames[] = {
8347 NULL
8348 };
8349
8350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8354
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8359 return resultobj;
8360 fail:
8361 return NULL;
8362 }
8363
8364
8365 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8366 PyObject *resultobj;
8367 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8368 PyObject *arg2 = (PyObject *) 0 ;
8369 PyObject *arg3 = (PyObject *) 0 ;
8370 PyObject * obj0 = 0 ;
8371 PyObject * obj1 = 0 ;
8372 PyObject * obj2 = 0 ;
8373 char *kwnames[] = {
8374 (char *) "self",(char *) "self",(char *) "_class", NULL
8375 };
8376
8377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8379 arg2 = obj1;
8380 arg3 = obj2;
8381 {
8382 PyThreadState* __tstate = wxPyBeginAllowThreads();
8383 (arg1)->_setCallbackInfo(arg2,arg3);
8384
8385 wxPyEndAllowThreads(__tstate);
8386 if (PyErr_Occurred()) SWIG_fail;
8387 }
8388 Py_INCREF(Py_None); resultobj = Py_None;
8389 return resultobj;
8390 fail:
8391 return NULL;
8392 }
8393
8394
8395 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8396 PyObject *resultobj;
8397 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8398 wxWindow *arg2 = (wxWindow *) NULL ;
8399 PyObject * obj0 = 0 ;
8400 PyObject * obj1 = 0 ;
8401 char *kwnames[] = {
8402 (char *) "self",(char *) "focus", NULL
8403 };
8404
8405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8407 if (obj1) {
8408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8409 }
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8412 (arg1)->Popup(arg2);
8413
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 Py_INCREF(Py_None); resultobj = Py_None;
8418 return resultobj;
8419 fail:
8420 return NULL;
8421 }
8422
8423
8424 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8425 PyObject *resultobj;
8426 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8427 PyObject * obj0 = 0 ;
8428 char *kwnames[] = {
8429 (char *) "self", NULL
8430 };
8431
8432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8434 {
8435 PyThreadState* __tstate = wxPyBeginAllowThreads();
8436 (arg1)->Dismiss();
8437
8438 wxPyEndAllowThreads(__tstate);
8439 if (PyErr_Occurred()) SWIG_fail;
8440 }
8441 Py_INCREF(Py_None); resultobj = Py_None;
8442 return resultobj;
8443 fail:
8444 return NULL;
8445 }
8446
8447
8448 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8449 PyObject *obj;
8450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8451 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8452 Py_INCREF(obj);
8453 return Py_BuildValue((char *)"");
8454 }
8455 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj;
8457 wxWindow *arg1 = (wxWindow *) 0 ;
8458 wxString *arg2 = 0 ;
8459 int arg3 = (int) 100 ;
8460 wxRect *arg4 = (wxRect *) NULL ;
8461 wxTipWindow *result;
8462 bool temp2 = False ;
8463 PyObject * obj0 = 0 ;
8464 PyObject * obj1 = 0 ;
8465 PyObject * obj2 = 0 ;
8466 PyObject * obj3 = 0 ;
8467 char *kwnames[] = {
8468 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8469 };
8470
8471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8473 {
8474 arg2 = wxString_in_helper(obj1);
8475 if (arg2 == NULL) SWIG_fail;
8476 temp2 = True;
8477 }
8478 if (obj2) {
8479 {
8480 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 }
8484 if (obj3) {
8485 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8486 }
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8490
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
8494 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
8495 {
8496 if (temp2)
8497 delete arg2;
8498 }
8499 return resultobj;
8500 fail:
8501 {
8502 if (temp2)
8503 delete arg2;
8504 }
8505 return NULL;
8506 }
8507
8508
8509 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8510 PyObject *resultobj;
8511 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8512 wxRect *arg2 = 0 ;
8513 wxRect temp2 ;
8514 PyObject * obj0 = 0 ;
8515 PyObject * obj1 = 0 ;
8516 char *kwnames[] = {
8517 (char *) "self",(char *) "rectBound", NULL
8518 };
8519
8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8522 {
8523 arg2 = &temp2;
8524 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8525 }
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8529
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 }
8533 Py_INCREF(Py_None); resultobj = Py_None;
8534 return resultobj;
8535 fail:
8536 return NULL;
8537 }
8538
8539
8540 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8541 PyObject *resultobj;
8542 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8543 PyObject * obj0 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "self", NULL
8546 };
8547
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8550 {
8551 PyThreadState* __tstate = wxPyBeginAllowThreads();
8552 (arg1)->Close();
8553
8554 wxPyEndAllowThreads(__tstate);
8555 if (PyErr_Occurred()) SWIG_fail;
8556 }
8557 Py_INCREF(Py_None); resultobj = Py_None;
8558 return resultobj;
8559 fail:
8560 return NULL;
8561 }
8562
8563
8564 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8565 PyObject *obj;
8566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8567 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8568 Py_INCREF(obj);
8569 return Py_BuildValue((char *)"");
8570 }
8571 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8572 PyObject *resultobj;
8573 wxWindow *arg1 = (wxWindow *) 0 ;
8574 int arg2 = (int) wxID_ANY ;
8575 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8576 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8577 wxSize const &arg4_defvalue = wxDefaultSize ;
8578 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8579 long arg5 = (long) 0 ;
8580 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8581 wxString *arg6 = (wxString *) &arg6_defvalue ;
8582 wxPyVScrolledWindow *result;
8583 wxPoint temp3 ;
8584 wxSize temp4 ;
8585 bool temp6 = False ;
8586 PyObject * obj0 = 0 ;
8587 PyObject * obj1 = 0 ;
8588 PyObject * obj2 = 0 ;
8589 PyObject * obj3 = 0 ;
8590 PyObject * obj4 = 0 ;
8591 PyObject * obj5 = 0 ;
8592 char *kwnames[] = {
8593 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8594 };
8595
8596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8598 if (obj1) {
8599 {
8600 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
8603 }
8604 if (obj2) {
8605 {
8606 arg3 = &temp3;
8607 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8608 }
8609 }
8610 if (obj3) {
8611 {
8612 arg4 = &temp4;
8613 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8614 }
8615 }
8616 if (obj4) {
8617 {
8618 arg5 = (long) SWIG_PyObj_AsLong(obj4);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 }
8622 if (obj5) {
8623 {
8624 arg6 = wxString_in_helper(obj5);
8625 if (arg6 == NULL) SWIG_fail;
8626 temp6 = True;
8627 }
8628 }
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8632
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8637 {
8638 if (temp6)
8639 delete arg6;
8640 }
8641 return resultobj;
8642 fail:
8643 {
8644 if (temp6)
8645 delete arg6;
8646 }
8647 return NULL;
8648 }
8649
8650
8651 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8652 PyObject *resultobj;
8653 wxPyVScrolledWindow *result;
8654 char *kwnames[] = {
8655 NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8662
8663 wxPyEndAllowThreads(__tstate);
8664 if (PyErr_Occurred()) SWIG_fail;
8665 }
8666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8667 return resultobj;
8668 fail:
8669 return NULL;
8670 }
8671
8672
8673 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8674 PyObject *resultobj;
8675 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8676 PyObject *arg2 = (PyObject *) 0 ;
8677 PyObject *arg3 = (PyObject *) 0 ;
8678 PyObject * obj0 = 0 ;
8679 PyObject * obj1 = 0 ;
8680 PyObject * obj2 = 0 ;
8681 char *kwnames[] = {
8682 (char *) "self",(char *) "self",(char *) "_class", NULL
8683 };
8684
8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8687 arg2 = obj1;
8688 arg3 = obj2;
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 (arg1)->_setCallbackInfo(arg2,arg3);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 Py_INCREF(Py_None); resultobj = Py_None;
8697 return resultobj;
8698 fail:
8699 return NULL;
8700 }
8701
8702
8703 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8704 PyObject *resultobj;
8705 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8706 wxWindow *arg2 = (wxWindow *) 0 ;
8707 int arg3 = (int) wxID_ANY ;
8708 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8709 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8710 wxSize const &arg5_defvalue = wxDefaultSize ;
8711 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8712 long arg6 = (long) 0 ;
8713 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8714 wxString *arg7 = (wxString *) &arg7_defvalue ;
8715 bool result;
8716 wxPoint temp4 ;
8717 wxSize temp5 ;
8718 bool temp7 = False ;
8719 PyObject * obj0 = 0 ;
8720 PyObject * obj1 = 0 ;
8721 PyObject * obj2 = 0 ;
8722 PyObject * obj3 = 0 ;
8723 PyObject * obj4 = 0 ;
8724 PyObject * obj5 = 0 ;
8725 PyObject * obj6 = 0 ;
8726 char *kwnames[] = {
8727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8728 };
8729
8730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8733 if (obj2) {
8734 {
8735 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 }
8738 }
8739 if (obj3) {
8740 {
8741 arg4 = &temp4;
8742 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8743 }
8744 }
8745 if (obj4) {
8746 {
8747 arg5 = &temp5;
8748 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8749 }
8750 }
8751 if (obj5) {
8752 {
8753 arg6 = (long) SWIG_PyObj_AsLong(obj5);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 }
8756 }
8757 if (obj6) {
8758 {
8759 arg7 = wxString_in_helper(obj6);
8760 if (arg7 == NULL) SWIG_fail;
8761 temp7 = True;
8762 }
8763 }
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8772 {
8773 if (temp7)
8774 delete arg7;
8775 }
8776 return resultobj;
8777 fail:
8778 {
8779 if (temp7)
8780 delete arg7;
8781 }
8782 return NULL;
8783 }
8784
8785
8786 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8787 PyObject *resultobj;
8788 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8789 size_t arg2 ;
8790 PyObject * obj0 = 0 ;
8791 PyObject * obj1 = 0 ;
8792 char *kwnames[] = {
8793 (char *) "self",(char *) "count", NULL
8794 };
8795
8796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",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 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 {
8803 PyThreadState* __tstate = wxPyBeginAllowThreads();
8804 (arg1)->SetLineCount(arg2);
8805
8806 wxPyEndAllowThreads(__tstate);
8807 if (PyErr_Occurred()) SWIG_fail;
8808 }
8809 Py_INCREF(Py_None); resultobj = Py_None;
8810 return resultobj;
8811 fail:
8812 return NULL;
8813 }
8814
8815
8816 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8817 PyObject *resultobj;
8818 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8819 size_t arg2 ;
8820 bool result;
8821 PyObject * obj0 = 0 ;
8822 PyObject * obj1 = 0 ;
8823 char *kwnames[] = {
8824 (char *) "self",(char *) "line", NULL
8825 };
8826
8827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8829 {
8830 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 {
8834 PyThreadState* __tstate = wxPyBeginAllowThreads();
8835 result = (bool)(arg1)->ScrollToLine(arg2);
8836
8837 wxPyEndAllowThreads(__tstate);
8838 if (PyErr_Occurred()) SWIG_fail;
8839 }
8840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8841 return resultobj;
8842 fail:
8843 return NULL;
8844 }
8845
8846
8847 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8848 PyObject *resultobj;
8849 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8850 int arg2 ;
8851 bool result;
8852 PyObject * obj0 = 0 ;
8853 PyObject * obj1 = 0 ;
8854 char *kwnames[] = {
8855 (char *) "self",(char *) "lines", NULL
8856 };
8857
8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8860 {
8861 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8862 if (PyErr_Occurred()) SWIG_fail;
8863 }
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 result = (bool)(arg1)->ScrollLines(arg2);
8867
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 }
8871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8872 return resultobj;
8873 fail:
8874 return NULL;
8875 }
8876
8877
8878 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8879 PyObject *resultobj;
8880 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8881 int arg2 ;
8882 bool result;
8883 PyObject * obj0 = 0 ;
8884 PyObject * obj1 = 0 ;
8885 char *kwnames[] = {
8886 (char *) "self",(char *) "pages", NULL
8887 };
8888
8889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
8890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8891 {
8892 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8893 if (PyErr_Occurred()) SWIG_fail;
8894 }
8895 {
8896 PyThreadState* __tstate = wxPyBeginAllowThreads();
8897 result = (bool)(arg1)->ScrollPages(arg2);
8898
8899 wxPyEndAllowThreads(__tstate);
8900 if (PyErr_Occurred()) SWIG_fail;
8901 }
8902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8903 return resultobj;
8904 fail:
8905 return NULL;
8906 }
8907
8908
8909 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj;
8911 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8912 size_t arg2 ;
8913 PyObject * obj0 = 0 ;
8914 PyObject * obj1 = 0 ;
8915 char *kwnames[] = {
8916 (char *) "self",(char *) "line", NULL
8917 };
8918
8919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8921 {
8922 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8923 if (PyErr_Occurred()) SWIG_fail;
8924 }
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 (arg1)->RefreshLine(arg2);
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 Py_INCREF(Py_None); resultobj = Py_None;
8933 return resultobj;
8934 fail:
8935 return NULL;
8936 }
8937
8938
8939 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8942 size_t arg2 ;
8943 size_t arg3 ;
8944 PyObject * obj0 = 0 ;
8945 PyObject * obj1 = 0 ;
8946 PyObject * obj2 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "self",(char *) "from",(char *) "to", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8953 {
8954 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 }
8957 {
8958 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 (arg1)->RefreshLines(arg2,arg3);
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_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8976 PyObject *resultobj;
8977 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8978 int arg2 ;
8979 int arg3 ;
8980 int result;
8981 PyObject * obj0 = 0 ;
8982 PyObject * obj1 = 0 ;
8983 PyObject * obj2 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "self",(char *) "x",(char *) "y", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
8989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8990 {
8991 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 {
8995 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9001
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 resultobj = SWIG_PyObj_FromInt((int)result);
9006 return resultobj;
9007 fail:
9008 return NULL;
9009 }
9010
9011
9012 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9013 PyObject *resultobj;
9014 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9015 wxPoint *arg2 = 0 ;
9016 int result;
9017 wxPoint temp2 ;
9018 PyObject * obj0 = 0 ;
9019 PyObject * obj1 = 0 ;
9020 char *kwnames[] = {
9021 (char *) "self",(char *) "pt", NULL
9022 };
9023
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9026 {
9027 arg2 = &temp2;
9028 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9029 }
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 resultobj = SWIG_PyObj_FromInt((int)result);
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj;
9046 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9047 PyObject * obj0 = 0 ;
9048 char *kwnames[] = {
9049 (char *) "self", NULL
9050 };
9051
9052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 (arg1)->RefreshAll();
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 Py_INCREF(Py_None); resultobj = Py_None;
9062 return resultobj;
9063 fail:
9064 return NULL;
9065 }
9066
9067
9068 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9071 size_t result;
9072 PyObject * obj0 = 0 ;
9073 char *kwnames[] = {
9074 (char *) "self", NULL
9075 };
9076
9077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9079 {
9080 PyThreadState* __tstate = wxPyBeginAllowThreads();
9081 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9082
9083 wxPyEndAllowThreads(__tstate);
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
9086 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9087 return resultobj;
9088 fail:
9089 return NULL;
9090 }
9091
9092
9093 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9094 PyObject *resultobj;
9095 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9096 size_t result;
9097 PyObject * obj0 = 0 ;
9098 char *kwnames[] = {
9099 (char *) "self", NULL
9100 };
9101
9102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9104 {
9105 PyThreadState* __tstate = wxPyBeginAllowThreads();
9106 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9107
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9112 return resultobj;
9113 fail:
9114 return NULL;
9115 }
9116
9117
9118 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9119 PyObject *resultobj;
9120 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9121 size_t result;
9122 PyObject * obj0 = 0 ;
9123 char *kwnames[] = {
9124 (char *) "self", NULL
9125 };
9126
9127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9137 return resultobj;
9138 fail:
9139 return NULL;
9140 }
9141
9142
9143 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj;
9145 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9146 size_t arg2 ;
9147 bool result;
9148 PyObject * obj0 = 0 ;
9149 PyObject * obj1 = 0 ;
9150 char *kwnames[] = {
9151 (char *) "self",(char *) "line", NULL
9152 };
9153
9154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9156 {
9157 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 }
9160 {
9161 PyThreadState* __tstate = wxPyBeginAllowThreads();
9162 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9163
9164 wxPyEndAllowThreads(__tstate);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 }
9167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9168 return resultobj;
9169 fail:
9170 return NULL;
9171 }
9172
9173
9174 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9175 PyObject *obj;
9176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9177 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9178 Py_INCREF(obj);
9179 return Py_BuildValue((char *)"");
9180 }
9181 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9182 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9183 return 1;
9184 }
9185
9186
9187 static PyObject *_wrap_VListBoxNameStr_get() {
9188 PyObject *pyobj;
9189
9190 {
9191 #if wxUSE_UNICODE
9192 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9193 #else
9194 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9195 #endif
9196 }
9197 return pyobj;
9198 }
9199
9200
9201 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9202 PyObject *resultobj;
9203 wxWindow *arg1 = (wxWindow *) 0 ;
9204 int arg2 = (int) wxID_ANY ;
9205 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9206 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9207 wxSize const &arg4_defvalue = wxDefaultSize ;
9208 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9209 long arg5 = (long) 0 ;
9210 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9211 wxString *arg6 = (wxString *) &arg6_defvalue ;
9212 wxPyVListBox *result;
9213 wxPoint temp3 ;
9214 wxSize temp4 ;
9215 bool temp6 = False ;
9216 PyObject * obj0 = 0 ;
9217 PyObject * obj1 = 0 ;
9218 PyObject * obj2 = 0 ;
9219 PyObject * obj3 = 0 ;
9220 PyObject * obj4 = 0 ;
9221 PyObject * obj5 = 0 ;
9222 char *kwnames[] = {
9223 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9224 };
9225
9226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9228 if (obj1) {
9229 {
9230 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 }
9234 if (obj2) {
9235 {
9236 arg3 = &temp3;
9237 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9238 }
9239 }
9240 if (obj3) {
9241 {
9242 arg4 = &temp4;
9243 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9244 }
9245 }
9246 if (obj4) {
9247 {
9248 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9249 if (PyErr_Occurred()) SWIG_fail;
9250 }
9251 }
9252 if (obj5) {
9253 {
9254 arg6 = wxString_in_helper(obj5);
9255 if (arg6 == NULL) SWIG_fail;
9256 temp6 = True;
9257 }
9258 }
9259 {
9260 PyThreadState* __tstate = wxPyBeginAllowThreads();
9261 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9262
9263 wxPyEndAllowThreads(__tstate);
9264 if (PyErr_Occurred()) SWIG_fail;
9265 }
9266 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
9267 {
9268 if (temp6)
9269 delete arg6;
9270 }
9271 return resultobj;
9272 fail:
9273 {
9274 if (temp6)
9275 delete arg6;
9276 }
9277 return NULL;
9278 }
9279
9280
9281 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9282 PyObject *resultobj;
9283 wxPyVListBox *result;
9284 char *kwnames[] = {
9285 NULL
9286 };
9287
9288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9289 {
9290 PyThreadState* __tstate = wxPyBeginAllowThreads();
9291 result = (wxPyVListBox *)new wxPyVListBox();
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
9296 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
9297 return resultobj;
9298 fail:
9299 return NULL;
9300 }
9301
9302
9303 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9304 PyObject *resultobj;
9305 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9306 PyObject *arg2 = (PyObject *) 0 ;
9307 PyObject *arg3 = (PyObject *) 0 ;
9308 PyObject * obj0 = 0 ;
9309 PyObject * obj1 = 0 ;
9310 PyObject * obj2 = 0 ;
9311 char *kwnames[] = {
9312 (char *) "self",(char *) "self",(char *) "_class", NULL
9313 };
9314
9315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9317 arg2 = obj1;
9318 arg3 = obj2;
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 (arg1)->_setCallbackInfo(arg2,arg3);
9322
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 Py_INCREF(Py_None); resultobj = Py_None;
9327 return resultobj;
9328 fail:
9329 return NULL;
9330 }
9331
9332
9333 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9334 PyObject *resultobj;
9335 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9336 wxWindow *arg2 = (wxWindow *) 0 ;
9337 int arg3 = (int) wxID_ANY ;
9338 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9339 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9340 wxSize const &arg5_defvalue = wxDefaultSize ;
9341 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9342 long arg6 = (long) 0 ;
9343 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9344 wxString *arg7 = (wxString *) &arg7_defvalue ;
9345 bool result;
9346 wxPoint temp4 ;
9347 wxSize temp5 ;
9348 bool temp7 = False ;
9349 PyObject * obj0 = 0 ;
9350 PyObject * obj1 = 0 ;
9351 PyObject * obj2 = 0 ;
9352 PyObject * obj3 = 0 ;
9353 PyObject * obj4 = 0 ;
9354 PyObject * obj5 = 0 ;
9355 PyObject * obj6 = 0 ;
9356 char *kwnames[] = {
9357 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9358 };
9359
9360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9363 if (obj2) {
9364 {
9365 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 }
9369 if (obj3) {
9370 {
9371 arg4 = &temp4;
9372 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9373 }
9374 }
9375 if (obj4) {
9376 {
9377 arg5 = &temp5;
9378 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9379 }
9380 }
9381 if (obj5) {
9382 {
9383 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
9386 }
9387 if (obj6) {
9388 {
9389 arg7 = wxString_in_helper(obj6);
9390 if (arg7 == NULL) SWIG_fail;
9391 temp7 = True;
9392 }
9393 }
9394 {
9395 PyThreadState* __tstate = wxPyBeginAllowThreads();
9396 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9397
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9402 {
9403 if (temp7)
9404 delete arg7;
9405 }
9406 return resultobj;
9407 fail:
9408 {
9409 if (temp7)
9410 delete arg7;
9411 }
9412 return NULL;
9413 }
9414
9415
9416 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9417 PyObject *resultobj;
9418 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9419 size_t result;
9420 PyObject * obj0 = 0 ;
9421 char *kwnames[] = {
9422 (char *) "self", NULL
9423 };
9424
9425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9427 {
9428 PyThreadState* __tstate = wxPyBeginAllowThreads();
9429 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9430
9431 wxPyEndAllowThreads(__tstate);
9432 if (PyErr_Occurred()) SWIG_fail;
9433 }
9434 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9435 return resultobj;
9436 fail:
9437 return NULL;
9438 }
9439
9440
9441 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9442 PyObject *resultobj;
9443 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9444 bool result;
9445 PyObject * obj0 = 0 ;
9446 char *kwnames[] = {
9447 (char *) "self", NULL
9448 };
9449
9450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9460 return resultobj;
9461 fail:
9462 return NULL;
9463 }
9464
9465
9466 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9467 PyObject *resultobj;
9468 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9469 int result;
9470 PyObject * obj0 = 0 ;
9471 char *kwnames[] = {
9472 (char *) "self", NULL
9473 };
9474
9475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9480
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
9484 resultobj = SWIG_PyObj_FromInt((int)result);
9485 return resultobj;
9486 fail:
9487 return NULL;
9488 }
9489
9490
9491 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9492 PyObject *resultobj;
9493 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9494 size_t arg2 ;
9495 bool result;
9496 PyObject * obj0 = 0 ;
9497 PyObject * obj1 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "self",(char *) "item", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9504 {
9505 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9506 if (PyErr_Occurred()) SWIG_fail;
9507 }
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9511
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
9515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9516 return resultobj;
9517 fail:
9518 return NULL;
9519 }
9520
9521
9522 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj;
9524 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9525 size_t arg2 ;
9526 bool result;
9527 PyObject * obj0 = 0 ;
9528 PyObject * obj1 = 0 ;
9529 char *kwnames[] = {
9530 (char *) "self",(char *) "item", NULL
9531 };
9532
9533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9535 {
9536 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9537 if (PyErr_Occurred()) SWIG_fail;
9538 }
9539 {
9540 PyThreadState* __tstate = wxPyBeginAllowThreads();
9541 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9542
9543 wxPyEndAllowThreads(__tstate);
9544 if (PyErr_Occurred()) SWIG_fail;
9545 }
9546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9547 return resultobj;
9548 fail:
9549 return NULL;
9550 }
9551
9552
9553 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9554 PyObject *resultobj;
9555 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9556 size_t result;
9557 PyObject * obj0 = 0 ;
9558 char *kwnames[] = {
9559 (char *) "self", NULL
9560 };
9561
9562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9564 {
9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
9566 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9567
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
9571 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9572 return resultobj;
9573 fail:
9574 return NULL;
9575 }
9576
9577
9578 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9579 PyObject *resultobj;
9580 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9581 unsigned long *arg2 = 0 ;
9582 int result;
9583 PyObject * obj0 = 0 ;
9584 PyObject * obj1 = 0 ;
9585 char *kwnames[] = {
9586 (char *) "self",(char *) "cookie", NULL
9587 };
9588
9589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9592 if (arg2 == NULL) {
9593 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9594 }
9595 {
9596 PyThreadState* __tstate = wxPyBeginAllowThreads();
9597 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9598
9599 wxPyEndAllowThreads(__tstate);
9600 if (PyErr_Occurred()) SWIG_fail;
9601 }
9602 resultobj = SWIG_PyObj_FromInt((int)result);
9603 return resultobj;
9604 fail:
9605 return NULL;
9606 }
9607
9608
9609 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9610 PyObject *resultobj;
9611 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9612 unsigned long *arg2 = 0 ;
9613 int result;
9614 PyObject * obj0 = 0 ;
9615 PyObject * obj1 = 0 ;
9616 char *kwnames[] = {
9617 (char *) "self",(char *) "cookie", NULL
9618 };
9619
9620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9623 if (arg2 == NULL) {
9624 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9625 }
9626 {
9627 PyThreadState* __tstate = wxPyBeginAllowThreads();
9628 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9629
9630 wxPyEndAllowThreads(__tstate);
9631 if (PyErr_Occurred()) SWIG_fail;
9632 }
9633 resultobj = SWIG_PyObj_FromInt((int)result);
9634 return resultobj;
9635 fail:
9636 return NULL;
9637 }
9638
9639
9640 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9641 PyObject *resultobj;
9642 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9643 wxPoint result;
9644 PyObject * obj0 = 0 ;
9645 char *kwnames[] = {
9646 (char *) "self", NULL
9647 };
9648
9649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 result = ((wxPyVListBox const *)arg1)->GetMargins();
9654
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 {
9659 wxPoint * resultptr;
9660 resultptr = new wxPoint((wxPoint &) result);
9661 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9662 }
9663 return resultobj;
9664 fail:
9665 return NULL;
9666 }
9667
9668
9669 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9670 PyObject *resultobj;
9671 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9672 wxColour *result;
9673 PyObject * obj0 = 0 ;
9674 char *kwnames[] = {
9675 (char *) "self", NULL
9676 };
9677
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 {
9683 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9684 result = (wxColour *) &_result_ref;
9685 }
9686
9687 wxPyEndAllowThreads(__tstate);
9688 if (PyErr_Occurred()) SWIG_fail;
9689 }
9690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
9691 return resultobj;
9692 fail:
9693 return NULL;
9694 }
9695
9696
9697 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9698 PyObject *resultobj;
9699 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9700 size_t arg2 ;
9701 PyObject * obj0 = 0 ;
9702 PyObject * obj1 = 0 ;
9703 char *kwnames[] = {
9704 (char *) "self",(char *) "count", NULL
9705 };
9706
9707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9709 {
9710 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9711 if (PyErr_Occurred()) SWIG_fail;
9712 }
9713 {
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 (arg1)->SetItemCount(arg2);
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 Py_INCREF(Py_None); resultobj = Py_None;
9721 return resultobj;
9722 fail:
9723 return NULL;
9724 }
9725
9726
9727 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj;
9729 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9730 PyObject * obj0 = 0 ;
9731 char *kwnames[] = {
9732 (char *) "self", NULL
9733 };
9734
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9737 {
9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
9739 (arg1)->Clear();
9740
9741 wxPyEndAllowThreads(__tstate);
9742 if (PyErr_Occurred()) SWIG_fail;
9743 }
9744 Py_INCREF(Py_None); resultobj = Py_None;
9745 return resultobj;
9746 fail:
9747 return NULL;
9748 }
9749
9750
9751 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9752 PyObject *resultobj;
9753 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9754 int arg2 ;
9755 PyObject * obj0 = 0 ;
9756 PyObject * obj1 = 0 ;
9757 char *kwnames[] = {
9758 (char *) "self",(char *) "selection", NULL
9759 };
9760
9761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9763 {
9764 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 {
9768 PyThreadState* __tstate = wxPyBeginAllowThreads();
9769 (arg1)->SetSelection(arg2);
9770
9771 wxPyEndAllowThreads(__tstate);
9772 if (PyErr_Occurred()) SWIG_fail;
9773 }
9774 Py_INCREF(Py_None); resultobj = Py_None;
9775 return resultobj;
9776 fail:
9777 return NULL;
9778 }
9779
9780
9781 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9782 PyObject *resultobj;
9783 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9784 size_t arg2 ;
9785 bool arg3 = (bool) True ;
9786 bool result;
9787 PyObject * obj0 = 0 ;
9788 PyObject * obj1 = 0 ;
9789 PyObject * obj2 = 0 ;
9790 char *kwnames[] = {
9791 (char *) "self",(char *) "item",(char *) "select", NULL
9792 };
9793
9794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9796 {
9797 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
9800 if (obj2) {
9801 {
9802 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 }
9806 {
9807 PyThreadState* __tstate = wxPyBeginAllowThreads();
9808 result = (bool)(arg1)->Select(arg2,arg3);
9809
9810 wxPyEndAllowThreads(__tstate);
9811 if (PyErr_Occurred()) SWIG_fail;
9812 }
9813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9814 return resultobj;
9815 fail:
9816 return NULL;
9817 }
9818
9819
9820 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9821 PyObject *resultobj;
9822 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9823 size_t arg2 ;
9824 size_t arg3 ;
9825 bool result;
9826 PyObject * obj0 = 0 ;
9827 PyObject * obj1 = 0 ;
9828 PyObject * obj2 = 0 ;
9829 char *kwnames[] = {
9830 (char *) "self",(char *) "from",(char *) "to", NULL
9831 };
9832
9833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9835 {
9836 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 {
9840 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 result = (bool)(arg1)->SelectRange(arg2,arg3);
9846
9847 wxPyEndAllowThreads(__tstate);
9848 if (PyErr_Occurred()) SWIG_fail;
9849 }
9850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9851 return resultobj;
9852 fail:
9853 return NULL;
9854 }
9855
9856
9857 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9858 PyObject *resultobj;
9859 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9860 size_t arg2 ;
9861 PyObject * obj0 = 0 ;
9862 PyObject * obj1 = 0 ;
9863 char *kwnames[] = {
9864 (char *) "self",(char *) "item", NULL
9865 };
9866
9867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9869 {
9870 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9871 if (PyErr_Occurred()) SWIG_fail;
9872 }
9873 {
9874 PyThreadState* __tstate = wxPyBeginAllowThreads();
9875 (arg1)->Toggle(arg2);
9876
9877 wxPyEndAllowThreads(__tstate);
9878 if (PyErr_Occurred()) SWIG_fail;
9879 }
9880 Py_INCREF(Py_None); resultobj = Py_None;
9881 return resultobj;
9882 fail:
9883 return NULL;
9884 }
9885
9886
9887 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9888 PyObject *resultobj;
9889 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9890 bool result;
9891 PyObject * obj0 = 0 ;
9892 char *kwnames[] = {
9893 (char *) "self", NULL
9894 };
9895
9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9898 {
9899 PyThreadState* __tstate = wxPyBeginAllowThreads();
9900 result = (bool)(arg1)->SelectAll();
9901
9902 wxPyEndAllowThreads(__tstate);
9903 if (PyErr_Occurred()) SWIG_fail;
9904 }
9905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9906 return resultobj;
9907 fail:
9908 return NULL;
9909 }
9910
9911
9912 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9913 PyObject *resultobj;
9914 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9915 bool result;
9916 PyObject * obj0 = 0 ;
9917 char *kwnames[] = {
9918 (char *) "self", NULL
9919 };
9920
9921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9923 {
9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
9925 result = (bool)(arg1)->DeselectAll();
9926
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
9930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9931 return resultobj;
9932 fail:
9933 return NULL;
9934 }
9935
9936
9937 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9938 PyObject *resultobj;
9939 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9940 wxPoint *arg2 = 0 ;
9941 wxPoint temp2 ;
9942 PyObject * obj0 = 0 ;
9943 PyObject * obj1 = 0 ;
9944 char *kwnames[] = {
9945 (char *) "self",(char *) "pt", NULL
9946 };
9947
9948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9950 {
9951 arg2 = &temp2;
9952 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9953 }
9954 {
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 (arg1)->SetMargins((wxPoint const &)*arg2);
9957
9958 wxPyEndAllowThreads(__tstate);
9959 if (PyErr_Occurred()) SWIG_fail;
9960 }
9961 Py_INCREF(Py_None); resultobj = Py_None;
9962 return resultobj;
9963 fail:
9964 return NULL;
9965 }
9966
9967
9968 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9969 PyObject *resultobj;
9970 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9971 int arg2 ;
9972 int arg3 ;
9973 PyObject * obj0 = 0 ;
9974 PyObject * obj1 = 0 ;
9975 PyObject * obj2 = 0 ;
9976 char *kwnames[] = {
9977 (char *) "self",(char *) "x",(char *) "y", NULL
9978 };
9979
9980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9982 {
9983 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 {
9987 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9988 if (PyErr_Occurred()) SWIG_fail;
9989 }
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 (arg1)->SetMargins(arg2,arg3);
9993
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 Py_INCREF(Py_None); resultobj = Py_None;
9998 return resultobj;
9999 fail:
10000 return NULL;
10001 }
10002
10003
10004 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj;
10006 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10007 wxColour *arg2 = 0 ;
10008 wxColour temp2 ;
10009 PyObject * obj0 = 0 ;
10010 PyObject * obj1 = 0 ;
10011 char *kwnames[] = {
10012 (char *) "self",(char *) "col", NULL
10013 };
10014
10015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10017 {
10018 arg2 = &temp2;
10019 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10020 }
10021 {
10022 PyThreadState* __tstate = wxPyBeginAllowThreads();
10023 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10024
10025 wxPyEndAllowThreads(__tstate);
10026 if (PyErr_Occurred()) SWIG_fail;
10027 }
10028 Py_INCREF(Py_None); resultobj = Py_None;
10029 return resultobj;
10030 fail:
10031 return NULL;
10032 }
10033
10034
10035 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10036 PyObject *obj;
10037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10038 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10039 Py_INCREF(obj);
10040 return Py_BuildValue((char *)"");
10041 }
10042 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10043 PyObject *resultobj;
10044 wxWindow *arg1 = (wxWindow *) 0 ;
10045 int arg2 = (int) wxID_ANY ;
10046 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10047 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10048 wxSize const &arg4_defvalue = wxDefaultSize ;
10049 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10050 long arg5 = (long) 0 ;
10051 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10052 wxString *arg6 = (wxString *) &arg6_defvalue ;
10053 wxPyHtmlListBox *result;
10054 wxPoint temp3 ;
10055 wxSize temp4 ;
10056 bool temp6 = False ;
10057 PyObject * obj0 = 0 ;
10058 PyObject * obj1 = 0 ;
10059 PyObject * obj2 = 0 ;
10060 PyObject * obj3 = 0 ;
10061 PyObject * obj4 = 0 ;
10062 PyObject * obj5 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10069 if (obj1) {
10070 {
10071 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 }
10075 if (obj2) {
10076 {
10077 arg3 = &temp3;
10078 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10079 }
10080 }
10081 if (obj3) {
10082 {
10083 arg4 = &temp4;
10084 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10085 }
10086 }
10087 if (obj4) {
10088 {
10089 arg5 = (long) SWIG_PyObj_AsLong(obj4);
10090 if (PyErr_Occurred()) SWIG_fail;
10091 }
10092 }
10093 if (obj5) {
10094 {
10095 arg6 = wxString_in_helper(obj5);
10096 if (arg6 == NULL) SWIG_fail;
10097 temp6 = True;
10098 }
10099 }
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10103
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
10108 {
10109 if (temp6)
10110 delete arg6;
10111 }
10112 return resultobj;
10113 fail:
10114 {
10115 if (temp6)
10116 delete arg6;
10117 }
10118 return NULL;
10119 }
10120
10121
10122 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj;
10124 wxPyHtmlListBox *result;
10125 char *kwnames[] = {
10126 NULL
10127 };
10128
10129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10133
10134 wxPyEndAllowThreads(__tstate);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 }
10137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
10138 return resultobj;
10139 fail:
10140 return NULL;
10141 }
10142
10143
10144 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10145 PyObject *resultobj;
10146 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10147 PyObject *arg2 = (PyObject *) 0 ;
10148 PyObject *arg3 = (PyObject *) 0 ;
10149 PyObject * obj0 = 0 ;
10150 PyObject * obj1 = 0 ;
10151 PyObject * obj2 = 0 ;
10152 char *kwnames[] = {
10153 (char *) "self",(char *) "self",(char *) "_class", NULL
10154 };
10155
10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10158 arg2 = obj1;
10159 arg3 = obj2;
10160 {
10161 PyThreadState* __tstate = wxPyBeginAllowThreads();
10162 (arg1)->_setCallbackInfo(arg2,arg3);
10163
10164 wxPyEndAllowThreads(__tstate);
10165 if (PyErr_Occurred()) SWIG_fail;
10166 }
10167 Py_INCREF(Py_None); resultobj = Py_None;
10168 return resultobj;
10169 fail:
10170 return NULL;
10171 }
10172
10173
10174 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10175 PyObject *resultobj;
10176 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10177 wxWindow *arg2 = (wxWindow *) 0 ;
10178 int arg3 = (int) wxID_ANY ;
10179 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10180 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10181 wxSize const &arg5_defvalue = wxDefaultSize ;
10182 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10183 long arg6 = (long) 0 ;
10184 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10185 wxString *arg7 = (wxString *) &arg7_defvalue ;
10186 bool result;
10187 wxPoint temp4 ;
10188 wxSize temp5 ;
10189 bool temp7 = False ;
10190 PyObject * obj0 = 0 ;
10191 PyObject * obj1 = 0 ;
10192 PyObject * obj2 = 0 ;
10193 PyObject * obj3 = 0 ;
10194 PyObject * obj4 = 0 ;
10195 PyObject * obj5 = 0 ;
10196 PyObject * obj6 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10203 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10204 if (obj2) {
10205 {
10206 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 }
10209 }
10210 if (obj3) {
10211 {
10212 arg4 = &temp4;
10213 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10214 }
10215 }
10216 if (obj4) {
10217 {
10218 arg5 = &temp5;
10219 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10220 }
10221 }
10222 if (obj5) {
10223 {
10224 arg6 = (long) SWIG_PyObj_AsLong(obj5);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 }
10228 if (obj6) {
10229 {
10230 arg7 = wxString_in_helper(obj6);
10231 if (arg7 == NULL) SWIG_fail;
10232 temp7 = True;
10233 }
10234 }
10235 {
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
10237 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10238
10239 wxPyEndAllowThreads(__tstate);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10243 {
10244 if (temp7)
10245 delete arg7;
10246 }
10247 return resultobj;
10248 fail:
10249 {
10250 if (temp7)
10251 delete arg7;
10252 }
10253 return NULL;
10254 }
10255
10256
10257 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10258 PyObject *resultobj;
10259 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10260 PyObject * obj0 = 0 ;
10261 char *kwnames[] = {
10262 (char *) "self", NULL
10263 };
10264
10265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10267 {
10268 PyThreadState* __tstate = wxPyBeginAllowThreads();
10269 (arg1)->RefreshAll();
10270
10271 wxPyEndAllowThreads(__tstate);
10272 if (PyErr_Occurred()) SWIG_fail;
10273 }
10274 Py_INCREF(Py_None); resultobj = Py_None;
10275 return resultobj;
10276 fail:
10277 return NULL;
10278 }
10279
10280
10281 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10282 PyObject *resultobj;
10283 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10284 size_t arg2 ;
10285 PyObject * obj0 = 0 ;
10286 PyObject * obj1 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self",(char *) "count", NULL
10289 };
10290
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10293 {
10294 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 (arg1)->SetItemCount(arg2);
10300
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
10304 Py_INCREF(Py_None); resultobj = Py_None;
10305 return resultobj;
10306 fail:
10307 return NULL;
10308 }
10309
10310
10311 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10312 PyObject *obj;
10313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10314 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10315 Py_INCREF(obj);
10316 return Py_BuildValue((char *)"");
10317 }
10318 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10319 PyObject *resultobj;
10320 wxTaskBarIcon *result;
10321 char *kwnames[] = {
10322 NULL
10323 };
10324
10325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10326 {
10327 PyThreadState* __tstate = wxPyBeginAllowThreads();
10328 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10329
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
10334 return resultobj;
10335 fail:
10336 return NULL;
10337 }
10338
10339
10340 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10341 PyObject *resultobj;
10342 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 delete arg1;
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 Py_INCREF(Py_None); resultobj = Py_None;
10358 return resultobj;
10359 fail:
10360 return NULL;
10361 }
10362
10363
10364 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10365 PyObject *resultobj;
10366 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10367 bool result;
10368 PyObject * obj0 = 0 ;
10369 char *kwnames[] = {
10370 (char *) "self", NULL
10371 };
10372
10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10378
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10383 return resultobj;
10384 fail:
10385 return NULL;
10386 }
10387
10388
10389 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10390 PyObject *resultobj;
10391 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10392 bool result;
10393 PyObject * obj0 = 0 ;
10394 char *kwnames[] = {
10395 (char *) "self", NULL
10396 };
10397
10398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10403
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10408 return resultobj;
10409 fail:
10410 return NULL;
10411 }
10412
10413
10414 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj;
10416 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10417 wxIcon *arg2 = 0 ;
10418 wxString const &arg3_defvalue = wxPyEmptyString ;
10419 wxString *arg3 = (wxString *) &arg3_defvalue ;
10420 bool result;
10421 bool temp3 = False ;
10422 PyObject * obj0 = 0 ;
10423 PyObject * obj1 = 0 ;
10424 PyObject * obj2 = 0 ;
10425 char *kwnames[] = {
10426 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10427 };
10428
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10431 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10432 if (arg2 == NULL) {
10433 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10434 }
10435 if (obj2) {
10436 {
10437 arg3 = wxString_in_helper(obj2);
10438 if (arg3 == NULL) SWIG_fail;
10439 temp3 = True;
10440 }
10441 }
10442 {
10443 PyThreadState* __tstate = wxPyBeginAllowThreads();
10444 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10445
10446 wxPyEndAllowThreads(__tstate);
10447 if (PyErr_Occurred()) SWIG_fail;
10448 }
10449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10450 {
10451 if (temp3)
10452 delete arg3;
10453 }
10454 return resultobj;
10455 fail:
10456 {
10457 if (temp3)
10458 delete arg3;
10459 }
10460 return NULL;
10461 }
10462
10463
10464 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10465 PyObject *resultobj;
10466 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10467 bool result;
10468 PyObject * obj0 = 0 ;
10469 char *kwnames[] = {
10470 (char *) "self", NULL
10471 };
10472
10473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 result = (bool)(arg1)->RemoveIcon();
10478
10479 wxPyEndAllowThreads(__tstate);
10480 if (PyErr_Occurred()) SWIG_fail;
10481 }
10482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10483 return resultobj;
10484 fail:
10485 return NULL;
10486 }
10487
10488
10489 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10492 wxMenu *arg2 = (wxMenu *) 0 ;
10493 bool result;
10494 PyObject * obj0 = 0 ;
10495 PyObject * obj1 = 0 ;
10496 char *kwnames[] = {
10497 (char *) "self",(char *) "menu", NULL
10498 };
10499
10500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10502 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10503 {
10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
10505 result = (bool)(arg1)->PopupMenu(arg2);
10506
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
10510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10511 return resultobj;
10512 fail:
10513 return NULL;
10514 }
10515
10516
10517 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10518 PyObject *obj;
10519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10520 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10521 Py_INCREF(obj);
10522 return Py_BuildValue((char *)"");
10523 }
10524 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10525 PyObject *resultobj;
10526 wxEventType arg1 ;
10527 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10528 wxTaskBarIconEvent *result;
10529 PyObject * obj0 = 0 ;
10530 PyObject * obj1 = 0 ;
10531 char *kwnames[] = {
10532 (char *) "evtType",(char *) "tbIcon", NULL
10533 };
10534
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10536 {
10537 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10538 if (PyErr_Occurred()) SWIG_fail;
10539 }
10540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10541 {
10542 PyThreadState* __tstate = wxPyBeginAllowThreads();
10543 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10544
10545 wxPyEndAllowThreads(__tstate);
10546 if (PyErr_Occurred()) SWIG_fail;
10547 }
10548 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
10549 return resultobj;
10550 fail:
10551 return NULL;
10552 }
10553
10554
10555 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10556 PyObject *obj;
10557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10558 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10559 Py_INCREF(obj);
10560 return Py_BuildValue((char *)"");
10561 }
10562 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10563 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10564 return 1;
10565 }
10566
10567
10568 static PyObject *_wrap_FileSelectorPromptStr_get() {
10569 PyObject *pyobj;
10570
10571 {
10572 #if wxUSE_UNICODE
10573 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10574 #else
10575 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10576 #endif
10577 }
10578 return pyobj;
10579 }
10580
10581
10582 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10583 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10584 return 1;
10585 }
10586
10587
10588 static PyObject *_wrap_DirSelectorPromptStr_get() {
10589 PyObject *pyobj;
10590
10591 {
10592 #if wxUSE_UNICODE
10593 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10594 #else
10595 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10596 #endif
10597 }
10598 return pyobj;
10599 }
10600
10601
10602 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10603 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10604 return 1;
10605 }
10606
10607
10608 static PyObject *_wrap_DirDialogNameStr_get() {
10609 PyObject *pyobj;
10610
10611 {
10612 #if wxUSE_UNICODE
10613 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10614 #else
10615 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10616 #endif
10617 }
10618 return pyobj;
10619 }
10620
10621
10622 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10623 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10624 return 1;
10625 }
10626
10627
10628 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10629 PyObject *pyobj;
10630
10631 {
10632 #if wxUSE_UNICODE
10633 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10634 #else
10635 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10636 #endif
10637 }
10638 return pyobj;
10639 }
10640
10641
10642 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10643 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10644 return 1;
10645 }
10646
10647
10648 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10649 PyObject *pyobj;
10650
10651 {
10652 #if wxUSE_UNICODE
10653 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10654 #else
10655 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10656 #endif
10657 }
10658 return pyobj;
10659 }
10660
10661
10662 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10663 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10664 return 1;
10665 }
10666
10667
10668 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10669 PyObject *pyobj;
10670
10671 {
10672 #if wxUSE_UNICODE
10673 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10674 #else
10675 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10676 #endif
10677 }
10678 return pyobj;
10679 }
10680
10681
10682 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10683 PyObject *resultobj;
10684 wxColourData *result;
10685 char *kwnames[] = {
10686 NULL
10687 };
10688
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10690 {
10691 PyThreadState* __tstate = wxPyBeginAllowThreads();
10692 result = (wxColourData *)new wxColourData();
10693
10694 wxPyEndAllowThreads(__tstate);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 }
10697 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
10698 return resultobj;
10699 fail:
10700 return NULL;
10701 }
10702
10703
10704 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10705 PyObject *resultobj;
10706 wxColourData *arg1 = (wxColourData *) 0 ;
10707 PyObject * obj0 = 0 ;
10708 char *kwnames[] = {
10709 (char *) "self", NULL
10710 };
10711
10712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 delete arg1;
10717
10718 wxPyEndAllowThreads(__tstate);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 }
10721 Py_INCREF(Py_None); resultobj = Py_None;
10722 return resultobj;
10723 fail:
10724 return NULL;
10725 }
10726
10727
10728 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10729 PyObject *resultobj;
10730 wxColourData *arg1 = (wxColourData *) 0 ;
10731 bool result;
10732 PyObject * obj0 = 0 ;
10733 char *kwnames[] = {
10734 (char *) "self", NULL
10735 };
10736
10737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10739 {
10740 PyThreadState* __tstate = wxPyBeginAllowThreads();
10741 result = (bool)(arg1)->GetChooseFull();
10742
10743 wxPyEndAllowThreads(__tstate);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10747 return resultobj;
10748 fail:
10749 return NULL;
10750 }
10751
10752
10753 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10754 PyObject *resultobj;
10755 wxColourData *arg1 = (wxColourData *) 0 ;
10756 wxColour result;
10757 PyObject * obj0 = 0 ;
10758 char *kwnames[] = {
10759 (char *) "self", NULL
10760 };
10761
10762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10764 {
10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
10766 result = (arg1)->GetColour();
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 }
10771 {
10772 wxColour * resultptr;
10773 resultptr = new wxColour((wxColour &) result);
10774 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10775 }
10776 return resultobj;
10777 fail:
10778 return NULL;
10779 }
10780
10781
10782 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10783 PyObject *resultobj;
10784 wxColourData *arg1 = (wxColourData *) 0 ;
10785 int arg2 ;
10786 wxColour result;
10787 PyObject * obj0 = 0 ;
10788 PyObject * obj1 = 0 ;
10789 char *kwnames[] = {
10790 (char *) "self",(char *) "i", NULL
10791 };
10792
10793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10795 {
10796 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10797 if (PyErr_Occurred()) SWIG_fail;
10798 }
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 result = (arg1)->GetCustomColour(arg2);
10802
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
10806 {
10807 wxColour * resultptr;
10808 resultptr = new wxColour((wxColour &) result);
10809 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10810 }
10811 return resultobj;
10812 fail:
10813 return NULL;
10814 }
10815
10816
10817 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10818 PyObject *resultobj;
10819 wxColourData *arg1 = (wxColourData *) 0 ;
10820 int arg2 ;
10821 PyObject * obj0 = 0 ;
10822 PyObject * obj1 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "self",(char *) "flag", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10829 {
10830 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10831 if (PyErr_Occurred()) SWIG_fail;
10832 }
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 (arg1)->SetChooseFull(arg2);
10836
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 Py_INCREF(Py_None); resultobj = Py_None;
10841 return resultobj;
10842 fail:
10843 return NULL;
10844 }
10845
10846
10847 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10848 PyObject *resultobj;
10849 wxColourData *arg1 = (wxColourData *) 0 ;
10850 wxColour *arg2 = 0 ;
10851 wxColour temp2 ;
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self",(char *) "colour", NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10860 {
10861 arg2 = &temp2;
10862 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10863 }
10864 {
10865 PyThreadState* __tstate = wxPyBeginAllowThreads();
10866 (arg1)->SetColour((wxColour const &)*arg2);
10867
10868 wxPyEndAllowThreads(__tstate);
10869 if (PyErr_Occurred()) SWIG_fail;
10870 }
10871 Py_INCREF(Py_None); resultobj = Py_None;
10872 return resultobj;
10873 fail:
10874 return NULL;
10875 }
10876
10877
10878 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10879 PyObject *resultobj;
10880 wxColourData *arg1 = (wxColourData *) 0 ;
10881 int arg2 ;
10882 wxColour *arg3 = 0 ;
10883 wxColour temp3 ;
10884 PyObject * obj0 = 0 ;
10885 PyObject * obj1 = 0 ;
10886 PyObject * obj2 = 0 ;
10887 char *kwnames[] = {
10888 (char *) "self",(char *) "i",(char *) "colour", NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10893 {
10894 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 {
10898 arg3 = &temp3;
10899 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10900 }
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10904
10905 wxPyEndAllowThreads(__tstate);
10906 if (PyErr_Occurred()) SWIG_fail;
10907 }
10908 Py_INCREF(Py_None); resultobj = Py_None;
10909 return resultobj;
10910 fail:
10911 return NULL;
10912 }
10913
10914
10915 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10916 PyObject *obj;
10917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10918 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10919 Py_INCREF(obj);
10920 return Py_BuildValue((char *)"");
10921 }
10922 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10923 PyObject *resultobj;
10924 wxWindow *arg1 = (wxWindow *) 0 ;
10925 wxColourData *arg2 = (wxColourData *) NULL ;
10926 wxColourDialog *result;
10927 PyObject * obj0 = 0 ;
10928 PyObject * obj1 = 0 ;
10929 char *kwnames[] = {
10930 (char *) "parent",(char *) "data", NULL
10931 };
10932
10933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10935 if (obj1) {
10936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10937 }
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10941
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
10945 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
10946 return resultobj;
10947 fail:
10948 return NULL;
10949 }
10950
10951
10952 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10953 PyObject *resultobj;
10954 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10955 wxColourData *result;
10956 PyObject * obj0 = 0 ;
10957 char *kwnames[] = {
10958 (char *) "self", NULL
10959 };
10960
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10963 {
10964 PyThreadState* __tstate = wxPyBeginAllowThreads();
10965 {
10966 wxColourData &_result_ref = (arg1)->GetColourData();
10967 result = (wxColourData *) &_result_ref;
10968 }
10969
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
10973 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
10974 return resultobj;
10975 fail:
10976 return NULL;
10977 }
10978
10979
10980 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10981 PyObject *resultobj;
10982 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10983 int result;
10984 PyObject * obj0 = 0 ;
10985 char *kwnames[] = {
10986 (char *) "self", NULL
10987 };
10988
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
10990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10991 {
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 result = (int)(arg1)->ShowModal();
10994
10995 wxPyEndAllowThreads(__tstate);
10996 if (PyErr_Occurred()) SWIG_fail;
10997 }
10998 resultobj = SWIG_PyObj_FromInt((int)result);
10999 return resultobj;
11000 fail:
11001 return NULL;
11002 }
11003
11004
11005 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11006 PyObject *obj;
11007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11008 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11009 Py_INCREF(obj);
11010 return Py_BuildValue((char *)"");
11011 }
11012 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11013 PyObject *resultobj;
11014 wxWindow *arg1 = (wxWindow *) 0 ;
11015 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11016 wxString *arg2 = (wxString *) &arg2_defvalue ;
11017 wxString const &arg3_defvalue = wxPyEmptyString ;
11018 wxString *arg3 = (wxString *) &arg3_defvalue ;
11019 long arg4 = (long) 0 ;
11020 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11021 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11022 wxSize const &arg6_defvalue = wxDefaultSize ;
11023 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11024 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11025 wxString *arg7 = (wxString *) &arg7_defvalue ;
11026 wxDirDialog *result;
11027 bool temp2 = False ;
11028 bool temp3 = False ;
11029 wxPoint temp5 ;
11030 wxSize temp6 ;
11031 bool temp7 = False ;
11032 PyObject * obj0 = 0 ;
11033 PyObject * obj1 = 0 ;
11034 PyObject * obj2 = 0 ;
11035 PyObject * obj3 = 0 ;
11036 PyObject * obj4 = 0 ;
11037 PyObject * obj5 = 0 ;
11038 PyObject * obj6 = 0 ;
11039 char *kwnames[] = {
11040 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11041 };
11042
11043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11045 if (obj1) {
11046 {
11047 arg2 = wxString_in_helper(obj1);
11048 if (arg2 == NULL) SWIG_fail;
11049 temp2 = True;
11050 }
11051 }
11052 if (obj2) {
11053 {
11054 arg3 = wxString_in_helper(obj2);
11055 if (arg3 == NULL) SWIG_fail;
11056 temp3 = True;
11057 }
11058 }
11059 if (obj3) {
11060 {
11061 arg4 = (long) SWIG_PyObj_AsLong(obj3);
11062 if (PyErr_Occurred()) SWIG_fail;
11063 }
11064 }
11065 if (obj4) {
11066 {
11067 arg5 = &temp5;
11068 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11069 }
11070 }
11071 if (obj5) {
11072 {
11073 arg6 = &temp6;
11074 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11075 }
11076 }
11077 if (obj6) {
11078 {
11079 arg7 = wxString_in_helper(obj6);
11080 if (arg7 == NULL) SWIG_fail;
11081 temp7 = True;
11082 }
11083 }
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
11086 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11087
11088 wxPyEndAllowThreads(__tstate);
11089 if (PyErr_Occurred()) SWIG_fail;
11090 }
11091 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
11092 {
11093 if (temp2)
11094 delete arg2;
11095 }
11096 {
11097 if (temp3)
11098 delete arg3;
11099 }
11100 {
11101 if (temp7)
11102 delete arg7;
11103 }
11104 return resultobj;
11105 fail:
11106 {
11107 if (temp2)
11108 delete arg2;
11109 }
11110 {
11111 if (temp3)
11112 delete arg3;
11113 }
11114 {
11115 if (temp7)
11116 delete arg7;
11117 }
11118 return NULL;
11119 }
11120
11121
11122 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11123 PyObject *resultobj;
11124 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11125 wxString result;
11126 PyObject * obj0 = 0 ;
11127 char *kwnames[] = {
11128 (char *) "self", NULL
11129 };
11130
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 result = (arg1)->GetPath();
11136
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 {
11141 #if wxUSE_UNICODE
11142 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11143 #else
11144 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11145 #endif
11146 }
11147 return resultobj;
11148 fail:
11149 return NULL;
11150 }
11151
11152
11153 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11154 PyObject *resultobj;
11155 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11156 wxString result;
11157 PyObject * obj0 = 0 ;
11158 char *kwnames[] = {
11159 (char *) "self", NULL
11160 };
11161
11162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11164 {
11165 PyThreadState* __tstate = wxPyBeginAllowThreads();
11166 result = (arg1)->GetMessage();
11167
11168 wxPyEndAllowThreads(__tstate);
11169 if (PyErr_Occurred()) SWIG_fail;
11170 }
11171 {
11172 #if wxUSE_UNICODE
11173 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11174 #else
11175 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11176 #endif
11177 }
11178 return resultobj;
11179 fail:
11180 return NULL;
11181 }
11182
11183
11184 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11185 PyObject *resultobj;
11186 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11187 long result;
11188 PyObject * obj0 = 0 ;
11189 char *kwnames[] = {
11190 (char *) "self", NULL
11191 };
11192
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11195 {
11196 PyThreadState* __tstate = wxPyBeginAllowThreads();
11197 result = (long)(arg1)->GetStyle();
11198
11199 wxPyEndAllowThreads(__tstate);
11200 if (PyErr_Occurred()) SWIG_fail;
11201 }
11202 resultobj = SWIG_PyObj_FromLong((long)result);
11203 return resultobj;
11204 fail:
11205 return NULL;
11206 }
11207
11208
11209 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11210 PyObject *resultobj;
11211 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11212 wxString *arg2 = 0 ;
11213 bool temp2 = False ;
11214 PyObject * obj0 = 0 ;
11215 PyObject * obj1 = 0 ;
11216 char *kwnames[] = {
11217 (char *) "self",(char *) "message", NULL
11218 };
11219
11220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11222 {
11223 arg2 = wxString_in_helper(obj1);
11224 if (arg2 == NULL) SWIG_fail;
11225 temp2 = True;
11226 }
11227 {
11228 PyThreadState* __tstate = wxPyBeginAllowThreads();
11229 (arg1)->SetMessage((wxString const &)*arg2);
11230
11231 wxPyEndAllowThreads(__tstate);
11232 if (PyErr_Occurred()) SWIG_fail;
11233 }
11234 Py_INCREF(Py_None); resultobj = Py_None;
11235 {
11236 if (temp2)
11237 delete arg2;
11238 }
11239 return resultobj;
11240 fail:
11241 {
11242 if (temp2)
11243 delete arg2;
11244 }
11245 return NULL;
11246 }
11247
11248
11249 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj;
11251 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11252 wxString *arg2 = 0 ;
11253 bool temp2 = False ;
11254 PyObject * obj0 = 0 ;
11255 PyObject * obj1 = 0 ;
11256 char *kwnames[] = {
11257 (char *) "self",(char *) "path", NULL
11258 };
11259
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11262 {
11263 arg2 = wxString_in_helper(obj1);
11264 if (arg2 == NULL) SWIG_fail;
11265 temp2 = True;
11266 }
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
11269 (arg1)->SetPath((wxString const &)*arg2);
11270
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 Py_INCREF(Py_None); resultobj = Py_None;
11275 {
11276 if (temp2)
11277 delete arg2;
11278 }
11279 return resultobj;
11280 fail:
11281 {
11282 if (temp2)
11283 delete arg2;
11284 }
11285 return NULL;
11286 }
11287
11288
11289 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11290 PyObject *resultobj;
11291 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11292 int result;
11293 PyObject * obj0 = 0 ;
11294 char *kwnames[] = {
11295 (char *) "self", NULL
11296 };
11297
11298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
11299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11300 {
11301 PyThreadState* __tstate = wxPyBeginAllowThreads();
11302 result = (int)(arg1)->ShowModal();
11303
11304 wxPyEndAllowThreads(__tstate);
11305 if (PyErr_Occurred()) SWIG_fail;
11306 }
11307 resultobj = SWIG_PyObj_FromInt((int)result);
11308 return resultobj;
11309 fail:
11310 return NULL;
11311 }
11312
11313
11314 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11315 PyObject *obj;
11316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11317 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11318 Py_INCREF(obj);
11319 return Py_BuildValue((char *)"");
11320 }
11321 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11322 PyObject *resultobj;
11323 wxWindow *arg1 = (wxWindow *) 0 ;
11324 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11325 wxString *arg2 = (wxString *) &arg2_defvalue ;
11326 wxString const &arg3_defvalue = wxPyEmptyString ;
11327 wxString *arg3 = (wxString *) &arg3_defvalue ;
11328 wxString const &arg4_defvalue = wxPyEmptyString ;
11329 wxString *arg4 = (wxString *) &arg4_defvalue ;
11330 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11331 wxString *arg5 = (wxString *) &arg5_defvalue ;
11332 long arg6 = (long) 0 ;
11333 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11334 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11335 wxFileDialog *result;
11336 bool temp2 = False ;
11337 bool temp3 = False ;
11338 bool temp4 = False ;
11339 bool temp5 = False ;
11340 wxPoint temp7 ;
11341 PyObject * obj0 = 0 ;
11342 PyObject * obj1 = 0 ;
11343 PyObject * obj2 = 0 ;
11344 PyObject * obj3 = 0 ;
11345 PyObject * obj4 = 0 ;
11346 PyObject * obj5 = 0 ;
11347 PyObject * obj6 = 0 ;
11348 char *kwnames[] = {
11349 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11350 };
11351
11352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11354 if (obj1) {
11355 {
11356 arg2 = wxString_in_helper(obj1);
11357 if (arg2 == NULL) SWIG_fail;
11358 temp2 = True;
11359 }
11360 }
11361 if (obj2) {
11362 {
11363 arg3 = wxString_in_helper(obj2);
11364 if (arg3 == NULL) SWIG_fail;
11365 temp3 = True;
11366 }
11367 }
11368 if (obj3) {
11369 {
11370 arg4 = wxString_in_helper(obj3);
11371 if (arg4 == NULL) SWIG_fail;
11372 temp4 = True;
11373 }
11374 }
11375 if (obj4) {
11376 {
11377 arg5 = wxString_in_helper(obj4);
11378 if (arg5 == NULL) SWIG_fail;
11379 temp5 = True;
11380 }
11381 }
11382 if (obj5) {
11383 {
11384 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 }
11387 }
11388 if (obj6) {
11389 {
11390 arg7 = &temp7;
11391 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11392 }
11393 }
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
11401 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
11402 {
11403 if (temp2)
11404 delete arg2;
11405 }
11406 {
11407 if (temp3)
11408 delete arg3;
11409 }
11410 {
11411 if (temp4)
11412 delete arg4;
11413 }
11414 {
11415 if (temp5)
11416 delete arg5;
11417 }
11418 return resultobj;
11419 fail:
11420 {
11421 if (temp2)
11422 delete arg2;
11423 }
11424 {
11425 if (temp3)
11426 delete arg3;
11427 }
11428 {
11429 if (temp4)
11430 delete arg4;
11431 }
11432 {
11433 if (temp5)
11434 delete arg5;
11435 }
11436 return NULL;
11437 }
11438
11439
11440 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11441 PyObject *resultobj;
11442 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11443 wxString *arg2 = 0 ;
11444 bool temp2 = False ;
11445 PyObject * obj0 = 0 ;
11446 PyObject * obj1 = 0 ;
11447 char *kwnames[] = {
11448 (char *) "self",(char *) "message", NULL
11449 };
11450
11451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11453 {
11454 arg2 = wxString_in_helper(obj1);
11455 if (arg2 == NULL) SWIG_fail;
11456 temp2 = True;
11457 }
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 (arg1)->SetMessage((wxString const &)*arg2);
11461
11462 wxPyEndAllowThreads(__tstate);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 }
11465 Py_INCREF(Py_None); resultobj = Py_None;
11466 {
11467 if (temp2)
11468 delete arg2;
11469 }
11470 return resultobj;
11471 fail:
11472 {
11473 if (temp2)
11474 delete arg2;
11475 }
11476 return NULL;
11477 }
11478
11479
11480 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11481 PyObject *resultobj;
11482 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11483 wxString *arg2 = 0 ;
11484 bool temp2 = False ;
11485 PyObject * obj0 = 0 ;
11486 PyObject * obj1 = 0 ;
11487 char *kwnames[] = {
11488 (char *) "self",(char *) "path", NULL
11489 };
11490
11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11493 {
11494 arg2 = wxString_in_helper(obj1);
11495 if (arg2 == NULL) SWIG_fail;
11496 temp2 = True;
11497 }
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 (arg1)->SetPath((wxString const &)*arg2);
11501
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 Py_INCREF(Py_None); resultobj = Py_None;
11506 {
11507 if (temp2)
11508 delete arg2;
11509 }
11510 return resultobj;
11511 fail:
11512 {
11513 if (temp2)
11514 delete arg2;
11515 }
11516 return NULL;
11517 }
11518
11519
11520 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11521 PyObject *resultobj;
11522 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11523 wxString *arg2 = 0 ;
11524 bool temp2 = False ;
11525 PyObject * obj0 = 0 ;
11526 PyObject * obj1 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "self",(char *) "dir", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11533 {
11534 arg2 = wxString_in_helper(obj1);
11535 if (arg2 == NULL) SWIG_fail;
11536 temp2 = True;
11537 }
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 (arg1)->SetDirectory((wxString const &)*arg2);
11541
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 Py_INCREF(Py_None); resultobj = Py_None;
11546 {
11547 if (temp2)
11548 delete arg2;
11549 }
11550 return resultobj;
11551 fail:
11552 {
11553 if (temp2)
11554 delete arg2;
11555 }
11556 return NULL;
11557 }
11558
11559
11560 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11561 PyObject *resultobj;
11562 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11563 wxString *arg2 = 0 ;
11564 bool temp2 = False ;
11565 PyObject * obj0 = 0 ;
11566 PyObject * obj1 = 0 ;
11567 char *kwnames[] = {
11568 (char *) "self",(char *) "name", NULL
11569 };
11570
11571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11573 {
11574 arg2 = wxString_in_helper(obj1);
11575 if (arg2 == NULL) SWIG_fail;
11576 temp2 = True;
11577 }
11578 {
11579 PyThreadState* __tstate = wxPyBeginAllowThreads();
11580 (arg1)->SetFilename((wxString const &)*arg2);
11581
11582 wxPyEndAllowThreads(__tstate);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 }
11585 Py_INCREF(Py_None); resultobj = Py_None;
11586 {
11587 if (temp2)
11588 delete arg2;
11589 }
11590 return resultobj;
11591 fail:
11592 {
11593 if (temp2)
11594 delete arg2;
11595 }
11596 return NULL;
11597 }
11598
11599
11600 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11601 PyObject *resultobj;
11602 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11603 wxString *arg2 = 0 ;
11604 bool temp2 = False ;
11605 PyObject * obj0 = 0 ;
11606 PyObject * obj1 = 0 ;
11607 char *kwnames[] = {
11608 (char *) "self",(char *) "wildCard", NULL
11609 };
11610
11611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11613 {
11614 arg2 = wxString_in_helper(obj1);
11615 if (arg2 == NULL) SWIG_fail;
11616 temp2 = True;
11617 }
11618 {
11619 PyThreadState* __tstate = wxPyBeginAllowThreads();
11620 (arg1)->SetWildcard((wxString const &)*arg2);
11621
11622 wxPyEndAllowThreads(__tstate);
11623 if (PyErr_Occurred()) SWIG_fail;
11624 }
11625 Py_INCREF(Py_None); resultobj = Py_None;
11626 {
11627 if (temp2)
11628 delete arg2;
11629 }
11630 return resultobj;
11631 fail:
11632 {
11633 if (temp2)
11634 delete arg2;
11635 }
11636 return NULL;
11637 }
11638
11639
11640 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11641 PyObject *resultobj;
11642 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11643 long arg2 ;
11644 PyObject * obj0 = 0 ;
11645 PyObject * obj1 = 0 ;
11646 char *kwnames[] = {
11647 (char *) "self",(char *) "style", NULL
11648 };
11649
11650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11652 {
11653 arg2 = (long) SWIG_PyObj_AsLong(obj1);
11654 if (PyErr_Occurred()) SWIG_fail;
11655 }
11656 {
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 (arg1)->SetStyle(arg2);
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 Py_INCREF(Py_None); resultobj = Py_None;
11664 return resultobj;
11665 fail:
11666 return NULL;
11667 }
11668
11669
11670 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11671 PyObject *resultobj;
11672 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11673 int arg2 ;
11674 PyObject * obj0 = 0 ;
11675 PyObject * obj1 = 0 ;
11676 char *kwnames[] = {
11677 (char *) "self",(char *) "filterIndex", NULL
11678 };
11679
11680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11682 {
11683 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 {
11687 PyThreadState* __tstate = wxPyBeginAllowThreads();
11688 (arg1)->SetFilterIndex(arg2);
11689
11690 wxPyEndAllowThreads(__tstate);
11691 if (PyErr_Occurred()) SWIG_fail;
11692 }
11693 Py_INCREF(Py_None); resultobj = Py_None;
11694 return resultobj;
11695 fail:
11696 return NULL;
11697 }
11698
11699
11700 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11701 PyObject *resultobj;
11702 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11703 wxString result;
11704 PyObject * obj0 = 0 ;
11705 char *kwnames[] = {
11706 (char *) "self", NULL
11707 };
11708
11709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11711 {
11712 PyThreadState* __tstate = wxPyBeginAllowThreads();
11713 result = ((wxFileDialog const *)arg1)->GetMessage();
11714
11715 wxPyEndAllowThreads(__tstate);
11716 if (PyErr_Occurred()) SWIG_fail;
11717 }
11718 {
11719 #if wxUSE_UNICODE
11720 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11721 #else
11722 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11723 #endif
11724 }
11725 return resultobj;
11726 fail:
11727 return NULL;
11728 }
11729
11730
11731 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11732 PyObject *resultobj;
11733 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11734 wxString result;
11735 PyObject * obj0 = 0 ;
11736 char *kwnames[] = {
11737 (char *) "self", NULL
11738 };
11739
11740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11742 {
11743 PyThreadState* __tstate = wxPyBeginAllowThreads();
11744 result = ((wxFileDialog const *)arg1)->GetPath();
11745
11746 wxPyEndAllowThreads(__tstate);
11747 if (PyErr_Occurred()) SWIG_fail;
11748 }
11749 {
11750 #if wxUSE_UNICODE
11751 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11752 #else
11753 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11754 #endif
11755 }
11756 return resultobj;
11757 fail:
11758 return NULL;
11759 }
11760
11761
11762 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11763 PyObject *resultobj;
11764 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11765 wxString result;
11766 PyObject * obj0 = 0 ;
11767 char *kwnames[] = {
11768 (char *) "self", NULL
11769 };
11770
11771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11773 {
11774 PyThreadState* __tstate = wxPyBeginAllowThreads();
11775 result = ((wxFileDialog const *)arg1)->GetDirectory();
11776
11777 wxPyEndAllowThreads(__tstate);
11778 if (PyErr_Occurred()) SWIG_fail;
11779 }
11780 {
11781 #if wxUSE_UNICODE
11782 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11783 #else
11784 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11785 #endif
11786 }
11787 return resultobj;
11788 fail:
11789 return NULL;
11790 }
11791
11792
11793 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11794 PyObject *resultobj;
11795 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11796 wxString result;
11797 PyObject * obj0 = 0 ;
11798 char *kwnames[] = {
11799 (char *) "self", NULL
11800 };
11801
11802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11804 {
11805 PyThreadState* __tstate = wxPyBeginAllowThreads();
11806 result = ((wxFileDialog const *)arg1)->GetFilename();
11807
11808 wxPyEndAllowThreads(__tstate);
11809 if (PyErr_Occurred()) SWIG_fail;
11810 }
11811 {
11812 #if wxUSE_UNICODE
11813 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11814 #else
11815 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11816 #endif
11817 }
11818 return resultobj;
11819 fail:
11820 return NULL;
11821 }
11822
11823
11824 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj;
11826 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11827 wxString result;
11828 PyObject * obj0 = 0 ;
11829 char *kwnames[] = {
11830 (char *) "self", NULL
11831 };
11832
11833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11835 {
11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
11837 result = ((wxFileDialog const *)arg1)->GetWildcard();
11838
11839 wxPyEndAllowThreads(__tstate);
11840 if (PyErr_Occurred()) SWIG_fail;
11841 }
11842 {
11843 #if wxUSE_UNICODE
11844 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11845 #else
11846 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11847 #endif
11848 }
11849 return resultobj;
11850 fail:
11851 return NULL;
11852 }
11853
11854
11855 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11856 PyObject *resultobj;
11857 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11858 long result;
11859 PyObject * obj0 = 0 ;
11860 char *kwnames[] = {
11861 (char *) "self", NULL
11862 };
11863
11864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11866 {
11867 PyThreadState* __tstate = wxPyBeginAllowThreads();
11868 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11869
11870 wxPyEndAllowThreads(__tstate);
11871 if (PyErr_Occurred()) SWIG_fail;
11872 }
11873 resultobj = SWIG_PyObj_FromLong((long)result);
11874 return resultobj;
11875 fail:
11876 return NULL;
11877 }
11878
11879
11880 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11881 PyObject *resultobj;
11882 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11883 int result;
11884 PyObject * obj0 = 0 ;
11885 char *kwnames[] = {
11886 (char *) "self", NULL
11887 };
11888
11889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11891 {
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11894
11895 wxPyEndAllowThreads(__tstate);
11896 if (PyErr_Occurred()) SWIG_fail;
11897 }
11898 resultobj = SWIG_PyObj_FromInt((int)result);
11899 return resultobj;
11900 fail:
11901 return NULL;
11902 }
11903
11904
11905 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11906 PyObject *resultobj;
11907 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11908 PyObject *result;
11909 PyObject * obj0 = 0 ;
11910 char *kwnames[] = {
11911 (char *) "self", NULL
11912 };
11913
11914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11916 {
11917 PyThreadState* __tstate = wxPyBeginAllowThreads();
11918 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11919
11920 wxPyEndAllowThreads(__tstate);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 resultobj = result;
11924 return resultobj;
11925 fail:
11926 return NULL;
11927 }
11928
11929
11930 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11931 PyObject *resultobj;
11932 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11933 PyObject *result;
11934 PyObject * obj0 = 0 ;
11935 char *kwnames[] = {
11936 (char *) "self", NULL
11937 };
11938
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11941 {
11942 PyThreadState* __tstate = wxPyBeginAllowThreads();
11943 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11944
11945 wxPyEndAllowThreads(__tstate);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 }
11948 resultobj = result;
11949 return resultobj;
11950 fail:
11951 return NULL;
11952 }
11953
11954
11955 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11956 PyObject *obj;
11957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11958 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11959 Py_INCREF(obj);
11960 return Py_BuildValue((char *)"");
11961 }
11962 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11963 PyObject *resultobj;
11964 wxWindow *arg1 = (wxWindow *) 0 ;
11965 wxString *arg2 = 0 ;
11966 wxString *arg3 = 0 ;
11967 int arg4 = (int) 0 ;
11968 wxString *arg5 = (wxString *) 0 ;
11969 long arg6 = (long) wxCHOICEDLG_STYLE ;
11970 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11971 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11972 wxMultiChoiceDialog *result;
11973 bool temp2 = False ;
11974 bool temp3 = False ;
11975 wxPoint temp6 ;
11976 PyObject * obj0 = 0 ;
11977 PyObject * obj1 = 0 ;
11978 PyObject * obj2 = 0 ;
11979 PyObject * obj3 = 0 ;
11980 PyObject * obj4 = 0 ;
11981 PyObject * obj5 = 0 ;
11982 char *kwnames[] = {
11983 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11984 };
11985
11986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11988 {
11989 arg2 = wxString_in_helper(obj1);
11990 if (arg2 == NULL) SWIG_fail;
11991 temp2 = True;
11992 }
11993 {
11994 arg3 = wxString_in_helper(obj2);
11995 if (arg3 == NULL) SWIG_fail;
11996 temp3 = True;
11997 }
11998 if (obj3) {
11999 {
12000 arg4 = PyList_Size(obj3);
12001 arg5 = wxString_LIST_helper(obj3);
12002 if (arg5 == NULL) SWIG_fail;
12003 }
12004 }
12005 if (obj4) {
12006 {
12007 arg6 = (long) SWIG_PyObj_AsLong(obj4);
12008 if (PyErr_Occurred()) SWIG_fail;
12009 }
12010 }
12011 if (obj5) {
12012 {
12013 arg7 = &temp6;
12014 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12015 }
12016 }
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
12025 {
12026 if (temp2)
12027 delete arg2;
12028 }
12029 {
12030 if (temp3)
12031 delete arg3;
12032 }
12033 {
12034 if (arg5) delete [] arg5;
12035 }
12036 return resultobj;
12037 fail:
12038 {
12039 if (temp2)
12040 delete arg2;
12041 }
12042 {
12043 if (temp3)
12044 delete arg3;
12045 }
12046 {
12047 if (arg5) delete [] arg5;
12048 }
12049 return NULL;
12050 }
12051
12052
12053 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12054 PyObject *resultobj;
12055 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12056 wxArrayInt *arg2 = 0 ;
12057 PyObject * obj0 = 0 ;
12058 PyObject * obj1 = 0 ;
12059 char *kwnames[] = {
12060 (char *) "self",(char *) "selections", NULL
12061 };
12062
12063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12065 {
12066 if (! PySequence_Check(obj1)) {
12067 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12068 SWIG_fail;
12069 }
12070 arg2 = new wxArrayInt;
12071 int i, len=PySequence_Length(obj1);
12072 for (i=0; i<len; i++) {
12073 PyObject* item = PySequence_GetItem(obj1, i);
12074 PyObject* number = PyNumber_Int(item);
12075 arg2->Add(PyInt_AS_LONG(number));
12076 Py_DECREF(item);
12077 Py_DECREF(number);
12078 }
12079 }
12080 {
12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
12082 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12083
12084 wxPyEndAllowThreads(__tstate);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 Py_INCREF(Py_None); resultobj = Py_None;
12088 {
12089 if (arg2) delete arg2;
12090 }
12091 return resultobj;
12092 fail:
12093 {
12094 if (arg2) delete arg2;
12095 }
12096 return NULL;
12097 }
12098
12099
12100 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12101 PyObject *resultobj;
12102 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12103 PyObject *result;
12104 PyObject * obj0 = 0 ;
12105 char *kwnames[] = {
12106 (char *) "self", NULL
12107 };
12108
12109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12111 {
12112 PyThreadState* __tstate = wxPyBeginAllowThreads();
12113 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12114
12115 wxPyEndAllowThreads(__tstate);
12116 if (PyErr_Occurred()) SWIG_fail;
12117 }
12118 resultobj = result;
12119 return resultobj;
12120 fail:
12121 return NULL;
12122 }
12123
12124
12125 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12126 PyObject *obj;
12127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12128 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12129 Py_INCREF(obj);
12130 return Py_BuildValue((char *)"");
12131 }
12132 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12133 PyObject *resultobj;
12134 wxWindow *arg1 = (wxWindow *) 0 ;
12135 wxString *arg2 = 0 ;
12136 wxString *arg3 = 0 ;
12137 int arg4 ;
12138 wxString *arg5 = (wxString *) 0 ;
12139 long arg6 = (long) wxCHOICEDLG_STYLE ;
12140 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12141 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12142 wxSingleChoiceDialog *result;
12143 bool temp2 = False ;
12144 bool temp3 = False ;
12145 wxPoint temp6 ;
12146 PyObject * obj0 = 0 ;
12147 PyObject * obj1 = 0 ;
12148 PyObject * obj2 = 0 ;
12149 PyObject * obj3 = 0 ;
12150 PyObject * obj4 = 0 ;
12151 PyObject * obj5 = 0 ;
12152 char *kwnames[] = {
12153 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12154 };
12155
12156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12158 {
12159 arg2 = wxString_in_helper(obj1);
12160 if (arg2 == NULL) SWIG_fail;
12161 temp2 = True;
12162 }
12163 {
12164 arg3 = wxString_in_helper(obj2);
12165 if (arg3 == NULL) SWIG_fail;
12166 temp3 = True;
12167 }
12168 {
12169 arg4 = PyList_Size(obj3);
12170 arg5 = wxString_LIST_helper(obj3);
12171 if (arg5 == NULL) SWIG_fail;
12172 }
12173 if (obj4) {
12174 {
12175 arg6 = (long) SWIG_PyObj_AsLong(obj4);
12176 if (PyErr_Occurred()) SWIG_fail;
12177 }
12178 }
12179 if (obj5) {
12180 {
12181 arg7 = &temp6;
12182 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12183 }
12184 }
12185 {
12186 PyThreadState* __tstate = wxPyBeginAllowThreads();
12187 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12188
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
12193 {
12194 if (temp2)
12195 delete arg2;
12196 }
12197 {
12198 if (temp3)
12199 delete arg3;
12200 }
12201 {
12202 if (arg5) delete [] arg5;
12203 }
12204 return resultobj;
12205 fail:
12206 {
12207 if (temp2)
12208 delete arg2;
12209 }
12210 {
12211 if (temp3)
12212 delete arg3;
12213 }
12214 {
12215 if (arg5) delete [] arg5;
12216 }
12217 return NULL;
12218 }
12219
12220
12221 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12222 PyObject *resultobj;
12223 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12224 int result;
12225 PyObject * obj0 = 0 ;
12226 char *kwnames[] = {
12227 (char *) "self", NULL
12228 };
12229
12230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12232 {
12233 PyThreadState* __tstate = wxPyBeginAllowThreads();
12234 result = (int)(arg1)->GetSelection();
12235
12236 wxPyEndAllowThreads(__tstate);
12237 if (PyErr_Occurred()) SWIG_fail;
12238 }
12239 resultobj = SWIG_PyObj_FromInt((int)result);
12240 return resultobj;
12241 fail:
12242 return NULL;
12243 }
12244
12245
12246 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12247 PyObject *resultobj;
12248 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12249 wxString result;
12250 PyObject * obj0 = 0 ;
12251 char *kwnames[] = {
12252 (char *) "self", NULL
12253 };
12254
12255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12257 {
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 result = (arg1)->GetStringSelection();
12260
12261 wxPyEndAllowThreads(__tstate);
12262 if (PyErr_Occurred()) SWIG_fail;
12263 }
12264 {
12265 #if wxUSE_UNICODE
12266 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12267 #else
12268 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12269 #endif
12270 }
12271 return resultobj;
12272 fail:
12273 return NULL;
12274 }
12275
12276
12277 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12278 PyObject *resultobj;
12279 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12280 int arg2 ;
12281 PyObject * obj0 = 0 ;
12282 PyObject * obj1 = 0 ;
12283 char *kwnames[] = {
12284 (char *) "self",(char *) "sel", NULL
12285 };
12286
12287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12289 {
12290 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 {
12294 PyThreadState* __tstate = wxPyBeginAllowThreads();
12295 (arg1)->SetSelection(arg2);
12296
12297 wxPyEndAllowThreads(__tstate);
12298 if (PyErr_Occurred()) SWIG_fail;
12299 }
12300 Py_INCREF(Py_None); resultobj = Py_None;
12301 return resultobj;
12302 fail:
12303 return NULL;
12304 }
12305
12306
12307 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12308 PyObject *resultobj;
12309 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12310 int result;
12311 PyObject * obj0 = 0 ;
12312 char *kwnames[] = {
12313 (char *) "self", NULL
12314 };
12315
12316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
12317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12318 {
12319 PyThreadState* __tstate = wxPyBeginAllowThreads();
12320 result = (int)(arg1)->ShowModal();
12321
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 resultobj = SWIG_PyObj_FromInt((int)result);
12326 return resultobj;
12327 fail:
12328 return NULL;
12329 }
12330
12331
12332 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12333 PyObject *obj;
12334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12335 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12336 Py_INCREF(obj);
12337 return Py_BuildValue((char *)"");
12338 }
12339 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12340 PyObject *resultobj;
12341 wxWindow *arg1 = (wxWindow *) 0 ;
12342 wxString *arg2 = 0 ;
12343 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12344 wxString *arg3 = (wxString *) &arg3_defvalue ;
12345 wxString const &arg4_defvalue = wxPyEmptyString ;
12346 wxString *arg4 = (wxString *) &arg4_defvalue ;
12347 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12348 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12349 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12350 wxTextEntryDialog *result;
12351 bool temp2 = False ;
12352 bool temp3 = False ;
12353 bool temp4 = False ;
12354 wxPoint temp6 ;
12355 PyObject * obj0 = 0 ;
12356 PyObject * obj1 = 0 ;
12357 PyObject * obj2 = 0 ;
12358 PyObject * obj3 = 0 ;
12359 PyObject * obj4 = 0 ;
12360 PyObject * obj5 = 0 ;
12361 char *kwnames[] = {
12362 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12363 };
12364
12365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12367 {
12368 arg2 = wxString_in_helper(obj1);
12369 if (arg2 == NULL) SWIG_fail;
12370 temp2 = True;
12371 }
12372 if (obj2) {
12373 {
12374 arg3 = wxString_in_helper(obj2);
12375 if (arg3 == NULL) SWIG_fail;
12376 temp3 = True;
12377 }
12378 }
12379 if (obj3) {
12380 {
12381 arg4 = wxString_in_helper(obj3);
12382 if (arg4 == NULL) SWIG_fail;
12383 temp4 = True;
12384 }
12385 }
12386 if (obj4) {
12387 {
12388 arg5 = (long) SWIG_PyObj_AsLong(obj4);
12389 if (PyErr_Occurred()) SWIG_fail;
12390 }
12391 }
12392 if (obj5) {
12393 {
12394 arg6 = &temp6;
12395 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12396 }
12397 }
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
12406 {
12407 if (temp2)
12408 delete arg2;
12409 }
12410 {
12411 if (temp3)
12412 delete arg3;
12413 }
12414 {
12415 if (temp4)
12416 delete arg4;
12417 }
12418 return resultobj;
12419 fail:
12420 {
12421 if (temp2)
12422 delete arg2;
12423 }
12424 {
12425 if (temp3)
12426 delete arg3;
12427 }
12428 {
12429 if (temp4)
12430 delete arg4;
12431 }
12432 return NULL;
12433 }
12434
12435
12436 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12439 wxString result;
12440 PyObject * obj0 = 0 ;
12441 char *kwnames[] = {
12442 (char *) "self", NULL
12443 };
12444
12445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (arg1)->GetValue();
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 {
12455 #if wxUSE_UNICODE
12456 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12457 #else
12458 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12459 #endif
12460 }
12461 return resultobj;
12462 fail:
12463 return NULL;
12464 }
12465
12466
12467 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12468 PyObject *resultobj;
12469 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12470 wxString *arg2 = 0 ;
12471 bool temp2 = False ;
12472 PyObject * obj0 = 0 ;
12473 PyObject * obj1 = 0 ;
12474 char *kwnames[] = {
12475 (char *) "self",(char *) "value", NULL
12476 };
12477
12478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12480 {
12481 arg2 = wxString_in_helper(obj1);
12482 if (arg2 == NULL) SWIG_fail;
12483 temp2 = True;
12484 }
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 (arg1)->SetValue((wxString const &)*arg2);
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 Py_INCREF(Py_None); resultobj = Py_None;
12493 {
12494 if (temp2)
12495 delete arg2;
12496 }
12497 return resultobj;
12498 fail:
12499 {
12500 if (temp2)
12501 delete arg2;
12502 }
12503 return NULL;
12504 }
12505
12506
12507 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12508 PyObject *resultobj;
12509 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12510 int result;
12511 PyObject * obj0 = 0 ;
12512 char *kwnames[] = {
12513 (char *) "self", NULL
12514 };
12515
12516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
12517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12518 {
12519 PyThreadState* __tstate = wxPyBeginAllowThreads();
12520 result = (int)(arg1)->ShowModal();
12521
12522 wxPyEndAllowThreads(__tstate);
12523 if (PyErr_Occurred()) SWIG_fail;
12524 }
12525 resultobj = SWIG_PyObj_FromInt((int)result);
12526 return resultobj;
12527 fail:
12528 return NULL;
12529 }
12530
12531
12532 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12533 PyObject *obj;
12534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12535 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12536 Py_INCREF(obj);
12537 return Py_BuildValue((char *)"");
12538 }
12539 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12540 PyObject *resultobj;
12541 wxFontData *result;
12542 char *kwnames[] = {
12543 NULL
12544 };
12545
12546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12547 {
12548 PyThreadState* __tstate = wxPyBeginAllowThreads();
12549 result = (wxFontData *)new wxFontData();
12550
12551 wxPyEndAllowThreads(__tstate);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 }
12554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
12555 return resultobj;
12556 fail:
12557 return NULL;
12558 }
12559
12560
12561 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12562 PyObject *resultobj;
12563 wxFontData *arg1 = (wxFontData *) 0 ;
12564 PyObject * obj0 = 0 ;
12565 char *kwnames[] = {
12566 (char *) "self", NULL
12567 };
12568
12569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12571 {
12572 PyThreadState* __tstate = wxPyBeginAllowThreads();
12573 delete arg1;
12574
12575 wxPyEndAllowThreads(__tstate);
12576 if (PyErr_Occurred()) SWIG_fail;
12577 }
12578 Py_INCREF(Py_None); resultobj = Py_None;
12579 return resultobj;
12580 fail:
12581 return NULL;
12582 }
12583
12584
12585 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12586 PyObject *resultobj;
12587 wxFontData *arg1 = (wxFontData *) 0 ;
12588 bool arg2 ;
12589 PyObject * obj0 = 0 ;
12590 PyObject * obj1 = 0 ;
12591 char *kwnames[] = {
12592 (char *) "self",(char *) "enable", NULL
12593 };
12594
12595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12597 {
12598 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 }
12601 {
12602 PyThreadState* __tstate = wxPyBeginAllowThreads();
12603 (arg1)->EnableEffects(arg2);
12604
12605 wxPyEndAllowThreads(__tstate);
12606 if (PyErr_Occurred()) SWIG_fail;
12607 }
12608 Py_INCREF(Py_None); resultobj = Py_None;
12609 return resultobj;
12610 fail:
12611 return NULL;
12612 }
12613
12614
12615 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12616 PyObject *resultobj;
12617 wxFontData *arg1 = (wxFontData *) 0 ;
12618 bool result;
12619 PyObject * obj0 = 0 ;
12620 char *kwnames[] = {
12621 (char *) "self", NULL
12622 };
12623
12624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12626 {
12627 PyThreadState* __tstate = wxPyBeginAllowThreads();
12628 result = (bool)(arg1)->GetAllowSymbols();
12629
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12634 return resultobj;
12635 fail:
12636 return NULL;
12637 }
12638
12639
12640 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12641 PyObject *resultobj;
12642 wxFontData *arg1 = (wxFontData *) 0 ;
12643 wxColour result;
12644 PyObject * obj0 = 0 ;
12645 char *kwnames[] = {
12646 (char *) "self", NULL
12647 };
12648
12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12651 {
12652 PyThreadState* __tstate = wxPyBeginAllowThreads();
12653 result = (arg1)->GetColour();
12654
12655 wxPyEndAllowThreads(__tstate);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 }
12658 {
12659 wxColour * resultptr;
12660 resultptr = new wxColour((wxColour &) result);
12661 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
12662 }
12663 return resultobj;
12664 fail:
12665 return NULL;
12666 }
12667
12668
12669 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12670 PyObject *resultobj;
12671 wxFontData *arg1 = (wxFontData *) 0 ;
12672 wxFont result;
12673 PyObject * obj0 = 0 ;
12674 char *kwnames[] = {
12675 (char *) "self", NULL
12676 };
12677
12678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12680 {
12681 PyThreadState* __tstate = wxPyBeginAllowThreads();
12682 result = (arg1)->GetChosenFont();
12683
12684 wxPyEndAllowThreads(__tstate);
12685 if (PyErr_Occurred()) SWIG_fail;
12686 }
12687 {
12688 wxFont * resultptr;
12689 resultptr = new wxFont((wxFont &) result);
12690 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
12691 }
12692 return resultobj;
12693 fail:
12694 return NULL;
12695 }
12696
12697
12698 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12699 PyObject *resultobj;
12700 wxFontData *arg1 = (wxFontData *) 0 ;
12701 bool result;
12702 PyObject * obj0 = 0 ;
12703 char *kwnames[] = {
12704 (char *) "self", NULL
12705 };
12706
12707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12709 {
12710 PyThreadState* __tstate = wxPyBeginAllowThreads();
12711 result = (bool)(arg1)->GetEnableEffects();
12712
12713 wxPyEndAllowThreads(__tstate);
12714 if (PyErr_Occurred()) SWIG_fail;
12715 }
12716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12717 return resultobj;
12718 fail:
12719 return NULL;
12720 }
12721
12722
12723 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12724 PyObject *resultobj;
12725 wxFontData *arg1 = (wxFontData *) 0 ;
12726 wxFont result;
12727 PyObject * obj0 = 0 ;
12728 char *kwnames[] = {
12729 (char *) "self", NULL
12730 };
12731
12732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12734 {
12735 PyThreadState* __tstate = wxPyBeginAllowThreads();
12736 result = (arg1)->GetInitialFont();
12737
12738 wxPyEndAllowThreads(__tstate);
12739 if (PyErr_Occurred()) SWIG_fail;
12740 }
12741 {
12742 wxFont * resultptr;
12743 resultptr = new wxFont((wxFont &) result);
12744 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
12745 }
12746 return resultobj;
12747 fail:
12748 return NULL;
12749 }
12750
12751
12752 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12753 PyObject *resultobj;
12754 wxFontData *arg1 = (wxFontData *) 0 ;
12755 bool result;
12756 PyObject * obj0 = 0 ;
12757 char *kwnames[] = {
12758 (char *) "self", NULL
12759 };
12760
12761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12763 {
12764 PyThreadState* __tstate = wxPyBeginAllowThreads();
12765 result = (bool)(arg1)->GetShowHelp();
12766
12767 wxPyEndAllowThreads(__tstate);
12768 if (PyErr_Occurred()) SWIG_fail;
12769 }
12770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12771 return resultobj;
12772 fail:
12773 return NULL;
12774 }
12775
12776
12777 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12778 PyObject *resultobj;
12779 wxFontData *arg1 = (wxFontData *) 0 ;
12780 bool arg2 ;
12781 PyObject * obj0 = 0 ;
12782 PyObject * obj1 = 0 ;
12783 char *kwnames[] = {
12784 (char *) "self",(char *) "allowSymbols", NULL
12785 };
12786
12787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12789 {
12790 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 {
12794 PyThreadState* __tstate = wxPyBeginAllowThreads();
12795 (arg1)->SetAllowSymbols(arg2);
12796
12797 wxPyEndAllowThreads(__tstate);
12798 if (PyErr_Occurred()) SWIG_fail;
12799 }
12800 Py_INCREF(Py_None); resultobj = Py_None;
12801 return resultobj;
12802 fail:
12803 return NULL;
12804 }
12805
12806
12807 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12808 PyObject *resultobj;
12809 wxFontData *arg1 = (wxFontData *) 0 ;
12810 wxFont *arg2 = 0 ;
12811 PyObject * obj0 = 0 ;
12812 PyObject * obj1 = 0 ;
12813 char *kwnames[] = {
12814 (char *) "self",(char *) "font", NULL
12815 };
12816
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12819 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12820 if (arg2 == NULL) {
12821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12822 }
12823 {
12824 PyThreadState* __tstate = wxPyBeginAllowThreads();
12825 (arg1)->SetChosenFont((wxFont const &)*arg2);
12826
12827 wxPyEndAllowThreads(__tstate);
12828 if (PyErr_Occurred()) SWIG_fail;
12829 }
12830 Py_INCREF(Py_None); resultobj = Py_None;
12831 return resultobj;
12832 fail:
12833 return NULL;
12834 }
12835
12836
12837 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12838 PyObject *resultobj;
12839 wxFontData *arg1 = (wxFontData *) 0 ;
12840 wxColour *arg2 = 0 ;
12841 wxColour temp2 ;
12842 PyObject * obj0 = 0 ;
12843 PyObject * obj1 = 0 ;
12844 char *kwnames[] = {
12845 (char *) "self",(char *) "colour", NULL
12846 };
12847
12848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12850 {
12851 arg2 = &temp2;
12852 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12853 }
12854 {
12855 PyThreadState* __tstate = wxPyBeginAllowThreads();
12856 (arg1)->SetColour((wxColour const &)*arg2);
12857
12858 wxPyEndAllowThreads(__tstate);
12859 if (PyErr_Occurred()) SWIG_fail;
12860 }
12861 Py_INCREF(Py_None); resultobj = Py_None;
12862 return resultobj;
12863 fail:
12864 return NULL;
12865 }
12866
12867
12868 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj;
12870 wxFontData *arg1 = (wxFontData *) 0 ;
12871 wxFont *arg2 = 0 ;
12872 PyObject * obj0 = 0 ;
12873 PyObject * obj1 = 0 ;
12874 char *kwnames[] = {
12875 (char *) "self",(char *) "font", NULL
12876 };
12877
12878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12880 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12881 if (arg2 == NULL) {
12882 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12883 }
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 (arg1)->SetInitialFont((wxFont const &)*arg2);
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 Py_INCREF(Py_None); resultobj = Py_None;
12892 return resultobj;
12893 fail:
12894 return NULL;
12895 }
12896
12897
12898 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxFontData *arg1 = (wxFontData *) 0 ;
12901 int arg2 ;
12902 int arg3 ;
12903 PyObject * obj0 = 0 ;
12904 PyObject * obj1 = 0 ;
12905 PyObject * obj2 = 0 ;
12906 char *kwnames[] = {
12907 (char *) "self",(char *) "min",(char *) "max", NULL
12908 };
12909
12910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12912 {
12913 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 }
12916 {
12917 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 (arg1)->SetRange(arg2,arg3);
12923
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 Py_INCREF(Py_None); resultobj = Py_None;
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj;
12936 wxFontData *arg1 = (wxFontData *) 0 ;
12937 bool arg2 ;
12938 PyObject * obj0 = 0 ;
12939 PyObject * obj1 = 0 ;
12940 char *kwnames[] = {
12941 (char *) "self",(char *) "showHelp", NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12946 {
12947 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 {
12951 PyThreadState* __tstate = wxPyBeginAllowThreads();
12952 (arg1)->SetShowHelp(arg2);
12953
12954 wxPyEndAllowThreads(__tstate);
12955 if (PyErr_Occurred()) SWIG_fail;
12956 }
12957 Py_INCREF(Py_None); resultobj = Py_None;
12958 return resultobj;
12959 fail:
12960 return NULL;
12961 }
12962
12963
12964 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
12965 PyObject *obj;
12966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12967 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12968 Py_INCREF(obj);
12969 return Py_BuildValue((char *)"");
12970 }
12971 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12972 PyObject *resultobj;
12973 wxWindow *arg1 = (wxWindow *) 0 ;
12974 wxFontData *arg2 = 0 ;
12975 wxFontDialog *result;
12976 PyObject * obj0 = 0 ;
12977 PyObject * obj1 = 0 ;
12978 char *kwnames[] = {
12979 (char *) "parent",(char *) "data", NULL
12980 };
12981
12982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12985 if (arg2 == NULL) {
12986 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12987 }
12988 {
12989 PyThreadState* __tstate = wxPyBeginAllowThreads();
12990 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12991
12992 wxPyEndAllowThreads(__tstate);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 }
12995 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
12996 return resultobj;
12997 fail:
12998 return NULL;
12999 }
13000
13001
13002 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13003 PyObject *resultobj;
13004 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13005 wxFontData *result;
13006 PyObject * obj0 = 0 ;
13007 char *kwnames[] = {
13008 (char *) "self", NULL
13009 };
13010
13011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13013 {
13014 PyThreadState* __tstate = wxPyBeginAllowThreads();
13015 {
13016 wxFontData &_result_ref = (arg1)->GetFontData();
13017 result = (wxFontData *) &_result_ref;
13018 }
13019
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
13024 return resultobj;
13025 fail:
13026 return NULL;
13027 }
13028
13029
13030 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
13031 PyObject *resultobj;
13032 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13033 int result;
13034 PyObject * obj0 = 0 ;
13035 char *kwnames[] = {
13036 (char *) "self", NULL
13037 };
13038
13039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
13040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13041 {
13042 PyThreadState* __tstate = wxPyBeginAllowThreads();
13043 result = (int)(arg1)->ShowModal();
13044
13045 wxPyEndAllowThreads(__tstate);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 }
13048 resultobj = SWIG_PyObj_FromInt((int)result);
13049 return resultobj;
13050 fail:
13051 return NULL;
13052 }
13053
13054
13055 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13056 PyObject *obj;
13057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13058 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13059 Py_INCREF(obj);
13060 return Py_BuildValue((char *)"");
13061 }
13062 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13063 PyObject *resultobj;
13064 wxWindow *arg1 = (wxWindow *) 0 ;
13065 wxString *arg2 = 0 ;
13066 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13067 wxString *arg3 = (wxString *) &arg3_defvalue ;
13068 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13069 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13070 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13071 wxMessageDialog *result;
13072 bool temp2 = False ;
13073 bool temp3 = False ;
13074 wxPoint temp5 ;
13075 PyObject * obj0 = 0 ;
13076 PyObject * obj1 = 0 ;
13077 PyObject * obj2 = 0 ;
13078 PyObject * obj3 = 0 ;
13079 PyObject * obj4 = 0 ;
13080 char *kwnames[] = {
13081 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13082 };
13083
13084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13086 {
13087 arg2 = wxString_in_helper(obj1);
13088 if (arg2 == NULL) SWIG_fail;
13089 temp2 = True;
13090 }
13091 if (obj2) {
13092 {
13093 arg3 = wxString_in_helper(obj2);
13094 if (arg3 == NULL) SWIG_fail;
13095 temp3 = True;
13096 }
13097 }
13098 if (obj3) {
13099 {
13100 arg4 = (long) SWIG_PyObj_AsLong(obj3);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 }
13103 }
13104 if (obj4) {
13105 {
13106 arg5 = &temp5;
13107 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13108 }
13109 }
13110 {
13111 PyThreadState* __tstate = wxPyBeginAllowThreads();
13112 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13113
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
13117 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
13118 {
13119 if (temp2)
13120 delete arg2;
13121 }
13122 {
13123 if (temp3)
13124 delete arg3;
13125 }
13126 return resultobj;
13127 fail:
13128 {
13129 if (temp2)
13130 delete arg2;
13131 }
13132 {
13133 if (temp3)
13134 delete arg3;
13135 }
13136 return NULL;
13137 }
13138
13139
13140 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
13141 PyObject *resultobj;
13142 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
13143 int result;
13144 PyObject * obj0 = 0 ;
13145 char *kwnames[] = {
13146 (char *) "self", NULL
13147 };
13148
13149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
13150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13151 {
13152 PyThreadState* __tstate = wxPyBeginAllowThreads();
13153 result = (int)(arg1)->ShowModal();
13154
13155 wxPyEndAllowThreads(__tstate);
13156 if (PyErr_Occurred()) SWIG_fail;
13157 }
13158 resultobj = SWIG_PyObj_FromInt((int)result);
13159 return resultobj;
13160 fail:
13161 return NULL;
13162 }
13163
13164
13165 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13166 PyObject *obj;
13167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13168 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13169 Py_INCREF(obj);
13170 return Py_BuildValue((char *)"");
13171 }
13172 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13173 PyObject *resultobj;
13174 wxString *arg1 = 0 ;
13175 wxString *arg2 = 0 ;
13176 int arg3 = (int) 100 ;
13177 wxWindow *arg4 = (wxWindow *) NULL ;
13178 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13179 wxProgressDialog *result;
13180 bool temp1 = False ;
13181 bool temp2 = False ;
13182 PyObject * obj0 = 0 ;
13183 PyObject * obj1 = 0 ;
13184 PyObject * obj2 = 0 ;
13185 PyObject * obj3 = 0 ;
13186 PyObject * obj4 = 0 ;
13187 char *kwnames[] = {
13188 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13189 };
13190
13191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13192 {
13193 arg1 = wxString_in_helper(obj0);
13194 if (arg1 == NULL) SWIG_fail;
13195 temp1 = True;
13196 }
13197 {
13198 arg2 = wxString_in_helper(obj1);
13199 if (arg2 == NULL) SWIG_fail;
13200 temp2 = True;
13201 }
13202 if (obj2) {
13203 {
13204 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 }
13208 if (obj3) {
13209 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13210 }
13211 if (obj4) {
13212 {
13213 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13214 if (PyErr_Occurred()) SWIG_fail;
13215 }
13216 }
13217 {
13218 PyThreadState* __tstate = wxPyBeginAllowThreads();
13219 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13220
13221 wxPyEndAllowThreads(__tstate);
13222 if (PyErr_Occurred()) SWIG_fail;
13223 }
13224 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
13225 {
13226 if (temp1)
13227 delete arg1;
13228 }
13229 {
13230 if (temp2)
13231 delete arg2;
13232 }
13233 return resultobj;
13234 fail:
13235 {
13236 if (temp1)
13237 delete arg1;
13238 }
13239 {
13240 if (temp2)
13241 delete arg2;
13242 }
13243 return NULL;
13244 }
13245
13246
13247 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13248 PyObject *resultobj;
13249 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13250 int arg2 ;
13251 wxString const &arg3_defvalue = wxPyEmptyString ;
13252 wxString *arg3 = (wxString *) &arg3_defvalue ;
13253 bool result;
13254 bool temp3 = False ;
13255 PyObject * obj0 = 0 ;
13256 PyObject * obj1 = 0 ;
13257 PyObject * obj2 = 0 ;
13258 char *kwnames[] = {
13259 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13260 };
13261
13262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13264 {
13265 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 if (obj2) {
13269 {
13270 arg3 = wxString_in_helper(obj2);
13271 if (arg3 == NULL) SWIG_fail;
13272 temp3 = True;
13273 }
13274 }
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
13277 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13278
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13283 {
13284 if (temp3)
13285 delete arg3;
13286 }
13287 return resultobj;
13288 fail:
13289 {
13290 if (temp3)
13291 delete arg3;
13292 }
13293 return NULL;
13294 }
13295
13296
13297 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13298 PyObject *resultobj;
13299 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13300 PyObject * obj0 = 0 ;
13301 char *kwnames[] = {
13302 (char *) "self", NULL
13303 };
13304
13305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13307 {
13308 PyThreadState* __tstate = wxPyBeginAllowThreads();
13309 (arg1)->Resume();
13310
13311 wxPyEndAllowThreads(__tstate);
13312 if (PyErr_Occurred()) SWIG_fail;
13313 }
13314 Py_INCREF(Py_None); resultobj = Py_None;
13315 return resultobj;
13316 fail:
13317 return NULL;
13318 }
13319
13320
13321 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13322 PyObject *obj;
13323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13324 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13325 Py_INCREF(obj);
13326 return Py_BuildValue((char *)"");
13327 }
13328 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13329 PyObject *resultobj;
13330 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13331 int arg2 = (int) 0 ;
13332 wxFindDialogEvent *result;
13333 PyObject * obj0 = 0 ;
13334 PyObject * obj1 = 0 ;
13335 char *kwnames[] = {
13336 (char *) "commandType",(char *) "id", NULL
13337 };
13338
13339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13340 if (obj0) {
13341 {
13342 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
13345 }
13346 if (obj1) {
13347 {
13348 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 }
13352 {
13353 PyThreadState* __tstate = wxPyBeginAllowThreads();
13354 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13355
13356 wxPyEndAllowThreads(__tstate);
13357 if (PyErr_Occurred()) SWIG_fail;
13358 }
13359 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
13360 return resultobj;
13361 fail:
13362 return NULL;
13363 }
13364
13365
13366 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13367 PyObject *resultobj;
13368 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13369 int result;
13370 PyObject * obj0 = 0 ;
13371 char *kwnames[] = {
13372 (char *) "self", NULL
13373 };
13374
13375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13377 {
13378 PyThreadState* __tstate = wxPyBeginAllowThreads();
13379 result = (int)(arg1)->GetFlags();
13380
13381 wxPyEndAllowThreads(__tstate);
13382 if (PyErr_Occurred()) SWIG_fail;
13383 }
13384 resultobj = SWIG_PyObj_FromInt((int)result);
13385 return resultobj;
13386 fail:
13387 return NULL;
13388 }
13389
13390
13391 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13392 PyObject *resultobj;
13393 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13394 wxString *result;
13395 PyObject * obj0 = 0 ;
13396 char *kwnames[] = {
13397 (char *) "self", NULL
13398 };
13399
13400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13402 {
13403 PyThreadState* __tstate = wxPyBeginAllowThreads();
13404 {
13405 wxString const &_result_ref = (arg1)->GetFindString();
13406 result = (wxString *) &_result_ref;
13407 }
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 {
13413 #if wxUSE_UNICODE
13414 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13415 #else
13416 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13417 #endif
13418 }
13419 return resultobj;
13420 fail:
13421 return NULL;
13422 }
13423
13424
13425 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13428 wxString *result;
13429 PyObject * obj0 = 0 ;
13430 char *kwnames[] = {
13431 (char *) "self", NULL
13432 };
13433
13434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13436 {
13437 PyThreadState* __tstate = wxPyBeginAllowThreads();
13438 {
13439 wxString const &_result_ref = (arg1)->GetReplaceString();
13440 result = (wxString *) &_result_ref;
13441 }
13442
13443 wxPyEndAllowThreads(__tstate);
13444 if (PyErr_Occurred()) SWIG_fail;
13445 }
13446 {
13447 #if wxUSE_UNICODE
13448 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13449 #else
13450 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13451 #endif
13452 }
13453 return resultobj;
13454 fail:
13455 return NULL;
13456 }
13457
13458
13459 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13460 PyObject *resultobj;
13461 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13462 wxFindReplaceDialog *result;
13463 PyObject * obj0 = 0 ;
13464 char *kwnames[] = {
13465 (char *) "self", NULL
13466 };
13467
13468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13470 {
13471 PyThreadState* __tstate = wxPyBeginAllowThreads();
13472 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13473
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
13478 return resultobj;
13479 fail:
13480 return NULL;
13481 }
13482
13483
13484 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13485 PyObject *resultobj;
13486 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13487 int arg2 ;
13488 PyObject * obj0 = 0 ;
13489 PyObject * obj1 = 0 ;
13490 char *kwnames[] = {
13491 (char *) "self",(char *) "flags", NULL
13492 };
13493
13494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13496 {
13497 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 (arg1)->SetFlags(arg2);
13503
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 Py_INCREF(Py_None); resultobj = Py_None;
13508 return resultobj;
13509 fail:
13510 return NULL;
13511 }
13512
13513
13514 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13515 PyObject *resultobj;
13516 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13517 wxString *arg2 = 0 ;
13518 bool temp2 = False ;
13519 PyObject * obj0 = 0 ;
13520 PyObject * obj1 = 0 ;
13521 char *kwnames[] = {
13522 (char *) "self",(char *) "str", NULL
13523 };
13524
13525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13527 {
13528 arg2 = wxString_in_helper(obj1);
13529 if (arg2 == NULL) SWIG_fail;
13530 temp2 = True;
13531 }
13532 {
13533 PyThreadState* __tstate = wxPyBeginAllowThreads();
13534 (arg1)->SetFindString((wxString const &)*arg2);
13535
13536 wxPyEndAllowThreads(__tstate);
13537 if (PyErr_Occurred()) SWIG_fail;
13538 }
13539 Py_INCREF(Py_None); resultobj = Py_None;
13540 {
13541 if (temp2)
13542 delete arg2;
13543 }
13544 return resultobj;
13545 fail:
13546 {
13547 if (temp2)
13548 delete arg2;
13549 }
13550 return NULL;
13551 }
13552
13553
13554 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13555 PyObject *resultobj;
13556 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13557 wxString *arg2 = 0 ;
13558 bool temp2 = False ;
13559 PyObject * obj0 = 0 ;
13560 PyObject * obj1 = 0 ;
13561 char *kwnames[] = {
13562 (char *) "self",(char *) "str", NULL
13563 };
13564
13565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13567 {
13568 arg2 = wxString_in_helper(obj1);
13569 if (arg2 == NULL) SWIG_fail;
13570 temp2 = True;
13571 }
13572 {
13573 PyThreadState* __tstate = wxPyBeginAllowThreads();
13574 (arg1)->SetReplaceString((wxString const &)*arg2);
13575
13576 wxPyEndAllowThreads(__tstate);
13577 if (PyErr_Occurred()) SWIG_fail;
13578 }
13579 Py_INCREF(Py_None); resultobj = Py_None;
13580 {
13581 if (temp2)
13582 delete arg2;
13583 }
13584 return resultobj;
13585 fail:
13586 {
13587 if (temp2)
13588 delete arg2;
13589 }
13590 return NULL;
13591 }
13592
13593
13594 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13595 PyObject *obj;
13596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13597 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13598 Py_INCREF(obj);
13599 return Py_BuildValue((char *)"");
13600 }
13601 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj;
13603 int arg1 = (int) 0 ;
13604 wxFindReplaceData *result;
13605 PyObject * obj0 = 0 ;
13606 char *kwnames[] = {
13607 (char *) "flags", NULL
13608 };
13609
13610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13611 if (obj0) {
13612 {
13613 arg1 = (int) SWIG_PyObj_AsInt(obj0);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
13616 }
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13620
13621 wxPyEndAllowThreads(__tstate);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
13625 return resultobj;
13626 fail:
13627 return NULL;
13628 }
13629
13630
13631 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13632 PyObject *resultobj;
13633 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13634 PyObject * obj0 = 0 ;
13635 char *kwnames[] = {
13636 (char *) "self", NULL
13637 };
13638
13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13641 {
13642 PyThreadState* __tstate = wxPyBeginAllowThreads();
13643 delete arg1;
13644
13645 wxPyEndAllowThreads(__tstate);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 Py_INCREF(Py_None); resultobj = Py_None;
13649 return resultobj;
13650 fail:
13651 return NULL;
13652 }
13653
13654
13655 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13656 PyObject *resultobj;
13657 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13658 wxString *result;
13659 PyObject * obj0 = 0 ;
13660 char *kwnames[] = {
13661 (char *) "self", NULL
13662 };
13663
13664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13666 {
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 {
13669 wxString const &_result_ref = (arg1)->GetFindString();
13670 result = (wxString *) &_result_ref;
13671 }
13672
13673 wxPyEndAllowThreads(__tstate);
13674 if (PyErr_Occurred()) SWIG_fail;
13675 }
13676 {
13677 #if wxUSE_UNICODE
13678 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13679 #else
13680 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13681 #endif
13682 }
13683 return resultobj;
13684 fail:
13685 return NULL;
13686 }
13687
13688
13689 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13690 PyObject *resultobj;
13691 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13692 wxString *result;
13693 PyObject * obj0 = 0 ;
13694 char *kwnames[] = {
13695 (char *) "self", NULL
13696 };
13697
13698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 {
13703 wxString const &_result_ref = (arg1)->GetReplaceString();
13704 result = (wxString *) &_result_ref;
13705 }
13706
13707 wxPyEndAllowThreads(__tstate);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 {
13711 #if wxUSE_UNICODE
13712 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13713 #else
13714 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13715 #endif
13716 }
13717 return resultobj;
13718 fail:
13719 return NULL;
13720 }
13721
13722
13723 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13724 PyObject *resultobj;
13725 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13726 int result;
13727 PyObject * obj0 = 0 ;
13728 char *kwnames[] = {
13729 (char *) "self", NULL
13730 };
13731
13732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13734 {
13735 PyThreadState* __tstate = wxPyBeginAllowThreads();
13736 result = (int)(arg1)->GetFlags();
13737
13738 wxPyEndAllowThreads(__tstate);
13739 if (PyErr_Occurred()) SWIG_fail;
13740 }
13741 resultobj = SWIG_PyObj_FromInt((int)result);
13742 return resultobj;
13743 fail:
13744 return NULL;
13745 }
13746
13747
13748 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj;
13750 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13751 int arg2 ;
13752 PyObject * obj0 = 0 ;
13753 PyObject * obj1 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "self",(char *) "flags", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13760 {
13761 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 }
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 (arg1)->SetFlags(arg2);
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 Py_INCREF(Py_None); resultobj = Py_None;
13772 return resultobj;
13773 fail:
13774 return NULL;
13775 }
13776
13777
13778 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13779 PyObject *resultobj;
13780 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13781 wxString *arg2 = 0 ;
13782 bool temp2 = False ;
13783 PyObject * obj0 = 0 ;
13784 PyObject * obj1 = 0 ;
13785 char *kwnames[] = {
13786 (char *) "self",(char *) "str", NULL
13787 };
13788
13789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13791 {
13792 arg2 = wxString_in_helper(obj1);
13793 if (arg2 == NULL) SWIG_fail;
13794 temp2 = True;
13795 }
13796 {
13797 PyThreadState* __tstate = wxPyBeginAllowThreads();
13798 (arg1)->SetFindString((wxString const &)*arg2);
13799
13800 wxPyEndAllowThreads(__tstate);
13801 if (PyErr_Occurred()) SWIG_fail;
13802 }
13803 Py_INCREF(Py_None); resultobj = Py_None;
13804 {
13805 if (temp2)
13806 delete arg2;
13807 }
13808 return resultobj;
13809 fail:
13810 {
13811 if (temp2)
13812 delete arg2;
13813 }
13814 return NULL;
13815 }
13816
13817
13818 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13819 PyObject *resultobj;
13820 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13821 wxString *arg2 = 0 ;
13822 bool temp2 = False ;
13823 PyObject * obj0 = 0 ;
13824 PyObject * obj1 = 0 ;
13825 char *kwnames[] = {
13826 (char *) "self",(char *) "str", NULL
13827 };
13828
13829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13831 {
13832 arg2 = wxString_in_helper(obj1);
13833 if (arg2 == NULL) SWIG_fail;
13834 temp2 = True;
13835 }
13836 {
13837 PyThreadState* __tstate = wxPyBeginAllowThreads();
13838 (arg1)->SetReplaceString((wxString const &)*arg2);
13839
13840 wxPyEndAllowThreads(__tstate);
13841 if (PyErr_Occurred()) SWIG_fail;
13842 }
13843 Py_INCREF(Py_None); resultobj = Py_None;
13844 {
13845 if (temp2)
13846 delete arg2;
13847 }
13848 return resultobj;
13849 fail:
13850 {
13851 if (temp2)
13852 delete arg2;
13853 }
13854 return NULL;
13855 }
13856
13857
13858 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
13859 PyObject *obj;
13860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13861 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13862 Py_INCREF(obj);
13863 return Py_BuildValue((char *)"");
13864 }
13865 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13866 PyObject *resultobj;
13867 wxWindow *arg1 = (wxWindow *) 0 ;
13868 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13869 wxString *arg3 = 0 ;
13870 int arg4 = (int) 0 ;
13871 wxFindReplaceDialog *result;
13872 bool temp3 = False ;
13873 PyObject * obj0 = 0 ;
13874 PyObject * obj1 = 0 ;
13875 PyObject * obj2 = 0 ;
13876 PyObject * obj3 = 0 ;
13877 char *kwnames[] = {
13878 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13879 };
13880
13881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13884 {
13885 arg3 = wxString_in_helper(obj2);
13886 if (arg3 == NULL) SWIG_fail;
13887 temp3 = True;
13888 }
13889 if (obj3) {
13890 {
13891 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 }
13894 }
13895 {
13896 PyThreadState* __tstate = wxPyBeginAllowThreads();
13897 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13898
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
13902 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13903 {
13904 if (temp3)
13905 delete arg3;
13906 }
13907 return resultobj;
13908 fail:
13909 {
13910 if (temp3)
13911 delete arg3;
13912 }
13913 return NULL;
13914 }
13915
13916
13917 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13918 PyObject *resultobj;
13919 wxFindReplaceDialog *result;
13920 char *kwnames[] = {
13921 NULL
13922 };
13923
13924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13925 {
13926 PyThreadState* __tstate = wxPyBeginAllowThreads();
13927 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13928
13929 wxPyEndAllowThreads(__tstate);
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
13932 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13933 return resultobj;
13934 fail:
13935 return NULL;
13936 }
13937
13938
13939 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13940 PyObject *resultobj;
13941 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13942 wxWindow *arg2 = (wxWindow *) 0 ;
13943 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13944 wxString *arg4 = 0 ;
13945 int arg5 = (int) 0 ;
13946 bool result;
13947 bool temp4 = False ;
13948 PyObject * obj0 = 0 ;
13949 PyObject * obj1 = 0 ;
13950 PyObject * obj2 = 0 ;
13951 PyObject * obj3 = 0 ;
13952 PyObject * obj4 = 0 ;
13953 char *kwnames[] = {
13954 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13955 };
13956
13957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13959 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13960 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13961 {
13962 arg4 = wxString_in_helper(obj3);
13963 if (arg4 == NULL) SWIG_fail;
13964 temp4 = True;
13965 }
13966 if (obj4) {
13967 {
13968 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13969 if (PyErr_Occurred()) SWIG_fail;
13970 }
13971 }
13972 {
13973 PyThreadState* __tstate = wxPyBeginAllowThreads();
13974 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13975
13976 wxPyEndAllowThreads(__tstate);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 }
13979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13980 {
13981 if (temp4)
13982 delete arg4;
13983 }
13984 return resultobj;
13985 fail:
13986 {
13987 if (temp4)
13988 delete arg4;
13989 }
13990 return NULL;
13991 }
13992
13993
13994 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13995 PyObject *resultobj;
13996 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13997 wxFindReplaceData *result;
13998 PyObject * obj0 = 0 ;
13999 char *kwnames[] = {
14000 (char *) "self", NULL
14001 };
14002
14003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14005 {
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 result = (wxFindReplaceData *)(arg1)->GetData();
14008
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
14013 return resultobj;
14014 fail:
14015 return NULL;
14016 }
14017
14018
14019 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14020 PyObject *resultobj;
14021 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14022 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 char *kwnames[] = {
14026 (char *) "self",(char *) "data", NULL
14027 };
14028
14029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14032 {
14033 PyThreadState* __tstate = wxPyBeginAllowThreads();
14034 (arg1)->SetData(arg2);
14035
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 Py_INCREF(Py_None); resultobj = Py_None;
14040 return resultobj;
14041 fail:
14042 return NULL;
14043 }
14044
14045
14046 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14047 PyObject *obj;
14048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14049 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14050 Py_INCREF(obj);
14051 return Py_BuildValue((char *)"");
14052 }
14053 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14054 PyObject *resultobj;
14055 wxWindow *arg1 = (wxWindow *) 0 ;
14056 int arg2 ;
14057 wxString *arg3 = 0 ;
14058 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14059 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14060 wxSize const &arg5_defvalue = wxDefaultSize ;
14061 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14062 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14063 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14064 wxString *arg7 = (wxString *) &arg7_defvalue ;
14065 wxMDIParentFrame *result;
14066 bool temp3 = False ;
14067 wxPoint temp4 ;
14068 wxSize temp5 ;
14069 bool temp7 = False ;
14070 PyObject * obj0 = 0 ;
14071 PyObject * obj1 = 0 ;
14072 PyObject * obj2 = 0 ;
14073 PyObject * obj3 = 0 ;
14074 PyObject * obj4 = 0 ;
14075 PyObject * obj5 = 0 ;
14076 PyObject * obj6 = 0 ;
14077 char *kwnames[] = {
14078 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14079 };
14080
14081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14083 {
14084 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14085 if (PyErr_Occurred()) SWIG_fail;
14086 }
14087 {
14088 arg3 = wxString_in_helper(obj2);
14089 if (arg3 == NULL) SWIG_fail;
14090 temp3 = True;
14091 }
14092 if (obj3) {
14093 {
14094 arg4 = &temp4;
14095 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14096 }
14097 }
14098 if (obj4) {
14099 {
14100 arg5 = &temp5;
14101 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14102 }
14103 }
14104 if (obj5) {
14105 {
14106 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14107 if (PyErr_Occurred()) SWIG_fail;
14108 }
14109 }
14110 if (obj6) {
14111 {
14112 arg7 = wxString_in_helper(obj6);
14113 if (arg7 == NULL) SWIG_fail;
14114 temp7 = True;
14115 }
14116 }
14117 {
14118 PyThreadState* __tstate = wxPyBeginAllowThreads();
14119 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14120
14121 wxPyEndAllowThreads(__tstate);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
14125 {
14126 if (temp3)
14127 delete arg3;
14128 }
14129 {
14130 if (temp7)
14131 delete arg7;
14132 }
14133 return resultobj;
14134 fail:
14135 {
14136 if (temp3)
14137 delete arg3;
14138 }
14139 {
14140 if (temp7)
14141 delete arg7;
14142 }
14143 return NULL;
14144 }
14145
14146
14147 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14148 PyObject *resultobj;
14149 wxMDIParentFrame *result;
14150 char *kwnames[] = {
14151 NULL
14152 };
14153
14154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14155 {
14156 PyThreadState* __tstate = wxPyBeginAllowThreads();
14157 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14158
14159 wxPyEndAllowThreads(__tstate);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
14163 return resultobj;
14164 fail:
14165 return NULL;
14166 }
14167
14168
14169 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj;
14171 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14172 wxWindow *arg2 = (wxWindow *) 0 ;
14173 int arg3 ;
14174 wxString *arg4 = 0 ;
14175 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14176 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14177 wxSize const &arg6_defvalue = wxDefaultSize ;
14178 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14179 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14180 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14181 wxString *arg8 = (wxString *) &arg8_defvalue ;
14182 bool result;
14183 bool temp4 = False ;
14184 wxPoint temp5 ;
14185 wxSize temp6 ;
14186 bool temp8 = False ;
14187 PyObject * obj0 = 0 ;
14188 PyObject * obj1 = 0 ;
14189 PyObject * obj2 = 0 ;
14190 PyObject * obj3 = 0 ;
14191 PyObject * obj4 = 0 ;
14192 PyObject * obj5 = 0 ;
14193 PyObject * obj6 = 0 ;
14194 PyObject * obj7 = 0 ;
14195 char *kwnames[] = {
14196 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14197 };
14198
14199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14202 {
14203 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
14204 if (PyErr_Occurred()) SWIG_fail;
14205 }
14206 {
14207 arg4 = wxString_in_helper(obj3);
14208 if (arg4 == NULL) SWIG_fail;
14209 temp4 = True;
14210 }
14211 if (obj4) {
14212 {
14213 arg5 = &temp5;
14214 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14215 }
14216 }
14217 if (obj5) {
14218 {
14219 arg6 = &temp6;
14220 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14221 }
14222 }
14223 if (obj6) {
14224 {
14225 arg7 = (long) SWIG_PyObj_AsLong(obj6);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
14228 }
14229 if (obj7) {
14230 {
14231 arg8 = wxString_in_helper(obj7);
14232 if (arg8 == NULL) SWIG_fail;
14233 temp8 = True;
14234 }
14235 }
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14239
14240 wxPyEndAllowThreads(__tstate);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14244 {
14245 if (temp4)
14246 delete arg4;
14247 }
14248 {
14249 if (temp8)
14250 delete arg8;
14251 }
14252 return resultobj;
14253 fail:
14254 {
14255 if (temp4)
14256 delete arg4;
14257 }
14258 {
14259 if (temp8)
14260 delete arg8;
14261 }
14262 return NULL;
14263 }
14264
14265
14266 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14267 PyObject *resultobj;
14268 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14269 PyObject * obj0 = 0 ;
14270 char *kwnames[] = {
14271 (char *) "self", NULL
14272 };
14273
14274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14276 {
14277 PyThreadState* __tstate = wxPyBeginAllowThreads();
14278 (arg1)->ActivateNext();
14279
14280 wxPyEndAllowThreads(__tstate);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 }
14283 Py_INCREF(Py_None); resultobj = Py_None;
14284 return resultobj;
14285 fail:
14286 return NULL;
14287 }
14288
14289
14290 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj;
14292 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14293 PyObject * obj0 = 0 ;
14294 char *kwnames[] = {
14295 (char *) "self", NULL
14296 };
14297
14298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 (arg1)->ActivatePrevious();
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 Py_INCREF(Py_None); resultobj = Py_None;
14308 return resultobj;
14309 fail:
14310 return NULL;
14311 }
14312
14313
14314 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14315 PyObject *resultobj;
14316 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14317 PyObject * obj0 = 0 ;
14318 char *kwnames[] = {
14319 (char *) "self", NULL
14320 };
14321
14322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14324 {
14325 PyThreadState* __tstate = wxPyBeginAllowThreads();
14326 (arg1)->ArrangeIcons();
14327
14328 wxPyEndAllowThreads(__tstate);
14329 if (PyErr_Occurred()) SWIG_fail;
14330 }
14331 Py_INCREF(Py_None); resultobj = Py_None;
14332 return resultobj;
14333 fail:
14334 return NULL;
14335 }
14336
14337
14338 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14339 PyObject *resultobj;
14340 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14341 PyObject * obj0 = 0 ;
14342 char *kwnames[] = {
14343 (char *) "self", NULL
14344 };
14345
14346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14348 {
14349 PyThreadState* __tstate = wxPyBeginAllowThreads();
14350 (arg1)->Cascade();
14351
14352 wxPyEndAllowThreads(__tstate);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 }
14355 Py_INCREF(Py_None); resultobj = Py_None;
14356 return resultobj;
14357 fail:
14358 return NULL;
14359 }
14360
14361
14362 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14363 PyObject *resultobj;
14364 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14365 wxMDIChildFrame *result;
14366 PyObject * obj0 = 0 ;
14367 char *kwnames[] = {
14368 (char *) "self", NULL
14369 };
14370
14371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14373 {
14374 PyThreadState* __tstate = wxPyBeginAllowThreads();
14375 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14376
14377 wxPyEndAllowThreads(__tstate);
14378 if (PyErr_Occurred()) SWIG_fail;
14379 }
14380 {
14381 resultobj = wxPyMake_wxObject(result);
14382 }
14383 return resultobj;
14384 fail:
14385 return NULL;
14386 }
14387
14388
14389 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14390 PyObject *resultobj;
14391 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14392 wxMDIClientWindow *result;
14393 PyObject * obj0 = 0 ;
14394 char *kwnames[] = {
14395 (char *) "self", NULL
14396 };
14397
14398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14403
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 {
14408 resultobj = wxPyMake_wxObject(result);
14409 }
14410 return resultobj;
14411 fail:
14412 return NULL;
14413 }
14414
14415
14416 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14417 PyObject *resultobj;
14418 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14419 wxWindow *result;
14420 PyObject * obj0 = 0 ;
14421 char *kwnames[] = {
14422 (char *) "self", NULL
14423 };
14424
14425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 result = (wxWindow *)(arg1)->GetToolBar();
14430
14431 wxPyEndAllowThreads(__tstate);
14432 if (PyErr_Occurred()) SWIG_fail;
14433 }
14434 {
14435 resultobj = wxPyMake_wxObject(result);
14436 }
14437 return resultobj;
14438 fail:
14439 return NULL;
14440 }
14441
14442
14443 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14444 PyObject *resultobj;
14445 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14446 PyObject * obj0 = 0 ;
14447 char *kwnames[] = {
14448 (char *) "self", NULL
14449 };
14450
14451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14453 {
14454 PyThreadState* __tstate = wxPyBeginAllowThreads();
14455 (arg1)->Tile();
14456
14457 wxPyEndAllowThreads(__tstate);
14458 if (PyErr_Occurred()) SWIG_fail;
14459 }
14460 Py_INCREF(Py_None); resultobj = Py_None;
14461 return resultobj;
14462 fail:
14463 return NULL;
14464 }
14465
14466
14467 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14468 PyObject *obj;
14469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14470 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14471 Py_INCREF(obj);
14472 return Py_BuildValue((char *)"");
14473 }
14474 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14475 PyObject *resultobj;
14476 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14477 int arg2 ;
14478 wxString *arg3 = 0 ;
14479 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14480 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14481 wxSize const &arg5_defvalue = wxDefaultSize ;
14482 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14483 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14484 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14485 wxString *arg7 = (wxString *) &arg7_defvalue ;
14486 wxMDIChildFrame *result;
14487 bool temp3 = False ;
14488 wxPoint temp4 ;
14489 wxSize temp5 ;
14490 bool temp7 = False ;
14491 PyObject * obj0 = 0 ;
14492 PyObject * obj1 = 0 ;
14493 PyObject * obj2 = 0 ;
14494 PyObject * obj3 = 0 ;
14495 PyObject * obj4 = 0 ;
14496 PyObject * obj5 = 0 ;
14497 PyObject * obj6 = 0 ;
14498 char *kwnames[] = {
14499 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14500 };
14501
14502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14504 {
14505 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 {
14509 arg3 = wxString_in_helper(obj2);
14510 if (arg3 == NULL) SWIG_fail;
14511 temp3 = True;
14512 }
14513 if (obj3) {
14514 {
14515 arg4 = &temp4;
14516 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14517 }
14518 }
14519 if (obj4) {
14520 {
14521 arg5 = &temp5;
14522 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14523 }
14524 }
14525 if (obj5) {
14526 {
14527 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 }
14531 if (obj6) {
14532 {
14533 arg7 = wxString_in_helper(obj6);
14534 if (arg7 == NULL) SWIG_fail;
14535 temp7 = True;
14536 }
14537 }
14538 {
14539 PyThreadState* __tstate = wxPyBeginAllowThreads();
14540 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14541
14542 wxPyEndAllowThreads(__tstate);
14543 if (PyErr_Occurred()) SWIG_fail;
14544 }
14545 {
14546 resultobj = wxPyMake_wxObject(result);
14547 }
14548 {
14549 if (temp3)
14550 delete arg3;
14551 }
14552 {
14553 if (temp7)
14554 delete arg7;
14555 }
14556 return resultobj;
14557 fail:
14558 {
14559 if (temp3)
14560 delete arg3;
14561 }
14562 {
14563 if (temp7)
14564 delete arg7;
14565 }
14566 return NULL;
14567 }
14568
14569
14570 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14571 PyObject *resultobj;
14572 wxMDIChildFrame *result;
14573 char *kwnames[] = {
14574 NULL
14575 };
14576
14577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14578 {
14579 PyThreadState* __tstate = wxPyBeginAllowThreads();
14580 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14581
14582 wxPyEndAllowThreads(__tstate);
14583 if (PyErr_Occurred()) SWIG_fail;
14584 }
14585 {
14586 resultobj = wxPyMake_wxObject(result);
14587 }
14588 return resultobj;
14589 fail:
14590 return NULL;
14591 }
14592
14593
14594 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14595 PyObject *resultobj;
14596 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14597 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14598 int arg3 ;
14599 wxString *arg4 = 0 ;
14600 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14601 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14602 wxSize const &arg6_defvalue = wxDefaultSize ;
14603 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14604 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14605 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14606 wxString *arg8 = (wxString *) &arg8_defvalue ;
14607 bool result;
14608 bool temp4 = False ;
14609 wxPoint temp5 ;
14610 wxSize temp6 ;
14611 bool temp8 = False ;
14612 PyObject * obj0 = 0 ;
14613 PyObject * obj1 = 0 ;
14614 PyObject * obj2 = 0 ;
14615 PyObject * obj3 = 0 ;
14616 PyObject * obj4 = 0 ;
14617 PyObject * obj5 = 0 ;
14618 PyObject * obj6 = 0 ;
14619 PyObject * obj7 = 0 ;
14620 char *kwnames[] = {
14621 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14622 };
14623
14624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14626 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14627 {
14628 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
14629 if (PyErr_Occurred()) SWIG_fail;
14630 }
14631 {
14632 arg4 = wxString_in_helper(obj3);
14633 if (arg4 == NULL) SWIG_fail;
14634 temp4 = True;
14635 }
14636 if (obj4) {
14637 {
14638 arg5 = &temp5;
14639 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14640 }
14641 }
14642 if (obj5) {
14643 {
14644 arg6 = &temp6;
14645 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14646 }
14647 }
14648 if (obj6) {
14649 {
14650 arg7 = (long) SWIG_PyObj_AsLong(obj6);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
14653 }
14654 if (obj7) {
14655 {
14656 arg8 = wxString_in_helper(obj7);
14657 if (arg8 == NULL) SWIG_fail;
14658 temp8 = True;
14659 }
14660 }
14661 {
14662 PyThreadState* __tstate = wxPyBeginAllowThreads();
14663 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14664
14665 wxPyEndAllowThreads(__tstate);
14666 if (PyErr_Occurred()) SWIG_fail;
14667 }
14668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14669 {
14670 if (temp4)
14671 delete arg4;
14672 }
14673 {
14674 if (temp8)
14675 delete arg8;
14676 }
14677 return resultobj;
14678 fail:
14679 {
14680 if (temp4)
14681 delete arg4;
14682 }
14683 {
14684 if (temp8)
14685 delete arg8;
14686 }
14687 return NULL;
14688 }
14689
14690
14691 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14692 PyObject *resultobj;
14693 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14694 PyObject * obj0 = 0 ;
14695 char *kwnames[] = {
14696 (char *) "self", NULL
14697 };
14698
14699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14701 {
14702 PyThreadState* __tstate = wxPyBeginAllowThreads();
14703 (arg1)->Activate();
14704
14705 wxPyEndAllowThreads(__tstate);
14706 if (PyErr_Occurred()) SWIG_fail;
14707 }
14708 Py_INCREF(Py_None); resultobj = Py_None;
14709 return resultobj;
14710 fail:
14711 return NULL;
14712 }
14713
14714
14715 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14716 PyObject *resultobj;
14717 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14718 bool arg2 ;
14719 PyObject * obj0 = 0 ;
14720 PyObject * obj1 = 0 ;
14721 char *kwnames[] = {
14722 (char *) "self",(char *) "maximize", NULL
14723 };
14724
14725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14727 {
14728 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14729 if (PyErr_Occurred()) SWIG_fail;
14730 }
14731 {
14732 PyThreadState* __tstate = wxPyBeginAllowThreads();
14733 (arg1)->Maximize(arg2);
14734
14735 wxPyEndAllowThreads(__tstate);
14736 if (PyErr_Occurred()) SWIG_fail;
14737 }
14738 Py_INCREF(Py_None); resultobj = Py_None;
14739 return resultobj;
14740 fail:
14741 return NULL;
14742 }
14743
14744
14745 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14746 PyObject *resultobj;
14747 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14748 PyObject * obj0 = 0 ;
14749 char *kwnames[] = {
14750 (char *) "self", NULL
14751 };
14752
14753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14755 {
14756 PyThreadState* __tstate = wxPyBeginAllowThreads();
14757 (arg1)->Restore();
14758
14759 wxPyEndAllowThreads(__tstate);
14760 if (PyErr_Occurred()) SWIG_fail;
14761 }
14762 Py_INCREF(Py_None); resultobj = Py_None;
14763 return resultobj;
14764 fail:
14765 return NULL;
14766 }
14767
14768
14769 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14770 PyObject *obj;
14771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14772 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14773 Py_INCREF(obj);
14774 return Py_BuildValue((char *)"");
14775 }
14776 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14777 PyObject *resultobj;
14778 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14779 long arg2 = (long) 0 ;
14780 wxMDIClientWindow *result;
14781 PyObject * obj0 = 0 ;
14782 PyObject * obj1 = 0 ;
14783 char *kwnames[] = {
14784 (char *) "parent",(char *) "style", NULL
14785 };
14786
14787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14789 if (obj1) {
14790 {
14791 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14792 if (PyErr_Occurred()) SWIG_fail;
14793 }
14794 }
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14798
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 {
14803 resultobj = wxPyMake_wxObject(result);
14804 }
14805 return resultobj;
14806 fail:
14807 return NULL;
14808 }
14809
14810
14811 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14812 PyObject *resultobj;
14813 wxMDIClientWindow *result;
14814 char *kwnames[] = {
14815 NULL
14816 };
14817
14818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 {
14827 resultobj = wxPyMake_wxObject(result);
14828 }
14829 return resultobj;
14830 fail:
14831 return NULL;
14832 }
14833
14834
14835 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj;
14837 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14838 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14839 long arg3 = (long) 0 ;
14840 bool result;
14841 PyObject * obj0 = 0 ;
14842 PyObject * obj1 = 0 ;
14843 PyObject * obj2 = 0 ;
14844 char *kwnames[] = {
14845 (char *) "self",(char *) "parent",(char *) "style", NULL
14846 };
14847
14848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14850 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14851 if (obj2) {
14852 {
14853 arg3 = (long) SWIG_PyObj_AsLong(obj2);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 }
14857 {
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
14859 result = (bool)(arg1)->Create(arg2,arg3);
14860
14861 wxPyEndAllowThreads(__tstate);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14865 return resultobj;
14866 fail:
14867 return NULL;
14868 }
14869
14870
14871 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
14872 PyObject *obj;
14873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14874 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14875 Py_INCREF(obj);
14876 return Py_BuildValue((char *)"");
14877 }
14878 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14879 PyObject *resultobj;
14880 wxWindow *arg1 = (wxWindow *) 0 ;
14881 int arg2 ;
14882 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14883 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14884 wxSize const &arg4_defvalue = wxDefaultSize ;
14885 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14886 long arg5 = (long) 0 ;
14887 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14888 wxString *arg6 = (wxString *) &arg6_defvalue ;
14889 wxPyWindow *result;
14890 wxPoint temp3 ;
14891 wxSize temp4 ;
14892 bool temp6 = False ;
14893 PyObject * obj0 = 0 ;
14894 PyObject * obj1 = 0 ;
14895 PyObject * obj2 = 0 ;
14896 PyObject * obj3 = 0 ;
14897 PyObject * obj4 = 0 ;
14898 PyObject * obj5 = 0 ;
14899 char *kwnames[] = {
14900 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14901 };
14902
14903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14905 {
14906 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
14909 if (obj2) {
14910 {
14911 arg3 = &temp3;
14912 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14913 }
14914 }
14915 if (obj3) {
14916 {
14917 arg4 = &temp4;
14918 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14919 }
14920 }
14921 if (obj4) {
14922 {
14923 arg5 = (long) SWIG_PyObj_AsLong(obj4);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 }
14927 if (obj5) {
14928 {
14929 arg6 = wxString_in_helper(obj5);
14930 if (arg6 == NULL) SWIG_fail;
14931 temp6 = True;
14932 }
14933 }
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14937
14938 wxPyEndAllowThreads(__tstate);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 }
14941 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
14942 {
14943 if (temp6)
14944 delete arg6;
14945 }
14946 return resultobj;
14947 fail:
14948 {
14949 if (temp6)
14950 delete arg6;
14951 }
14952 return NULL;
14953 }
14954
14955
14956 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj;
14958 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14959 PyObject *arg2 = (PyObject *) 0 ;
14960 PyObject *arg3 = (PyObject *) 0 ;
14961 PyObject * obj0 = 0 ;
14962 PyObject * obj1 = 0 ;
14963 PyObject * obj2 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self",(char *) "self",(char *) "_class", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14970 arg2 = obj1;
14971 arg3 = obj2;
14972 {
14973 PyThreadState* __tstate = wxPyBeginAllowThreads();
14974 (arg1)->_setCallbackInfo(arg2,arg3);
14975
14976 wxPyEndAllowThreads(__tstate);
14977 if (PyErr_Occurred()) SWIG_fail;
14978 }
14979 Py_INCREF(Py_None); resultobj = Py_None;
14980 return resultobj;
14981 fail:
14982 return NULL;
14983 }
14984
14985
14986 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14987 PyObject *resultobj;
14988 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14989 int arg2 ;
14990 int arg3 ;
14991 int arg4 ;
14992 int arg5 ;
14993 PyObject * obj0 = 0 ;
14994 PyObject * obj1 = 0 ;
14995 PyObject * obj2 = 0 ;
14996 PyObject * obj3 = 0 ;
14997 PyObject * obj4 = 0 ;
14998 char *kwnames[] = {
14999 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15000 };
15001
15002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15004 {
15005 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15006 if (PyErr_Occurred()) SWIG_fail;
15007 }
15008 {
15009 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15010 if (PyErr_Occurred()) SWIG_fail;
15011 }
15012 {
15013 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15014 if (PyErr_Occurred()) SWIG_fail;
15015 }
15016 {
15017 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15018 if (PyErr_Occurred()) SWIG_fail;
15019 }
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15023
15024 wxPyEndAllowThreads(__tstate);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
15027 Py_INCREF(Py_None); resultobj = Py_None;
15028 return resultobj;
15029 fail:
15030 return NULL;
15031 }
15032
15033
15034 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15035 PyObject *resultobj;
15036 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15037 int arg2 ;
15038 int arg3 ;
15039 int arg4 ;
15040 int arg5 ;
15041 int arg6 = (int) wxSIZE_AUTO ;
15042 PyObject * obj0 = 0 ;
15043 PyObject * obj1 = 0 ;
15044 PyObject * obj2 = 0 ;
15045 PyObject * obj3 = 0 ;
15046 PyObject * obj4 = 0 ;
15047 PyObject * obj5 = 0 ;
15048 char *kwnames[] = {
15049 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15050 };
15051
15052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15054 {
15055 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15056 if (PyErr_Occurred()) SWIG_fail;
15057 }
15058 {
15059 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 {
15063 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 {
15067 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 if (obj5) {
15071 {
15072 arg6 = (int) SWIG_PyObj_AsInt(obj5);
15073 if (PyErr_Occurred()) SWIG_fail;
15074 }
15075 }
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
15078 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15079
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 Py_INCREF(Py_None); resultobj = Py_None;
15084 return resultobj;
15085 fail:
15086 return NULL;
15087 }
15088
15089
15090 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15091 PyObject *resultobj;
15092 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15093 int arg2 ;
15094 int arg3 ;
15095 PyObject * obj0 = 0 ;
15096 PyObject * obj1 = 0 ;
15097 PyObject * obj2 = 0 ;
15098 char *kwnames[] = {
15099 (char *) "self",(char *) "width",(char *) "height", NULL
15100 };
15101
15102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15104 {
15105 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 {
15109 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 }
15112 {
15113 PyThreadState* __tstate = wxPyBeginAllowThreads();
15114 (arg1)->base_DoSetClientSize(arg2,arg3);
15115
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
15119 Py_INCREF(Py_None); resultobj = Py_None;
15120 return resultobj;
15121 fail:
15122 return NULL;
15123 }
15124
15125
15126 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15127 PyObject *resultobj;
15128 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15129 int arg2 ;
15130 int arg3 ;
15131 PyObject * obj0 = 0 ;
15132 PyObject * obj1 = 0 ;
15133 PyObject * obj2 = 0 ;
15134 char *kwnames[] = {
15135 (char *) "self",(char *) "x",(char *) "y", NULL
15136 };
15137
15138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15140 {
15141 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 {
15145 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15146 if (PyErr_Occurred()) SWIG_fail;
15147 }
15148 {
15149 PyThreadState* __tstate = wxPyBeginAllowThreads();
15150 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15151
15152 wxPyEndAllowThreads(__tstate);
15153 if (PyErr_Occurred()) SWIG_fail;
15154 }
15155 Py_INCREF(Py_None); resultobj = Py_None;
15156 return resultobj;
15157 fail:
15158 return NULL;
15159 }
15160
15161
15162 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15163 PyObject *resultobj;
15164 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15165 int *arg2 = (int *) 0 ;
15166 int *arg3 = (int *) 0 ;
15167 int temp2 ;
15168 int temp3 ;
15169 PyObject * obj0 = 0 ;
15170 char *kwnames[] = {
15171 (char *) "self", NULL
15172 };
15173
15174 arg2 = &temp2;
15175 arg3 = &temp3;
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15178 {
15179 PyThreadState* __tstate = wxPyBeginAllowThreads();
15180 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15181
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 Py_INCREF(Py_None); resultobj = Py_None;
15186 {
15187 PyObject *o = PyInt_FromLong((long) (*arg2));
15188 resultobj = t_output_helper(resultobj,o);
15189 }
15190 {
15191 PyObject *o = PyInt_FromLong((long) (*arg3));
15192 resultobj = t_output_helper(resultobj,o);
15193 }
15194 return resultobj;
15195 fail:
15196 return NULL;
15197 }
15198
15199
15200 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15201 PyObject *resultobj;
15202 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15203 int *arg2 = (int *) 0 ;
15204 int *arg3 = (int *) 0 ;
15205 int temp2 ;
15206 int temp3 ;
15207 PyObject * obj0 = 0 ;
15208 char *kwnames[] = {
15209 (char *) "self", NULL
15210 };
15211
15212 arg2 = &temp2;
15213 arg3 = &temp3;
15214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15216 {
15217 PyThreadState* __tstate = wxPyBeginAllowThreads();
15218 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15219
15220 wxPyEndAllowThreads(__tstate);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 }
15223 Py_INCREF(Py_None); resultobj = Py_None;
15224 {
15225 PyObject *o = PyInt_FromLong((long) (*arg2));
15226 resultobj = t_output_helper(resultobj,o);
15227 }
15228 {
15229 PyObject *o = PyInt_FromLong((long) (*arg3));
15230 resultobj = t_output_helper(resultobj,o);
15231 }
15232 return resultobj;
15233 fail:
15234 return NULL;
15235 }
15236
15237
15238 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15239 PyObject *resultobj;
15240 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15241 int *arg2 = (int *) 0 ;
15242 int *arg3 = (int *) 0 ;
15243 int temp2 ;
15244 int temp3 ;
15245 PyObject * obj0 = 0 ;
15246 char *kwnames[] = {
15247 (char *) "self", NULL
15248 };
15249
15250 arg2 = &temp2;
15251 arg3 = &temp3;
15252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",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 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 Py_INCREF(Py_None); resultobj = Py_None;
15262 {
15263 PyObject *o = PyInt_FromLong((long) (*arg2));
15264 resultobj = t_output_helper(resultobj,o);
15265 }
15266 {
15267 PyObject *o = PyInt_FromLong((long) (*arg3));
15268 resultobj = t_output_helper(resultobj,o);
15269 }
15270 return resultobj;
15271 fail:
15272 return NULL;
15273 }
15274
15275
15276 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15277 PyObject *resultobj;
15278 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15279 wxSize result;
15280 PyObject * obj0 = 0 ;
15281 char *kwnames[] = {
15282 (char *) "self", NULL
15283 };
15284
15285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15290
15291 wxPyEndAllowThreads(__tstate);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 {
15295 wxSize * resultptr;
15296 resultptr = new wxSize((wxSize &) result);
15297 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15298 }
15299 return resultobj;
15300 fail:
15301 return NULL;
15302 }
15303
15304
15305 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj;
15307 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15308 wxSize result;
15309 PyObject * obj0 = 0 ;
15310 char *kwnames[] = {
15311 (char *) "self", NULL
15312 };
15313
15314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15316 {
15317 PyThreadState* __tstate = wxPyBeginAllowThreads();
15318 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15319
15320 wxPyEndAllowThreads(__tstate);
15321 if (PyErr_Occurred()) SWIG_fail;
15322 }
15323 {
15324 wxSize * resultptr;
15325 resultptr = new wxSize((wxSize &) result);
15326 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15327 }
15328 return resultobj;
15329 fail:
15330 return NULL;
15331 }
15332
15333
15334 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15335 PyObject *resultobj;
15336 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15337 PyObject * obj0 = 0 ;
15338 char *kwnames[] = {
15339 (char *) "self", NULL
15340 };
15341
15342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 (arg1)->base_InitDialog();
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 Py_INCREF(Py_None); resultobj = Py_None;
15352 return resultobj;
15353 fail:
15354 return NULL;
15355 }
15356
15357
15358 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15359 PyObject *resultobj;
15360 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15361 bool result;
15362 PyObject * obj0 = 0 ;
15363 char *kwnames[] = {
15364 (char *) "self", NULL
15365 };
15366
15367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 result = (bool)(arg1)->base_TransferDataToWindow();
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15377 return resultobj;
15378 fail:
15379 return NULL;
15380 }
15381
15382
15383 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15384 PyObject *resultobj;
15385 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15386 bool result;
15387 PyObject * obj0 = 0 ;
15388 char *kwnames[] = {
15389 (char *) "self", NULL
15390 };
15391
15392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15394 {
15395 PyThreadState* __tstate = wxPyBeginAllowThreads();
15396 result = (bool)(arg1)->base_TransferDataFromWindow();
15397
15398 wxPyEndAllowThreads(__tstate);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 }
15401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15402 return resultobj;
15403 fail:
15404 return NULL;
15405 }
15406
15407
15408 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15409 PyObject *resultobj;
15410 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15411 bool result;
15412 PyObject * obj0 = 0 ;
15413 char *kwnames[] = {
15414 (char *) "self", NULL
15415 };
15416
15417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 result = (bool)(arg1)->base_Validate();
15422
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
15426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15427 return resultobj;
15428 fail:
15429 return NULL;
15430 }
15431
15432
15433 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15434 PyObject *resultobj;
15435 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15436 bool result;
15437 PyObject * obj0 = 0 ;
15438 char *kwnames[] = {
15439 (char *) "self", NULL
15440 };
15441
15442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15452 return resultobj;
15453 fail:
15454 return NULL;
15455 }
15456
15457
15458 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15459 PyObject *resultobj;
15460 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15461 bool result;
15462 PyObject * obj0 = 0 ;
15463 char *kwnames[] = {
15464 (char *) "self", NULL
15465 };
15466
15467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15472
15473 wxPyEndAllowThreads(__tstate);
15474 if (PyErr_Occurred()) SWIG_fail;
15475 }
15476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15477 return resultobj;
15478 fail:
15479 return NULL;
15480 }
15481
15482
15483 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15484 PyObject *resultobj;
15485 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15486 wxSize result;
15487 PyObject * obj0 = 0 ;
15488 char *kwnames[] = {
15489 (char *) "self", NULL
15490 };
15491
15492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 {
15502 wxSize * resultptr;
15503 resultptr = new wxSize((wxSize &) result);
15504 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15505 }
15506 return resultobj;
15507 fail:
15508 return NULL;
15509 }
15510
15511
15512 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15513 PyObject *resultobj;
15514 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15515 wxWindow *arg2 = (wxWindow *) 0 ;
15516 PyObject * obj0 = 0 ;
15517 PyObject * obj1 = 0 ;
15518 char *kwnames[] = {
15519 (char *) "self",(char *) "child", NULL
15520 };
15521
15522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15524 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15525 {
15526 PyThreadState* __tstate = wxPyBeginAllowThreads();
15527 (arg1)->base_AddChild(arg2);
15528
15529 wxPyEndAllowThreads(__tstate);
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
15532 Py_INCREF(Py_None); resultobj = Py_None;
15533 return resultobj;
15534 fail:
15535 return NULL;
15536 }
15537
15538
15539 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15540 PyObject *resultobj;
15541 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15542 wxWindow *arg2 = (wxWindow *) 0 ;
15543 PyObject * obj0 = 0 ;
15544 PyObject * obj1 = 0 ;
15545 char *kwnames[] = {
15546 (char *) "self",(char *) "child", NULL
15547 };
15548
15549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15551 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15552 {
15553 PyThreadState* __tstate = wxPyBeginAllowThreads();
15554 (arg1)->base_RemoveChild(arg2);
15555
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 Py_INCREF(Py_None); resultobj = Py_None;
15560 return resultobj;
15561 fail:
15562 return NULL;
15563 }
15564
15565
15566 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15567 PyObject *obj;
15568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15569 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15570 Py_INCREF(obj);
15571 return Py_BuildValue((char *)"");
15572 }
15573 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15574 PyObject *resultobj;
15575 wxWindow *arg1 = (wxWindow *) 0 ;
15576 int arg2 ;
15577 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15578 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15579 wxSize const &arg4_defvalue = wxDefaultSize ;
15580 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15581 long arg5 = (long) 0 ;
15582 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15583 wxString *arg6 = (wxString *) &arg6_defvalue ;
15584 wxPyPanel *result;
15585 wxPoint temp3 ;
15586 wxSize temp4 ;
15587 bool temp6 = False ;
15588 PyObject * obj0 = 0 ;
15589 PyObject * obj1 = 0 ;
15590 PyObject * obj2 = 0 ;
15591 PyObject * obj3 = 0 ;
15592 PyObject * obj4 = 0 ;
15593 PyObject * obj5 = 0 ;
15594 char *kwnames[] = {
15595 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15596 };
15597
15598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15600 {
15601 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 }
15604 if (obj2) {
15605 {
15606 arg3 = &temp3;
15607 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15608 }
15609 }
15610 if (obj3) {
15611 {
15612 arg4 = &temp4;
15613 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15614 }
15615 }
15616 if (obj4) {
15617 {
15618 arg5 = (long) SWIG_PyObj_AsLong(obj4);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 }
15622 if (obj5) {
15623 {
15624 arg6 = wxString_in_helper(obj5);
15625 if (arg6 == NULL) SWIG_fail;
15626 temp6 = True;
15627 }
15628 }
15629 {
15630 PyThreadState* __tstate = wxPyBeginAllowThreads();
15631 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15632
15633 wxPyEndAllowThreads(__tstate);
15634 if (PyErr_Occurred()) SWIG_fail;
15635 }
15636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
15637 {
15638 if (temp6)
15639 delete arg6;
15640 }
15641 return resultobj;
15642 fail:
15643 {
15644 if (temp6)
15645 delete arg6;
15646 }
15647 return NULL;
15648 }
15649
15650
15651 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15654 PyObject *arg2 = (PyObject *) 0 ;
15655 PyObject *arg3 = (PyObject *) 0 ;
15656 PyObject * obj0 = 0 ;
15657 PyObject * obj1 = 0 ;
15658 PyObject * obj2 = 0 ;
15659 char *kwnames[] = {
15660 (char *) "self",(char *) "self",(char *) "_class", NULL
15661 };
15662
15663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15665 arg2 = obj1;
15666 arg3 = obj2;
15667 {
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
15669 (arg1)->_setCallbackInfo(arg2,arg3);
15670
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
15674 Py_INCREF(Py_None); resultobj = Py_None;
15675 return resultobj;
15676 fail:
15677 return NULL;
15678 }
15679
15680
15681 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15682 PyObject *resultobj;
15683 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15684 int arg2 ;
15685 int arg3 ;
15686 int arg4 ;
15687 int arg5 ;
15688 PyObject * obj0 = 0 ;
15689 PyObject * obj1 = 0 ;
15690 PyObject * obj2 = 0 ;
15691 PyObject * obj3 = 0 ;
15692 PyObject * obj4 = 0 ;
15693 char *kwnames[] = {
15694 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15695 };
15696
15697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15699 {
15700 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 {
15704 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15705 if (PyErr_Occurred()) SWIG_fail;
15706 }
15707 {
15708 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15709 if (PyErr_Occurred()) SWIG_fail;
15710 }
15711 {
15712 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 }
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15718
15719 wxPyEndAllowThreads(__tstate);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
15722 Py_INCREF(Py_None); resultobj = Py_None;
15723 return resultobj;
15724 fail:
15725 return NULL;
15726 }
15727
15728
15729 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15730 PyObject *resultobj;
15731 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15732 int arg2 ;
15733 int arg3 ;
15734 int arg4 ;
15735 int arg5 ;
15736 int arg6 = (int) wxSIZE_AUTO ;
15737 PyObject * obj0 = 0 ;
15738 PyObject * obj1 = 0 ;
15739 PyObject * obj2 = 0 ;
15740 PyObject * obj3 = 0 ;
15741 PyObject * obj4 = 0 ;
15742 PyObject * obj5 = 0 ;
15743 char *kwnames[] = {
15744 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15745 };
15746
15747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15749 {
15750 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15751 if (PyErr_Occurred()) SWIG_fail;
15752 }
15753 {
15754 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15755 if (PyErr_Occurred()) SWIG_fail;
15756 }
15757 {
15758 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 {
15762 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 if (obj5) {
15766 {
15767 arg6 = (int) SWIG_PyObj_AsInt(obj5);
15768 if (PyErr_Occurred()) SWIG_fail;
15769 }
15770 }
15771 {
15772 PyThreadState* __tstate = wxPyBeginAllowThreads();
15773 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15774
15775 wxPyEndAllowThreads(__tstate);
15776 if (PyErr_Occurred()) SWIG_fail;
15777 }
15778 Py_INCREF(Py_None); resultobj = Py_None;
15779 return resultobj;
15780 fail:
15781 return NULL;
15782 }
15783
15784
15785 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15786 PyObject *resultobj;
15787 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15788 int arg2 ;
15789 int arg3 ;
15790 PyObject * obj0 = 0 ;
15791 PyObject * obj1 = 0 ;
15792 PyObject * obj2 = 0 ;
15793 char *kwnames[] = {
15794 (char *) "self",(char *) "width",(char *) "height", NULL
15795 };
15796
15797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15799 {
15800 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15801 if (PyErr_Occurred()) SWIG_fail;
15802 }
15803 {
15804 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 (arg1)->base_DoSetClientSize(arg2,arg3);
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 Py_INCREF(Py_None); resultobj = Py_None;
15815 return resultobj;
15816 fail:
15817 return NULL;
15818 }
15819
15820
15821 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15822 PyObject *resultobj;
15823 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15824 int arg2 ;
15825 int arg3 ;
15826 PyObject * obj0 = 0 ;
15827 PyObject * obj1 = 0 ;
15828 PyObject * obj2 = 0 ;
15829 char *kwnames[] = {
15830 (char *) "self",(char *) "x",(char *) "y", NULL
15831 };
15832
15833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15835 {
15836 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15837 if (PyErr_Occurred()) SWIG_fail;
15838 }
15839 {
15840 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15841 if (PyErr_Occurred()) SWIG_fail;
15842 }
15843 {
15844 PyThreadState* __tstate = wxPyBeginAllowThreads();
15845 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15846
15847 wxPyEndAllowThreads(__tstate);
15848 if (PyErr_Occurred()) SWIG_fail;
15849 }
15850 Py_INCREF(Py_None); resultobj = Py_None;
15851 return resultobj;
15852 fail:
15853 return NULL;
15854 }
15855
15856
15857 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15858 PyObject *resultobj;
15859 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15860 int *arg2 = (int *) 0 ;
15861 int *arg3 = (int *) 0 ;
15862 int temp2 ;
15863 int temp3 ;
15864 PyObject * obj0 = 0 ;
15865 char *kwnames[] = {
15866 (char *) "self", NULL
15867 };
15868
15869 arg2 = &temp2;
15870 arg3 = &temp3;
15871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15873 {
15874 PyThreadState* __tstate = wxPyBeginAllowThreads();
15875 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15876
15877 wxPyEndAllowThreads(__tstate);
15878 if (PyErr_Occurred()) SWIG_fail;
15879 }
15880 Py_INCREF(Py_None); resultobj = Py_None;
15881 {
15882 PyObject *o = PyInt_FromLong((long) (*arg2));
15883 resultobj = t_output_helper(resultobj,o);
15884 }
15885 {
15886 PyObject *o = PyInt_FromLong((long) (*arg3));
15887 resultobj = t_output_helper(resultobj,o);
15888 }
15889 return resultobj;
15890 fail:
15891 return NULL;
15892 }
15893
15894
15895 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15896 PyObject *resultobj;
15897 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15898 int *arg2 = (int *) 0 ;
15899 int *arg3 = (int *) 0 ;
15900 int temp2 ;
15901 int temp3 ;
15902 PyObject * obj0 = 0 ;
15903 char *kwnames[] = {
15904 (char *) "self", NULL
15905 };
15906
15907 arg2 = &temp2;
15908 arg3 = &temp3;
15909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15911 {
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15914
15915 wxPyEndAllowThreads(__tstate);
15916 if (PyErr_Occurred()) SWIG_fail;
15917 }
15918 Py_INCREF(Py_None); resultobj = Py_None;
15919 {
15920 PyObject *o = PyInt_FromLong((long) (*arg2));
15921 resultobj = t_output_helper(resultobj,o);
15922 }
15923 {
15924 PyObject *o = PyInt_FromLong((long) (*arg3));
15925 resultobj = t_output_helper(resultobj,o);
15926 }
15927 return resultobj;
15928 fail:
15929 return NULL;
15930 }
15931
15932
15933 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15934 PyObject *resultobj;
15935 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15936 int *arg2 = (int *) 0 ;
15937 int *arg3 = (int *) 0 ;
15938 int temp2 ;
15939 int temp3 ;
15940 PyObject * obj0 = 0 ;
15941 char *kwnames[] = {
15942 (char *) "self", NULL
15943 };
15944
15945 arg2 = &temp2;
15946 arg3 = &temp3;
15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",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 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15952
15953 wxPyEndAllowThreads(__tstate);
15954 if (PyErr_Occurred()) SWIG_fail;
15955 }
15956 Py_INCREF(Py_None); resultobj = Py_None;
15957 {
15958 PyObject *o = PyInt_FromLong((long) (*arg2));
15959 resultobj = t_output_helper(resultobj,o);
15960 }
15961 {
15962 PyObject *o = PyInt_FromLong((long) (*arg3));
15963 resultobj = t_output_helper(resultobj,o);
15964 }
15965 return resultobj;
15966 fail:
15967 return NULL;
15968 }
15969
15970
15971 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj;
15973 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15974 wxSize result;
15975 PyObject * obj0 = 0 ;
15976 char *kwnames[] = {
15977 (char *) "self", NULL
15978 };
15979
15980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15982 {
15983 PyThreadState* __tstate = wxPyBeginAllowThreads();
15984 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
15985
15986 wxPyEndAllowThreads(__tstate);
15987 if (PyErr_Occurred()) SWIG_fail;
15988 }
15989 {
15990 wxSize * resultptr;
15991 resultptr = new wxSize((wxSize &) result);
15992 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15993 }
15994 return resultobj;
15995 fail:
15996 return NULL;
15997 }
15998
15999
16000 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16001 PyObject *resultobj;
16002 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16003 wxSize result;
16004 PyObject * obj0 = 0 ;
16005 char *kwnames[] = {
16006 (char *) "self", NULL
16007 };
16008
16009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16014
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 {
16019 wxSize * resultptr;
16020 resultptr = new wxSize((wxSize &) result);
16021 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16022 }
16023 return resultobj;
16024 fail:
16025 return NULL;
16026 }
16027
16028
16029 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16030 PyObject *resultobj;
16031 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16032 PyObject * obj0 = 0 ;
16033 char *kwnames[] = {
16034 (char *) "self", NULL
16035 };
16036
16037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16039 {
16040 PyThreadState* __tstate = wxPyBeginAllowThreads();
16041 (arg1)->base_InitDialog();
16042
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 Py_INCREF(Py_None); resultobj = Py_None;
16047 return resultobj;
16048 fail:
16049 return NULL;
16050 }
16051
16052
16053 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj;
16055 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16056 bool result;
16057 PyObject * obj0 = 0 ;
16058 char *kwnames[] = {
16059 (char *) "self", NULL
16060 };
16061
16062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 result = (bool)(arg1)->base_TransferDataToWindow();
16067
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
16071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16072 return resultobj;
16073 fail:
16074 return NULL;
16075 }
16076
16077
16078 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj;
16080 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16081 bool result;
16082 PyObject * obj0 = 0 ;
16083 char *kwnames[] = {
16084 (char *) "self", NULL
16085 };
16086
16087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 result = (bool)(arg1)->base_TransferDataFromWindow();
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16097 return resultobj;
16098 fail:
16099 return NULL;
16100 }
16101
16102
16103 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16104 PyObject *resultobj;
16105 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16106 bool result;
16107 PyObject * obj0 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16114 {
16115 PyThreadState* __tstate = wxPyBeginAllowThreads();
16116 result = (bool)(arg1)->base_Validate();
16117
16118 wxPyEndAllowThreads(__tstate);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16122 return resultobj;
16123 fail:
16124 return NULL;
16125 }
16126
16127
16128 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16129 PyObject *resultobj;
16130 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16131 bool result;
16132 PyObject * obj0 = 0 ;
16133 char *kwnames[] = {
16134 (char *) "self", NULL
16135 };
16136
16137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16139 {
16140 PyThreadState* __tstate = wxPyBeginAllowThreads();
16141 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16142
16143 wxPyEndAllowThreads(__tstate);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
16146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16147 return resultobj;
16148 fail:
16149 return NULL;
16150 }
16151
16152
16153 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16154 PyObject *resultobj;
16155 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16156 bool result;
16157 PyObject * obj0 = 0 ;
16158 char *kwnames[] = {
16159 (char *) "self", NULL
16160 };
16161
16162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16164 {
16165 PyThreadState* __tstate = wxPyBeginAllowThreads();
16166 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16167
16168 wxPyEndAllowThreads(__tstate);
16169 if (PyErr_Occurred()) SWIG_fail;
16170 }
16171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16172 return resultobj;
16173 fail:
16174 return NULL;
16175 }
16176
16177
16178 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16179 PyObject *resultobj;
16180 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16181 wxSize result;
16182 PyObject * obj0 = 0 ;
16183 char *kwnames[] = {
16184 (char *) "self", NULL
16185 };
16186
16187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16189 {
16190 PyThreadState* __tstate = wxPyBeginAllowThreads();
16191 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16192
16193 wxPyEndAllowThreads(__tstate);
16194 if (PyErr_Occurred()) SWIG_fail;
16195 }
16196 {
16197 wxSize * resultptr;
16198 resultptr = new wxSize((wxSize &) result);
16199 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16200 }
16201 return resultobj;
16202 fail:
16203 return NULL;
16204 }
16205
16206
16207 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16208 PyObject *resultobj;
16209 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16210 wxWindow *arg2 = (wxWindow *) 0 ;
16211 PyObject * obj0 = 0 ;
16212 PyObject * obj1 = 0 ;
16213 char *kwnames[] = {
16214 (char *) "self",(char *) "child", NULL
16215 };
16216
16217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16220 {
16221 PyThreadState* __tstate = wxPyBeginAllowThreads();
16222 (arg1)->base_AddChild(arg2);
16223
16224 wxPyEndAllowThreads(__tstate);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 }
16227 Py_INCREF(Py_None); resultobj = Py_None;
16228 return resultobj;
16229 fail:
16230 return NULL;
16231 }
16232
16233
16234 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16235 PyObject *resultobj;
16236 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16237 wxWindow *arg2 = (wxWindow *) 0 ;
16238 PyObject * obj0 = 0 ;
16239 PyObject * obj1 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self",(char *) "child", NULL
16242 };
16243
16244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16247 {
16248 PyThreadState* __tstate = wxPyBeginAllowThreads();
16249 (arg1)->base_RemoveChild(arg2);
16250
16251 wxPyEndAllowThreads(__tstate);
16252 if (PyErr_Occurred()) SWIG_fail;
16253 }
16254 Py_INCREF(Py_None); resultobj = Py_None;
16255 return resultobj;
16256 fail:
16257 return NULL;
16258 }
16259
16260
16261 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16262 PyObject *obj;
16263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16264 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16265 Py_INCREF(obj);
16266 return Py_BuildValue((char *)"");
16267 }
16268 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
16269 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
16270 return 1;
16271 }
16272
16273
16274 static PyObject *_wrap_PrintoutTitleStr_get() {
16275 PyObject *pyobj;
16276
16277 {
16278 #if wxUSE_UNICODE
16279 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16280 #else
16281 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16282 #endif
16283 }
16284 return pyobj;
16285 }
16286
16287
16288 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
16289 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
16290 return 1;
16291 }
16292
16293
16294 static PyObject *_wrap_PreviewCanvasNameStr_get() {
16295 PyObject *pyobj;
16296
16297 {
16298 #if wxUSE_UNICODE
16299 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16300 #else
16301 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16302 #endif
16303 }
16304 return pyobj;
16305 }
16306
16307
16308 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16309 PyObject *resultobj;
16310 wxPrintData *result;
16311 char *kwnames[] = {
16312 NULL
16313 };
16314
16315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
16316 {
16317 PyThreadState* __tstate = wxPyBeginAllowThreads();
16318 result = (wxPrintData *)new wxPrintData();
16319
16320 wxPyEndAllowThreads(__tstate);
16321 if (PyErr_Occurred()) SWIG_fail;
16322 }
16323 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
16324 return resultobj;
16325 fail:
16326 return NULL;
16327 }
16328
16329
16330 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16331 PyObject *resultobj;
16332 wxPrintData *arg1 = (wxPrintData *) 0 ;
16333 PyObject * obj0 = 0 ;
16334 char *kwnames[] = {
16335 (char *) "self", NULL
16336 };
16337
16338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
16339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16340 {
16341 PyThreadState* __tstate = wxPyBeginAllowThreads();
16342 delete arg1;
16343
16344 wxPyEndAllowThreads(__tstate);
16345 if (PyErr_Occurred()) SWIG_fail;
16346 }
16347 Py_INCREF(Py_None); resultobj = Py_None;
16348 return resultobj;
16349 fail:
16350 return NULL;
16351 }
16352
16353
16354 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16355 PyObject *resultobj;
16356 wxPrintData *arg1 = (wxPrintData *) 0 ;
16357 int result;
16358 PyObject * obj0 = 0 ;
16359 char *kwnames[] = {
16360 (char *) "self", NULL
16361 };
16362
16363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
16364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16365 {
16366 PyThreadState* __tstate = wxPyBeginAllowThreads();
16367 result = (int)(arg1)->GetNoCopies();
16368
16369 wxPyEndAllowThreads(__tstate);
16370 if (PyErr_Occurred()) SWIG_fail;
16371 }
16372 resultobj = SWIG_PyObj_FromInt((int)result);
16373 return resultobj;
16374 fail:
16375 return NULL;
16376 }
16377
16378
16379 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16380 PyObject *resultobj;
16381 wxPrintData *arg1 = (wxPrintData *) 0 ;
16382 bool result;
16383 PyObject * obj0 = 0 ;
16384 char *kwnames[] = {
16385 (char *) "self", NULL
16386 };
16387
16388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
16389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16390 {
16391 PyThreadState* __tstate = wxPyBeginAllowThreads();
16392 result = (bool)(arg1)->GetCollate();
16393
16394 wxPyEndAllowThreads(__tstate);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 }
16397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16398 return resultobj;
16399 fail:
16400 return NULL;
16401 }
16402
16403
16404 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16405 PyObject *resultobj;
16406 wxPrintData *arg1 = (wxPrintData *) 0 ;
16407 int result;
16408 PyObject * obj0 = 0 ;
16409 char *kwnames[] = {
16410 (char *) "self", NULL
16411 };
16412
16413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
16414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16415 {
16416 PyThreadState* __tstate = wxPyBeginAllowThreads();
16417 result = (int)(arg1)->GetOrientation();
16418
16419 wxPyEndAllowThreads(__tstate);
16420 if (PyErr_Occurred()) SWIG_fail;
16421 }
16422 resultobj = SWIG_PyObj_FromInt((int)result);
16423 return resultobj;
16424 fail:
16425 return NULL;
16426 }
16427
16428
16429 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16430 PyObject *resultobj;
16431 wxPrintData *arg1 = (wxPrintData *) 0 ;
16432 bool result;
16433 PyObject * obj0 = 0 ;
16434 char *kwnames[] = {
16435 (char *) "self", NULL
16436 };
16437
16438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
16439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16440 {
16441 PyThreadState* __tstate = wxPyBeginAllowThreads();
16442 result = (bool)(arg1)->Ok();
16443
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16448 return resultobj;
16449 fail:
16450 return NULL;
16451 }
16452
16453
16454 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16455 PyObject *resultobj;
16456 wxPrintData *arg1 = (wxPrintData *) 0 ;
16457 wxString *result;
16458 PyObject * obj0 = 0 ;
16459 char *kwnames[] = {
16460 (char *) "self", NULL
16461 };
16462
16463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
16464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16465 {
16466 PyThreadState* __tstate = wxPyBeginAllowThreads();
16467 {
16468 wxString const &_result_ref = (arg1)->GetPrinterName();
16469 result = (wxString *) &_result_ref;
16470 }
16471
16472 wxPyEndAllowThreads(__tstate);
16473 if (PyErr_Occurred()) SWIG_fail;
16474 }
16475 {
16476 #if wxUSE_UNICODE
16477 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16478 #else
16479 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16480 #endif
16481 }
16482 return resultobj;
16483 fail:
16484 return NULL;
16485 }
16486
16487
16488 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16489 PyObject *resultobj;
16490 wxPrintData *arg1 = (wxPrintData *) 0 ;
16491 bool result;
16492 PyObject * obj0 = 0 ;
16493 char *kwnames[] = {
16494 (char *) "self", NULL
16495 };
16496
16497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
16498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16499 {
16500 PyThreadState* __tstate = wxPyBeginAllowThreads();
16501 result = (bool)(arg1)->GetColour();
16502
16503 wxPyEndAllowThreads(__tstate);
16504 if (PyErr_Occurred()) SWIG_fail;
16505 }
16506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16507 return resultobj;
16508 fail:
16509 return NULL;
16510 }
16511
16512
16513 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16514 PyObject *resultobj;
16515 wxPrintData *arg1 = (wxPrintData *) 0 ;
16516 int result;
16517 PyObject * obj0 = 0 ;
16518 char *kwnames[] = {
16519 (char *) "self", NULL
16520 };
16521
16522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
16523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16524 {
16525 PyThreadState* __tstate = wxPyBeginAllowThreads();
16526 result = (int)(arg1)->GetDuplex();
16527
16528 wxPyEndAllowThreads(__tstate);
16529 if (PyErr_Occurred()) SWIG_fail;
16530 }
16531 resultobj = SWIG_PyObj_FromInt((int)result);
16532 return resultobj;
16533 fail:
16534 return NULL;
16535 }
16536
16537
16538 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16539 PyObject *resultobj;
16540 wxPrintData *arg1 = (wxPrintData *) 0 ;
16541 int result;
16542 PyObject * obj0 = 0 ;
16543 char *kwnames[] = {
16544 (char *) "self", NULL
16545 };
16546
16547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
16548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16549 {
16550 PyThreadState* __tstate = wxPyBeginAllowThreads();
16551 result = (int)(arg1)->GetPaperId();
16552
16553 wxPyEndAllowThreads(__tstate);
16554 if (PyErr_Occurred()) SWIG_fail;
16555 }
16556 resultobj = SWIG_PyObj_FromInt((int)result);
16557 return resultobj;
16558 fail:
16559 return NULL;
16560 }
16561
16562
16563 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16564 PyObject *resultobj;
16565 wxPrintData *arg1 = (wxPrintData *) 0 ;
16566 wxSize *result;
16567 PyObject * obj0 = 0 ;
16568 char *kwnames[] = {
16569 (char *) "self", NULL
16570 };
16571
16572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
16573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16574 {
16575 PyThreadState* __tstate = wxPyBeginAllowThreads();
16576 {
16577 wxSize const &_result_ref = (arg1)->GetPaperSize();
16578 result = (wxSize *) &_result_ref;
16579 }
16580
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
16585 return resultobj;
16586 fail:
16587 return NULL;
16588 }
16589
16590
16591 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16592 PyObject *resultobj;
16593 wxPrintData *arg1 = (wxPrintData *) 0 ;
16594 int result;
16595 PyObject * obj0 = 0 ;
16596 char *kwnames[] = {
16597 (char *) "self", NULL
16598 };
16599
16600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
16601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16602 {
16603 PyThreadState* __tstate = wxPyBeginAllowThreads();
16604 result = (int)(arg1)->GetQuality();
16605
16606 wxPyEndAllowThreads(__tstate);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 }
16609 resultobj = SWIG_PyObj_FromInt((int)result);
16610 return resultobj;
16611 fail:
16612 return NULL;
16613 }
16614
16615
16616 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxPrintData *arg1 = (wxPrintData *) 0 ;
16619 int arg2 ;
16620 PyObject * obj0 = 0 ;
16621 PyObject * obj1 = 0 ;
16622 char *kwnames[] = {
16623 (char *) "self",(char *) "v", NULL
16624 };
16625
16626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
16627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16628 {
16629 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 {
16633 PyThreadState* __tstate = wxPyBeginAllowThreads();
16634 (arg1)->SetNoCopies(arg2);
16635
16636 wxPyEndAllowThreads(__tstate);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 Py_INCREF(Py_None); resultobj = Py_None;
16640 return resultobj;
16641 fail:
16642 return NULL;
16643 }
16644
16645
16646 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16647 PyObject *resultobj;
16648 wxPrintData *arg1 = (wxPrintData *) 0 ;
16649 bool arg2 ;
16650 PyObject * obj0 = 0 ;
16651 PyObject * obj1 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "self",(char *) "flag", NULL
16654 };
16655
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
16657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16658 {
16659 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16660 if (PyErr_Occurred()) SWIG_fail;
16661 }
16662 {
16663 PyThreadState* __tstate = wxPyBeginAllowThreads();
16664 (arg1)->SetCollate(arg2);
16665
16666 wxPyEndAllowThreads(__tstate);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 Py_INCREF(Py_None); resultobj = Py_None;
16670 return resultobj;
16671 fail:
16672 return NULL;
16673 }
16674
16675
16676 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16677 PyObject *resultobj;
16678 wxPrintData *arg1 = (wxPrintData *) 0 ;
16679 int arg2 ;
16680 PyObject * obj0 = 0 ;
16681 PyObject * obj1 = 0 ;
16682 char *kwnames[] = {
16683 (char *) "self",(char *) "orient", NULL
16684 };
16685
16686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
16687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16688 {
16689 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 (arg1)->SetOrientation(arg2);
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 Py_INCREF(Py_None); resultobj = Py_None;
16700 return resultobj;
16701 fail:
16702 return NULL;
16703 }
16704
16705
16706 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj;
16708 wxPrintData *arg1 = (wxPrintData *) 0 ;
16709 wxString *arg2 = 0 ;
16710 bool temp2 = False ;
16711 PyObject * obj0 = 0 ;
16712 PyObject * obj1 = 0 ;
16713 char *kwnames[] = {
16714 (char *) "self",(char *) "name", NULL
16715 };
16716
16717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
16718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16719 {
16720 arg2 = wxString_in_helper(obj1);
16721 if (arg2 == NULL) SWIG_fail;
16722 temp2 = True;
16723 }
16724 {
16725 PyThreadState* __tstate = wxPyBeginAllowThreads();
16726 (arg1)->SetPrinterName((wxString const &)*arg2);
16727
16728 wxPyEndAllowThreads(__tstate);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 }
16731 Py_INCREF(Py_None); resultobj = Py_None;
16732 {
16733 if (temp2)
16734 delete arg2;
16735 }
16736 return resultobj;
16737 fail:
16738 {
16739 if (temp2)
16740 delete arg2;
16741 }
16742 return NULL;
16743 }
16744
16745
16746 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16747 PyObject *resultobj;
16748 wxPrintData *arg1 = (wxPrintData *) 0 ;
16749 bool arg2 ;
16750 PyObject * obj0 = 0 ;
16751 PyObject * obj1 = 0 ;
16752 char *kwnames[] = {
16753 (char *) "self",(char *) "colour", NULL
16754 };
16755
16756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
16757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16758 {
16759 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 {
16763 PyThreadState* __tstate = wxPyBeginAllowThreads();
16764 (arg1)->SetColour(arg2);
16765
16766 wxPyEndAllowThreads(__tstate);
16767 if (PyErr_Occurred()) SWIG_fail;
16768 }
16769 Py_INCREF(Py_None); resultobj = Py_None;
16770 return resultobj;
16771 fail:
16772 return NULL;
16773 }
16774
16775
16776 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16777 PyObject *resultobj;
16778 wxPrintData *arg1 = (wxPrintData *) 0 ;
16779 int arg2 ;
16780 PyObject * obj0 = 0 ;
16781 PyObject * obj1 = 0 ;
16782 char *kwnames[] = {
16783 (char *) "self",(char *) "duplex", NULL
16784 };
16785
16786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
16787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16788 {
16789 arg2 = (wxDuplexMode) SWIG_PyObj_AsInt(obj1);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 (arg1)->SetDuplex((wxDuplexMode )arg2);
16795
16796 wxPyEndAllowThreads(__tstate);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 Py_INCREF(Py_None); resultobj = Py_None;
16800 return resultobj;
16801 fail:
16802 return NULL;
16803 }
16804
16805
16806 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 wxPrintData *arg1 = (wxPrintData *) 0 ;
16809 int arg2 ;
16810 PyObject * obj0 = 0 ;
16811 PyObject * obj1 = 0 ;
16812 char *kwnames[] = {
16813 (char *) "self",(char *) "sizeId", NULL
16814 };
16815
16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
16817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16818 {
16819 arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1);
16820 if (PyErr_Occurred()) SWIG_fail;
16821 }
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 (arg1)->SetPaperId((wxPaperSize )arg2);
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 Py_INCREF(Py_None); resultobj = Py_None;
16830 return resultobj;
16831 fail:
16832 return NULL;
16833 }
16834
16835
16836 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16837 PyObject *resultobj;
16838 wxPrintData *arg1 = (wxPrintData *) 0 ;
16839 wxSize *arg2 = 0 ;
16840 wxSize temp2 ;
16841 PyObject * obj0 = 0 ;
16842 PyObject * obj1 = 0 ;
16843 char *kwnames[] = {
16844 (char *) "self",(char *) "sz", NULL
16845 };
16846
16847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16849 {
16850 arg2 = &temp2;
16851 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16852 }
16853 {
16854 PyThreadState* __tstate = wxPyBeginAllowThreads();
16855 (arg1)->SetPaperSize((wxSize const &)*arg2);
16856
16857 wxPyEndAllowThreads(__tstate);
16858 if (PyErr_Occurred()) SWIG_fail;
16859 }
16860 Py_INCREF(Py_None); resultobj = Py_None;
16861 return resultobj;
16862 fail:
16863 return NULL;
16864 }
16865
16866
16867 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16868 PyObject *resultobj;
16869 wxPrintData *arg1 = (wxPrintData *) 0 ;
16870 int arg2 ;
16871 PyObject * obj0 = 0 ;
16872 PyObject * obj1 = 0 ;
16873 char *kwnames[] = {
16874 (char *) "self",(char *) "quality", NULL
16875 };
16876
16877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
16878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16879 {
16880 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 {
16884 PyThreadState* __tstate = wxPyBeginAllowThreads();
16885 (arg1)->SetQuality(arg2);
16886
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 Py_INCREF(Py_None); resultobj = Py_None;
16891 return resultobj;
16892 fail:
16893 return NULL;
16894 }
16895
16896
16897 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16898 PyObject *resultobj;
16899 wxPrintData *arg1 = (wxPrintData *) 0 ;
16900 wxString *result;
16901 PyObject * obj0 = 0 ;
16902 char *kwnames[] = {
16903 (char *) "self", NULL
16904 };
16905
16906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
16907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16908 {
16909 PyThreadState* __tstate = wxPyBeginAllowThreads();
16910 {
16911 wxString const &_result_ref = (arg1)->GetPrinterCommand();
16912 result = (wxString *) &_result_ref;
16913 }
16914
16915 wxPyEndAllowThreads(__tstate);
16916 if (PyErr_Occurred()) SWIG_fail;
16917 }
16918 {
16919 #if wxUSE_UNICODE
16920 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16921 #else
16922 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16923 #endif
16924 }
16925 return resultobj;
16926 fail:
16927 return NULL;
16928 }
16929
16930
16931 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
16932 PyObject *resultobj;
16933 wxPrintData *arg1 = (wxPrintData *) 0 ;
16934 wxString *result;
16935 PyObject * obj0 = 0 ;
16936 char *kwnames[] = {
16937 (char *) "self", NULL
16938 };
16939
16940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
16941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16942 {
16943 PyThreadState* __tstate = wxPyBeginAllowThreads();
16944 {
16945 wxString const &_result_ref = (arg1)->GetPrinterOptions();
16946 result = (wxString *) &_result_ref;
16947 }
16948
16949 wxPyEndAllowThreads(__tstate);
16950 if (PyErr_Occurred()) SWIG_fail;
16951 }
16952 {
16953 #if wxUSE_UNICODE
16954 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16955 #else
16956 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16957 #endif
16958 }
16959 return resultobj;
16960 fail:
16961 return NULL;
16962 }
16963
16964
16965 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16966 PyObject *resultobj;
16967 wxPrintData *arg1 = (wxPrintData *) 0 ;
16968 wxString *result;
16969 PyObject * obj0 = 0 ;
16970 char *kwnames[] = {
16971 (char *) "self", NULL
16972 };
16973
16974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
16975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16976 {
16977 PyThreadState* __tstate = wxPyBeginAllowThreads();
16978 {
16979 wxString const &_result_ref = (arg1)->GetPreviewCommand();
16980 result = (wxString *) &_result_ref;
16981 }
16982
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 {
16987 #if wxUSE_UNICODE
16988 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16989 #else
16990 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16991 #endif
16992 }
16993 return resultobj;
16994 fail:
16995 return NULL;
16996 }
16997
16998
16999 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj;
17001 wxPrintData *arg1 = (wxPrintData *) 0 ;
17002 wxString *result;
17003 PyObject * obj0 = 0 ;
17004 char *kwnames[] = {
17005 (char *) "self", NULL
17006 };
17007
17008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
17009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17010 {
17011 PyThreadState* __tstate = wxPyBeginAllowThreads();
17012 {
17013 wxString const &_result_ref = (arg1)->GetFilename();
17014 result = (wxString *) &_result_ref;
17015 }
17016
17017 wxPyEndAllowThreads(__tstate);
17018 if (PyErr_Occurred()) SWIG_fail;
17019 }
17020 {
17021 #if wxUSE_UNICODE
17022 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17023 #else
17024 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17025 #endif
17026 }
17027 return resultobj;
17028 fail:
17029 return NULL;
17030 }
17031
17032
17033 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17034 PyObject *resultobj;
17035 wxPrintData *arg1 = (wxPrintData *) 0 ;
17036 wxString *result;
17037 PyObject * obj0 = 0 ;
17038 char *kwnames[] = {
17039 (char *) "self", NULL
17040 };
17041
17042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
17043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17044 {
17045 PyThreadState* __tstate = wxPyBeginAllowThreads();
17046 {
17047 wxString const &_result_ref = (arg1)->GetFontMetricPath();
17048 result = (wxString *) &_result_ref;
17049 }
17050
17051 wxPyEndAllowThreads(__tstate);
17052 if (PyErr_Occurred()) SWIG_fail;
17053 }
17054 {
17055 #if wxUSE_UNICODE
17056 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17057 #else
17058 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17059 #endif
17060 }
17061 return resultobj;
17062 fail:
17063 return NULL;
17064 }
17065
17066
17067 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17068 PyObject *resultobj;
17069 wxPrintData *arg1 = (wxPrintData *) 0 ;
17070 double result;
17071 PyObject * obj0 = 0 ;
17072 char *kwnames[] = {
17073 (char *) "self", NULL
17074 };
17075
17076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
17077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17078 {
17079 PyThreadState* __tstate = wxPyBeginAllowThreads();
17080 result = (double)(arg1)->GetPrinterScaleX();
17081
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 resultobj = SWIG_PyObj_FromDouble((double)result);
17086 return resultobj;
17087 fail:
17088 return NULL;
17089 }
17090
17091
17092 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj;
17094 wxPrintData *arg1 = (wxPrintData *) 0 ;
17095 double result;
17096 PyObject * obj0 = 0 ;
17097 char *kwnames[] = {
17098 (char *) "self", NULL
17099 };
17100
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
17102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 result = (double)(arg1)->GetPrinterScaleY();
17106
17107 wxPyEndAllowThreads(__tstate);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 resultobj = SWIG_PyObj_FromDouble((double)result);
17111 return resultobj;
17112 fail:
17113 return NULL;
17114 }
17115
17116
17117 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17118 PyObject *resultobj;
17119 wxPrintData *arg1 = (wxPrintData *) 0 ;
17120 long result;
17121 PyObject * obj0 = 0 ;
17122 char *kwnames[] = {
17123 (char *) "self", NULL
17124 };
17125
17126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
17127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17128 {
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 result = (long)(arg1)->GetPrinterTranslateX();
17131
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 resultobj = SWIG_PyObj_FromLong((long)result);
17136 return resultobj;
17137 fail:
17138 return NULL;
17139 }
17140
17141
17142 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj;
17144 wxPrintData *arg1 = (wxPrintData *) 0 ;
17145 long result;
17146 PyObject * obj0 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "self", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
17152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17153 {
17154 PyThreadState* __tstate = wxPyBeginAllowThreads();
17155 result = (long)(arg1)->GetPrinterTranslateY();
17156
17157 wxPyEndAllowThreads(__tstate);
17158 if (PyErr_Occurred()) SWIG_fail;
17159 }
17160 resultobj = SWIG_PyObj_FromLong((long)result);
17161 return resultobj;
17162 fail:
17163 return NULL;
17164 }
17165
17166
17167 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj;
17169 wxPrintData *arg1 = (wxPrintData *) 0 ;
17170 int result;
17171 PyObject * obj0 = 0 ;
17172 char *kwnames[] = {
17173 (char *) "self", NULL
17174 };
17175
17176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
17177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17178 {
17179 PyThreadState* __tstate = wxPyBeginAllowThreads();
17180 result = (int)(arg1)->GetPrintMode();
17181
17182 wxPyEndAllowThreads(__tstate);
17183 if (PyErr_Occurred()) SWIG_fail;
17184 }
17185 resultobj = SWIG_PyObj_FromInt((int)result);
17186 return resultobj;
17187 fail:
17188 return NULL;
17189 }
17190
17191
17192 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17193 PyObject *resultobj;
17194 wxPrintData *arg1 = (wxPrintData *) 0 ;
17195 wxString *arg2 = 0 ;
17196 bool temp2 = False ;
17197 PyObject * obj0 = 0 ;
17198 PyObject * obj1 = 0 ;
17199 char *kwnames[] = {
17200 (char *) "self",(char *) "command", NULL
17201 };
17202
17203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
17204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17205 {
17206 arg2 = wxString_in_helper(obj1);
17207 if (arg2 == NULL) SWIG_fail;
17208 temp2 = True;
17209 }
17210 {
17211 PyThreadState* __tstate = wxPyBeginAllowThreads();
17212 (arg1)->SetPrinterCommand((wxString const &)*arg2);
17213
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 Py_INCREF(Py_None); resultobj = Py_None;
17218 {
17219 if (temp2)
17220 delete arg2;
17221 }
17222 return resultobj;
17223 fail:
17224 {
17225 if (temp2)
17226 delete arg2;
17227 }
17228 return NULL;
17229 }
17230
17231
17232 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
17233 PyObject *resultobj;
17234 wxPrintData *arg1 = (wxPrintData *) 0 ;
17235 wxString *arg2 = 0 ;
17236 bool temp2 = False ;
17237 PyObject * obj0 = 0 ;
17238 PyObject * obj1 = 0 ;
17239 char *kwnames[] = {
17240 (char *) "self",(char *) "options", NULL
17241 };
17242
17243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
17244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17245 {
17246 arg2 = wxString_in_helper(obj1);
17247 if (arg2 == NULL) SWIG_fail;
17248 temp2 = True;
17249 }
17250 {
17251 PyThreadState* __tstate = wxPyBeginAllowThreads();
17252 (arg1)->SetPrinterOptions((wxString const &)*arg2);
17253
17254 wxPyEndAllowThreads(__tstate);
17255 if (PyErr_Occurred()) SWIG_fail;
17256 }
17257 Py_INCREF(Py_None); resultobj = Py_None;
17258 {
17259 if (temp2)
17260 delete arg2;
17261 }
17262 return resultobj;
17263 fail:
17264 {
17265 if (temp2)
17266 delete arg2;
17267 }
17268 return NULL;
17269 }
17270
17271
17272 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17273 PyObject *resultobj;
17274 wxPrintData *arg1 = (wxPrintData *) 0 ;
17275 wxString *arg2 = 0 ;
17276 bool temp2 = False ;
17277 PyObject * obj0 = 0 ;
17278 PyObject * obj1 = 0 ;
17279 char *kwnames[] = {
17280 (char *) "self",(char *) "command", NULL
17281 };
17282
17283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
17284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17285 {
17286 arg2 = wxString_in_helper(obj1);
17287 if (arg2 == NULL) SWIG_fail;
17288 temp2 = True;
17289 }
17290 {
17291 PyThreadState* __tstate = wxPyBeginAllowThreads();
17292 (arg1)->SetPreviewCommand((wxString const &)*arg2);
17293
17294 wxPyEndAllowThreads(__tstate);
17295 if (PyErr_Occurred()) SWIG_fail;
17296 }
17297 Py_INCREF(Py_None); resultobj = Py_None;
17298 {
17299 if (temp2)
17300 delete arg2;
17301 }
17302 return resultobj;
17303 fail:
17304 {
17305 if (temp2)
17306 delete arg2;
17307 }
17308 return NULL;
17309 }
17310
17311
17312 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17313 PyObject *resultobj;
17314 wxPrintData *arg1 = (wxPrintData *) 0 ;
17315 wxString *arg2 = 0 ;
17316 bool temp2 = False ;
17317 PyObject * obj0 = 0 ;
17318 PyObject * obj1 = 0 ;
17319 char *kwnames[] = {
17320 (char *) "self",(char *) "filename", NULL
17321 };
17322
17323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
17324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17325 {
17326 arg2 = wxString_in_helper(obj1);
17327 if (arg2 == NULL) SWIG_fail;
17328 temp2 = True;
17329 }
17330 {
17331 PyThreadState* __tstate = wxPyBeginAllowThreads();
17332 (arg1)->SetFilename((wxString const &)*arg2);
17333
17334 wxPyEndAllowThreads(__tstate);
17335 if (PyErr_Occurred()) SWIG_fail;
17336 }
17337 Py_INCREF(Py_None); resultobj = Py_None;
17338 {
17339 if (temp2)
17340 delete arg2;
17341 }
17342 return resultobj;
17343 fail:
17344 {
17345 if (temp2)
17346 delete arg2;
17347 }
17348 return NULL;
17349 }
17350
17351
17352 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17353 PyObject *resultobj;
17354 wxPrintData *arg1 = (wxPrintData *) 0 ;
17355 wxString *arg2 = 0 ;
17356 bool temp2 = False ;
17357 PyObject * obj0 = 0 ;
17358 PyObject * obj1 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self",(char *) "path", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
17364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17365 {
17366 arg2 = wxString_in_helper(obj1);
17367 if (arg2 == NULL) SWIG_fail;
17368 temp2 = True;
17369 }
17370 {
17371 PyThreadState* __tstate = wxPyBeginAllowThreads();
17372 (arg1)->SetFontMetricPath((wxString const &)*arg2);
17373
17374 wxPyEndAllowThreads(__tstate);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 }
17377 Py_INCREF(Py_None); resultobj = Py_None;
17378 {
17379 if (temp2)
17380 delete arg2;
17381 }
17382 return resultobj;
17383 fail:
17384 {
17385 if (temp2)
17386 delete arg2;
17387 }
17388 return NULL;
17389 }
17390
17391
17392 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17393 PyObject *resultobj;
17394 wxPrintData *arg1 = (wxPrintData *) 0 ;
17395 double arg2 ;
17396 PyObject * obj0 = 0 ;
17397 PyObject * obj1 = 0 ;
17398 char *kwnames[] = {
17399 (char *) "self",(char *) "x", NULL
17400 };
17401
17402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
17403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17404 {
17405 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17406 if (PyErr_Occurred()) SWIG_fail;
17407 }
17408 {
17409 PyThreadState* __tstate = wxPyBeginAllowThreads();
17410 (arg1)->SetPrinterScaleX(arg2);
17411
17412 wxPyEndAllowThreads(__tstate);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 Py_INCREF(Py_None); resultobj = Py_None;
17416 return resultobj;
17417 fail:
17418 return NULL;
17419 }
17420
17421
17422 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17423 PyObject *resultobj;
17424 wxPrintData *arg1 = (wxPrintData *) 0 ;
17425 double arg2 ;
17426 PyObject * obj0 = 0 ;
17427 PyObject * obj1 = 0 ;
17428 char *kwnames[] = {
17429 (char *) "self",(char *) "y", NULL
17430 };
17431
17432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
17433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17434 {
17435 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 {
17439 PyThreadState* __tstate = wxPyBeginAllowThreads();
17440 (arg1)->SetPrinterScaleY(arg2);
17441
17442 wxPyEndAllowThreads(__tstate);
17443 if (PyErr_Occurred()) SWIG_fail;
17444 }
17445 Py_INCREF(Py_None); resultobj = Py_None;
17446 return resultobj;
17447 fail:
17448 return NULL;
17449 }
17450
17451
17452 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
17453 PyObject *resultobj;
17454 wxPrintData *arg1 = (wxPrintData *) 0 ;
17455 double arg2 ;
17456 double arg3 ;
17457 PyObject * obj0 = 0 ;
17458 PyObject * obj1 = 0 ;
17459 PyObject * obj2 = 0 ;
17460 char *kwnames[] = {
17461 (char *) "self",(char *) "x",(char *) "y", NULL
17462 };
17463
17464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
17465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17466 {
17467 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 }
17470 {
17471 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 {
17475 PyThreadState* __tstate = wxPyBeginAllowThreads();
17476 (arg1)->SetPrinterScaling(arg2,arg3);
17477
17478 wxPyEndAllowThreads(__tstate);
17479 if (PyErr_Occurred()) SWIG_fail;
17480 }
17481 Py_INCREF(Py_None); resultobj = Py_None;
17482 return resultobj;
17483 fail:
17484 return NULL;
17485 }
17486
17487
17488 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17489 PyObject *resultobj;
17490 wxPrintData *arg1 = (wxPrintData *) 0 ;
17491 long arg2 ;
17492 PyObject * obj0 = 0 ;
17493 PyObject * obj1 = 0 ;
17494 char *kwnames[] = {
17495 (char *) "self",(char *) "x", NULL
17496 };
17497
17498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
17499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17500 {
17501 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17502 if (PyErr_Occurred()) SWIG_fail;
17503 }
17504 {
17505 PyThreadState* __tstate = wxPyBeginAllowThreads();
17506 (arg1)->SetPrinterTranslateX(arg2);
17507
17508 wxPyEndAllowThreads(__tstate);
17509 if (PyErr_Occurred()) SWIG_fail;
17510 }
17511 Py_INCREF(Py_None); resultobj = Py_None;
17512 return resultobj;
17513 fail:
17514 return NULL;
17515 }
17516
17517
17518 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17519 PyObject *resultobj;
17520 wxPrintData *arg1 = (wxPrintData *) 0 ;
17521 long arg2 ;
17522 PyObject * obj0 = 0 ;
17523 PyObject * obj1 = 0 ;
17524 char *kwnames[] = {
17525 (char *) "self",(char *) "y", NULL
17526 };
17527
17528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
17529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17530 {
17531 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 {
17535 PyThreadState* __tstate = wxPyBeginAllowThreads();
17536 (arg1)->SetPrinterTranslateY(arg2);
17537
17538 wxPyEndAllowThreads(__tstate);
17539 if (PyErr_Occurred()) SWIG_fail;
17540 }
17541 Py_INCREF(Py_None); resultobj = Py_None;
17542 return resultobj;
17543 fail:
17544 return NULL;
17545 }
17546
17547
17548 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
17549 PyObject *resultobj;
17550 wxPrintData *arg1 = (wxPrintData *) 0 ;
17551 long arg2 ;
17552 long arg3 ;
17553 PyObject * obj0 = 0 ;
17554 PyObject * obj1 = 0 ;
17555 PyObject * obj2 = 0 ;
17556 char *kwnames[] = {
17557 (char *) "self",(char *) "x",(char *) "y", NULL
17558 };
17559
17560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
17561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17562 {
17563 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17564 if (PyErr_Occurred()) SWIG_fail;
17565 }
17566 {
17567 arg3 = (long) SWIG_PyObj_AsLong(obj2);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 (arg1)->SetPrinterTranslation(arg2,arg3);
17573
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 Py_INCREF(Py_None); resultobj = Py_None;
17578 return resultobj;
17579 fail:
17580 return NULL;
17581 }
17582
17583
17584 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17585 PyObject *resultobj;
17586 wxPrintData *arg1 = (wxPrintData *) 0 ;
17587 int arg2 ;
17588 PyObject * obj0 = 0 ;
17589 PyObject * obj1 = 0 ;
17590 char *kwnames[] = {
17591 (char *) "self",(char *) "printMode", NULL
17592 };
17593
17594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
17595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17596 {
17597 arg2 = (wxPrintMode) SWIG_PyObj_AsInt(obj1);
17598 if (PyErr_Occurred()) SWIG_fail;
17599 }
17600 {
17601 PyThreadState* __tstate = wxPyBeginAllowThreads();
17602 (arg1)->SetPrintMode((wxPrintMode )arg2);
17603
17604 wxPyEndAllowThreads(__tstate);
17605 if (PyErr_Occurred()) SWIG_fail;
17606 }
17607 Py_INCREF(Py_None); resultobj = Py_None;
17608 return resultobj;
17609 fail:
17610 return NULL;
17611 }
17612
17613
17614 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
17615 PyObject *obj;
17616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17617 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
17618 Py_INCREF(obj);
17619 return Py_BuildValue((char *)"");
17620 }
17621 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxPageSetupDialogData *result;
17624 char *kwnames[] = {
17625 NULL
17626 };
17627
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
17629 {
17630 PyThreadState* __tstate = wxPyBeginAllowThreads();
17631 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
17632
17633 wxPyEndAllowThreads(__tstate);
17634 if (PyErr_Occurred()) SWIG_fail;
17635 }
17636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
17637 return resultobj;
17638 fail:
17639 return NULL;
17640 }
17641
17642
17643 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17644 PyObject *resultobj;
17645 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17646 PyObject * obj0 = 0 ;
17647 char *kwnames[] = {
17648 (char *) "self", NULL
17649 };
17650
17651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
17652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 delete arg1;
17656
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 Py_INCREF(Py_None); resultobj = Py_None;
17661 return resultobj;
17662 fail:
17663 return NULL;
17664 }
17665
17666
17667 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17668 PyObject *resultobj;
17669 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17670 bool arg2 ;
17671 PyObject * obj0 = 0 ;
17672 PyObject * obj1 = 0 ;
17673 char *kwnames[] = {
17674 (char *) "self",(char *) "flag", NULL
17675 };
17676
17677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17679 {
17680 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 }
17683 {
17684 PyThreadState* __tstate = wxPyBeginAllowThreads();
17685 (arg1)->EnableHelp(arg2);
17686
17687 wxPyEndAllowThreads(__tstate);
17688 if (PyErr_Occurred()) SWIG_fail;
17689 }
17690 Py_INCREF(Py_None); resultobj = Py_None;
17691 return resultobj;
17692 fail:
17693 return NULL;
17694 }
17695
17696
17697 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17698 PyObject *resultobj;
17699 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17700 bool arg2 ;
17701 PyObject * obj0 = 0 ;
17702 PyObject * obj1 = 0 ;
17703 char *kwnames[] = {
17704 (char *) "self",(char *) "flag", NULL
17705 };
17706
17707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
17708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17709 {
17710 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 }
17713 {
17714 PyThreadState* __tstate = wxPyBeginAllowThreads();
17715 (arg1)->EnableMargins(arg2);
17716
17717 wxPyEndAllowThreads(__tstate);
17718 if (PyErr_Occurred()) SWIG_fail;
17719 }
17720 Py_INCREF(Py_None); resultobj = Py_None;
17721 return resultobj;
17722 fail:
17723 return NULL;
17724 }
17725
17726
17727 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17728 PyObject *resultobj;
17729 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17730 bool arg2 ;
17731 PyObject * obj0 = 0 ;
17732 PyObject * obj1 = 0 ;
17733 char *kwnames[] = {
17734 (char *) "self",(char *) "flag", NULL
17735 };
17736
17737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
17738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17739 {
17740 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17741 if (PyErr_Occurred()) SWIG_fail;
17742 }
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 (arg1)->EnableOrientation(arg2);
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 Py_INCREF(Py_None); resultobj = Py_None;
17751 return resultobj;
17752 fail:
17753 return NULL;
17754 }
17755
17756
17757 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17758 PyObject *resultobj;
17759 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17760 bool arg2 ;
17761 PyObject * obj0 = 0 ;
17762 PyObject * obj1 = 0 ;
17763 char *kwnames[] = {
17764 (char *) "self",(char *) "flag", NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
17768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17769 {
17770 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 }
17773 {
17774 PyThreadState* __tstate = wxPyBeginAllowThreads();
17775 (arg1)->EnablePaper(arg2);
17776
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 Py_INCREF(Py_None); resultobj = Py_None;
17781 return resultobj;
17782 fail:
17783 return NULL;
17784 }
17785
17786
17787 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17788 PyObject *resultobj;
17789 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17790 bool arg2 ;
17791 PyObject * obj0 = 0 ;
17792 PyObject * obj1 = 0 ;
17793 char *kwnames[] = {
17794 (char *) "self",(char *) "flag", NULL
17795 };
17796
17797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
17798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17799 {
17800 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
17803 {
17804 PyThreadState* __tstate = wxPyBeginAllowThreads();
17805 (arg1)->EnablePrinter(arg2);
17806
17807 wxPyEndAllowThreads(__tstate);
17808 if (PyErr_Occurred()) SWIG_fail;
17809 }
17810 Py_INCREF(Py_None); resultobj = Py_None;
17811 return resultobj;
17812 fail:
17813 return NULL;
17814 }
17815
17816
17817 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17818 PyObject *resultobj;
17819 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17820 bool result;
17821 PyObject * obj0 = 0 ;
17822 char *kwnames[] = {
17823 (char *) "self", NULL
17824 };
17825
17826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
17827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17828 {
17829 PyThreadState* __tstate = wxPyBeginAllowThreads();
17830 result = (bool)(arg1)->GetDefaultMinMargins();
17831
17832 wxPyEndAllowThreads(__tstate);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 }
17835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17836 return resultobj;
17837 fail:
17838 return NULL;
17839 }
17840
17841
17842 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17843 PyObject *resultobj;
17844 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17845 bool result;
17846 PyObject * obj0 = 0 ;
17847 char *kwnames[] = {
17848 (char *) "self", NULL
17849 };
17850
17851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
17852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 result = (bool)(arg1)->GetEnableMargins();
17856
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17861 return resultobj;
17862 fail:
17863 return NULL;
17864 }
17865
17866
17867 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17870 bool result;
17871 PyObject * obj0 = 0 ;
17872 char *kwnames[] = {
17873 (char *) "self", NULL
17874 };
17875
17876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
17877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 result = (bool)(arg1)->GetEnableOrientation();
17881
17882 wxPyEndAllowThreads(__tstate);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
17885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17886 return resultobj;
17887 fail:
17888 return NULL;
17889 }
17890
17891
17892 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17893 PyObject *resultobj;
17894 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17895 bool result;
17896 PyObject * obj0 = 0 ;
17897 char *kwnames[] = {
17898 (char *) "self", NULL
17899 };
17900
17901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
17902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17903 {
17904 PyThreadState* __tstate = wxPyBeginAllowThreads();
17905 result = (bool)(arg1)->GetEnablePaper();
17906
17907 wxPyEndAllowThreads(__tstate);
17908 if (PyErr_Occurred()) SWIG_fail;
17909 }
17910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17911 return resultobj;
17912 fail:
17913 return NULL;
17914 }
17915
17916
17917 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17918 PyObject *resultobj;
17919 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17920 bool result;
17921 PyObject * obj0 = 0 ;
17922 char *kwnames[] = {
17923 (char *) "self", NULL
17924 };
17925
17926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
17927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17928 {
17929 PyThreadState* __tstate = wxPyBeginAllowThreads();
17930 result = (bool)(arg1)->GetEnablePrinter();
17931
17932 wxPyEndAllowThreads(__tstate);
17933 if (PyErr_Occurred()) SWIG_fail;
17934 }
17935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17936 return resultobj;
17937 fail:
17938 return NULL;
17939 }
17940
17941
17942 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17943 PyObject *resultobj;
17944 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17945 bool result;
17946 PyObject * obj0 = 0 ;
17947 char *kwnames[] = {
17948 (char *) "self", NULL
17949 };
17950
17951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17953 {
17954 PyThreadState* __tstate = wxPyBeginAllowThreads();
17955 result = (bool)(arg1)->GetEnableHelp();
17956
17957 wxPyEndAllowThreads(__tstate);
17958 if (PyErr_Occurred()) SWIG_fail;
17959 }
17960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17961 return resultobj;
17962 fail:
17963 return NULL;
17964 }
17965
17966
17967 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17968 PyObject *resultobj;
17969 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17970 bool result;
17971 PyObject * obj0 = 0 ;
17972 char *kwnames[] = {
17973 (char *) "self", NULL
17974 };
17975
17976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
17977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17978 {
17979 PyThreadState* __tstate = wxPyBeginAllowThreads();
17980 result = (bool)(arg1)->GetDefaultInfo();
17981
17982 wxPyEndAllowThreads(__tstate);
17983 if (PyErr_Occurred()) SWIG_fail;
17984 }
17985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17986 return resultobj;
17987 fail:
17988 return NULL;
17989 }
17990
17991
17992 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17993 PyObject *resultobj;
17994 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17995 wxPoint result;
17996 PyObject * obj0 = 0 ;
17997 char *kwnames[] = {
17998 (char *) "self", NULL
17999 };
18000
18001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
18002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18003 {
18004 PyThreadState* __tstate = wxPyBeginAllowThreads();
18005 result = (arg1)->GetMarginTopLeft();
18006
18007 wxPyEndAllowThreads(__tstate);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 }
18010 {
18011 wxPoint * resultptr;
18012 resultptr = new wxPoint((wxPoint &) result);
18013 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18014 }
18015 return resultobj;
18016 fail:
18017 return NULL;
18018 }
18019
18020
18021 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18022 PyObject *resultobj;
18023 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18024 wxPoint result;
18025 PyObject * obj0 = 0 ;
18026 char *kwnames[] = {
18027 (char *) "self", NULL
18028 };
18029
18030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
18031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18032 {
18033 PyThreadState* __tstate = wxPyBeginAllowThreads();
18034 result = (arg1)->GetMarginBottomRight();
18035
18036 wxPyEndAllowThreads(__tstate);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 }
18039 {
18040 wxPoint * resultptr;
18041 resultptr = new wxPoint((wxPoint &) result);
18042 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18043 }
18044 return resultobj;
18045 fail:
18046 return NULL;
18047 }
18048
18049
18050 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18051 PyObject *resultobj;
18052 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18053 wxPoint result;
18054 PyObject * obj0 = 0 ;
18055 char *kwnames[] = {
18056 (char *) "self", NULL
18057 };
18058
18059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
18060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18061 {
18062 PyThreadState* __tstate = wxPyBeginAllowThreads();
18063 result = (arg1)->GetMinMarginTopLeft();
18064
18065 wxPyEndAllowThreads(__tstate);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 }
18068 {
18069 wxPoint * resultptr;
18070 resultptr = new wxPoint((wxPoint &) result);
18071 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18072 }
18073 return resultobj;
18074 fail:
18075 return NULL;
18076 }
18077
18078
18079 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18080 PyObject *resultobj;
18081 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18082 wxPoint result;
18083 PyObject * obj0 = 0 ;
18084 char *kwnames[] = {
18085 (char *) "self", NULL
18086 };
18087
18088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
18089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18090 {
18091 PyThreadState* __tstate = wxPyBeginAllowThreads();
18092 result = (arg1)->GetMinMarginBottomRight();
18093
18094 wxPyEndAllowThreads(__tstate);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 }
18097 {
18098 wxPoint * resultptr;
18099 resultptr = new wxPoint((wxPoint &) result);
18100 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18101 }
18102 return resultobj;
18103 fail:
18104 return NULL;
18105 }
18106
18107
18108 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18109 PyObject *resultobj;
18110 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18111 int result;
18112 PyObject * obj0 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "self", NULL
18115 };
18116
18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
18118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18119 {
18120 PyThreadState* __tstate = wxPyBeginAllowThreads();
18121 result = (int)(arg1)->GetPaperId();
18122
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 resultobj = SWIG_PyObj_FromInt((int)result);
18127 return resultobj;
18128 fail:
18129 return NULL;
18130 }
18131
18132
18133 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18134 PyObject *resultobj;
18135 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18136 wxSize result;
18137 PyObject * obj0 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18144 {
18145 PyThreadState* __tstate = wxPyBeginAllowThreads();
18146 result = (arg1)->GetPaperSize();
18147
18148 wxPyEndAllowThreads(__tstate);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 {
18152 wxSize * resultptr;
18153 resultptr = new wxSize((wxSize &) result);
18154 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18155 }
18156 return resultobj;
18157 fail:
18158 return NULL;
18159 }
18160
18161
18162 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18163 PyObject *resultobj;
18164 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18165 wxPrintData *result;
18166 PyObject * obj0 = 0 ;
18167 char *kwnames[] = {
18168 (char *) "self", NULL
18169 };
18170
18171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18173 {
18174 PyThreadState* __tstate = wxPyBeginAllowThreads();
18175 {
18176 wxPrintData &_result_ref = (arg1)->GetPrintData();
18177 result = (wxPrintData *) &_result_ref;
18178 }
18179
18180 wxPyEndAllowThreads(__tstate);
18181 if (PyErr_Occurred()) SWIG_fail;
18182 }
18183 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
18184 return resultobj;
18185 fail:
18186 return NULL;
18187 }
18188
18189
18190 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18191 PyObject *resultobj;
18192 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18193 bool result;
18194 PyObject * obj0 = 0 ;
18195 char *kwnames[] = {
18196 (char *) "self", NULL
18197 };
18198
18199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
18200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 result = (bool)(arg1)->Ok();
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18209 return resultobj;
18210 fail:
18211 return NULL;
18212 }
18213
18214
18215 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18216 PyObject *resultobj;
18217 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18218 bool arg2 ;
18219 PyObject * obj0 = 0 ;
18220 PyObject * obj1 = 0 ;
18221 char *kwnames[] = {
18222 (char *) "self",(char *) "flag", NULL
18223 };
18224
18225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
18226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18227 {
18228 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18229 if (PyErr_Occurred()) SWIG_fail;
18230 }
18231 {
18232 PyThreadState* __tstate = wxPyBeginAllowThreads();
18233 (arg1)->SetDefaultInfo(arg2);
18234
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 Py_INCREF(Py_None); resultobj = Py_None;
18239 return resultobj;
18240 fail:
18241 return NULL;
18242 }
18243
18244
18245 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18246 PyObject *resultobj;
18247 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18248 bool arg2 ;
18249 PyObject * obj0 = 0 ;
18250 PyObject * obj1 = 0 ;
18251 char *kwnames[] = {
18252 (char *) "self",(char *) "flag", NULL
18253 };
18254
18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
18256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18257 {
18258 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18259 if (PyErr_Occurred()) SWIG_fail;
18260 }
18261 {
18262 PyThreadState* __tstate = wxPyBeginAllowThreads();
18263 (arg1)->SetDefaultMinMargins(arg2);
18264
18265 wxPyEndAllowThreads(__tstate);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 Py_INCREF(Py_None); resultobj = Py_None;
18269 return resultobj;
18270 fail:
18271 return NULL;
18272 }
18273
18274
18275 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18276 PyObject *resultobj;
18277 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18278 wxPoint *arg2 = 0 ;
18279 wxPoint temp2 ;
18280 PyObject * obj0 = 0 ;
18281 PyObject * obj1 = 0 ;
18282 char *kwnames[] = {
18283 (char *) "self",(char *) "pt", NULL
18284 };
18285
18286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18288 {
18289 arg2 = &temp2;
18290 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18291 }
18292 {
18293 PyThreadState* __tstate = wxPyBeginAllowThreads();
18294 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
18295
18296 wxPyEndAllowThreads(__tstate);
18297 if (PyErr_Occurred()) SWIG_fail;
18298 }
18299 Py_INCREF(Py_None); resultobj = Py_None;
18300 return resultobj;
18301 fail:
18302 return NULL;
18303 }
18304
18305
18306 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18307 PyObject *resultobj;
18308 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18309 wxPoint *arg2 = 0 ;
18310 wxPoint temp2 ;
18311 PyObject * obj0 = 0 ;
18312 PyObject * obj1 = 0 ;
18313 char *kwnames[] = {
18314 (char *) "self",(char *) "pt", NULL
18315 };
18316
18317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18319 {
18320 arg2 = &temp2;
18321 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18322 }
18323 {
18324 PyThreadState* __tstate = wxPyBeginAllowThreads();
18325 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
18326
18327 wxPyEndAllowThreads(__tstate);
18328 if (PyErr_Occurred()) SWIG_fail;
18329 }
18330 Py_INCREF(Py_None); resultobj = Py_None;
18331 return resultobj;
18332 fail:
18333 return NULL;
18334 }
18335
18336
18337 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18338 PyObject *resultobj;
18339 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18340 wxPoint *arg2 = 0 ;
18341 wxPoint temp2 ;
18342 PyObject * obj0 = 0 ;
18343 PyObject * obj1 = 0 ;
18344 char *kwnames[] = {
18345 (char *) "self",(char *) "pt", NULL
18346 };
18347
18348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18350 {
18351 arg2 = &temp2;
18352 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18353 }
18354 {
18355 PyThreadState* __tstate = wxPyBeginAllowThreads();
18356 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
18357
18358 wxPyEndAllowThreads(__tstate);
18359 if (PyErr_Occurred()) SWIG_fail;
18360 }
18361 Py_INCREF(Py_None); resultobj = Py_None;
18362 return resultobj;
18363 fail:
18364 return NULL;
18365 }
18366
18367
18368 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18369 PyObject *resultobj;
18370 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18371 wxPoint *arg2 = 0 ;
18372 wxPoint temp2 ;
18373 PyObject * obj0 = 0 ;
18374 PyObject * obj1 = 0 ;
18375 char *kwnames[] = {
18376 (char *) "self",(char *) "pt", NULL
18377 };
18378
18379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18381 {
18382 arg2 = &temp2;
18383 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18384 }
18385 {
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
18388
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 Py_INCREF(Py_None); resultobj = Py_None;
18393 return resultobj;
18394 fail:
18395 return NULL;
18396 }
18397
18398
18399 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18400 PyObject *resultobj;
18401 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18402 int arg2 ;
18403 PyObject * obj0 = 0 ;
18404 PyObject * obj1 = 0 ;
18405 char *kwnames[] = {
18406 (char *) "self",(char *) "id", NULL
18407 };
18408
18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18411 {
18412 arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 (arg1)->SetPaperId((wxPaperSize )arg2);
18418
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 Py_INCREF(Py_None); resultobj = Py_None;
18423 return resultobj;
18424 fail:
18425 return NULL;
18426 }
18427
18428
18429 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18430 PyObject *resultobj;
18431 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18432 wxSize *arg2 = 0 ;
18433 wxSize temp2 ;
18434 PyObject * obj0 = 0 ;
18435 PyObject * obj1 = 0 ;
18436 char *kwnames[] = {
18437 (char *) "self",(char *) "size", NULL
18438 };
18439
18440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18442 {
18443 arg2 = &temp2;
18444 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18445 }
18446 {
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 (arg1)->SetPaperSize((wxSize const &)*arg2);
18449
18450 wxPyEndAllowThreads(__tstate);
18451 if (PyErr_Occurred()) SWIG_fail;
18452 }
18453 Py_INCREF(Py_None); resultobj = Py_None;
18454 return resultobj;
18455 fail:
18456 return NULL;
18457 }
18458
18459
18460 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18461 PyObject *resultobj;
18462 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18463 wxPrintData *arg2 = 0 ;
18464 PyObject * obj0 = 0 ;
18465 PyObject * obj1 = 0 ;
18466 char *kwnames[] = {
18467 (char *) "self",(char *) "printData", NULL
18468 };
18469
18470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18473 if (arg2 == NULL) {
18474 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18475 }
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 Py_INCREF(Py_None); resultobj = Py_None;
18484 return resultobj;
18485 fail:
18486 return NULL;
18487 }
18488
18489
18490 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
18491 PyObject *obj;
18492 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18493 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
18494 Py_INCREF(obj);
18495 return Py_BuildValue((char *)"");
18496 }
18497 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18498 PyObject *resultobj;
18499 wxWindow *arg1 = (wxWindow *) 0 ;
18500 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
18501 wxPageSetupDialog *result;
18502 PyObject * obj0 = 0 ;
18503 PyObject * obj1 = 0 ;
18504 char *kwnames[] = {
18505 (char *) "parent",(char *) "data", NULL
18506 };
18507
18508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18510 if (obj1) {
18511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18512 }
18513 {
18514 PyThreadState* __tstate = wxPyBeginAllowThreads();
18515 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
18516
18517 wxPyEndAllowThreads(__tstate);
18518 if (PyErr_Occurred()) SWIG_fail;
18519 }
18520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
18521 return resultobj;
18522 fail:
18523 return NULL;
18524 }
18525
18526
18527 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
18528 PyObject *resultobj;
18529 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18530 wxPageSetupDialogData *result;
18531 PyObject * obj0 = 0 ;
18532 char *kwnames[] = {
18533 (char *) "self", NULL
18534 };
18535
18536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
18537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 {
18541 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
18542 result = (wxPageSetupDialogData *) &_result_ref;
18543 }
18544
18545 wxPyEndAllowThreads(__tstate);
18546 if (PyErr_Occurred()) SWIG_fail;
18547 }
18548 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
18549 return resultobj;
18550 fail:
18551 return NULL;
18552 }
18553
18554
18555 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18556 PyObject *resultobj;
18557 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18558 int result;
18559 PyObject * obj0 = 0 ;
18560 char *kwnames[] = {
18561 (char *) "self", NULL
18562 };
18563
18564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
18565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18566 {
18567 PyThreadState* __tstate = wxPyBeginAllowThreads();
18568 result = (int)(arg1)->ShowModal();
18569
18570 wxPyEndAllowThreads(__tstate);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 }
18573 resultobj = SWIG_PyObj_FromInt((int)result);
18574 return resultobj;
18575 fail:
18576 return NULL;
18577 }
18578
18579
18580 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
18581 PyObject *obj;
18582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18583 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
18584 Py_INCREF(obj);
18585 return Py_BuildValue((char *)"");
18586 }
18587 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18588 PyObject *resultobj;
18589 wxPrintDialogData *result;
18590 char *kwnames[] = {
18591 NULL
18592 };
18593
18594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
18595 {
18596 PyThreadState* __tstate = wxPyBeginAllowThreads();
18597 result = (wxPrintDialogData *)new wxPrintDialogData();
18598
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
18603 return resultobj;
18604 fail:
18605 return NULL;
18606 }
18607
18608
18609 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj;
18611 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18612 PyObject * obj0 = 0 ;
18613 char *kwnames[] = {
18614 (char *) "self", NULL
18615 };
18616
18617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
18618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 delete arg1;
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
18626 Py_INCREF(Py_None); resultobj = Py_None;
18627 return resultobj;
18628 fail:
18629 return NULL;
18630 }
18631
18632
18633 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18634 PyObject *resultobj;
18635 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18636 int result;
18637 PyObject * obj0 = 0 ;
18638 char *kwnames[] = {
18639 (char *) "self", NULL
18640 };
18641
18642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
18643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
18646 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
18647
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
18651 resultobj = SWIG_PyObj_FromInt((int)result);
18652 return resultobj;
18653 fail:
18654 return NULL;
18655 }
18656
18657
18658 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18659 PyObject *resultobj;
18660 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18661 int result;
18662 PyObject * obj0 = 0 ;
18663 char *kwnames[] = {
18664 (char *) "self", NULL
18665 };
18666
18667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
18668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18669 {
18670 PyThreadState* __tstate = wxPyBeginAllowThreads();
18671 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
18672
18673 wxPyEndAllowThreads(__tstate);
18674 if (PyErr_Occurred()) SWIG_fail;
18675 }
18676 resultobj = SWIG_PyObj_FromInt((int)result);
18677 return resultobj;
18678 fail:
18679 return NULL;
18680 }
18681
18682
18683 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18684 PyObject *resultobj;
18685 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18686 int result;
18687 PyObject * obj0 = 0 ;
18688 char *kwnames[] = {
18689 (char *) "self", NULL
18690 };
18691
18692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
18693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18694 {
18695 PyThreadState* __tstate = wxPyBeginAllowThreads();
18696 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
18697
18698 wxPyEndAllowThreads(__tstate);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 }
18701 resultobj = SWIG_PyObj_FromInt((int)result);
18702 return resultobj;
18703 fail:
18704 return NULL;
18705 }
18706
18707
18708 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18709 PyObject *resultobj;
18710 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18711 int result;
18712 PyObject * obj0 = 0 ;
18713 char *kwnames[] = {
18714 (char *) "self", NULL
18715 };
18716
18717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
18718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
18722
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 resultobj = SWIG_PyObj_FromInt((int)result);
18727 return resultobj;
18728 fail:
18729 return NULL;
18730 }
18731
18732
18733 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18734 PyObject *resultobj;
18735 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18736 int result;
18737 PyObject * obj0 = 0 ;
18738 char *kwnames[] = {
18739 (char *) "self", NULL
18740 };
18741
18742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
18743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18744 {
18745 PyThreadState* __tstate = wxPyBeginAllowThreads();
18746 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 resultobj = SWIG_PyObj_FromInt((int)result);
18752 return resultobj;
18753 fail:
18754 return NULL;
18755 }
18756
18757
18758 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
18759 PyObject *resultobj;
18760 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18761 bool result;
18762 PyObject * obj0 = 0 ;
18763 char *kwnames[] = {
18764 (char *) "self", NULL
18765 };
18766
18767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
18768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18769 {
18770 PyThreadState* __tstate = wxPyBeginAllowThreads();
18771 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
18772
18773 wxPyEndAllowThreads(__tstate);
18774 if (PyErr_Occurred()) SWIG_fail;
18775 }
18776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18777 return resultobj;
18778 fail:
18779 return NULL;
18780 }
18781
18782
18783 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18784 PyObject *resultobj;
18785 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18786 bool result;
18787 PyObject * obj0 = 0 ;
18788 char *kwnames[] = {
18789 (char *) "self", NULL
18790 };
18791
18792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
18793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18802 return resultobj;
18803 fail:
18804 return NULL;
18805 }
18806
18807
18808 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18809 PyObject *resultobj;
18810 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18811 bool result;
18812 PyObject * obj0 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
18818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18819 {
18820 PyThreadState* __tstate = wxPyBeginAllowThreads();
18821 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
18822
18823 wxPyEndAllowThreads(__tstate);
18824 if (PyErr_Occurred()) SWIG_fail;
18825 }
18826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18827 return resultobj;
18828 fail:
18829 return NULL;
18830 }
18831
18832
18833 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18834 PyObject *resultobj;
18835 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18836 bool result;
18837 PyObject * obj0 = 0 ;
18838 char *kwnames[] = {
18839 (char *) "self", NULL
18840 };
18841
18842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
18843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18844 {
18845 PyThreadState* __tstate = wxPyBeginAllowThreads();
18846 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
18847
18848 wxPyEndAllowThreads(__tstate);
18849 if (PyErr_Occurred()) SWIG_fail;
18850 }
18851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18852 return resultobj;
18853 fail:
18854 return NULL;
18855 }
18856
18857
18858 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18859 PyObject *resultobj;
18860 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18861 bool result;
18862 PyObject * obj0 = 0 ;
18863 char *kwnames[] = {
18864 (char *) "self", NULL
18865 };
18866
18867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
18868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18869 {
18870 PyThreadState* __tstate = wxPyBeginAllowThreads();
18871 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
18872
18873 wxPyEndAllowThreads(__tstate);
18874 if (PyErr_Occurred()) SWIG_fail;
18875 }
18876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18877 return resultobj;
18878 fail:
18879 return NULL;
18880 }
18881
18882
18883 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18884 PyObject *resultobj;
18885 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18886 int arg2 ;
18887 PyObject * obj0 = 0 ;
18888 PyObject * obj1 = 0 ;
18889 char *kwnames[] = {
18890 (char *) "self",(char *) "v", NULL
18891 };
18892
18893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",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 = (int) SWIG_PyObj_AsInt(obj1);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 }
18899 {
18900 PyThreadState* __tstate = wxPyBeginAllowThreads();
18901 (arg1)->SetFromPage(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_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj;
18915 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18916 int arg2 ;
18917 PyObject * obj0 = 0 ;
18918 PyObject * obj1 = 0 ;
18919 char *kwnames[] = {
18920 (char *) "self",(char *) "v", NULL
18921 };
18922
18923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",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 = (int) SWIG_PyObj_AsInt(obj1);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 {
18930 PyThreadState* __tstate = wxPyBeginAllowThreads();
18931 (arg1)->SetToPage(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_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18944 PyObject *resultobj;
18945 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18946 int arg2 ;
18947 PyObject * obj0 = 0 ;
18948 PyObject * obj1 = 0 ;
18949 char *kwnames[] = {
18950 (char *) "self",(char *) "v", NULL
18951 };
18952
18953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",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 = (int) SWIG_PyObj_AsInt(obj1);
18957 if (PyErr_Occurred()) SWIG_fail;
18958 }
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 (arg1)->SetMinPage(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_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj;
18975 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18976 int arg2 ;
18977 PyObject * obj0 = 0 ;
18978 PyObject * obj1 = 0 ;
18979 char *kwnames[] = {
18980 (char *) "self",(char *) "v", NULL
18981 };
18982
18983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",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 = (int) SWIG_PyObj_AsInt(obj1);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
18991 (arg1)->SetMaxPage(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_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
19004 PyObject *resultobj;
19005 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19006 int arg2 ;
19007 PyObject * obj0 = 0 ;
19008 PyObject * obj1 = 0 ;
19009 char *kwnames[] = {
19010 (char *) "self",(char *) "v", NULL
19011 };
19012
19013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",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 = (int) SWIG_PyObj_AsInt(obj1);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 (arg1)->SetNoCopies(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_SetAllPages(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_SetAllPages",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)->SetAllPages(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_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19064 PyObject *resultobj;
19065 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19066 bool arg2 ;
19067 PyObject * obj0 = 0 ;
19068 PyObject * obj1 = 0 ;
19069 char *kwnames[] = {
19070 (char *) "self",(char *) "flag", NULL
19071 };
19072
19073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
19074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19075 {
19076 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 {
19080 PyThreadState* __tstate = wxPyBeginAllowThreads();
19081 (arg1)->SetSelection(arg2);
19082
19083 wxPyEndAllowThreads(__tstate);
19084 if (PyErr_Occurred()) SWIG_fail;
19085 }
19086 Py_INCREF(Py_None); resultobj = Py_None;
19087 return resultobj;
19088 fail:
19089 return NULL;
19090 }
19091
19092
19093 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
19094 PyObject *resultobj;
19095 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19096 bool arg2 ;
19097 PyObject * obj0 = 0 ;
19098 PyObject * obj1 = 0 ;
19099 char *kwnames[] = {
19100 (char *) "self",(char *) "flag", NULL
19101 };
19102
19103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
19104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19105 {
19106 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
19109 {
19110 PyThreadState* __tstate = wxPyBeginAllowThreads();
19111 (arg1)->SetCollate(arg2);
19112
19113 wxPyEndAllowThreads(__tstate);
19114 if (PyErr_Occurred()) SWIG_fail;
19115 }
19116 Py_INCREF(Py_None); resultobj = Py_None;
19117 return resultobj;
19118 fail:
19119 return NULL;
19120 }
19121
19122
19123 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19124 PyObject *resultobj;
19125 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19126 bool arg2 ;
19127 PyObject * obj0 = 0 ;
19128 PyObject * obj1 = 0 ;
19129 char *kwnames[] = {
19130 (char *) "self",(char *) "flag", NULL
19131 };
19132
19133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
19134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19135 {
19136 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19137 if (PyErr_Occurred()) SWIG_fail;
19138 }
19139 {
19140 PyThreadState* __tstate = wxPyBeginAllowThreads();
19141 (arg1)->SetPrintToFile(arg2);
19142
19143 wxPyEndAllowThreads(__tstate);
19144 if (PyErr_Occurred()) SWIG_fail;
19145 }
19146 Py_INCREF(Py_None); resultobj = Py_None;
19147 return resultobj;
19148 fail:
19149 return NULL;
19150 }
19151
19152
19153 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19154 PyObject *resultobj;
19155 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19156 bool arg2 ;
19157 PyObject * obj0 = 0 ;
19158 PyObject * obj1 = 0 ;
19159 char *kwnames[] = {
19160 (char *) "self",(char *) "flag", NULL
19161 };
19162
19163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19165 {
19166 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19167 if (PyErr_Occurred()) SWIG_fail;
19168 }
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 (arg1)->SetSetupDialog(arg2);
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 Py_INCREF(Py_None); resultobj = Py_None;
19177 return resultobj;
19178 fail:
19179 return NULL;
19180 }
19181
19182
19183 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj;
19185 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19186 bool arg2 ;
19187 PyObject * obj0 = 0 ;
19188 PyObject * obj1 = 0 ;
19189 char *kwnames[] = {
19190 (char *) "self",(char *) "flag", NULL
19191 };
19192
19193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
19194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19195 {
19196 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19197 if (PyErr_Occurred()) SWIG_fail;
19198 }
19199 {
19200 PyThreadState* __tstate = wxPyBeginAllowThreads();
19201 (arg1)->EnablePrintToFile(arg2);
19202
19203 wxPyEndAllowThreads(__tstate);
19204 if (PyErr_Occurred()) SWIG_fail;
19205 }
19206 Py_INCREF(Py_None); resultobj = Py_None;
19207 return resultobj;
19208 fail:
19209 return NULL;
19210 }
19211
19212
19213 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19214 PyObject *resultobj;
19215 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19216 bool arg2 ;
19217 PyObject * obj0 = 0 ;
19218 PyObject * obj1 = 0 ;
19219 char *kwnames[] = {
19220 (char *) "self",(char *) "flag", NULL
19221 };
19222
19223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
19224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19225 {
19226 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 }
19229 {
19230 PyThreadState* __tstate = wxPyBeginAllowThreads();
19231 (arg1)->EnableSelection(arg2);
19232
19233 wxPyEndAllowThreads(__tstate);
19234 if (PyErr_Occurred()) SWIG_fail;
19235 }
19236 Py_INCREF(Py_None); resultobj = Py_None;
19237 return resultobj;
19238 fail:
19239 return NULL;
19240 }
19241
19242
19243 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19244 PyObject *resultobj;
19245 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19246 bool arg2 ;
19247 PyObject * obj0 = 0 ;
19248 PyObject * obj1 = 0 ;
19249 char *kwnames[] = {
19250 (char *) "self",(char *) "flag", NULL
19251 };
19252
19253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
19254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19255 {
19256 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19257 if (PyErr_Occurred()) SWIG_fail;
19258 }
19259 {
19260 PyThreadState* __tstate = wxPyBeginAllowThreads();
19261 (arg1)->EnablePageNumbers(arg2);
19262
19263 wxPyEndAllowThreads(__tstate);
19264 if (PyErr_Occurred()) SWIG_fail;
19265 }
19266 Py_INCREF(Py_None); resultobj = Py_None;
19267 return resultobj;
19268 fail:
19269 return NULL;
19270 }
19271
19272
19273 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19274 PyObject *resultobj;
19275 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19276 bool arg2 ;
19277 PyObject * obj0 = 0 ;
19278 PyObject * obj1 = 0 ;
19279 char *kwnames[] = {
19280 (char *) "self",(char *) "flag", NULL
19281 };
19282
19283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19285 {
19286 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
19289 {
19290 PyThreadState* __tstate = wxPyBeginAllowThreads();
19291 (arg1)->EnableHelp(arg2);
19292
19293 wxPyEndAllowThreads(__tstate);
19294 if (PyErr_Occurred()) SWIG_fail;
19295 }
19296 Py_INCREF(Py_None); resultobj = Py_None;
19297 return resultobj;
19298 fail:
19299 return NULL;
19300 }
19301
19302
19303 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19304 PyObject *resultobj;
19305 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19306 bool result;
19307 PyObject * obj0 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "self", NULL
19310 };
19311
19312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
19313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19314 {
19315 PyThreadState* __tstate = wxPyBeginAllowThreads();
19316 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
19317
19318 wxPyEndAllowThreads(__tstate);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19322 return resultobj;
19323 fail:
19324 return NULL;
19325 }
19326
19327
19328 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19329 PyObject *resultobj;
19330 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19331 bool result;
19332 PyObject * obj0 = 0 ;
19333 char *kwnames[] = {
19334 (char *) "self", NULL
19335 };
19336
19337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
19338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19339 {
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
19342
19343 wxPyEndAllowThreads(__tstate);
19344 if (PyErr_Occurred()) SWIG_fail;
19345 }
19346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19347 return resultobj;
19348 fail:
19349 return NULL;
19350 }
19351
19352
19353 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19354 PyObject *resultobj;
19355 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19356 bool result;
19357 PyObject * obj0 = 0 ;
19358 char *kwnames[] = {
19359 (char *) "self", NULL
19360 };
19361
19362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
19363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19364 {
19365 PyThreadState* __tstate = wxPyBeginAllowThreads();
19366 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
19367
19368 wxPyEndAllowThreads(__tstate);
19369 if (PyErr_Occurred()) SWIG_fail;
19370 }
19371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19372 return resultobj;
19373 fail:
19374 return NULL;
19375 }
19376
19377
19378 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19379 PyObject *resultobj;
19380 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19381 bool result;
19382 PyObject * obj0 = 0 ;
19383 char *kwnames[] = {
19384 (char *) "self", NULL
19385 };
19386
19387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19389 {
19390 PyThreadState* __tstate = wxPyBeginAllowThreads();
19391 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
19392
19393 wxPyEndAllowThreads(__tstate);
19394 if (PyErr_Occurred()) SWIG_fail;
19395 }
19396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19397 return resultobj;
19398 fail:
19399 return NULL;
19400 }
19401
19402
19403 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19404 PyObject *resultobj;
19405 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19406 bool result;
19407 PyObject * obj0 = 0 ;
19408 char *kwnames[] = {
19409 (char *) "self", NULL
19410 };
19411
19412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
19413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19414 {
19415 PyThreadState* __tstate = wxPyBeginAllowThreads();
19416 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
19417
19418 wxPyEndAllowThreads(__tstate);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 }
19421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19422 return resultobj;
19423 fail:
19424 return NULL;
19425 }
19426
19427
19428 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19429 PyObject *resultobj;
19430 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19431 wxPrintData *result;
19432 PyObject * obj0 = 0 ;
19433 char *kwnames[] = {
19434 (char *) "self", NULL
19435 };
19436
19437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19439 {
19440 PyThreadState* __tstate = wxPyBeginAllowThreads();
19441 {
19442 wxPrintData &_result_ref = (arg1)->GetPrintData();
19443 result = (wxPrintData *) &_result_ref;
19444 }
19445
19446 wxPyEndAllowThreads(__tstate);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 }
19449 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
19450 return resultobj;
19451 fail:
19452 return NULL;
19453 }
19454
19455
19456 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19457 PyObject *resultobj;
19458 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19459 wxPrintData *arg2 = 0 ;
19460 PyObject * obj0 = 0 ;
19461 PyObject * obj1 = 0 ;
19462 char *kwnames[] = {
19463 (char *) "self",(char *) "printData", NULL
19464 };
19465
19466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19468 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19469 if (arg2 == NULL) {
19470 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19471 }
19472 {
19473 PyThreadState* __tstate = wxPyBeginAllowThreads();
19474 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19475
19476 wxPyEndAllowThreads(__tstate);
19477 if (PyErr_Occurred()) SWIG_fail;
19478 }
19479 Py_INCREF(Py_None); resultobj = Py_None;
19480 return resultobj;
19481 fail:
19482 return NULL;
19483 }
19484
19485
19486 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
19487 PyObject *obj;
19488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19489 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
19490 Py_INCREF(obj);
19491 return Py_BuildValue((char *)"");
19492 }
19493 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19494 PyObject *resultobj;
19495 wxWindow *arg1 = (wxWindow *) 0 ;
19496 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
19497 wxPrintDialog *result;
19498 PyObject * obj0 = 0 ;
19499 PyObject * obj1 = 0 ;
19500 char *kwnames[] = {
19501 (char *) "parent",(char *) "data", NULL
19502 };
19503
19504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19506 if (obj1) {
19507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19508 }
19509 {
19510 PyThreadState* __tstate = wxPyBeginAllowThreads();
19511 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
19512
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
19516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
19517 return resultobj;
19518 fail:
19519 return NULL;
19520 }
19521
19522
19523 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19524 PyObject *resultobj;
19525 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19526 wxPrintDialogData *result;
19527 PyObject * obj0 = 0 ;
19528 char *kwnames[] = {
19529 (char *) "self", NULL
19530 };
19531
19532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
19533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19534 {
19535 PyThreadState* __tstate = wxPyBeginAllowThreads();
19536 {
19537 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19538 result = (wxPrintDialogData *) &_result_ref;
19539 }
19540
19541 wxPyEndAllowThreads(__tstate);
19542 if (PyErr_Occurred()) SWIG_fail;
19543 }
19544 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19545 return resultobj;
19546 fail:
19547 return NULL;
19548 }
19549
19550
19551 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19552 PyObject *resultobj;
19553 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19554 wxDC *result;
19555 PyObject * obj0 = 0 ;
19556 char *kwnames[] = {
19557 (char *) "self", NULL
19558 };
19559
19560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
19561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 result = (wxDC *)(arg1)->GetPrintDC();
19565
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
19569 {
19570 resultobj = wxPyMake_wxObject(result);
19571 }
19572 return resultobj;
19573 fail:
19574 return NULL;
19575 }
19576
19577
19578 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19579 PyObject *resultobj;
19580 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19581 int result;
19582 PyObject * obj0 = 0 ;
19583 char *kwnames[] = {
19584 (char *) "self", NULL
19585 };
19586
19587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
19588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 result = (int)(arg1)->ShowModal();
19592
19593 wxPyEndAllowThreads(__tstate);
19594 if (PyErr_Occurred()) SWIG_fail;
19595 }
19596 resultobj = SWIG_PyObj_FromInt((int)result);
19597 return resultobj;
19598 fail:
19599 return NULL;
19600 }
19601
19602
19603 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
19604 PyObject *obj;
19605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19606 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
19607 Py_INCREF(obj);
19608 return Py_BuildValue((char *)"");
19609 }
19610 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19611 PyObject *resultobj;
19612 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
19613 wxPrinter *result;
19614 PyObject * obj0 = 0 ;
19615 char *kwnames[] = {
19616 (char *) "data", NULL
19617 };
19618
19619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
19620 if (obj0) {
19621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19622 }
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (wxPrinter *)new wxPrinter(arg1);
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
19631 return resultobj;
19632 fail:
19633 return NULL;
19634 }
19635
19636
19637 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19638 PyObject *resultobj;
19639 wxPrinter *arg1 = (wxPrinter *) 0 ;
19640 PyObject * obj0 = 0 ;
19641 char *kwnames[] = {
19642 (char *) "self", NULL
19643 };
19644
19645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
19646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19647 {
19648 PyThreadState* __tstate = wxPyBeginAllowThreads();
19649 delete arg1;
19650
19651 wxPyEndAllowThreads(__tstate);
19652 if (PyErr_Occurred()) SWIG_fail;
19653 }
19654 Py_INCREF(Py_None); resultobj = Py_None;
19655 return resultobj;
19656 fail:
19657 return NULL;
19658 }
19659
19660
19661 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19662 PyObject *resultobj;
19663 wxPrinter *arg1 = (wxPrinter *) 0 ;
19664 wxWindow *arg2 = (wxWindow *) 0 ;
19665 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19666 PyObject * obj0 = 0 ;
19667 PyObject * obj1 = 0 ;
19668 PyObject * obj2 = 0 ;
19669 char *kwnames[] = {
19670 (char *) "self",(char *) "parent",(char *) "printout", NULL
19671 };
19672
19673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
19674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19676 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19677 {
19678 PyThreadState* __tstate = wxPyBeginAllowThreads();
19679 (arg1)->CreateAbortWindow(arg2,arg3);
19680
19681 wxPyEndAllowThreads(__tstate);
19682 if (PyErr_Occurred()) SWIG_fail;
19683 }
19684 Py_INCREF(Py_None); resultobj = Py_None;
19685 return resultobj;
19686 fail:
19687 return NULL;
19688 }
19689
19690
19691 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19692 PyObject *resultobj;
19693 wxPrinter *arg1 = (wxPrinter *) 0 ;
19694 wxPrintDialogData *result;
19695 PyObject * obj0 = 0 ;
19696 char *kwnames[] = {
19697 (char *) "self", NULL
19698 };
19699
19700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
19701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19702 {
19703 PyThreadState* __tstate = wxPyBeginAllowThreads();
19704 {
19705 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19706 result = (wxPrintDialogData *) &_result_ref;
19707 }
19708
19709 wxPyEndAllowThreads(__tstate);
19710 if (PyErr_Occurred()) SWIG_fail;
19711 }
19712 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19713 return resultobj;
19714 fail:
19715 return NULL;
19716 }
19717
19718
19719 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19720 PyObject *resultobj;
19721 wxPrinter *arg1 = (wxPrinter *) 0 ;
19722 wxWindow *arg2 = (wxWindow *) 0 ;
19723 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19724 int arg4 = (int) True ;
19725 bool result;
19726 PyObject * obj0 = 0 ;
19727 PyObject * obj1 = 0 ;
19728 PyObject * obj2 = 0 ;
19729 PyObject * obj3 = 0 ;
19730 char *kwnames[] = {
19731 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19732 };
19733
19734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19737 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19738 if (obj3) {
19739 {
19740 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19741 if (PyErr_Occurred()) SWIG_fail;
19742 }
19743 }
19744 {
19745 PyThreadState* __tstate = wxPyBeginAllowThreads();
19746 result = (bool)(arg1)->Print(arg2,arg3,arg4);
19747
19748 wxPyEndAllowThreads(__tstate);
19749 if (PyErr_Occurred()) SWIG_fail;
19750 }
19751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19752 return resultobj;
19753 fail:
19754 return NULL;
19755 }
19756
19757
19758 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19759 PyObject *resultobj;
19760 wxPrinter *arg1 = (wxPrinter *) 0 ;
19761 wxWindow *arg2 = (wxWindow *) 0 ;
19762 wxDC *result;
19763 PyObject * obj0 = 0 ;
19764 PyObject * obj1 = 0 ;
19765 char *kwnames[] = {
19766 (char *) "self",(char *) "parent", NULL
19767 };
19768
19769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19771 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19772 {
19773 PyThreadState* __tstate = wxPyBeginAllowThreads();
19774 result = (wxDC *)(arg1)->PrintDialog(arg2);
19775
19776 wxPyEndAllowThreads(__tstate);
19777 if (PyErr_Occurred()) SWIG_fail;
19778 }
19779 {
19780 resultobj = wxPyMake_wxObject(result);
19781 }
19782 return resultobj;
19783 fail:
19784 return NULL;
19785 }
19786
19787
19788 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj;
19790 wxPrinter *arg1 = (wxPrinter *) 0 ;
19791 wxWindow *arg2 = (wxWindow *) 0 ;
19792 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19793 wxString *arg4 = 0 ;
19794 bool temp4 = False ;
19795 PyObject * obj0 = 0 ;
19796 PyObject * obj1 = 0 ;
19797 PyObject * obj2 = 0 ;
19798 PyObject * obj3 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19805 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19806 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19807 {
19808 arg4 = wxString_in_helper(obj3);
19809 if (arg4 == NULL) SWIG_fail;
19810 temp4 = True;
19811 }
19812 {
19813 PyThreadState* __tstate = wxPyBeginAllowThreads();
19814 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
19815
19816 wxPyEndAllowThreads(__tstate);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 }
19819 Py_INCREF(Py_None); resultobj = Py_None;
19820 {
19821 if (temp4)
19822 delete arg4;
19823 }
19824 return resultobj;
19825 fail:
19826 {
19827 if (temp4)
19828 delete arg4;
19829 }
19830 return NULL;
19831 }
19832
19833
19834 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
19835 PyObject *resultobj;
19836 wxPrinter *arg1 = (wxPrinter *) 0 ;
19837 wxWindow *arg2 = (wxWindow *) 0 ;
19838 bool result;
19839 PyObject * obj0 = 0 ;
19840 PyObject * obj1 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "self",(char *) "parent", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
19846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 result = (bool)(arg1)->Setup(arg2);
19851
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
19855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19856 return resultobj;
19857 fail:
19858 return NULL;
19859 }
19860
19861
19862 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
19863 PyObject *resultobj;
19864 wxPrinter *arg1 = (wxPrinter *) 0 ;
19865 bool result;
19866 PyObject * obj0 = 0 ;
19867 char *kwnames[] = {
19868 (char *) "self", NULL
19869 };
19870
19871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
19872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19873 {
19874 PyThreadState* __tstate = wxPyBeginAllowThreads();
19875 result = (bool)(arg1)->GetAbort();
19876
19877 wxPyEndAllowThreads(__tstate);
19878 if (PyErr_Occurred()) SWIG_fail;
19879 }
19880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19881 return resultobj;
19882 fail:
19883 return NULL;
19884 }
19885
19886
19887 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
19888 PyObject *resultobj;
19889 int result;
19890 char *kwnames[] = {
19891 NULL
19892 };
19893
19894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 result = (int)wxPrinter::GetLastError();
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 resultobj = SWIG_PyObj_FromInt((int)result);
19903 return resultobj;
19904 fail:
19905 return NULL;
19906 }
19907
19908
19909 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
19910 PyObject *obj;
19911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19912 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
19913 Py_INCREF(obj);
19914 return Py_BuildValue((char *)"");
19915 }
19916 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
19917 PyObject *resultobj;
19918 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
19919 wxString *arg1 = (wxString *) &arg1_defvalue ;
19920 wxPyPrintout *result;
19921 bool temp1 = False ;
19922 PyObject * obj0 = 0 ;
19923 char *kwnames[] = {
19924 (char *) "title", NULL
19925 };
19926
19927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
19928 if (obj0) {
19929 {
19930 arg1 = wxString_in_helper(obj0);
19931 if (arg1 == NULL) SWIG_fail;
19932 temp1 = True;
19933 }
19934 }
19935 {
19936 PyThreadState* __tstate = wxPyBeginAllowThreads();
19937 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
19938
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
19942 {
19943 resultobj = wxPyMake_wxObject(result);
19944 }
19945 {
19946 if (temp1)
19947 delete arg1;
19948 }
19949 return resultobj;
19950 fail:
19951 {
19952 if (temp1)
19953 delete arg1;
19954 }
19955 return NULL;
19956 }
19957
19958
19959 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19960 PyObject *resultobj;
19961 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19962 PyObject *arg2 = (PyObject *) 0 ;
19963 PyObject *arg3 = (PyObject *) 0 ;
19964 PyObject * obj0 = 0 ;
19965 PyObject * obj1 = 0 ;
19966 PyObject * obj2 = 0 ;
19967 char *kwnames[] = {
19968 (char *) "self",(char *) "self",(char *) "_class", NULL
19969 };
19970
19971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19973 arg2 = obj1;
19974 arg3 = obj2;
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 (arg1)->_setCallbackInfo(arg2,arg3);
19978
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 Py_INCREF(Py_None); resultobj = Py_None;
19983 return resultobj;
19984 fail:
19985 return NULL;
19986 }
19987
19988
19989 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
19990 PyObject *resultobj;
19991 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19992 wxString result;
19993 PyObject * obj0 = 0 ;
19994 char *kwnames[] = {
19995 (char *) "self", NULL
19996 };
19997
19998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
19999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20000 {
20001 PyThreadState* __tstate = wxPyBeginAllowThreads();
20002 result = ((wxPyPrintout const *)arg1)->GetTitle();
20003
20004 wxPyEndAllowThreads(__tstate);
20005 if (PyErr_Occurred()) SWIG_fail;
20006 }
20007 {
20008 #if wxUSE_UNICODE
20009 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20010 #else
20011 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20012 #endif
20013 }
20014 return resultobj;
20015 fail:
20016 return NULL;
20017 }
20018
20019
20020 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20021 PyObject *resultobj;
20022 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20023 wxDC *result;
20024 PyObject * obj0 = 0 ;
20025 char *kwnames[] = {
20026 (char *) "self", NULL
20027 };
20028
20029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
20030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 result = (wxDC *)(arg1)->GetDC();
20034
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 {
20039 resultobj = wxPyMake_wxObject(result);
20040 }
20041 return resultobj;
20042 fail:
20043 return NULL;
20044 }
20045
20046
20047 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20048 PyObject *resultobj;
20049 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20050 wxDC *arg2 = (wxDC *) 0 ;
20051 PyObject * obj0 = 0 ;
20052 PyObject * obj1 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self",(char *) "dc", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
20058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20060 {
20061 PyThreadState* __tstate = wxPyBeginAllowThreads();
20062 (arg1)->SetDC(arg2);
20063
20064 wxPyEndAllowThreads(__tstate);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
20067 Py_INCREF(Py_None); resultobj = Py_None;
20068 return resultobj;
20069 fail:
20070 return NULL;
20071 }
20072
20073
20074 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
20075 PyObject *resultobj;
20076 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20077 int arg2 ;
20078 int arg3 ;
20079 PyObject * obj0 = 0 ;
20080 PyObject * obj1 = 0 ;
20081 PyObject * obj2 = 0 ;
20082 char *kwnames[] = {
20083 (char *) "self",(char *) "w",(char *) "h", NULL
20084 };
20085
20086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
20087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20088 {
20089 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20090 if (PyErr_Occurred()) SWIG_fail;
20091 }
20092 {
20093 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20094 if (PyErr_Occurred()) SWIG_fail;
20095 }
20096 {
20097 PyThreadState* __tstate = wxPyBeginAllowThreads();
20098 (arg1)->SetPageSizePixels(arg2,arg3);
20099
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 Py_INCREF(Py_None); resultobj = Py_None;
20104 return resultobj;
20105 fail:
20106 return NULL;
20107 }
20108
20109
20110 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
20111 PyObject *resultobj;
20112 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20113 int *arg2 = (int *) 0 ;
20114 int *arg3 = (int *) 0 ;
20115 int temp2 ;
20116 int temp3 ;
20117 PyObject * obj0 = 0 ;
20118 char *kwnames[] = {
20119 (char *) "self", NULL
20120 };
20121
20122 arg2 = &temp2;
20123 arg3 = &temp3;
20124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
20125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
20128 (arg1)->GetPageSizePixels(arg2,arg3);
20129
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 Py_INCREF(Py_None); resultobj = Py_None;
20134 {
20135 PyObject *o = PyInt_FromLong((long) (*arg2));
20136 resultobj = t_output_helper(resultobj,o);
20137 }
20138 {
20139 PyObject *o = PyInt_FromLong((long) (*arg3));
20140 resultobj = t_output_helper(resultobj,o);
20141 }
20142 return resultobj;
20143 fail:
20144 return NULL;
20145 }
20146
20147
20148 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj;
20150 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20151 int arg2 ;
20152 int arg3 ;
20153 PyObject * obj0 = 0 ;
20154 PyObject * obj1 = 0 ;
20155 PyObject * obj2 = 0 ;
20156 char *kwnames[] = {
20157 (char *) "self",(char *) "w",(char *) "h", NULL
20158 };
20159
20160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
20161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20162 {
20163 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 {
20167 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20168 if (PyErr_Occurred()) SWIG_fail;
20169 }
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 (arg1)->SetPageSizeMM(arg2,arg3);
20173
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
20177 Py_INCREF(Py_None); resultobj = Py_None;
20178 return resultobj;
20179 fail:
20180 return NULL;
20181 }
20182
20183
20184 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20185 PyObject *resultobj;
20186 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20187 int *arg2 = (int *) 0 ;
20188 int *arg3 = (int *) 0 ;
20189 int temp2 ;
20190 int temp3 ;
20191 PyObject * obj0 = 0 ;
20192 char *kwnames[] = {
20193 (char *) "self", NULL
20194 };
20195
20196 arg2 = &temp2;
20197 arg3 = &temp3;
20198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
20199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20200 {
20201 PyThreadState* __tstate = wxPyBeginAllowThreads();
20202 (arg1)->GetPageSizeMM(arg2,arg3);
20203
20204 wxPyEndAllowThreads(__tstate);
20205 if (PyErr_Occurred()) SWIG_fail;
20206 }
20207 Py_INCREF(Py_None); resultobj = Py_None;
20208 {
20209 PyObject *o = PyInt_FromLong((long) (*arg2));
20210 resultobj = t_output_helper(resultobj,o);
20211 }
20212 {
20213 PyObject *o = PyInt_FromLong((long) (*arg3));
20214 resultobj = t_output_helper(resultobj,o);
20215 }
20216 return resultobj;
20217 fail:
20218 return NULL;
20219 }
20220
20221
20222 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20223 PyObject *resultobj;
20224 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20225 int arg2 ;
20226 int arg3 ;
20227 PyObject * obj0 = 0 ;
20228 PyObject * obj1 = 0 ;
20229 PyObject * obj2 = 0 ;
20230 char *kwnames[] = {
20231 (char *) "self",(char *) "x",(char *) "y", NULL
20232 };
20233
20234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
20235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20236 {
20237 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20238 if (PyErr_Occurred()) SWIG_fail;
20239 }
20240 {
20241 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20242 if (PyErr_Occurred()) SWIG_fail;
20243 }
20244 {
20245 PyThreadState* __tstate = wxPyBeginAllowThreads();
20246 (arg1)->SetPPIScreen(arg2,arg3);
20247
20248 wxPyEndAllowThreads(__tstate);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 }
20251 Py_INCREF(Py_None); resultobj = Py_None;
20252 return resultobj;
20253 fail:
20254 return NULL;
20255 }
20256
20257
20258 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20259 PyObject *resultobj;
20260 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20261 int *arg2 = (int *) 0 ;
20262 int *arg3 = (int *) 0 ;
20263 int temp2 ;
20264 int temp3 ;
20265 PyObject * obj0 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self", NULL
20268 };
20269
20270 arg2 = &temp2;
20271 arg3 = &temp3;
20272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
20273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 (arg1)->GetPPIScreen(arg2,arg3);
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 Py_INCREF(Py_None); resultobj = Py_None;
20282 {
20283 PyObject *o = PyInt_FromLong((long) (*arg2));
20284 resultobj = t_output_helper(resultobj,o);
20285 }
20286 {
20287 PyObject *o = PyInt_FromLong((long) (*arg3));
20288 resultobj = t_output_helper(resultobj,o);
20289 }
20290 return resultobj;
20291 fail:
20292 return NULL;
20293 }
20294
20295
20296 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20297 PyObject *resultobj;
20298 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20299 int arg2 ;
20300 int arg3 ;
20301 PyObject * obj0 = 0 ;
20302 PyObject * obj1 = 0 ;
20303 PyObject * obj2 = 0 ;
20304 char *kwnames[] = {
20305 (char *) "self",(char *) "x",(char *) "y", NULL
20306 };
20307
20308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
20309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20310 {
20311 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 {
20315 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20316 if (PyErr_Occurred()) SWIG_fail;
20317 }
20318 {
20319 PyThreadState* __tstate = wxPyBeginAllowThreads();
20320 (arg1)->SetPPIPrinter(arg2,arg3);
20321
20322 wxPyEndAllowThreads(__tstate);
20323 if (PyErr_Occurred()) SWIG_fail;
20324 }
20325 Py_INCREF(Py_None); resultobj = Py_None;
20326 return resultobj;
20327 fail:
20328 return NULL;
20329 }
20330
20331
20332 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20333 PyObject *resultobj;
20334 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20335 int *arg2 = (int *) 0 ;
20336 int *arg3 = (int *) 0 ;
20337 int temp2 ;
20338 int temp3 ;
20339 PyObject * obj0 = 0 ;
20340 char *kwnames[] = {
20341 (char *) "self", NULL
20342 };
20343
20344 arg2 = &temp2;
20345 arg3 = &temp3;
20346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
20347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20348 {
20349 PyThreadState* __tstate = wxPyBeginAllowThreads();
20350 (arg1)->GetPPIPrinter(arg2,arg3);
20351
20352 wxPyEndAllowThreads(__tstate);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 }
20355 Py_INCREF(Py_None); resultobj = Py_None;
20356 {
20357 PyObject *o = PyInt_FromLong((long) (*arg2));
20358 resultobj = t_output_helper(resultobj,o);
20359 }
20360 {
20361 PyObject *o = PyInt_FromLong((long) (*arg3));
20362 resultobj = t_output_helper(resultobj,o);
20363 }
20364 return resultobj;
20365 fail:
20366 return NULL;
20367 }
20368
20369
20370 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20371 PyObject *resultobj;
20372 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20373 bool result;
20374 PyObject * obj0 = 0 ;
20375 char *kwnames[] = {
20376 (char *) "self", NULL
20377 };
20378
20379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
20380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20381 {
20382 PyThreadState* __tstate = wxPyBeginAllowThreads();
20383 result = (bool)(arg1)->IsPreview();
20384
20385 wxPyEndAllowThreads(__tstate);
20386 if (PyErr_Occurred()) SWIG_fail;
20387 }
20388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20389 return resultobj;
20390 fail:
20391 return NULL;
20392 }
20393
20394
20395 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20396 PyObject *resultobj;
20397 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20398 bool arg2 ;
20399 PyObject * obj0 = 0 ;
20400 PyObject * obj1 = 0 ;
20401 char *kwnames[] = {
20402 (char *) "self",(char *) "p", NULL
20403 };
20404
20405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
20406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20407 {
20408 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 {
20412 PyThreadState* __tstate = wxPyBeginAllowThreads();
20413 (arg1)->SetIsPreview(arg2);
20414
20415 wxPyEndAllowThreads(__tstate);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 Py_INCREF(Py_None); resultobj = Py_None;
20419 return resultobj;
20420 fail:
20421 return NULL;
20422 }
20423
20424
20425 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20426 PyObject *resultobj;
20427 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20428 int arg2 ;
20429 int arg3 ;
20430 bool result;
20431 PyObject * obj0 = 0 ;
20432 PyObject * obj1 = 0 ;
20433 PyObject * obj2 = 0 ;
20434 char *kwnames[] = {
20435 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20436 };
20437
20438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
20439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20440 {
20441 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20442 if (PyErr_Occurred()) SWIG_fail;
20443 }
20444 {
20445 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
20448 {
20449 PyThreadState* __tstate = wxPyBeginAllowThreads();
20450 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
20451
20452 wxPyEndAllowThreads(__tstate);
20453 if (PyErr_Occurred()) SWIG_fail;
20454 }
20455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20456 return resultobj;
20457 fail:
20458 return NULL;
20459 }
20460
20461
20462 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20463 PyObject *resultobj;
20464 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20465 PyObject * obj0 = 0 ;
20466 char *kwnames[] = {
20467 (char *) "self", NULL
20468 };
20469
20470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
20471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20472 {
20473 PyThreadState* __tstate = wxPyBeginAllowThreads();
20474 (arg1)->base_OnEndDocument();
20475
20476 wxPyEndAllowThreads(__tstate);
20477 if (PyErr_Occurred()) SWIG_fail;
20478 }
20479 Py_INCREF(Py_None); resultobj = Py_None;
20480 return resultobj;
20481 fail:
20482 return NULL;
20483 }
20484
20485
20486 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20487 PyObject *resultobj;
20488 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20489 PyObject * obj0 = 0 ;
20490 char *kwnames[] = {
20491 (char *) "self", NULL
20492 };
20493
20494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
20495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20496 {
20497 PyThreadState* __tstate = wxPyBeginAllowThreads();
20498 (arg1)->base_OnBeginPrinting();
20499
20500 wxPyEndAllowThreads(__tstate);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 }
20503 Py_INCREF(Py_None); resultobj = Py_None;
20504 return resultobj;
20505 fail:
20506 return NULL;
20507 }
20508
20509
20510 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20511 PyObject *resultobj;
20512 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20513 PyObject * obj0 = 0 ;
20514 char *kwnames[] = {
20515 (char *) "self", NULL
20516 };
20517
20518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
20519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20520 {
20521 PyThreadState* __tstate = wxPyBeginAllowThreads();
20522 (arg1)->base_OnEndPrinting();
20523
20524 wxPyEndAllowThreads(__tstate);
20525 if (PyErr_Occurred()) SWIG_fail;
20526 }
20527 Py_INCREF(Py_None); resultobj = Py_None;
20528 return resultobj;
20529 fail:
20530 return NULL;
20531 }
20532
20533
20534 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20535 PyObject *resultobj;
20536 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20537 PyObject * obj0 = 0 ;
20538 char *kwnames[] = {
20539 (char *) "self", NULL
20540 };
20541
20542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
20543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20544 {
20545 PyThreadState* __tstate = wxPyBeginAllowThreads();
20546 (arg1)->base_OnPreparePrinting();
20547
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
20551 Py_INCREF(Py_None); resultobj = Py_None;
20552 return resultobj;
20553 fail:
20554 return NULL;
20555 }
20556
20557
20558 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20559 PyObject *resultobj;
20560 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20561 int arg2 ;
20562 bool result;
20563 PyObject * obj0 = 0 ;
20564 PyObject * obj1 = 0 ;
20565 char *kwnames[] = {
20566 (char *) "self",(char *) "page", NULL
20567 };
20568
20569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
20570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20571 {
20572 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20573 if (PyErr_Occurred()) SWIG_fail;
20574 }
20575 {
20576 PyThreadState* __tstate = wxPyBeginAllowThreads();
20577 result = (bool)(arg1)->base_HasPage(arg2);
20578
20579 wxPyEndAllowThreads(__tstate);
20580 if (PyErr_Occurred()) SWIG_fail;
20581 }
20582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20583 return resultobj;
20584 fail:
20585 return NULL;
20586 }
20587
20588
20589 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20590 PyObject *resultobj;
20591 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20592 int *arg2 = (int *) 0 ;
20593 int *arg3 = (int *) 0 ;
20594 int *arg4 = (int *) 0 ;
20595 int *arg5 = (int *) 0 ;
20596 int temp2 ;
20597 int temp3 ;
20598 int temp4 ;
20599 int temp5 ;
20600 PyObject * obj0 = 0 ;
20601 char *kwnames[] = {
20602 (char *) "self", NULL
20603 };
20604
20605 arg2 = &temp2;
20606 arg3 = &temp3;
20607 arg4 = &temp4;
20608 arg5 = &temp5;
20609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
20610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
20614
20615 wxPyEndAllowThreads(__tstate);
20616 if (PyErr_Occurred()) SWIG_fail;
20617 }
20618 Py_INCREF(Py_None); resultobj = Py_None;
20619 {
20620 PyObject *o = PyInt_FromLong((long) (*arg2));
20621 resultobj = t_output_helper(resultobj,o);
20622 }
20623 {
20624 PyObject *o = PyInt_FromLong((long) (*arg3));
20625 resultobj = t_output_helper(resultobj,o);
20626 }
20627 {
20628 PyObject *o = PyInt_FromLong((long) (*arg4));
20629 resultobj = t_output_helper(resultobj,o);
20630 }
20631 {
20632 PyObject *o = PyInt_FromLong((long) (*arg5));
20633 resultobj = t_output_helper(resultobj,o);
20634 }
20635 return resultobj;
20636 fail:
20637 return NULL;
20638 }
20639
20640
20641 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
20642 PyObject *obj;
20643 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20644 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
20645 Py_INCREF(obj);
20646 return Py_BuildValue((char *)"");
20647 }
20648 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20649 PyObject *resultobj;
20650 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20651 wxWindow *arg2 = (wxWindow *) 0 ;
20652 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20653 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20654 wxSize const &arg4_defvalue = wxDefaultSize ;
20655 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20656 long arg5 = (long) 0 ;
20657 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
20658 wxString *arg6 = (wxString *) &arg6_defvalue ;
20659 wxPreviewCanvas *result;
20660 wxPoint temp3 ;
20661 wxSize temp4 ;
20662 bool temp6 = False ;
20663 PyObject * obj0 = 0 ;
20664 PyObject * obj1 = 0 ;
20665 PyObject * obj2 = 0 ;
20666 PyObject * obj3 = 0 ;
20667 PyObject * obj4 = 0 ;
20668 PyObject * obj5 = 0 ;
20669 char *kwnames[] = {
20670 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20671 };
20672
20673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20676 if (obj2) {
20677 {
20678 arg3 = &temp3;
20679 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20680 }
20681 }
20682 if (obj3) {
20683 {
20684 arg4 = &temp4;
20685 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20686 }
20687 }
20688 if (obj4) {
20689 {
20690 arg5 = (long) SWIG_PyObj_AsLong(obj4);
20691 if (PyErr_Occurred()) SWIG_fail;
20692 }
20693 }
20694 if (obj5) {
20695 {
20696 arg6 = wxString_in_helper(obj5);
20697 if (arg6 == NULL) SWIG_fail;
20698 temp6 = True;
20699 }
20700 }
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20704
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
20709 {
20710 if (temp6)
20711 delete arg6;
20712 }
20713 return resultobj;
20714 fail:
20715 {
20716 if (temp6)
20717 delete arg6;
20718 }
20719 return NULL;
20720 }
20721
20722
20723 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
20724 PyObject *obj;
20725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20726 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
20727 Py_INCREF(obj);
20728 return Py_BuildValue((char *)"");
20729 }
20730 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20731 PyObject *resultobj;
20732 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20733 wxFrame *arg2 = (wxFrame *) 0 ;
20734 wxString *arg3 = 0 ;
20735 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20736 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20737 wxSize const &arg5_defvalue = wxDefaultSize ;
20738 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20739 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20740 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20741 wxString *arg7 = (wxString *) &arg7_defvalue ;
20742 wxPreviewFrame *result;
20743 bool temp3 = False ;
20744 wxPoint temp4 ;
20745 wxSize temp5 ;
20746 bool temp7 = False ;
20747 PyObject * obj0 = 0 ;
20748 PyObject * obj1 = 0 ;
20749 PyObject * obj2 = 0 ;
20750 PyObject * obj3 = 0 ;
20751 PyObject * obj4 = 0 ;
20752 PyObject * obj5 = 0 ;
20753 PyObject * obj6 = 0 ;
20754 char *kwnames[] = {
20755 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20756 };
20757
20758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20761 {
20762 arg3 = wxString_in_helper(obj2);
20763 if (arg3 == NULL) SWIG_fail;
20764 temp3 = True;
20765 }
20766 if (obj3) {
20767 {
20768 arg4 = &temp4;
20769 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20770 }
20771 }
20772 if (obj4) {
20773 {
20774 arg5 = &temp5;
20775 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20776 }
20777 }
20778 if (obj5) {
20779 {
20780 arg6 = (long) SWIG_PyObj_AsLong(obj5);
20781 if (PyErr_Occurred()) SWIG_fail;
20782 }
20783 }
20784 if (obj6) {
20785 {
20786 arg7 = wxString_in_helper(obj6);
20787 if (arg7 == NULL) SWIG_fail;
20788 temp7 = True;
20789 }
20790 }
20791 {
20792 PyThreadState* __tstate = wxPyBeginAllowThreads();
20793 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20794
20795 wxPyEndAllowThreads(__tstate);
20796 if (PyErr_Occurred()) SWIG_fail;
20797 }
20798 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
20799 {
20800 if (temp3)
20801 delete arg3;
20802 }
20803 {
20804 if (temp7)
20805 delete arg7;
20806 }
20807 return resultobj;
20808 fail:
20809 {
20810 if (temp3)
20811 delete arg3;
20812 }
20813 {
20814 if (temp7)
20815 delete arg7;
20816 }
20817 return NULL;
20818 }
20819
20820
20821 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20822 PyObject *resultobj;
20823 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20824 PyObject * obj0 = 0 ;
20825 char *kwnames[] = {
20826 (char *) "self", NULL
20827 };
20828
20829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
20830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20831 {
20832 PyThreadState* __tstate = wxPyBeginAllowThreads();
20833 (arg1)->Initialize();
20834
20835 wxPyEndAllowThreads(__tstate);
20836 if (PyErr_Occurred()) SWIG_fail;
20837 }
20838 Py_INCREF(Py_None); resultobj = Py_None;
20839 return resultobj;
20840 fail:
20841 return NULL;
20842 }
20843
20844
20845 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20846 PyObject *resultobj;
20847 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20848 PyObject * obj0 = 0 ;
20849 char *kwnames[] = {
20850 (char *) "self", NULL
20851 };
20852
20853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
20854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20855 {
20856 PyThreadState* __tstate = wxPyBeginAllowThreads();
20857 (arg1)->CreateControlBar();
20858
20859 wxPyEndAllowThreads(__tstate);
20860 if (PyErr_Occurred()) SWIG_fail;
20861 }
20862 Py_INCREF(Py_None); resultobj = Py_None;
20863 return resultobj;
20864 fail:
20865 return NULL;
20866 }
20867
20868
20869 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20870 PyObject *resultobj;
20871 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20872 PyObject * obj0 = 0 ;
20873 char *kwnames[] = {
20874 (char *) "self", NULL
20875 };
20876
20877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
20878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20879 {
20880 PyThreadState* __tstate = wxPyBeginAllowThreads();
20881 (arg1)->CreateCanvas();
20882
20883 wxPyEndAllowThreads(__tstate);
20884 if (PyErr_Occurred()) SWIG_fail;
20885 }
20886 Py_INCREF(Py_None); resultobj = Py_None;
20887 return resultobj;
20888 fail:
20889 return NULL;
20890 }
20891
20892
20893 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20894 PyObject *resultobj;
20895 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20896 wxPreviewControlBar *result;
20897 PyObject * obj0 = 0 ;
20898 char *kwnames[] = {
20899 (char *) "self", NULL
20900 };
20901
20902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
20903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20904 {
20905 PyThreadState* __tstate = wxPyBeginAllowThreads();
20906 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
20907
20908 wxPyEndAllowThreads(__tstate);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
20911 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
20912 return resultobj;
20913 fail:
20914 return NULL;
20915 }
20916
20917
20918 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
20919 PyObject *obj;
20920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20921 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
20922 Py_INCREF(obj);
20923 return Py_BuildValue((char *)"");
20924 }
20925 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20928 long arg2 ;
20929 wxWindow *arg3 = (wxWindow *) 0 ;
20930 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20931 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20932 wxSize const &arg5_defvalue = wxDefaultSize ;
20933 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20934 long arg6 = (long) wxTAB_TRAVERSAL ;
20935 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20936 wxString *arg7 = (wxString *) &arg7_defvalue ;
20937 wxPreviewControlBar *result;
20938 wxPoint temp4 ;
20939 wxSize temp5 ;
20940 bool temp7 = False ;
20941 PyObject * obj0 = 0 ;
20942 PyObject * obj1 = 0 ;
20943 PyObject * obj2 = 0 ;
20944 PyObject * obj3 = 0 ;
20945 PyObject * obj4 = 0 ;
20946 PyObject * obj5 = 0 ;
20947 PyObject * obj6 = 0 ;
20948 char *kwnames[] = {
20949 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20950 };
20951
20952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20954 {
20955 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20959 if (obj3) {
20960 {
20961 arg4 = &temp4;
20962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20963 }
20964 }
20965 if (obj4) {
20966 {
20967 arg5 = &temp5;
20968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20969 }
20970 }
20971 if (obj5) {
20972 {
20973 arg6 = (long) SWIG_PyObj_AsLong(obj5);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 }
20977 if (obj6) {
20978 {
20979 arg7 = wxString_in_helper(obj6);
20980 if (arg7 == NULL) SWIG_fail;
20981 temp7 = True;
20982 }
20983 }
20984 {
20985 PyThreadState* __tstate = wxPyBeginAllowThreads();
20986 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20987
20988 wxPyEndAllowThreads(__tstate);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 }
20991 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
20992 {
20993 if (temp7)
20994 delete arg7;
20995 }
20996 return resultobj;
20997 fail:
20998 {
20999 if (temp7)
21000 delete arg7;
21001 }
21002 return NULL;
21003 }
21004
21005
21006 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21007 PyObject *resultobj;
21008 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21009 int result;
21010 PyObject * obj0 = 0 ;
21011 char *kwnames[] = {
21012 (char *) "self", NULL
21013 };
21014
21015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
21016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21017 {
21018 PyThreadState* __tstate = wxPyBeginAllowThreads();
21019 result = (int)(arg1)->GetZoomControl();
21020
21021 wxPyEndAllowThreads(__tstate);
21022 if (PyErr_Occurred()) SWIG_fail;
21023 }
21024 resultobj = SWIG_PyObj_FromInt((int)result);
21025 return resultobj;
21026 fail:
21027 return NULL;
21028 }
21029
21030
21031 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21032 PyObject *resultobj;
21033 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21034 int arg2 ;
21035 PyObject * obj0 = 0 ;
21036 PyObject * obj1 = 0 ;
21037 char *kwnames[] = {
21038 (char *) "self",(char *) "zoom", NULL
21039 };
21040
21041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
21042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21043 {
21044 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
21047 {
21048 PyThreadState* __tstate = wxPyBeginAllowThreads();
21049 (arg1)->SetZoomControl(arg2);
21050
21051 wxPyEndAllowThreads(__tstate);
21052 if (PyErr_Occurred()) SWIG_fail;
21053 }
21054 Py_INCREF(Py_None); resultobj = Py_None;
21055 return resultobj;
21056 fail:
21057 return NULL;
21058 }
21059
21060
21061 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21062 PyObject *resultobj;
21063 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21064 wxPrintPreview *result;
21065 PyObject * obj0 = 0 ;
21066 char *kwnames[] = {
21067 (char *) "self", NULL
21068 };
21069
21070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
21071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21072 {
21073 PyThreadState* __tstate = wxPyBeginAllowThreads();
21074 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
21075
21076 wxPyEndAllowThreads(__tstate);
21077 if (PyErr_Occurred()) SWIG_fail;
21078 }
21079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
21080 return resultobj;
21081 fail:
21082 return NULL;
21083 }
21084
21085
21086 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
21087 PyObject *resultobj;
21088 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21089 PyObject * obj0 = 0 ;
21090 char *kwnames[] = {
21091 (char *) "self", NULL
21092 };
21093
21094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
21095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 (arg1)->OnNext();
21099
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 Py_INCREF(Py_None); resultobj = Py_None;
21104 return resultobj;
21105 fail:
21106 return NULL;
21107 }
21108
21109
21110 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
21111 PyObject *resultobj;
21112 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21113 PyObject * obj0 = 0 ;
21114 char *kwnames[] = {
21115 (char *) "self", NULL
21116 };
21117
21118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
21119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 (arg1)->OnPrevious();
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 Py_INCREF(Py_None); resultobj = Py_None;
21128 return resultobj;
21129 fail:
21130 return NULL;
21131 }
21132
21133
21134 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
21135 PyObject *resultobj;
21136 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21137 PyObject * obj0 = 0 ;
21138 char *kwnames[] = {
21139 (char *) "self", NULL
21140 };
21141
21142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
21143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21144 {
21145 PyThreadState* __tstate = wxPyBeginAllowThreads();
21146 (arg1)->OnFirst();
21147
21148 wxPyEndAllowThreads(__tstate);
21149 if (PyErr_Occurred()) SWIG_fail;
21150 }
21151 Py_INCREF(Py_None); resultobj = Py_None;
21152 return resultobj;
21153 fail:
21154 return NULL;
21155 }
21156
21157
21158 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
21159 PyObject *resultobj;
21160 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21161 PyObject * obj0 = 0 ;
21162 char *kwnames[] = {
21163 (char *) "self", NULL
21164 };
21165
21166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
21167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21168 {
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 (arg1)->OnLast();
21171
21172 wxPyEndAllowThreads(__tstate);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
21175 Py_INCREF(Py_None); resultobj = Py_None;
21176 return resultobj;
21177 fail:
21178 return NULL;
21179 }
21180
21181
21182 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
21183 PyObject *resultobj;
21184 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21185 PyObject * obj0 = 0 ;
21186 char *kwnames[] = {
21187 (char *) "self", NULL
21188 };
21189
21190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
21191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21192 {
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 (arg1)->OnGoto();
21195
21196 wxPyEndAllowThreads(__tstate);
21197 if (PyErr_Occurred()) SWIG_fail;
21198 }
21199 Py_INCREF(Py_None); resultobj = Py_None;
21200 return resultobj;
21201 fail:
21202 return NULL;
21203 }
21204
21205
21206 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21207 PyObject *obj;
21208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21209 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
21210 Py_INCREF(obj);
21211 return Py_BuildValue((char *)"");
21212 }
21213 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21214 PyObject *resultobj;
21215 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21216 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21217 wxPrintData *arg3 = (wxPrintData *) NULL ;
21218 wxPrintPreview *result;
21219 PyObject * obj0 = 0 ;
21220 PyObject * obj1 = 0 ;
21221 PyObject * obj2 = 0 ;
21222 char *kwnames[] = {
21223 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21224 };
21225
21226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
21227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21229 if (obj2) {
21230 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21231 }
21232 {
21233 PyThreadState* __tstate = wxPyBeginAllowThreads();
21234 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
21235
21236 wxPyEndAllowThreads(__tstate);
21237 if (PyErr_Occurred()) SWIG_fail;
21238 }
21239 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
21240 return resultobj;
21241 fail:
21242 return NULL;
21243 }
21244
21245
21246 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21247 PyObject *resultobj;
21248 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21249 int arg2 ;
21250 bool result;
21251 PyObject * obj0 = 0 ;
21252 PyObject * obj1 = 0 ;
21253 char *kwnames[] = {
21254 (char *) "self",(char *) "pageNum", NULL
21255 };
21256
21257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21259 {
21260 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21261 if (PyErr_Occurred()) SWIG_fail;
21262 }
21263 {
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 result = (bool)(arg1)->SetCurrentPage(arg2);
21266
21267 wxPyEndAllowThreads(__tstate);
21268 if (PyErr_Occurred()) SWIG_fail;
21269 }
21270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21271 return resultobj;
21272 fail:
21273 return NULL;
21274 }
21275
21276
21277 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21278 PyObject *resultobj;
21279 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21280 int result;
21281 PyObject * obj0 = 0 ;
21282 char *kwnames[] = {
21283 (char *) "self", NULL
21284 };
21285
21286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
21287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 result = (int)(arg1)->GetCurrentPage();
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 resultobj = SWIG_PyObj_FromInt((int)result);
21296 return resultobj;
21297 fail:
21298 return NULL;
21299 }
21300
21301
21302 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21303 PyObject *resultobj;
21304 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21305 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21306 PyObject * obj0 = 0 ;
21307 PyObject * obj1 = 0 ;
21308 char *kwnames[] = {
21309 (char *) "self",(char *) "printout", NULL
21310 };
21311
21312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
21313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21315 {
21316 PyThreadState* __tstate = wxPyBeginAllowThreads();
21317 (arg1)->SetPrintout(arg2);
21318
21319 wxPyEndAllowThreads(__tstate);
21320 if (PyErr_Occurred()) SWIG_fail;
21321 }
21322 Py_INCREF(Py_None); resultobj = Py_None;
21323 return resultobj;
21324 fail:
21325 return NULL;
21326 }
21327
21328
21329 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21330 PyObject *resultobj;
21331 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21332 wxPyPrintout *result;
21333 PyObject * obj0 = 0 ;
21334 char *kwnames[] = {
21335 (char *) "self", NULL
21336 };
21337
21338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
21339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21340 {
21341 PyThreadState* __tstate = wxPyBeginAllowThreads();
21342 result = (wxPyPrintout *)(arg1)->GetPrintout();
21343
21344 wxPyEndAllowThreads(__tstate);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 }
21347 {
21348 resultobj = wxPyMake_wxObject(result);
21349 }
21350 return resultobj;
21351 fail:
21352 return NULL;
21353 }
21354
21355
21356 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21357 PyObject *resultobj;
21358 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21359 wxPyPrintout *result;
21360 PyObject * obj0 = 0 ;
21361 char *kwnames[] = {
21362 (char *) "self", NULL
21363 };
21364
21365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
21366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21367 {
21368 PyThreadState* __tstate = wxPyBeginAllowThreads();
21369 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
21370
21371 wxPyEndAllowThreads(__tstate);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 }
21374 {
21375 resultobj = wxPyMake_wxObject(result);
21376 }
21377 return resultobj;
21378 fail:
21379 return NULL;
21380 }
21381
21382
21383 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21384 PyObject *resultobj;
21385 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21386 wxFrame *arg2 = (wxFrame *) 0 ;
21387 PyObject * obj0 = 0 ;
21388 PyObject * obj1 = 0 ;
21389 char *kwnames[] = {
21390 (char *) "self",(char *) "frame", NULL
21391 };
21392
21393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
21394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21396 {
21397 PyThreadState* __tstate = wxPyBeginAllowThreads();
21398 (arg1)->SetFrame(arg2);
21399
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 Py_INCREF(Py_None); resultobj = Py_None;
21404 return resultobj;
21405 fail:
21406 return NULL;
21407 }
21408
21409
21410 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21411 PyObject *resultobj;
21412 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21413 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21414 PyObject * obj0 = 0 ;
21415 PyObject * obj1 = 0 ;
21416 char *kwnames[] = {
21417 (char *) "self",(char *) "canvas", NULL
21418 };
21419
21420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
21421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21423 {
21424 PyThreadState* __tstate = wxPyBeginAllowThreads();
21425 (arg1)->SetCanvas(arg2);
21426
21427 wxPyEndAllowThreads(__tstate);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 }
21430 Py_INCREF(Py_None); resultobj = Py_None;
21431 return resultobj;
21432 fail:
21433 return NULL;
21434 }
21435
21436
21437 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21438 PyObject *resultobj;
21439 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21440 wxFrame *result;
21441 PyObject * obj0 = 0 ;
21442 char *kwnames[] = {
21443 (char *) "self", NULL
21444 };
21445
21446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
21447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21448 {
21449 PyThreadState* __tstate = wxPyBeginAllowThreads();
21450 result = (wxFrame *)(arg1)->GetFrame();
21451
21452 wxPyEndAllowThreads(__tstate);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 }
21455 {
21456 resultobj = wxPyMake_wxObject(result);
21457 }
21458 return resultobj;
21459 fail:
21460 return NULL;
21461 }
21462
21463
21464 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21465 PyObject *resultobj;
21466 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21467 wxPreviewCanvas *result;
21468 PyObject * obj0 = 0 ;
21469 char *kwnames[] = {
21470 (char *) "self", NULL
21471 };
21472
21473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
21474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21475 {
21476 PyThreadState* __tstate = wxPyBeginAllowThreads();
21477 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
21478
21479 wxPyEndAllowThreads(__tstate);
21480 if (PyErr_Occurred()) SWIG_fail;
21481 }
21482 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
21483 return resultobj;
21484 fail:
21485 return NULL;
21486 }
21487
21488
21489 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21490 PyObject *resultobj;
21491 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21492 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21493 wxDC *arg3 = 0 ;
21494 bool result;
21495 PyObject * obj0 = 0 ;
21496 PyObject * obj1 = 0 ;
21497 PyObject * obj2 = 0 ;
21498 char *kwnames[] = {
21499 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21500 };
21501
21502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21505 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21506 if (arg3 == NULL) {
21507 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21508 }
21509 {
21510 PyThreadState* __tstate = wxPyBeginAllowThreads();
21511 result = (bool)(arg1)->PaintPage(arg2,*arg3);
21512
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21517 return resultobj;
21518 fail:
21519 return NULL;
21520 }
21521
21522
21523 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21524 PyObject *resultobj;
21525 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21526 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21527 wxDC *arg3 = 0 ;
21528 bool result;
21529 PyObject * obj0 = 0 ;
21530 PyObject * obj1 = 0 ;
21531 PyObject * obj2 = 0 ;
21532 char *kwnames[] = {
21533 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21534 };
21535
21536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21539 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21540 if (arg3 == NULL) {
21541 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21542 }
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
21546
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21551 return resultobj;
21552 fail:
21553 return NULL;
21554 }
21555
21556
21557 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21558 PyObject *resultobj;
21559 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21560 int arg2 ;
21561 bool result;
21562 PyObject * obj0 = 0 ;
21563 PyObject * obj1 = 0 ;
21564 char *kwnames[] = {
21565 (char *) "self",(char *) "pageNum", NULL
21566 };
21567
21568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
21569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21570 {
21571 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21572 if (PyErr_Occurred()) SWIG_fail;
21573 }
21574 {
21575 PyThreadState* __tstate = wxPyBeginAllowThreads();
21576 result = (bool)(arg1)->RenderPage(arg2);
21577
21578 wxPyEndAllowThreads(__tstate);
21579 if (PyErr_Occurred()) SWIG_fail;
21580 }
21581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21582 return resultobj;
21583 fail:
21584 return NULL;
21585 }
21586
21587
21588 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
21589 PyObject *resultobj;
21590 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21591 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21592 PyObject * obj0 = 0 ;
21593 PyObject * obj1 = 0 ;
21594 char *kwnames[] = {
21595 (char *) "self",(char *) "canvas", NULL
21596 };
21597
21598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
21599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21601 {
21602 PyThreadState* __tstate = wxPyBeginAllowThreads();
21603 (arg1)->AdjustScrollbars(arg2);
21604
21605 wxPyEndAllowThreads(__tstate);
21606 if (PyErr_Occurred()) SWIG_fail;
21607 }
21608 Py_INCREF(Py_None); resultobj = Py_None;
21609 return resultobj;
21610 fail:
21611 return NULL;
21612 }
21613
21614
21615 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21616 PyObject *resultobj;
21617 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21618 wxPrintDialogData *result;
21619 PyObject * obj0 = 0 ;
21620 char *kwnames[] = {
21621 (char *) "self", NULL
21622 };
21623
21624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
21625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21626 {
21627 PyThreadState* __tstate = wxPyBeginAllowThreads();
21628 {
21629 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21630 result = (wxPrintDialogData *) &_result_ref;
21631 }
21632
21633 wxPyEndAllowThreads(__tstate);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
21637 return resultobj;
21638 fail:
21639 return NULL;
21640 }
21641
21642
21643 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21644 PyObject *resultobj;
21645 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21646 int arg2 ;
21647 PyObject * obj0 = 0 ;
21648 PyObject * obj1 = 0 ;
21649 char *kwnames[] = {
21650 (char *) "self",(char *) "percent", NULL
21651 };
21652
21653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
21654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21655 {
21656 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 (arg1)->SetZoom(arg2);
21662
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 Py_INCREF(Py_None); resultobj = Py_None;
21667 return resultobj;
21668 fail:
21669 return NULL;
21670 }
21671
21672
21673 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21674 PyObject *resultobj;
21675 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21676 int result;
21677 PyObject * obj0 = 0 ;
21678 char *kwnames[] = {
21679 (char *) "self", NULL
21680 };
21681
21682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
21683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21684 {
21685 PyThreadState* __tstate = wxPyBeginAllowThreads();
21686 result = (int)(arg1)->GetZoom();
21687
21688 wxPyEndAllowThreads(__tstate);
21689 if (PyErr_Occurred()) SWIG_fail;
21690 }
21691 resultobj = SWIG_PyObj_FromInt((int)result);
21692 return resultobj;
21693 fail:
21694 return NULL;
21695 }
21696
21697
21698 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21699 PyObject *resultobj;
21700 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21701 int result;
21702 PyObject * obj0 = 0 ;
21703 char *kwnames[] = {
21704 (char *) "self", NULL
21705 };
21706
21707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
21708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21709 {
21710 PyThreadState* __tstate = wxPyBeginAllowThreads();
21711 result = (int)(arg1)->GetMaxPage();
21712
21713 wxPyEndAllowThreads(__tstate);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 }
21716 resultobj = SWIG_PyObj_FromInt((int)result);
21717 return resultobj;
21718 fail:
21719 return NULL;
21720 }
21721
21722
21723 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21724 PyObject *resultobj;
21725 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21726 int result;
21727 PyObject * obj0 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "self", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
21733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21734 {
21735 PyThreadState* __tstate = wxPyBeginAllowThreads();
21736 result = (int)(arg1)->GetMinPage();
21737
21738 wxPyEndAllowThreads(__tstate);
21739 if (PyErr_Occurred()) SWIG_fail;
21740 }
21741 resultobj = SWIG_PyObj_FromInt((int)result);
21742 return resultobj;
21743 fail:
21744 return NULL;
21745 }
21746
21747
21748 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21749 PyObject *resultobj;
21750 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21751 bool result;
21752 PyObject * obj0 = 0 ;
21753 char *kwnames[] = {
21754 (char *) "self", NULL
21755 };
21756
21757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
21758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21759 {
21760 PyThreadState* __tstate = wxPyBeginAllowThreads();
21761 result = (bool)(arg1)->Ok();
21762
21763 wxPyEndAllowThreads(__tstate);
21764 if (PyErr_Occurred()) SWIG_fail;
21765 }
21766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21767 return resultobj;
21768 fail:
21769 return NULL;
21770 }
21771
21772
21773 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
21774 PyObject *resultobj;
21775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21776 bool arg2 ;
21777 PyObject * obj0 = 0 ;
21778 PyObject * obj1 = 0 ;
21779 char *kwnames[] = {
21780 (char *) "self",(char *) "ok", NULL
21781 };
21782
21783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
21784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21785 {
21786 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 {
21790 PyThreadState* __tstate = wxPyBeginAllowThreads();
21791 (arg1)->SetOk(arg2);
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 Py_INCREF(Py_None); resultobj = Py_None;
21797 return resultobj;
21798 fail:
21799 return NULL;
21800 }
21801
21802
21803 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj;
21805 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21806 bool arg2 ;
21807 bool result;
21808 PyObject * obj0 = 0 ;
21809 PyObject * obj1 = 0 ;
21810 char *kwnames[] = {
21811 (char *) "self",(char *) "interactive", NULL
21812 };
21813
21814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
21815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21816 {
21817 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 {
21821 PyThreadState* __tstate = wxPyBeginAllowThreads();
21822 result = (bool)(arg1)->Print(arg2);
21823
21824 wxPyEndAllowThreads(__tstate);
21825 if (PyErr_Occurred()) SWIG_fail;
21826 }
21827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21828 return resultobj;
21829 fail:
21830 return NULL;
21831 }
21832
21833
21834 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
21835 PyObject *resultobj;
21836 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21837 PyObject * obj0 = 0 ;
21838 char *kwnames[] = {
21839 (char *) "self", NULL
21840 };
21841
21842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
21843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 (arg1)->DetermineScaling();
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 Py_INCREF(Py_None); resultobj = Py_None;
21852 return resultobj;
21853 fail:
21854 return NULL;
21855 }
21856
21857
21858 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
21859 PyObject *obj;
21860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21861 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
21862 Py_INCREF(obj);
21863 return Py_BuildValue((char *)"");
21864 }
21865 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21866 PyObject *resultobj;
21867 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21868 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21869 wxPrintData *arg3 = (wxPrintData *) NULL ;
21870 wxPyPrintPreview *result;
21871 PyObject * obj0 = 0 ;
21872 PyObject * obj1 = 0 ;
21873 PyObject * obj2 = 0 ;
21874 char *kwnames[] = {
21875 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21876 };
21877
21878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
21879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21880 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21881 if (obj2) {
21882 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21883 }
21884 {
21885 PyThreadState* __tstate = wxPyBeginAllowThreads();
21886 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
21887
21888 wxPyEndAllowThreads(__tstate);
21889 if (PyErr_Occurred()) SWIG_fail;
21890 }
21891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
21892 return resultobj;
21893 fail:
21894 return NULL;
21895 }
21896
21897
21898 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21899 PyObject *resultobj;
21900 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21901 PyObject *arg2 = (PyObject *) 0 ;
21902 PyObject *arg3 = (PyObject *) 0 ;
21903 PyObject * obj0 = 0 ;
21904 PyObject * obj1 = 0 ;
21905 PyObject * obj2 = 0 ;
21906 char *kwnames[] = {
21907 (char *) "self",(char *) "self",(char *) "_class", NULL
21908 };
21909
21910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21912 arg2 = obj1;
21913 arg3 = obj2;
21914 {
21915 PyThreadState* __tstate = wxPyBeginAllowThreads();
21916 (arg1)->_setCallbackInfo(arg2,arg3);
21917
21918 wxPyEndAllowThreads(__tstate);
21919 if (PyErr_Occurred()) SWIG_fail;
21920 }
21921 Py_INCREF(Py_None); resultobj = Py_None;
21922 return resultobj;
21923 fail:
21924 return NULL;
21925 }
21926
21927
21928 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21929 PyObject *resultobj;
21930 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21931 int arg2 ;
21932 bool result;
21933 PyObject * obj0 = 0 ;
21934 PyObject * obj1 = 0 ;
21935 char *kwnames[] = {
21936 (char *) "self",(char *) "pageNum", NULL
21937 };
21938
21939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21941 {
21942 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21943 if (PyErr_Occurred()) SWIG_fail;
21944 }
21945 {
21946 PyThreadState* __tstate = wxPyBeginAllowThreads();
21947 result = (bool)(arg1)->base_SetCurrentPage(arg2);
21948
21949 wxPyEndAllowThreads(__tstate);
21950 if (PyErr_Occurred()) SWIG_fail;
21951 }
21952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21953 return resultobj;
21954 fail:
21955 return NULL;
21956 }
21957
21958
21959 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21960 PyObject *resultobj;
21961 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21962 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21963 wxDC *arg3 = 0 ;
21964 bool result;
21965 PyObject * obj0 = 0 ;
21966 PyObject * obj1 = 0 ;
21967 PyObject * obj2 = 0 ;
21968 char *kwnames[] = {
21969 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21970 };
21971
21972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21975 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21976 if (arg3 == NULL) {
21977 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21978 }
21979 {
21980 PyThreadState* __tstate = wxPyBeginAllowThreads();
21981 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
21982
21983 wxPyEndAllowThreads(__tstate);
21984 if (PyErr_Occurred()) SWIG_fail;
21985 }
21986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21987 return resultobj;
21988 fail:
21989 return NULL;
21990 }
21991
21992
21993 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21994 PyObject *resultobj;
21995 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21996 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21997 wxDC *arg3 = 0 ;
21998 bool result;
21999 PyObject * obj0 = 0 ;
22000 PyObject * obj1 = 0 ;
22001 PyObject * obj2 = 0 ;
22002 char *kwnames[] = {
22003 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22004 };
22005
22006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22008 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22009 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22010 if (arg3 == NULL) {
22011 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22012 }
22013 {
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
22016
22017 wxPyEndAllowThreads(__tstate);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
22020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22021 return resultobj;
22022 fail:
22023 return NULL;
22024 }
22025
22026
22027 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22028 PyObject *resultobj;
22029 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22030 int arg2 ;
22031 bool result;
22032 PyObject * obj0 = 0 ;
22033 PyObject * obj1 = 0 ;
22034 char *kwnames[] = {
22035 (char *) "self",(char *) "pageNum", NULL
22036 };
22037
22038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22040 {
22041 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22042 if (PyErr_Occurred()) SWIG_fail;
22043 }
22044 {
22045 PyThreadState* __tstate = wxPyBeginAllowThreads();
22046 result = (bool)(arg1)->base_RenderPage(arg2);
22047
22048 wxPyEndAllowThreads(__tstate);
22049 if (PyErr_Occurred()) SWIG_fail;
22050 }
22051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22052 return resultobj;
22053 fail:
22054 return NULL;
22055 }
22056
22057
22058 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22059 PyObject *resultobj;
22060 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22061 int arg2 ;
22062 PyObject * obj0 = 0 ;
22063 PyObject * obj1 = 0 ;
22064 char *kwnames[] = {
22065 (char *) "self",(char *) "percent", NULL
22066 };
22067
22068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22070 {
22071 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22072 if (PyErr_Occurred()) SWIG_fail;
22073 }
22074 {
22075 PyThreadState* __tstate = wxPyBeginAllowThreads();
22076 (arg1)->base_SetZoom(arg2);
22077
22078 wxPyEndAllowThreads(__tstate);
22079 if (PyErr_Occurred()) SWIG_fail;
22080 }
22081 Py_INCREF(Py_None); resultobj = Py_None;
22082 return resultobj;
22083 fail:
22084 return NULL;
22085 }
22086
22087
22088 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
22089 PyObject *resultobj;
22090 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22091 bool arg2 ;
22092 bool result;
22093 PyObject * obj0 = 0 ;
22094 PyObject * obj1 = 0 ;
22095 char *kwnames[] = {
22096 (char *) "self",(char *) "interactive", NULL
22097 };
22098
22099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
22100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22101 {
22102 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
22103 if (PyErr_Occurred()) SWIG_fail;
22104 }
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 result = (bool)(arg1)->base_Print(arg2);
22108
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22113 return resultobj;
22114 fail:
22115 return NULL;
22116 }
22117
22118
22119 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
22120 PyObject *resultobj;
22121 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22122 PyObject * obj0 = 0 ;
22123 char *kwnames[] = {
22124 (char *) "self", NULL
22125 };
22126
22127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
22128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22129 {
22130 PyThreadState* __tstate = wxPyBeginAllowThreads();
22131 (arg1)->base_DetermineScaling();
22132
22133 wxPyEndAllowThreads(__tstate);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
22136 Py_INCREF(Py_None); resultobj = Py_None;
22137 return resultobj;
22138 fail:
22139 return NULL;
22140 }
22141
22142
22143 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
22144 PyObject *obj;
22145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22146 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
22147 Py_INCREF(obj);
22148 return Py_BuildValue((char *)"");
22149 }
22150 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22151 PyObject *resultobj;
22152 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22153 wxFrame *arg2 = (wxFrame *) 0 ;
22154 wxString *arg3 = 0 ;
22155 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22156 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22157 wxSize const &arg5_defvalue = wxDefaultSize ;
22158 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22159 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22160 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22161 wxString *arg7 = (wxString *) &arg7_defvalue ;
22162 wxPyPreviewFrame *result;
22163 bool temp3 = False ;
22164 wxPoint temp4 ;
22165 wxSize temp5 ;
22166 bool temp7 = False ;
22167 PyObject * obj0 = 0 ;
22168 PyObject * obj1 = 0 ;
22169 PyObject * obj2 = 0 ;
22170 PyObject * obj3 = 0 ;
22171 PyObject * obj4 = 0 ;
22172 PyObject * obj5 = 0 ;
22173 PyObject * obj6 = 0 ;
22174 char *kwnames[] = {
22175 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22176 };
22177
22178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22180 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22181 {
22182 arg3 = wxString_in_helper(obj2);
22183 if (arg3 == NULL) SWIG_fail;
22184 temp3 = True;
22185 }
22186 if (obj3) {
22187 {
22188 arg4 = &temp4;
22189 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22190 }
22191 }
22192 if (obj4) {
22193 {
22194 arg5 = &temp5;
22195 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22196 }
22197 }
22198 if (obj5) {
22199 {
22200 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22201 if (PyErr_Occurred()) SWIG_fail;
22202 }
22203 }
22204 if (obj6) {
22205 {
22206 arg7 = wxString_in_helper(obj6);
22207 if (arg7 == NULL) SWIG_fail;
22208 temp7 = True;
22209 }
22210 }
22211 {
22212 PyThreadState* __tstate = wxPyBeginAllowThreads();
22213 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22214
22215 wxPyEndAllowThreads(__tstate);
22216 if (PyErr_Occurred()) SWIG_fail;
22217 }
22218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
22219 {
22220 if (temp3)
22221 delete arg3;
22222 }
22223 {
22224 if (temp7)
22225 delete arg7;
22226 }
22227 return resultobj;
22228 fail:
22229 {
22230 if (temp3)
22231 delete arg3;
22232 }
22233 {
22234 if (temp7)
22235 delete arg7;
22236 }
22237 return NULL;
22238 }
22239
22240
22241 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22242 PyObject *resultobj;
22243 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22244 PyObject *arg2 = (PyObject *) 0 ;
22245 PyObject *arg3 = (PyObject *) 0 ;
22246 PyObject * obj0 = 0 ;
22247 PyObject * obj1 = 0 ;
22248 PyObject * obj2 = 0 ;
22249 char *kwnames[] = {
22250 (char *) "self",(char *) "self",(char *) "_class", NULL
22251 };
22252
22253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22255 arg2 = obj1;
22256 arg3 = obj2;
22257 {
22258 PyThreadState* __tstate = wxPyBeginAllowThreads();
22259 (arg1)->_setCallbackInfo(arg2,arg3);
22260
22261 wxPyEndAllowThreads(__tstate);
22262 if (PyErr_Occurred()) SWIG_fail;
22263 }
22264 Py_INCREF(Py_None); resultobj = Py_None;
22265 return resultobj;
22266 fail:
22267 return NULL;
22268 }
22269
22270
22271 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22272 PyObject *resultobj;
22273 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22274 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22275 PyObject * obj0 = 0 ;
22276 PyObject * obj1 = 0 ;
22277 char *kwnames[] = {
22278 (char *) "self",(char *) "canvas", NULL
22279 };
22280
22281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
22282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22284 {
22285 PyThreadState* __tstate = wxPyBeginAllowThreads();
22286 (arg1)->SetPreviewCanvas(arg2);
22287
22288 wxPyEndAllowThreads(__tstate);
22289 if (PyErr_Occurred()) SWIG_fail;
22290 }
22291 Py_INCREF(Py_None); resultobj = Py_None;
22292 return resultobj;
22293 fail:
22294 return NULL;
22295 }
22296
22297
22298 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22299 PyObject *resultobj;
22300 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22301 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
22302 PyObject * obj0 = 0 ;
22303 PyObject * obj1 = 0 ;
22304 char *kwnames[] = {
22305 (char *) "self",(char *) "bar", NULL
22306 };
22307
22308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
22309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22310 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22311 {
22312 PyThreadState* __tstate = wxPyBeginAllowThreads();
22313 (arg1)->SetControlBar(arg2);
22314
22315 wxPyEndAllowThreads(__tstate);
22316 if (PyErr_Occurred()) SWIG_fail;
22317 }
22318 Py_INCREF(Py_None); resultobj = Py_None;
22319 return resultobj;
22320 fail:
22321 return NULL;
22322 }
22323
22324
22325 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22326 PyObject *resultobj;
22327 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22328 PyObject * obj0 = 0 ;
22329 char *kwnames[] = {
22330 (char *) "self", NULL
22331 };
22332
22333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
22334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22335 {
22336 PyThreadState* __tstate = wxPyBeginAllowThreads();
22337 (arg1)->base_Initialize();
22338
22339 wxPyEndAllowThreads(__tstate);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 }
22342 Py_INCREF(Py_None); resultobj = Py_None;
22343 return resultobj;
22344 fail:
22345 return NULL;
22346 }
22347
22348
22349 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22350 PyObject *resultobj;
22351 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22352 PyObject * obj0 = 0 ;
22353 char *kwnames[] = {
22354 (char *) "self", NULL
22355 };
22356
22357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
22358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22359 {
22360 PyThreadState* __tstate = wxPyBeginAllowThreads();
22361 (arg1)->base_CreateCanvas();
22362
22363 wxPyEndAllowThreads(__tstate);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
22366 Py_INCREF(Py_None); resultobj = Py_None;
22367 return resultobj;
22368 fail:
22369 return NULL;
22370 }
22371
22372
22373 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22374 PyObject *resultobj;
22375 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22376 PyObject * obj0 = 0 ;
22377 char *kwnames[] = {
22378 (char *) "self", NULL
22379 };
22380
22381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
22382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22383 {
22384 PyThreadState* __tstate = wxPyBeginAllowThreads();
22385 (arg1)->base_CreateControlBar();
22386
22387 wxPyEndAllowThreads(__tstate);
22388 if (PyErr_Occurred()) SWIG_fail;
22389 }
22390 Py_INCREF(Py_None); resultobj = Py_None;
22391 return resultobj;
22392 fail:
22393 return NULL;
22394 }
22395
22396
22397 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
22398 PyObject *obj;
22399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22400 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
22401 Py_INCREF(obj);
22402 return Py_BuildValue((char *)"");
22403 }
22404 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22405 PyObject *resultobj;
22406 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22407 long arg2 ;
22408 wxWindow *arg3 = (wxWindow *) 0 ;
22409 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22410 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22411 wxSize const &arg5_defvalue = wxDefaultSize ;
22412 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22413 long arg6 = (long) 0 ;
22414 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22415 wxString *arg7 = (wxString *) &arg7_defvalue ;
22416 wxPyPreviewControlBar *result;
22417 wxPoint temp4 ;
22418 wxSize temp5 ;
22419 bool temp7 = False ;
22420 PyObject * obj0 = 0 ;
22421 PyObject * obj1 = 0 ;
22422 PyObject * obj2 = 0 ;
22423 PyObject * obj3 = 0 ;
22424 PyObject * obj4 = 0 ;
22425 PyObject * obj5 = 0 ;
22426 PyObject * obj6 = 0 ;
22427 char *kwnames[] = {
22428 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22429 };
22430
22431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22433 {
22434 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22435 if (PyErr_Occurred()) SWIG_fail;
22436 }
22437 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22438 if (obj3) {
22439 {
22440 arg4 = &temp4;
22441 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22442 }
22443 }
22444 if (obj4) {
22445 {
22446 arg5 = &temp5;
22447 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22448 }
22449 }
22450 if (obj5) {
22451 {
22452 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 }
22456 if (obj6) {
22457 {
22458 arg7 = wxString_in_helper(obj6);
22459 if (arg7 == NULL) SWIG_fail;
22460 temp7 = True;
22461 }
22462 }
22463 {
22464 PyThreadState* __tstate = wxPyBeginAllowThreads();
22465 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22466
22467 wxPyEndAllowThreads(__tstate);
22468 if (PyErr_Occurred()) SWIG_fail;
22469 }
22470 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
22471 {
22472 if (temp7)
22473 delete arg7;
22474 }
22475 return resultobj;
22476 fail:
22477 {
22478 if (temp7)
22479 delete arg7;
22480 }
22481 return NULL;
22482 }
22483
22484
22485 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22486 PyObject *resultobj;
22487 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22488 PyObject *arg2 = (PyObject *) 0 ;
22489 PyObject *arg3 = (PyObject *) 0 ;
22490 PyObject * obj0 = 0 ;
22491 PyObject * obj1 = 0 ;
22492 PyObject * obj2 = 0 ;
22493 char *kwnames[] = {
22494 (char *) "self",(char *) "self",(char *) "_class", NULL
22495 };
22496
22497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22499 arg2 = obj1;
22500 arg3 = obj2;
22501 {
22502 PyThreadState* __tstate = wxPyBeginAllowThreads();
22503 (arg1)->_setCallbackInfo(arg2,arg3);
22504
22505 wxPyEndAllowThreads(__tstate);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 }
22508 Py_INCREF(Py_None); resultobj = Py_None;
22509 return resultobj;
22510 fail:
22511 return NULL;
22512 }
22513
22514
22515 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22516 PyObject *resultobj;
22517 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22518 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
22519 PyObject * obj0 = 0 ;
22520 PyObject * obj1 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "self",(char *) "preview", NULL
22523 };
22524
22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
22526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22528 {
22529 PyThreadState* __tstate = wxPyBeginAllowThreads();
22530 (arg1)->SetPrintPreview(arg2);
22531
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 Py_INCREF(Py_None); resultobj = Py_None;
22536 return resultobj;
22537 fail:
22538 return NULL;
22539 }
22540
22541
22542 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
22543 PyObject *resultobj;
22544 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22545 PyObject * obj0 = 0 ;
22546 char *kwnames[] = {
22547 (char *) "self", NULL
22548 };
22549
22550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
22551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 (arg1)->base_CreateButtons();
22555
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 Py_INCREF(Py_None); resultobj = Py_None;
22560 return resultobj;
22561 fail:
22562 return NULL;
22563 }
22564
22565
22566 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22567 PyObject *resultobj;
22568 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22569 int arg2 ;
22570 PyObject * obj0 = 0 ;
22571 PyObject * obj1 = 0 ;
22572 char *kwnames[] = {
22573 (char *) "self",(char *) "zoom", NULL
22574 };
22575
22576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22578 {
22579 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22580 if (PyErr_Occurred()) SWIG_fail;
22581 }
22582 {
22583 PyThreadState* __tstate = wxPyBeginAllowThreads();
22584 (arg1)->base_SetZoomControl(arg2);
22585
22586 wxPyEndAllowThreads(__tstate);
22587 if (PyErr_Occurred()) SWIG_fail;
22588 }
22589 Py_INCREF(Py_None); resultobj = Py_None;
22590 return resultobj;
22591 fail:
22592 return NULL;
22593 }
22594
22595
22596 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22597 PyObject *obj;
22598 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22599 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
22600 Py_INCREF(obj);
22601 return Py_BuildValue((char *)"");
22602 }
22603 static PyMethodDef SwigMethods[] = {
22604 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
22605 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
22606 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
22607 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
22608 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
22609 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22610 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22611 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22612 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
22613 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
22614 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22615 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22616 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
22617 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
22618 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
22619 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
22620 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
22621 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
22622 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
22623 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
22624 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
22625 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
22626 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
22627 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22628 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22629 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
22630 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
22631 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
22632 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
22633 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
22634 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
22635 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
22636 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
22637 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
22638 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
22639 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
22640 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
22641 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
22642 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
22643 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
22644 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
22645 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
22646 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
22647 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
22648 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
22649 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
22650 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
22651 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
22652 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
22653 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
22654 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
22655 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22656 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22657 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22658 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22659 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22660 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22661 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
22662 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
22663 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
22664 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
22665 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
22666 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
22667 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
22668 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
22669 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
22670 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
22671 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
22672 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
22673 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
22674 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
22675 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22676 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
22677 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
22678 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
22679 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
22680 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
22681 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
22682 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
22683 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
22684 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
22685 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
22686 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
22687 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
22688 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
22689 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
22690 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
22691 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
22692 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
22693 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
22694 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
22695 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22696 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22697 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22698 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
22699 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22700 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22701 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22702 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
22703 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
22704 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
22705 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
22706 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
22707 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
22708 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
22709 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
22710 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
22711 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
22712 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
22713 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
22714 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
22715 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
22716 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
22717 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
22718 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
22719 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
22720 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
22721 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
22722 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
22723 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
22724 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22725 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22726 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22727 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22728 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22729 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22730 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22731 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22732 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
22733 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
22734 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22735 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22736 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
22737 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
22738 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
22739 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
22740 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
22741 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
22742 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
22743 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
22744 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
22745 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
22746 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
22747 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
22748 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22749 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22750 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22751 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22752 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22753 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22754 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22755 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22756 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22757 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22758 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22759 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22760 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22761 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22762 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
22763 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
22764 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
22765 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
22766 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
22767 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
22768 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
22769 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
22770 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
22771 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
22772 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22773 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22774 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22775 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22776 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
22777 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
22778 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22779 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22780 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22781 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22782 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
22783 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
22784 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22785 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22786 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
22787 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
22788 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
22789 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22790 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22791 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
22792 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22793 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22794 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22795 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
22796 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22797 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
22798 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22799 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22800 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
22801 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
22802 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
22803 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
22804 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
22805 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
22806 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
22807 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
22808 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
22809 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
22810 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
22811 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22812 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
22813 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
22814 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
22815 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
22816 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
22817 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
22818 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
22819 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22820 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22821 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22822 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22823 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
22824 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
22825 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
22826 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
22827 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
22828 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
22829 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
22830 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
22831 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
22832 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
22833 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
22834 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
22835 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
22836 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
22837 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
22838 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
22839 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22840 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
22841 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
22842 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
22843 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
22844 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
22845 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
22846 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
22847 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
22848 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
22849 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
22850 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
22851 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
22852 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
22853 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
22854 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
22855 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
22856 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
22857 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
22858 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
22859 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
22860 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
22861 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
22862 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
22863 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
22864 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
22865 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22866 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
22867 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
22868 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
22869 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
22870 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
22871 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
22872 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
22873 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
22874 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
22875 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
22876 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
22877 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
22878 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
22879 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
22880 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
22881 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
22882 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
22883 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
22884 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
22885 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
22886 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
22887 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
22888 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
22889 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
22890 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
22891 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22892 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
22893 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
22894 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
22895 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
22896 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
22897 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
22898 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
22899 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22900 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
22901 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
22902 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
22903 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
22904 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
22905 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
22906 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
22907 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
22908 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
22909 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
22910 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
22911 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
22912 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
22913 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
22914 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
22915 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
22916 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
22917 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
22918 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
22919 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
22920 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
22921 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
22922 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
22923 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
22924 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
22925 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
22926 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
22927 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22928 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
22929 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
22930 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
22931 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
22932 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22933 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
22934 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
22935 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
22936 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
22937 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
22938 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
22939 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
22940 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
22941 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
22942 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
22943 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
22944 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
22945 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
22946 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
22947 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
22948 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
22949 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
22950 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
22951 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
22952 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22953 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
22954 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
22955 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22956 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
22957 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
22958 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
22959 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
22960 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
22961 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
22962 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22963 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
22964 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
22965 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
22966 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22967 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
22968 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
22969 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
22970 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
22971 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
22972 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
22973 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
22974 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
22975 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
22976 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
22977 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
22978 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
22979 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
22980 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
22981 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
22982 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
22983 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
22984 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
22985 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
22986 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
22987 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
22988 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
22989 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
22990 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
22991 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
22992 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
22993 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
22994 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
22995 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
22996 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
22997 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
22998 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
22999 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
23000 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
23001 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
23002 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
23003 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
23004 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23005 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23006 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
23007 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
23008 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
23009 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23010 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23011 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23012 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23013 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23014 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23015 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23016 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23017 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23018 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23019 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23020 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23021 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23022 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
23023 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23024 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23025 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23026 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23027 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23028 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
23029 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
23030 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23031 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23032 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23033 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23034 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23035 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23036 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23037 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23038 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23039 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23040 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23041 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23042 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23043 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
23044 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23045 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23046 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23047 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23048 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23049 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
23050 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
23051 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
23052 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23053 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23054 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
23055 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
23056 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
23057 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
23058 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
23059 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23060 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23061 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
23062 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23063 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23064 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
23065 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
23066 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
23067 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
23068 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23069 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23070 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
23071 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23072 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23073 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23074 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
23075 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23076 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23077 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23078 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23079 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23080 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
23081 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23082 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23083 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23084 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
23085 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23086 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23087 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23088 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
23089 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23090 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23091 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
23092 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
23093 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
23094 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23095 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23096 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23097 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
23098 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
23099 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
23100 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
23101 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23102 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
23103 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
23104 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
23105 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
23106 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23107 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23108 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23109 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23110 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23111 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23112 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23113 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23114 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23115 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23116 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23117 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23118 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23119 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23120 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23121 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23122 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23123 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23124 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23125 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
23126 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
23127 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
23128 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23129 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
23130 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
23131 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
23132 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
23133 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
23134 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23135 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23136 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23137 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
23138 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
23139 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23140 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23141 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23142 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
23143 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
23144 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
23145 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
23146 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23147 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
23148 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
23149 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23150 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23151 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23152 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23153 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
23154 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23155 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23156 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23157 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
23158 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23159 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23160 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23161 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23162 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23163 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
23164 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23165 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23166 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
23167 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23168 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
23169 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
23170 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
23171 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
23172 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23173 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
23174 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23175 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
23176 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
23177 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
23178 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
23179 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
23180 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
23181 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23182 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
23183 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
23184 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
23185 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
23186 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
23187 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23188 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23189 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23190 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23191 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23192 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23193 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
23194 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
23195 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
23196 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
23197 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
23198 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
23199 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
23200 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
23201 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
23202 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
23203 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23204 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
23205 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
23206 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
23207 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23208 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23209 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
23210 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
23211 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23212 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
23213 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23214 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23215 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
23216 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
23217 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
23218 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
23219 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
23220 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
23221 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
23222 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23223 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23224 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
23225 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
23226 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
23227 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
23228 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
23229 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
23230 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
23231 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
23232 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23233 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
23234 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
23235 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23236 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
23237 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
23238 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23239 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23240 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
23241 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
23242 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
23243 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23244 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
23245 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
23246 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23247 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23248 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
23249 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23250 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
23251 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
23252 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
23253 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23254 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
23255 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
23256 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23257 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23258 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
23259 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
23260 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23261 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23262 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
23263 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23264 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23265 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23266 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
23267 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23268 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
23269 { NULL, NULL }
23270 };
23271
23272
23273 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23274
23275 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
23276 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23277 }
23278 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
23279 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
23280 }
23281 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
23282 return (void *)((wxEvent *) ((wxMenuEvent *) x));
23283 }
23284 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
23285 return (void *)((wxEvent *) ((wxCloseEvent *) x));
23286 }
23287 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
23288 return (void *)((wxEvent *) ((wxMouseEvent *) x));
23289 }
23290 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
23291 return (void *)((wxEvent *) ((wxEraseEvent *) x));
23292 }
23293 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
23294 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
23295 }
23296 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
23297 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23298 }
23299 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
23300 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
23301 }
23302 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
23303 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
23304 }
23305 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
23306 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
23307 }
23308 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
23309 return (void *)((wxEvent *) ((wxPyEvent *) x));
23310 }
23311 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
23312 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
23313 }
23314 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
23315 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
23316 }
23317 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
23318 return (void *)((wxEvent *) ((wxIdleEvent *) x));
23319 }
23320 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
23321 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
23322 }
23323 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
23324 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
23325 }
23326 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
23327 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
23328 }
23329 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
23330 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
23331 }
23332 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
23333 return (void *)((wxEvent *) ((wxActivateEvent *) x));
23334 }
23335 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
23336 return (void *)((wxEvent *) ((wxSizeEvent *) x));
23337 }
23338 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
23339 return (void *)((wxEvent *) ((wxMoveEvent *) x));
23340 }
23341 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
23342 return (void *)((wxEvent *) ((wxPaintEvent *) x));
23343 }
23344 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
23345 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
23346 }
23347 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
23348 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
23349 }
23350 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
23351 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
23352 }
23353 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
23354 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
23355 }
23356 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
23357 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23358 }
23359 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
23360 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
23361 }
23362 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
23363 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
23364 }
23365 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
23366 return (void *)((wxEvent *) ((wxFocusEvent *) x));
23367 }
23368 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
23369 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
23370 }
23371 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
23372 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
23373 }
23374 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
23375 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23376 }
23377 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
23378 return (void *)((wxEvent *) ((wxShowEvent *) x));
23379 }
23380 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
23381 return (void *)((wxEvent *) ((wxCommandEvent *) x));
23382 }
23383 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
23384 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
23385 }
23386 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
23387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23388 }
23389 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
23390 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
23391 }
23392 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
23393 return (void *)((wxEvent *) ((wxKeyEvent *) x));
23394 }
23395 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
23396 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
23397 }
23398 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
23399 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
23400 }
23401 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
23402 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
23403 }
23404 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
23405 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23406 }
23407 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
23408 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23409 }
23410 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
23411 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23412 }
23413 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
23414 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
23415 }
23416 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
23417 return (void *)((wxEvtHandler *) ((wxValidator *) x));
23418 }
23419 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
23420 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
23421 }
23422 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
23423 return (void *)((wxEvtHandler *) ((wxMenu *) x));
23424 }
23425 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
23426 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23427 }
23428 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
23429 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23430 }
23431 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
23432 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23433 }
23434 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
23435 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23436 }
23437 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
23438 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23439 }
23440 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
23441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23442 }
23443 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
23444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23445 }
23446 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
23447 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
23448 }
23449 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
23450 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
23451 }
23452 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
23453 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23454 }
23455 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
23456 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
23457 }
23458 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
23459 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23460 }
23461 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
23462 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
23463 }
23464 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
23465 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23466 }
23467 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
23468 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
23469 }
23470 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
23471 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
23472 }
23473 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
23474 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
23475 }
23476 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
23477 return (void *)((wxEvtHandler *) ((wxWindow *) x));
23478 }
23479 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
23480 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23481 }
23482 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
23483 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
23484 }
23485 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
23486 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
23487 }
23488 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
23489 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
23490 }
23491 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
23492 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23493 }
23494 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
23495 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23496 }
23497 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
23498 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23499 }
23500 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
23501 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
23502 }
23503 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
23504 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23505 }
23506 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
23507 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
23508 }
23509 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
23510 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23511 }
23512 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
23513 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23514 }
23515 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
23516 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23517 }
23518 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
23519 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23520 }
23521 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
23522 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23523 }
23524 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
23525 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
23526 }
23527 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
23528 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23529 }
23530 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
23531 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23532 }
23533 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
23534 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23535 }
23536 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
23537 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23538 }
23539 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
23540 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23541 }
23542 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
23543 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23544 }
23545 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
23546 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23547 }
23548 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
23549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23550 }
23551 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
23552 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
23553 }
23554 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
23555 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
23556 }
23557 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
23558 return (void *)((wxFrame *) ((wxProgressDialog *) x));
23559 }
23560 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
23561 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
23562 }
23563 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
23564 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23565 }
23566 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
23567 return (void *)((wxFrame *) ((wxMiniFrame *) x));
23568 }
23569 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
23570 return (void *)((wxFrame *) ((wxSplashScreen *) x));
23571 }
23572 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
23573 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
23574 }
23575 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
23576 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
23577 }
23578 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
23579 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23580 }
23581 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
23582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23583 }
23584 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
23585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23586 }
23587 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
23588 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
23589 }
23590 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
23591 return (void *)((wxObject *) ((wxSizerItem *) x));
23592 }
23593 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
23594 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
23595 }
23596 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
23597 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
23598 }
23599 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
23600 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
23601 }
23602 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
23603 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
23604 }
23605 static void *_p_wxSizerTo_p_wxObject(void *x) {
23606 return (void *)((wxObject *) ((wxSizer *) x));
23607 }
23608 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
23609 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
23610 }
23611 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
23612 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
23613 }
23614 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
23615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23616 }
23617 static void *_p_wxEventTo_p_wxObject(void *x) {
23618 return (void *)((wxObject *) ((wxEvent *) x));
23619 }
23620 static void *_p_wxFontDataTo_p_wxObject(void *x) {
23621 return (void *)((wxObject *) ((wxFontData *) x));
23622 }
23623 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
23624 return (void *)((wxObject *) ((wxPrintData *) x));
23625 }
23626 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
23627 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
23628 }
23629 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
23630 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
23631 }
23632 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
23633 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
23634 }
23635 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
23636 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
23637 }
23638 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
23639 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
23640 }
23641 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
23642 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
23643 }
23644 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
23645 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
23646 }
23647 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
23648 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
23649 }
23650 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
23651 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
23652 }
23653 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
23654 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
23655 }
23656 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
23657 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23658 }
23659 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
23660 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
23661 }
23662 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
23663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23664 }
23665 static void *_p_wxControlTo_p_wxObject(void *x) {
23666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
23667 }
23668 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
23669 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
23670 }
23671 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
23672 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23673 }
23674 static void *_p_wxFSFileTo_p_wxObject(void *x) {
23675 return (void *)((wxObject *) ((wxFSFile *) x));
23676 }
23677 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
23678 return (void *)((wxObject *) ((wxFindReplaceData *) x));
23679 }
23680 static void *_p_wxPySizerTo_p_wxObject(void *x) {
23681 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
23682 }
23683 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
23684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23685 }
23686 static void *_p_wxColourDataTo_p_wxObject(void *x) {
23687 return (void *)((wxObject *) ((wxColourData *) x));
23688 }
23689 static void *_p_wxPyEventTo_p_wxObject(void *x) {
23690 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
23691 }
23692 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
23693 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
23694 }
23695 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
23696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
23697 }
23698 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
23699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23700 }
23701 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
23702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23703 }
23704 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
23705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23706 }
23707 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
23708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23709 }
23710 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
23711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23712 }
23713 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
23714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23715 }
23716 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
23717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23718 }
23719 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
23720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23721 }
23722 static void *_p_wxShowEventTo_p_wxObject(void *x) {
23723 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
23724 }
23725 static void *_p_wxPrinterTo_p_wxObject(void *x) {
23726 return (void *)((wxObject *) ((wxPrinter *) x));
23727 }
23728 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
23729 return (void *)((wxObject *) ((wxMenuItem *) x));
23730 }
23731 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
23732 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
23733 }
23734 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
23735 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
23736 }
23737 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
23738 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
23739 }
23740 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
23741 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
23742 }
23743 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
23744 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
23745 }
23746 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
23747 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
23748 }
23749 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
23750 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
23751 }
23752 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
23753 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
23754 }
23755 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
23756 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
23757 }
23758 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
23759 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
23760 }
23761 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
23762 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
23763 }
23764 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
23765 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
23766 }
23767 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
23768 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
23769 }
23770 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
23771 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
23772 }
23773 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
23774 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
23775 }
23776 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
23777 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
23778 }
23779 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
23780 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
23781 }
23782 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
23783 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
23784 }
23785 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
23786 return (void *)((wxObject *) ((wxImageHandler *) x));
23787 }
23788 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
23789 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
23790 }
23791 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
23792 return (void *)((wxObject *) ((wxEvtHandler *) x));
23793 }
23794 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
23795 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
23796 }
23797 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
23798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23799 }
23800 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
23801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23802 }
23803 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
23804 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
23805 }
23806 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
23807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23808 }
23809 static void *_p_wxImageTo_p_wxObject(void *x) {
23810 return (void *)((wxObject *) ((wxImage *) x));
23811 }
23812 static void *_p_wxFrameTo_p_wxObject(void *x) {
23813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23814 }
23815 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
23816 return (void *)((wxObject *) ((wxPyPrintout *) x));
23817 }
23818 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
23819 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
23820 }
23821 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
23822 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
23823 }
23824 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
23825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
23826 }
23827 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
23828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23829 }
23830 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
23831 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23832 }
23833 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
23834 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
23835 }
23836 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
23837 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
23838 }
23839 static void *_p_wxWindowTo_p_wxObject(void *x) {
23840 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
23841 }
23842 static void *_p_wxMenuTo_p_wxObject(void *x) {
23843 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
23844 }
23845 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
23846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
23847 }
23848 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
23849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23850 }
23851 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
23852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
23853 }
23854 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
23855 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
23856 }
23857 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
23858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
23859 }
23860 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
23861 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
23862 }
23863 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
23864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23865 }
23866 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
23867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
23868 }
23869 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
23870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23871 }
23872 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
23873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
23874 }
23875 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
23876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23877 }
23878 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
23879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
23880 }
23881 static void *_p_wxSashEventTo_p_wxObject(void *x) {
23882 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
23883 }
23884 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
23885 return (void *)((wxObject *) ((wxPrintPreview *) x));
23886 }
23887 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
23888 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
23889 }
23890 static void *_p_wxPanelTo_p_wxObject(void *x) {
23891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
23892 }
23893 static void *_p_wxDialogTo_p_wxObject(void *x) {
23894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23895 }
23896 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
23897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23898 }
23899 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
23900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23901 }
23902 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
23903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23904 }
23905 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
23906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23907 }
23908 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
23909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23910 }
23911 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
23912 return (void *)((wxObject *) ((wxFileSystem *) x));
23913 }
23914 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
23915 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
23916 }
23917 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
23918 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
23919 }
23920 static void *_p_wxPyAppTo_p_wxObject(void *x) {
23921 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
23922 }
23923 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
23924 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
23925 }
23926 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
23927 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
23928 }
23929 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
23930 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
23931 }
23932 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
23933 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
23934 }
23935 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
23936 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
23937 }
23938 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
23939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23940 }
23941 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
23942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23943 }
23944 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
23945 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
23946 }
23947 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
23948 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
23949 }
23950 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
23951 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
23952 }
23953 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
23954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23955 }
23956 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
23957 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
23958 }
23959 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
23960 return (void *)((wxObject *) ((wxPrintDialogData *) x));
23961 }
23962 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
23963 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
23964 }
23965 static void *_p_wxValidatorTo_p_wxObject(void *x) {
23966 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
23967 }
23968 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
23969 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23970 }
23971 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
23972 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
23973 }
23974 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
23975 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
23976 }
23977 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
23978 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23979 }
23980 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
23981 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
23982 }
23983 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
23984 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
23985 }
23986 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
23987 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
23988 }
23989 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
23990 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
23991 }
23992 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
23993 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
23994 }
23995 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
23996 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
23997 }
23998 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
23999 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
24000 }
24001 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
24002 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
24003 }
24004 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
24005 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
24006 }
24007 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
24008 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
24009 }
24010 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
24011 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
24012 }
24013 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
24014 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
24015 }
24016 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
24017 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
24018 }
24019 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
24020 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
24021 }
24022 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
24023 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
24024 }
24025 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
24026 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
24027 }
24028 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
24029 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
24030 }
24031 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24032 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
24033 }
24034 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24035 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
24036 }
24037 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
24038 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
24039 }
24040 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24041 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
24042 }
24043 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24044 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24045 }
24046 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
24047 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24048 }
24049 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
24050 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24051 }
24052 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
24053 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
24054 }
24055 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
24056 return (void *)((wxWindow *) ((wxMenuBar *) x));
24057 }
24058 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
24059 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24060 }
24061 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
24062 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24063 }
24064 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
24065 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24066 }
24067 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
24068 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24069 }
24070 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
24071 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24072 }
24073 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
24074 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24075 }
24076 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
24077 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24078 }
24079 static void *_p_wxPanelTo_p_wxWindow(void *x) {
24080 return (void *)((wxWindow *) ((wxPanel *) x));
24081 }
24082 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
24083 return (void *)((wxWindow *) ((wxStatusBar *) x));
24084 }
24085 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
24086 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
24087 }
24088 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
24089 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
24090 }
24091 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
24092 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24093 }
24094 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
24095 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24096 }
24097 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
24098 return (void *)((wxWindow *) ((wxPopupWindow *) x));
24099 }
24100 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
24101 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
24102 }
24103 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
24104 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
24105 }
24106 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
24107 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
24108 }
24109 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
24110 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
24111 }
24112 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
24113 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
24114 }
24115 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
24116 return (void *)((wxWindow *) ((wxSashWindow *) x));
24117 }
24118 static void *_p_wxControlTo_p_wxWindow(void *x) {
24119 return (void *)((wxWindow *) ((wxControl *) x));
24120 }
24121 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
24122 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24123 }
24124 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
24125 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24126 }
24127 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
24128 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24129 }
24130 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
24131 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
24132 }
24133 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
24134 return (void *)((wxWindow *) ((wxPyWindow *) x));
24135 }
24136 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
24137 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24138 }
24139 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
24140 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24141 }
24142 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
24143 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24144 }
24145 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
24146 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
24147 }
24148 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
24149 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24150 }
24151 static void *_p_wxFrameTo_p_wxWindow(void *x) {
24152 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
24153 }
24154 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
24155 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24156 }
24157 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
24158 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24159 }
24160 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
24161 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24162 }
24163 static void *_p_wxDialogTo_p_wxWindow(void *x) {
24164 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
24165 }
24166 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
24167 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24168 }
24169 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
24170 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24171 }
24172 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
24173 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24174 }
24175 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
24176 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
24177 }
24178 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
24179 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
24180 }
24181 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
24182 return (void *)((wxDialog *) ((wxColourDialog *) x));
24183 }
24184 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
24185 return (void *)((wxDialog *) ((wxDirDialog *) x));
24186 }
24187 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
24188 return (void *)((wxDialog *) ((wxFontDialog *) x));
24189 }
24190 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
24191 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
24192 }
24193 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
24194 return (void *)((wxDialog *) ((wxPrintDialog *) x));
24195 }
24196 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
24197 return (void *)((wxDialog *) ((wxFileDialog *) x));
24198 }
24199 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
24200 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
24201 }
24202 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
24203 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
24204 }
24205 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
24206 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
24207 }
24208 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
24209 return (void *)((wxDialog *) ((wxMessageDialog *) x));
24210 }
24211 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
24212 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
24213 }
24214 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
24215 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
24216 }
24217 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
24218 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
24219 }
24220 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
24221 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24222 }
24223 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
24224 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24225 }
24226 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
24227 return (void *)((wxPanel *) ((wxPyPanel *) x));
24228 }
24229 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
24230 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
24231 }
24232 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
24233 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
24234 }
24235 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
24236 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24237 }
24238 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
24239 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
24240 }
24241 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
24242 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
24243 }
24244 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
24245 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
24246 }
24247 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
24248 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
24249 }
24250 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
24251 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
24252 }
24253 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
24254 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24255 }
24256 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
24257 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
24258 }
24259 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
24260 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
24261 }
24262 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
24263 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
24264 }
24265 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
24266 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
24267 }
24268 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
24269 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
24270 }
24271 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
24272 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24273 }
24274 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
24275 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
24276 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
24277 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
24278 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
24279 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
24280 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
24281 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}};
24282 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
24283 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
24284 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
24285 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
24286 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
24287 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
24288 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
24289 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
24290 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
24291 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
24292 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
24293 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
24294 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
24295 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
24296 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
24297 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
24298 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
24299 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
24300 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
24301 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
24302 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
24303 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
24304 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
24305 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
24306 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
24307 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
24308 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
24309 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
24310 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
24311 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
24312 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
24313 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
24314 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
24315 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
24316 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_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}};
24317 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
24318 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
24319 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
24320 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
24321 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
24322 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
24323 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_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_wxTipWindow", _p_wxTipWindowTo_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}};
24324 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
24325 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
24326 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
24327 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
24328 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
24329 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}};
24330 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
24331 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow},{0}};
24332 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
24333 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_wxDirDialog", _p_wxDirDialogTo_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_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_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}};
24334 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
24335 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
24336 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
24337 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
24338 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
24339 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
24340 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
24341 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
24342 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
24343 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
24344 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
24345 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
24346 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}};
24347 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}};
24348 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
24349 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
24350 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}};
24351 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
24352 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
24353 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
24354 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
24355 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
24356 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
24357
24358 static swig_type_info *swig_types_initial[] = {
24359 _swigt__p_wxQueryLayoutInfoEvent,
24360 _swigt__p_wxPreviewFrame,
24361 _swigt__p_wxPyPreviewFrame,
24362 _swigt__p_wxPyPanel,
24363 _swigt__p_wxMenu,
24364 _swigt__p_wxPrintData,
24365 _swigt__p_wxFontData,
24366 _swigt__p_wxEvent,
24367 _swigt__p_wxTaskBarIcon,
24368 _swigt__p_wxIconBundle,
24369 _swigt__p_wxLayoutAlgorithm,
24370 _swigt__p_wxFindDialogEvent,
24371 _swigt__p_wxPreviewCanvas,
24372 _swigt__p_wxFont,
24373 _swigt__p_wxSplitterEvent,
24374 _swigt__p_wxRegion,
24375 _swigt__p_wxFindReplaceData,
24376 _swigt__p_int,
24377 _swigt__p_wxSize,
24378 _swigt__p_wxDC,
24379 _swigt__p_wxIcon,
24380 _swigt__p_wxMDIChildFrame,
24381 _swigt__p_wxColourData,
24382 _swigt__p_wxNotifyEvent,
24383 _swigt__p_wxPyWindow,
24384 _swigt__p_wxSplashScreen,
24385 _swigt__p_wxFindReplaceDialog,
24386 _swigt__p_wxProgressDialog,
24387 _swigt__p_wxMessageDialog,
24388 _swigt__p_wxTextEntryDialog,
24389 _swigt__p_wxSingleChoiceDialog,
24390 _swigt__p_wxMultiChoiceDialog,
24391 _swigt__p_wxFileDialog,
24392 _swigt__p_wxPrinter,
24393 _swigt__p_wxArrayInt,
24394 _swigt__p_wxEvtHandler,
24395 _swigt__p_wxCalculateLayoutEvent,
24396 _swigt__p_wxPyHtmlListBox,
24397 _swigt__p_wxPyVListBox,
24398 _swigt__p_wxRect,
24399 _swigt__p_char,
24400 _swigt__p_wxMiniFrame,
24401 _swigt__p_wxFrame,
24402 _swigt__p_wxPyPrintout,
24403 _swigt__p_wxTaskBarIconEvent,
24404 _swigt__p_wxScrollWinEvent,
24405 _swigt__p_wxStatusBar,
24406 _swigt__p_wxMDIParentFrame,
24407 _swigt__p_wxPoint,
24408 _swigt__p_wxObject,
24409 _swigt__p_unsigned_long,
24410 _swigt__p_wxMDIClientWindow,
24411 _swigt__p_wxTipWindow,
24412 _swigt__p_wxSashLayoutWindow,
24413 _swigt__p_wxSplitterWindow,
24414 _swigt__p_wxPyVScrolledWindow,
24415 _swigt__p_wxPyPopupTransientWindow,
24416 _swigt__p_wxPopupWindow,
24417 _swigt__p_wxSashWindow,
24418 _swigt__p_wxTopLevelWindow,
24419 _swigt__p_wxWindow,
24420 _swigt__p_wxScrolledWindow,
24421 _swigt__p_wxSplashScreenWindow,
24422 _swigt__p_wxMenuBar,
24423 _swigt__p_wxPrintPreview,
24424 _swigt__p_wxSashEvent,
24425 _swigt__p_wxString,
24426 _swigt__p_wxPyPrintPreview,
24427 _swigt__p_wxPageSetupDialog,
24428 _swigt__p_wxFontDialog,
24429 _swigt__p_wxDirDialog,
24430 _swigt__p_wxColourDialog,
24431 _swigt__p_wxDialog,
24432 _swigt__p_wxPanel,
24433 _swigt__p_wxPrintDialog,
24434 _swigt__p_wxBitmap,
24435 _swigt__p_wxCommandEvent,
24436 _swigt__p_wxPreviewControlBar,
24437 _swigt__p_wxPyPreviewControlBar,
24438 _swigt__p_wxColour,
24439 _swigt__p_wxToolBar,
24440 _swigt__p_wxPageSetupDialogData,
24441 _swigt__p_wxPrintDialogData,
24442 0
24443 };
24444
24445
24446 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24447
24448 static swig_const_info swig_const_table[] = {
24449 {0}};
24450
24451 #ifdef __cplusplus
24452 }
24453 #endif
24454
24455 #ifdef __cplusplus
24456 extern "C"
24457 #endif
24458 SWIGEXPORT(void) SWIG_init(void) {
24459 static PyObject *SWIG_globals = 0;
24460 static int typeinit = 0;
24461 PyObject *m, *d;
24462 int i;
24463 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
24464 m = Py_InitModule((char *) SWIG_name, SwigMethods);
24465 d = PyModule_GetDict(m);
24466
24467 if (!typeinit) {
24468 for (i = 0; swig_types_initial[i]; i++) {
24469 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
24470 }
24471 typeinit = 1;
24472 }
24473 SWIG_InstallConstants(d,swig_const_table);
24474
24475 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
24476 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
24477 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
24478 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
24479 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
24480 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR));
24481 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
24482 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
24483 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER));
24484 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION));
24485 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL));
24486 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG));
24487 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
24488 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
24489 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE));
24490 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT));
24491 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT));
24492 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
24493 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER));
24494 PyDict_SetItemString(d,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH));
24495 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT));
24496 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE));
24497 PyDict_SetItemString(d,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH));
24498 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER));
24499 PyDict_SetItemString(d,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER));
24500 PyDict_SetItemString(d,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D));
24501 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL));
24502 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL));
24503 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE));
24504 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING));
24505 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
24506 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
24507 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
24508 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
24509 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
24510 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
24511 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
24512 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE));
24513 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING));
24514 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
24515 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER));
24516 PyDict_SetItemString(d,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER));
24517 PyDict_SetItemString(d,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH));
24518 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER));
24519 PyDict_SetItemString(d,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D));
24520 PyDict_SetItemString(d,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP));
24521 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT));
24522 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM));
24523 PyDict_SetItemString(d,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT));
24524 PyDict_SetItemString(d,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE));
24525 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK));
24526 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
24527 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
24528 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL));
24529 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL));
24530 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE));
24531 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP));
24532 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT));
24533 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT));
24534 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM));
24535 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y));
24536 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X));
24537 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH));
24538 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY));
24539 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
24540 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
24541 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
24542
24543 // Map renamed classes back to their common name for OOR
24544 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24545 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24546 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24547
24548 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
24549 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
24550 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
24551 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
24552 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
24553 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
24554 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
24555 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
24556 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
24557 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
24558 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
24559 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
24560 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
24561 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE));
24562 PyDict_SetItemString(d,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN));
24563 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD));
24564 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE));
24565 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG));
24566 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN));
24567 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE));
24568 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD));
24569 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
24570 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
24571 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
24572 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
24573 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
24574 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001));
24575 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001));
24576 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002));
24577 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003));
24578 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004));
24579 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005));
24580 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100));
24581 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600));
24582 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
24583 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
24584 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE));
24585 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW));
24586 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE));
24587 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER));
24588 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR));
24589 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED));
24590 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR));
24591 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT));
24592 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS));
24593 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT));
24594 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM));
24595 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST));
24596 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST));
24597 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO));
24598 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT));
24599 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE));
24600 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT));
24601 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS));
24602 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT));
24603 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM));
24604 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST));
24605 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST));
24606 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO));
24607
24608 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
24609
24610 }
24611