]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows_wrap.cpp
Fixed a compile error
[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(PyObject*)
391 SWIG_PyObj_FromBool(bool value)
392 {
393 PyObject *obj = value ? Py_True : Py_False;
394 Py_INCREF(obj);
395 return obj;
396 }
397
398
399 SWIGSTATIC(bool)
400 SWIG_PyObj_AsBool(PyObject *obj)
401 {
402 return PyObject_IsTrue(obj) ? true : false;
403 }
404
405
406 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
407 PyObject* o2;
408 PyObject* o3;
409
410 if (!target) {
411 target = o;
412 } else if (target == Py_None) {
413 Py_DECREF(Py_None);
414 target = o;
415 } else {
416 if (!PyTuple_Check(target)) {
417 o2 = target;
418 target = PyTuple_New(1);
419 PyTuple_SetItem(target, 0, o2);
420 }
421 o3 = PyTuple_New(1);
422 PyTuple_SetItem(o3, 0, o);
423
424 o2 = target;
425 target = PySequence_Concat(o2, o3);
426 Py_DECREF(o2);
427 Py_DECREF(o3);
428 }
429 return target;
430 }
431
432
433 SWIGSTATIC(double)
434 SWIG_PyObj_AsDouble(PyObject *obj)
435 {
436 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
437 #if HAVE_LONG_LONG
438 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
439 #else
440 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
441 #endif
442 if (PyErr_Occurred()) {
443 PyErr_Clear();
444 PyErr_SetString(PyExc_TypeError, "a double is expected");
445 }
446 }
447
448 static const wxString wxPyFrameNameStr(wxFrameNameStr);
449 static const wxString wxPyDialogNameStr(wxDialogNameStr);
450 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
451 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
452 bool wxDialog_IsModalShowing(wxDialog *self){
453
454 return self->m_modalShowing;
455
456
457
458 }
459
460
461 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
462 wxRect r;
463 self->GetFieldRect(i, r);
464 return r;
465 }
466 static const wxString wxPySplitterNameStr(wxT("splitter"));
467 static const wxString wxPySashNameStr(wxT("sashWindow"));
468 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
469
470 #include <wx/popupwin.h>
471
472
473 class wxPyPopupTransientWindow : public wxPopupTransientWindow
474 {
475 public:
476 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
477 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
478 : wxPopupTransientWindow(parent, style) {}
479
480 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
481 DEC_PYCALLBACK__(OnDismiss);
482 DEC_PYCALLBACK_BOOL_(CanDismiss);
483 PYPRIVATE;
484 };
485
486
487 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
488 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
489 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
490
491
492 #include <wx/tipwin.h>
493
494 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
495 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
496 }
497
498 #include <wx/tipwin.h>
499
500
501 #include <wx/vscroll.h>
502
503
504 class wxPyVScrolledWindow : public wxVScrolledWindow
505 {
506 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
507 public:
508 wxPyVScrolledWindow() : wxVScrolledWindow() {}
509
510 wxPyVScrolledWindow(wxWindow *parent,
511 wxWindowID id = wxID_ANY,
512 const wxPoint& pos = wxDefaultPosition,
513 const wxSize& size = wxDefaultSize,
514 long style = 0,
515 const wxString& name = wxPyPanelNameStr)
516 : wxVScrolledWindow(parent, id, pos, size, style, name)
517 {}
518
519 // Overridable virtuals
520
521 // this function must be overridden in the derived class and it should
522 // return the height of the given line in pixels
523 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
524
525
526 // this function doesn't have to be overridden but it may be useful to do
527 // it if calculating the lines heights is a relatively expensive operation
528 // as it gives the user code a possibility to calculate several of them at
529 // once
530 //
531 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
532 // shouldn't rely on the latter being called for all lines in the interval
533 // specified here. It is also possible that OnGetLineHeight() will be
534 // called for the lines outside of this interval, so this is really just a
535 // hint, not a promise.
536 //
537 // finally note that lineMin is inclusive, while lineMax is exclusive, as
538 // usual
539 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
540
541
542 // when the number of lines changes, we try to estimate the total height
543 // of all lines which is a rather expensive operation in terms of lines
544 // access, so if the user code may estimate the average height
545 // better/faster than we do, it should override this function to implement
546 // its own logic
547 //
548 // this function should return the best guess for the total height it may
549 // make
550 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
551
552
553 // Also expose some other interesting protected methods
554
555
556 // find the index of the line we need to show at the top of the window such
557 // that the last (fully or partially) visible line is the given one
558 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
559 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
560
561 // get the total height of the lines between lineMin (inclusive) and
562 // lineMax (exclusive)
563 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
564 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
565
566
567 PYPRIVATE;
568 };
569
570 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
571
572 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
573 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
574 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
575
576
577 SWIGSTATIC(PyObject* )
578 SWIG_PyObj_FromUnsignedLong(unsigned long value)
579 {
580 return (value > (unsigned long)(LONG_MAX)) ?
581 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
582 }
583
584
585 #include <wx/vlbox.h>
586
587 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
588
589 class wxPyVListBox : public wxVListBox
590 {
591 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
592 public:
593 wxPyVListBox() : wxVListBox() {}
594
595 wxPyVListBox(wxWindow *parent,
596 wxWindowID id = wxID_ANY,
597 const wxPoint& pos = wxDefaultPosition,
598 const wxSize& size = wxDefaultSize,
599 long style = 0,
600 const wxString& name = wxPyVListBoxNameStr)
601 : wxVListBox(parent, id, pos, size, style, name)
602 {}
603
604 // Overridable virtuals
605
606 // the derived class must implement this function to actually draw the item
607 // with the given index on the provided DC
608 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
609 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
610
611
612 // the derived class must implement this method to return the height of the
613 // specified item
614 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
615 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
616
617
618 // this method may be used to draw separators between the lines; note that
619 // the rectangle may be modified, typically to deflate it a bit before
620 // passing to OnDrawItem()
621 //
622 // the base class version doesn't do anything
623 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
624 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
625
626
627 // this method is used to draw the items background and, maybe, a border
628 // around it
629 //
630 // the base class version implements a reasonable default behaviour which
631 // consists in drawing the selected item with the standard background
632 // colour and drawing a border around the item if it is either selected or
633 // current
634 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
635 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
636
637
638 PYPRIVATE;
639 };
640
641 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
642
643 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
644 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
645 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
646 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
647
648
649
650 #include <wx/htmllbox.h>
651
652
653 class wxPyHtmlListBox : public wxHtmlListBox
654 {
655 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
656 public:
657 wxPyHtmlListBox() : wxHtmlListBox() {}
658
659 wxPyHtmlListBox(wxWindow *parent,
660 wxWindowID id = wxID_ANY,
661 const wxPoint& pos = wxDefaultPosition,
662 const wxSize& size = wxDefaultSize,
663 long style = 0,
664 const wxString& name = wxPyVListBoxNameStr)
665 : wxHtmlListBox(parent, id, pos, size, style, name)
666 {}
667
668 // Overridable virtuals
669
670 // this method must be implemented in the derived class and should return
671 // the body (i.e. without <html>) of the HTML for the given item
672 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
673
674 // this function may be overridden to decorate HTML returned by OnGetItem()
675 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
676
677 // TODO:
678 // // this method allows to customize the selection appearance: it may be used
679 // // to specify the colour of the text which normally has the given colour
680 // // colFg when it is inside the selection
681 // //
682 // // by default, the original colour is not used at all and all text has the
683 // // same (default for this system) colour inside selection
684 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
685
686 // // this is the same as GetSelectedTextColour() but allows to customize the
687 // // background colour -- this is even more rarely used as you can change it
688 // // globally using SetSelectionBackground()
689 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
690
691
692 PYPRIVATE;
693 };
694
695
696 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
697
698 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
699 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
700
701
702
703
704
705 #ifdef __WXMAC__
706 // implement dummy classes and such for wxMac
707
708 class wxTaskBarIcon : public wxEvtHandler
709 {
710 public:
711 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
712 };
713
714
715 class wxTaskBarIconEvent : public wxEvent
716 {
717 public:
718 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
719 { wxPyRaiseNotImplemented(); }
720 virtual wxEvent* Clone() const { return NULL; }
721 };
722
723 enum {
724 wxEVT_TASKBAR_MOVE = 0,
725 wxEVT_TASKBAR_LEFT_DOWN = 0,
726 wxEVT_TASKBAR_LEFT_UP = 0,
727 wxEVT_TASKBAR_RIGHT_DOWN = 0,
728 wxEVT_TASKBAR_RIGHT_UP = 0,
729 wxEVT_TASKBAR_LEFT_DCLICK = 0,
730 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
731 };
732 #endif
733
734 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
735 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
736 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
737 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
738 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
739 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
740 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
741 wxArrayString arr;
742 self->GetFilenames(arr);
743 return wxArrayString2PyList_helper(arr);
744 }
745 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
746 wxArrayString arr;
747 self->GetPaths(arr);
748 return wxArrayString2PyList_helper(arr);
749 }
750 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
751 return wxArrayInt2PyList_helper(self->GetSelections());
752 }
753 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
754 return new wxSingleChoiceDialog(parent, message, caption,
755 choices, choices_array, NULL, style, pos);
756 }
757
758 #include <wx/mdi.h>
759
760 // C++ version of Python aware wxWindow
761 class wxPyWindow : public wxWindow
762 {
763 DECLARE_DYNAMIC_CLASS(wxPyWindow)
764 public:
765 wxPyWindow() : wxWindow() {}
766 wxPyWindow(wxWindow* parent, const wxWindowID id,
767 const wxPoint& pos = wxDefaultPosition,
768 const wxSize& size = wxDefaultSize,
769 long style = 0,
770 const wxString& name = wxPyPanelNameStr)
771 : wxWindow(parent, id, pos, size, style, name) {}
772
773
774 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
775 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
776 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
777 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
778
779 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
780 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
781 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
782
783 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
784 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
785
786 DEC_PYCALLBACK__(InitDialog);
787 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
788 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
789 DEC_PYCALLBACK_BOOL_(Validate);
790
791 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
792 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
793 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
794
795 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
796 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
797
798 PYPRIVATE;
799 };
800
801 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
802
803 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
804 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
805 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
806 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
807
808 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
809 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
810 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
811
812 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
813 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
814
815 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
816 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
817 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
818 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
819
820 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
821 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
822 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
823
824 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
825 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
826
827
828 // C++ version of Python aware wxPanel
829 class wxPyPanel : public wxPanel
830 {
831 DECLARE_DYNAMIC_CLASS(wxPyPanel)
832 public:
833 wxPyPanel() : wxPanel() {}
834 wxPyPanel(wxWindow* parent, const wxWindowID id,
835 const wxPoint& pos = wxDefaultPosition,
836 const wxSize& size = wxDefaultSize,
837 long style = 0,
838 const wxString& name = wxPyPanelNameStr)
839 : wxPanel(parent, id, pos, size, style, name) {}
840
841
842 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
843 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
844 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
845 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
846
847 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
848 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
849 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
850
851 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
852 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
853
854 DEC_PYCALLBACK__(InitDialog);
855 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
856 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
857 DEC_PYCALLBACK_BOOL_(Validate);
858
859 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
860 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
861 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
862
863 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
864 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
865
866 PYPRIVATE;
867 };
868
869 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
870
871 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
872 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
873 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
874 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
875
876 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
877 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
878 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
879
880 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
881 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
882
883 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
884 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
885 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
886 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
887
888 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
889 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
890 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
891
892 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
893 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
894
895
896
897 #include "wx/wxPython/printfw.h"
898
899
900 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
901 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
902
903
904
905 // Since this one would be tough and ugly to do with the Macros...
906 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
907 bool hadErr = False;
908 bool found;
909
910 wxPyBeginBlockThreads();
911 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
912 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
913 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
914 PyObject* val;
915
916 val = PyTuple_GetItem(result, 0);
917 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
918 else hadErr = True;
919
920 val = PyTuple_GetItem(result, 1);
921 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
922 else hadErr = True;
923
924 val = PyTuple_GetItem(result, 2);
925 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
926 else hadErr = True;
927
928 val = PyTuple_GetItem(result, 3);
929 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
930 else hadErr = True;
931 }
932 else
933 hadErr = True;
934
935 if (hadErr) {
936 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
937 PyErr_Print();
938 }
939 Py_DECREF(result);
940 }
941 wxPyEndBlockThreads();
942 if (! found)
943 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
944 }
945
946 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
947 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
948 }
949
950
951 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
952 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
953 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
954 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
955 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
956 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
957 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
958
959
960
961
962
963 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
964 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
965 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
966
967
968 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
969 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
970 bool rval=False; \
971 bool found; \
972 wxPyBeginBlockThreads(); \
973 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
974 PyObject* win = wxPyMake_wxObject(a); \
975 PyObject* dc = wxPyMake_wxObject(&b); \
976 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
977 Py_DECREF(win); \
978 Py_DECREF(dc); \
979 } \
980 wxPyEndBlockThreads(); \
981 if (! found) \
982 rval = PCLASS::CBNAME(a, b); \
983 return rval; \
984 } \
985 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
986 return PCLASS::CBNAME(a, b); \
987 }
988
989
990
991
992 class wxPyPrintPreview : public wxPrintPreview
993 {
994 DECLARE_CLASS(wxPyPrintPreview)
995 public:
996 wxPyPrintPreview(wxPyPrintout* printout,
997 wxPyPrintout* printoutForPrinting,
998 wxPrintData* data=NULL)
999 : wxPrintPreview(printout, printoutForPrinting, data)
1000 {}
1001
1002 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1003 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1004 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1005 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1006 DEC_PYCALLBACK_VOID_INT(SetZoom);
1007 DEC_PYCALLBACK_BOOL_BOOL(Print);
1008 DEC_PYCALLBACK_VOID_(DetermineScaling);
1009
1010 PYPRIVATE;
1011 };
1012
1013 // Stupid renamed classes... Fix this in 2.5...
1014 #if defined(__WXMSW__)
1015 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1016 #elif defined(__WXMAC__)
1017 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1018 #else
1019 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1020 #endif
1021
1022 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1023 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1024 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1025 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1026 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1027 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1028 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1029
1030
1031 class wxPyPreviewFrame : public wxPreviewFrame
1032 {
1033 DECLARE_CLASS(wxPyPreviewFrame);
1034 public:
1035 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1036 const wxString& title,
1037 const wxPoint& pos = wxDefaultPosition,
1038 const wxSize& size = wxDefaultSize,
1039 long style = wxDEFAULT_FRAME_STYLE,
1040 const wxString& name = wxPyFrameNameStr)
1041 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1042 {}
1043
1044 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1045 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1046
1047 DEC_PYCALLBACK_VOID_(Initialize);
1048 DEC_PYCALLBACK_VOID_(CreateCanvas);
1049 DEC_PYCALLBACK_VOID_(CreateControlBar);
1050
1051 PYPRIVATE;
1052 };
1053
1054 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1055
1056 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1057 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1058 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1059
1060
1061 class wxPyPreviewControlBar : public wxPreviewControlBar
1062 {
1063 DECLARE_CLASS(wxPyPreviewControlBar);
1064 public:
1065 wxPyPreviewControlBar(wxPrintPreview *preview,
1066 long buttons,
1067 wxWindow *parent,
1068 const wxPoint& pos = wxDefaultPosition,
1069 const wxSize& size = wxDefaultSize,
1070 long style = 0,
1071 const wxString& name = wxPyPanelNameStr)
1072 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1073 {}
1074
1075 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1076
1077 DEC_PYCALLBACK_VOID_(CreateButtons);
1078 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1079
1080 PYPRIVATE;
1081 };
1082
1083 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1084 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1085 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1086
1087 #ifdef __cplusplus
1088 extern "C" {
1089 #endif
1090 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1091 PyObject *resultobj;
1092 wxWindow *arg1 = (wxWindow *) 0 ;
1093 int arg2 = (int) (int)-1 ;
1094 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1095 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1096 wxSize const &arg4_defvalue = wxDefaultSize ;
1097 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1098 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1099 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1100 wxString *arg6 = (wxString *) &arg6_defvalue ;
1101 wxPanel *result;
1102 wxPoint temp3 ;
1103 wxSize temp4 ;
1104 bool temp6 = False ;
1105 PyObject * obj0 = 0 ;
1106 PyObject * obj1 = 0 ;
1107 PyObject * obj2 = 0 ;
1108 PyObject * obj3 = 0 ;
1109 PyObject * obj4 = 0 ;
1110 PyObject * obj5 = 0 ;
1111 char *kwnames[] = {
1112 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1113 };
1114
1115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1117 if (obj1) {
1118 {
1119 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
1120 if (PyErr_Occurred()) SWIG_fail;
1121 }
1122 }
1123 if (obj2) {
1124 {
1125 arg3 = &temp3;
1126 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1127 }
1128 }
1129 if (obj3) {
1130 {
1131 arg4 = &temp4;
1132 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1133 }
1134 }
1135 if (obj4) {
1136 {
1137 arg5 = (long) SWIG_PyObj_AsLong(obj4);
1138 if (PyErr_Occurred()) SWIG_fail;
1139 }
1140 }
1141 if (obj5) {
1142 {
1143 arg6 = wxString_in_helper(obj5);
1144 if (arg6 == NULL) SWIG_fail;
1145 temp6 = True;
1146 }
1147 }
1148 {
1149 PyThreadState* __tstate = wxPyBeginAllowThreads();
1150 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1151
1152 wxPyEndAllowThreads(__tstate);
1153 if (PyErr_Occurred()) SWIG_fail;
1154 }
1155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1156 {
1157 if (temp6)
1158 delete arg6;
1159 }
1160 return resultobj;
1161 fail:
1162 {
1163 if (temp6)
1164 delete arg6;
1165 }
1166 return NULL;
1167 }
1168
1169
1170 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1171 PyObject *resultobj;
1172 wxPanel *result;
1173 char *kwnames[] = {
1174 NULL
1175 };
1176
1177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1178 {
1179 PyThreadState* __tstate = wxPyBeginAllowThreads();
1180 result = (wxPanel *)new wxPanel();
1181
1182 wxPyEndAllowThreads(__tstate);
1183 if (PyErr_Occurred()) SWIG_fail;
1184 }
1185 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1186 return resultobj;
1187 fail:
1188 return NULL;
1189 }
1190
1191
1192 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1193 PyObject *resultobj;
1194 wxPanel *arg1 = (wxPanel *) 0 ;
1195 wxWindow *arg2 = (wxWindow *) 0 ;
1196 int arg3 ;
1197 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1198 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1199 wxSize const &arg5_defvalue = wxDefaultSize ;
1200 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1201 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1202 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1203 wxString *arg7 = (wxString *) &arg7_defvalue ;
1204 bool result;
1205 wxPoint temp4 ;
1206 wxSize temp5 ;
1207 bool temp7 = False ;
1208 PyObject * obj0 = 0 ;
1209 PyObject * obj1 = 0 ;
1210 PyObject * obj2 = 0 ;
1211 PyObject * obj3 = 0 ;
1212 PyObject * obj4 = 0 ;
1213 PyObject * obj5 = 0 ;
1214 PyObject * obj6 = 0 ;
1215 char *kwnames[] = {
1216 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1217 };
1218
1219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1221 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1222 {
1223 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
1224 if (PyErr_Occurred()) SWIG_fail;
1225 }
1226 if (obj3) {
1227 {
1228 arg4 = &temp4;
1229 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1230 }
1231 }
1232 if (obj4) {
1233 {
1234 arg5 = &temp5;
1235 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1236 }
1237 }
1238 if (obj5) {
1239 {
1240 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1241 if (PyErr_Occurred()) SWIG_fail;
1242 }
1243 }
1244 if (obj6) {
1245 {
1246 arg7 = wxString_in_helper(obj6);
1247 if (arg7 == NULL) SWIG_fail;
1248 temp7 = True;
1249 }
1250 }
1251 {
1252 PyThreadState* __tstate = wxPyBeginAllowThreads();
1253 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1254
1255 wxPyEndAllowThreads(__tstate);
1256 if (PyErr_Occurred()) SWIG_fail;
1257 }
1258 resultobj = SWIG_PyObj_FromBool((bool)result);
1259 {
1260 if (temp7)
1261 delete arg7;
1262 }
1263 return resultobj;
1264 fail:
1265 {
1266 if (temp7)
1267 delete arg7;
1268 }
1269 return NULL;
1270 }
1271
1272
1273 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1274 PyObject *resultobj;
1275 wxPanel *arg1 = (wxPanel *) 0 ;
1276 PyObject * obj0 = 0 ;
1277 char *kwnames[] = {
1278 (char *) "self", NULL
1279 };
1280
1281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1283 {
1284 PyThreadState* __tstate = wxPyBeginAllowThreads();
1285 (arg1)->InitDialog();
1286
1287 wxPyEndAllowThreads(__tstate);
1288 if (PyErr_Occurred()) SWIG_fail;
1289 }
1290 Py_INCREF(Py_None); resultobj = Py_None;
1291 return resultobj;
1292 fail:
1293 return NULL;
1294 }
1295
1296
1297 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1298 PyObject *obj;
1299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1300 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1301 Py_INCREF(obj);
1302 return Py_BuildValue((char *)"");
1303 }
1304 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1305 PyObject *resultobj;
1306 wxWindow *arg1 = (wxWindow *) 0 ;
1307 int arg2 = (int) (int)-1 ;
1308 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1309 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1310 wxSize const &arg4_defvalue = wxDefaultSize ;
1311 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1312 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1313 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1314 wxString *arg6 = (wxString *) &arg6_defvalue ;
1315 wxScrolledWindow *result;
1316 wxPoint temp3 ;
1317 wxSize temp4 ;
1318 bool temp6 = False ;
1319 PyObject * obj0 = 0 ;
1320 PyObject * obj1 = 0 ;
1321 PyObject * obj2 = 0 ;
1322 PyObject * obj3 = 0 ;
1323 PyObject * obj4 = 0 ;
1324 PyObject * obj5 = 0 ;
1325 char *kwnames[] = {
1326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1327 };
1328
1329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1331 if (obj1) {
1332 {
1333 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
1334 if (PyErr_Occurred()) SWIG_fail;
1335 }
1336 }
1337 if (obj2) {
1338 {
1339 arg3 = &temp3;
1340 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1341 }
1342 }
1343 if (obj3) {
1344 {
1345 arg4 = &temp4;
1346 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1347 }
1348 }
1349 if (obj4) {
1350 {
1351 arg5 = (long) SWIG_PyObj_AsLong(obj4);
1352 if (PyErr_Occurred()) SWIG_fail;
1353 }
1354 }
1355 if (obj5) {
1356 {
1357 arg6 = wxString_in_helper(obj5);
1358 if (arg6 == NULL) SWIG_fail;
1359 temp6 = True;
1360 }
1361 }
1362 {
1363 PyThreadState* __tstate = wxPyBeginAllowThreads();
1364 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1365
1366 wxPyEndAllowThreads(__tstate);
1367 if (PyErr_Occurred()) SWIG_fail;
1368 }
1369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1370 {
1371 if (temp6)
1372 delete arg6;
1373 }
1374 return resultobj;
1375 fail:
1376 {
1377 if (temp6)
1378 delete arg6;
1379 }
1380 return NULL;
1381 }
1382
1383
1384 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1385 PyObject *resultobj;
1386 wxScrolledWindow *result;
1387 char *kwnames[] = {
1388 NULL
1389 };
1390
1391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1392 {
1393 PyThreadState* __tstate = wxPyBeginAllowThreads();
1394 result = (wxScrolledWindow *)new wxScrolledWindow();
1395
1396 wxPyEndAllowThreads(__tstate);
1397 if (PyErr_Occurred()) SWIG_fail;
1398 }
1399 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1400 return resultobj;
1401 fail:
1402 return NULL;
1403 }
1404
1405
1406 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject *resultobj;
1408 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1409 wxWindow *arg2 = (wxWindow *) 0 ;
1410 int arg3 = (int) (int)-1 ;
1411 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1412 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1413 wxSize const &arg5_defvalue = wxDefaultSize ;
1414 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1415 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1416 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1417 wxString *arg7 = (wxString *) &arg7_defvalue ;
1418 bool result;
1419 wxPoint temp4 ;
1420 wxSize temp5 ;
1421 bool temp7 = False ;
1422 PyObject * obj0 = 0 ;
1423 PyObject * obj1 = 0 ;
1424 PyObject * obj2 = 0 ;
1425 PyObject * obj3 = 0 ;
1426 PyObject * obj4 = 0 ;
1427 PyObject * obj5 = 0 ;
1428 PyObject * obj6 = 0 ;
1429 char *kwnames[] = {
1430 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1431 };
1432
1433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1435 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1436 if (obj2) {
1437 {
1438 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
1439 if (PyErr_Occurred()) SWIG_fail;
1440 }
1441 }
1442 if (obj3) {
1443 {
1444 arg4 = &temp4;
1445 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1446 }
1447 }
1448 if (obj4) {
1449 {
1450 arg5 = &temp5;
1451 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1452 }
1453 }
1454 if (obj5) {
1455 {
1456 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1457 if (PyErr_Occurred()) SWIG_fail;
1458 }
1459 }
1460 if (obj6) {
1461 {
1462 arg7 = wxString_in_helper(obj6);
1463 if (arg7 == NULL) SWIG_fail;
1464 temp7 = True;
1465 }
1466 }
1467 {
1468 PyThreadState* __tstate = wxPyBeginAllowThreads();
1469 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1470
1471 wxPyEndAllowThreads(__tstate);
1472 if (PyErr_Occurred()) SWIG_fail;
1473 }
1474 resultobj = SWIG_PyObj_FromBool((bool)result);
1475 {
1476 if (temp7)
1477 delete arg7;
1478 }
1479 return resultobj;
1480 fail:
1481 {
1482 if (temp7)
1483 delete arg7;
1484 }
1485 return NULL;
1486 }
1487
1488
1489 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1490 PyObject *resultobj;
1491 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1492 int arg2 ;
1493 int arg3 ;
1494 int arg4 ;
1495 int arg5 ;
1496 int arg6 = (int) 0 ;
1497 int arg7 = (int) 0 ;
1498 bool arg8 = (bool) False ;
1499 PyObject * obj0 = 0 ;
1500 PyObject * obj1 = 0 ;
1501 PyObject * obj2 = 0 ;
1502 PyObject * obj3 = 0 ;
1503 PyObject * obj4 = 0 ;
1504 PyObject * obj5 = 0 ;
1505 PyObject * obj6 = 0 ;
1506 PyObject * obj7 = 0 ;
1507 char *kwnames[] = {
1508 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1509 };
1510
1511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1513 {
1514 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 {
1518 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 {
1522 arg4 = (int) SWIG_PyObj_AsInt(obj3);
1523 if (PyErr_Occurred()) SWIG_fail;
1524 }
1525 {
1526 arg5 = (int) SWIG_PyObj_AsInt(obj4);
1527 if (PyErr_Occurred()) SWIG_fail;
1528 }
1529 if (obj5) {
1530 {
1531 arg6 = (int) SWIG_PyObj_AsInt(obj5);
1532 if (PyErr_Occurred()) SWIG_fail;
1533 }
1534 }
1535 if (obj6) {
1536 {
1537 arg7 = (int) SWIG_PyObj_AsInt(obj6);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 }
1541 if (obj7) {
1542 {
1543 arg8 = (bool) SWIG_PyObj_AsBool(obj7);
1544 if (PyErr_Occurred()) SWIG_fail;
1545 }
1546 }
1547 {
1548 PyThreadState* __tstate = wxPyBeginAllowThreads();
1549 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1550
1551 wxPyEndAllowThreads(__tstate);
1552 if (PyErr_Occurred()) SWIG_fail;
1553 }
1554 Py_INCREF(Py_None); resultobj = Py_None;
1555 return resultobj;
1556 fail:
1557 return NULL;
1558 }
1559
1560
1561 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1562 PyObject *resultobj;
1563 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1564 int arg2 ;
1565 int arg3 ;
1566 PyObject * obj0 = 0 ;
1567 PyObject * obj1 = 0 ;
1568 PyObject * obj2 = 0 ;
1569 char *kwnames[] = {
1570 (char *) "self",(char *) "x",(char *) "y", NULL
1571 };
1572
1573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1575 {
1576 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1577 if (PyErr_Occurred()) SWIG_fail;
1578 }
1579 {
1580 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1581 if (PyErr_Occurred()) SWIG_fail;
1582 }
1583 {
1584 PyThreadState* __tstate = wxPyBeginAllowThreads();
1585 (arg1)->Scroll(arg2,arg3);
1586
1587 wxPyEndAllowThreads(__tstate);
1588 if (PyErr_Occurred()) SWIG_fail;
1589 }
1590 Py_INCREF(Py_None); resultobj = Py_None;
1591 return resultobj;
1592 fail:
1593 return NULL;
1594 }
1595
1596
1597 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1598 PyObject *resultobj;
1599 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1600 int arg2 ;
1601 int result;
1602 PyObject * obj0 = 0 ;
1603 PyObject * obj1 = 0 ;
1604 char *kwnames[] = {
1605 (char *) "self",(char *) "orient", NULL
1606 };
1607
1608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1610 {
1611 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1612 if (PyErr_Occurred()) SWIG_fail;
1613 }
1614 {
1615 PyThreadState* __tstate = wxPyBeginAllowThreads();
1616 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1617
1618 wxPyEndAllowThreads(__tstate);
1619 if (PyErr_Occurred()) SWIG_fail;
1620 }
1621 resultobj = SWIG_PyObj_FromInt((int)result);
1622 return resultobj;
1623 fail:
1624 return NULL;
1625 }
1626
1627
1628 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1629 PyObject *resultobj;
1630 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1631 int arg2 ;
1632 int arg3 ;
1633 PyObject * obj0 = 0 ;
1634 PyObject * obj1 = 0 ;
1635 PyObject * obj2 = 0 ;
1636 char *kwnames[] = {
1637 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1638 };
1639
1640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1642 {
1643 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1644 if (PyErr_Occurred()) SWIG_fail;
1645 }
1646 {
1647 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
1650 {
1651 PyThreadState* __tstate = wxPyBeginAllowThreads();
1652 (arg1)->SetScrollPageSize(arg2,arg3);
1653
1654 wxPyEndAllowThreads(__tstate);
1655 if (PyErr_Occurred()) SWIG_fail;
1656 }
1657 Py_INCREF(Py_None); resultobj = Py_None;
1658 return resultobj;
1659 fail:
1660 return NULL;
1661 }
1662
1663
1664 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1665 PyObject *resultobj;
1666 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1667 int arg2 ;
1668 int arg3 ;
1669 PyObject * obj0 = 0 ;
1670 PyObject * obj1 = 0 ;
1671 PyObject * obj2 = 0 ;
1672 char *kwnames[] = {
1673 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1674 };
1675
1676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1678 {
1679 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1680 if (PyErr_Occurred()) SWIG_fail;
1681 }
1682 {
1683 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1684 if (PyErr_Occurred()) SWIG_fail;
1685 }
1686 {
1687 PyThreadState* __tstate = wxPyBeginAllowThreads();
1688 (arg1)->SetScrollRate(arg2,arg3);
1689
1690 wxPyEndAllowThreads(__tstate);
1691 if (PyErr_Occurred()) SWIG_fail;
1692 }
1693 Py_INCREF(Py_None); resultobj = Py_None;
1694 return resultobj;
1695 fail:
1696 return NULL;
1697 }
1698
1699
1700 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1701 PyObject *resultobj;
1702 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1703 int *arg2 = (int *) 0 ;
1704 int *arg3 = (int *) 0 ;
1705 int temp2 ;
1706 int temp3 ;
1707 PyObject * obj0 = 0 ;
1708 char *kwnames[] = {
1709 (char *) "self", NULL
1710 };
1711
1712 arg2 = &temp2;
1713 arg3 = &temp3;
1714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1716 {
1717 PyThreadState* __tstate = wxPyBeginAllowThreads();
1718 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1719
1720 wxPyEndAllowThreads(__tstate);
1721 if (PyErr_Occurred()) SWIG_fail;
1722 }
1723 Py_INCREF(Py_None); resultobj = Py_None;
1724 {
1725 PyObject *o = PyInt_FromLong((long) (*arg2));
1726 resultobj = t_output_helper(resultobj,o);
1727 }
1728 {
1729 PyObject *o = PyInt_FromLong((long) (*arg3));
1730 resultobj = t_output_helper(resultobj,o);
1731 }
1732 return resultobj;
1733 fail:
1734 return NULL;
1735 }
1736
1737
1738 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1739 PyObject *resultobj;
1740 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1741 bool arg2 ;
1742 bool arg3 ;
1743 PyObject * obj0 = 0 ;
1744 PyObject * obj1 = 0 ;
1745 PyObject * obj2 = 0 ;
1746 char *kwnames[] = {
1747 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1748 };
1749
1750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1752 {
1753 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
1754 if (PyErr_Occurred()) SWIG_fail;
1755 }
1756 {
1757 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
1758 if (PyErr_Occurred()) SWIG_fail;
1759 }
1760 {
1761 PyThreadState* __tstate = wxPyBeginAllowThreads();
1762 (arg1)->EnableScrolling(arg2,arg3);
1763
1764 wxPyEndAllowThreads(__tstate);
1765 if (PyErr_Occurred()) SWIG_fail;
1766 }
1767 Py_INCREF(Py_None); resultobj = Py_None;
1768 return resultobj;
1769 fail:
1770 return NULL;
1771 }
1772
1773
1774 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1775 PyObject *resultobj;
1776 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1777 int *arg2 = (int *) 0 ;
1778 int *arg3 = (int *) 0 ;
1779 int temp2 ;
1780 int temp3 ;
1781 PyObject * obj0 = 0 ;
1782 char *kwnames[] = {
1783 (char *) "self", NULL
1784 };
1785
1786 arg2 = &temp2;
1787 arg3 = &temp3;
1788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1790 {
1791 PyThreadState* __tstate = wxPyBeginAllowThreads();
1792 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1793
1794 wxPyEndAllowThreads(__tstate);
1795 if (PyErr_Occurred()) SWIG_fail;
1796 }
1797 Py_INCREF(Py_None); resultobj = Py_None;
1798 {
1799 PyObject *o = PyInt_FromLong((long) (*arg2));
1800 resultobj = t_output_helper(resultobj,o);
1801 }
1802 {
1803 PyObject *o = PyInt_FromLong((long) (*arg3));
1804 resultobj = t_output_helper(resultobj,o);
1805 }
1806 return resultobj;
1807 fail:
1808 return NULL;
1809 }
1810
1811
1812 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1813 PyObject *resultobj;
1814 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1815 double arg2 ;
1816 double arg3 ;
1817 PyObject * obj0 = 0 ;
1818 PyObject * obj1 = 0 ;
1819 PyObject * obj2 = 0 ;
1820 char *kwnames[] = {
1821 (char *) "self",(char *) "xs",(char *) "ys", NULL
1822 };
1823
1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1826 {
1827 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
1828 if (PyErr_Occurred()) SWIG_fail;
1829 }
1830 {
1831 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
1832 if (PyErr_Occurred()) SWIG_fail;
1833 }
1834 {
1835 PyThreadState* __tstate = wxPyBeginAllowThreads();
1836 (arg1)->SetScale(arg2,arg3);
1837
1838 wxPyEndAllowThreads(__tstate);
1839 if (PyErr_Occurred()) SWIG_fail;
1840 }
1841 Py_INCREF(Py_None); resultobj = Py_None;
1842 return resultobj;
1843 fail:
1844 return NULL;
1845 }
1846
1847
1848 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject *resultobj;
1850 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1851 double result;
1852 PyObject * obj0 = 0 ;
1853 char *kwnames[] = {
1854 (char *) "self", NULL
1855 };
1856
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
1861 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) SWIG_fail;
1865 }
1866 resultobj = SWIG_PyObj_FromDouble((double)result);
1867 return resultobj;
1868 fail:
1869 return NULL;
1870 }
1871
1872
1873 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1874 PyObject *resultobj;
1875 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1876 double result;
1877 PyObject * obj0 = 0 ;
1878 char *kwnames[] = {
1879 (char *) "self", NULL
1880 };
1881
1882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1884 {
1885 PyThreadState* __tstate = wxPyBeginAllowThreads();
1886 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1887
1888 wxPyEndAllowThreads(__tstate);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 }
1891 resultobj = SWIG_PyObj_FromDouble((double)result);
1892 return resultobj;
1893 fail:
1894 return NULL;
1895 }
1896
1897
1898 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1899 PyObject *resultobj;
1900 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1901 wxPoint *arg2 = 0 ;
1902 wxPoint result;
1903 wxPoint temp2 ;
1904 PyObject * obj0 = 0 ;
1905 PyObject * obj1 = 0 ;
1906
1907 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1909 {
1910 arg2 = &temp2;
1911 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1912 }
1913 {
1914 PyThreadState* __tstate = wxPyBeginAllowThreads();
1915 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1916
1917 wxPyEndAllowThreads(__tstate);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 }
1920 {
1921 wxPoint * resultptr;
1922 resultptr = new wxPoint((wxPoint &) result);
1923 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1924 }
1925 return resultobj;
1926 fail:
1927 return NULL;
1928 }
1929
1930
1931 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1932 PyObject *resultobj;
1933 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1934 int arg2 ;
1935 int arg3 ;
1936 int *arg4 = (int *) 0 ;
1937 int *arg5 = (int *) 0 ;
1938 int temp4 ;
1939 int temp5 ;
1940 PyObject * obj0 = 0 ;
1941 PyObject * obj1 = 0 ;
1942 PyObject * obj2 = 0 ;
1943
1944 arg4 = &temp4;
1945 arg5 = &temp5;
1946 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
1947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1948 {
1949 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1950 if (PyErr_Occurred()) SWIG_fail;
1951 }
1952 {
1953 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1954 if (PyErr_Occurred()) SWIG_fail;
1955 }
1956 {
1957 PyThreadState* __tstate = wxPyBeginAllowThreads();
1958 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1959
1960 wxPyEndAllowThreads(__tstate);
1961 if (PyErr_Occurred()) SWIG_fail;
1962 }
1963 Py_INCREF(Py_None); resultobj = Py_None;
1964 {
1965 PyObject *o = PyInt_FromLong((long) (*arg4));
1966 resultobj = t_output_helper(resultobj,o);
1967 }
1968 {
1969 PyObject *o = PyInt_FromLong((long) (*arg5));
1970 resultobj = t_output_helper(resultobj,o);
1971 }
1972 return resultobj;
1973 fail:
1974 return NULL;
1975 }
1976
1977
1978 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1979 int argc;
1980 PyObject *argv[4];
1981 int ii;
1982
1983 argc = PyObject_Length(args);
1984 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1985 argv[ii] = PyTuple_GetItem(args,ii);
1986 }
1987 if (argc == 2) {
1988 int _v;
1989 {
1990 void *ptr;
1991 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1992 _v = 0;
1993 PyErr_Clear();
1994 } else {
1995 _v = 1;
1996 }
1997 }
1998 if (_v) {
1999 {
2000 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2001 }
2002 if (_v) {
2003 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2004 }
2005 }
2006 }
2007 if (argc == 3) {
2008 int _v;
2009 {
2010 void *ptr;
2011 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2012 _v = 0;
2013 PyErr_Clear();
2014 } else {
2015 _v = 1;
2016 }
2017 }
2018 if (_v) {
2019 {
2020 SWIG_PyObj_AsInt(argv[1]);
2021 if (PyErr_Occurred()) {
2022 _v = 0;
2023 PyErr_Clear();
2024 } else {
2025 _v = 1;
2026 }
2027 }
2028 if (_v) {
2029 {
2030 SWIG_PyObj_AsInt(argv[2]);
2031 if (PyErr_Occurred()) {
2032 _v = 0;
2033 PyErr_Clear();
2034 } else {
2035 _v = 1;
2036 }
2037 }
2038 if (_v) {
2039 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2040 }
2041 }
2042 }
2043 }
2044
2045 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2046 return NULL;
2047 }
2048
2049
2050 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2051 PyObject *resultobj;
2052 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2053 wxPoint *arg2 = 0 ;
2054 wxPoint result;
2055 wxPoint temp2 ;
2056 PyObject * obj0 = 0 ;
2057 PyObject * obj1 = 0 ;
2058
2059 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2061 {
2062 arg2 = &temp2;
2063 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2064 }
2065 {
2066 PyThreadState* __tstate = wxPyBeginAllowThreads();
2067 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2068
2069 wxPyEndAllowThreads(__tstate);
2070 if (PyErr_Occurred()) SWIG_fail;
2071 }
2072 {
2073 wxPoint * resultptr;
2074 resultptr = new wxPoint((wxPoint &) result);
2075 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2076 }
2077 return resultobj;
2078 fail:
2079 return NULL;
2080 }
2081
2082
2083 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2084 PyObject *resultobj;
2085 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2086 int arg2 ;
2087 int arg3 ;
2088 int *arg4 = (int *) 0 ;
2089 int *arg5 = (int *) 0 ;
2090 int temp4 ;
2091 int temp5 ;
2092 PyObject * obj0 = 0 ;
2093 PyObject * obj1 = 0 ;
2094 PyObject * obj2 = 0 ;
2095
2096 arg4 = &temp4;
2097 arg5 = &temp5;
2098 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2100 {
2101 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 }
2104 {
2105 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 }
2108 {
2109 PyThreadState* __tstate = wxPyBeginAllowThreads();
2110 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2111
2112 wxPyEndAllowThreads(__tstate);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
2115 Py_INCREF(Py_None); resultobj = Py_None;
2116 {
2117 PyObject *o = PyInt_FromLong((long) (*arg4));
2118 resultobj = t_output_helper(resultobj,o);
2119 }
2120 {
2121 PyObject *o = PyInt_FromLong((long) (*arg5));
2122 resultobj = t_output_helper(resultobj,o);
2123 }
2124 return resultobj;
2125 fail:
2126 return NULL;
2127 }
2128
2129
2130 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2131 int argc;
2132 PyObject *argv[4];
2133 int ii;
2134
2135 argc = PyObject_Length(args);
2136 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2137 argv[ii] = PyTuple_GetItem(args,ii);
2138 }
2139 if (argc == 2) {
2140 int _v;
2141 {
2142 void *ptr;
2143 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2144 _v = 0;
2145 PyErr_Clear();
2146 } else {
2147 _v = 1;
2148 }
2149 }
2150 if (_v) {
2151 {
2152 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2153 }
2154 if (_v) {
2155 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2156 }
2157 }
2158 }
2159 if (argc == 3) {
2160 int _v;
2161 {
2162 void *ptr;
2163 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2164 _v = 0;
2165 PyErr_Clear();
2166 } else {
2167 _v = 1;
2168 }
2169 }
2170 if (_v) {
2171 {
2172 SWIG_PyObj_AsInt(argv[1]);
2173 if (PyErr_Occurred()) {
2174 _v = 0;
2175 PyErr_Clear();
2176 } else {
2177 _v = 1;
2178 }
2179 }
2180 if (_v) {
2181 {
2182 SWIG_PyObj_AsInt(argv[2]);
2183 if (PyErr_Occurred()) {
2184 _v = 0;
2185 PyErr_Clear();
2186 } else {
2187 _v = 1;
2188 }
2189 }
2190 if (_v) {
2191 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2192 }
2193 }
2194 }
2195 }
2196
2197 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2198 return NULL;
2199 }
2200
2201
2202 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2203 PyObject *resultobj;
2204 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2205 PyObject * obj0 = 0 ;
2206 char *kwnames[] = {
2207 (char *) "self", NULL
2208 };
2209
2210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2212 {
2213 PyThreadState* __tstate = wxPyBeginAllowThreads();
2214 (arg1)->AdjustScrollbars();
2215
2216 wxPyEndAllowThreads(__tstate);
2217 if (PyErr_Occurred()) SWIG_fail;
2218 }
2219 Py_INCREF(Py_None); resultobj = Py_None;
2220 return resultobj;
2221 fail:
2222 return NULL;
2223 }
2224
2225
2226 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2227 PyObject *resultobj;
2228 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2229 wxScrollWinEvent *arg2 = 0 ;
2230 int result;
2231 PyObject * obj0 = 0 ;
2232 PyObject * obj1 = 0 ;
2233 char *kwnames[] = {
2234 (char *) "self",(char *) "event", NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2239 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2240 if (arg2 == NULL) {
2241 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2242 }
2243 {
2244 PyThreadState* __tstate = wxPyBeginAllowThreads();
2245 result = (int)(arg1)->CalcScrollInc(*arg2);
2246
2247 wxPyEndAllowThreads(__tstate);
2248 if (PyErr_Occurred()) SWIG_fail;
2249 }
2250 resultobj = SWIG_PyObj_FromInt((int)result);
2251 return resultobj;
2252 fail:
2253 return NULL;
2254 }
2255
2256
2257 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2258 PyObject *resultobj;
2259 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2260 wxWindow *arg2 = (wxWindow *) 0 ;
2261 PyObject * obj0 = 0 ;
2262 PyObject * obj1 = 0 ;
2263 char *kwnames[] = {
2264 (char *) "self",(char *) "target", NULL
2265 };
2266
2267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2269 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2270 {
2271 PyThreadState* __tstate = wxPyBeginAllowThreads();
2272 (arg1)->SetTargetWindow(arg2);
2273
2274 wxPyEndAllowThreads(__tstate);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 }
2277 Py_INCREF(Py_None); resultobj = Py_None;
2278 return resultobj;
2279 fail:
2280 return NULL;
2281 }
2282
2283
2284 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject *resultobj;
2286 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2287 wxWindow *result;
2288 PyObject * obj0 = 0 ;
2289 char *kwnames[] = {
2290 (char *) "self", NULL
2291 };
2292
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2295 {
2296 PyThreadState* __tstate = wxPyBeginAllowThreads();
2297 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2298
2299 wxPyEndAllowThreads(__tstate);
2300 if (PyErr_Occurred()) SWIG_fail;
2301 }
2302 {
2303 resultobj = wxPyMake_wxObject(result);
2304 }
2305 return resultobj;
2306 fail:
2307 return NULL;
2308 }
2309
2310
2311 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2312 PyObject *obj;
2313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2314 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2315 Py_INCREF(obj);
2316 return Py_BuildValue((char *)"");
2317 }
2318 static int _wrap_FrameNameStr_set(PyObject *_val) {
2319 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2320 return 1;
2321 }
2322
2323
2324 static PyObject *_wrap_FrameNameStr_get() {
2325 PyObject *pyobj;
2326
2327 {
2328 #if wxUSE_UNICODE
2329 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2330 #else
2331 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2332 #endif
2333 }
2334 return pyobj;
2335 }
2336
2337
2338 static int _wrap_DialogNameStr_set(PyObject *_val) {
2339 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2340 return 1;
2341 }
2342
2343
2344 static PyObject *_wrap_DialogNameStr_get() {
2345 PyObject *pyobj;
2346
2347 {
2348 #if wxUSE_UNICODE
2349 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2350 #else
2351 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2352 #endif
2353 }
2354 return pyobj;
2355 }
2356
2357
2358 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2359 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2360 return 1;
2361 }
2362
2363
2364 static PyObject *_wrap_StatusLineNameStr_get() {
2365 PyObject *pyobj;
2366
2367 {
2368 #if wxUSE_UNICODE
2369 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2370 #else
2371 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2372 #endif
2373 }
2374 return pyobj;
2375 }
2376
2377
2378 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2379 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2380 return 1;
2381 }
2382
2383
2384 static PyObject *_wrap_ToolBarNameStr_get() {
2385 PyObject *pyobj;
2386
2387 {
2388 #if wxUSE_UNICODE
2389 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2390 #else
2391 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2392 #endif
2393 }
2394 return pyobj;
2395 }
2396
2397
2398 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2399 PyObject *resultobj;
2400 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2401 bool arg2 = (bool) True ;
2402 PyObject * obj0 = 0 ;
2403 PyObject * obj1 = 0 ;
2404 char *kwnames[] = {
2405 (char *) "self",(char *) "maximize", NULL
2406 };
2407
2408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2410 if (obj1) {
2411 {
2412 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2413 if (PyErr_Occurred()) SWIG_fail;
2414 }
2415 }
2416 {
2417 PyThreadState* __tstate = wxPyBeginAllowThreads();
2418 (arg1)->Maximize(arg2);
2419
2420 wxPyEndAllowThreads(__tstate);
2421 if (PyErr_Occurred()) SWIG_fail;
2422 }
2423 Py_INCREF(Py_None); resultobj = Py_None;
2424 return resultobj;
2425 fail:
2426 return NULL;
2427 }
2428
2429
2430 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2431 PyObject *resultobj;
2432 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2433 PyObject * obj0 = 0 ;
2434 char *kwnames[] = {
2435 (char *) "self", NULL
2436 };
2437
2438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2440 {
2441 PyThreadState* __tstate = wxPyBeginAllowThreads();
2442 (arg1)->Restore();
2443
2444 wxPyEndAllowThreads(__tstate);
2445 if (PyErr_Occurred()) SWIG_fail;
2446 }
2447 Py_INCREF(Py_None); resultobj = Py_None;
2448 return resultobj;
2449 fail:
2450 return NULL;
2451 }
2452
2453
2454 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2455 PyObject *resultobj;
2456 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2457 bool arg2 = (bool) True ;
2458 PyObject * obj0 = 0 ;
2459 PyObject * obj1 = 0 ;
2460 char *kwnames[] = {
2461 (char *) "self",(char *) "iconize", NULL
2462 };
2463
2464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2466 if (obj1) {
2467 {
2468 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2469 if (PyErr_Occurred()) SWIG_fail;
2470 }
2471 }
2472 {
2473 PyThreadState* __tstate = wxPyBeginAllowThreads();
2474 (arg1)->Iconize(arg2);
2475
2476 wxPyEndAllowThreads(__tstate);
2477 if (PyErr_Occurred()) SWIG_fail;
2478 }
2479 Py_INCREF(Py_None); resultobj = Py_None;
2480 return resultobj;
2481 fail:
2482 return NULL;
2483 }
2484
2485
2486 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2487 PyObject *resultobj;
2488 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2489 bool result;
2490 PyObject * obj0 = 0 ;
2491 char *kwnames[] = {
2492 (char *) "self", NULL
2493 };
2494
2495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2497 {
2498 PyThreadState* __tstate = wxPyBeginAllowThreads();
2499 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2500
2501 wxPyEndAllowThreads(__tstate);
2502 if (PyErr_Occurred()) SWIG_fail;
2503 }
2504 resultobj = SWIG_PyObj_FromBool((bool)result);
2505 return resultobj;
2506 fail:
2507 return NULL;
2508 }
2509
2510
2511 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2512 PyObject *resultobj;
2513 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2514 bool result;
2515 PyObject * obj0 = 0 ;
2516 char *kwnames[] = {
2517 (char *) "self", NULL
2518 };
2519
2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2522 {
2523 PyThreadState* __tstate = wxPyBeginAllowThreads();
2524 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2525
2526 wxPyEndAllowThreads(__tstate);
2527 if (PyErr_Occurred()) SWIG_fail;
2528 }
2529 resultobj = SWIG_PyObj_FromBool((bool)result);
2530 return resultobj;
2531 fail:
2532 return NULL;
2533 }
2534
2535
2536 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2537 PyObject *resultobj;
2538 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2539 wxIcon result;
2540 PyObject * obj0 = 0 ;
2541 char *kwnames[] = {
2542 (char *) "self", NULL
2543 };
2544
2545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2547 {
2548 PyThreadState* __tstate = wxPyBeginAllowThreads();
2549 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2550
2551 wxPyEndAllowThreads(__tstate);
2552 if (PyErr_Occurred()) SWIG_fail;
2553 }
2554 {
2555 wxIcon * resultptr;
2556 resultptr = new wxIcon((wxIcon &) result);
2557 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2558 }
2559 return resultobj;
2560 fail:
2561 return NULL;
2562 }
2563
2564
2565 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2566 PyObject *resultobj;
2567 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2568 wxIcon *arg2 = 0 ;
2569 PyObject * obj0 = 0 ;
2570 PyObject * obj1 = 0 ;
2571 char *kwnames[] = {
2572 (char *) "self",(char *) "icon", NULL
2573 };
2574
2575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2577 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2578 if (arg2 == NULL) {
2579 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2580 }
2581 {
2582 PyThreadState* __tstate = wxPyBeginAllowThreads();
2583 (arg1)->SetIcon((wxIcon const &)*arg2);
2584
2585 wxPyEndAllowThreads(__tstate);
2586 if (PyErr_Occurred()) SWIG_fail;
2587 }
2588 Py_INCREF(Py_None); resultobj = Py_None;
2589 return resultobj;
2590 fail:
2591 return NULL;
2592 }
2593
2594
2595 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2596 PyObject *resultobj;
2597 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2598 wxIconBundle *arg2 = 0 ;
2599 PyObject * obj0 = 0 ;
2600 PyObject * obj1 = 0 ;
2601 char *kwnames[] = {
2602 (char *) "self",(char *) "icons", NULL
2603 };
2604
2605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2608 if (arg2 == NULL) {
2609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2610 }
2611 {
2612 PyThreadState* __tstate = wxPyBeginAllowThreads();
2613 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2614
2615 wxPyEndAllowThreads(__tstate);
2616 if (PyErr_Occurred()) SWIG_fail;
2617 }
2618 Py_INCREF(Py_None); resultobj = Py_None;
2619 return resultobj;
2620 fail:
2621 return NULL;
2622 }
2623
2624
2625 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2626 PyObject *resultobj;
2627 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2628 bool arg2 ;
2629 long arg3 = (long) wxFULLSCREEN_ALL ;
2630 bool result;
2631 PyObject * obj0 = 0 ;
2632 PyObject * obj1 = 0 ;
2633 PyObject * obj2 = 0 ;
2634 char *kwnames[] = {
2635 (char *) "self",(char *) "show",(char *) "style", NULL
2636 };
2637
2638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2640 {
2641 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2642 if (PyErr_Occurred()) SWIG_fail;
2643 }
2644 if (obj2) {
2645 {
2646 arg3 = (long) SWIG_PyObj_AsLong(obj2);
2647 if (PyErr_Occurred()) SWIG_fail;
2648 }
2649 }
2650 {
2651 PyThreadState* __tstate = wxPyBeginAllowThreads();
2652 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2653
2654 wxPyEndAllowThreads(__tstate);
2655 if (PyErr_Occurred()) SWIG_fail;
2656 }
2657 resultobj = SWIG_PyObj_FromBool((bool)result);
2658 return resultobj;
2659 fail:
2660 return NULL;
2661 }
2662
2663
2664 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2665 PyObject *resultobj;
2666 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2667 bool result;
2668 PyObject * obj0 = 0 ;
2669 char *kwnames[] = {
2670 (char *) "self", NULL
2671 };
2672
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2675 {
2676 PyThreadState* __tstate = wxPyBeginAllowThreads();
2677 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2678
2679 wxPyEndAllowThreads(__tstate);
2680 if (PyErr_Occurred()) SWIG_fail;
2681 }
2682 resultobj = SWIG_PyObj_FromBool((bool)result);
2683 return resultobj;
2684 fail:
2685 return NULL;
2686 }
2687
2688
2689 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2690 PyObject *resultobj;
2691 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2692 wxString *arg2 = 0 ;
2693 bool temp2 = False ;
2694 PyObject * obj0 = 0 ;
2695 PyObject * obj1 = 0 ;
2696 char *kwnames[] = {
2697 (char *) "self",(char *) "title", NULL
2698 };
2699
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2702 {
2703 arg2 = wxString_in_helper(obj1);
2704 if (arg2 == NULL) SWIG_fail;
2705 temp2 = True;
2706 }
2707 {
2708 PyThreadState* __tstate = wxPyBeginAllowThreads();
2709 (arg1)->SetTitle((wxString const &)*arg2);
2710
2711 wxPyEndAllowThreads(__tstate);
2712 if (PyErr_Occurred()) SWIG_fail;
2713 }
2714 Py_INCREF(Py_None); resultobj = Py_None;
2715 {
2716 if (temp2)
2717 delete arg2;
2718 }
2719 return resultobj;
2720 fail:
2721 {
2722 if (temp2)
2723 delete arg2;
2724 }
2725 return NULL;
2726 }
2727
2728
2729 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2730 PyObject *resultobj;
2731 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2732 wxString result;
2733 PyObject * obj0 = 0 ;
2734 char *kwnames[] = {
2735 (char *) "self", NULL
2736 };
2737
2738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2740 {
2741 PyThreadState* __tstate = wxPyBeginAllowThreads();
2742 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2743
2744 wxPyEndAllowThreads(__tstate);
2745 if (PyErr_Occurred()) SWIG_fail;
2746 }
2747 {
2748 #if wxUSE_UNICODE
2749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2750 #else
2751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2752 #endif
2753 }
2754 return resultobj;
2755 fail:
2756 return NULL;
2757 }
2758
2759
2760 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2763 wxRegion *arg2 = 0 ;
2764 bool result;
2765 PyObject * obj0 = 0 ;
2766 PyObject * obj1 = 0 ;
2767 char *kwnames[] = {
2768 (char *) "self",(char *) "region", NULL
2769 };
2770
2771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2773 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2774 if (arg2 == NULL) {
2775 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2776 }
2777 {
2778 PyThreadState* __tstate = wxPyBeginAllowThreads();
2779 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2780
2781 wxPyEndAllowThreads(__tstate);
2782 if (PyErr_Occurred()) SWIG_fail;
2783 }
2784 resultobj = SWIG_PyObj_FromBool((bool)result);
2785 return resultobj;
2786 fail:
2787 return NULL;
2788 }
2789
2790
2791 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2792 PyObject *obj;
2793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2794 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2795 Py_INCREF(obj);
2796 return Py_BuildValue((char *)"");
2797 }
2798 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2799 PyObject *resultobj;
2800 wxWindow *arg1 = (wxWindow *) 0 ;
2801 int arg2 ;
2802 wxString *arg3 = 0 ;
2803 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2804 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2805 wxSize const &arg5_defvalue = wxDefaultSize ;
2806 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2807 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2808 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2809 wxString *arg7 = (wxString *) &arg7_defvalue ;
2810 wxFrame *result;
2811 bool temp3 = False ;
2812 wxPoint temp4 ;
2813 wxSize temp5 ;
2814 bool temp7 = False ;
2815 PyObject * obj0 = 0 ;
2816 PyObject * obj1 = 0 ;
2817 PyObject * obj2 = 0 ;
2818 PyObject * obj3 = 0 ;
2819 PyObject * obj4 = 0 ;
2820 PyObject * obj5 = 0 ;
2821 PyObject * obj6 = 0 ;
2822 char *kwnames[] = {
2823 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2824 };
2825
2826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2828 {
2829 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2830 if (PyErr_Occurred()) SWIG_fail;
2831 }
2832 {
2833 arg3 = wxString_in_helper(obj2);
2834 if (arg3 == NULL) SWIG_fail;
2835 temp3 = True;
2836 }
2837 if (obj3) {
2838 {
2839 arg4 = &temp4;
2840 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2841 }
2842 }
2843 if (obj4) {
2844 {
2845 arg5 = &temp5;
2846 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2847 }
2848 }
2849 if (obj5) {
2850 {
2851 arg6 = (long) SWIG_PyObj_AsLong(obj5);
2852 if (PyErr_Occurred()) SWIG_fail;
2853 }
2854 }
2855 if (obj6) {
2856 {
2857 arg7 = wxString_in_helper(obj6);
2858 if (arg7 == NULL) SWIG_fail;
2859 temp7 = True;
2860 }
2861 }
2862 {
2863 PyThreadState* __tstate = wxPyBeginAllowThreads();
2864 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2865
2866 wxPyEndAllowThreads(__tstate);
2867 if (PyErr_Occurred()) SWIG_fail;
2868 }
2869 {
2870 resultobj = wxPyMake_wxObject(result);
2871 }
2872 {
2873 if (temp3)
2874 delete arg3;
2875 }
2876 {
2877 if (temp7)
2878 delete arg7;
2879 }
2880 return resultobj;
2881 fail:
2882 {
2883 if (temp3)
2884 delete arg3;
2885 }
2886 {
2887 if (temp7)
2888 delete arg7;
2889 }
2890 return NULL;
2891 }
2892
2893
2894 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2895 PyObject *resultobj;
2896 wxFrame *result;
2897 char *kwnames[] = {
2898 NULL
2899 };
2900
2901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2902 {
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 result = (wxFrame *)new wxFrame();
2905
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) SWIG_fail;
2908 }
2909 {
2910 resultobj = wxPyMake_wxObject(result);
2911 }
2912 return resultobj;
2913 fail:
2914 return NULL;
2915 }
2916
2917
2918 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2919 PyObject *resultobj;
2920 wxFrame *arg1 = (wxFrame *) 0 ;
2921 wxWindow *arg2 = (wxWindow *) 0 ;
2922 int arg3 ;
2923 wxString *arg4 = 0 ;
2924 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2925 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2926 wxSize const &arg6_defvalue = wxDefaultSize ;
2927 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2928 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2929 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2930 wxString *arg8 = (wxString *) &arg8_defvalue ;
2931 bool result;
2932 bool temp4 = False ;
2933 wxPoint temp5 ;
2934 wxSize temp6 ;
2935 bool temp8 = False ;
2936 PyObject * obj0 = 0 ;
2937 PyObject * obj1 = 0 ;
2938 PyObject * obj2 = 0 ;
2939 PyObject * obj3 = 0 ;
2940 PyObject * obj4 = 0 ;
2941 PyObject * obj5 = 0 ;
2942 PyObject * obj6 = 0 ;
2943 PyObject * obj7 = 0 ;
2944 char *kwnames[] = {
2945 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2946 };
2947
2948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2951 {
2952 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 {
2956 arg4 = wxString_in_helper(obj3);
2957 if (arg4 == NULL) SWIG_fail;
2958 temp4 = True;
2959 }
2960 if (obj4) {
2961 {
2962 arg5 = &temp5;
2963 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2964 }
2965 }
2966 if (obj5) {
2967 {
2968 arg6 = &temp6;
2969 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2970 }
2971 }
2972 if (obj6) {
2973 {
2974 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
2977 }
2978 if (obj7) {
2979 {
2980 arg8 = wxString_in_helper(obj7);
2981 if (arg8 == NULL) SWIG_fail;
2982 temp8 = True;
2983 }
2984 }
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 resultobj = SWIG_PyObj_FromBool((bool)result);
2993 {
2994 if (temp4)
2995 delete arg4;
2996 }
2997 {
2998 if (temp8)
2999 delete arg8;
3000 }
3001 return resultobj;
3002 fail:
3003 {
3004 if (temp4)
3005 delete arg4;
3006 }
3007 {
3008 if (temp8)
3009 delete arg8;
3010 }
3011 return NULL;
3012 }
3013
3014
3015 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3016 PyObject *resultobj;
3017 wxFrame *arg1 = (wxFrame *) 0 ;
3018 wxPoint result;
3019 PyObject * obj0 = 0 ;
3020 char *kwnames[] = {
3021 (char *) "self", NULL
3022 };
3023
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3026 {
3027 PyThreadState* __tstate = wxPyBeginAllowThreads();
3028 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3029
3030 wxPyEndAllowThreads(__tstate);
3031 if (PyErr_Occurred()) SWIG_fail;
3032 }
3033 {
3034 wxPoint * resultptr;
3035 resultptr = new wxPoint((wxPoint &) result);
3036 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3037 }
3038 return resultobj;
3039 fail:
3040 return NULL;
3041 }
3042
3043
3044 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3045 PyObject *resultobj;
3046 wxFrame *arg1 = (wxFrame *) 0 ;
3047 PyObject * obj0 = 0 ;
3048 char *kwnames[] = {
3049 (char *) "self", NULL
3050 };
3051
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3054 {
3055 PyThreadState* __tstate = wxPyBeginAllowThreads();
3056 (arg1)->SendSizeEvent();
3057
3058 wxPyEndAllowThreads(__tstate);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 }
3061 Py_INCREF(Py_None); resultobj = Py_None;
3062 return resultobj;
3063 fail:
3064 return NULL;
3065 }
3066
3067
3068 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3069 PyObject *resultobj;
3070 wxFrame *arg1 = (wxFrame *) 0 ;
3071 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3072 PyObject * obj0 = 0 ;
3073 PyObject * obj1 = 0 ;
3074 char *kwnames[] = {
3075 (char *) "self",(char *) "menubar", NULL
3076 };
3077
3078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3080 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3081 {
3082 PyThreadState* __tstate = wxPyBeginAllowThreads();
3083 (arg1)->SetMenuBar(arg2);
3084
3085 wxPyEndAllowThreads(__tstate);
3086 if (PyErr_Occurred()) SWIG_fail;
3087 }
3088 Py_INCREF(Py_None); resultobj = Py_None;
3089 return resultobj;
3090 fail:
3091 return NULL;
3092 }
3093
3094
3095 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3096 PyObject *resultobj;
3097 wxFrame *arg1 = (wxFrame *) 0 ;
3098 wxMenuBar *result;
3099 PyObject * obj0 = 0 ;
3100 char *kwnames[] = {
3101 (char *) "self", NULL
3102 };
3103
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3106 {
3107 PyThreadState* __tstate = wxPyBeginAllowThreads();
3108 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3109
3110 wxPyEndAllowThreads(__tstate);
3111 if (PyErr_Occurred()) SWIG_fail;
3112 }
3113 {
3114 resultobj = wxPyMake_wxObject(result);
3115 }
3116 return resultobj;
3117 fail:
3118 return NULL;
3119 }
3120
3121
3122 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3123 PyObject *resultobj;
3124 wxFrame *arg1 = (wxFrame *) 0 ;
3125 int arg2 ;
3126 bool result;
3127 PyObject * obj0 = 0 ;
3128 PyObject * obj1 = 0 ;
3129 char *kwnames[] = {
3130 (char *) "self",(char *) "winid", NULL
3131 };
3132
3133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3135 {
3136 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
3139 {
3140 PyThreadState* __tstate = wxPyBeginAllowThreads();
3141 result = (bool)(arg1)->ProcessCommand(arg2);
3142
3143 wxPyEndAllowThreads(__tstate);
3144 if (PyErr_Occurred()) SWIG_fail;
3145 }
3146 resultobj = SWIG_PyObj_FromBool((bool)result);
3147 return resultobj;
3148 fail:
3149 return NULL;
3150 }
3151
3152
3153 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3154 PyObject *resultobj;
3155 wxFrame *arg1 = (wxFrame *) 0 ;
3156 int arg2 = (int) 1 ;
3157 long arg3 = (long) wxST_SIZEGRIP ;
3158 int arg4 = (int) 0 ;
3159 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3160 wxString *arg5 = (wxString *) &arg5_defvalue ;
3161 wxStatusBar *result;
3162 bool temp5 = False ;
3163 PyObject * obj0 = 0 ;
3164 PyObject * obj1 = 0 ;
3165 PyObject * obj2 = 0 ;
3166 PyObject * obj3 = 0 ;
3167 PyObject * obj4 = 0 ;
3168 char *kwnames[] = {
3169 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3170 };
3171
3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3174 if (obj1) {
3175 {
3176 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3177 if (PyErr_Occurred()) SWIG_fail;
3178 }
3179 }
3180 if (obj2) {
3181 {
3182 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 }
3186 if (obj3) {
3187 {
3188 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 }
3192 if (obj4) {
3193 {
3194 arg5 = wxString_in_helper(obj4);
3195 if (arg5 == NULL) SWIG_fail;
3196 temp5 = True;
3197 }
3198 }
3199 {
3200 PyThreadState* __tstate = wxPyBeginAllowThreads();
3201 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3202
3203 wxPyEndAllowThreads(__tstate);
3204 if (PyErr_Occurred()) SWIG_fail;
3205 }
3206 {
3207 resultobj = wxPyMake_wxObject(result);
3208 }
3209 {
3210 if (temp5)
3211 delete arg5;
3212 }
3213 return resultobj;
3214 fail:
3215 {
3216 if (temp5)
3217 delete arg5;
3218 }
3219 return NULL;
3220 }
3221
3222
3223 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3224 PyObject *resultobj;
3225 wxFrame *arg1 = (wxFrame *) 0 ;
3226 wxStatusBar *result;
3227 PyObject * obj0 = 0 ;
3228 char *kwnames[] = {
3229 (char *) "self", NULL
3230 };
3231
3232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3234 {
3235 PyThreadState* __tstate = wxPyBeginAllowThreads();
3236 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3237
3238 wxPyEndAllowThreads(__tstate);
3239 if (PyErr_Occurred()) SWIG_fail;
3240 }
3241 {
3242 resultobj = wxPyMake_wxObject(result);
3243 }
3244 return resultobj;
3245 fail:
3246 return NULL;
3247 }
3248
3249
3250 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject *resultobj;
3252 wxFrame *arg1 = (wxFrame *) 0 ;
3253 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3254 PyObject * obj0 = 0 ;
3255 PyObject * obj1 = 0 ;
3256 char *kwnames[] = {
3257 (char *) "self",(char *) "statBar", NULL
3258 };
3259
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3263 {
3264 PyThreadState* __tstate = wxPyBeginAllowThreads();
3265 (arg1)->SetStatusBar(arg2);
3266
3267 wxPyEndAllowThreads(__tstate);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 Py_INCREF(Py_None); resultobj = Py_None;
3271 return resultobj;
3272 fail:
3273 return NULL;
3274 }
3275
3276
3277 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3278 PyObject *resultobj;
3279 wxFrame *arg1 = (wxFrame *) 0 ;
3280 wxString *arg2 = 0 ;
3281 int arg3 = (int) 0 ;
3282 bool temp2 = False ;
3283 PyObject * obj0 = 0 ;
3284 PyObject * obj1 = 0 ;
3285 PyObject * obj2 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "self",(char *) "text",(char *) "number", NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3292 {
3293 arg2 = wxString_in_helper(obj1);
3294 if (arg2 == NULL) SWIG_fail;
3295 temp2 = True;
3296 }
3297 if (obj2) {
3298 {
3299 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
3302 }
3303 {
3304 PyThreadState* __tstate = wxPyBeginAllowThreads();
3305 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3306
3307 wxPyEndAllowThreads(__tstate);
3308 if (PyErr_Occurred()) SWIG_fail;
3309 }
3310 Py_INCREF(Py_None); resultobj = Py_None;
3311 {
3312 if (temp2)
3313 delete arg2;
3314 }
3315 return resultobj;
3316 fail:
3317 {
3318 if (temp2)
3319 delete arg2;
3320 }
3321 return NULL;
3322 }
3323
3324
3325 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3326 PyObject *resultobj;
3327 wxFrame *arg1 = (wxFrame *) 0 ;
3328 int arg2 ;
3329 int *arg3 = (int *) 0 ;
3330 PyObject * obj0 = 0 ;
3331 PyObject * obj1 = 0 ;
3332 char *kwnames[] = {
3333 (char *) "self",(char *) "widths", NULL
3334 };
3335
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3338 {
3339 arg2 = PyList_Size(obj1);
3340 arg3 = int_LIST_helper(obj1);
3341 if (arg3 == NULL) SWIG_fail;
3342 }
3343 {
3344 PyThreadState* __tstate = wxPyBeginAllowThreads();
3345 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3346
3347 wxPyEndAllowThreads(__tstate);
3348 if (PyErr_Occurred()) SWIG_fail;
3349 }
3350 Py_INCREF(Py_None); resultobj = Py_None;
3351 {
3352 if (arg3) delete [] arg3;
3353 }
3354 return resultobj;
3355 fail:
3356 {
3357 if (arg3) delete [] arg3;
3358 }
3359 return NULL;
3360 }
3361
3362
3363 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3364 PyObject *resultobj;
3365 wxFrame *arg1 = (wxFrame *) 0 ;
3366 wxString *arg2 = 0 ;
3367 int arg3 = (int) 0 ;
3368 bool temp2 = False ;
3369 PyObject * obj0 = 0 ;
3370 PyObject * obj1 = 0 ;
3371 PyObject * obj2 = 0 ;
3372 char *kwnames[] = {
3373 (char *) "self",(char *) "text",(char *) "number", NULL
3374 };
3375
3376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3378 {
3379 arg2 = wxString_in_helper(obj1);
3380 if (arg2 == NULL) SWIG_fail;
3381 temp2 = True;
3382 }
3383 if (obj2) {
3384 {
3385 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3386 if (PyErr_Occurred()) SWIG_fail;
3387 }
3388 }
3389 {
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
3391 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3392
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 Py_INCREF(Py_None); resultobj = Py_None;
3397 {
3398 if (temp2)
3399 delete arg2;
3400 }
3401 return resultobj;
3402 fail:
3403 {
3404 if (temp2)
3405 delete arg2;
3406 }
3407 return NULL;
3408 }
3409
3410
3411 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3412 PyObject *resultobj;
3413 wxFrame *arg1 = (wxFrame *) 0 ;
3414 int arg2 = (int) 0 ;
3415 PyObject * obj0 = 0 ;
3416 PyObject * obj1 = 0 ;
3417 char *kwnames[] = {
3418 (char *) "self",(char *) "number", NULL
3419 };
3420
3421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3423 if (obj1) {
3424 {
3425 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3426 if (PyErr_Occurred()) SWIG_fail;
3427 }
3428 }
3429 {
3430 PyThreadState* __tstate = wxPyBeginAllowThreads();
3431 (arg1)->PopStatusText(arg2);
3432
3433 wxPyEndAllowThreads(__tstate);
3434 if (PyErr_Occurred()) SWIG_fail;
3435 }
3436 Py_INCREF(Py_None); resultobj = Py_None;
3437 return resultobj;
3438 fail:
3439 return NULL;
3440 }
3441
3442
3443 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3444 PyObject *resultobj;
3445 wxFrame *arg1 = (wxFrame *) 0 ;
3446 int arg2 ;
3447 PyObject * obj0 = 0 ;
3448 PyObject * obj1 = 0 ;
3449 char *kwnames[] = {
3450 (char *) "self",(char *) "n", NULL
3451 };
3452
3453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3455 {
3456 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3457 if (PyErr_Occurred()) SWIG_fail;
3458 }
3459 {
3460 PyThreadState* __tstate = wxPyBeginAllowThreads();
3461 (arg1)->SetStatusBarPane(arg2);
3462
3463 wxPyEndAllowThreads(__tstate);
3464 if (PyErr_Occurred()) SWIG_fail;
3465 }
3466 Py_INCREF(Py_None); resultobj = Py_None;
3467 return resultobj;
3468 fail:
3469 return NULL;
3470 }
3471
3472
3473 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3474 PyObject *resultobj;
3475 wxFrame *arg1 = (wxFrame *) 0 ;
3476 int result;
3477 PyObject * obj0 = 0 ;
3478 char *kwnames[] = {
3479 (char *) "self", NULL
3480 };
3481
3482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3484 {
3485 PyThreadState* __tstate = wxPyBeginAllowThreads();
3486 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3487
3488 wxPyEndAllowThreads(__tstate);
3489 if (PyErr_Occurred()) SWIG_fail;
3490 }
3491 resultobj = SWIG_PyObj_FromInt((int)result);
3492 return resultobj;
3493 fail:
3494 return NULL;
3495 }
3496
3497
3498 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3499 PyObject *resultobj;
3500 wxFrame *arg1 = (wxFrame *) 0 ;
3501 long arg2 = (long) -1 ;
3502 int arg3 = (int) -1 ;
3503 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3504 wxString *arg4 = (wxString *) &arg4_defvalue ;
3505 wxToolBar *result;
3506 bool temp4 = False ;
3507 PyObject * obj0 = 0 ;
3508 PyObject * obj1 = 0 ;
3509 PyObject * obj2 = 0 ;
3510 PyObject * obj3 = 0 ;
3511 char *kwnames[] = {
3512 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3513 };
3514
3515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3517 if (obj1) {
3518 {
3519 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3520 if (PyErr_Occurred()) SWIG_fail;
3521 }
3522 }
3523 if (obj2) {
3524 {
3525 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 }
3528 }
3529 if (obj3) {
3530 {
3531 arg4 = wxString_in_helper(obj3);
3532 if (arg4 == NULL) SWIG_fail;
3533 temp4 = True;
3534 }
3535 }
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 {
3544 resultobj = wxPyMake_wxObject(result);
3545 }
3546 {
3547 if (temp4)
3548 delete arg4;
3549 }
3550 return resultobj;
3551 fail:
3552 {
3553 if (temp4)
3554 delete arg4;
3555 }
3556 return NULL;
3557 }
3558
3559
3560 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3561 PyObject *resultobj;
3562 wxFrame *arg1 = (wxFrame *) 0 ;
3563 wxToolBar *result;
3564 PyObject * obj0 = 0 ;
3565 char *kwnames[] = {
3566 (char *) "self", NULL
3567 };
3568
3569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3571 {
3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
3573 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3574
3575 wxPyEndAllowThreads(__tstate);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
3578 {
3579 resultobj = wxPyMake_wxObject(result);
3580 }
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj;
3589 wxFrame *arg1 = (wxFrame *) 0 ;
3590 wxToolBar *arg2 = (wxToolBar *) 0 ;
3591 PyObject * obj0 = 0 ;
3592 PyObject * obj1 = 0 ;
3593 char *kwnames[] = {
3594 (char *) "self",(char *) "toolbar", NULL
3595 };
3596
3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
3602 (arg1)->SetToolBar(arg2);
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
3607 Py_INCREF(Py_None); resultobj = Py_None;
3608 return resultobj;
3609 fail:
3610 return NULL;
3611 }
3612
3613
3614 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3615 PyObject *resultobj;
3616 wxFrame *arg1 = (wxFrame *) 0 ;
3617 wxString *arg2 = 0 ;
3618 bool arg3 ;
3619 bool temp2 = False ;
3620 PyObject * obj0 = 0 ;
3621 PyObject * obj1 = 0 ;
3622 PyObject * obj2 = 0 ;
3623 char *kwnames[] = {
3624 (char *) "self",(char *) "text",(char *) "show", NULL
3625 };
3626
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3629 {
3630 arg2 = wxString_in_helper(obj1);
3631 if (arg2 == NULL) SWIG_fail;
3632 temp2 = True;
3633 }
3634 {
3635 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3636 if (PyErr_Occurred()) SWIG_fail;
3637 }
3638 {
3639 PyThreadState* __tstate = wxPyBeginAllowThreads();
3640 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3641
3642 wxPyEndAllowThreads(__tstate);
3643 if (PyErr_Occurred()) SWIG_fail;
3644 }
3645 Py_INCREF(Py_None); resultobj = Py_None;
3646 {
3647 if (temp2)
3648 delete arg2;
3649 }
3650 return resultobj;
3651 fail:
3652 {
3653 if (temp2)
3654 delete arg2;
3655 }
3656 return NULL;
3657 }
3658
3659
3660 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3661 PyObject *resultobj;
3662 wxFrame *arg1 = (wxFrame *) 0 ;
3663 wxMenu *arg2 = (wxMenu *) NULL ;
3664 PyObject * obj0 = 0 ;
3665 PyObject * obj1 = 0 ;
3666 char *kwnames[] = {
3667 (char *) "self",(char *) "menu", NULL
3668 };
3669
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3672 if (obj1) {
3673 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3674 }
3675 {
3676 PyThreadState* __tstate = wxPyBeginAllowThreads();
3677 (arg1)->DoMenuUpdates(arg2);
3678
3679 wxPyEndAllowThreads(__tstate);
3680 if (PyErr_Occurred()) SWIG_fail;
3681 }
3682 Py_INCREF(Py_None); resultobj = Py_None;
3683 return resultobj;
3684 fail:
3685 return NULL;
3686 }
3687
3688
3689 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3690 PyObject *obj;
3691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3692 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3693 Py_INCREF(obj);
3694 return Py_BuildValue((char *)"");
3695 }
3696 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3697 PyObject *resultobj;
3698 wxWindow *arg1 = (wxWindow *) 0 ;
3699 int arg2 ;
3700 wxString *arg3 = 0 ;
3701 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3702 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3703 wxSize const &arg5_defvalue = wxDefaultSize ;
3704 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3705 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3706 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3707 wxString *arg7 = (wxString *) &arg7_defvalue ;
3708 wxDialog *result;
3709 bool temp3 = False ;
3710 wxPoint temp4 ;
3711 wxSize temp5 ;
3712 bool temp7 = False ;
3713 PyObject * obj0 = 0 ;
3714 PyObject * obj1 = 0 ;
3715 PyObject * obj2 = 0 ;
3716 PyObject * obj3 = 0 ;
3717 PyObject * obj4 = 0 ;
3718 PyObject * obj5 = 0 ;
3719 PyObject * obj6 = 0 ;
3720 char *kwnames[] = {
3721 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3722 };
3723
3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3726 {
3727 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 {
3731 arg3 = wxString_in_helper(obj2);
3732 if (arg3 == NULL) SWIG_fail;
3733 temp3 = True;
3734 }
3735 if (obj3) {
3736 {
3737 arg4 = &temp4;
3738 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3739 }
3740 }
3741 if (obj4) {
3742 {
3743 arg5 = &temp5;
3744 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3745 }
3746 }
3747 if (obj5) {
3748 {
3749 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 }
3753 if (obj6) {
3754 {
3755 arg7 = wxString_in_helper(obj6);
3756 if (arg7 == NULL) SWIG_fail;
3757 temp7 = True;
3758 }
3759 }
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3763
3764 wxPyEndAllowThreads(__tstate);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
3767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3768 {
3769 if (temp3)
3770 delete arg3;
3771 }
3772 {
3773 if (temp7)
3774 delete arg7;
3775 }
3776 return resultobj;
3777 fail:
3778 {
3779 if (temp3)
3780 delete arg3;
3781 }
3782 {
3783 if (temp7)
3784 delete arg7;
3785 }
3786 return NULL;
3787 }
3788
3789
3790 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3791 PyObject *resultobj;
3792 wxDialog *result;
3793 char *kwnames[] = {
3794 NULL
3795 };
3796
3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3798 {
3799 PyThreadState* __tstate = wxPyBeginAllowThreads();
3800 result = (wxDialog *)new wxDialog();
3801
3802 wxPyEndAllowThreads(__tstate);
3803 if (PyErr_Occurred()) SWIG_fail;
3804 }
3805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3806 return resultobj;
3807 fail:
3808 return NULL;
3809 }
3810
3811
3812 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3813 PyObject *resultobj;
3814 wxDialog *arg1 = (wxDialog *) 0 ;
3815 wxWindow *arg2 = (wxWindow *) 0 ;
3816 int arg3 ;
3817 wxString *arg4 = 0 ;
3818 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3819 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3820 wxSize const &arg6_defvalue = wxDefaultSize ;
3821 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3822 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3823 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3824 wxString *arg8 = (wxString *) &arg8_defvalue ;
3825 bool result;
3826 bool temp4 = False ;
3827 wxPoint temp5 ;
3828 wxSize temp6 ;
3829 bool temp8 = False ;
3830 PyObject * obj0 = 0 ;
3831 PyObject * obj1 = 0 ;
3832 PyObject * obj2 = 0 ;
3833 PyObject * obj3 = 0 ;
3834 PyObject * obj4 = 0 ;
3835 PyObject * obj5 = 0 ;
3836 PyObject * obj6 = 0 ;
3837 PyObject * obj7 = 0 ;
3838 char *kwnames[] = {
3839 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3840 };
3841
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3844 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3845 {
3846 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
3849 {
3850 arg4 = wxString_in_helper(obj3);
3851 if (arg4 == NULL) SWIG_fail;
3852 temp4 = True;
3853 }
3854 if (obj4) {
3855 {
3856 arg5 = &temp5;
3857 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3858 }
3859 }
3860 if (obj5) {
3861 {
3862 arg6 = &temp6;
3863 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3864 }
3865 }
3866 if (obj6) {
3867 {
3868 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 }
3872 if (obj7) {
3873 {
3874 arg8 = wxString_in_helper(obj7);
3875 if (arg8 == NULL) SWIG_fail;
3876 temp8 = True;
3877 }
3878 }
3879 {
3880 PyThreadState* __tstate = wxPyBeginAllowThreads();
3881 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3882
3883 wxPyEndAllowThreads(__tstate);
3884 if (PyErr_Occurred()) SWIG_fail;
3885 }
3886 resultobj = SWIG_PyObj_FromBool((bool)result);
3887 {
3888 if (temp4)
3889 delete arg4;
3890 }
3891 {
3892 if (temp8)
3893 delete arg8;
3894 }
3895 return resultobj;
3896 fail:
3897 {
3898 if (temp4)
3899 delete arg4;
3900 }
3901 {
3902 if (temp8)
3903 delete arg8;
3904 }
3905 return NULL;
3906 }
3907
3908
3909 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3910 PyObject *resultobj;
3911 wxDialog *arg1 = (wxDialog *) 0 ;
3912 int arg2 ;
3913 PyObject * obj0 = 0 ;
3914 PyObject * obj1 = 0 ;
3915 char *kwnames[] = {
3916 (char *) "self",(char *) "returnCode", NULL
3917 };
3918
3919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
3920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3921 {
3922 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3923 if (PyErr_Occurred()) SWIG_fail;
3924 }
3925 {
3926 PyThreadState* __tstate = wxPyBeginAllowThreads();
3927 (arg1)->SetReturnCode(arg2);
3928
3929 wxPyEndAllowThreads(__tstate);
3930 if (PyErr_Occurred()) SWIG_fail;
3931 }
3932 Py_INCREF(Py_None); resultobj = Py_None;
3933 return resultobj;
3934 fail:
3935 return NULL;
3936 }
3937
3938
3939 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3940 PyObject *resultobj;
3941 wxDialog *arg1 = (wxDialog *) 0 ;
3942 int result;
3943 PyObject * obj0 = 0 ;
3944 char *kwnames[] = {
3945 (char *) "self", NULL
3946 };
3947
3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3950 {
3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
3952 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3953
3954 wxPyEndAllowThreads(__tstate);
3955 if (PyErr_Occurred()) SWIG_fail;
3956 }
3957 resultobj = SWIG_PyObj_FromInt((int)result);
3958 return resultobj;
3959 fail:
3960 return NULL;
3961 }
3962
3963
3964 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3965 PyObject *resultobj;
3966 wxDialog *arg1 = (wxDialog *) 0 ;
3967 wxString *arg2 = 0 ;
3968 wxSizer *result;
3969 bool temp2 = False ;
3970 PyObject * obj0 = 0 ;
3971 PyObject * obj1 = 0 ;
3972 char *kwnames[] = {
3973 (char *) "self",(char *) "message", NULL
3974 };
3975
3976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3978 {
3979 arg2 = wxString_in_helper(obj1);
3980 if (arg2 == NULL) SWIG_fail;
3981 temp2 = True;
3982 }
3983 {
3984 PyThreadState* __tstate = wxPyBeginAllowThreads();
3985 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3986
3987 wxPyEndAllowThreads(__tstate);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 }
3990 {
3991 resultobj = wxPyMake_wxSizer(result);
3992 }
3993 {
3994 if (temp2)
3995 delete arg2;
3996 }
3997 return resultobj;
3998 fail:
3999 {
4000 if (temp2)
4001 delete arg2;
4002 }
4003 return NULL;
4004 }
4005
4006
4007 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4008 PyObject *resultobj;
4009 wxDialog *arg1 = (wxDialog *) 0 ;
4010 long arg2 ;
4011 wxSizer *result;
4012 PyObject * obj0 = 0 ;
4013 PyObject * obj1 = 0 ;
4014 char *kwnames[] = {
4015 (char *) "self",(char *) "flags", NULL
4016 };
4017
4018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4020 {
4021 arg2 = (long) SWIG_PyObj_AsLong(obj1);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4027
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 {
4032 resultobj = wxPyMake_wxSizer(result);
4033 }
4034 return resultobj;
4035 fail:
4036 return NULL;
4037 }
4038
4039
4040 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4041 PyObject *resultobj;
4042 wxDialog *arg1 = (wxDialog *) 0 ;
4043 bool result;
4044 PyObject * obj0 = 0 ;
4045 char *kwnames[] = {
4046 (char *) "self", NULL
4047 };
4048
4049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4051 {
4052 PyThreadState* __tstate = wxPyBeginAllowThreads();
4053 result = (bool)((wxDialog const *)arg1)->IsModal();
4054
4055 wxPyEndAllowThreads(__tstate);
4056 if (PyErr_Occurred()) SWIG_fail;
4057 }
4058 resultobj = SWIG_PyObj_FromBool((bool)result);
4059 return resultobj;
4060 fail:
4061 return NULL;
4062 }
4063
4064
4065 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4066 PyObject *resultobj;
4067 wxDialog *arg1 = (wxDialog *) 0 ;
4068 int result;
4069 PyObject * obj0 = 0 ;
4070 char *kwnames[] = {
4071 (char *) "self", NULL
4072 };
4073
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4076 {
4077 PyThreadState* __tstate = wxPyBeginAllowThreads();
4078 result = (int)(arg1)->ShowModal();
4079
4080 wxPyEndAllowThreads(__tstate);
4081 if (PyErr_Occurred()) SWIG_fail;
4082 }
4083 resultobj = SWIG_PyObj_FromInt((int)result);
4084 return resultobj;
4085 fail:
4086 return NULL;
4087 }
4088
4089
4090 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4091 PyObject *resultobj;
4092 wxDialog *arg1 = (wxDialog *) 0 ;
4093 int arg2 ;
4094 PyObject * obj0 = 0 ;
4095 PyObject * obj1 = 0 ;
4096 char *kwnames[] = {
4097 (char *) "self",(char *) "retCode", NULL
4098 };
4099
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4102 {
4103 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4104 if (PyErr_Occurred()) SWIG_fail;
4105 }
4106 {
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 (arg1)->EndModal(arg2);
4109
4110 wxPyEndAllowThreads(__tstate);
4111 if (PyErr_Occurred()) SWIG_fail;
4112 }
4113 Py_INCREF(Py_None); resultobj = Py_None;
4114 return resultobj;
4115 fail:
4116 return NULL;
4117 }
4118
4119
4120 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4121 PyObject *resultobj;
4122 wxDialog *arg1 = (wxDialog *) 0 ;
4123 bool result;
4124 PyObject * obj0 = 0 ;
4125 char *kwnames[] = {
4126 (char *) "self", NULL
4127 };
4128
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4131 {
4132 PyThreadState* __tstate = wxPyBeginAllowThreads();
4133 result = (bool)wxDialog_IsModalShowing(arg1);
4134
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 resultobj = SWIG_PyObj_FromBool((bool)result);
4139 return resultobj;
4140 fail:
4141 return NULL;
4142 }
4143
4144
4145 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4146 PyObject *obj;
4147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4148 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4149 Py_INCREF(obj);
4150 return Py_BuildValue((char *)"");
4151 }
4152 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4153 PyObject *resultobj;
4154 wxWindow *arg1 = (wxWindow *) 0 ;
4155 int arg2 ;
4156 wxString *arg3 = 0 ;
4157 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4158 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4159 wxSize const &arg5_defvalue = wxDefaultSize ;
4160 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4161 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4162 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4163 wxString *arg7 = (wxString *) &arg7_defvalue ;
4164 wxMiniFrame *result;
4165 bool temp3 = False ;
4166 wxPoint temp4 ;
4167 wxSize temp5 ;
4168 bool temp7 = False ;
4169 PyObject * obj0 = 0 ;
4170 PyObject * obj1 = 0 ;
4171 PyObject * obj2 = 0 ;
4172 PyObject * obj3 = 0 ;
4173 PyObject * obj4 = 0 ;
4174 PyObject * obj5 = 0 ;
4175 PyObject * obj6 = 0 ;
4176 char *kwnames[] = {
4177 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4178 };
4179
4180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4182 {
4183 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
4186 {
4187 arg3 = wxString_in_helper(obj2);
4188 if (arg3 == NULL) SWIG_fail;
4189 temp3 = True;
4190 }
4191 if (obj3) {
4192 {
4193 arg4 = &temp4;
4194 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4195 }
4196 }
4197 if (obj4) {
4198 {
4199 arg5 = &temp5;
4200 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4201 }
4202 }
4203 if (obj5) {
4204 {
4205 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4206 if (PyErr_Occurred()) SWIG_fail;
4207 }
4208 }
4209 if (obj6) {
4210 {
4211 arg7 = wxString_in_helper(obj6);
4212 if (arg7 == NULL) SWIG_fail;
4213 temp7 = True;
4214 }
4215 }
4216 {
4217 PyThreadState* __tstate = wxPyBeginAllowThreads();
4218 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4219
4220 wxPyEndAllowThreads(__tstate);
4221 if (PyErr_Occurred()) SWIG_fail;
4222 }
4223 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4224 {
4225 if (temp3)
4226 delete arg3;
4227 }
4228 {
4229 if (temp7)
4230 delete arg7;
4231 }
4232 return resultobj;
4233 fail:
4234 {
4235 if (temp3)
4236 delete arg3;
4237 }
4238 {
4239 if (temp7)
4240 delete arg7;
4241 }
4242 return NULL;
4243 }
4244
4245
4246 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4247 PyObject *resultobj;
4248 wxMiniFrame *result;
4249 char *kwnames[] = {
4250 NULL
4251 };
4252
4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4254 {
4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
4256 result = (wxMiniFrame *)new wxMiniFrame();
4257
4258 wxPyEndAllowThreads(__tstate);
4259 if (PyErr_Occurred()) SWIG_fail;
4260 }
4261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4262 return resultobj;
4263 fail:
4264 return NULL;
4265 }
4266
4267
4268 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4269 PyObject *resultobj;
4270 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4271 wxWindow *arg2 = (wxWindow *) 0 ;
4272 int arg3 ;
4273 wxString *arg4 = 0 ;
4274 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4275 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4276 wxSize const &arg6_defvalue = wxDefaultSize ;
4277 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4278 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4279 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4280 wxString *arg8 = (wxString *) &arg8_defvalue ;
4281 bool result;
4282 bool temp4 = False ;
4283 wxPoint temp5 ;
4284 wxSize temp6 ;
4285 bool temp8 = False ;
4286 PyObject * obj0 = 0 ;
4287 PyObject * obj1 = 0 ;
4288 PyObject * obj2 = 0 ;
4289 PyObject * obj3 = 0 ;
4290 PyObject * obj4 = 0 ;
4291 PyObject * obj5 = 0 ;
4292 PyObject * obj6 = 0 ;
4293 PyObject * obj7 = 0 ;
4294 char *kwnames[] = {
4295 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4296 };
4297
4298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4301 {
4302 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
4303 if (PyErr_Occurred()) SWIG_fail;
4304 }
4305 {
4306 arg4 = wxString_in_helper(obj3);
4307 if (arg4 == NULL) SWIG_fail;
4308 temp4 = True;
4309 }
4310 if (obj4) {
4311 {
4312 arg5 = &temp5;
4313 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4314 }
4315 }
4316 if (obj5) {
4317 {
4318 arg6 = &temp6;
4319 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4320 }
4321 }
4322 if (obj6) {
4323 {
4324 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4325 if (PyErr_Occurred()) SWIG_fail;
4326 }
4327 }
4328 if (obj7) {
4329 {
4330 arg8 = wxString_in_helper(obj7);
4331 if (arg8 == NULL) SWIG_fail;
4332 temp8 = True;
4333 }
4334 }
4335 {
4336 PyThreadState* __tstate = wxPyBeginAllowThreads();
4337 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4338
4339 wxPyEndAllowThreads(__tstate);
4340 if (PyErr_Occurred()) SWIG_fail;
4341 }
4342 resultobj = SWIG_PyObj_FromBool((bool)result);
4343 {
4344 if (temp4)
4345 delete arg4;
4346 }
4347 {
4348 if (temp8)
4349 delete arg8;
4350 }
4351 return resultobj;
4352 fail:
4353 {
4354 if (temp4)
4355 delete arg4;
4356 }
4357 {
4358 if (temp8)
4359 delete arg8;
4360 }
4361 return NULL;
4362 }
4363
4364
4365 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4366 PyObject *obj;
4367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4368 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4369 Py_INCREF(obj);
4370 return Py_BuildValue((char *)"");
4371 }
4372 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4373 PyObject *resultobj;
4374 wxBitmap *arg1 = 0 ;
4375 wxWindow *arg2 = (wxWindow *) 0 ;
4376 int arg3 ;
4377 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4378 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4379 wxSize const &arg5_defvalue = wxDefaultSize ;
4380 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4381 long arg6 = (long) wxNO_BORDER ;
4382 wxSplashScreenWindow *result;
4383 wxPoint temp4 ;
4384 wxSize temp5 ;
4385 PyObject * obj0 = 0 ;
4386 PyObject * obj1 = 0 ;
4387 PyObject * obj2 = 0 ;
4388 PyObject * obj3 = 0 ;
4389 PyObject * obj4 = 0 ;
4390 PyObject * obj5 = 0 ;
4391 char *kwnames[] = {
4392 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4393 };
4394
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4397 if (arg1 == NULL) {
4398 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4399 }
4400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4401 {
4402 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4403 if (PyErr_Occurred()) SWIG_fail;
4404 }
4405 if (obj3) {
4406 {
4407 arg4 = &temp4;
4408 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4409 }
4410 }
4411 if (obj4) {
4412 {
4413 arg5 = &temp5;
4414 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4415 }
4416 }
4417 if (obj5) {
4418 {
4419 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 }
4422 }
4423 {
4424 PyThreadState* __tstate = wxPyBeginAllowThreads();
4425 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4426
4427 wxPyEndAllowThreads(__tstate);
4428 if (PyErr_Occurred()) SWIG_fail;
4429 }
4430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4431 return resultobj;
4432 fail:
4433 return NULL;
4434 }
4435
4436
4437 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4438 PyObject *resultobj;
4439 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4440 wxBitmap *arg2 = 0 ;
4441 PyObject * obj0 = 0 ;
4442 PyObject * obj1 = 0 ;
4443 char *kwnames[] = {
4444 (char *) "self",(char *) "bitmap", NULL
4445 };
4446
4447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4450 if (arg2 == NULL) {
4451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4452 }
4453 {
4454 PyThreadState* __tstate = wxPyBeginAllowThreads();
4455 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4456
4457 wxPyEndAllowThreads(__tstate);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 Py_INCREF(Py_None); resultobj = Py_None;
4461 return resultobj;
4462 fail:
4463 return NULL;
4464 }
4465
4466
4467 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4468 PyObject *resultobj;
4469 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4470 wxBitmap *result;
4471 PyObject * obj0 = 0 ;
4472 char *kwnames[] = {
4473 (char *) "self", NULL
4474 };
4475
4476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4478 {
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 {
4481 wxBitmap &_result_ref = (arg1)->GetBitmap();
4482 result = (wxBitmap *) &_result_ref;
4483 }
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4489 return resultobj;
4490 fail:
4491 return NULL;
4492 }
4493
4494
4495 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4496 PyObject *obj;
4497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4498 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4499 Py_INCREF(obj);
4500 return Py_BuildValue((char *)"");
4501 }
4502 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4503 PyObject *resultobj;
4504 wxBitmap *arg1 = 0 ;
4505 long arg2 ;
4506 int arg3 ;
4507 wxWindow *arg4 = (wxWindow *) 0 ;
4508 int arg5 ;
4509 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4510 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4511 wxSize const &arg7_defvalue = wxDefaultSize ;
4512 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4513 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4514 wxSplashScreen *result;
4515 wxPoint temp6 ;
4516 wxSize temp7 ;
4517 PyObject * obj0 = 0 ;
4518 PyObject * obj1 = 0 ;
4519 PyObject * obj2 = 0 ;
4520 PyObject * obj3 = 0 ;
4521 PyObject * obj4 = 0 ;
4522 PyObject * obj5 = 0 ;
4523 PyObject * obj6 = 0 ;
4524 PyObject * obj7 = 0 ;
4525 char *kwnames[] = {
4526 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4527 };
4528
4529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4531 if (arg1 == NULL) {
4532 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4533 }
4534 {
4535 arg2 = (long) SWIG_PyObj_AsLong(obj1);
4536 if (PyErr_Occurred()) SWIG_fail;
4537 }
4538 {
4539 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 }
4542 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4543 {
4544 arg5 = (int) SWIG_PyObj_AsInt(obj4);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
4547 if (obj5) {
4548 {
4549 arg6 = &temp6;
4550 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4551 }
4552 }
4553 if (obj6) {
4554 {
4555 arg7 = &temp7;
4556 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4557 }
4558 }
4559 if (obj7) {
4560 {
4561 arg8 = (long) SWIG_PyObj_AsLong(obj7);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
4564 }
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4568
4569 wxPyEndAllowThreads(__tstate);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4573 return resultobj;
4574 fail:
4575 return NULL;
4576 }
4577
4578
4579 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj;
4581 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4582 long result;
4583 PyObject * obj0 = 0 ;
4584 char *kwnames[] = {
4585 (char *) "self", NULL
4586 };
4587
4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4590 {
4591 PyThreadState* __tstate = wxPyBeginAllowThreads();
4592 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4593
4594 wxPyEndAllowThreads(__tstate);
4595 if (PyErr_Occurred()) SWIG_fail;
4596 }
4597 resultobj = SWIG_PyObj_FromLong((long)result);
4598 return resultobj;
4599 fail:
4600 return NULL;
4601 }
4602
4603
4604 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4605 PyObject *resultobj;
4606 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4607 wxSplashScreenWindow *result;
4608 PyObject * obj0 = 0 ;
4609 char *kwnames[] = {
4610 (char *) "self", NULL
4611 };
4612
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4618
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4622 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4623 return resultobj;
4624 fail:
4625 return NULL;
4626 }
4627
4628
4629 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4630 PyObject *resultobj;
4631 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4632 int result;
4633 PyObject * obj0 = 0 ;
4634 char *kwnames[] = {
4635 (char *) "self", NULL
4636 };
4637
4638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4640 {
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4643
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 resultobj = SWIG_PyObj_FromInt((int)result);
4648 return resultobj;
4649 fail:
4650 return NULL;
4651 }
4652
4653
4654 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4655 PyObject *obj;
4656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4658 Py_INCREF(obj);
4659 return Py_BuildValue((char *)"");
4660 }
4661 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4662 PyObject *resultobj;
4663 wxWindow *arg1 = (wxWindow *) 0 ;
4664 int arg2 = (int) -1 ;
4665 long arg3 = (long) wxST_SIZEGRIP ;
4666 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4667 wxString *arg4 = (wxString *) &arg4_defvalue ;
4668 wxStatusBar *result;
4669 bool temp4 = False ;
4670 PyObject * obj0 = 0 ;
4671 PyObject * obj1 = 0 ;
4672 PyObject * obj2 = 0 ;
4673 PyObject * obj3 = 0 ;
4674 char *kwnames[] = {
4675 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4680 if (obj1) {
4681 {
4682 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4683 if (PyErr_Occurred()) SWIG_fail;
4684 }
4685 }
4686 if (obj2) {
4687 {
4688 arg3 = (long) SWIG_PyObj_AsLong(obj2);
4689 if (PyErr_Occurred()) SWIG_fail;
4690 }
4691 }
4692 if (obj3) {
4693 {
4694 arg4 = wxString_in_helper(obj3);
4695 if (arg4 == NULL) SWIG_fail;
4696 temp4 = True;
4697 }
4698 }
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4702
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 {
4707 resultobj = wxPyMake_wxObject(result);
4708 }
4709 {
4710 if (temp4)
4711 delete arg4;
4712 }
4713 return resultobj;
4714 fail:
4715 {
4716 if (temp4)
4717 delete arg4;
4718 }
4719 return NULL;
4720 }
4721
4722
4723 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4724 PyObject *resultobj;
4725 wxStatusBar *result;
4726 char *kwnames[] = {
4727 NULL
4728 };
4729
4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 result = (wxStatusBar *)new wxStatusBar();
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 {
4739 resultobj = wxPyMake_wxObject(result);
4740 }
4741 return resultobj;
4742 fail:
4743 return NULL;
4744 }
4745
4746
4747 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4748 PyObject *resultobj;
4749 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4750 wxWindow *arg2 = (wxWindow *) 0 ;
4751 int arg3 ;
4752 long arg4 = (long) wxST_SIZEGRIP ;
4753 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4754 wxString *arg5 = (wxString *) &arg5_defvalue ;
4755 bool result;
4756 bool temp5 = False ;
4757 PyObject * obj0 = 0 ;
4758 PyObject * obj1 = 0 ;
4759 PyObject * obj2 = 0 ;
4760 PyObject * obj3 = 0 ;
4761 PyObject * obj4 = 0 ;
4762 char *kwnames[] = {
4763 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4764 };
4765
4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4768 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4769 {
4770 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 if (obj3) {
4774 {
4775 arg4 = (long) SWIG_PyObj_AsLong(obj3);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 }
4779 if (obj4) {
4780 {
4781 arg5 = wxString_in_helper(obj4);
4782 if (arg5 == NULL) SWIG_fail;
4783 temp5 = True;
4784 }
4785 }
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 resultobj = SWIG_PyObj_FromBool((bool)result);
4794 {
4795 if (temp5)
4796 delete arg5;
4797 }
4798 return resultobj;
4799 fail:
4800 {
4801 if (temp5)
4802 delete arg5;
4803 }
4804 return NULL;
4805 }
4806
4807
4808 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4809 PyObject *resultobj;
4810 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4811 int arg2 = (int) 1 ;
4812 PyObject * obj0 = 0 ;
4813 PyObject * obj1 = 0 ;
4814 char *kwnames[] = {
4815 (char *) "self",(char *) "number", NULL
4816 };
4817
4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4820 if (obj1) {
4821 {
4822 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
4825 }
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 (arg1)->SetFieldsCount(arg2);
4829
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 Py_INCREF(Py_None); resultobj = Py_None;
4834 return resultobj;
4835 fail:
4836 return NULL;
4837 }
4838
4839
4840 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4841 PyObject *resultobj;
4842 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4843 int result;
4844 PyObject * obj0 = 0 ;
4845 char *kwnames[] = {
4846 (char *) "self", NULL
4847 };
4848
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4851 {
4852 PyThreadState* __tstate = wxPyBeginAllowThreads();
4853 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4854
4855 wxPyEndAllowThreads(__tstate);
4856 if (PyErr_Occurred()) SWIG_fail;
4857 }
4858 resultobj = SWIG_PyObj_FromInt((int)result);
4859 return resultobj;
4860 fail:
4861 return NULL;
4862 }
4863
4864
4865 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4866 PyObject *resultobj;
4867 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4868 wxString *arg2 = 0 ;
4869 int arg3 = (int) 0 ;
4870 bool temp2 = False ;
4871 PyObject * obj0 = 0 ;
4872 PyObject * obj1 = 0 ;
4873 PyObject * obj2 = 0 ;
4874 char *kwnames[] = {
4875 (char *) "self",(char *) "text",(char *) "number", NULL
4876 };
4877
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4880 {
4881 arg2 = wxString_in_helper(obj1);
4882 if (arg2 == NULL) SWIG_fail;
4883 temp2 = True;
4884 }
4885 if (obj2) {
4886 {
4887 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4888 if (PyErr_Occurred()) SWIG_fail;
4889 }
4890 }
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 Py_INCREF(Py_None); resultobj = Py_None;
4899 {
4900 if (temp2)
4901 delete arg2;
4902 }
4903 return resultobj;
4904 fail:
4905 {
4906 if (temp2)
4907 delete arg2;
4908 }
4909 return NULL;
4910 }
4911
4912
4913 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4914 PyObject *resultobj;
4915 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4916 int arg2 = (int) 0 ;
4917 wxString result;
4918 PyObject * obj0 = 0 ;
4919 PyObject * obj1 = 0 ;
4920 char *kwnames[] = {
4921 (char *) "self",(char *) "number", NULL
4922 };
4923
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
4925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4926 if (obj1) {
4927 {
4928 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
4931 }
4932 {
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4935
4936 wxPyEndAllowThreads(__tstate);
4937 if (PyErr_Occurred()) SWIG_fail;
4938 }
4939 {
4940 #if wxUSE_UNICODE
4941 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4942 #else
4943 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4944 #endif
4945 }
4946 return resultobj;
4947 fail:
4948 return NULL;
4949 }
4950
4951
4952 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4953 PyObject *resultobj;
4954 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4955 wxString *arg2 = 0 ;
4956 int arg3 = (int) 0 ;
4957 bool temp2 = False ;
4958 PyObject * obj0 = 0 ;
4959 PyObject * obj1 = 0 ;
4960 PyObject * obj2 = 0 ;
4961 char *kwnames[] = {
4962 (char *) "self",(char *) "text",(char *) "number", NULL
4963 };
4964
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4967 {
4968 arg2 = wxString_in_helper(obj1);
4969 if (arg2 == NULL) SWIG_fail;
4970 temp2 = True;
4971 }
4972 if (obj2) {
4973 {
4974 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4975 if (PyErr_Occurred()) SWIG_fail;
4976 }
4977 }
4978 {
4979 PyThreadState* __tstate = wxPyBeginAllowThreads();
4980 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4981
4982 wxPyEndAllowThreads(__tstate);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 Py_INCREF(Py_None); resultobj = Py_None;
4986 {
4987 if (temp2)
4988 delete arg2;
4989 }
4990 return resultobj;
4991 fail:
4992 {
4993 if (temp2)
4994 delete arg2;
4995 }
4996 return NULL;
4997 }
4998
4999
5000 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj;
5002 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5003 int arg2 = (int) 0 ;
5004 PyObject * obj0 = 0 ;
5005 PyObject * obj1 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self",(char *) "number", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5012 if (obj1) {
5013 {
5014 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
5017 }
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 (arg1)->PopStatusText(arg2);
5021
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 Py_INCREF(Py_None); resultobj = Py_None;
5026 return resultobj;
5027 fail:
5028 return NULL;
5029 }
5030
5031
5032 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5033 PyObject *resultobj;
5034 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5035 int arg2 ;
5036 int *arg3 = (int *) 0 ;
5037 PyObject * obj0 = 0 ;
5038 PyObject * obj1 = 0 ;
5039 char *kwnames[] = {
5040 (char *) "self",(char *) "widths", NULL
5041 };
5042
5043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5045 {
5046 arg2 = PyList_Size(obj1);
5047 arg3 = int_LIST_helper(obj1);
5048 if (arg3 == NULL) SWIG_fail;
5049 }
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5053
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 Py_INCREF(Py_None); resultobj = Py_None;
5058 {
5059 if (arg3) delete [] arg3;
5060 }
5061 return resultobj;
5062 fail:
5063 {
5064 if (arg3) delete [] arg3;
5065 }
5066 return NULL;
5067 }
5068
5069
5070 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5071 PyObject *resultobj;
5072 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5073 int arg2 ;
5074 wxRect result;
5075 PyObject * obj0 = 0 ;
5076 PyObject * obj1 = 0 ;
5077 char *kwnames[] = {
5078 (char *) "self",(char *) "i", NULL
5079 };
5080
5081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5083 {
5084 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 {
5088 PyThreadState* __tstate = wxPyBeginAllowThreads();
5089 result = wxStatusBar_GetFieldRect(arg1,arg2);
5090
5091 wxPyEndAllowThreads(__tstate);
5092 if (PyErr_Occurred()) SWIG_fail;
5093 }
5094 {
5095 wxRect * resultptr;
5096 resultptr = new wxRect((wxRect &) result);
5097 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
5098 }
5099 return resultobj;
5100 fail:
5101 return NULL;
5102 }
5103
5104
5105 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5106 PyObject *resultobj;
5107 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5108 int arg2 ;
5109 PyObject * obj0 = 0 ;
5110 PyObject * obj1 = 0 ;
5111 char *kwnames[] = {
5112 (char *) "self",(char *) "height", NULL
5113 };
5114
5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5117 {
5118 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 {
5122 PyThreadState* __tstate = wxPyBeginAllowThreads();
5123 (arg1)->SetMinHeight(arg2);
5124
5125 wxPyEndAllowThreads(__tstate);
5126 if (PyErr_Occurred()) SWIG_fail;
5127 }
5128 Py_INCREF(Py_None); resultobj = Py_None;
5129 return resultobj;
5130 fail:
5131 return NULL;
5132 }
5133
5134
5135 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5136 PyObject *resultobj;
5137 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5138 int result;
5139 PyObject * obj0 = 0 ;
5140 char *kwnames[] = {
5141 (char *) "self", NULL
5142 };
5143
5144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5146 {
5147 PyThreadState* __tstate = wxPyBeginAllowThreads();
5148 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5149
5150 wxPyEndAllowThreads(__tstate);
5151 if (PyErr_Occurred()) SWIG_fail;
5152 }
5153 resultobj = SWIG_PyObj_FromInt((int)result);
5154 return resultobj;
5155 fail:
5156 return NULL;
5157 }
5158
5159
5160 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5163 int result;
5164 PyObject * obj0 = 0 ;
5165 char *kwnames[] = {
5166 (char *) "self", NULL
5167 };
5168
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5174
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 resultobj = SWIG_PyObj_FromInt((int)result);
5179 return resultobj;
5180 fail:
5181 return NULL;
5182 }
5183
5184
5185 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5186 PyObject *obj;
5187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5188 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5189 Py_INCREF(obj);
5190 return Py_BuildValue((char *)"");
5191 }
5192 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5193 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5194 return 1;
5195 }
5196
5197
5198 static PyObject *_wrap_SplitterNameStr_get() {
5199 PyObject *pyobj;
5200
5201 {
5202 #if wxUSE_UNICODE
5203 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5204 #else
5205 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5206 #endif
5207 }
5208 return pyobj;
5209 }
5210
5211
5212 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5213 PyObject *resultobj;
5214 wxWindow *arg1 = (wxWindow *) 0 ;
5215 int arg2 ;
5216 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5217 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5218 wxSize const &arg4_defvalue = wxDefaultSize ;
5219 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5220 long arg5 = (long) wxSP_3D ;
5221 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5222 wxString *arg6 = (wxString *) &arg6_defvalue ;
5223 wxSplitterWindow *result;
5224 wxPoint temp3 ;
5225 wxSize temp4 ;
5226 bool temp6 = False ;
5227 PyObject * obj0 = 0 ;
5228 PyObject * obj1 = 0 ;
5229 PyObject * obj2 = 0 ;
5230 PyObject * obj3 = 0 ;
5231 PyObject * obj4 = 0 ;
5232 PyObject * obj5 = 0 ;
5233 char *kwnames[] = {
5234 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5235 };
5236
5237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5239 {
5240 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 if (obj2) {
5244 {
5245 arg3 = &temp3;
5246 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5247 }
5248 }
5249 if (obj3) {
5250 {
5251 arg4 = &temp4;
5252 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5253 }
5254 }
5255 if (obj4) {
5256 {
5257 arg5 = (long) SWIG_PyObj_AsLong(obj4);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 }
5261 if (obj5) {
5262 {
5263 arg6 = wxString_in_helper(obj5);
5264 if (arg6 == NULL) SWIG_fail;
5265 temp6 = True;
5266 }
5267 }
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5276 {
5277 if (temp6)
5278 delete arg6;
5279 }
5280 return resultobj;
5281 fail:
5282 {
5283 if (temp6)
5284 delete arg6;
5285 }
5286 return NULL;
5287 }
5288
5289
5290 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject *resultobj;
5292 wxSplitterWindow *result;
5293 char *kwnames[] = {
5294 NULL
5295 };
5296
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 result = (wxSplitterWindow *)new wxSplitterWindow();
5301
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
5305 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5306 return resultobj;
5307 fail:
5308 return NULL;
5309 }
5310
5311
5312 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5313 PyObject *resultobj;
5314 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5315 wxWindow *arg2 = (wxWindow *) 0 ;
5316 int arg3 ;
5317 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5318 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5319 wxSize const &arg5_defvalue = wxDefaultSize ;
5320 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5321 long arg6 = (long) wxSP_3D ;
5322 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5323 wxString *arg7 = (wxString *) &arg7_defvalue ;
5324 bool result;
5325 wxPoint temp4 ;
5326 wxSize temp5 ;
5327 bool temp7 = False ;
5328 PyObject * obj0 = 0 ;
5329 PyObject * obj1 = 0 ;
5330 PyObject * obj2 = 0 ;
5331 PyObject * obj3 = 0 ;
5332 PyObject * obj4 = 0 ;
5333 PyObject * obj5 = 0 ;
5334 PyObject * obj6 = 0 ;
5335 char *kwnames[] = {
5336 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5337 };
5338
5339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5342 {
5343 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 }
5346 if (obj3) {
5347 {
5348 arg4 = &temp4;
5349 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5350 }
5351 }
5352 if (obj4) {
5353 {
5354 arg5 = &temp5;
5355 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5356 }
5357 }
5358 if (obj5) {
5359 {
5360 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5361 if (PyErr_Occurred()) SWIG_fail;
5362 }
5363 }
5364 if (obj6) {
5365 {
5366 arg7 = wxString_in_helper(obj6);
5367 if (arg7 == NULL) SWIG_fail;
5368 temp7 = True;
5369 }
5370 }
5371 {
5372 PyThreadState* __tstate = wxPyBeginAllowThreads();
5373 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5374
5375 wxPyEndAllowThreads(__tstate);
5376 if (PyErr_Occurred()) SWIG_fail;
5377 }
5378 resultobj = SWIG_PyObj_FromBool((bool)result);
5379 {
5380 if (temp7)
5381 delete arg7;
5382 }
5383 return resultobj;
5384 fail:
5385 {
5386 if (temp7)
5387 delete arg7;
5388 }
5389 return NULL;
5390 }
5391
5392
5393 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5396 wxWindow *result;
5397 PyObject * obj0 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "self", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 {
5412 resultobj = wxPyMake_wxObject(result);
5413 }
5414 return resultobj;
5415 fail:
5416 return NULL;
5417 }
5418
5419
5420 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5423 wxWindow *result;
5424 PyObject * obj0 = 0 ;
5425 char *kwnames[] = {
5426 (char *) "self", NULL
5427 };
5428
5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5431 {
5432 PyThreadState* __tstate = wxPyBeginAllowThreads();
5433 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5434
5435 wxPyEndAllowThreads(__tstate);
5436 if (PyErr_Occurred()) SWIG_fail;
5437 }
5438 {
5439 resultobj = wxPyMake_wxObject(result);
5440 }
5441 return resultobj;
5442 fail:
5443 return NULL;
5444 }
5445
5446
5447 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5448 PyObject *resultobj;
5449 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5450 int arg2 ;
5451 PyObject * obj0 = 0 ;
5452 PyObject * obj1 = 0 ;
5453 char *kwnames[] = {
5454 (char *) "self",(char *) "mode", NULL
5455 };
5456
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5459 {
5460 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 (arg1)->SetSplitMode(arg2);
5466
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 Py_INCREF(Py_None); resultobj = Py_None;
5471 return resultobj;
5472 fail:
5473 return NULL;
5474 }
5475
5476
5477 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5478 PyObject *resultobj;
5479 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5480 int result;
5481 PyObject * obj0 = 0 ;
5482 char *kwnames[] = {
5483 (char *) "self", NULL
5484 };
5485
5486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5488 {
5489 PyThreadState* __tstate = wxPyBeginAllowThreads();
5490 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5491
5492 wxPyEndAllowThreads(__tstate);
5493 if (PyErr_Occurred()) SWIG_fail;
5494 }
5495 resultobj = SWIG_PyObj_FromInt((int)result);
5496 return resultobj;
5497 fail:
5498 return NULL;
5499 }
5500
5501
5502 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5503 PyObject *resultobj;
5504 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5505 wxWindow *arg2 = (wxWindow *) 0 ;
5506 PyObject * obj0 = 0 ;
5507 PyObject * obj1 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "self",(char *) "window", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5514 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5515 {
5516 PyThreadState* __tstate = wxPyBeginAllowThreads();
5517 (arg1)->Initialize(arg2);
5518
5519 wxPyEndAllowThreads(__tstate);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 Py_INCREF(Py_None); resultobj = Py_None;
5523 return resultobj;
5524 fail:
5525 return NULL;
5526 }
5527
5528
5529 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5530 PyObject *resultobj;
5531 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5532 wxWindow *arg2 = (wxWindow *) 0 ;
5533 wxWindow *arg3 = (wxWindow *) 0 ;
5534 int arg4 = (int) 0 ;
5535 bool result;
5536 PyObject * obj0 = 0 ;
5537 PyObject * obj1 = 0 ;
5538 PyObject * obj2 = 0 ;
5539 PyObject * obj3 = 0 ;
5540 char *kwnames[] = {
5541 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5542 };
5543
5544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5546 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5547 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5548 if (obj3) {
5549 {
5550 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 }
5554 {
5555 PyThreadState* __tstate = wxPyBeginAllowThreads();
5556 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5557
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
5561 resultobj = SWIG_PyObj_FromBool((bool)result);
5562 return resultobj;
5563 fail:
5564 return NULL;
5565 }
5566
5567
5568 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5569 PyObject *resultobj;
5570 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5571 wxWindow *arg2 = (wxWindow *) 0 ;
5572 wxWindow *arg3 = (wxWindow *) 0 ;
5573 int arg4 = (int) 0 ;
5574 bool result;
5575 PyObject * obj0 = 0 ;
5576 PyObject * obj1 = 0 ;
5577 PyObject * obj2 = 0 ;
5578 PyObject * obj3 = 0 ;
5579 char *kwnames[] = {
5580 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5586 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5587 if (obj3) {
5588 {
5589 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5590 if (PyErr_Occurred()) SWIG_fail;
5591 }
5592 }
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5596
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 resultobj = SWIG_PyObj_FromBool((bool)result);
5601 return resultobj;
5602 fail:
5603 return NULL;
5604 }
5605
5606
5607 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject *resultobj;
5609 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5610 wxWindow *arg2 = (wxWindow *) NULL ;
5611 bool result;
5612 PyObject * obj0 = 0 ;
5613 PyObject * obj1 = 0 ;
5614 char *kwnames[] = {
5615 (char *) "self",(char *) "toRemove", NULL
5616 };
5617
5618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5620 if (obj1) {
5621 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5622 }
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 result = (bool)(arg1)->Unsplit(arg2);
5626
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 resultobj = SWIG_PyObj_FromBool((bool)result);
5631 return resultobj;
5632 fail:
5633 return NULL;
5634 }
5635
5636
5637 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5638 PyObject *resultobj;
5639 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5640 wxWindow *arg2 = (wxWindow *) 0 ;
5641 wxWindow *arg3 = (wxWindow *) 0 ;
5642 bool result;
5643 PyObject * obj0 = 0 ;
5644 PyObject * obj1 = 0 ;
5645 PyObject * obj2 = 0 ;
5646 char *kwnames[] = {
5647 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5653 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5654 {
5655 PyThreadState* __tstate = wxPyBeginAllowThreads();
5656 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5657
5658 wxPyEndAllowThreads(__tstate);
5659 if (PyErr_Occurred()) SWIG_fail;
5660 }
5661 resultobj = SWIG_PyObj_FromBool((bool)result);
5662 return resultobj;
5663 fail:
5664 return NULL;
5665 }
5666
5667
5668 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5669 PyObject *resultobj;
5670 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5671 bool result;
5672 PyObject * obj0 = 0 ;
5673 char *kwnames[] = {
5674 (char *) "self", NULL
5675 };
5676
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5679 {
5680 PyThreadState* __tstate = wxPyBeginAllowThreads();
5681 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5682
5683 wxPyEndAllowThreads(__tstate);
5684 if (PyErr_Occurred()) SWIG_fail;
5685 }
5686 resultobj = SWIG_PyObj_FromBool((bool)result);
5687 return resultobj;
5688 fail:
5689 return NULL;
5690 }
5691
5692
5693 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5694 PyObject *resultobj;
5695 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5696 int arg2 ;
5697 PyObject * obj0 = 0 ;
5698 PyObject * obj1 = 0 ;
5699 char *kwnames[] = {
5700 (char *) "self",(char *) "width", NULL
5701 };
5702
5703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5705 {
5706 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 (arg1)->SetSashSize(arg2);
5712
5713 wxPyEndAllowThreads(__tstate);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
5716 Py_INCREF(Py_None); resultobj = Py_None;
5717 return resultobj;
5718 fail:
5719 return NULL;
5720 }
5721
5722
5723 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5724 PyObject *resultobj;
5725 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5726 int arg2 ;
5727 PyObject * obj0 = 0 ;
5728 PyObject * obj1 = 0 ;
5729 char *kwnames[] = {
5730 (char *) "self",(char *) "width", NULL
5731 };
5732
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5735 {
5736 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 {
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 (arg1)->SetBorderSize(arg2);
5742
5743 wxPyEndAllowThreads(__tstate);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 Py_INCREF(Py_None); resultobj = Py_None;
5747 return resultobj;
5748 fail:
5749 return NULL;
5750 }
5751
5752
5753 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5754 PyObject *resultobj;
5755 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5756 int result;
5757 PyObject * obj0 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "self", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5764 {
5765 PyThreadState* __tstate = wxPyBeginAllowThreads();
5766 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5767
5768 wxPyEndAllowThreads(__tstate);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 }
5771 resultobj = SWIG_PyObj_FromInt((int)result);
5772 return resultobj;
5773 fail:
5774 return NULL;
5775 }
5776
5777
5778 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5779 PyObject *resultobj;
5780 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5781 int result;
5782 PyObject * obj0 = 0 ;
5783 char *kwnames[] = {
5784 (char *) "self", NULL
5785 };
5786
5787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5792
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 resultobj = SWIG_PyObj_FromInt((int)result);
5797 return resultobj;
5798 fail:
5799 return NULL;
5800 }
5801
5802
5803 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5804 PyObject *resultobj;
5805 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5806 int arg2 ;
5807 bool arg3 = (bool) True ;
5808 PyObject * obj0 = 0 ;
5809 PyObject * obj1 = 0 ;
5810 PyObject * obj2 = 0 ;
5811 char *kwnames[] = {
5812 (char *) "self",(char *) "position",(char *) "redraw", NULL
5813 };
5814
5815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
5816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5817 {
5818 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 if (obj2) {
5822 {
5823 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 }
5827 {
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 (arg1)->SetSashPosition(arg2,arg3);
5830
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
5834 Py_INCREF(Py_None); resultobj = Py_None;
5835 return resultobj;
5836 fail:
5837 return NULL;
5838 }
5839
5840
5841 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5842 PyObject *resultobj;
5843 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5844 int result;
5845 PyObject * obj0 = 0 ;
5846 char *kwnames[] = {
5847 (char *) "self", NULL
5848 };
5849
5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5855
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 resultobj = SWIG_PyObj_FromInt((int)result);
5860 return resultobj;
5861 fail:
5862 return NULL;
5863 }
5864
5865
5866 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj;
5868 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5869 int arg2 ;
5870 PyObject * obj0 = 0 ;
5871 PyObject * obj1 = 0 ;
5872 char *kwnames[] = {
5873 (char *) "self",(char *) "min", NULL
5874 };
5875
5876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
5877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5878 {
5879 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
5882 {
5883 PyThreadState* __tstate = wxPyBeginAllowThreads();
5884 (arg1)->SetMinimumPaneSize(arg2);
5885
5886 wxPyEndAllowThreads(__tstate);
5887 if (PyErr_Occurred()) SWIG_fail;
5888 }
5889 Py_INCREF(Py_None); resultobj = Py_None;
5890 return resultobj;
5891 fail:
5892 return NULL;
5893 }
5894
5895
5896 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5897 PyObject *resultobj;
5898 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5899 int result;
5900 PyObject * obj0 = 0 ;
5901 char *kwnames[] = {
5902 (char *) "self", NULL
5903 };
5904
5905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5907 {
5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
5909 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5910
5911 wxPyEndAllowThreads(__tstate);
5912 if (PyErr_Occurred()) SWIG_fail;
5913 }
5914 resultobj = SWIG_PyObj_FromInt((int)result);
5915 return resultobj;
5916 fail:
5917 return NULL;
5918 }
5919
5920
5921 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj;
5923 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5924 int arg2 ;
5925 int arg3 ;
5926 int arg4 = (int) 5 ;
5927 bool result;
5928 PyObject * obj0 = 0 ;
5929 PyObject * obj1 = 0 ;
5930 PyObject * obj2 = 0 ;
5931 PyObject * obj3 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5938 {
5939 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 }
5942 {
5943 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 if (obj3) {
5947 {
5948 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 }
5951 }
5952 {
5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
5954 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5955
5956 wxPyEndAllowThreads(__tstate);
5957 if (PyErr_Occurred()) SWIG_fail;
5958 }
5959 resultobj = SWIG_PyObj_FromBool((bool)result);
5960 return resultobj;
5961 fail:
5962 return NULL;
5963 }
5964
5965
5966 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5967 PyObject *resultobj;
5968 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5969 PyObject * obj0 = 0 ;
5970 char *kwnames[] = {
5971 (char *) "self", NULL
5972 };
5973
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
5978 (arg1)->SizeWindows();
5979
5980 wxPyEndAllowThreads(__tstate);
5981 if (PyErr_Occurred()) SWIG_fail;
5982 }
5983 Py_INCREF(Py_None); resultobj = Py_None;
5984 return resultobj;
5985 fail:
5986 return NULL;
5987 }
5988
5989
5990 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5991 PyObject *resultobj;
5992 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5993 bool arg2 ;
5994 PyObject * obj0 = 0 ;
5995 PyObject * obj1 = 0 ;
5996 char *kwnames[] = {
5997 (char *) "self",(char *) "needUpdating", NULL
5998 };
5999
6000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6002 {
6003 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 }
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 (arg1)->SetNeedUpdating(arg2);
6009
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) SWIG_fail;
6012 }
6013 Py_INCREF(Py_None); resultobj = Py_None;
6014 return resultobj;
6015 fail:
6016 return NULL;
6017 }
6018
6019
6020 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6021 PyObject *resultobj;
6022 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6023 bool result;
6024 PyObject * obj0 = 0 ;
6025 char *kwnames[] = {
6026 (char *) "self", NULL
6027 };
6028
6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6031 {
6032 PyThreadState* __tstate = wxPyBeginAllowThreads();
6033 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6034
6035 wxPyEndAllowThreads(__tstate);
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
6038 resultobj = SWIG_PyObj_FromBool((bool)result);
6039 return resultobj;
6040 fail:
6041 return NULL;
6042 }
6043
6044
6045 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6046 PyObject *obj;
6047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6048 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6049 Py_INCREF(obj);
6050 return Py_BuildValue((char *)"");
6051 }
6052 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj;
6054 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6055 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6056 wxSplitterEvent *result;
6057 PyObject * obj0 = 0 ;
6058 PyObject * obj1 = 0 ;
6059 char *kwnames[] = {
6060 (char *) "type",(char *) "splitter", NULL
6061 };
6062
6063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6064 if (obj0) {
6065 {
6066 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 }
6070 if (obj1) {
6071 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6072 }
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6076
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
6081 return resultobj;
6082 fail:
6083 return NULL;
6084 }
6085
6086
6087 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6088 PyObject *resultobj;
6089 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6090 int arg2 ;
6091 PyObject * obj0 = 0 ;
6092 PyObject * obj1 = 0 ;
6093 char *kwnames[] = {
6094 (char *) "self",(char *) "pos", NULL
6095 };
6096
6097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6099 {
6100 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6101 if (PyErr_Occurred()) SWIG_fail;
6102 }
6103 {
6104 PyThreadState* __tstate = wxPyBeginAllowThreads();
6105 (arg1)->SetSashPosition(arg2);
6106
6107 wxPyEndAllowThreads(__tstate);
6108 if (PyErr_Occurred()) SWIG_fail;
6109 }
6110 Py_INCREF(Py_None); resultobj = Py_None;
6111 return resultobj;
6112 fail:
6113 return NULL;
6114 }
6115
6116
6117 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6118 PyObject *resultobj;
6119 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6120 int result;
6121 PyObject * obj0 = 0 ;
6122 char *kwnames[] = {
6123 (char *) "self", NULL
6124 };
6125
6126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6128 {
6129 PyThreadState* __tstate = wxPyBeginAllowThreads();
6130 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6131
6132 wxPyEndAllowThreads(__tstate);
6133 if (PyErr_Occurred()) SWIG_fail;
6134 }
6135 resultobj = SWIG_PyObj_FromInt((int)result);
6136 return resultobj;
6137 fail:
6138 return NULL;
6139 }
6140
6141
6142 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6143 PyObject *resultobj;
6144 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6145 wxWindow *result;
6146 PyObject * obj0 = 0 ;
6147 char *kwnames[] = {
6148 (char *) "self", NULL
6149 };
6150
6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6153 {
6154 PyThreadState* __tstate = wxPyBeginAllowThreads();
6155 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6156
6157 wxPyEndAllowThreads(__tstate);
6158 if (PyErr_Occurred()) SWIG_fail;
6159 }
6160 {
6161 resultobj = wxPyMake_wxObject(result);
6162 }
6163 return resultobj;
6164 fail:
6165 return NULL;
6166 }
6167
6168
6169 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj;
6171 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6172 int result;
6173 PyObject * obj0 = 0 ;
6174 char *kwnames[] = {
6175 (char *) "self", NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
6187 resultobj = SWIG_PyObj_FromInt((int)result);
6188 return resultobj;
6189 fail:
6190 return NULL;
6191 }
6192
6193
6194 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6195 PyObject *resultobj;
6196 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6197 int result;
6198 PyObject * obj0 = 0 ;
6199 char *kwnames[] = {
6200 (char *) "self", NULL
6201 };
6202
6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 resultobj = SWIG_PyObj_FromInt((int)result);
6213 return resultobj;
6214 fail:
6215 return NULL;
6216 }
6217
6218
6219 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6220 PyObject *obj;
6221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6222 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6223 Py_INCREF(obj);
6224 return Py_BuildValue((char *)"");
6225 }
6226 static int _wrap_SashNameStr_set(PyObject *_val) {
6227 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6228 return 1;
6229 }
6230
6231
6232 static PyObject *_wrap_SashNameStr_get() {
6233 PyObject *pyobj;
6234
6235 {
6236 #if wxUSE_UNICODE
6237 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6238 #else
6239 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6240 #endif
6241 }
6242 return pyobj;
6243 }
6244
6245
6246 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6247 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6248 return 1;
6249 }
6250
6251
6252 static PyObject *_wrap_SashLayoutNameStr_get() {
6253 PyObject *pyobj;
6254
6255 {
6256 #if wxUSE_UNICODE
6257 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6258 #else
6259 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6260 #endif
6261 }
6262 return pyobj;
6263 }
6264
6265
6266 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj;
6268 wxWindow *arg1 = (wxWindow *) 0 ;
6269 int arg2 ;
6270 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6271 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6272 wxSize const &arg4_defvalue = wxDefaultSize ;
6273 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6274 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6275 wxString const &arg6_defvalue = wxPySashNameStr ;
6276 wxString *arg6 = (wxString *) &arg6_defvalue ;
6277 wxSashWindow *result;
6278 wxPoint temp3 ;
6279 wxSize temp4 ;
6280 bool temp6 = False ;
6281 PyObject * obj0 = 0 ;
6282 PyObject * obj1 = 0 ;
6283 PyObject * obj2 = 0 ;
6284 PyObject * obj3 = 0 ;
6285 PyObject * obj4 = 0 ;
6286 PyObject * obj5 = 0 ;
6287 char *kwnames[] = {
6288 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6289 };
6290
6291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6293 {
6294 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6295 if (PyErr_Occurred()) SWIG_fail;
6296 }
6297 if (obj2) {
6298 {
6299 arg3 = &temp3;
6300 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6301 }
6302 }
6303 if (obj3) {
6304 {
6305 arg4 = &temp4;
6306 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6307 }
6308 }
6309 if (obj4) {
6310 {
6311 arg5 = (long) SWIG_PyObj_AsLong(obj4);
6312 if (PyErr_Occurred()) SWIG_fail;
6313 }
6314 }
6315 if (obj5) {
6316 {
6317 arg6 = wxString_in_helper(obj5);
6318 if (arg6 == NULL) SWIG_fail;
6319 temp6 = True;
6320 }
6321 }
6322 {
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6324 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6325
6326 wxPyEndAllowThreads(__tstate);
6327 if (PyErr_Occurred()) SWIG_fail;
6328 }
6329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6330 {
6331 if (temp6)
6332 delete arg6;
6333 }
6334 return resultobj;
6335 fail:
6336 {
6337 if (temp6)
6338 delete arg6;
6339 }
6340 return NULL;
6341 }
6342
6343
6344 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6345 PyObject *resultobj;
6346 wxSashWindow *result;
6347 char *kwnames[] = {
6348 NULL
6349 };
6350
6351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6352 {
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
6354 result = (wxSashWindow *)new wxSashWindow();
6355
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6360 return resultobj;
6361 fail:
6362 return NULL;
6363 }
6364
6365
6366 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6367 PyObject *resultobj;
6368 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6369 wxWindow *arg2 = (wxWindow *) 0 ;
6370 int arg3 ;
6371 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6372 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6373 wxSize const &arg5_defvalue = wxDefaultSize ;
6374 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6375 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6376 wxString const &arg7_defvalue = wxPySashNameStr ;
6377 wxString *arg7 = (wxString *) &arg7_defvalue ;
6378 bool result;
6379 wxPoint temp4 ;
6380 wxSize temp5 ;
6381 bool temp7 = False ;
6382 PyObject * obj0 = 0 ;
6383 PyObject * obj1 = 0 ;
6384 PyObject * obj2 = 0 ;
6385 PyObject * obj3 = 0 ;
6386 PyObject * obj4 = 0 ;
6387 PyObject * obj5 = 0 ;
6388 PyObject * obj6 = 0 ;
6389 char *kwnames[] = {
6390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6391 };
6392
6393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6396 {
6397 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 if (obj3) {
6401 {
6402 arg4 = &temp4;
6403 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6404 }
6405 }
6406 if (obj4) {
6407 {
6408 arg5 = &temp5;
6409 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6410 }
6411 }
6412 if (obj5) {
6413 {
6414 arg6 = (long) SWIG_PyObj_AsLong(obj5);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 }
6418 if (obj6) {
6419 {
6420 arg7 = wxString_in_helper(obj6);
6421 if (arg7 == NULL) SWIG_fail;
6422 temp7 = True;
6423 }
6424 }
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6428
6429 wxPyEndAllowThreads(__tstate);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 }
6432 resultobj = SWIG_PyObj_FromBool((bool)result);
6433 {
6434 if (temp7)
6435 delete arg7;
6436 }
6437 return resultobj;
6438 fail:
6439 {
6440 if (temp7)
6441 delete arg7;
6442 }
6443 return NULL;
6444 }
6445
6446
6447 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6448 PyObject *resultobj;
6449 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6450 int arg2 ;
6451 bool arg3 ;
6452 PyObject * obj0 = 0 ;
6453 PyObject * obj1 = 0 ;
6454 PyObject * obj2 = 0 ;
6455 char *kwnames[] = {
6456 (char *) "self",(char *) "edge",(char *) "sash", NULL
6457 };
6458
6459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6461 {
6462 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6463 if (PyErr_Occurred()) SWIG_fail;
6464 }
6465 {
6466 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
6469 {
6470 PyThreadState* __tstate = wxPyBeginAllowThreads();
6471 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6472
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
6476 Py_INCREF(Py_None); resultobj = Py_None;
6477 return resultobj;
6478 fail:
6479 return NULL;
6480 }
6481
6482
6483 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6484 PyObject *resultobj;
6485 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6486 int arg2 ;
6487 bool result;
6488 PyObject * obj0 = 0 ;
6489 PyObject * obj1 = 0 ;
6490 char *kwnames[] = {
6491 (char *) "self",(char *) "edge", NULL
6492 };
6493
6494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6496 {
6497 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6498 if (PyErr_Occurred()) SWIG_fail;
6499 }
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6503
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 resultobj = SWIG_PyObj_FromBool((bool)result);
6508 return resultobj;
6509 fail:
6510 return NULL;
6511 }
6512
6513
6514 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj;
6516 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6517 int arg2 ;
6518 bool arg3 ;
6519 PyObject * obj0 = 0 ;
6520 PyObject * obj1 = 0 ;
6521 PyObject * obj2 = 0 ;
6522 char *kwnames[] = {
6523 (char *) "self",(char *) "edge",(char *) "border", NULL
6524 };
6525
6526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6528 {
6529 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6530 if (PyErr_Occurred()) SWIG_fail;
6531 }
6532 {
6533 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6534 if (PyErr_Occurred()) SWIG_fail;
6535 }
6536 {
6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
6538 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6539
6540 wxPyEndAllowThreads(__tstate);
6541 if (PyErr_Occurred()) SWIG_fail;
6542 }
6543 Py_INCREF(Py_None); resultobj = Py_None;
6544 return resultobj;
6545 fail:
6546 return NULL;
6547 }
6548
6549
6550 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6551 PyObject *resultobj;
6552 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6553 int arg2 ;
6554 bool result;
6555 PyObject * obj0 = 0 ;
6556 PyObject * obj1 = 0 ;
6557 char *kwnames[] = {
6558 (char *) "self",(char *) "edge", NULL
6559 };
6560
6561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6563 {
6564 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6565 if (PyErr_Occurred()) SWIG_fail;
6566 }
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6570
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) SWIG_fail;
6573 }
6574 resultobj = SWIG_PyObj_FromBool((bool)result);
6575 return resultobj;
6576 fail:
6577 return NULL;
6578 }
6579
6580
6581 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6582 PyObject *resultobj;
6583 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6584 int arg2 ;
6585 int result;
6586 PyObject * obj0 = 0 ;
6587 PyObject * obj1 = 0 ;
6588 char *kwnames[] = {
6589 (char *) "self",(char *) "edge", NULL
6590 };
6591
6592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6594 {
6595 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 resultobj = SWIG_PyObj_FromInt((int)result);
6606 return resultobj;
6607 fail:
6608 return NULL;
6609 }
6610
6611
6612 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6613 PyObject *resultobj;
6614 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6615 int arg2 ;
6616 PyObject * obj0 = 0 ;
6617 PyObject * obj1 = 0 ;
6618 char *kwnames[] = {
6619 (char *) "self",(char *) "width", NULL
6620 };
6621
6622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6624 {
6625 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 (arg1)->SetDefaultBorderSize(arg2);
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 Py_INCREF(Py_None); resultobj = Py_None;
6636 return resultobj;
6637 fail:
6638 return NULL;
6639 }
6640
6641
6642 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6643 PyObject *resultobj;
6644 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6645 int result;
6646 PyObject * obj0 = 0 ;
6647 char *kwnames[] = {
6648 (char *) "self", NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 resultobj = SWIG_PyObj_FromInt((int)result);
6661 return resultobj;
6662 fail:
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6670 int arg2 ;
6671 PyObject * obj0 = 0 ;
6672 PyObject * obj1 = 0 ;
6673 char *kwnames[] = {
6674 (char *) "self",(char *) "width", NULL
6675 };
6676
6677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6679 {
6680 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 }
6683 {
6684 PyThreadState* __tstate = wxPyBeginAllowThreads();
6685 (arg1)->SetExtraBorderSize(arg2);
6686
6687 wxPyEndAllowThreads(__tstate);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 Py_INCREF(Py_None); resultobj = Py_None;
6691 return resultobj;
6692 fail:
6693 return NULL;
6694 }
6695
6696
6697 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6698 PyObject *resultobj;
6699 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6700 int result;
6701 PyObject * obj0 = 0 ;
6702 char *kwnames[] = {
6703 (char *) "self", NULL
6704 };
6705
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6708 {
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6711
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 resultobj = SWIG_PyObj_FromInt((int)result);
6716 return resultobj;
6717 fail:
6718 return NULL;
6719 }
6720
6721
6722 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6723 PyObject *resultobj;
6724 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6725 int arg2 ;
6726 PyObject * obj0 = 0 ;
6727 PyObject * obj1 = 0 ;
6728 char *kwnames[] = {
6729 (char *) "self",(char *) "min", NULL
6730 };
6731
6732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6734 {
6735 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 {
6739 PyThreadState* __tstate = wxPyBeginAllowThreads();
6740 (arg1)->SetMinimumSizeX(arg2);
6741
6742 wxPyEndAllowThreads(__tstate);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
6745 Py_INCREF(Py_None); resultobj = Py_None;
6746 return resultobj;
6747 fail:
6748 return NULL;
6749 }
6750
6751
6752 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6753 PyObject *resultobj;
6754 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6755 int arg2 ;
6756 PyObject * obj0 = 0 ;
6757 PyObject * obj1 = 0 ;
6758 char *kwnames[] = {
6759 (char *) "self",(char *) "min", NULL
6760 };
6761
6762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6764 {
6765 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 {
6769 PyThreadState* __tstate = wxPyBeginAllowThreads();
6770 (arg1)->SetMinimumSizeY(arg2);
6771
6772 wxPyEndAllowThreads(__tstate);
6773 if (PyErr_Occurred()) SWIG_fail;
6774 }
6775 Py_INCREF(Py_None); resultobj = Py_None;
6776 return resultobj;
6777 fail:
6778 return NULL;
6779 }
6780
6781
6782 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6783 PyObject *resultobj;
6784 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6785 int result;
6786 PyObject * obj0 = 0 ;
6787 char *kwnames[] = {
6788 (char *) "self", NULL
6789 };
6790
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6793 {
6794 PyThreadState* __tstate = wxPyBeginAllowThreads();
6795 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6796
6797 wxPyEndAllowThreads(__tstate);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 }
6800 resultobj = SWIG_PyObj_FromInt((int)result);
6801 return resultobj;
6802 fail:
6803 return NULL;
6804 }
6805
6806
6807 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6808 PyObject *resultobj;
6809 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6810 int result;
6811 PyObject * obj0 = 0 ;
6812 char *kwnames[] = {
6813 (char *) "self", NULL
6814 };
6815
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6818 {
6819 PyThreadState* __tstate = wxPyBeginAllowThreads();
6820 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6821
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
6825 resultobj = SWIG_PyObj_FromInt((int)result);
6826 return resultobj;
6827 fail:
6828 return NULL;
6829 }
6830
6831
6832 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6833 PyObject *resultobj;
6834 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6835 int arg2 ;
6836 PyObject * obj0 = 0 ;
6837 PyObject * obj1 = 0 ;
6838 char *kwnames[] = {
6839 (char *) "self",(char *) "max", NULL
6840 };
6841
6842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
6843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6844 {
6845 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 {
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 (arg1)->SetMaximumSizeX(arg2);
6851
6852 wxPyEndAllowThreads(__tstate);
6853 if (PyErr_Occurred()) SWIG_fail;
6854 }
6855 Py_INCREF(Py_None); resultobj = Py_None;
6856 return resultobj;
6857 fail:
6858 return NULL;
6859 }
6860
6861
6862 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6863 PyObject *resultobj;
6864 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6865 int arg2 ;
6866 PyObject * obj0 = 0 ;
6867 PyObject * obj1 = 0 ;
6868 char *kwnames[] = {
6869 (char *) "self",(char *) "max", NULL
6870 };
6871
6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
6873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6874 {
6875 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 (arg1)->SetMaximumSizeY(arg2);
6881
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 Py_INCREF(Py_None); resultobj = Py_None;
6886 return resultobj;
6887 fail:
6888 return NULL;
6889 }
6890
6891
6892 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject *resultobj;
6894 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6895 int result;
6896 PyObject * obj0 = 0 ;
6897 char *kwnames[] = {
6898 (char *) "self", NULL
6899 };
6900
6901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
6905 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6906
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 resultobj = SWIG_PyObj_FromInt((int)result);
6911 return resultobj;
6912 fail:
6913 return NULL;
6914 }
6915
6916
6917 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj;
6919 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6920 int result;
6921 PyObject * obj0 = 0 ;
6922 char *kwnames[] = {
6923 (char *) "self", NULL
6924 };
6925
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 resultobj = SWIG_PyObj_FromInt((int)result);
6936 return resultobj;
6937 fail:
6938 return NULL;
6939 }
6940
6941
6942 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj;
6944 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6945 int arg2 ;
6946 int arg3 ;
6947 int arg4 = (int) 2 ;
6948 int result;
6949 PyObject * obj0 = 0 ;
6950 PyObject * obj1 = 0 ;
6951 PyObject * obj2 = 0 ;
6952 PyObject * obj3 = 0 ;
6953 char *kwnames[] = {
6954 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6955 };
6956
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6959 {
6960 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 {
6964 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
6967 if (obj3) {
6968 {
6969 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 }
6972 }
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 resultobj = SWIG_PyObj_FromInt((int)result);
6981 return resultobj;
6982 fail:
6983 return NULL;
6984 }
6985
6986
6987 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj;
6989 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6990 PyObject * obj0 = 0 ;
6991 char *kwnames[] = {
6992 (char *) "self", NULL
6993 };
6994
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 (arg1)->SizeWindows();
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 Py_INCREF(Py_None); resultobj = Py_None;
7005 return resultobj;
7006 fail:
7007 return NULL;
7008 }
7009
7010
7011 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7012 PyObject *obj;
7013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7014 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7015 Py_INCREF(obj);
7016 return Py_BuildValue((char *)"");
7017 }
7018 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7019 PyObject *resultobj;
7020 int arg1 = (int) 0 ;
7021 int arg2 = (int) wxSASH_NONE ;
7022 wxSashEvent *result;
7023 PyObject * obj0 = 0 ;
7024 PyObject * obj1 = 0 ;
7025 char *kwnames[] = {
7026 (char *) "id",(char *) "edge", NULL
7027 };
7028
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7030 if (obj0) {
7031 {
7032 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 }
7036 if (obj1) {
7037 {
7038 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
7041 }
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
7050 return resultobj;
7051 fail:
7052 return NULL;
7053 }
7054
7055
7056 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj;
7058 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7059 int arg2 ;
7060 PyObject * obj0 = 0 ;
7061 PyObject * obj1 = 0 ;
7062 char *kwnames[] = {
7063 (char *) "self",(char *) "edge", NULL
7064 };
7065
7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7068 {
7069 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 {
7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
7074 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7075
7076 wxPyEndAllowThreads(__tstate);
7077 if (PyErr_Occurred()) SWIG_fail;
7078 }
7079 Py_INCREF(Py_None); resultobj = Py_None;
7080 return resultobj;
7081 fail:
7082 return NULL;
7083 }
7084
7085
7086 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7087 PyObject *resultobj;
7088 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7089 int result;
7090 PyObject * obj0 = 0 ;
7091 char *kwnames[] = {
7092 (char *) "self", NULL
7093 };
7094
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7097 {
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7099 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7100
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 resultobj = SWIG_PyObj_FromInt((int)result);
7105 return resultobj;
7106 fail:
7107 return NULL;
7108 }
7109
7110
7111 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7112 PyObject *resultobj;
7113 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7114 wxRect *arg2 = 0 ;
7115 wxRect temp2 ;
7116 PyObject * obj0 = 0 ;
7117 PyObject * obj1 = 0 ;
7118 char *kwnames[] = {
7119 (char *) "self",(char *) "rect", NULL
7120 };
7121
7122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7124 {
7125 arg2 = &temp2;
7126 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7127 }
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 (arg1)->SetDragRect((wxRect const &)*arg2);
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 Py_INCREF(Py_None); resultobj = Py_None;
7136 return resultobj;
7137 fail:
7138 return NULL;
7139 }
7140
7141
7142 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7143 PyObject *resultobj;
7144 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7145 wxRect result;
7146 PyObject * obj0 = 0 ;
7147 char *kwnames[] = {
7148 (char *) "self", NULL
7149 };
7150
7151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 result = ((wxSashEvent const *)arg1)->GetDragRect();
7156
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 {
7161 wxRect * resultptr;
7162 resultptr = new wxRect((wxRect &) result);
7163 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7164 }
7165 return resultobj;
7166 fail:
7167 return NULL;
7168 }
7169
7170
7171 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7172 PyObject *resultobj;
7173 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7174 int arg2 ;
7175 PyObject * obj0 = 0 ;
7176 PyObject * obj1 = 0 ;
7177 char *kwnames[] = {
7178 (char *) "self",(char *) "status", NULL
7179 };
7180
7181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7183 {
7184 arg2 = (wxSashDragStatus) SWIG_PyObj_AsInt(obj1);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 }
7187 {
7188 PyThreadState* __tstate = wxPyBeginAllowThreads();
7189 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7190
7191 wxPyEndAllowThreads(__tstate);
7192 if (PyErr_Occurred()) SWIG_fail;
7193 }
7194 Py_INCREF(Py_None); resultobj = Py_None;
7195 return resultobj;
7196 fail:
7197 return NULL;
7198 }
7199
7200
7201 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7202 PyObject *resultobj;
7203 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7204 int result;
7205 PyObject * obj0 = 0 ;
7206 char *kwnames[] = {
7207 (char *) "self", NULL
7208 };
7209
7210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7215
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
7219 resultobj = SWIG_PyObj_FromInt((int)result);
7220 return resultobj;
7221 fail:
7222 return NULL;
7223 }
7224
7225
7226 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7227 PyObject *obj;
7228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7229 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7230 Py_INCREF(obj);
7231 return Py_BuildValue((char *)"");
7232 }
7233 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7234 PyObject *resultobj;
7235 int arg1 = (int) 0 ;
7236 wxQueryLayoutInfoEvent *result;
7237 PyObject * obj0 = 0 ;
7238 char *kwnames[] = {
7239 (char *) "id", NULL
7240 };
7241
7242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7243 if (obj0) {
7244 {
7245 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 }
7249 {
7250 PyThreadState* __tstate = wxPyBeginAllowThreads();
7251 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7252
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7257 return resultobj;
7258 fail:
7259 return NULL;
7260 }
7261
7262
7263 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7264 PyObject *resultobj;
7265 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7266 int arg2 ;
7267 PyObject * obj0 = 0 ;
7268 PyObject * obj1 = 0 ;
7269 char *kwnames[] = {
7270 (char *) "self",(char *) "length", NULL
7271 };
7272
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7275 {
7276 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 {
7280 PyThreadState* __tstate = wxPyBeginAllowThreads();
7281 (arg1)->SetRequestedLength(arg2);
7282
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 Py_INCREF(Py_None); resultobj = Py_None;
7287 return resultobj;
7288 fail:
7289 return NULL;
7290 }
7291
7292
7293 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj;
7295 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7296 int result;
7297 PyObject * obj0 = 0 ;
7298 char *kwnames[] = {
7299 (char *) "self", NULL
7300 };
7301
7302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7304 {
7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
7306 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7307
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 resultobj = SWIG_PyObj_FromInt((int)result);
7312 return resultobj;
7313 fail:
7314 return NULL;
7315 }
7316
7317
7318 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj;
7320 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7321 int arg2 ;
7322 PyObject * obj0 = 0 ;
7323 PyObject * obj1 = 0 ;
7324 char *kwnames[] = {
7325 (char *) "self",(char *) "flags", NULL
7326 };
7327
7328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7330 {
7331 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7332 if (PyErr_Occurred()) SWIG_fail;
7333 }
7334 {
7335 PyThreadState* __tstate = wxPyBeginAllowThreads();
7336 (arg1)->SetFlags(arg2);
7337
7338 wxPyEndAllowThreads(__tstate);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 }
7341 Py_INCREF(Py_None); resultobj = Py_None;
7342 return resultobj;
7343 fail:
7344 return NULL;
7345 }
7346
7347
7348 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7349 PyObject *resultobj;
7350 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7351 int result;
7352 PyObject * obj0 = 0 ;
7353 char *kwnames[] = {
7354 (char *) "self", NULL
7355 };
7356
7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 resultobj = SWIG_PyObj_FromInt((int)result);
7367 return resultobj;
7368 fail:
7369 return NULL;
7370 }
7371
7372
7373 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject *resultobj;
7375 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7376 wxSize *arg2 = 0 ;
7377 wxSize temp2 ;
7378 PyObject * obj0 = 0 ;
7379 PyObject * obj1 = 0 ;
7380 char *kwnames[] = {
7381 (char *) "self",(char *) "size", NULL
7382 };
7383
7384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7386 {
7387 arg2 = &temp2;
7388 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7389 }
7390 {
7391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7392 (arg1)->SetSize((wxSize const &)*arg2);
7393
7394 wxPyEndAllowThreads(__tstate);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
7397 Py_INCREF(Py_None); resultobj = Py_None;
7398 return resultobj;
7399 fail:
7400 return NULL;
7401 }
7402
7403
7404 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj;
7406 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7407 wxSize result;
7408 PyObject * obj0 = 0 ;
7409 char *kwnames[] = {
7410 (char *) "self", NULL
7411 };
7412
7413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 {
7423 wxSize * resultptr;
7424 resultptr = new wxSize((wxSize &) result);
7425 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
7426 }
7427 return resultobj;
7428 fail:
7429 return NULL;
7430 }
7431
7432
7433 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7434 PyObject *resultobj;
7435 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7436 int arg2 ;
7437 PyObject * obj0 = 0 ;
7438 PyObject * obj1 = 0 ;
7439 char *kwnames[] = {
7440 (char *) "self",(char *) "orient", NULL
7441 };
7442
7443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7445 {
7446 arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 {
7450 PyThreadState* __tstate = wxPyBeginAllowThreads();
7451 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7452
7453 wxPyEndAllowThreads(__tstate);
7454 if (PyErr_Occurred()) SWIG_fail;
7455 }
7456 Py_INCREF(Py_None); resultobj = Py_None;
7457 return resultobj;
7458 fail:
7459 return NULL;
7460 }
7461
7462
7463 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7464 PyObject *resultobj;
7465 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7466 int result;
7467 PyObject * obj0 = 0 ;
7468 char *kwnames[] = {
7469 (char *) "self", NULL
7470 };
7471
7472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7474 {
7475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7476 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7477
7478 wxPyEndAllowThreads(__tstate);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
7481 resultobj = SWIG_PyObj_FromInt((int)result);
7482 return resultobj;
7483 fail:
7484 return NULL;
7485 }
7486
7487
7488 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7489 PyObject *resultobj;
7490 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7491 int arg2 ;
7492 PyObject * obj0 = 0 ;
7493 PyObject * obj1 = 0 ;
7494 char *kwnames[] = {
7495 (char *) "self",(char *) "align", NULL
7496 };
7497
7498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7500 {
7501 arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 }
7504 {
7505 PyThreadState* __tstate = wxPyBeginAllowThreads();
7506 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7507
7508 wxPyEndAllowThreads(__tstate);
7509 if (PyErr_Occurred()) SWIG_fail;
7510 }
7511 Py_INCREF(Py_None); resultobj = Py_None;
7512 return resultobj;
7513 fail:
7514 return NULL;
7515 }
7516
7517
7518 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7519 PyObject *resultobj;
7520 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7521 int result;
7522 PyObject * obj0 = 0 ;
7523 char *kwnames[] = {
7524 (char *) "self", NULL
7525 };
7526
7527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7529 {
7530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7531 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7532
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 resultobj = SWIG_PyObj_FromInt((int)result);
7537 return resultobj;
7538 fail:
7539 return NULL;
7540 }
7541
7542
7543 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7544 PyObject *obj;
7545 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7546 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7547 Py_INCREF(obj);
7548 return Py_BuildValue((char *)"");
7549 }
7550 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7551 PyObject *resultobj;
7552 int arg1 = (int) 0 ;
7553 wxCalculateLayoutEvent *result;
7554 PyObject * obj0 = 0 ;
7555 char *kwnames[] = {
7556 (char *) "id", NULL
7557 };
7558
7559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7560 if (obj0) {
7561 {
7562 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7563 if (PyErr_Occurred()) SWIG_fail;
7564 }
7565 }
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7574 return resultobj;
7575 fail:
7576 return NULL;
7577 }
7578
7579
7580 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7581 PyObject *resultobj;
7582 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7583 int arg2 ;
7584 PyObject * obj0 = 0 ;
7585 PyObject * obj1 = 0 ;
7586 char *kwnames[] = {
7587 (char *) "self",(char *) "flags", NULL
7588 };
7589
7590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7592 {
7593 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7594 if (PyErr_Occurred()) SWIG_fail;
7595 }
7596 {
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 (arg1)->SetFlags(arg2);
7599
7600 wxPyEndAllowThreads(__tstate);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 }
7603 Py_INCREF(Py_None); resultobj = Py_None;
7604 return resultobj;
7605 fail:
7606 return NULL;
7607 }
7608
7609
7610 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7611 PyObject *resultobj;
7612 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7613 int result;
7614 PyObject * obj0 = 0 ;
7615 char *kwnames[] = {
7616 (char *) "self", NULL
7617 };
7618
7619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7624
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 resultobj = SWIG_PyObj_FromInt((int)result);
7629 return resultobj;
7630 fail:
7631 return NULL;
7632 }
7633
7634
7635 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7636 PyObject *resultobj;
7637 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7638 wxRect *arg2 = 0 ;
7639 wxRect temp2 ;
7640 PyObject * obj0 = 0 ;
7641 PyObject * obj1 = 0 ;
7642 char *kwnames[] = {
7643 (char *) "self",(char *) "rect", NULL
7644 };
7645
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7648 {
7649 arg2 = &temp2;
7650 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7651 }
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 (arg1)->SetRect((wxRect const &)*arg2);
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 Py_INCREF(Py_None); resultobj = Py_None;
7660 return resultobj;
7661 fail:
7662 return NULL;
7663 }
7664
7665
7666 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7667 PyObject *resultobj;
7668 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7669 wxRect result;
7670 PyObject * obj0 = 0 ;
7671 char *kwnames[] = {
7672 (char *) "self", NULL
7673 };
7674
7675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7679 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7680
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 {
7685 wxRect * resultptr;
7686 resultptr = new wxRect((wxRect &) result);
7687 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7688 }
7689 return resultobj;
7690 fail:
7691 return NULL;
7692 }
7693
7694
7695 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7696 PyObject *obj;
7697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7698 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7699 Py_INCREF(obj);
7700 return Py_BuildValue((char *)"");
7701 }
7702 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7703 PyObject *resultobj;
7704 wxWindow *arg1 = (wxWindow *) 0 ;
7705 int arg2 ;
7706 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7707 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7708 wxSize const &arg4_defvalue = wxDefaultSize ;
7709 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7710 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7711 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7712 wxString *arg6 = (wxString *) &arg6_defvalue ;
7713 wxSashLayoutWindow *result;
7714 wxPoint temp3 ;
7715 wxSize temp4 ;
7716 bool temp6 = False ;
7717 PyObject * obj0 = 0 ;
7718 PyObject * obj1 = 0 ;
7719 PyObject * obj2 = 0 ;
7720 PyObject * obj3 = 0 ;
7721 PyObject * obj4 = 0 ;
7722 PyObject * obj5 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7729 {
7730 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7731 if (PyErr_Occurred()) SWIG_fail;
7732 }
7733 if (obj2) {
7734 {
7735 arg3 = &temp3;
7736 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7737 }
7738 }
7739 if (obj3) {
7740 {
7741 arg4 = &temp4;
7742 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7743 }
7744 }
7745 if (obj4) {
7746 {
7747 arg5 = (long) SWIG_PyObj_AsLong(obj4);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 }
7750 }
7751 if (obj5) {
7752 {
7753 arg6 = wxString_in_helper(obj5);
7754 if (arg6 == NULL) SWIG_fail;
7755 temp6 = True;
7756 }
7757 }
7758 {
7759 PyThreadState* __tstate = wxPyBeginAllowThreads();
7760 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7761
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
7765 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7766 {
7767 if (temp6)
7768 delete arg6;
7769 }
7770 return resultobj;
7771 fail:
7772 {
7773 if (temp6)
7774 delete arg6;
7775 }
7776 return NULL;
7777 }
7778
7779
7780 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7781 PyObject *resultobj;
7782 wxSashLayoutWindow *result;
7783 char *kwnames[] = {
7784 NULL
7785 };
7786
7787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7791
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7796 return resultobj;
7797 fail:
7798 return NULL;
7799 }
7800
7801
7802 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7803 PyObject *resultobj;
7804 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7805 wxWindow *arg2 = (wxWindow *) 0 ;
7806 int arg3 ;
7807 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7808 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7809 wxSize const &arg5_defvalue = wxDefaultSize ;
7810 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7811 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7812 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7813 wxString *arg7 = (wxString *) &arg7_defvalue ;
7814 bool result;
7815 wxPoint temp4 ;
7816 wxSize temp5 ;
7817 bool temp7 = False ;
7818 PyObject * obj0 = 0 ;
7819 PyObject * obj1 = 0 ;
7820 PyObject * obj2 = 0 ;
7821 PyObject * obj3 = 0 ;
7822 PyObject * obj4 = 0 ;
7823 PyObject * obj5 = 0 ;
7824 PyObject * obj6 = 0 ;
7825 char *kwnames[] = {
7826 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7827 };
7828
7829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7831 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7832 {
7833 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 }
7836 if (obj3) {
7837 {
7838 arg4 = &temp4;
7839 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7840 }
7841 }
7842 if (obj4) {
7843 {
7844 arg5 = &temp5;
7845 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7846 }
7847 }
7848 if (obj5) {
7849 {
7850 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 }
7854 if (obj6) {
7855 {
7856 arg7 = wxString_in_helper(obj6);
7857 if (arg7 == NULL) SWIG_fail;
7858 temp7 = True;
7859 }
7860 }
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 resultobj = SWIG_PyObj_FromBool((bool)result);
7869 {
7870 if (temp7)
7871 delete arg7;
7872 }
7873 return resultobj;
7874 fail:
7875 {
7876 if (temp7)
7877 delete arg7;
7878 }
7879 return NULL;
7880 }
7881
7882
7883 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7884 PyObject *resultobj;
7885 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7886 int result;
7887 PyObject * obj0 = 0 ;
7888 char *kwnames[] = {
7889 (char *) "self", NULL
7890 };
7891
7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 result = (int)(arg1)->GetAlignment();
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 resultobj = SWIG_PyObj_FromInt((int)result);
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7911 int result;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 result = (int)(arg1)->GetOrientation();
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 resultobj = SWIG_PyObj_FromInt((int)result);
7927 return resultobj;
7928 fail:
7929 return NULL;
7930 }
7931
7932
7933 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7934 PyObject *resultobj;
7935 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7936 int arg2 ;
7937 PyObject * obj0 = 0 ;
7938 PyObject * obj1 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "self",(char *) "alignment", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7945 {
7946 arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1);
7947 if (PyErr_Occurred()) SWIG_fail;
7948 }
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 Py_INCREF(Py_None); resultobj = Py_None;
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7966 wxSize *arg2 = 0 ;
7967 wxSize temp2 ;
7968 PyObject * obj0 = 0 ;
7969 PyObject * obj1 = 0 ;
7970 char *kwnames[] = {
7971 (char *) "self",(char *) "size", NULL
7972 };
7973
7974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7976 {
7977 arg2 = &temp2;
7978 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7979 }
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 Py_INCREF(Py_None); resultobj = Py_None;
7988 return resultobj;
7989 fail:
7990 return NULL;
7991 }
7992
7993
7994 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7995 PyObject *resultobj;
7996 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7997 int arg2 ;
7998 PyObject * obj0 = 0 ;
7999 PyObject * obj1 = 0 ;
8000 char *kwnames[] = {
8001 (char *) "self",(char *) "orientation", NULL
8002 };
8003
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8006 {
8007 arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1);
8008 if (PyErr_Occurred()) SWIG_fail;
8009 }
8010 {
8011 PyThreadState* __tstate = wxPyBeginAllowThreads();
8012 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8013
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 Py_INCREF(Py_None); resultobj = Py_None;
8018 return resultobj;
8019 fail:
8020 return NULL;
8021 }
8022
8023
8024 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8025 PyObject *obj;
8026 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8027 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8028 Py_INCREF(obj);
8029 return Py_BuildValue((char *)"");
8030 }
8031 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8032 PyObject *resultobj;
8033 wxLayoutAlgorithm *result;
8034 char *kwnames[] = {
8035 NULL
8036 };
8037
8038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8039 {
8040 PyThreadState* __tstate = wxPyBeginAllowThreads();
8041 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8042
8043 wxPyEndAllowThreads(__tstate);
8044 if (PyErr_Occurred()) SWIG_fail;
8045 }
8046 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
8047 return resultobj;
8048 fail:
8049 return NULL;
8050 }
8051
8052
8053 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8054 PyObject *resultobj;
8055 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8056 PyObject * obj0 = 0 ;
8057 char *kwnames[] = {
8058 (char *) "self", NULL
8059 };
8060
8061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 delete arg1;
8066
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
8070 Py_INCREF(Py_None); resultobj = Py_None;
8071 return resultobj;
8072 fail:
8073 return NULL;
8074 }
8075
8076
8077 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8080 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8081 wxRect *arg3 = (wxRect *) NULL ;
8082 bool result;
8083 PyObject * obj0 = 0 ;
8084 PyObject * obj1 = 0 ;
8085 PyObject * obj2 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "self",(char *) "frame",(char *) "rect", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8093 if (obj2) {
8094 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8095 }
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8099
8100 wxPyEndAllowThreads(__tstate);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
8103 resultobj = SWIG_PyObj_FromBool((bool)result);
8104 return resultobj;
8105 fail:
8106 return NULL;
8107 }
8108
8109
8110 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8111 PyObject *resultobj;
8112 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8113 wxFrame *arg2 = (wxFrame *) 0 ;
8114 wxWindow *arg3 = (wxWindow *) NULL ;
8115 bool result;
8116 PyObject * obj0 = 0 ;
8117 PyObject * obj1 = 0 ;
8118 PyObject * obj2 = 0 ;
8119 char *kwnames[] = {
8120 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8121 };
8122
8123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8125 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8126 if (obj2) {
8127 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8128 }
8129 {
8130 PyThreadState* __tstate = wxPyBeginAllowThreads();
8131 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8132
8133 wxPyEndAllowThreads(__tstate);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 }
8136 resultobj = SWIG_PyObj_FromBool((bool)result);
8137 return resultobj;
8138 fail:
8139 return NULL;
8140 }
8141
8142
8143 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8144 PyObject *resultobj;
8145 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8146 wxWindow *arg2 = (wxWindow *) 0 ;
8147 wxWindow *arg3 = (wxWindow *) NULL ;
8148 bool result;
8149 PyObject * obj0 = 0 ;
8150 PyObject * obj1 = 0 ;
8151 PyObject * obj2 = 0 ;
8152 char *kwnames[] = {
8153 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8154 };
8155
8156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8158 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8159 if (obj2) {
8160 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8161 }
8162 {
8163 PyThreadState* __tstate = wxPyBeginAllowThreads();
8164 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8165
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 resultobj = SWIG_PyObj_FromBool((bool)result);
8170 return resultobj;
8171 fail:
8172 return NULL;
8173 }
8174
8175
8176 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8177 PyObject *obj;
8178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8179 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8180 Py_INCREF(obj);
8181 return Py_BuildValue((char *)"");
8182 }
8183 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8184 PyObject *resultobj;
8185 wxWindow *arg1 = (wxWindow *) 0 ;
8186 int arg2 = (int) wxBORDER_NONE ;
8187 wxPopupWindow *result;
8188 PyObject * obj0 = 0 ;
8189 PyObject * obj1 = 0 ;
8190 char *kwnames[] = {
8191 (char *) "parent",(char *) "flags", NULL
8192 };
8193
8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8196 if (obj1) {
8197 {
8198 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 }
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
8210 return resultobj;
8211 fail:
8212 return NULL;
8213 }
8214
8215
8216 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8217 PyObject *resultobj;
8218 wxPopupWindow *result;
8219 char *kwnames[] = {
8220 NULL
8221 };
8222
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8224 {
8225 PyThreadState* __tstate = wxPyBeginAllowThreads();
8226 result = (wxPopupWindow *)new wxPopupWindow();
8227
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
8232 return resultobj;
8233 fail:
8234 return NULL;
8235 }
8236
8237
8238 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8239 PyObject *resultobj;
8240 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8241 wxWindow *arg2 = (wxWindow *) 0 ;
8242 int arg3 = (int) wxBORDER_NONE ;
8243 bool result;
8244 PyObject * obj0 = 0 ;
8245 PyObject * obj1 = 0 ;
8246 PyObject * obj2 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "self",(char *) "parent",(char *) "flags", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8254 if (obj2) {
8255 {
8256 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 }
8260 {
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 result = (bool)(arg1)->Create(arg2,arg3);
8263
8264 wxPyEndAllowThreads(__tstate);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 }
8267 resultobj = SWIG_PyObj_FromBool((bool)result);
8268 return resultobj;
8269 fail:
8270 return NULL;
8271 }
8272
8273
8274 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8275 PyObject *resultobj;
8276 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8277 wxPoint *arg2 = 0 ;
8278 wxSize *arg3 = 0 ;
8279 wxPoint temp2 ;
8280 wxSize temp3 ;
8281 PyObject * obj0 = 0 ;
8282 PyObject * obj1 = 0 ;
8283 PyObject * obj2 = 0 ;
8284 char *kwnames[] = {
8285 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8286 };
8287
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8290 {
8291 arg2 = &temp2;
8292 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8293 }
8294 {
8295 arg3 = &temp3;
8296 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8297 }
8298 {
8299 PyThreadState* __tstate = wxPyBeginAllowThreads();
8300 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8301
8302 wxPyEndAllowThreads(__tstate);
8303 if (PyErr_Occurred()) SWIG_fail;
8304 }
8305 Py_INCREF(Py_None); resultobj = Py_None;
8306 return resultobj;
8307 fail:
8308 return NULL;
8309 }
8310
8311
8312 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8313 PyObject *obj;
8314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8315 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8316 Py_INCREF(obj);
8317 return Py_BuildValue((char *)"");
8318 }
8319 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8320 PyObject *resultobj;
8321 wxWindow *arg1 = (wxWindow *) 0 ;
8322 int arg2 = (int) wxBORDER_NONE ;
8323 wxPyPopupTransientWindow *result;
8324 PyObject * obj0 = 0 ;
8325 PyObject * obj1 = 0 ;
8326 char *kwnames[] = {
8327 (char *) "parent",(char *) "style", NULL
8328 };
8329
8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8332 if (obj1) {
8333 {
8334 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 }
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8341
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8346 return resultobj;
8347 fail:
8348 return NULL;
8349 }
8350
8351
8352 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj;
8354 wxPyPopupTransientWindow *result;
8355 char *kwnames[] = {
8356 NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8360 {
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
8362 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8363
8364 wxPyEndAllowThreads(__tstate);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8368 return resultobj;
8369 fail:
8370 return NULL;
8371 }
8372
8373
8374 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8375 PyObject *resultobj;
8376 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8377 PyObject *arg2 = (PyObject *) 0 ;
8378 PyObject *arg3 = (PyObject *) 0 ;
8379 PyObject * obj0 = 0 ;
8380 PyObject * obj1 = 0 ;
8381 PyObject * obj2 = 0 ;
8382 char *kwnames[] = {
8383 (char *) "self",(char *) "self",(char *) "_class", NULL
8384 };
8385
8386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8388 arg2 = obj1;
8389 arg3 = obj2;
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 (arg1)->_setCallbackInfo(arg2,arg3);
8393
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 Py_INCREF(Py_None); resultobj = Py_None;
8398 return resultobj;
8399 fail:
8400 return NULL;
8401 }
8402
8403
8404 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8405 PyObject *resultobj;
8406 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8407 wxWindow *arg2 = (wxWindow *) NULL ;
8408 PyObject * obj0 = 0 ;
8409 PyObject * obj1 = 0 ;
8410 char *kwnames[] = {
8411 (char *) "self",(char *) "focus", NULL
8412 };
8413
8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8416 if (obj1) {
8417 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8418 }
8419 {
8420 PyThreadState* __tstate = wxPyBeginAllowThreads();
8421 (arg1)->Popup(arg2);
8422
8423 wxPyEndAllowThreads(__tstate);
8424 if (PyErr_Occurred()) SWIG_fail;
8425 }
8426 Py_INCREF(Py_None); resultobj = Py_None;
8427 return resultobj;
8428 fail:
8429 return NULL;
8430 }
8431
8432
8433 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8434 PyObject *resultobj;
8435 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8436 PyObject * obj0 = 0 ;
8437 char *kwnames[] = {
8438 (char *) "self", NULL
8439 };
8440
8441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 (arg1)->Dismiss();
8446
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 Py_INCREF(Py_None); resultobj = Py_None;
8451 return resultobj;
8452 fail:
8453 return NULL;
8454 }
8455
8456
8457 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8458 PyObject *obj;
8459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8460 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8461 Py_INCREF(obj);
8462 return Py_BuildValue((char *)"");
8463 }
8464 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj;
8466 wxWindow *arg1 = (wxWindow *) 0 ;
8467 wxString *arg2 = 0 ;
8468 int arg3 = (int) 100 ;
8469 wxRect *arg4 = (wxRect *) NULL ;
8470 wxTipWindow *result;
8471 bool temp2 = False ;
8472 PyObject * obj0 = 0 ;
8473 PyObject * obj1 = 0 ;
8474 PyObject * obj2 = 0 ;
8475 PyObject * obj3 = 0 ;
8476 char *kwnames[] = {
8477 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8478 };
8479
8480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8482 {
8483 arg2 = wxString_in_helper(obj1);
8484 if (arg2 == NULL) SWIG_fail;
8485 temp2 = True;
8486 }
8487 if (obj2) {
8488 {
8489 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8490 if (PyErr_Occurred()) SWIG_fail;
8491 }
8492 }
8493 if (obj3) {
8494 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8495 }
8496 {
8497 PyThreadState* __tstate = wxPyBeginAllowThreads();
8498 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8499
8500 wxPyEndAllowThreads(__tstate);
8501 if (PyErr_Occurred()) SWIG_fail;
8502 }
8503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
8504 {
8505 if (temp2)
8506 delete arg2;
8507 }
8508 return resultobj;
8509 fail:
8510 {
8511 if (temp2)
8512 delete arg2;
8513 }
8514 return NULL;
8515 }
8516
8517
8518 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8519 PyObject *resultobj;
8520 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8521 wxRect *arg2 = 0 ;
8522 wxRect temp2 ;
8523 PyObject * obj0 = 0 ;
8524 PyObject * obj1 = 0 ;
8525 char *kwnames[] = {
8526 (char *) "self",(char *) "rectBound", NULL
8527 };
8528
8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8531 {
8532 arg2 = &temp2;
8533 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8534 }
8535 {
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8538
8539 wxPyEndAllowThreads(__tstate);
8540 if (PyErr_Occurred()) SWIG_fail;
8541 }
8542 Py_INCREF(Py_None); resultobj = Py_None;
8543 return resultobj;
8544 fail:
8545 return NULL;
8546 }
8547
8548
8549 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8550 PyObject *resultobj;
8551 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8552 PyObject * obj0 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "self", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8559 {
8560 PyThreadState* __tstate = wxPyBeginAllowThreads();
8561 (arg1)->Close();
8562
8563 wxPyEndAllowThreads(__tstate);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 }
8566 Py_INCREF(Py_None); resultobj = Py_None;
8567 return resultobj;
8568 fail:
8569 return NULL;
8570 }
8571
8572
8573 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8574 PyObject *obj;
8575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8576 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8577 Py_INCREF(obj);
8578 return Py_BuildValue((char *)"");
8579 }
8580 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8581 PyObject *resultobj;
8582 wxWindow *arg1 = (wxWindow *) 0 ;
8583 int arg2 = (int) wxID_ANY ;
8584 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8585 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8586 wxSize const &arg4_defvalue = wxDefaultSize ;
8587 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8588 long arg5 = (long) 0 ;
8589 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8590 wxString *arg6 = (wxString *) &arg6_defvalue ;
8591 wxPyVScrolledWindow *result;
8592 wxPoint temp3 ;
8593 wxSize temp4 ;
8594 bool temp6 = False ;
8595 PyObject * obj0 = 0 ;
8596 PyObject * obj1 = 0 ;
8597 PyObject * obj2 = 0 ;
8598 PyObject * obj3 = 0 ;
8599 PyObject * obj4 = 0 ;
8600 PyObject * obj5 = 0 ;
8601 char *kwnames[] = {
8602 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8603 };
8604
8605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8607 if (obj1) {
8608 {
8609 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 }
8613 if (obj2) {
8614 {
8615 arg3 = &temp3;
8616 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8617 }
8618 }
8619 if (obj3) {
8620 {
8621 arg4 = &temp4;
8622 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8623 }
8624 }
8625 if (obj4) {
8626 {
8627 arg5 = (long) SWIG_PyObj_AsLong(obj4);
8628 if (PyErr_Occurred()) SWIG_fail;
8629 }
8630 }
8631 if (obj5) {
8632 {
8633 arg6 = wxString_in_helper(obj5);
8634 if (arg6 == NULL) SWIG_fail;
8635 temp6 = True;
8636 }
8637 }
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8641
8642 wxPyEndAllowThreads(__tstate);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
8645 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8646 {
8647 if (temp6)
8648 delete arg6;
8649 }
8650 return resultobj;
8651 fail:
8652 {
8653 if (temp6)
8654 delete arg6;
8655 }
8656 return NULL;
8657 }
8658
8659
8660 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8661 PyObject *resultobj;
8662 wxPyVScrolledWindow *result;
8663 char *kwnames[] = {
8664 NULL
8665 };
8666
8667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8668 {
8669 PyThreadState* __tstate = wxPyBeginAllowThreads();
8670 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8671
8672 wxPyEndAllowThreads(__tstate);
8673 if (PyErr_Occurred()) SWIG_fail;
8674 }
8675 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8676 return resultobj;
8677 fail:
8678 return NULL;
8679 }
8680
8681
8682 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8683 PyObject *resultobj;
8684 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8685 PyObject *arg2 = (PyObject *) 0 ;
8686 PyObject *arg3 = (PyObject *) 0 ;
8687 PyObject * obj0 = 0 ;
8688 PyObject * obj1 = 0 ;
8689 PyObject * obj2 = 0 ;
8690 char *kwnames[] = {
8691 (char *) "self",(char *) "self",(char *) "_class", NULL
8692 };
8693
8694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8696 arg2 = obj1;
8697 arg3 = obj2;
8698 {
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 (arg1)->_setCallbackInfo(arg2,arg3);
8701
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 Py_INCREF(Py_None); resultobj = Py_None;
8706 return resultobj;
8707 fail:
8708 return NULL;
8709 }
8710
8711
8712 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8713 PyObject *resultobj;
8714 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8715 wxWindow *arg2 = (wxWindow *) 0 ;
8716 int arg3 = (int) wxID_ANY ;
8717 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8718 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8719 wxSize const &arg5_defvalue = wxDefaultSize ;
8720 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8721 long arg6 = (long) 0 ;
8722 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8723 wxString *arg7 = (wxString *) &arg7_defvalue ;
8724 bool result;
8725 wxPoint temp4 ;
8726 wxSize temp5 ;
8727 bool temp7 = False ;
8728 PyObject * obj0 = 0 ;
8729 PyObject * obj1 = 0 ;
8730 PyObject * obj2 = 0 ;
8731 PyObject * obj3 = 0 ;
8732 PyObject * obj4 = 0 ;
8733 PyObject * obj5 = 0 ;
8734 PyObject * obj6 = 0 ;
8735 char *kwnames[] = {
8736 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8737 };
8738
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8742 if (obj2) {
8743 {
8744 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8745 if (PyErr_Occurred()) SWIG_fail;
8746 }
8747 }
8748 if (obj3) {
8749 {
8750 arg4 = &temp4;
8751 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8752 }
8753 }
8754 if (obj4) {
8755 {
8756 arg5 = &temp5;
8757 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8758 }
8759 }
8760 if (obj5) {
8761 {
8762 arg6 = (long) SWIG_PyObj_AsLong(obj5);
8763 if (PyErr_Occurred()) SWIG_fail;
8764 }
8765 }
8766 if (obj6) {
8767 {
8768 arg7 = wxString_in_helper(obj6);
8769 if (arg7 == NULL) SWIG_fail;
8770 temp7 = True;
8771 }
8772 }
8773 {
8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
8775 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8776
8777 wxPyEndAllowThreads(__tstate);
8778 if (PyErr_Occurred()) SWIG_fail;
8779 }
8780 resultobj = SWIG_PyObj_FromBool((bool)result);
8781 {
8782 if (temp7)
8783 delete arg7;
8784 }
8785 return resultobj;
8786 fail:
8787 {
8788 if (temp7)
8789 delete arg7;
8790 }
8791 return NULL;
8792 }
8793
8794
8795 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj;
8797 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8798 size_t arg2 ;
8799 PyObject * obj0 = 0 ;
8800 PyObject * obj1 = 0 ;
8801 char *kwnames[] = {
8802 (char *) "self",(char *) "count", NULL
8803 };
8804
8805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8807 {
8808 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8809 if (PyErr_Occurred()) SWIG_fail;
8810 }
8811 {
8812 PyThreadState* __tstate = wxPyBeginAllowThreads();
8813 (arg1)->SetLineCount(arg2);
8814
8815 wxPyEndAllowThreads(__tstate);
8816 if (PyErr_Occurred()) SWIG_fail;
8817 }
8818 Py_INCREF(Py_None); resultobj = Py_None;
8819 return resultobj;
8820 fail:
8821 return NULL;
8822 }
8823
8824
8825 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8826 PyObject *resultobj;
8827 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8828 size_t arg2 ;
8829 bool result;
8830 PyObject * obj0 = 0 ;
8831 PyObject * obj1 = 0 ;
8832 char *kwnames[] = {
8833 (char *) "self",(char *) "line", NULL
8834 };
8835
8836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8838 {
8839 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 result = (bool)(arg1)->ScrollToLine(arg2);
8845
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 resultobj = SWIG_PyObj_FromBool((bool)result);
8850 return resultobj;
8851 fail:
8852 return NULL;
8853 }
8854
8855
8856 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8857 PyObject *resultobj;
8858 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8859 int arg2 ;
8860 bool result;
8861 PyObject * obj0 = 0 ;
8862 PyObject * obj1 = 0 ;
8863 char *kwnames[] = {
8864 (char *) "self",(char *) "lines", NULL
8865 };
8866
8867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8869 {
8870 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 result = (bool)(arg1)->ScrollLines(arg2);
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 resultobj = SWIG_PyObj_FromBool((bool)result);
8881 return resultobj;
8882 fail:
8883 return NULL;
8884 }
8885
8886
8887 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8888 PyObject *resultobj;
8889 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8890 int arg2 ;
8891 bool result;
8892 PyObject * obj0 = 0 ;
8893 PyObject * obj1 = 0 ;
8894 char *kwnames[] = {
8895 (char *) "self",(char *) "pages", NULL
8896 };
8897
8898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
8899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8900 {
8901 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 result = (bool)(arg1)->ScrollPages(arg2);
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
8911 resultobj = SWIG_PyObj_FromBool((bool)result);
8912 return resultobj;
8913 fail:
8914 return NULL;
8915 }
8916
8917
8918 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8919 PyObject *resultobj;
8920 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8921 size_t arg2 ;
8922 PyObject * obj0 = 0 ;
8923 PyObject * obj1 = 0 ;
8924 char *kwnames[] = {
8925 (char *) "self",(char *) "line", NULL
8926 };
8927
8928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8930 {
8931 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 {
8935 PyThreadState* __tstate = wxPyBeginAllowThreads();
8936 (arg1)->RefreshLine(arg2);
8937
8938 wxPyEndAllowThreads(__tstate);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 Py_INCREF(Py_None); resultobj = Py_None;
8942 return resultobj;
8943 fail:
8944 return NULL;
8945 }
8946
8947
8948 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8951 size_t arg2 ;
8952 size_t arg3 ;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 PyObject * obj2 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self",(char *) "from",(char *) "to", NULL
8958 };
8959
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8962 {
8963 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 {
8967 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 }
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 (arg1)->RefreshLines(arg2,arg3);
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 Py_INCREF(Py_None); resultobj = Py_None;
8978 return resultobj;
8979 fail:
8980 return NULL;
8981 }
8982
8983
8984 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj;
8986 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8987 int arg2 ;
8988 int arg3 ;
8989 int result;
8990 PyObject * obj0 = 0 ;
8991 PyObject * obj1 = 0 ;
8992 PyObject * obj2 = 0 ;
8993 char *kwnames[] = {
8994 (char *) "self",(char *) "x",(char *) "y", NULL
8995 };
8996
8997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
8998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8999 {
9000 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 {
9004 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 {
9008 PyThreadState* __tstate = wxPyBeginAllowThreads();
9009 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9010
9011 wxPyEndAllowThreads(__tstate);
9012 if (PyErr_Occurred()) SWIG_fail;
9013 }
9014 resultobj = SWIG_PyObj_FromInt((int)result);
9015 return resultobj;
9016 fail:
9017 return NULL;
9018 }
9019
9020
9021 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9022 PyObject *resultobj;
9023 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9024 wxPoint *arg2 = 0 ;
9025 int result;
9026 wxPoint temp2 ;
9027 PyObject * obj0 = 0 ;
9028 PyObject * obj1 = 0 ;
9029 char *kwnames[] = {
9030 (char *) "self",(char *) "pt", NULL
9031 };
9032
9033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9035 {
9036 arg2 = &temp2;
9037 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9038 }
9039 {
9040 PyThreadState* __tstate = wxPyBeginAllowThreads();
9041 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9042
9043 wxPyEndAllowThreads(__tstate);
9044 if (PyErr_Occurred()) SWIG_fail;
9045 }
9046 resultobj = SWIG_PyObj_FromInt((int)result);
9047 return resultobj;
9048 fail:
9049 return NULL;
9050 }
9051
9052
9053 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9054 PyObject *resultobj;
9055 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9056 PyObject * obj0 = 0 ;
9057 char *kwnames[] = {
9058 (char *) "self", NULL
9059 };
9060
9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9063 {
9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9065 (arg1)->RefreshAll();
9066
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 Py_INCREF(Py_None); resultobj = Py_None;
9071 return resultobj;
9072 fail:
9073 return NULL;
9074 }
9075
9076
9077 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9078 PyObject *resultobj;
9079 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9080 size_t result;
9081 PyObject * obj0 = 0 ;
9082 char *kwnames[] = {
9083 (char *) "self", NULL
9084 };
9085
9086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9091
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9096 return resultobj;
9097 fail:
9098 return NULL;
9099 }
9100
9101
9102 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9103 PyObject *resultobj;
9104 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9105 size_t result;
9106 PyObject * obj0 = 0 ;
9107 char *kwnames[] = {
9108 (char *) "self", NULL
9109 };
9110
9111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9121 return resultobj;
9122 fail:
9123 return NULL;
9124 }
9125
9126
9127 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9128 PyObject *resultobj;
9129 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9130 size_t result;
9131 PyObject * obj0 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9141
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9146 return resultobj;
9147 fail:
9148 return NULL;
9149 }
9150
9151
9152 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9153 PyObject *resultobj;
9154 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9155 size_t arg2 ;
9156 bool result;
9157 PyObject * obj0 = 0 ;
9158 PyObject * obj1 = 0 ;
9159 char *kwnames[] = {
9160 (char *) "self",(char *) "line", NULL
9161 };
9162
9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9165 {
9166 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
9169 {
9170 PyThreadState* __tstate = wxPyBeginAllowThreads();
9171 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9172
9173 wxPyEndAllowThreads(__tstate);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 }
9176 resultobj = SWIG_PyObj_FromBool((bool)result);
9177 return resultobj;
9178 fail:
9179 return NULL;
9180 }
9181
9182
9183 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9184 PyObject *obj;
9185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9186 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9187 Py_INCREF(obj);
9188 return Py_BuildValue((char *)"");
9189 }
9190 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9191 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9192 return 1;
9193 }
9194
9195
9196 static PyObject *_wrap_VListBoxNameStr_get() {
9197 PyObject *pyobj;
9198
9199 {
9200 #if wxUSE_UNICODE
9201 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9202 #else
9203 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9204 #endif
9205 }
9206 return pyobj;
9207 }
9208
9209
9210 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxWindow *arg1 = (wxWindow *) 0 ;
9213 int arg2 = (int) wxID_ANY ;
9214 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9215 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9216 wxSize const &arg4_defvalue = wxDefaultSize ;
9217 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9218 long arg5 = (long) 0 ;
9219 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9220 wxString *arg6 = (wxString *) &arg6_defvalue ;
9221 wxPyVListBox *result;
9222 wxPoint temp3 ;
9223 wxSize temp4 ;
9224 bool temp6 = False ;
9225 PyObject * obj0 = 0 ;
9226 PyObject * obj1 = 0 ;
9227 PyObject * obj2 = 0 ;
9228 PyObject * obj3 = 0 ;
9229 PyObject * obj4 = 0 ;
9230 PyObject * obj5 = 0 ;
9231 char *kwnames[] = {
9232 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9233 };
9234
9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9237 if (obj1) {
9238 {
9239 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 }
9243 if (obj2) {
9244 {
9245 arg3 = &temp3;
9246 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9247 }
9248 }
9249 if (obj3) {
9250 {
9251 arg4 = &temp4;
9252 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9253 }
9254 }
9255 if (obj4) {
9256 {
9257 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9258 if (PyErr_Occurred()) SWIG_fail;
9259 }
9260 }
9261 if (obj5) {
9262 {
9263 arg6 = wxString_in_helper(obj5);
9264 if (arg6 == NULL) SWIG_fail;
9265 temp6 = True;
9266 }
9267 }
9268 {
9269 PyThreadState* __tstate = wxPyBeginAllowThreads();
9270 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9271
9272 wxPyEndAllowThreads(__tstate);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 }
9275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
9276 {
9277 if (temp6)
9278 delete arg6;
9279 }
9280 return resultobj;
9281 fail:
9282 {
9283 if (temp6)
9284 delete arg6;
9285 }
9286 return NULL;
9287 }
9288
9289
9290 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9291 PyObject *resultobj;
9292 wxPyVListBox *result;
9293 char *kwnames[] = {
9294 NULL
9295 };
9296
9297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9298 {
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 result = (wxPyVListBox *)new wxPyVListBox();
9301
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
9306 return resultobj;
9307 fail:
9308 return NULL;
9309 }
9310
9311
9312 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9313 PyObject *resultobj;
9314 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9315 PyObject *arg2 = (PyObject *) 0 ;
9316 PyObject *arg3 = (PyObject *) 0 ;
9317 PyObject * obj0 = 0 ;
9318 PyObject * obj1 = 0 ;
9319 PyObject * obj2 = 0 ;
9320 char *kwnames[] = {
9321 (char *) "self",(char *) "self",(char *) "_class", NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9326 arg2 = obj1;
9327 arg3 = obj2;
9328 {
9329 PyThreadState* __tstate = wxPyBeginAllowThreads();
9330 (arg1)->_setCallbackInfo(arg2,arg3);
9331
9332 wxPyEndAllowThreads(__tstate);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 Py_INCREF(Py_None); resultobj = Py_None;
9336 return resultobj;
9337 fail:
9338 return NULL;
9339 }
9340
9341
9342 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9343 PyObject *resultobj;
9344 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9345 wxWindow *arg2 = (wxWindow *) 0 ;
9346 int arg3 = (int) wxID_ANY ;
9347 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9348 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9349 wxSize const &arg5_defvalue = wxDefaultSize ;
9350 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9351 long arg6 = (long) 0 ;
9352 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9353 wxString *arg7 = (wxString *) &arg7_defvalue ;
9354 bool result;
9355 wxPoint temp4 ;
9356 wxSize temp5 ;
9357 bool temp7 = False ;
9358 PyObject * obj0 = 0 ;
9359 PyObject * obj1 = 0 ;
9360 PyObject * obj2 = 0 ;
9361 PyObject * obj3 = 0 ;
9362 PyObject * obj4 = 0 ;
9363 PyObject * obj5 = 0 ;
9364 PyObject * obj6 = 0 ;
9365 char *kwnames[] = {
9366 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9367 };
9368
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9371 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9372 if (obj2) {
9373 {
9374 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
9377 }
9378 if (obj3) {
9379 {
9380 arg4 = &temp4;
9381 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9382 }
9383 }
9384 if (obj4) {
9385 {
9386 arg5 = &temp5;
9387 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9388 }
9389 }
9390 if (obj5) {
9391 {
9392 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9393 if (PyErr_Occurred()) SWIG_fail;
9394 }
9395 }
9396 if (obj6) {
9397 {
9398 arg7 = wxString_in_helper(obj6);
9399 if (arg7 == NULL) SWIG_fail;
9400 temp7 = True;
9401 }
9402 }
9403 {
9404 PyThreadState* __tstate = wxPyBeginAllowThreads();
9405 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9406
9407 wxPyEndAllowThreads(__tstate);
9408 if (PyErr_Occurred()) SWIG_fail;
9409 }
9410 resultobj = SWIG_PyObj_FromBool((bool)result);
9411 {
9412 if (temp7)
9413 delete arg7;
9414 }
9415 return resultobj;
9416 fail:
9417 {
9418 if (temp7)
9419 delete arg7;
9420 }
9421 return NULL;
9422 }
9423
9424
9425 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9426 PyObject *resultobj;
9427 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9428 size_t result;
9429 PyObject * obj0 = 0 ;
9430 char *kwnames[] = {
9431 (char *) "self", NULL
9432 };
9433
9434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9436 {
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9439
9440 wxPyEndAllowThreads(__tstate);
9441 if (PyErr_Occurred()) SWIG_fail;
9442 }
9443 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9444 return resultobj;
9445 fail:
9446 return NULL;
9447 }
9448
9449
9450 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9453 bool result;
9454 PyObject * obj0 = 0 ;
9455 char *kwnames[] = {
9456 (char *) "self", NULL
9457 };
9458
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
9468 resultobj = SWIG_PyObj_FromBool((bool)result);
9469 return resultobj;
9470 fail:
9471 return NULL;
9472 }
9473
9474
9475 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9476 PyObject *resultobj;
9477 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9478 int result;
9479 PyObject * obj0 = 0 ;
9480 char *kwnames[] = {
9481 (char *) "self", NULL
9482 };
9483
9484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9486 {
9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
9488 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9489
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 resultobj = SWIG_PyObj_FromInt((int)result);
9494 return resultobj;
9495 fail:
9496 return NULL;
9497 }
9498
9499
9500 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj;
9502 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9503 size_t arg2 ;
9504 bool result;
9505 PyObject * obj0 = 0 ;
9506 PyObject * obj1 = 0 ;
9507 char *kwnames[] = {
9508 (char *) "self",(char *) "item", NULL
9509 };
9510
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9513 {
9514 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9520
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
9524 resultobj = SWIG_PyObj_FromBool((bool)result);
9525 return resultobj;
9526 fail:
9527 return NULL;
9528 }
9529
9530
9531 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9534 size_t arg2 ;
9535 bool result;
9536 PyObject * obj0 = 0 ;
9537 PyObject * obj1 = 0 ;
9538 char *kwnames[] = {
9539 (char *) "self",(char *) "item", NULL
9540 };
9541
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9544 {
9545 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9546 if (PyErr_Occurred()) SWIG_fail;
9547 }
9548 {
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9550 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9551
9552 wxPyEndAllowThreads(__tstate);
9553 if (PyErr_Occurred()) SWIG_fail;
9554 }
9555 resultobj = SWIG_PyObj_FromBool((bool)result);
9556 return resultobj;
9557 fail:
9558 return NULL;
9559 }
9560
9561
9562 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9563 PyObject *resultobj;
9564 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9565 size_t result;
9566 PyObject * obj0 = 0 ;
9567 char *kwnames[] = {
9568 (char *) "self", NULL
9569 };
9570
9571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9581 return resultobj;
9582 fail:
9583 return NULL;
9584 }
9585
9586
9587 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj;
9589 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9590 unsigned long *arg2 = 0 ;
9591 int result;
9592 PyObject * obj0 = 0 ;
9593 PyObject * obj1 = 0 ;
9594 char *kwnames[] = {
9595 (char *) "self",(char *) "cookie", NULL
9596 };
9597
9598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9601 if (arg2 == NULL) {
9602 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9603 }
9604 {
9605 PyThreadState* __tstate = wxPyBeginAllowThreads();
9606 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9607
9608 wxPyEndAllowThreads(__tstate);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
9611 resultobj = SWIG_PyObj_FromInt((int)result);
9612 return resultobj;
9613 fail:
9614 return NULL;
9615 }
9616
9617
9618 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9619 PyObject *resultobj;
9620 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9621 unsigned long *arg2 = 0 ;
9622 int result;
9623 PyObject * obj0 = 0 ;
9624 PyObject * obj1 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "self",(char *) "cookie", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9632 if (arg2 == NULL) {
9633 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9634 }
9635 {
9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
9637 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9638
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 resultobj = SWIG_PyObj_FromInt((int)result);
9643 return resultobj;
9644 fail:
9645 return NULL;
9646 }
9647
9648
9649 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9650 PyObject *resultobj;
9651 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9652 wxPoint result;
9653 PyObject * obj0 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "self", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9660 {
9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
9662 result = ((wxPyVListBox const *)arg1)->GetMargins();
9663
9664 wxPyEndAllowThreads(__tstate);
9665 if (PyErr_Occurred()) SWIG_fail;
9666 }
9667 {
9668 wxPoint * resultptr;
9669 resultptr = new wxPoint((wxPoint &) result);
9670 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9671 }
9672 return resultobj;
9673 fail:
9674 return NULL;
9675 }
9676
9677
9678 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9679 PyObject *resultobj;
9680 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9681 wxColour *result;
9682 PyObject * obj0 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "self", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 {
9692 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9693 result = (wxColour *) &_result_ref;
9694 }
9695
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
9700 return resultobj;
9701 fail:
9702 return NULL;
9703 }
9704
9705
9706 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9707 PyObject *resultobj;
9708 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9709 size_t arg2 ;
9710 PyObject * obj0 = 0 ;
9711 PyObject * obj1 = 0 ;
9712 char *kwnames[] = {
9713 (char *) "self",(char *) "count", NULL
9714 };
9715
9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9718 {
9719 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9720 if (PyErr_Occurred()) SWIG_fail;
9721 }
9722 {
9723 PyThreadState* __tstate = wxPyBeginAllowThreads();
9724 (arg1)->SetItemCount(arg2);
9725
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 Py_INCREF(Py_None); resultobj = Py_None;
9730 return resultobj;
9731 fail:
9732 return NULL;
9733 }
9734
9735
9736 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9737 PyObject *resultobj;
9738 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9739 PyObject * obj0 = 0 ;
9740 char *kwnames[] = {
9741 (char *) "self", NULL
9742 };
9743
9744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 (arg1)->Clear();
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 Py_INCREF(Py_None); resultobj = Py_None;
9754 return resultobj;
9755 fail:
9756 return NULL;
9757 }
9758
9759
9760 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9761 PyObject *resultobj;
9762 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9763 int arg2 ;
9764 PyObject * obj0 = 0 ;
9765 PyObject * obj1 = 0 ;
9766 char *kwnames[] = {
9767 (char *) "self",(char *) "selection", NULL
9768 };
9769
9770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9772 {
9773 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9774 if (PyErr_Occurred()) SWIG_fail;
9775 }
9776 {
9777 PyThreadState* __tstate = wxPyBeginAllowThreads();
9778 (arg1)->SetSelection(arg2);
9779
9780 wxPyEndAllowThreads(__tstate);
9781 if (PyErr_Occurred()) SWIG_fail;
9782 }
9783 Py_INCREF(Py_None); resultobj = Py_None;
9784 return resultobj;
9785 fail:
9786 return NULL;
9787 }
9788
9789
9790 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9791 PyObject *resultobj;
9792 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9793 size_t arg2 ;
9794 bool arg3 = (bool) True ;
9795 bool result;
9796 PyObject * obj0 = 0 ;
9797 PyObject * obj1 = 0 ;
9798 PyObject * obj2 = 0 ;
9799 char *kwnames[] = {
9800 (char *) "self",(char *) "item",(char *) "select", NULL
9801 };
9802
9803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9805 {
9806 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 }
9809 if (obj2) {
9810 {
9811 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
9812 if (PyErr_Occurred()) SWIG_fail;
9813 }
9814 }
9815 {
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 result = (bool)(arg1)->Select(arg2,arg3);
9818
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 }
9822 resultobj = SWIG_PyObj_FromBool((bool)result);
9823 return resultobj;
9824 fail:
9825 return NULL;
9826 }
9827
9828
9829 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9830 PyObject *resultobj;
9831 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9832 size_t arg2 ;
9833 size_t arg3 ;
9834 bool result;
9835 PyObject * obj0 = 0 ;
9836 PyObject * obj1 = 0 ;
9837 PyObject * obj2 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self",(char *) "from",(char *) "to", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9844 {
9845 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9846 if (PyErr_Occurred()) SWIG_fail;
9847 }
9848 {
9849 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = (bool)(arg1)->SelectRange(arg2,arg3);
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 resultobj = SWIG_PyObj_FromBool((bool)result);
9860 return resultobj;
9861 fail:
9862 return NULL;
9863 }
9864
9865
9866 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9867 PyObject *resultobj;
9868 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9869 size_t arg2 ;
9870 PyObject * obj0 = 0 ;
9871 PyObject * obj1 = 0 ;
9872 char *kwnames[] = {
9873 (char *) "self",(char *) "item", NULL
9874 };
9875
9876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9878 {
9879 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 {
9883 PyThreadState* __tstate = wxPyBeginAllowThreads();
9884 (arg1)->Toggle(arg2);
9885
9886 wxPyEndAllowThreads(__tstate);
9887 if (PyErr_Occurred()) SWIG_fail;
9888 }
9889 Py_INCREF(Py_None); resultobj = Py_None;
9890 return resultobj;
9891 fail:
9892 return NULL;
9893 }
9894
9895
9896 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9897 PyObject *resultobj;
9898 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9899 bool result;
9900 PyObject * obj0 = 0 ;
9901 char *kwnames[] = {
9902 (char *) "self", NULL
9903 };
9904
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9907 {
9908 PyThreadState* __tstate = wxPyBeginAllowThreads();
9909 result = (bool)(arg1)->SelectAll();
9910
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 resultobj = SWIG_PyObj_FromBool((bool)result);
9915 return resultobj;
9916 fail:
9917 return NULL;
9918 }
9919
9920
9921 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9922 PyObject *resultobj;
9923 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9924 bool result;
9925 PyObject * obj0 = 0 ;
9926 char *kwnames[] = {
9927 (char *) "self", NULL
9928 };
9929
9930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9932 {
9933 PyThreadState* __tstate = wxPyBeginAllowThreads();
9934 result = (bool)(arg1)->DeselectAll();
9935
9936 wxPyEndAllowThreads(__tstate);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 }
9939 resultobj = SWIG_PyObj_FromBool((bool)result);
9940 return resultobj;
9941 fail:
9942 return NULL;
9943 }
9944
9945
9946 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9947 PyObject *resultobj;
9948 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9949 wxPoint *arg2 = 0 ;
9950 wxPoint temp2 ;
9951 PyObject * obj0 = 0 ;
9952 PyObject * obj1 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self",(char *) "pt", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9959 {
9960 arg2 = &temp2;
9961 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9962 }
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 (arg1)->SetMargins((wxPoint const &)*arg2);
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 Py_INCREF(Py_None); resultobj = Py_None;
9971 return resultobj;
9972 fail:
9973 return NULL;
9974 }
9975
9976
9977 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9978 PyObject *resultobj;
9979 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9980 int arg2 ;
9981 int arg3 ;
9982 PyObject * obj0 = 0 ;
9983 PyObject * obj1 = 0 ;
9984 PyObject * obj2 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self",(char *) "x",(char *) "y", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9991 {
9992 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 {
9996 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 (arg1)->SetMargins(arg2,arg3);
10002
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 }
10006 Py_INCREF(Py_None); resultobj = Py_None;
10007 return resultobj;
10008 fail:
10009 return NULL;
10010 }
10011
10012
10013 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10014 PyObject *resultobj;
10015 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10016 wxColour *arg2 = 0 ;
10017 wxColour temp2 ;
10018 PyObject * obj0 = 0 ;
10019 PyObject * obj1 = 0 ;
10020 char *kwnames[] = {
10021 (char *) "self",(char *) "col", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10026 {
10027 arg2 = &temp2;
10028 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10029 }
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10033
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 Py_INCREF(Py_None); resultobj = Py_None;
10038 return resultobj;
10039 fail:
10040 return NULL;
10041 }
10042
10043
10044 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10045 PyObject *obj;
10046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10047 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10048 Py_INCREF(obj);
10049 return Py_BuildValue((char *)"");
10050 }
10051 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10052 PyObject *resultobj;
10053 wxWindow *arg1 = (wxWindow *) 0 ;
10054 int arg2 = (int) wxID_ANY ;
10055 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10056 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10057 wxSize const &arg4_defvalue = wxDefaultSize ;
10058 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10059 long arg5 = (long) 0 ;
10060 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10061 wxString *arg6 = (wxString *) &arg6_defvalue ;
10062 wxPyHtmlListBox *result;
10063 wxPoint temp3 ;
10064 wxSize temp4 ;
10065 bool temp6 = False ;
10066 PyObject * obj0 = 0 ;
10067 PyObject * obj1 = 0 ;
10068 PyObject * obj2 = 0 ;
10069 PyObject * obj3 = 0 ;
10070 PyObject * obj4 = 0 ;
10071 PyObject * obj5 = 0 ;
10072 char *kwnames[] = {
10073 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10074 };
10075
10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10078 if (obj1) {
10079 {
10080 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
10083 }
10084 if (obj2) {
10085 {
10086 arg3 = &temp3;
10087 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10088 }
10089 }
10090 if (obj3) {
10091 {
10092 arg4 = &temp4;
10093 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10094 }
10095 }
10096 if (obj4) {
10097 {
10098 arg5 = (long) SWIG_PyObj_AsLong(obj4);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 }
10102 if (obj5) {
10103 {
10104 arg6 = wxString_in_helper(obj5);
10105 if (arg6 == NULL) SWIG_fail;
10106 temp6 = True;
10107 }
10108 }
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10112
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
10117 {
10118 if (temp6)
10119 delete arg6;
10120 }
10121 return resultobj;
10122 fail:
10123 {
10124 if (temp6)
10125 delete arg6;
10126 }
10127 return NULL;
10128 }
10129
10130
10131 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10132 PyObject *resultobj;
10133 wxPyHtmlListBox *result;
10134 char *kwnames[] = {
10135 NULL
10136 };
10137
10138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10139 {
10140 PyThreadState* __tstate = wxPyBeginAllowThreads();
10141 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10142
10143 wxPyEndAllowThreads(__tstate);
10144 if (PyErr_Occurred()) SWIG_fail;
10145 }
10146 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
10147 return resultobj;
10148 fail:
10149 return NULL;
10150 }
10151
10152
10153 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10154 PyObject *resultobj;
10155 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10156 PyObject *arg2 = (PyObject *) 0 ;
10157 PyObject *arg3 = (PyObject *) 0 ;
10158 PyObject * obj0 = 0 ;
10159 PyObject * obj1 = 0 ;
10160 PyObject * obj2 = 0 ;
10161 char *kwnames[] = {
10162 (char *) "self",(char *) "self",(char *) "_class", NULL
10163 };
10164
10165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10167 arg2 = obj1;
10168 arg3 = obj2;
10169 {
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
10171 (arg1)->_setCallbackInfo(arg2,arg3);
10172
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 Py_INCREF(Py_None); resultobj = Py_None;
10177 return resultobj;
10178 fail:
10179 return NULL;
10180 }
10181
10182
10183 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj;
10185 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10186 wxWindow *arg2 = (wxWindow *) 0 ;
10187 int arg3 = (int) wxID_ANY ;
10188 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10189 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10190 wxSize const &arg5_defvalue = wxDefaultSize ;
10191 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10192 long arg6 = (long) 0 ;
10193 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10194 wxString *arg7 = (wxString *) &arg7_defvalue ;
10195 bool result;
10196 wxPoint temp4 ;
10197 wxSize temp5 ;
10198 bool temp7 = False ;
10199 PyObject * obj0 = 0 ;
10200 PyObject * obj1 = 0 ;
10201 PyObject * obj2 = 0 ;
10202 PyObject * obj3 = 0 ;
10203 PyObject * obj4 = 0 ;
10204 PyObject * obj5 = 0 ;
10205 PyObject * obj6 = 0 ;
10206 char *kwnames[] = {
10207 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10208 };
10209
10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10212 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10213 if (obj2) {
10214 {
10215 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10216 if (PyErr_Occurred()) SWIG_fail;
10217 }
10218 }
10219 if (obj3) {
10220 {
10221 arg4 = &temp4;
10222 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10223 }
10224 }
10225 if (obj4) {
10226 {
10227 arg5 = &temp5;
10228 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10229 }
10230 }
10231 if (obj5) {
10232 {
10233 arg6 = (long) SWIG_PyObj_AsLong(obj5);
10234 if (PyErr_Occurred()) SWIG_fail;
10235 }
10236 }
10237 if (obj6) {
10238 {
10239 arg7 = wxString_in_helper(obj6);
10240 if (arg7 == NULL) SWIG_fail;
10241 temp7 = True;
10242 }
10243 }
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10247
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 resultobj = SWIG_PyObj_FromBool((bool)result);
10252 {
10253 if (temp7)
10254 delete arg7;
10255 }
10256 return resultobj;
10257 fail:
10258 {
10259 if (temp7)
10260 delete arg7;
10261 }
10262 return NULL;
10263 }
10264
10265
10266 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10267 PyObject *resultobj;
10268 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10269 PyObject * obj0 = 0 ;
10270 char *kwnames[] = {
10271 (char *) "self", NULL
10272 };
10273
10274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 (arg1)->RefreshAll();
10279
10280 wxPyEndAllowThreads(__tstate);
10281 if (PyErr_Occurred()) SWIG_fail;
10282 }
10283 Py_INCREF(Py_None); resultobj = Py_None;
10284 return resultobj;
10285 fail:
10286 return NULL;
10287 }
10288
10289
10290 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10291 PyObject *resultobj;
10292 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10293 size_t arg2 ;
10294 PyObject * obj0 = 0 ;
10295 PyObject * obj1 = 0 ;
10296 char *kwnames[] = {
10297 (char *) "self",(char *) "count", NULL
10298 };
10299
10300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10302 {
10303 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 (arg1)->SetItemCount(arg2);
10309
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
10313 Py_INCREF(Py_None); resultobj = Py_None;
10314 return resultobj;
10315 fail:
10316 return NULL;
10317 }
10318
10319
10320 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10321 PyObject *obj;
10322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10323 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10324 Py_INCREF(obj);
10325 return Py_BuildValue((char *)"");
10326 }
10327 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10328 PyObject *resultobj;
10329 wxTaskBarIcon *result;
10330 char *kwnames[] = {
10331 NULL
10332 };
10333
10334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
10343 return resultobj;
10344 fail:
10345 return NULL;
10346 }
10347
10348
10349 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj;
10351 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10352 PyObject * obj0 = 0 ;
10353 char *kwnames[] = {
10354 (char *) "self", NULL
10355 };
10356
10357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10359 {
10360 PyThreadState* __tstate = wxPyBeginAllowThreads();
10361 delete arg1;
10362
10363 wxPyEndAllowThreads(__tstate);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 }
10366 Py_INCREF(Py_None); resultobj = Py_None;
10367 return resultobj;
10368 fail:
10369 return NULL;
10370 }
10371
10372
10373 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10374 PyObject *resultobj;
10375 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10376 bool result;
10377 PyObject * obj0 = 0 ;
10378 char *kwnames[] = {
10379 (char *) "self", NULL
10380 };
10381
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
10391 resultobj = SWIG_PyObj_FromBool((bool)result);
10392 return resultobj;
10393 fail:
10394 return NULL;
10395 }
10396
10397
10398 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10399 PyObject *resultobj;
10400 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10401 bool result;
10402 PyObject * obj0 = 0 ;
10403 char *kwnames[] = {
10404 (char *) "self", NULL
10405 };
10406
10407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 resultobj = SWIG_PyObj_FromBool((bool)result);
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj;
10425 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10426 wxIcon *arg2 = 0 ;
10427 wxString const &arg3_defvalue = wxPyEmptyString ;
10428 wxString *arg3 = (wxString *) &arg3_defvalue ;
10429 bool result;
10430 bool temp3 = False ;
10431 PyObject * obj0 = 0 ;
10432 PyObject * obj1 = 0 ;
10433 PyObject * obj2 = 0 ;
10434 char *kwnames[] = {
10435 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10436 };
10437
10438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10441 if (arg2 == NULL) {
10442 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10443 }
10444 if (obj2) {
10445 {
10446 arg3 = wxString_in_helper(obj2);
10447 if (arg3 == NULL) SWIG_fail;
10448 temp3 = True;
10449 }
10450 }
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 resultobj = SWIG_PyObj_FromBool((bool)result);
10459 {
10460 if (temp3)
10461 delete arg3;
10462 }
10463 return resultobj;
10464 fail:
10465 {
10466 if (temp3)
10467 delete arg3;
10468 }
10469 return NULL;
10470 }
10471
10472
10473 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10474 PyObject *resultobj;
10475 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10476 bool result;
10477 PyObject * obj0 = 0 ;
10478 char *kwnames[] = {
10479 (char *) "self", NULL
10480 };
10481
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10484 {
10485 PyThreadState* __tstate = wxPyBeginAllowThreads();
10486 result = (bool)(arg1)->RemoveIcon();
10487
10488 wxPyEndAllowThreads(__tstate);
10489 if (PyErr_Occurred()) SWIG_fail;
10490 }
10491 resultobj = SWIG_PyObj_FromBool((bool)result);
10492 return resultobj;
10493 fail:
10494 return NULL;
10495 }
10496
10497
10498 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10499 PyObject *resultobj;
10500 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10501 wxMenu *arg2 = (wxMenu *) 0 ;
10502 bool result;
10503 PyObject * obj0 = 0 ;
10504 PyObject * obj1 = 0 ;
10505 char *kwnames[] = {
10506 (char *) "self",(char *) "menu", NULL
10507 };
10508
10509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 result = (bool)(arg1)->PopupMenu(arg2);
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 resultobj = SWIG_PyObj_FromBool((bool)result);
10520 return resultobj;
10521 fail:
10522 return NULL;
10523 }
10524
10525
10526 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10527 PyObject *obj;
10528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10529 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10530 Py_INCREF(obj);
10531 return Py_BuildValue((char *)"");
10532 }
10533 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10534 PyObject *resultobj;
10535 wxEventType arg1 ;
10536 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10537 wxTaskBarIconEvent *result;
10538 PyObject * obj0 = 0 ;
10539 PyObject * obj1 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "evtType",(char *) "tbIcon", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10545 {
10546 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10547 if (PyErr_Occurred()) SWIG_fail;
10548 }
10549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10550 {
10551 PyThreadState* __tstate = wxPyBeginAllowThreads();
10552 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10553
10554 wxPyEndAllowThreads(__tstate);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
10557 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
10558 return resultobj;
10559 fail:
10560 return NULL;
10561 }
10562
10563
10564 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10565 PyObject *obj;
10566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10567 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10568 Py_INCREF(obj);
10569 return Py_BuildValue((char *)"");
10570 }
10571 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10572 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10573 return 1;
10574 }
10575
10576
10577 static PyObject *_wrap_FileSelectorPromptStr_get() {
10578 PyObject *pyobj;
10579
10580 {
10581 #if wxUSE_UNICODE
10582 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10583 #else
10584 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10585 #endif
10586 }
10587 return pyobj;
10588 }
10589
10590
10591 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10592 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10593 return 1;
10594 }
10595
10596
10597 static PyObject *_wrap_DirSelectorPromptStr_get() {
10598 PyObject *pyobj;
10599
10600 {
10601 #if wxUSE_UNICODE
10602 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10603 #else
10604 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10605 #endif
10606 }
10607 return pyobj;
10608 }
10609
10610
10611 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10612 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10613 return 1;
10614 }
10615
10616
10617 static PyObject *_wrap_DirDialogNameStr_get() {
10618 PyObject *pyobj;
10619
10620 {
10621 #if wxUSE_UNICODE
10622 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10623 #else
10624 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10625 #endif
10626 }
10627 return pyobj;
10628 }
10629
10630
10631 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10632 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10633 return 1;
10634 }
10635
10636
10637 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10638 PyObject *pyobj;
10639
10640 {
10641 #if wxUSE_UNICODE
10642 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10643 #else
10644 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10645 #endif
10646 }
10647 return pyobj;
10648 }
10649
10650
10651 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10652 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10653 return 1;
10654 }
10655
10656
10657 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10658 PyObject *pyobj;
10659
10660 {
10661 #if wxUSE_UNICODE
10662 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10663 #else
10664 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10665 #endif
10666 }
10667 return pyobj;
10668 }
10669
10670
10671 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10672 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10673 return 1;
10674 }
10675
10676
10677 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10678 PyObject *pyobj;
10679
10680 {
10681 #if wxUSE_UNICODE
10682 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10683 #else
10684 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10685 #endif
10686 }
10687 return pyobj;
10688 }
10689
10690
10691 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10692 PyObject *resultobj;
10693 wxColourData *result;
10694 char *kwnames[] = {
10695 NULL
10696 };
10697
10698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 result = (wxColourData *)new wxColourData();
10702
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 }
10706 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
10707 return resultobj;
10708 fail:
10709 return NULL;
10710 }
10711
10712
10713 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10714 PyObject *resultobj;
10715 wxColourData *arg1 = (wxColourData *) 0 ;
10716 PyObject * obj0 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10723 {
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 delete arg1;
10726
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 Py_INCREF(Py_None); resultobj = Py_None;
10731 return resultobj;
10732 fail:
10733 return NULL;
10734 }
10735
10736
10737 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10738 PyObject *resultobj;
10739 wxColourData *arg1 = (wxColourData *) 0 ;
10740 bool result;
10741 PyObject * obj0 = 0 ;
10742 char *kwnames[] = {
10743 (char *) "self", NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 result = (bool)(arg1)->GetChooseFull();
10751
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 resultobj = SWIG_PyObj_FromBool((bool)result);
10756 return resultobj;
10757 fail:
10758 return NULL;
10759 }
10760
10761
10762 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10763 PyObject *resultobj;
10764 wxColourData *arg1 = (wxColourData *) 0 ;
10765 wxColour result;
10766 PyObject * obj0 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 result = (arg1)->GetColour();
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 {
10781 wxColour * resultptr;
10782 resultptr = new wxColour((wxColour &) result);
10783 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10784 }
10785 return resultobj;
10786 fail:
10787 return NULL;
10788 }
10789
10790
10791 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10792 PyObject *resultobj;
10793 wxColourData *arg1 = (wxColourData *) 0 ;
10794 int arg2 ;
10795 wxColour result;
10796 PyObject * obj0 = 0 ;
10797 PyObject * obj1 = 0 ;
10798 char *kwnames[] = {
10799 (char *) "self",(char *) "i", NULL
10800 };
10801
10802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10804 {
10805 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 }
10808 {
10809 PyThreadState* __tstate = wxPyBeginAllowThreads();
10810 result = (arg1)->GetCustomColour(arg2);
10811
10812 wxPyEndAllowThreads(__tstate);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 }
10815 {
10816 wxColour * resultptr;
10817 resultptr = new wxColour((wxColour &) result);
10818 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10819 }
10820 return resultobj;
10821 fail:
10822 return NULL;
10823 }
10824
10825
10826 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10827 PyObject *resultobj;
10828 wxColourData *arg1 = (wxColourData *) 0 ;
10829 int arg2 ;
10830 PyObject * obj0 = 0 ;
10831 PyObject * obj1 = 0 ;
10832 char *kwnames[] = {
10833 (char *) "self",(char *) "flag", NULL
10834 };
10835
10836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10838 {
10839 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10840 if (PyErr_Occurred()) SWIG_fail;
10841 }
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 (arg1)->SetChooseFull(arg2);
10845
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 Py_INCREF(Py_None); resultobj = Py_None;
10850 return resultobj;
10851 fail:
10852 return NULL;
10853 }
10854
10855
10856 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10857 PyObject *resultobj;
10858 wxColourData *arg1 = (wxColourData *) 0 ;
10859 wxColour *arg2 = 0 ;
10860 wxColour temp2 ;
10861 PyObject * obj0 = 0 ;
10862 PyObject * obj1 = 0 ;
10863 char *kwnames[] = {
10864 (char *) "self",(char *) "colour", NULL
10865 };
10866
10867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10869 {
10870 arg2 = &temp2;
10871 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10872 }
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 (arg1)->SetColour((wxColour const &)*arg2);
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 Py_INCREF(Py_None); resultobj = Py_None;
10881 return resultobj;
10882 fail:
10883 return NULL;
10884 }
10885
10886
10887 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10888 PyObject *resultobj;
10889 wxColourData *arg1 = (wxColourData *) 0 ;
10890 int arg2 ;
10891 wxColour *arg3 = 0 ;
10892 wxColour temp3 ;
10893 PyObject * obj0 = 0 ;
10894 PyObject * obj1 = 0 ;
10895 PyObject * obj2 = 0 ;
10896 char *kwnames[] = {
10897 (char *) "self",(char *) "i",(char *) "colour", NULL
10898 };
10899
10900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10902 {
10903 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10904 if (PyErr_Occurred()) SWIG_fail;
10905 }
10906 {
10907 arg3 = &temp3;
10908 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10909 }
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
10912 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10913
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 Py_INCREF(Py_None); resultobj = Py_None;
10918 return resultobj;
10919 fail:
10920 return NULL;
10921 }
10922
10923
10924 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10925 PyObject *obj;
10926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10927 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10928 Py_INCREF(obj);
10929 return Py_BuildValue((char *)"");
10930 }
10931 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10932 PyObject *resultobj;
10933 wxWindow *arg1 = (wxWindow *) 0 ;
10934 wxColourData *arg2 = (wxColourData *) NULL ;
10935 wxColourDialog *result;
10936 PyObject * obj0 = 0 ;
10937 PyObject * obj1 = 0 ;
10938 char *kwnames[] = {
10939 (char *) "parent",(char *) "data", NULL
10940 };
10941
10942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10944 if (obj1) {
10945 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10946 }
10947 {
10948 PyThreadState* __tstate = wxPyBeginAllowThreads();
10949 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10950
10951 wxPyEndAllowThreads(__tstate);
10952 if (PyErr_Occurred()) SWIG_fail;
10953 }
10954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
10955 return resultobj;
10956 fail:
10957 return NULL;
10958 }
10959
10960
10961 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10962 PyObject *resultobj;
10963 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10964 wxColourData *result;
10965 PyObject * obj0 = 0 ;
10966 char *kwnames[] = {
10967 (char *) "self", NULL
10968 };
10969
10970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10972 {
10973 PyThreadState* __tstate = wxPyBeginAllowThreads();
10974 {
10975 wxColourData &_result_ref = (arg1)->GetColourData();
10976 result = (wxColourData *) &_result_ref;
10977 }
10978
10979 wxPyEndAllowThreads(__tstate);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 }
10982 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
10983 return resultobj;
10984 fail:
10985 return NULL;
10986 }
10987
10988
10989 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10990 PyObject *resultobj;
10991 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10992 int result;
10993 PyObject * obj0 = 0 ;
10994 char *kwnames[] = {
10995 (char *) "self", NULL
10996 };
10997
10998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
10999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 result = (int)(arg1)->ShowModal();
11003
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
11007 resultobj = SWIG_PyObj_FromInt((int)result);
11008 return resultobj;
11009 fail:
11010 return NULL;
11011 }
11012
11013
11014 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11015 PyObject *obj;
11016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11017 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11018 Py_INCREF(obj);
11019 return Py_BuildValue((char *)"");
11020 }
11021 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11022 PyObject *resultobj;
11023 wxWindow *arg1 = (wxWindow *) 0 ;
11024 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11025 wxString *arg2 = (wxString *) &arg2_defvalue ;
11026 wxString const &arg3_defvalue = wxPyEmptyString ;
11027 wxString *arg3 = (wxString *) &arg3_defvalue ;
11028 long arg4 = (long) 0 ;
11029 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11030 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11031 wxSize const &arg6_defvalue = wxDefaultSize ;
11032 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11033 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11034 wxString *arg7 = (wxString *) &arg7_defvalue ;
11035 wxDirDialog *result;
11036 bool temp2 = False ;
11037 bool temp3 = False ;
11038 wxPoint temp5 ;
11039 wxSize temp6 ;
11040 bool temp7 = False ;
11041 PyObject * obj0 = 0 ;
11042 PyObject * obj1 = 0 ;
11043 PyObject * obj2 = 0 ;
11044 PyObject * obj3 = 0 ;
11045 PyObject * obj4 = 0 ;
11046 PyObject * obj5 = 0 ;
11047 PyObject * obj6 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11054 if (obj1) {
11055 {
11056 arg2 = wxString_in_helper(obj1);
11057 if (arg2 == NULL) SWIG_fail;
11058 temp2 = True;
11059 }
11060 }
11061 if (obj2) {
11062 {
11063 arg3 = wxString_in_helper(obj2);
11064 if (arg3 == NULL) SWIG_fail;
11065 temp3 = True;
11066 }
11067 }
11068 if (obj3) {
11069 {
11070 arg4 = (long) SWIG_PyObj_AsLong(obj3);
11071 if (PyErr_Occurred()) SWIG_fail;
11072 }
11073 }
11074 if (obj4) {
11075 {
11076 arg5 = &temp5;
11077 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11078 }
11079 }
11080 if (obj5) {
11081 {
11082 arg6 = &temp6;
11083 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11084 }
11085 }
11086 if (obj6) {
11087 {
11088 arg7 = wxString_in_helper(obj6);
11089 if (arg7 == NULL) SWIG_fail;
11090 temp7 = True;
11091 }
11092 }
11093 {
11094 PyThreadState* __tstate = wxPyBeginAllowThreads();
11095 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11096
11097 wxPyEndAllowThreads(__tstate);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 }
11100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
11101 {
11102 if (temp2)
11103 delete arg2;
11104 }
11105 {
11106 if (temp3)
11107 delete arg3;
11108 }
11109 {
11110 if (temp7)
11111 delete arg7;
11112 }
11113 return resultobj;
11114 fail:
11115 {
11116 if (temp2)
11117 delete arg2;
11118 }
11119 {
11120 if (temp3)
11121 delete arg3;
11122 }
11123 {
11124 if (temp7)
11125 delete arg7;
11126 }
11127 return NULL;
11128 }
11129
11130
11131 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj;
11133 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11134 wxString result;
11135 PyObject * obj0 = 0 ;
11136 char *kwnames[] = {
11137 (char *) "self", NULL
11138 };
11139
11140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11142 {
11143 PyThreadState* __tstate = wxPyBeginAllowThreads();
11144 result = (arg1)->GetPath();
11145
11146 wxPyEndAllowThreads(__tstate);
11147 if (PyErr_Occurred()) SWIG_fail;
11148 }
11149 {
11150 #if wxUSE_UNICODE
11151 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11152 #else
11153 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11154 #endif
11155 }
11156 return resultobj;
11157 fail:
11158 return NULL;
11159 }
11160
11161
11162 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11163 PyObject *resultobj;
11164 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11165 wxString result;
11166 PyObject * obj0 = 0 ;
11167 char *kwnames[] = {
11168 (char *) "self", NULL
11169 };
11170
11171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 result = (arg1)->GetMessage();
11176
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 {
11181 #if wxUSE_UNICODE
11182 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11183 #else
11184 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11185 #endif
11186 }
11187 return resultobj;
11188 fail:
11189 return NULL;
11190 }
11191
11192
11193 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11194 PyObject *resultobj;
11195 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11196 long result;
11197 PyObject * obj0 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "self", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11204 {
11205 PyThreadState* __tstate = wxPyBeginAllowThreads();
11206 result = (long)(arg1)->GetStyle();
11207
11208 wxPyEndAllowThreads(__tstate);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 resultobj = SWIG_PyObj_FromLong((long)result);
11212 return resultobj;
11213 fail:
11214 return NULL;
11215 }
11216
11217
11218 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11219 PyObject *resultobj;
11220 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11221 wxString *arg2 = 0 ;
11222 bool temp2 = False ;
11223 PyObject * obj0 = 0 ;
11224 PyObject * obj1 = 0 ;
11225 char *kwnames[] = {
11226 (char *) "self",(char *) "message", NULL
11227 };
11228
11229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11231 {
11232 arg2 = wxString_in_helper(obj1);
11233 if (arg2 == NULL) SWIG_fail;
11234 temp2 = True;
11235 }
11236 {
11237 PyThreadState* __tstate = wxPyBeginAllowThreads();
11238 (arg1)->SetMessage((wxString const &)*arg2);
11239
11240 wxPyEndAllowThreads(__tstate);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 Py_INCREF(Py_None); resultobj = Py_None;
11244 {
11245 if (temp2)
11246 delete arg2;
11247 }
11248 return resultobj;
11249 fail:
11250 {
11251 if (temp2)
11252 delete arg2;
11253 }
11254 return NULL;
11255 }
11256
11257
11258 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11259 PyObject *resultobj;
11260 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11261 wxString *arg2 = 0 ;
11262 bool temp2 = False ;
11263 PyObject * obj0 = 0 ;
11264 PyObject * obj1 = 0 ;
11265 char *kwnames[] = {
11266 (char *) "self",(char *) "path", NULL
11267 };
11268
11269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11271 {
11272 arg2 = wxString_in_helper(obj1);
11273 if (arg2 == NULL) SWIG_fail;
11274 temp2 = True;
11275 }
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 (arg1)->SetPath((wxString const &)*arg2);
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 Py_INCREF(Py_None); resultobj = Py_None;
11284 {
11285 if (temp2)
11286 delete arg2;
11287 }
11288 return resultobj;
11289 fail:
11290 {
11291 if (temp2)
11292 delete arg2;
11293 }
11294 return NULL;
11295 }
11296
11297
11298 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj;
11300 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11301 int result;
11302 PyObject * obj0 = 0 ;
11303 char *kwnames[] = {
11304 (char *) "self", NULL
11305 };
11306
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
11308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11309 {
11310 PyThreadState* __tstate = wxPyBeginAllowThreads();
11311 result = (int)(arg1)->ShowModal();
11312
11313 wxPyEndAllowThreads(__tstate);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 }
11316 resultobj = SWIG_PyObj_FromInt((int)result);
11317 return resultobj;
11318 fail:
11319 return NULL;
11320 }
11321
11322
11323 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11324 PyObject *obj;
11325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11326 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11327 Py_INCREF(obj);
11328 return Py_BuildValue((char *)"");
11329 }
11330 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11331 PyObject *resultobj;
11332 wxWindow *arg1 = (wxWindow *) 0 ;
11333 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11334 wxString *arg2 = (wxString *) &arg2_defvalue ;
11335 wxString const &arg3_defvalue = wxPyEmptyString ;
11336 wxString *arg3 = (wxString *) &arg3_defvalue ;
11337 wxString const &arg4_defvalue = wxPyEmptyString ;
11338 wxString *arg4 = (wxString *) &arg4_defvalue ;
11339 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11340 wxString *arg5 = (wxString *) &arg5_defvalue ;
11341 long arg6 = (long) 0 ;
11342 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11343 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11344 wxFileDialog *result;
11345 bool temp2 = False ;
11346 bool temp3 = False ;
11347 bool temp4 = False ;
11348 bool temp5 = False ;
11349 wxPoint temp7 ;
11350 PyObject * obj0 = 0 ;
11351 PyObject * obj1 = 0 ;
11352 PyObject * obj2 = 0 ;
11353 PyObject * obj3 = 0 ;
11354 PyObject * obj4 = 0 ;
11355 PyObject * obj5 = 0 ;
11356 PyObject * obj6 = 0 ;
11357 char *kwnames[] = {
11358 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11359 };
11360
11361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11363 if (obj1) {
11364 {
11365 arg2 = wxString_in_helper(obj1);
11366 if (arg2 == NULL) SWIG_fail;
11367 temp2 = True;
11368 }
11369 }
11370 if (obj2) {
11371 {
11372 arg3 = wxString_in_helper(obj2);
11373 if (arg3 == NULL) SWIG_fail;
11374 temp3 = True;
11375 }
11376 }
11377 if (obj3) {
11378 {
11379 arg4 = wxString_in_helper(obj3);
11380 if (arg4 == NULL) SWIG_fail;
11381 temp4 = True;
11382 }
11383 }
11384 if (obj4) {
11385 {
11386 arg5 = wxString_in_helper(obj4);
11387 if (arg5 == NULL) SWIG_fail;
11388 temp5 = True;
11389 }
11390 }
11391 if (obj5) {
11392 {
11393 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 }
11396 }
11397 if (obj6) {
11398 {
11399 arg7 = &temp7;
11400 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11401 }
11402 }
11403 {
11404 PyThreadState* __tstate = wxPyBeginAllowThreads();
11405 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11406
11407 wxPyEndAllowThreads(__tstate);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
11410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
11411 {
11412 if (temp2)
11413 delete arg2;
11414 }
11415 {
11416 if (temp3)
11417 delete arg3;
11418 }
11419 {
11420 if (temp4)
11421 delete arg4;
11422 }
11423 {
11424 if (temp5)
11425 delete arg5;
11426 }
11427 return resultobj;
11428 fail:
11429 {
11430 if (temp2)
11431 delete arg2;
11432 }
11433 {
11434 if (temp3)
11435 delete arg3;
11436 }
11437 {
11438 if (temp4)
11439 delete arg4;
11440 }
11441 {
11442 if (temp5)
11443 delete arg5;
11444 }
11445 return NULL;
11446 }
11447
11448
11449 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11450 PyObject *resultobj;
11451 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11452 wxString *arg2 = 0 ;
11453 bool temp2 = False ;
11454 PyObject * obj0 = 0 ;
11455 PyObject * obj1 = 0 ;
11456 char *kwnames[] = {
11457 (char *) "self",(char *) "message", NULL
11458 };
11459
11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11462 {
11463 arg2 = wxString_in_helper(obj1);
11464 if (arg2 == NULL) SWIG_fail;
11465 temp2 = True;
11466 }
11467 {
11468 PyThreadState* __tstate = wxPyBeginAllowThreads();
11469 (arg1)->SetMessage((wxString const &)*arg2);
11470
11471 wxPyEndAllowThreads(__tstate);
11472 if (PyErr_Occurred()) SWIG_fail;
11473 }
11474 Py_INCREF(Py_None); resultobj = Py_None;
11475 {
11476 if (temp2)
11477 delete arg2;
11478 }
11479 return resultobj;
11480 fail:
11481 {
11482 if (temp2)
11483 delete arg2;
11484 }
11485 return NULL;
11486 }
11487
11488
11489 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11490 PyObject *resultobj;
11491 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11492 wxString *arg2 = 0 ;
11493 bool temp2 = False ;
11494 PyObject * obj0 = 0 ;
11495 PyObject * obj1 = 0 ;
11496 char *kwnames[] = {
11497 (char *) "self",(char *) "path", NULL
11498 };
11499
11500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11502 {
11503 arg2 = wxString_in_helper(obj1);
11504 if (arg2 == NULL) SWIG_fail;
11505 temp2 = True;
11506 }
11507 {
11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
11509 (arg1)->SetPath((wxString const &)*arg2);
11510
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
11514 Py_INCREF(Py_None); resultobj = Py_None;
11515 {
11516 if (temp2)
11517 delete arg2;
11518 }
11519 return resultobj;
11520 fail:
11521 {
11522 if (temp2)
11523 delete arg2;
11524 }
11525 return NULL;
11526 }
11527
11528
11529 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11530 PyObject *resultobj;
11531 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11532 wxString *arg2 = 0 ;
11533 bool temp2 = False ;
11534 PyObject * obj0 = 0 ;
11535 PyObject * obj1 = 0 ;
11536 char *kwnames[] = {
11537 (char *) "self",(char *) "dir", NULL
11538 };
11539
11540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11542 {
11543 arg2 = wxString_in_helper(obj1);
11544 if (arg2 == NULL) SWIG_fail;
11545 temp2 = True;
11546 }
11547 {
11548 PyThreadState* __tstate = wxPyBeginAllowThreads();
11549 (arg1)->SetDirectory((wxString const &)*arg2);
11550
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 Py_INCREF(Py_None); resultobj = Py_None;
11555 {
11556 if (temp2)
11557 delete arg2;
11558 }
11559 return resultobj;
11560 fail:
11561 {
11562 if (temp2)
11563 delete arg2;
11564 }
11565 return NULL;
11566 }
11567
11568
11569 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11570 PyObject *resultobj;
11571 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11572 wxString *arg2 = 0 ;
11573 bool temp2 = False ;
11574 PyObject * obj0 = 0 ;
11575 PyObject * obj1 = 0 ;
11576 char *kwnames[] = {
11577 (char *) "self",(char *) "name", NULL
11578 };
11579
11580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11582 {
11583 arg2 = wxString_in_helper(obj1);
11584 if (arg2 == NULL) SWIG_fail;
11585 temp2 = True;
11586 }
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 (arg1)->SetFilename((wxString const &)*arg2);
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 Py_INCREF(Py_None); resultobj = Py_None;
11595 {
11596 if (temp2)
11597 delete arg2;
11598 }
11599 return resultobj;
11600 fail:
11601 {
11602 if (temp2)
11603 delete arg2;
11604 }
11605 return NULL;
11606 }
11607
11608
11609 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11610 PyObject *resultobj;
11611 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11612 wxString *arg2 = 0 ;
11613 bool temp2 = False ;
11614 PyObject * obj0 = 0 ;
11615 PyObject * obj1 = 0 ;
11616 char *kwnames[] = {
11617 (char *) "self",(char *) "wildCard", NULL
11618 };
11619
11620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11622 {
11623 arg2 = wxString_in_helper(obj1);
11624 if (arg2 == NULL) SWIG_fail;
11625 temp2 = True;
11626 }
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 (arg1)->SetWildcard((wxString const &)*arg2);
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
11634 Py_INCREF(Py_None); resultobj = Py_None;
11635 {
11636 if (temp2)
11637 delete arg2;
11638 }
11639 return resultobj;
11640 fail:
11641 {
11642 if (temp2)
11643 delete arg2;
11644 }
11645 return NULL;
11646 }
11647
11648
11649 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11650 PyObject *resultobj;
11651 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11652 long arg2 ;
11653 PyObject * obj0 = 0 ;
11654 PyObject * obj1 = 0 ;
11655 char *kwnames[] = {
11656 (char *) "self",(char *) "style", NULL
11657 };
11658
11659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11661 {
11662 arg2 = (long) SWIG_PyObj_AsLong(obj1);
11663 if (PyErr_Occurred()) SWIG_fail;
11664 }
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 (arg1)->SetStyle(arg2);
11668
11669 wxPyEndAllowThreads(__tstate);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
11672 Py_INCREF(Py_None); resultobj = Py_None;
11673 return resultobj;
11674 fail:
11675 return NULL;
11676 }
11677
11678
11679 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11680 PyObject *resultobj;
11681 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11682 int arg2 ;
11683 PyObject * obj0 = 0 ;
11684 PyObject * obj1 = 0 ;
11685 char *kwnames[] = {
11686 (char *) "self",(char *) "filterIndex", NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11691 {
11692 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11693 if (PyErr_Occurred()) SWIG_fail;
11694 }
11695 {
11696 PyThreadState* __tstate = wxPyBeginAllowThreads();
11697 (arg1)->SetFilterIndex(arg2);
11698
11699 wxPyEndAllowThreads(__tstate);
11700 if (PyErr_Occurred()) SWIG_fail;
11701 }
11702 Py_INCREF(Py_None); resultobj = Py_None;
11703 return resultobj;
11704 fail:
11705 return NULL;
11706 }
11707
11708
11709 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11710 PyObject *resultobj;
11711 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11712 wxString result;
11713 PyObject * obj0 = 0 ;
11714 char *kwnames[] = {
11715 (char *) "self", NULL
11716 };
11717
11718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11720 {
11721 PyThreadState* __tstate = wxPyBeginAllowThreads();
11722 result = ((wxFileDialog const *)arg1)->GetMessage();
11723
11724 wxPyEndAllowThreads(__tstate);
11725 if (PyErr_Occurred()) SWIG_fail;
11726 }
11727 {
11728 #if wxUSE_UNICODE
11729 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11730 #else
11731 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11732 #endif
11733 }
11734 return resultobj;
11735 fail:
11736 return NULL;
11737 }
11738
11739
11740 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11741 PyObject *resultobj;
11742 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11743 wxString result;
11744 PyObject * obj0 = 0 ;
11745 char *kwnames[] = {
11746 (char *) "self", NULL
11747 };
11748
11749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11751 {
11752 PyThreadState* __tstate = wxPyBeginAllowThreads();
11753 result = ((wxFileDialog const *)arg1)->GetPath();
11754
11755 wxPyEndAllowThreads(__tstate);
11756 if (PyErr_Occurred()) SWIG_fail;
11757 }
11758 {
11759 #if wxUSE_UNICODE
11760 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11761 #else
11762 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11763 #endif
11764 }
11765 return resultobj;
11766 fail:
11767 return NULL;
11768 }
11769
11770
11771 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11772 PyObject *resultobj;
11773 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11774 wxString result;
11775 PyObject * obj0 = 0 ;
11776 char *kwnames[] = {
11777 (char *) "self", NULL
11778 };
11779
11780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11782 {
11783 PyThreadState* __tstate = wxPyBeginAllowThreads();
11784 result = ((wxFileDialog const *)arg1)->GetDirectory();
11785
11786 wxPyEndAllowThreads(__tstate);
11787 if (PyErr_Occurred()) SWIG_fail;
11788 }
11789 {
11790 #if wxUSE_UNICODE
11791 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11792 #else
11793 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11794 #endif
11795 }
11796 return resultobj;
11797 fail:
11798 return NULL;
11799 }
11800
11801
11802 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11803 PyObject *resultobj;
11804 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11805 wxString result;
11806 PyObject * obj0 = 0 ;
11807 char *kwnames[] = {
11808 (char *) "self", NULL
11809 };
11810
11811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11813 {
11814 PyThreadState* __tstate = wxPyBeginAllowThreads();
11815 result = ((wxFileDialog const *)arg1)->GetFilename();
11816
11817 wxPyEndAllowThreads(__tstate);
11818 if (PyErr_Occurred()) SWIG_fail;
11819 }
11820 {
11821 #if wxUSE_UNICODE
11822 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11823 #else
11824 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11825 #endif
11826 }
11827 return resultobj;
11828 fail:
11829 return NULL;
11830 }
11831
11832
11833 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11834 PyObject *resultobj;
11835 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11836 wxString result;
11837 PyObject * obj0 = 0 ;
11838 char *kwnames[] = {
11839 (char *) "self", NULL
11840 };
11841
11842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11844 {
11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
11846 result = ((wxFileDialog const *)arg1)->GetWildcard();
11847
11848 wxPyEndAllowThreads(__tstate);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
11851 {
11852 #if wxUSE_UNICODE
11853 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11854 #else
11855 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11856 #endif
11857 }
11858 return resultobj;
11859 fail:
11860 return NULL;
11861 }
11862
11863
11864 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11865 PyObject *resultobj;
11866 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11867 long result;
11868 PyObject * obj0 = 0 ;
11869 char *kwnames[] = {
11870 (char *) "self", NULL
11871 };
11872
11873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11878
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 resultobj = SWIG_PyObj_FromLong((long)result);
11883 return resultobj;
11884 fail:
11885 return NULL;
11886 }
11887
11888
11889 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11890 PyObject *resultobj;
11891 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11892 int result;
11893 PyObject * obj0 = 0 ;
11894 char *kwnames[] = {
11895 (char *) "self", NULL
11896 };
11897
11898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11900 {
11901 PyThreadState* __tstate = wxPyBeginAllowThreads();
11902 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11903
11904 wxPyEndAllowThreads(__tstate);
11905 if (PyErr_Occurred()) SWIG_fail;
11906 }
11907 resultobj = SWIG_PyObj_FromInt((int)result);
11908 return resultobj;
11909 fail:
11910 return NULL;
11911 }
11912
11913
11914 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11915 PyObject *resultobj;
11916 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11917 PyObject *result;
11918 PyObject * obj0 = 0 ;
11919 char *kwnames[] = {
11920 (char *) "self", NULL
11921 };
11922
11923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11925 {
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11928
11929 wxPyEndAllowThreads(__tstate);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 }
11932 resultobj = result;
11933 return resultobj;
11934 fail:
11935 return NULL;
11936 }
11937
11938
11939 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj;
11941 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11942 PyObject *result;
11943 PyObject * obj0 = 0 ;
11944 char *kwnames[] = {
11945 (char *) "self", NULL
11946 };
11947
11948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11953
11954 wxPyEndAllowThreads(__tstate);
11955 if (PyErr_Occurred()) SWIG_fail;
11956 }
11957 resultobj = result;
11958 return resultobj;
11959 fail:
11960 return NULL;
11961 }
11962
11963
11964 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11965 PyObject *obj;
11966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11967 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11968 Py_INCREF(obj);
11969 return Py_BuildValue((char *)"");
11970 }
11971 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj;
11973 wxWindow *arg1 = (wxWindow *) 0 ;
11974 wxString *arg2 = 0 ;
11975 wxString *arg3 = 0 ;
11976 int arg4 ;
11977 wxString *arg5 = (wxString *) 0 ;
11978 long arg6 = (long) wxCHOICEDLG_STYLE ;
11979 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11980 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11981 wxMultiChoiceDialog *result;
11982 bool temp2 = False ;
11983 bool temp3 = False ;
11984 bool temp5 = False ;
11985 wxPoint temp7 ;
11986 PyObject * obj0 = 0 ;
11987 PyObject * obj1 = 0 ;
11988 PyObject * obj2 = 0 ;
11989 PyObject * obj3 = 0 ;
11990 PyObject * obj4 = 0 ;
11991 PyObject * obj5 = 0 ;
11992 PyObject * obj6 = 0 ;
11993 char *kwnames[] = {
11994 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
11995 };
11996
11997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11999 {
12000 arg2 = wxString_in_helper(obj1);
12001 if (arg2 == NULL) SWIG_fail;
12002 temp2 = True;
12003 }
12004 {
12005 arg3 = wxString_in_helper(obj2);
12006 if (arg3 == NULL) SWIG_fail;
12007 temp3 = True;
12008 }
12009 {
12010 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 }
12013 {
12014 arg5 = wxString_in_helper(obj4);
12015 if (arg5 == NULL) SWIG_fail;
12016 temp5 = True;
12017 }
12018 if (obj5) {
12019 {
12020 arg6 = (long) SWIG_PyObj_AsLong(obj5);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 }
12024 if (obj6) {
12025 {
12026 arg7 = &temp7;
12027 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12028 }
12029 }
12030 {
12031 PyThreadState* __tstate = wxPyBeginAllowThreads();
12032 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12033
12034 wxPyEndAllowThreads(__tstate);
12035 if (PyErr_Occurred()) SWIG_fail;
12036 }
12037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
12038 {
12039 if (temp2)
12040 delete arg2;
12041 }
12042 {
12043 if (temp3)
12044 delete arg3;
12045 }
12046 {
12047 if (temp5)
12048 delete arg5;
12049 }
12050 return resultobj;
12051 fail:
12052 {
12053 if (temp2)
12054 delete arg2;
12055 }
12056 {
12057 if (temp3)
12058 delete arg3;
12059 }
12060 {
12061 if (temp5)
12062 delete arg5;
12063 }
12064 return NULL;
12065 }
12066
12067
12068 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12069 PyObject *resultobj;
12070 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12071 wxArrayInt *arg2 = 0 ;
12072 PyObject * obj0 = 0 ;
12073 PyObject * obj1 = 0 ;
12074 char *kwnames[] = {
12075 (char *) "self",(char *) "selections", NULL
12076 };
12077
12078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12080 {
12081 if (! PySequence_Check(obj1)) {
12082 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12083 SWIG_fail;
12084 }
12085 arg2 = new wxArrayInt;
12086 int i, len=PySequence_Length(obj1);
12087 for (i=0; i<len; i++) {
12088 PyObject* item = PySequence_GetItem(obj1, i);
12089 PyObject* number = PyNumber_Int(item);
12090 arg2->Add(PyInt_AS_LONG(number));
12091 Py_DECREF(item);
12092 Py_DECREF(number);
12093 }
12094 }
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12098
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 Py_INCREF(Py_None); resultobj = Py_None;
12103 {
12104 if (arg2) delete arg2;
12105 }
12106 return resultobj;
12107 fail:
12108 {
12109 if (arg2) delete arg2;
12110 }
12111 return NULL;
12112 }
12113
12114
12115 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12116 PyObject *resultobj;
12117 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12118 PyObject *result;
12119 PyObject * obj0 = 0 ;
12120 char *kwnames[] = {
12121 (char *) "self", NULL
12122 };
12123
12124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 resultobj = result;
12134 return resultobj;
12135 fail:
12136 return NULL;
12137 }
12138
12139
12140 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12141 PyObject *obj;
12142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12143 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12144 Py_INCREF(obj);
12145 return Py_BuildValue((char *)"");
12146 }
12147 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12148 PyObject *resultobj;
12149 wxWindow *arg1 = (wxWindow *) 0 ;
12150 wxString *arg2 = 0 ;
12151 wxString *arg3 = 0 ;
12152 int arg4 ;
12153 wxString *arg5 = (wxString *) 0 ;
12154 long arg6 = (long) wxCHOICEDLG_STYLE ;
12155 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12156 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12157 wxSingleChoiceDialog *result;
12158 bool temp2 = False ;
12159 bool temp3 = False ;
12160 wxPoint temp6 ;
12161 PyObject * obj0 = 0 ;
12162 PyObject * obj1 = 0 ;
12163 PyObject * obj2 = 0 ;
12164 PyObject * obj3 = 0 ;
12165 PyObject * obj4 = 0 ;
12166 PyObject * obj5 = 0 ;
12167 char *kwnames[] = {
12168 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12169 };
12170
12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12173 {
12174 arg2 = wxString_in_helper(obj1);
12175 if (arg2 == NULL) SWIG_fail;
12176 temp2 = True;
12177 }
12178 {
12179 arg3 = wxString_in_helper(obj2);
12180 if (arg3 == NULL) SWIG_fail;
12181 temp3 = True;
12182 }
12183 {
12184 arg4 = PyList_Size(obj3);
12185 arg5 = wxString_LIST_helper(obj3);
12186 if (arg5 == NULL) SWIG_fail;
12187 }
12188 if (obj4) {
12189 {
12190 arg6 = (long) SWIG_PyObj_AsLong(obj4);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
12193 }
12194 if (obj5) {
12195 {
12196 arg7 = &temp6;
12197 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12198 }
12199 }
12200 {
12201 PyThreadState* __tstate = wxPyBeginAllowThreads();
12202 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12203
12204 wxPyEndAllowThreads(__tstate);
12205 if (PyErr_Occurred()) SWIG_fail;
12206 }
12207 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
12208 {
12209 if (temp2)
12210 delete arg2;
12211 }
12212 {
12213 if (temp3)
12214 delete arg3;
12215 }
12216 {
12217 if (arg5) delete [] arg5;
12218 }
12219 return resultobj;
12220 fail:
12221 {
12222 if (temp2)
12223 delete arg2;
12224 }
12225 {
12226 if (temp3)
12227 delete arg3;
12228 }
12229 {
12230 if (arg5) delete [] arg5;
12231 }
12232 return NULL;
12233 }
12234
12235
12236 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12237 PyObject *resultobj;
12238 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12239 int result;
12240 PyObject * obj0 = 0 ;
12241 char *kwnames[] = {
12242 (char *) "self", NULL
12243 };
12244
12245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 result = (int)(arg1)->GetSelection();
12250
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 resultobj = SWIG_PyObj_FromInt((int)result);
12255 return resultobj;
12256 fail:
12257 return NULL;
12258 }
12259
12260
12261 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12262 PyObject *resultobj;
12263 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12264 wxString result;
12265 PyObject * obj0 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "self", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12272 {
12273 PyThreadState* __tstate = wxPyBeginAllowThreads();
12274 result = (arg1)->GetStringSelection();
12275
12276 wxPyEndAllowThreads(__tstate);
12277 if (PyErr_Occurred()) SWIG_fail;
12278 }
12279 {
12280 #if wxUSE_UNICODE
12281 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12282 #else
12283 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12284 #endif
12285 }
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12293 PyObject *resultobj;
12294 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12295 int arg2 ;
12296 PyObject * obj0 = 0 ;
12297 PyObject * obj1 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self",(char *) "sel", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12304 {
12305 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12306 if (PyErr_Occurred()) SWIG_fail;
12307 }
12308 {
12309 PyThreadState* __tstate = wxPyBeginAllowThreads();
12310 (arg1)->SetSelection(arg2);
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 Py_INCREF(Py_None); resultobj = Py_None;
12316 return resultobj;
12317 fail:
12318 return NULL;
12319 }
12320
12321
12322 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12325 int result;
12326 PyObject * obj0 = 0 ;
12327 char *kwnames[] = {
12328 (char *) "self", NULL
12329 };
12330
12331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
12332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12333 {
12334 PyThreadState* __tstate = wxPyBeginAllowThreads();
12335 result = (int)(arg1)->ShowModal();
12336
12337 wxPyEndAllowThreads(__tstate);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 resultobj = SWIG_PyObj_FromInt((int)result);
12341 return resultobj;
12342 fail:
12343 return NULL;
12344 }
12345
12346
12347 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12348 PyObject *obj;
12349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12350 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12351 Py_INCREF(obj);
12352 return Py_BuildValue((char *)"");
12353 }
12354 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12355 PyObject *resultobj;
12356 wxWindow *arg1 = (wxWindow *) 0 ;
12357 wxString *arg2 = 0 ;
12358 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12359 wxString *arg3 = (wxString *) &arg3_defvalue ;
12360 wxString const &arg4_defvalue = wxPyEmptyString ;
12361 wxString *arg4 = (wxString *) &arg4_defvalue ;
12362 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12363 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12364 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12365 wxTextEntryDialog *result;
12366 bool temp2 = False ;
12367 bool temp3 = False ;
12368 bool temp4 = False ;
12369 wxPoint temp6 ;
12370 PyObject * obj0 = 0 ;
12371 PyObject * obj1 = 0 ;
12372 PyObject * obj2 = 0 ;
12373 PyObject * obj3 = 0 ;
12374 PyObject * obj4 = 0 ;
12375 PyObject * obj5 = 0 ;
12376 char *kwnames[] = {
12377 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12378 };
12379
12380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12382 {
12383 arg2 = wxString_in_helper(obj1);
12384 if (arg2 == NULL) SWIG_fail;
12385 temp2 = True;
12386 }
12387 if (obj2) {
12388 {
12389 arg3 = wxString_in_helper(obj2);
12390 if (arg3 == NULL) SWIG_fail;
12391 temp3 = True;
12392 }
12393 }
12394 if (obj3) {
12395 {
12396 arg4 = wxString_in_helper(obj3);
12397 if (arg4 == NULL) SWIG_fail;
12398 temp4 = True;
12399 }
12400 }
12401 if (obj4) {
12402 {
12403 arg5 = (long) SWIG_PyObj_AsLong(obj4);
12404 if (PyErr_Occurred()) SWIG_fail;
12405 }
12406 }
12407 if (obj5) {
12408 {
12409 arg6 = &temp6;
12410 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12411 }
12412 }
12413 {
12414 PyThreadState* __tstate = wxPyBeginAllowThreads();
12415 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12416
12417 wxPyEndAllowThreads(__tstate);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 }
12420 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
12421 {
12422 if (temp2)
12423 delete arg2;
12424 }
12425 {
12426 if (temp3)
12427 delete arg3;
12428 }
12429 {
12430 if (temp4)
12431 delete arg4;
12432 }
12433 return resultobj;
12434 fail:
12435 {
12436 if (temp2)
12437 delete arg2;
12438 }
12439 {
12440 if (temp3)
12441 delete arg3;
12442 }
12443 {
12444 if (temp4)
12445 delete arg4;
12446 }
12447 return NULL;
12448 }
12449
12450
12451 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12452 PyObject *resultobj;
12453 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12454 wxString result;
12455 PyObject * obj0 = 0 ;
12456 char *kwnames[] = {
12457 (char *) "self", NULL
12458 };
12459
12460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12462 {
12463 PyThreadState* __tstate = wxPyBeginAllowThreads();
12464 result = (arg1)->GetValue();
12465
12466 wxPyEndAllowThreads(__tstate);
12467 if (PyErr_Occurred()) SWIG_fail;
12468 }
12469 {
12470 #if wxUSE_UNICODE
12471 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12472 #else
12473 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12474 #endif
12475 }
12476 return resultobj;
12477 fail:
12478 return NULL;
12479 }
12480
12481
12482 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12483 PyObject *resultobj;
12484 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12485 wxString *arg2 = 0 ;
12486 bool temp2 = False ;
12487 PyObject * obj0 = 0 ;
12488 PyObject * obj1 = 0 ;
12489 char *kwnames[] = {
12490 (char *) "self",(char *) "value", NULL
12491 };
12492
12493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12495 {
12496 arg2 = wxString_in_helper(obj1);
12497 if (arg2 == NULL) SWIG_fail;
12498 temp2 = True;
12499 }
12500 {
12501 PyThreadState* __tstate = wxPyBeginAllowThreads();
12502 (arg1)->SetValue((wxString const &)*arg2);
12503
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 Py_INCREF(Py_None); resultobj = Py_None;
12508 {
12509 if (temp2)
12510 delete arg2;
12511 }
12512 return resultobj;
12513 fail:
12514 {
12515 if (temp2)
12516 delete arg2;
12517 }
12518 return NULL;
12519 }
12520
12521
12522 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12523 PyObject *resultobj;
12524 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12525 int result;
12526 PyObject * obj0 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "self", NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
12532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12533 {
12534 PyThreadState* __tstate = wxPyBeginAllowThreads();
12535 result = (int)(arg1)->ShowModal();
12536
12537 wxPyEndAllowThreads(__tstate);
12538 if (PyErr_Occurred()) SWIG_fail;
12539 }
12540 resultobj = SWIG_PyObj_FromInt((int)result);
12541 return resultobj;
12542 fail:
12543 return NULL;
12544 }
12545
12546
12547 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12548 PyObject *obj;
12549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12550 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12551 Py_INCREF(obj);
12552 return Py_BuildValue((char *)"");
12553 }
12554 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12555 PyObject *resultobj;
12556 wxFontData *result;
12557 char *kwnames[] = {
12558 NULL
12559 };
12560
12561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12562 {
12563 PyThreadState* __tstate = wxPyBeginAllowThreads();
12564 result = (wxFontData *)new wxFontData();
12565
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
12570 return resultobj;
12571 fail:
12572 return NULL;
12573 }
12574
12575
12576 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12577 PyObject *resultobj;
12578 wxFontData *arg1 = (wxFontData *) 0 ;
12579 PyObject * obj0 = 0 ;
12580 char *kwnames[] = {
12581 (char *) "self", NULL
12582 };
12583
12584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12586 {
12587 PyThreadState* __tstate = wxPyBeginAllowThreads();
12588 delete arg1;
12589
12590 wxPyEndAllowThreads(__tstate);
12591 if (PyErr_Occurred()) SWIG_fail;
12592 }
12593 Py_INCREF(Py_None); resultobj = Py_None;
12594 return resultobj;
12595 fail:
12596 return NULL;
12597 }
12598
12599
12600 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12601 PyObject *resultobj;
12602 wxFontData *arg1 = (wxFontData *) 0 ;
12603 bool arg2 ;
12604 PyObject * obj0 = 0 ;
12605 PyObject * obj1 = 0 ;
12606 char *kwnames[] = {
12607 (char *) "self",(char *) "enable", NULL
12608 };
12609
12610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12612 {
12613 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12614 if (PyErr_Occurred()) SWIG_fail;
12615 }
12616 {
12617 PyThreadState* __tstate = wxPyBeginAllowThreads();
12618 (arg1)->EnableEffects(arg2);
12619
12620 wxPyEndAllowThreads(__tstate);
12621 if (PyErr_Occurred()) SWIG_fail;
12622 }
12623 Py_INCREF(Py_None); resultobj = Py_None;
12624 return resultobj;
12625 fail:
12626 return NULL;
12627 }
12628
12629
12630 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12631 PyObject *resultobj;
12632 wxFontData *arg1 = (wxFontData *) 0 ;
12633 bool result;
12634 PyObject * obj0 = 0 ;
12635 char *kwnames[] = {
12636 (char *) "self", NULL
12637 };
12638
12639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12641 {
12642 PyThreadState* __tstate = wxPyBeginAllowThreads();
12643 result = (bool)(arg1)->GetAllowSymbols();
12644
12645 wxPyEndAllowThreads(__tstate);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 resultobj = SWIG_PyObj_FromBool((bool)result);
12649 return resultobj;
12650 fail:
12651 return NULL;
12652 }
12653
12654
12655 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12656 PyObject *resultobj;
12657 wxFontData *arg1 = (wxFontData *) 0 ;
12658 wxColour result;
12659 PyObject * obj0 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "self", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12666 {
12667 PyThreadState* __tstate = wxPyBeginAllowThreads();
12668 result = (arg1)->GetColour();
12669
12670 wxPyEndAllowThreads(__tstate);
12671 if (PyErr_Occurred()) SWIG_fail;
12672 }
12673 {
12674 wxColour * resultptr;
12675 resultptr = new wxColour((wxColour &) result);
12676 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
12677 }
12678 return resultobj;
12679 fail:
12680 return NULL;
12681 }
12682
12683
12684 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12685 PyObject *resultobj;
12686 wxFontData *arg1 = (wxFontData *) 0 ;
12687 wxFont result;
12688 PyObject * obj0 = 0 ;
12689 char *kwnames[] = {
12690 (char *) "self", NULL
12691 };
12692
12693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12695 {
12696 PyThreadState* __tstate = wxPyBeginAllowThreads();
12697 result = (arg1)->GetChosenFont();
12698
12699 wxPyEndAllowThreads(__tstate);
12700 if (PyErr_Occurred()) SWIG_fail;
12701 }
12702 {
12703 wxFont * resultptr;
12704 resultptr = new wxFont((wxFont &) result);
12705 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
12706 }
12707 return resultobj;
12708 fail:
12709 return NULL;
12710 }
12711
12712
12713 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12714 PyObject *resultobj;
12715 wxFontData *arg1 = (wxFontData *) 0 ;
12716 bool result;
12717 PyObject * obj0 = 0 ;
12718 char *kwnames[] = {
12719 (char *) "self", NULL
12720 };
12721
12722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12724 {
12725 PyThreadState* __tstate = wxPyBeginAllowThreads();
12726 result = (bool)(arg1)->GetEnableEffects();
12727
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 resultobj = SWIG_PyObj_FromBool((bool)result);
12732 return resultobj;
12733 fail:
12734 return NULL;
12735 }
12736
12737
12738 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12739 PyObject *resultobj;
12740 wxFontData *arg1 = (wxFontData *) 0 ;
12741 wxFont result;
12742 PyObject * obj0 = 0 ;
12743 char *kwnames[] = {
12744 (char *) "self", NULL
12745 };
12746
12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12749 {
12750 PyThreadState* __tstate = wxPyBeginAllowThreads();
12751 result = (arg1)->GetInitialFont();
12752
12753 wxPyEndAllowThreads(__tstate);
12754 if (PyErr_Occurred()) SWIG_fail;
12755 }
12756 {
12757 wxFont * resultptr;
12758 resultptr = new wxFont((wxFont &) result);
12759 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
12760 }
12761 return resultobj;
12762 fail:
12763 return NULL;
12764 }
12765
12766
12767 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12768 PyObject *resultobj;
12769 wxFontData *arg1 = (wxFontData *) 0 ;
12770 bool result;
12771 PyObject * obj0 = 0 ;
12772 char *kwnames[] = {
12773 (char *) "self", NULL
12774 };
12775
12776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12778 {
12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
12780 result = (bool)(arg1)->GetShowHelp();
12781
12782 wxPyEndAllowThreads(__tstate);
12783 if (PyErr_Occurred()) SWIG_fail;
12784 }
12785 resultobj = SWIG_PyObj_FromBool((bool)result);
12786 return resultobj;
12787 fail:
12788 return NULL;
12789 }
12790
12791
12792 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12793 PyObject *resultobj;
12794 wxFontData *arg1 = (wxFontData *) 0 ;
12795 bool arg2 ;
12796 PyObject * obj0 = 0 ;
12797 PyObject * obj1 = 0 ;
12798 char *kwnames[] = {
12799 (char *) "self",(char *) "allowSymbols", NULL
12800 };
12801
12802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12804 {
12805 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12806 if (PyErr_Occurred()) SWIG_fail;
12807 }
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 (arg1)->SetAllowSymbols(arg2);
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 Py_INCREF(Py_None); resultobj = Py_None;
12816 return resultobj;
12817 fail:
12818 return NULL;
12819 }
12820
12821
12822 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj;
12824 wxFontData *arg1 = (wxFontData *) 0 ;
12825 wxFont *arg2 = 0 ;
12826 PyObject * obj0 = 0 ;
12827 PyObject * obj1 = 0 ;
12828 char *kwnames[] = {
12829 (char *) "self",(char *) "font", NULL
12830 };
12831
12832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12835 if (arg2 == NULL) {
12836 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12837 }
12838 {
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 (arg1)->SetChosenFont((wxFont const &)*arg2);
12841
12842 wxPyEndAllowThreads(__tstate);
12843 if (PyErr_Occurred()) SWIG_fail;
12844 }
12845 Py_INCREF(Py_None); resultobj = Py_None;
12846 return resultobj;
12847 fail:
12848 return NULL;
12849 }
12850
12851
12852 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12853 PyObject *resultobj;
12854 wxFontData *arg1 = (wxFontData *) 0 ;
12855 wxColour *arg2 = 0 ;
12856 wxColour temp2 ;
12857 PyObject * obj0 = 0 ;
12858 PyObject * obj1 = 0 ;
12859 char *kwnames[] = {
12860 (char *) "self",(char *) "colour", NULL
12861 };
12862
12863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12865 {
12866 arg2 = &temp2;
12867 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12868 }
12869 {
12870 PyThreadState* __tstate = wxPyBeginAllowThreads();
12871 (arg1)->SetColour((wxColour const &)*arg2);
12872
12873 wxPyEndAllowThreads(__tstate);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 Py_INCREF(Py_None); resultobj = Py_None;
12877 return resultobj;
12878 fail:
12879 return NULL;
12880 }
12881
12882
12883 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12884 PyObject *resultobj;
12885 wxFontData *arg1 = (wxFontData *) 0 ;
12886 wxFont *arg2 = 0 ;
12887 PyObject * obj0 = 0 ;
12888 PyObject * obj1 = 0 ;
12889 char *kwnames[] = {
12890 (char *) "self",(char *) "font", NULL
12891 };
12892
12893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12895 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12896 if (arg2 == NULL) {
12897 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12898 }
12899 {
12900 PyThreadState* __tstate = wxPyBeginAllowThreads();
12901 (arg1)->SetInitialFont((wxFont const &)*arg2);
12902
12903 wxPyEndAllowThreads(__tstate);
12904 if (PyErr_Occurred()) SWIG_fail;
12905 }
12906 Py_INCREF(Py_None); resultobj = Py_None;
12907 return resultobj;
12908 fail:
12909 return NULL;
12910 }
12911
12912
12913 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12914 PyObject *resultobj;
12915 wxFontData *arg1 = (wxFontData *) 0 ;
12916 int arg2 ;
12917 int arg3 ;
12918 PyObject * obj0 = 0 ;
12919 PyObject * obj1 = 0 ;
12920 PyObject * obj2 = 0 ;
12921 char *kwnames[] = {
12922 (char *) "self",(char *) "min",(char *) "max", NULL
12923 };
12924
12925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12927 {
12928 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12929 if (PyErr_Occurred()) SWIG_fail;
12930 }
12931 {
12932 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
12935 {
12936 PyThreadState* __tstate = wxPyBeginAllowThreads();
12937 (arg1)->SetRange(arg2,arg3);
12938
12939 wxPyEndAllowThreads(__tstate);
12940 if (PyErr_Occurred()) SWIG_fail;
12941 }
12942 Py_INCREF(Py_None); resultobj = Py_None;
12943 return resultobj;
12944 fail:
12945 return NULL;
12946 }
12947
12948
12949 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12950 PyObject *resultobj;
12951 wxFontData *arg1 = (wxFontData *) 0 ;
12952 bool arg2 ;
12953 PyObject * obj0 = 0 ;
12954 PyObject * obj1 = 0 ;
12955 char *kwnames[] = {
12956 (char *) "self",(char *) "showHelp", NULL
12957 };
12958
12959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12961 {
12962 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12963 if (PyErr_Occurred()) SWIG_fail;
12964 }
12965 {
12966 PyThreadState* __tstate = wxPyBeginAllowThreads();
12967 (arg1)->SetShowHelp(arg2);
12968
12969 wxPyEndAllowThreads(__tstate);
12970 if (PyErr_Occurred()) SWIG_fail;
12971 }
12972 Py_INCREF(Py_None); resultobj = Py_None;
12973 return resultobj;
12974 fail:
12975 return NULL;
12976 }
12977
12978
12979 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
12980 PyObject *obj;
12981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12982 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12983 Py_INCREF(obj);
12984 return Py_BuildValue((char *)"");
12985 }
12986 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12987 PyObject *resultobj;
12988 wxWindow *arg1 = (wxWindow *) 0 ;
12989 wxFontData *arg2 = 0 ;
12990 wxFontDialog *result;
12991 PyObject * obj0 = 0 ;
12992 PyObject * obj1 = 0 ;
12993 char *kwnames[] = {
12994 (char *) "parent",(char *) "data", NULL
12995 };
12996
12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12999 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13000 if (arg2 == NULL) {
13001 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13002 }
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
13010 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
13011 return resultobj;
13012 fail:
13013 return NULL;
13014 }
13015
13016
13017 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj;
13019 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13020 wxFontData *result;
13021 PyObject * obj0 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 {
13031 wxFontData &_result_ref = (arg1)->GetFontData();
13032 result = (wxFontData *) &_result_ref;
13033 }
13034
13035 wxPyEndAllowThreads(__tstate);
13036 if (PyErr_Occurred()) SWIG_fail;
13037 }
13038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
13039 return resultobj;
13040 fail:
13041 return NULL;
13042 }
13043
13044
13045 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
13046 PyObject *resultobj;
13047 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13048 int result;
13049 PyObject * obj0 = 0 ;
13050 char *kwnames[] = {
13051 (char *) "self", NULL
13052 };
13053
13054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
13055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13056 {
13057 PyThreadState* __tstate = wxPyBeginAllowThreads();
13058 result = (int)(arg1)->ShowModal();
13059
13060 wxPyEndAllowThreads(__tstate);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 }
13063 resultobj = SWIG_PyObj_FromInt((int)result);
13064 return resultobj;
13065 fail:
13066 return NULL;
13067 }
13068
13069
13070 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13071 PyObject *obj;
13072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13073 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13074 Py_INCREF(obj);
13075 return Py_BuildValue((char *)"");
13076 }
13077 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13078 PyObject *resultobj;
13079 wxWindow *arg1 = (wxWindow *) 0 ;
13080 wxString *arg2 = 0 ;
13081 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13082 wxString *arg3 = (wxString *) &arg3_defvalue ;
13083 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13084 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13085 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13086 wxMessageDialog *result;
13087 bool temp2 = False ;
13088 bool temp3 = False ;
13089 wxPoint temp5 ;
13090 PyObject * obj0 = 0 ;
13091 PyObject * obj1 = 0 ;
13092 PyObject * obj2 = 0 ;
13093 PyObject * obj3 = 0 ;
13094 PyObject * obj4 = 0 ;
13095 char *kwnames[] = {
13096 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13097 };
13098
13099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13101 {
13102 arg2 = wxString_in_helper(obj1);
13103 if (arg2 == NULL) SWIG_fail;
13104 temp2 = True;
13105 }
13106 if (obj2) {
13107 {
13108 arg3 = wxString_in_helper(obj2);
13109 if (arg3 == NULL) SWIG_fail;
13110 temp3 = True;
13111 }
13112 }
13113 if (obj3) {
13114 {
13115 arg4 = (long) SWIG_PyObj_AsLong(obj3);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 }
13119 if (obj4) {
13120 {
13121 arg5 = &temp5;
13122 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13123 }
13124 }
13125 {
13126 PyThreadState* __tstate = wxPyBeginAllowThreads();
13127 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13128
13129 wxPyEndAllowThreads(__tstate);
13130 if (PyErr_Occurred()) SWIG_fail;
13131 }
13132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
13133 {
13134 if (temp2)
13135 delete arg2;
13136 }
13137 {
13138 if (temp3)
13139 delete arg3;
13140 }
13141 return resultobj;
13142 fail:
13143 {
13144 if (temp2)
13145 delete arg2;
13146 }
13147 {
13148 if (temp3)
13149 delete arg3;
13150 }
13151 return NULL;
13152 }
13153
13154
13155 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
13156 PyObject *resultobj;
13157 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
13158 int result;
13159 PyObject * obj0 = 0 ;
13160 char *kwnames[] = {
13161 (char *) "self", NULL
13162 };
13163
13164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
13165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13166 {
13167 PyThreadState* __tstate = wxPyBeginAllowThreads();
13168 result = (int)(arg1)->ShowModal();
13169
13170 wxPyEndAllowThreads(__tstate);
13171 if (PyErr_Occurred()) SWIG_fail;
13172 }
13173 resultobj = SWIG_PyObj_FromInt((int)result);
13174 return resultobj;
13175 fail:
13176 return NULL;
13177 }
13178
13179
13180 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13181 PyObject *obj;
13182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13183 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13184 Py_INCREF(obj);
13185 return Py_BuildValue((char *)"");
13186 }
13187 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13188 PyObject *resultobj;
13189 wxString *arg1 = 0 ;
13190 wxString *arg2 = 0 ;
13191 int arg3 = (int) 100 ;
13192 wxWindow *arg4 = (wxWindow *) NULL ;
13193 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13194 wxProgressDialog *result;
13195 bool temp1 = False ;
13196 bool temp2 = False ;
13197 PyObject * obj0 = 0 ;
13198 PyObject * obj1 = 0 ;
13199 PyObject * obj2 = 0 ;
13200 PyObject * obj3 = 0 ;
13201 PyObject * obj4 = 0 ;
13202 char *kwnames[] = {
13203 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13204 };
13205
13206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13207 {
13208 arg1 = wxString_in_helper(obj0);
13209 if (arg1 == NULL) SWIG_fail;
13210 temp1 = True;
13211 }
13212 {
13213 arg2 = wxString_in_helper(obj1);
13214 if (arg2 == NULL) SWIG_fail;
13215 temp2 = True;
13216 }
13217 if (obj2) {
13218 {
13219 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 }
13223 if (obj3) {
13224 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13225 }
13226 if (obj4) {
13227 {
13228 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 }
13231 }
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13235
13236 wxPyEndAllowThreads(__tstate);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
13239 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
13240 {
13241 if (temp1)
13242 delete arg1;
13243 }
13244 {
13245 if (temp2)
13246 delete arg2;
13247 }
13248 return resultobj;
13249 fail:
13250 {
13251 if (temp1)
13252 delete arg1;
13253 }
13254 {
13255 if (temp2)
13256 delete arg2;
13257 }
13258 return NULL;
13259 }
13260
13261
13262 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13263 PyObject *resultobj;
13264 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13265 int arg2 ;
13266 wxString const &arg3_defvalue = wxPyEmptyString ;
13267 wxString *arg3 = (wxString *) &arg3_defvalue ;
13268 bool result;
13269 bool temp3 = False ;
13270 PyObject * obj0 = 0 ;
13271 PyObject * obj1 = 0 ;
13272 PyObject * obj2 = 0 ;
13273 char *kwnames[] = {
13274 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13275 };
13276
13277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13279 {
13280 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13281 if (PyErr_Occurred()) SWIG_fail;
13282 }
13283 if (obj2) {
13284 {
13285 arg3 = wxString_in_helper(obj2);
13286 if (arg3 == NULL) SWIG_fail;
13287 temp3 = True;
13288 }
13289 }
13290 {
13291 PyThreadState* __tstate = wxPyBeginAllowThreads();
13292 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13293
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
13297 resultobj = SWIG_PyObj_FromBool((bool)result);
13298 {
13299 if (temp3)
13300 delete arg3;
13301 }
13302 return resultobj;
13303 fail:
13304 {
13305 if (temp3)
13306 delete arg3;
13307 }
13308 return NULL;
13309 }
13310
13311
13312 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13313 PyObject *resultobj;
13314 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13315 PyObject * obj0 = 0 ;
13316 char *kwnames[] = {
13317 (char *) "self", NULL
13318 };
13319
13320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 (arg1)->Resume();
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 Py_INCREF(Py_None); resultobj = Py_None;
13330 return resultobj;
13331 fail:
13332 return NULL;
13333 }
13334
13335
13336 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13337 PyObject *obj;
13338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13339 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13340 Py_INCREF(obj);
13341 return Py_BuildValue((char *)"");
13342 }
13343 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13344 PyObject *resultobj;
13345 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13346 int arg2 = (int) 0 ;
13347 wxFindDialogEvent *result;
13348 PyObject * obj0 = 0 ;
13349 PyObject * obj1 = 0 ;
13350 char *kwnames[] = {
13351 (char *) "commandType",(char *) "id", NULL
13352 };
13353
13354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13355 if (obj0) {
13356 {
13357 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 }
13361 if (obj1) {
13362 {
13363 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13364 if (PyErr_Occurred()) SWIG_fail;
13365 }
13366 }
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13370
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13382 PyObject *resultobj;
13383 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13384 int result;
13385 PyObject * obj0 = 0 ;
13386 char *kwnames[] = {
13387 (char *) "self", NULL
13388 };
13389
13390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13392 {
13393 PyThreadState* __tstate = wxPyBeginAllowThreads();
13394 result = (int)(arg1)->GetFlags();
13395
13396 wxPyEndAllowThreads(__tstate);
13397 if (PyErr_Occurred()) SWIG_fail;
13398 }
13399 resultobj = SWIG_PyObj_FromInt((int)result);
13400 return resultobj;
13401 fail:
13402 return NULL;
13403 }
13404
13405
13406 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13407 PyObject *resultobj;
13408 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13409 wxString *result;
13410 PyObject * obj0 = 0 ;
13411 char *kwnames[] = {
13412 (char *) "self", NULL
13413 };
13414
13415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13417 {
13418 PyThreadState* __tstate = wxPyBeginAllowThreads();
13419 {
13420 wxString const &_result_ref = (arg1)->GetFindString();
13421 result = (wxString *) &_result_ref;
13422 }
13423
13424 wxPyEndAllowThreads(__tstate);
13425 if (PyErr_Occurred()) SWIG_fail;
13426 }
13427 {
13428 #if wxUSE_UNICODE
13429 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13430 #else
13431 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13432 #endif
13433 }
13434 return resultobj;
13435 fail:
13436 return NULL;
13437 }
13438
13439
13440 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13441 PyObject *resultobj;
13442 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13443 wxString *result;
13444 PyObject * obj0 = 0 ;
13445 char *kwnames[] = {
13446 (char *) "self", NULL
13447 };
13448
13449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13451 {
13452 PyThreadState* __tstate = wxPyBeginAllowThreads();
13453 {
13454 wxString const &_result_ref = (arg1)->GetReplaceString();
13455 result = (wxString *) &_result_ref;
13456 }
13457
13458 wxPyEndAllowThreads(__tstate);
13459 if (PyErr_Occurred()) SWIG_fail;
13460 }
13461 {
13462 #if wxUSE_UNICODE
13463 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13464 #else
13465 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13466 #endif
13467 }
13468 return resultobj;
13469 fail:
13470 return NULL;
13471 }
13472
13473
13474 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13475 PyObject *resultobj;
13476 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13477 wxFindReplaceDialog *result;
13478 PyObject * obj0 = 0 ;
13479 char *kwnames[] = {
13480 (char *) "self", NULL
13481 };
13482
13483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13485 {
13486 PyThreadState* __tstate = wxPyBeginAllowThreads();
13487 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13488
13489 wxPyEndAllowThreads(__tstate);
13490 if (PyErr_Occurred()) SWIG_fail;
13491 }
13492 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
13493 return resultobj;
13494 fail:
13495 return NULL;
13496 }
13497
13498
13499 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13500 PyObject *resultobj;
13501 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13502 int arg2 ;
13503 PyObject * obj0 = 0 ;
13504 PyObject * obj1 = 0 ;
13505 char *kwnames[] = {
13506 (char *) "self",(char *) "flags", NULL
13507 };
13508
13509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13511 {
13512 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13513 if (PyErr_Occurred()) SWIG_fail;
13514 }
13515 {
13516 PyThreadState* __tstate = wxPyBeginAllowThreads();
13517 (arg1)->SetFlags(arg2);
13518
13519 wxPyEndAllowThreads(__tstate);
13520 if (PyErr_Occurred()) SWIG_fail;
13521 }
13522 Py_INCREF(Py_None); resultobj = Py_None;
13523 return resultobj;
13524 fail:
13525 return NULL;
13526 }
13527
13528
13529 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13530 PyObject *resultobj;
13531 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13532 wxString *arg2 = 0 ;
13533 bool temp2 = False ;
13534 PyObject * obj0 = 0 ;
13535 PyObject * obj1 = 0 ;
13536 char *kwnames[] = {
13537 (char *) "self",(char *) "str", NULL
13538 };
13539
13540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13542 {
13543 arg2 = wxString_in_helper(obj1);
13544 if (arg2 == NULL) SWIG_fail;
13545 temp2 = True;
13546 }
13547 {
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 (arg1)->SetFindString((wxString const &)*arg2);
13550
13551 wxPyEndAllowThreads(__tstate);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
13554 Py_INCREF(Py_None); resultobj = Py_None;
13555 {
13556 if (temp2)
13557 delete arg2;
13558 }
13559 return resultobj;
13560 fail:
13561 {
13562 if (temp2)
13563 delete arg2;
13564 }
13565 return NULL;
13566 }
13567
13568
13569 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13570 PyObject *resultobj;
13571 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13572 wxString *arg2 = 0 ;
13573 bool temp2 = False ;
13574 PyObject * obj0 = 0 ;
13575 PyObject * obj1 = 0 ;
13576 char *kwnames[] = {
13577 (char *) "self",(char *) "str", NULL
13578 };
13579
13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13582 {
13583 arg2 = wxString_in_helper(obj1);
13584 if (arg2 == NULL) SWIG_fail;
13585 temp2 = True;
13586 }
13587 {
13588 PyThreadState* __tstate = wxPyBeginAllowThreads();
13589 (arg1)->SetReplaceString((wxString const &)*arg2);
13590
13591 wxPyEndAllowThreads(__tstate);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
13594 Py_INCREF(Py_None); resultobj = Py_None;
13595 {
13596 if (temp2)
13597 delete arg2;
13598 }
13599 return resultobj;
13600 fail:
13601 {
13602 if (temp2)
13603 delete arg2;
13604 }
13605 return NULL;
13606 }
13607
13608
13609 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13610 PyObject *obj;
13611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13612 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13613 Py_INCREF(obj);
13614 return Py_BuildValue((char *)"");
13615 }
13616 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13617 PyObject *resultobj;
13618 int arg1 = (int) 0 ;
13619 wxFindReplaceData *result;
13620 PyObject * obj0 = 0 ;
13621 char *kwnames[] = {
13622 (char *) "flags", NULL
13623 };
13624
13625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13626 if (obj0) {
13627 {
13628 arg1 = (int) SWIG_PyObj_AsInt(obj0);
13629 if (PyErr_Occurred()) SWIG_fail;
13630 }
13631 }
13632 {
13633 PyThreadState* __tstate = wxPyBeginAllowThreads();
13634 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13635
13636 wxPyEndAllowThreads(__tstate);
13637 if (PyErr_Occurred()) SWIG_fail;
13638 }
13639 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
13640 return resultobj;
13641 fail:
13642 return NULL;
13643 }
13644
13645
13646 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13647 PyObject *resultobj;
13648 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13649 PyObject * obj0 = 0 ;
13650 char *kwnames[] = {
13651 (char *) "self", NULL
13652 };
13653
13654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13656 {
13657 PyThreadState* __tstate = wxPyBeginAllowThreads();
13658 delete arg1;
13659
13660 wxPyEndAllowThreads(__tstate);
13661 if (PyErr_Occurred()) SWIG_fail;
13662 }
13663 Py_INCREF(Py_None); resultobj = Py_None;
13664 return resultobj;
13665 fail:
13666 return NULL;
13667 }
13668
13669
13670 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13671 PyObject *resultobj;
13672 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13673 wxString *result;
13674 PyObject * obj0 = 0 ;
13675 char *kwnames[] = {
13676 (char *) "self", NULL
13677 };
13678
13679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13681 {
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 {
13684 wxString const &_result_ref = (arg1)->GetFindString();
13685 result = (wxString *) &_result_ref;
13686 }
13687
13688 wxPyEndAllowThreads(__tstate);
13689 if (PyErr_Occurred()) SWIG_fail;
13690 }
13691 {
13692 #if wxUSE_UNICODE
13693 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13694 #else
13695 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13696 #endif
13697 }
13698 return resultobj;
13699 fail:
13700 return NULL;
13701 }
13702
13703
13704 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13705 PyObject *resultobj;
13706 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13707 wxString *result;
13708 PyObject * obj0 = 0 ;
13709 char *kwnames[] = {
13710 (char *) "self", NULL
13711 };
13712
13713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13715 {
13716 PyThreadState* __tstate = wxPyBeginAllowThreads();
13717 {
13718 wxString const &_result_ref = (arg1)->GetReplaceString();
13719 result = (wxString *) &_result_ref;
13720 }
13721
13722 wxPyEndAllowThreads(__tstate);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 }
13725 {
13726 #if wxUSE_UNICODE
13727 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13728 #else
13729 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13730 #endif
13731 }
13732 return resultobj;
13733 fail:
13734 return NULL;
13735 }
13736
13737
13738 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13739 PyObject *resultobj;
13740 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13741 int result;
13742 PyObject * obj0 = 0 ;
13743 char *kwnames[] = {
13744 (char *) "self", NULL
13745 };
13746
13747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13749 {
13750 PyThreadState* __tstate = wxPyBeginAllowThreads();
13751 result = (int)(arg1)->GetFlags();
13752
13753 wxPyEndAllowThreads(__tstate);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 }
13756 resultobj = SWIG_PyObj_FromInt((int)result);
13757 return resultobj;
13758 fail:
13759 return NULL;
13760 }
13761
13762
13763 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13764 PyObject *resultobj;
13765 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13766 int arg2 ;
13767 PyObject * obj0 = 0 ;
13768 PyObject * obj1 = 0 ;
13769 char *kwnames[] = {
13770 (char *) "self",(char *) "flags", NULL
13771 };
13772
13773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13775 {
13776 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 }
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 (arg1)->SetFlags(arg2);
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 Py_INCREF(Py_None); resultobj = Py_None;
13787 return resultobj;
13788 fail:
13789 return NULL;
13790 }
13791
13792
13793 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13794 PyObject *resultobj;
13795 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13796 wxString *arg2 = 0 ;
13797 bool temp2 = False ;
13798 PyObject * obj0 = 0 ;
13799 PyObject * obj1 = 0 ;
13800 char *kwnames[] = {
13801 (char *) "self",(char *) "str", NULL
13802 };
13803
13804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13806 {
13807 arg2 = wxString_in_helper(obj1);
13808 if (arg2 == NULL) SWIG_fail;
13809 temp2 = True;
13810 }
13811 {
13812 PyThreadState* __tstate = wxPyBeginAllowThreads();
13813 (arg1)->SetFindString((wxString const &)*arg2);
13814
13815 wxPyEndAllowThreads(__tstate);
13816 if (PyErr_Occurred()) SWIG_fail;
13817 }
13818 Py_INCREF(Py_None); resultobj = Py_None;
13819 {
13820 if (temp2)
13821 delete arg2;
13822 }
13823 return resultobj;
13824 fail:
13825 {
13826 if (temp2)
13827 delete arg2;
13828 }
13829 return NULL;
13830 }
13831
13832
13833 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13834 PyObject *resultobj;
13835 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13836 wxString *arg2 = 0 ;
13837 bool temp2 = False ;
13838 PyObject * obj0 = 0 ;
13839 PyObject * obj1 = 0 ;
13840 char *kwnames[] = {
13841 (char *) "self",(char *) "str", NULL
13842 };
13843
13844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13846 {
13847 arg2 = wxString_in_helper(obj1);
13848 if (arg2 == NULL) SWIG_fail;
13849 temp2 = True;
13850 }
13851 {
13852 PyThreadState* __tstate = wxPyBeginAllowThreads();
13853 (arg1)->SetReplaceString((wxString const &)*arg2);
13854
13855 wxPyEndAllowThreads(__tstate);
13856 if (PyErr_Occurred()) SWIG_fail;
13857 }
13858 Py_INCREF(Py_None); resultobj = Py_None;
13859 {
13860 if (temp2)
13861 delete arg2;
13862 }
13863 return resultobj;
13864 fail:
13865 {
13866 if (temp2)
13867 delete arg2;
13868 }
13869 return NULL;
13870 }
13871
13872
13873 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
13874 PyObject *obj;
13875 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13876 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13877 Py_INCREF(obj);
13878 return Py_BuildValue((char *)"");
13879 }
13880 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13881 PyObject *resultobj;
13882 wxWindow *arg1 = (wxWindow *) 0 ;
13883 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13884 wxString *arg3 = 0 ;
13885 int arg4 = (int) 0 ;
13886 wxFindReplaceDialog *result;
13887 bool temp3 = False ;
13888 PyObject * obj0 = 0 ;
13889 PyObject * obj1 = 0 ;
13890 PyObject * obj2 = 0 ;
13891 PyObject * obj3 = 0 ;
13892 char *kwnames[] = {
13893 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13894 };
13895
13896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13899 {
13900 arg3 = wxString_in_helper(obj2);
13901 if (arg3 == NULL) SWIG_fail;
13902 temp3 = True;
13903 }
13904 if (obj3) {
13905 {
13906 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13907 if (PyErr_Occurred()) SWIG_fail;
13908 }
13909 }
13910 {
13911 PyThreadState* __tstate = wxPyBeginAllowThreads();
13912 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13913
13914 wxPyEndAllowThreads(__tstate);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 }
13917 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13918 {
13919 if (temp3)
13920 delete arg3;
13921 }
13922 return resultobj;
13923 fail:
13924 {
13925 if (temp3)
13926 delete arg3;
13927 }
13928 return NULL;
13929 }
13930
13931
13932 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxFindReplaceDialog *result;
13935 char *kwnames[] = {
13936 NULL
13937 };
13938
13939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13940 {
13941 PyThreadState* __tstate = wxPyBeginAllowThreads();
13942 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13943
13944 wxPyEndAllowThreads(__tstate);
13945 if (PyErr_Occurred()) SWIG_fail;
13946 }
13947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13948 return resultobj;
13949 fail:
13950 return NULL;
13951 }
13952
13953
13954 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13955 PyObject *resultobj;
13956 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13957 wxWindow *arg2 = (wxWindow *) 0 ;
13958 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13959 wxString *arg4 = 0 ;
13960 int arg5 = (int) 0 ;
13961 bool result;
13962 bool temp4 = False ;
13963 PyObject * obj0 = 0 ;
13964 PyObject * obj1 = 0 ;
13965 PyObject * obj2 = 0 ;
13966 PyObject * obj3 = 0 ;
13967 PyObject * obj4 = 0 ;
13968 char *kwnames[] = {
13969 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13970 };
13971
13972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13975 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13976 {
13977 arg4 = wxString_in_helper(obj3);
13978 if (arg4 == NULL) SWIG_fail;
13979 temp4 = True;
13980 }
13981 if (obj4) {
13982 {
13983 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13984 if (PyErr_Occurred()) SWIG_fail;
13985 }
13986 }
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13990
13991 wxPyEndAllowThreads(__tstate);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 resultobj = SWIG_PyObj_FromBool((bool)result);
13995 {
13996 if (temp4)
13997 delete arg4;
13998 }
13999 return resultobj;
14000 fail:
14001 {
14002 if (temp4)
14003 delete arg4;
14004 }
14005 return NULL;
14006 }
14007
14008
14009 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14010 PyObject *resultobj;
14011 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14012 wxFindReplaceData *result;
14013 PyObject * obj0 = 0 ;
14014 char *kwnames[] = {
14015 (char *) "self", NULL
14016 };
14017
14018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14020 {
14021 PyThreadState* __tstate = wxPyBeginAllowThreads();
14022 result = (wxFindReplaceData *)(arg1)->GetData();
14023
14024 wxPyEndAllowThreads(__tstate);
14025 if (PyErr_Occurred()) SWIG_fail;
14026 }
14027 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
14028 return resultobj;
14029 fail:
14030 return NULL;
14031 }
14032
14033
14034 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14035 PyObject *resultobj;
14036 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14037 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14038 PyObject * obj0 = 0 ;
14039 PyObject * obj1 = 0 ;
14040 char *kwnames[] = {
14041 (char *) "self",(char *) "data", NULL
14042 };
14043
14044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14046 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14047 {
14048 PyThreadState* __tstate = wxPyBeginAllowThreads();
14049 (arg1)->SetData(arg2);
14050
14051 wxPyEndAllowThreads(__tstate);
14052 if (PyErr_Occurred()) SWIG_fail;
14053 }
14054 Py_INCREF(Py_None); resultobj = Py_None;
14055 return resultobj;
14056 fail:
14057 return NULL;
14058 }
14059
14060
14061 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14062 PyObject *obj;
14063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14064 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14065 Py_INCREF(obj);
14066 return Py_BuildValue((char *)"");
14067 }
14068 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14069 PyObject *resultobj;
14070 wxWindow *arg1 = (wxWindow *) 0 ;
14071 int arg2 ;
14072 wxString *arg3 = 0 ;
14073 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14074 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14075 wxSize const &arg5_defvalue = wxDefaultSize ;
14076 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14077 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14078 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14079 wxString *arg7 = (wxString *) &arg7_defvalue ;
14080 wxMDIParentFrame *result;
14081 bool temp3 = False ;
14082 wxPoint temp4 ;
14083 wxSize temp5 ;
14084 bool temp7 = False ;
14085 PyObject * obj0 = 0 ;
14086 PyObject * obj1 = 0 ;
14087 PyObject * obj2 = 0 ;
14088 PyObject * obj3 = 0 ;
14089 PyObject * obj4 = 0 ;
14090 PyObject * obj5 = 0 ;
14091 PyObject * obj6 = 0 ;
14092 char *kwnames[] = {
14093 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14094 };
14095
14096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14098 {
14099 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14100 if (PyErr_Occurred()) SWIG_fail;
14101 }
14102 {
14103 arg3 = wxString_in_helper(obj2);
14104 if (arg3 == NULL) SWIG_fail;
14105 temp3 = True;
14106 }
14107 if (obj3) {
14108 {
14109 arg4 = &temp4;
14110 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14111 }
14112 }
14113 if (obj4) {
14114 {
14115 arg5 = &temp5;
14116 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14117 }
14118 }
14119 if (obj5) {
14120 {
14121 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 }
14125 if (obj6) {
14126 {
14127 arg7 = wxString_in_helper(obj6);
14128 if (arg7 == NULL) SWIG_fail;
14129 temp7 = True;
14130 }
14131 }
14132 {
14133 PyThreadState* __tstate = wxPyBeginAllowThreads();
14134 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14135
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
14140 {
14141 if (temp3)
14142 delete arg3;
14143 }
14144 {
14145 if (temp7)
14146 delete arg7;
14147 }
14148 return resultobj;
14149 fail:
14150 {
14151 if (temp3)
14152 delete arg3;
14153 }
14154 {
14155 if (temp7)
14156 delete arg7;
14157 }
14158 return NULL;
14159 }
14160
14161
14162 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14163 PyObject *resultobj;
14164 wxMDIParentFrame *result;
14165 char *kwnames[] = {
14166 NULL
14167 };
14168
14169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14170 {
14171 PyThreadState* __tstate = wxPyBeginAllowThreads();
14172 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14173
14174 wxPyEndAllowThreads(__tstate);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 }
14177 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
14178 return resultobj;
14179 fail:
14180 return NULL;
14181 }
14182
14183
14184 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14185 PyObject *resultobj;
14186 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14187 wxWindow *arg2 = (wxWindow *) 0 ;
14188 int arg3 ;
14189 wxString *arg4 = 0 ;
14190 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14191 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14192 wxSize const &arg6_defvalue = wxDefaultSize ;
14193 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14194 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14195 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14196 wxString *arg8 = (wxString *) &arg8_defvalue ;
14197 bool result;
14198 bool temp4 = False ;
14199 wxPoint temp5 ;
14200 wxSize temp6 ;
14201 bool temp8 = False ;
14202 PyObject * obj0 = 0 ;
14203 PyObject * obj1 = 0 ;
14204 PyObject * obj2 = 0 ;
14205 PyObject * obj3 = 0 ;
14206 PyObject * obj4 = 0 ;
14207 PyObject * obj5 = 0 ;
14208 PyObject * obj6 = 0 ;
14209 PyObject * obj7 = 0 ;
14210 char *kwnames[] = {
14211 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14212 };
14213
14214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14216 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14217 {
14218 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 {
14222 arg4 = wxString_in_helper(obj3);
14223 if (arg4 == NULL) SWIG_fail;
14224 temp4 = True;
14225 }
14226 if (obj4) {
14227 {
14228 arg5 = &temp5;
14229 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14230 }
14231 }
14232 if (obj5) {
14233 {
14234 arg6 = &temp6;
14235 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14236 }
14237 }
14238 if (obj6) {
14239 {
14240 arg7 = (long) SWIG_PyObj_AsLong(obj6);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 }
14244 if (obj7) {
14245 {
14246 arg8 = wxString_in_helper(obj7);
14247 if (arg8 == NULL) SWIG_fail;
14248 temp8 = True;
14249 }
14250 }
14251 {
14252 PyThreadState* __tstate = wxPyBeginAllowThreads();
14253 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14254
14255 wxPyEndAllowThreads(__tstate);
14256 if (PyErr_Occurred()) SWIG_fail;
14257 }
14258 resultobj = SWIG_PyObj_FromBool((bool)result);
14259 {
14260 if (temp4)
14261 delete arg4;
14262 }
14263 {
14264 if (temp8)
14265 delete arg8;
14266 }
14267 return resultobj;
14268 fail:
14269 {
14270 if (temp4)
14271 delete arg4;
14272 }
14273 {
14274 if (temp8)
14275 delete arg8;
14276 }
14277 return NULL;
14278 }
14279
14280
14281 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14282 PyObject *resultobj;
14283 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14284 PyObject * obj0 = 0 ;
14285 char *kwnames[] = {
14286 (char *) "self", NULL
14287 };
14288
14289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14291 {
14292 PyThreadState* __tstate = wxPyBeginAllowThreads();
14293 (arg1)->ActivateNext();
14294
14295 wxPyEndAllowThreads(__tstate);
14296 if (PyErr_Occurred()) SWIG_fail;
14297 }
14298 Py_INCREF(Py_None); resultobj = Py_None;
14299 return resultobj;
14300 fail:
14301 return NULL;
14302 }
14303
14304
14305 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14306 PyObject *resultobj;
14307 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14308 PyObject * obj0 = 0 ;
14309 char *kwnames[] = {
14310 (char *) "self", NULL
14311 };
14312
14313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 (arg1)->ActivatePrevious();
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 Py_INCREF(Py_None); resultobj = Py_None;
14323 return resultobj;
14324 fail:
14325 return NULL;
14326 }
14327
14328
14329 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14330 PyObject *resultobj;
14331 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14332 PyObject * obj0 = 0 ;
14333 char *kwnames[] = {
14334 (char *) "self", NULL
14335 };
14336
14337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14339 {
14340 PyThreadState* __tstate = wxPyBeginAllowThreads();
14341 (arg1)->ArrangeIcons();
14342
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 Py_INCREF(Py_None); resultobj = Py_None;
14347 return resultobj;
14348 fail:
14349 return NULL;
14350 }
14351
14352
14353 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14356 PyObject * obj0 = 0 ;
14357 char *kwnames[] = {
14358 (char *) "self", NULL
14359 };
14360
14361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 (arg1)->Cascade();
14366
14367 wxPyEndAllowThreads(__tstate);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
14370 Py_INCREF(Py_None); resultobj = Py_None;
14371 return resultobj;
14372 fail:
14373 return NULL;
14374 }
14375
14376
14377 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14378 PyObject *resultobj;
14379 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14380 wxMDIChildFrame *result;
14381 PyObject * obj0 = 0 ;
14382 char *kwnames[] = {
14383 (char *) "self", NULL
14384 };
14385
14386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14388 {
14389 PyThreadState* __tstate = wxPyBeginAllowThreads();
14390 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14391
14392 wxPyEndAllowThreads(__tstate);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 {
14396 resultobj = wxPyMake_wxObject(result);
14397 }
14398 return resultobj;
14399 fail:
14400 return NULL;
14401 }
14402
14403
14404 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14405 PyObject *resultobj;
14406 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14407 wxMDIClientWindow *result;
14408 PyObject * obj0 = 0 ;
14409 char *kwnames[] = {
14410 (char *) "self", NULL
14411 };
14412
14413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14418
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 {
14423 resultobj = wxPyMake_wxObject(result);
14424 }
14425 return resultobj;
14426 fail:
14427 return NULL;
14428 }
14429
14430
14431 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14434 wxWindow *result;
14435 PyObject * obj0 = 0 ;
14436 char *kwnames[] = {
14437 (char *) "self", NULL
14438 };
14439
14440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 result = (wxWindow *)(arg1)->GetToolBar();
14445
14446 wxPyEndAllowThreads(__tstate);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 {
14450 resultobj = wxPyMake_wxObject(result);
14451 }
14452 return resultobj;
14453 fail:
14454 return NULL;
14455 }
14456
14457
14458 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14459 PyObject *resultobj;
14460 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14461 PyObject * obj0 = 0 ;
14462 char *kwnames[] = {
14463 (char *) "self", NULL
14464 };
14465
14466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14468 {
14469 PyThreadState* __tstate = wxPyBeginAllowThreads();
14470 (arg1)->Tile();
14471
14472 wxPyEndAllowThreads(__tstate);
14473 if (PyErr_Occurred()) SWIG_fail;
14474 }
14475 Py_INCREF(Py_None); resultobj = Py_None;
14476 return resultobj;
14477 fail:
14478 return NULL;
14479 }
14480
14481
14482 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14483 PyObject *obj;
14484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14485 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14486 Py_INCREF(obj);
14487 return Py_BuildValue((char *)"");
14488 }
14489 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14490 PyObject *resultobj;
14491 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14492 int arg2 ;
14493 wxString *arg3 = 0 ;
14494 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14495 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14496 wxSize const &arg5_defvalue = wxDefaultSize ;
14497 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14498 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14499 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14500 wxString *arg7 = (wxString *) &arg7_defvalue ;
14501 wxMDIChildFrame *result;
14502 bool temp3 = False ;
14503 wxPoint temp4 ;
14504 wxSize temp5 ;
14505 bool temp7 = False ;
14506 PyObject * obj0 = 0 ;
14507 PyObject * obj1 = 0 ;
14508 PyObject * obj2 = 0 ;
14509 PyObject * obj3 = 0 ;
14510 PyObject * obj4 = 0 ;
14511 PyObject * obj5 = 0 ;
14512 PyObject * obj6 = 0 ;
14513 char *kwnames[] = {
14514 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14515 };
14516
14517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14519 {
14520 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 {
14524 arg3 = wxString_in_helper(obj2);
14525 if (arg3 == NULL) SWIG_fail;
14526 temp3 = True;
14527 }
14528 if (obj3) {
14529 {
14530 arg4 = &temp4;
14531 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14532 }
14533 }
14534 if (obj4) {
14535 {
14536 arg5 = &temp5;
14537 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14538 }
14539 }
14540 if (obj5) {
14541 {
14542 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14543 if (PyErr_Occurred()) SWIG_fail;
14544 }
14545 }
14546 if (obj6) {
14547 {
14548 arg7 = wxString_in_helper(obj6);
14549 if (arg7 == NULL) SWIG_fail;
14550 temp7 = True;
14551 }
14552 }
14553 {
14554 PyThreadState* __tstate = wxPyBeginAllowThreads();
14555 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14556
14557 wxPyEndAllowThreads(__tstate);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 }
14560 {
14561 resultobj = wxPyMake_wxObject(result);
14562 }
14563 {
14564 if (temp3)
14565 delete arg3;
14566 }
14567 {
14568 if (temp7)
14569 delete arg7;
14570 }
14571 return resultobj;
14572 fail:
14573 {
14574 if (temp3)
14575 delete arg3;
14576 }
14577 {
14578 if (temp7)
14579 delete arg7;
14580 }
14581 return NULL;
14582 }
14583
14584
14585 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14586 PyObject *resultobj;
14587 wxMDIChildFrame *result;
14588 char *kwnames[] = {
14589 NULL
14590 };
14591
14592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14596
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 {
14601 resultobj = wxPyMake_wxObject(result);
14602 }
14603 return resultobj;
14604 fail:
14605 return NULL;
14606 }
14607
14608
14609 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14610 PyObject *resultobj;
14611 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14612 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14613 int arg3 ;
14614 wxString *arg4 = 0 ;
14615 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14616 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14617 wxSize const &arg6_defvalue = wxDefaultSize ;
14618 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14619 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14620 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14621 wxString *arg8 = (wxString *) &arg8_defvalue ;
14622 bool result;
14623 bool temp4 = False ;
14624 wxPoint temp5 ;
14625 wxSize temp6 ;
14626 bool temp8 = False ;
14627 PyObject * obj0 = 0 ;
14628 PyObject * obj1 = 0 ;
14629 PyObject * obj2 = 0 ;
14630 PyObject * obj3 = 0 ;
14631 PyObject * obj4 = 0 ;
14632 PyObject * obj5 = 0 ;
14633 PyObject * obj6 = 0 ;
14634 PyObject * obj7 = 0 ;
14635 char *kwnames[] = {
14636 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14637 };
14638
14639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14641 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14642 {
14643 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
14646 {
14647 arg4 = wxString_in_helper(obj3);
14648 if (arg4 == NULL) SWIG_fail;
14649 temp4 = True;
14650 }
14651 if (obj4) {
14652 {
14653 arg5 = &temp5;
14654 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14655 }
14656 }
14657 if (obj5) {
14658 {
14659 arg6 = &temp6;
14660 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14661 }
14662 }
14663 if (obj6) {
14664 {
14665 arg7 = (long) SWIG_PyObj_AsLong(obj6);
14666 if (PyErr_Occurred()) SWIG_fail;
14667 }
14668 }
14669 if (obj7) {
14670 {
14671 arg8 = wxString_in_helper(obj7);
14672 if (arg8 == NULL) SWIG_fail;
14673 temp8 = True;
14674 }
14675 }
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14679
14680 wxPyEndAllowThreads(__tstate);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
14683 resultobj = SWIG_PyObj_FromBool((bool)result);
14684 {
14685 if (temp4)
14686 delete arg4;
14687 }
14688 {
14689 if (temp8)
14690 delete arg8;
14691 }
14692 return resultobj;
14693 fail:
14694 {
14695 if (temp4)
14696 delete arg4;
14697 }
14698 {
14699 if (temp8)
14700 delete arg8;
14701 }
14702 return NULL;
14703 }
14704
14705
14706 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14707 PyObject *resultobj;
14708 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14709 PyObject * obj0 = 0 ;
14710 char *kwnames[] = {
14711 (char *) "self", NULL
14712 };
14713
14714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14716 {
14717 PyThreadState* __tstate = wxPyBeginAllowThreads();
14718 (arg1)->Activate();
14719
14720 wxPyEndAllowThreads(__tstate);
14721 if (PyErr_Occurred()) SWIG_fail;
14722 }
14723 Py_INCREF(Py_None); resultobj = Py_None;
14724 return resultobj;
14725 fail:
14726 return NULL;
14727 }
14728
14729
14730 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14731 PyObject *resultobj;
14732 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14733 bool arg2 ;
14734 PyObject * obj0 = 0 ;
14735 PyObject * obj1 = 0 ;
14736 char *kwnames[] = {
14737 (char *) "self",(char *) "maximize", NULL
14738 };
14739
14740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14742 {
14743 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 {
14747 PyThreadState* __tstate = wxPyBeginAllowThreads();
14748 (arg1)->Maximize(arg2);
14749
14750 wxPyEndAllowThreads(__tstate);
14751 if (PyErr_Occurred()) SWIG_fail;
14752 }
14753 Py_INCREF(Py_None); resultobj = Py_None;
14754 return resultobj;
14755 fail:
14756 return NULL;
14757 }
14758
14759
14760 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14761 PyObject *resultobj;
14762 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14763 PyObject * obj0 = 0 ;
14764 char *kwnames[] = {
14765 (char *) "self", NULL
14766 };
14767
14768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 (arg1)->Restore();
14773
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
14777 Py_INCREF(Py_None); resultobj = Py_None;
14778 return resultobj;
14779 fail:
14780 return NULL;
14781 }
14782
14783
14784 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14785 PyObject *obj;
14786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14787 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14788 Py_INCREF(obj);
14789 return Py_BuildValue((char *)"");
14790 }
14791 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14792 PyObject *resultobj;
14793 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14794 long arg2 = (long) 0 ;
14795 wxMDIClientWindow *result;
14796 PyObject * obj0 = 0 ;
14797 PyObject * obj1 = 0 ;
14798 char *kwnames[] = {
14799 (char *) "parent",(char *) "style", NULL
14800 };
14801
14802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14804 if (obj1) {
14805 {
14806 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 }
14809 }
14810 {
14811 PyThreadState* __tstate = wxPyBeginAllowThreads();
14812 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14813
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 {
14818 resultobj = wxPyMake_wxObject(result);
14819 }
14820 return resultobj;
14821 fail:
14822 return NULL;
14823 }
14824
14825
14826 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14827 PyObject *resultobj;
14828 wxMDIClientWindow *result;
14829 char *kwnames[] = {
14830 NULL
14831 };
14832
14833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14834 {
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14837
14838 wxPyEndAllowThreads(__tstate);
14839 if (PyErr_Occurred()) SWIG_fail;
14840 }
14841 {
14842 resultobj = wxPyMake_wxObject(result);
14843 }
14844 return resultobj;
14845 fail:
14846 return NULL;
14847 }
14848
14849
14850 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14851 PyObject *resultobj;
14852 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14853 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14854 long arg3 = (long) 0 ;
14855 bool result;
14856 PyObject * obj0 = 0 ;
14857 PyObject * obj1 = 0 ;
14858 PyObject * obj2 = 0 ;
14859 char *kwnames[] = {
14860 (char *) "self",(char *) "parent",(char *) "style", NULL
14861 };
14862
14863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14865 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14866 if (obj2) {
14867 {
14868 arg3 = (long) SWIG_PyObj_AsLong(obj2);
14869 if (PyErr_Occurred()) SWIG_fail;
14870 }
14871 }
14872 {
14873 PyThreadState* __tstate = wxPyBeginAllowThreads();
14874 result = (bool)(arg1)->Create(arg2,arg3);
14875
14876 wxPyEndAllowThreads(__tstate);
14877 if (PyErr_Occurred()) SWIG_fail;
14878 }
14879 resultobj = SWIG_PyObj_FromBool((bool)result);
14880 return resultobj;
14881 fail:
14882 return NULL;
14883 }
14884
14885
14886 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
14887 PyObject *obj;
14888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14889 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14890 Py_INCREF(obj);
14891 return Py_BuildValue((char *)"");
14892 }
14893 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14894 PyObject *resultobj;
14895 wxWindow *arg1 = (wxWindow *) 0 ;
14896 int arg2 ;
14897 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14898 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14899 wxSize const &arg4_defvalue = wxDefaultSize ;
14900 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14901 long arg5 = (long) 0 ;
14902 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14903 wxString *arg6 = (wxString *) &arg6_defvalue ;
14904 wxPyWindow *result;
14905 wxPoint temp3 ;
14906 wxSize temp4 ;
14907 bool temp6 = False ;
14908 PyObject * obj0 = 0 ;
14909 PyObject * obj1 = 0 ;
14910 PyObject * obj2 = 0 ;
14911 PyObject * obj3 = 0 ;
14912 PyObject * obj4 = 0 ;
14913 PyObject * obj5 = 0 ;
14914 char *kwnames[] = {
14915 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14916 };
14917
14918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14920 {
14921 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14922 if (PyErr_Occurred()) SWIG_fail;
14923 }
14924 if (obj2) {
14925 {
14926 arg3 = &temp3;
14927 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14928 }
14929 }
14930 if (obj3) {
14931 {
14932 arg4 = &temp4;
14933 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14934 }
14935 }
14936 if (obj4) {
14937 {
14938 arg5 = (long) SWIG_PyObj_AsLong(obj4);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 }
14941 }
14942 if (obj5) {
14943 {
14944 arg6 = wxString_in_helper(obj5);
14945 if (arg6 == NULL) SWIG_fail;
14946 temp6 = True;
14947 }
14948 }
14949 {
14950 PyThreadState* __tstate = wxPyBeginAllowThreads();
14951 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14952
14953 wxPyEndAllowThreads(__tstate);
14954 if (PyErr_Occurred()) SWIG_fail;
14955 }
14956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
14957 {
14958 if (temp6)
14959 delete arg6;
14960 }
14961 return resultobj;
14962 fail:
14963 {
14964 if (temp6)
14965 delete arg6;
14966 }
14967 return NULL;
14968 }
14969
14970
14971 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14972 PyObject *resultobj;
14973 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14974 PyObject *arg2 = (PyObject *) 0 ;
14975 PyObject *arg3 = (PyObject *) 0 ;
14976 PyObject * obj0 = 0 ;
14977 PyObject * obj1 = 0 ;
14978 PyObject * obj2 = 0 ;
14979 char *kwnames[] = {
14980 (char *) "self",(char *) "self",(char *) "_class", NULL
14981 };
14982
14983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14985 arg2 = obj1;
14986 arg3 = obj2;
14987 {
14988 PyThreadState* __tstate = wxPyBeginAllowThreads();
14989 (arg1)->_setCallbackInfo(arg2,arg3);
14990
14991 wxPyEndAllowThreads(__tstate);
14992 if (PyErr_Occurred()) SWIG_fail;
14993 }
14994 Py_INCREF(Py_None); resultobj = Py_None;
14995 return resultobj;
14996 fail:
14997 return NULL;
14998 }
14999
15000
15001 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15002 PyObject *resultobj;
15003 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15004 int arg2 ;
15005 int arg3 ;
15006 int arg4 ;
15007 int arg5 ;
15008 PyObject * obj0 = 0 ;
15009 PyObject * obj1 = 0 ;
15010 PyObject * obj2 = 0 ;
15011 PyObject * obj3 = 0 ;
15012 PyObject * obj4 = 0 ;
15013 char *kwnames[] = {
15014 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15015 };
15016
15017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15019 {
15020 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 {
15024 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
15027 {
15028 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 {
15032 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15033 if (PyErr_Occurred()) SWIG_fail;
15034 }
15035 {
15036 PyThreadState* __tstate = wxPyBeginAllowThreads();
15037 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15038
15039 wxPyEndAllowThreads(__tstate);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 }
15042 Py_INCREF(Py_None); resultobj = Py_None;
15043 return resultobj;
15044 fail:
15045 return NULL;
15046 }
15047
15048
15049 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15050 PyObject *resultobj;
15051 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15052 int arg2 ;
15053 int arg3 ;
15054 int arg4 ;
15055 int arg5 ;
15056 int arg6 = (int) wxSIZE_AUTO ;
15057 PyObject * obj0 = 0 ;
15058 PyObject * obj1 = 0 ;
15059 PyObject * obj2 = 0 ;
15060 PyObject * obj3 = 0 ;
15061 PyObject * obj4 = 0 ;
15062 PyObject * obj5 = 0 ;
15063 char *kwnames[] = {
15064 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15065 };
15066
15067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15069 {
15070 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 }
15073 {
15074 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15075 if (PyErr_Occurred()) SWIG_fail;
15076 }
15077 {
15078 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15079 if (PyErr_Occurred()) SWIG_fail;
15080 }
15081 {
15082 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 if (obj5) {
15086 {
15087 arg6 = (int) SWIG_PyObj_AsInt(obj5);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
15090 }
15091 {
15092 PyThreadState* __tstate = wxPyBeginAllowThreads();
15093 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15094
15095 wxPyEndAllowThreads(__tstate);
15096 if (PyErr_Occurred()) SWIG_fail;
15097 }
15098 Py_INCREF(Py_None); resultobj = Py_None;
15099 return resultobj;
15100 fail:
15101 return NULL;
15102 }
15103
15104
15105 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15106 PyObject *resultobj;
15107 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15108 int arg2 ;
15109 int arg3 ;
15110 PyObject * obj0 = 0 ;
15111 PyObject * obj1 = 0 ;
15112 PyObject * obj2 = 0 ;
15113 char *kwnames[] = {
15114 (char *) "self",(char *) "width",(char *) "height", NULL
15115 };
15116
15117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15119 {
15120 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15121 if (PyErr_Occurred()) SWIG_fail;
15122 }
15123 {
15124 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15125 if (PyErr_Occurred()) SWIG_fail;
15126 }
15127 {
15128 PyThreadState* __tstate = wxPyBeginAllowThreads();
15129 (arg1)->base_DoSetClientSize(arg2,arg3);
15130
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
15134 Py_INCREF(Py_None); resultobj = Py_None;
15135 return resultobj;
15136 fail:
15137 return NULL;
15138 }
15139
15140
15141 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15142 PyObject *resultobj;
15143 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15144 int arg2 ;
15145 int arg3 ;
15146 PyObject * obj0 = 0 ;
15147 PyObject * obj1 = 0 ;
15148 PyObject * obj2 = 0 ;
15149 char *kwnames[] = {
15150 (char *) "self",(char *) "x",(char *) "y", NULL
15151 };
15152
15153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15155 {
15156 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15157 if (PyErr_Occurred()) SWIG_fail;
15158 }
15159 {
15160 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
15163 {
15164 PyThreadState* __tstate = wxPyBeginAllowThreads();
15165 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15166
15167 wxPyEndAllowThreads(__tstate);
15168 if (PyErr_Occurred()) SWIG_fail;
15169 }
15170 Py_INCREF(Py_None); resultobj = Py_None;
15171 return resultobj;
15172 fail:
15173 return NULL;
15174 }
15175
15176
15177 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15178 PyObject *resultobj;
15179 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15180 int *arg2 = (int *) 0 ;
15181 int *arg3 = (int *) 0 ;
15182 int temp2 ;
15183 int temp3 ;
15184 PyObject * obj0 = 0 ;
15185 char *kwnames[] = {
15186 (char *) "self", NULL
15187 };
15188
15189 arg2 = &temp2;
15190 arg3 = &temp3;
15191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15193 {
15194 PyThreadState* __tstate = wxPyBeginAllowThreads();
15195 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15196
15197 wxPyEndAllowThreads(__tstate);
15198 if (PyErr_Occurred()) SWIG_fail;
15199 }
15200 Py_INCREF(Py_None); resultobj = Py_None;
15201 {
15202 PyObject *o = PyInt_FromLong((long) (*arg2));
15203 resultobj = t_output_helper(resultobj,o);
15204 }
15205 {
15206 PyObject *o = PyInt_FromLong((long) (*arg3));
15207 resultobj = t_output_helper(resultobj,o);
15208 }
15209 return resultobj;
15210 fail:
15211 return NULL;
15212 }
15213
15214
15215 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15216 PyObject *resultobj;
15217 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15218 int *arg2 = (int *) 0 ;
15219 int *arg3 = (int *) 0 ;
15220 int temp2 ;
15221 int temp3 ;
15222 PyObject * obj0 = 0 ;
15223 char *kwnames[] = {
15224 (char *) "self", NULL
15225 };
15226
15227 arg2 = &temp2;
15228 arg3 = &temp3;
15229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15234
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 Py_INCREF(Py_None); resultobj = Py_None;
15239 {
15240 PyObject *o = PyInt_FromLong((long) (*arg2));
15241 resultobj = t_output_helper(resultobj,o);
15242 }
15243 {
15244 PyObject *o = PyInt_FromLong((long) (*arg3));
15245 resultobj = t_output_helper(resultobj,o);
15246 }
15247 return resultobj;
15248 fail:
15249 return NULL;
15250 }
15251
15252
15253 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15254 PyObject *resultobj;
15255 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15256 int *arg2 = (int *) 0 ;
15257 int *arg3 = (int *) 0 ;
15258 int temp2 ;
15259 int temp3 ;
15260 PyObject * obj0 = 0 ;
15261 char *kwnames[] = {
15262 (char *) "self", NULL
15263 };
15264
15265 arg2 = &temp2;
15266 arg3 = &temp3;
15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15272
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 Py_INCREF(Py_None); resultobj = Py_None;
15277 {
15278 PyObject *o = PyInt_FromLong((long) (*arg2));
15279 resultobj = t_output_helper(resultobj,o);
15280 }
15281 {
15282 PyObject *o = PyInt_FromLong((long) (*arg3));
15283 resultobj = t_output_helper(resultobj,o);
15284 }
15285 return resultobj;
15286 fail:
15287 return NULL;
15288 }
15289
15290
15291 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15292 PyObject *resultobj;
15293 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15294 wxSize result;
15295 PyObject * obj0 = 0 ;
15296 char *kwnames[] = {
15297 (char *) "self", NULL
15298 };
15299
15300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15302 {
15303 PyThreadState* __tstate = wxPyBeginAllowThreads();
15304 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15305
15306 wxPyEndAllowThreads(__tstate);
15307 if (PyErr_Occurred()) SWIG_fail;
15308 }
15309 {
15310 wxSize * resultptr;
15311 resultptr = new wxSize((wxSize &) result);
15312 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15313 }
15314 return resultobj;
15315 fail:
15316 return NULL;
15317 }
15318
15319
15320 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15321 PyObject *resultobj;
15322 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15323 wxSize result;
15324 PyObject * obj0 = 0 ;
15325 char *kwnames[] = {
15326 (char *) "self", NULL
15327 };
15328
15329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15331 {
15332 PyThreadState* __tstate = wxPyBeginAllowThreads();
15333 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15334
15335 wxPyEndAllowThreads(__tstate);
15336 if (PyErr_Occurred()) SWIG_fail;
15337 }
15338 {
15339 wxSize * resultptr;
15340 resultptr = new wxSize((wxSize &) result);
15341 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15342 }
15343 return resultobj;
15344 fail:
15345 return NULL;
15346 }
15347
15348
15349 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15350 PyObject *resultobj;
15351 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15352 PyObject * obj0 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15359 {
15360 PyThreadState* __tstate = wxPyBeginAllowThreads();
15361 (arg1)->base_InitDialog();
15362
15363 wxPyEndAllowThreads(__tstate);
15364 if (PyErr_Occurred()) SWIG_fail;
15365 }
15366 Py_INCREF(Py_None); resultobj = Py_None;
15367 return resultobj;
15368 fail:
15369 return NULL;
15370 }
15371
15372
15373 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15374 PyObject *resultobj;
15375 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15376 bool result;
15377 PyObject * obj0 = 0 ;
15378 char *kwnames[] = {
15379 (char *) "self", NULL
15380 };
15381
15382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15384 {
15385 PyThreadState* __tstate = wxPyBeginAllowThreads();
15386 result = (bool)(arg1)->base_TransferDataToWindow();
15387
15388 wxPyEndAllowThreads(__tstate);
15389 if (PyErr_Occurred()) SWIG_fail;
15390 }
15391 resultobj = SWIG_PyObj_FromBool((bool)result);
15392 return resultobj;
15393 fail:
15394 return NULL;
15395 }
15396
15397
15398 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15399 PyObject *resultobj;
15400 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15401 bool result;
15402 PyObject * obj0 = 0 ;
15403 char *kwnames[] = {
15404 (char *) "self", NULL
15405 };
15406
15407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15409 {
15410 PyThreadState* __tstate = wxPyBeginAllowThreads();
15411 result = (bool)(arg1)->base_TransferDataFromWindow();
15412
15413 wxPyEndAllowThreads(__tstate);
15414 if (PyErr_Occurred()) SWIG_fail;
15415 }
15416 resultobj = SWIG_PyObj_FromBool((bool)result);
15417 return resultobj;
15418 fail:
15419 return NULL;
15420 }
15421
15422
15423 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15424 PyObject *resultobj;
15425 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15426 bool result;
15427 PyObject * obj0 = 0 ;
15428 char *kwnames[] = {
15429 (char *) "self", NULL
15430 };
15431
15432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15434 {
15435 PyThreadState* __tstate = wxPyBeginAllowThreads();
15436 result = (bool)(arg1)->base_Validate();
15437
15438 wxPyEndAllowThreads(__tstate);
15439 if (PyErr_Occurred()) SWIG_fail;
15440 }
15441 resultobj = SWIG_PyObj_FromBool((bool)result);
15442 return resultobj;
15443 fail:
15444 return NULL;
15445 }
15446
15447
15448 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15449 PyObject *resultobj;
15450 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15451 bool result;
15452 PyObject * obj0 = 0 ;
15453 char *kwnames[] = {
15454 (char *) "self", NULL
15455 };
15456
15457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15459 {
15460 PyThreadState* __tstate = wxPyBeginAllowThreads();
15461 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15462
15463 wxPyEndAllowThreads(__tstate);
15464 if (PyErr_Occurred()) SWIG_fail;
15465 }
15466 resultobj = SWIG_PyObj_FromBool((bool)result);
15467 return resultobj;
15468 fail:
15469 return NULL;
15470 }
15471
15472
15473 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15474 PyObject *resultobj;
15475 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15476 bool result;
15477 PyObject * obj0 = 0 ;
15478 char *kwnames[] = {
15479 (char *) "self", NULL
15480 };
15481
15482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15484 {
15485 PyThreadState* __tstate = wxPyBeginAllowThreads();
15486 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15487
15488 wxPyEndAllowThreads(__tstate);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 resultobj = SWIG_PyObj_FromBool((bool)result);
15492 return resultobj;
15493 fail:
15494 return NULL;
15495 }
15496
15497
15498 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15499 PyObject *resultobj;
15500 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15501 wxSize result;
15502 PyObject * obj0 = 0 ;
15503 char *kwnames[] = {
15504 (char *) "self", NULL
15505 };
15506
15507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15509 {
15510 PyThreadState* __tstate = wxPyBeginAllowThreads();
15511 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15512
15513 wxPyEndAllowThreads(__tstate);
15514 if (PyErr_Occurred()) SWIG_fail;
15515 }
15516 {
15517 wxSize * resultptr;
15518 resultptr = new wxSize((wxSize &) result);
15519 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15520 }
15521 return resultobj;
15522 fail:
15523 return NULL;
15524 }
15525
15526
15527 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15528 PyObject *resultobj;
15529 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15530 wxWindow *arg2 = (wxWindow *) 0 ;
15531 PyObject * obj0 = 0 ;
15532 PyObject * obj1 = 0 ;
15533 char *kwnames[] = {
15534 (char *) "self",(char *) "child", NULL
15535 };
15536
15537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15540 {
15541 PyThreadState* __tstate = wxPyBeginAllowThreads();
15542 (arg1)->base_AddChild(arg2);
15543
15544 wxPyEndAllowThreads(__tstate);
15545 if (PyErr_Occurred()) SWIG_fail;
15546 }
15547 Py_INCREF(Py_None); resultobj = Py_None;
15548 return resultobj;
15549 fail:
15550 return NULL;
15551 }
15552
15553
15554 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15555 PyObject *resultobj;
15556 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15557 wxWindow *arg2 = (wxWindow *) 0 ;
15558 PyObject * obj0 = 0 ;
15559 PyObject * obj1 = 0 ;
15560 char *kwnames[] = {
15561 (char *) "self",(char *) "child", NULL
15562 };
15563
15564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15566 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15567 {
15568 PyThreadState* __tstate = wxPyBeginAllowThreads();
15569 (arg1)->base_RemoveChild(arg2);
15570
15571 wxPyEndAllowThreads(__tstate);
15572 if (PyErr_Occurred()) SWIG_fail;
15573 }
15574 Py_INCREF(Py_None); resultobj = Py_None;
15575 return resultobj;
15576 fail:
15577 return NULL;
15578 }
15579
15580
15581 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15582 PyObject *obj;
15583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15584 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15585 Py_INCREF(obj);
15586 return Py_BuildValue((char *)"");
15587 }
15588 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15589 PyObject *resultobj;
15590 wxWindow *arg1 = (wxWindow *) 0 ;
15591 int arg2 ;
15592 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15593 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15594 wxSize const &arg4_defvalue = wxDefaultSize ;
15595 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15596 long arg5 = (long) 0 ;
15597 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15598 wxString *arg6 = (wxString *) &arg6_defvalue ;
15599 wxPyPanel *result;
15600 wxPoint temp3 ;
15601 wxSize temp4 ;
15602 bool temp6 = False ;
15603 PyObject * obj0 = 0 ;
15604 PyObject * obj1 = 0 ;
15605 PyObject * obj2 = 0 ;
15606 PyObject * obj3 = 0 ;
15607 PyObject * obj4 = 0 ;
15608 PyObject * obj5 = 0 ;
15609 char *kwnames[] = {
15610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15611 };
15612
15613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15615 {
15616 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 if (obj2) {
15620 {
15621 arg3 = &temp3;
15622 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15623 }
15624 }
15625 if (obj3) {
15626 {
15627 arg4 = &temp4;
15628 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15629 }
15630 }
15631 if (obj4) {
15632 {
15633 arg5 = (long) SWIG_PyObj_AsLong(obj4);
15634 if (PyErr_Occurred()) SWIG_fail;
15635 }
15636 }
15637 if (obj5) {
15638 {
15639 arg6 = wxString_in_helper(obj5);
15640 if (arg6 == NULL) SWIG_fail;
15641 temp6 = True;
15642 }
15643 }
15644 {
15645 PyThreadState* __tstate = wxPyBeginAllowThreads();
15646 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15647
15648 wxPyEndAllowThreads(__tstate);
15649 if (PyErr_Occurred()) SWIG_fail;
15650 }
15651 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
15652 {
15653 if (temp6)
15654 delete arg6;
15655 }
15656 return resultobj;
15657 fail:
15658 {
15659 if (temp6)
15660 delete arg6;
15661 }
15662 return NULL;
15663 }
15664
15665
15666 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15667 PyObject *resultobj;
15668 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15669 PyObject *arg2 = (PyObject *) 0 ;
15670 PyObject *arg3 = (PyObject *) 0 ;
15671 PyObject * obj0 = 0 ;
15672 PyObject * obj1 = 0 ;
15673 PyObject * obj2 = 0 ;
15674 char *kwnames[] = {
15675 (char *) "self",(char *) "self",(char *) "_class", NULL
15676 };
15677
15678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15680 arg2 = obj1;
15681 arg3 = obj2;
15682 {
15683 PyThreadState* __tstate = wxPyBeginAllowThreads();
15684 (arg1)->_setCallbackInfo(arg2,arg3);
15685
15686 wxPyEndAllowThreads(__tstate);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 }
15689 Py_INCREF(Py_None); resultobj = Py_None;
15690 return resultobj;
15691 fail:
15692 return NULL;
15693 }
15694
15695
15696 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15697 PyObject *resultobj;
15698 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15699 int arg2 ;
15700 int arg3 ;
15701 int arg4 ;
15702 int arg5 ;
15703 PyObject * obj0 = 0 ;
15704 PyObject * obj1 = 0 ;
15705 PyObject * obj2 = 0 ;
15706 PyObject * obj3 = 0 ;
15707 PyObject * obj4 = 0 ;
15708 char *kwnames[] = {
15709 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15710 };
15711
15712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15714 {
15715 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15716 if (PyErr_Occurred()) SWIG_fail;
15717 }
15718 {
15719 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
15722 {
15723 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 }
15726 {
15727 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15728 if (PyErr_Occurred()) SWIG_fail;
15729 }
15730 {
15731 PyThreadState* __tstate = wxPyBeginAllowThreads();
15732 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15733
15734 wxPyEndAllowThreads(__tstate);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 }
15737 Py_INCREF(Py_None); resultobj = Py_None;
15738 return resultobj;
15739 fail:
15740 return NULL;
15741 }
15742
15743
15744 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15745 PyObject *resultobj;
15746 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15747 int arg2 ;
15748 int arg3 ;
15749 int arg4 ;
15750 int arg5 ;
15751 int arg6 = (int) wxSIZE_AUTO ;
15752 PyObject * obj0 = 0 ;
15753 PyObject * obj1 = 0 ;
15754 PyObject * obj2 = 0 ;
15755 PyObject * obj3 = 0 ;
15756 PyObject * obj4 = 0 ;
15757 PyObject * obj5 = 0 ;
15758 char *kwnames[] = {
15759 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15760 };
15761
15762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15764 {
15765 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
15768 {
15769 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15770 if (PyErr_Occurred()) SWIG_fail;
15771 }
15772 {
15773 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 }
15776 {
15777 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15778 if (PyErr_Occurred()) SWIG_fail;
15779 }
15780 if (obj5) {
15781 {
15782 arg6 = (int) SWIG_PyObj_AsInt(obj5);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 }
15785 }
15786 {
15787 PyThreadState* __tstate = wxPyBeginAllowThreads();
15788 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15789
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 Py_INCREF(Py_None); resultobj = Py_None;
15794 return resultobj;
15795 fail:
15796 return NULL;
15797 }
15798
15799
15800 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15801 PyObject *resultobj;
15802 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15803 int arg2 ;
15804 int arg3 ;
15805 PyObject * obj0 = 0 ;
15806 PyObject * obj1 = 0 ;
15807 PyObject * obj2 = 0 ;
15808 char *kwnames[] = {
15809 (char *) "self",(char *) "width",(char *) "height", NULL
15810 };
15811
15812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15814 {
15815 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 {
15819 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 }
15822 {
15823 PyThreadState* __tstate = wxPyBeginAllowThreads();
15824 (arg1)->base_DoSetClientSize(arg2,arg3);
15825
15826 wxPyEndAllowThreads(__tstate);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 Py_INCREF(Py_None); resultobj = Py_None;
15830 return resultobj;
15831 fail:
15832 return NULL;
15833 }
15834
15835
15836 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15837 PyObject *resultobj;
15838 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15839 int arg2 ;
15840 int arg3 ;
15841 PyObject * obj0 = 0 ;
15842 PyObject * obj1 = 0 ;
15843 PyObject * obj2 = 0 ;
15844 char *kwnames[] = {
15845 (char *) "self",(char *) "x",(char *) "y", NULL
15846 };
15847
15848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15850 {
15851 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 }
15854 {
15855 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15861
15862 wxPyEndAllowThreads(__tstate);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
15865 Py_INCREF(Py_None); resultobj = Py_None;
15866 return resultobj;
15867 fail:
15868 return NULL;
15869 }
15870
15871
15872 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15873 PyObject *resultobj;
15874 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15875 int *arg2 = (int *) 0 ;
15876 int *arg3 = (int *) 0 ;
15877 int temp2 ;
15878 int temp3 ;
15879 PyObject * obj0 = 0 ;
15880 char *kwnames[] = {
15881 (char *) "self", NULL
15882 };
15883
15884 arg2 = &temp2;
15885 arg3 = &temp3;
15886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15888 {
15889 PyThreadState* __tstate = wxPyBeginAllowThreads();
15890 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15891
15892 wxPyEndAllowThreads(__tstate);
15893 if (PyErr_Occurred()) SWIG_fail;
15894 }
15895 Py_INCREF(Py_None); resultobj = Py_None;
15896 {
15897 PyObject *o = PyInt_FromLong((long) (*arg2));
15898 resultobj = t_output_helper(resultobj,o);
15899 }
15900 {
15901 PyObject *o = PyInt_FromLong((long) (*arg3));
15902 resultobj = t_output_helper(resultobj,o);
15903 }
15904 return resultobj;
15905 fail:
15906 return NULL;
15907 }
15908
15909
15910 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15911 PyObject *resultobj;
15912 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15913 int *arg2 = (int *) 0 ;
15914 int *arg3 = (int *) 0 ;
15915 int temp2 ;
15916 int temp3 ;
15917 PyObject * obj0 = 0 ;
15918 char *kwnames[] = {
15919 (char *) "self", NULL
15920 };
15921
15922 arg2 = &temp2;
15923 arg3 = &temp3;
15924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15926 {
15927 PyThreadState* __tstate = wxPyBeginAllowThreads();
15928 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15929
15930 wxPyEndAllowThreads(__tstate);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 Py_INCREF(Py_None); resultobj = Py_None;
15934 {
15935 PyObject *o = PyInt_FromLong((long) (*arg2));
15936 resultobj = t_output_helper(resultobj,o);
15937 }
15938 {
15939 PyObject *o = PyInt_FromLong((long) (*arg3));
15940 resultobj = t_output_helper(resultobj,o);
15941 }
15942 return resultobj;
15943 fail:
15944 return NULL;
15945 }
15946
15947
15948 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15949 PyObject *resultobj;
15950 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15951 int *arg2 = (int *) 0 ;
15952 int *arg3 = (int *) 0 ;
15953 int temp2 ;
15954 int temp3 ;
15955 PyObject * obj0 = 0 ;
15956 char *kwnames[] = {
15957 (char *) "self", NULL
15958 };
15959
15960 arg2 = &temp2;
15961 arg3 = &temp3;
15962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 Py_INCREF(Py_None); resultobj = Py_None;
15972 {
15973 PyObject *o = PyInt_FromLong((long) (*arg2));
15974 resultobj = t_output_helper(resultobj,o);
15975 }
15976 {
15977 PyObject *o = PyInt_FromLong((long) (*arg3));
15978 resultobj = t_output_helper(resultobj,o);
15979 }
15980 return resultobj;
15981 fail:
15982 return NULL;
15983 }
15984
15985
15986 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15987 PyObject *resultobj;
15988 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15989 wxSize result;
15990 PyObject * obj0 = 0 ;
15991 char *kwnames[] = {
15992 (char *) "self", NULL
15993 };
15994
15995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15997 {
15998 PyThreadState* __tstate = wxPyBeginAllowThreads();
15999 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16000
16001 wxPyEndAllowThreads(__tstate);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 {
16005 wxSize * resultptr;
16006 resultptr = new wxSize((wxSize &) result);
16007 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16008 }
16009 return resultobj;
16010 fail:
16011 return NULL;
16012 }
16013
16014
16015 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16016 PyObject *resultobj;
16017 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16018 wxSize result;
16019 PyObject * obj0 = 0 ;
16020 char *kwnames[] = {
16021 (char *) "self", NULL
16022 };
16023
16024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16026 {
16027 PyThreadState* __tstate = wxPyBeginAllowThreads();
16028 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16029
16030 wxPyEndAllowThreads(__tstate);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 {
16034 wxSize * resultptr;
16035 resultptr = new wxSize((wxSize &) result);
16036 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16037 }
16038 return resultobj;
16039 fail:
16040 return NULL;
16041 }
16042
16043
16044 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16045 PyObject *resultobj;
16046 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16047 PyObject * obj0 = 0 ;
16048 char *kwnames[] = {
16049 (char *) "self", NULL
16050 };
16051
16052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16054 {
16055 PyThreadState* __tstate = wxPyBeginAllowThreads();
16056 (arg1)->base_InitDialog();
16057
16058 wxPyEndAllowThreads(__tstate);
16059 if (PyErr_Occurred()) SWIG_fail;
16060 }
16061 Py_INCREF(Py_None); resultobj = Py_None;
16062 return resultobj;
16063 fail:
16064 return NULL;
16065 }
16066
16067
16068 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16069 PyObject *resultobj;
16070 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16071 bool result;
16072 PyObject * obj0 = 0 ;
16073 char *kwnames[] = {
16074 (char *) "self", NULL
16075 };
16076
16077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16079 {
16080 PyThreadState* __tstate = wxPyBeginAllowThreads();
16081 result = (bool)(arg1)->base_TransferDataToWindow();
16082
16083 wxPyEndAllowThreads(__tstate);
16084 if (PyErr_Occurred()) SWIG_fail;
16085 }
16086 resultobj = SWIG_PyObj_FromBool((bool)result);
16087 return resultobj;
16088 fail:
16089 return NULL;
16090 }
16091
16092
16093 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16094 PyObject *resultobj;
16095 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16096 bool result;
16097 PyObject * obj0 = 0 ;
16098 char *kwnames[] = {
16099 (char *) "self", NULL
16100 };
16101
16102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16104 {
16105 PyThreadState* __tstate = wxPyBeginAllowThreads();
16106 result = (bool)(arg1)->base_TransferDataFromWindow();
16107
16108 wxPyEndAllowThreads(__tstate);
16109 if (PyErr_Occurred()) SWIG_fail;
16110 }
16111 resultobj = SWIG_PyObj_FromBool((bool)result);
16112 return resultobj;
16113 fail:
16114 return NULL;
16115 }
16116
16117
16118 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16119 PyObject *resultobj;
16120 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16121 bool result;
16122 PyObject * obj0 = 0 ;
16123 char *kwnames[] = {
16124 (char *) "self", NULL
16125 };
16126
16127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16129 {
16130 PyThreadState* __tstate = wxPyBeginAllowThreads();
16131 result = (bool)(arg1)->base_Validate();
16132
16133 wxPyEndAllowThreads(__tstate);
16134 if (PyErr_Occurred()) SWIG_fail;
16135 }
16136 resultobj = SWIG_PyObj_FromBool((bool)result);
16137 return resultobj;
16138 fail:
16139 return NULL;
16140 }
16141
16142
16143 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16144 PyObject *resultobj;
16145 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16146 bool result;
16147 PyObject * obj0 = 0 ;
16148 char *kwnames[] = {
16149 (char *) "self", NULL
16150 };
16151
16152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 resultobj = SWIG_PyObj_FromBool((bool)result);
16162 return resultobj;
16163 fail:
16164 return NULL;
16165 }
16166
16167
16168 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16169 PyObject *resultobj;
16170 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16171 bool result;
16172 PyObject * obj0 = 0 ;
16173 char *kwnames[] = {
16174 (char *) "self", NULL
16175 };
16176
16177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16179 {
16180 PyThreadState* __tstate = wxPyBeginAllowThreads();
16181 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16182
16183 wxPyEndAllowThreads(__tstate);
16184 if (PyErr_Occurred()) SWIG_fail;
16185 }
16186 resultobj = SWIG_PyObj_FromBool((bool)result);
16187 return resultobj;
16188 fail:
16189 return NULL;
16190 }
16191
16192
16193 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16194 PyObject *resultobj;
16195 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16196 wxSize result;
16197 PyObject * obj0 = 0 ;
16198 char *kwnames[] = {
16199 (char *) "self", NULL
16200 };
16201
16202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16204 {
16205 PyThreadState* __tstate = wxPyBeginAllowThreads();
16206 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16207
16208 wxPyEndAllowThreads(__tstate);
16209 if (PyErr_Occurred()) SWIG_fail;
16210 }
16211 {
16212 wxSize * resultptr;
16213 resultptr = new wxSize((wxSize &) result);
16214 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16215 }
16216 return resultobj;
16217 fail:
16218 return NULL;
16219 }
16220
16221
16222 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16223 PyObject *resultobj;
16224 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16225 wxWindow *arg2 = (wxWindow *) 0 ;
16226 PyObject * obj0 = 0 ;
16227 PyObject * obj1 = 0 ;
16228 char *kwnames[] = {
16229 (char *) "self",(char *) "child", NULL
16230 };
16231
16232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16234 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16235 {
16236 PyThreadState* __tstate = wxPyBeginAllowThreads();
16237 (arg1)->base_AddChild(arg2);
16238
16239 wxPyEndAllowThreads(__tstate);
16240 if (PyErr_Occurred()) SWIG_fail;
16241 }
16242 Py_INCREF(Py_None); resultobj = Py_None;
16243 return resultobj;
16244 fail:
16245 return NULL;
16246 }
16247
16248
16249 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16250 PyObject *resultobj;
16251 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16252 wxWindow *arg2 = (wxWindow *) 0 ;
16253 PyObject * obj0 = 0 ;
16254 PyObject * obj1 = 0 ;
16255 char *kwnames[] = {
16256 (char *) "self",(char *) "child", NULL
16257 };
16258
16259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16261 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16262 {
16263 PyThreadState* __tstate = wxPyBeginAllowThreads();
16264 (arg1)->base_RemoveChild(arg2);
16265
16266 wxPyEndAllowThreads(__tstate);
16267 if (PyErr_Occurred()) SWIG_fail;
16268 }
16269 Py_INCREF(Py_None); resultobj = Py_None;
16270 return resultobj;
16271 fail:
16272 return NULL;
16273 }
16274
16275
16276 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16277 PyObject *obj;
16278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16279 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16280 Py_INCREF(obj);
16281 return Py_BuildValue((char *)"");
16282 }
16283 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
16284 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
16285 return 1;
16286 }
16287
16288
16289 static PyObject *_wrap_PrintoutTitleStr_get() {
16290 PyObject *pyobj;
16291
16292 {
16293 #if wxUSE_UNICODE
16294 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16295 #else
16296 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16297 #endif
16298 }
16299 return pyobj;
16300 }
16301
16302
16303 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
16304 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
16305 return 1;
16306 }
16307
16308
16309 static PyObject *_wrap_PreviewCanvasNameStr_get() {
16310 PyObject *pyobj;
16311
16312 {
16313 #if wxUSE_UNICODE
16314 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16315 #else
16316 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16317 #endif
16318 }
16319 return pyobj;
16320 }
16321
16322
16323 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16324 PyObject *resultobj;
16325 wxPrintData *result;
16326 char *kwnames[] = {
16327 NULL
16328 };
16329
16330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
16331 {
16332 PyThreadState* __tstate = wxPyBeginAllowThreads();
16333 result = (wxPrintData *)new wxPrintData();
16334
16335 wxPyEndAllowThreads(__tstate);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
16339 return resultobj;
16340 fail:
16341 return NULL;
16342 }
16343
16344
16345 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16346 PyObject *resultobj;
16347 wxPrintData *arg1 = (wxPrintData *) 0 ;
16348 PyObject * obj0 = 0 ;
16349 char *kwnames[] = {
16350 (char *) "self", NULL
16351 };
16352
16353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
16354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16355 {
16356 PyThreadState* __tstate = wxPyBeginAllowThreads();
16357 delete arg1;
16358
16359 wxPyEndAllowThreads(__tstate);
16360 if (PyErr_Occurred()) SWIG_fail;
16361 }
16362 Py_INCREF(Py_None); resultobj = Py_None;
16363 return resultobj;
16364 fail:
16365 return NULL;
16366 }
16367
16368
16369 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16370 PyObject *resultobj;
16371 wxPrintData *arg1 = (wxPrintData *) 0 ;
16372 int result;
16373 PyObject * obj0 = 0 ;
16374 char *kwnames[] = {
16375 (char *) "self", NULL
16376 };
16377
16378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
16379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16380 {
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 result = (int)(arg1)->GetNoCopies();
16383
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 resultobj = SWIG_PyObj_FromInt((int)result);
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj;
16396 wxPrintData *arg1 = (wxPrintData *) 0 ;
16397 bool result;
16398 PyObject * obj0 = 0 ;
16399 char *kwnames[] = {
16400 (char *) "self", NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
16404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16405 {
16406 PyThreadState* __tstate = wxPyBeginAllowThreads();
16407 result = (bool)(arg1)->GetCollate();
16408
16409 wxPyEndAllowThreads(__tstate);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 resultobj = SWIG_PyObj_FromBool((bool)result);
16413 return resultobj;
16414 fail:
16415 return NULL;
16416 }
16417
16418
16419 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj;
16421 wxPrintData *arg1 = (wxPrintData *) 0 ;
16422 int result;
16423 PyObject * obj0 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self", NULL
16426 };
16427
16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
16429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16430 {
16431 PyThreadState* __tstate = wxPyBeginAllowThreads();
16432 result = (int)(arg1)->GetOrientation();
16433
16434 wxPyEndAllowThreads(__tstate);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 resultobj = SWIG_PyObj_FromInt((int)result);
16438 return resultobj;
16439 fail:
16440 return NULL;
16441 }
16442
16443
16444 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16445 PyObject *resultobj;
16446 wxPrintData *arg1 = (wxPrintData *) 0 ;
16447 bool result;
16448 PyObject * obj0 = 0 ;
16449 char *kwnames[] = {
16450 (char *) "self", NULL
16451 };
16452
16453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
16454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16455 {
16456 PyThreadState* __tstate = wxPyBeginAllowThreads();
16457 result = (bool)(arg1)->Ok();
16458
16459 wxPyEndAllowThreads(__tstate);
16460 if (PyErr_Occurred()) SWIG_fail;
16461 }
16462 resultobj = SWIG_PyObj_FromBool((bool)result);
16463 return resultobj;
16464 fail:
16465 return NULL;
16466 }
16467
16468
16469 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16470 PyObject *resultobj;
16471 wxPrintData *arg1 = (wxPrintData *) 0 ;
16472 wxString *result;
16473 PyObject * obj0 = 0 ;
16474 char *kwnames[] = {
16475 (char *) "self", NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
16479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16480 {
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 {
16483 wxString const &_result_ref = (arg1)->GetPrinterName();
16484 result = (wxString *) &_result_ref;
16485 }
16486
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
16490 {
16491 #if wxUSE_UNICODE
16492 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16493 #else
16494 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16495 #endif
16496 }
16497 return resultobj;
16498 fail:
16499 return NULL;
16500 }
16501
16502
16503 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16504 PyObject *resultobj;
16505 wxPrintData *arg1 = (wxPrintData *) 0 ;
16506 bool result;
16507 PyObject * obj0 = 0 ;
16508 char *kwnames[] = {
16509 (char *) "self", NULL
16510 };
16511
16512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
16513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16514 {
16515 PyThreadState* __tstate = wxPyBeginAllowThreads();
16516 result = (bool)(arg1)->GetColour();
16517
16518 wxPyEndAllowThreads(__tstate);
16519 if (PyErr_Occurred()) SWIG_fail;
16520 }
16521 resultobj = SWIG_PyObj_FromBool((bool)result);
16522 return resultobj;
16523 fail:
16524 return NULL;
16525 }
16526
16527
16528 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16529 PyObject *resultobj;
16530 wxPrintData *arg1 = (wxPrintData *) 0 ;
16531 int result;
16532 PyObject * obj0 = 0 ;
16533 char *kwnames[] = {
16534 (char *) "self", NULL
16535 };
16536
16537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
16538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16539 {
16540 PyThreadState* __tstate = wxPyBeginAllowThreads();
16541 result = (int)(arg1)->GetDuplex();
16542
16543 wxPyEndAllowThreads(__tstate);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 }
16546 resultobj = SWIG_PyObj_FromInt((int)result);
16547 return resultobj;
16548 fail:
16549 return NULL;
16550 }
16551
16552
16553 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16554 PyObject *resultobj;
16555 wxPrintData *arg1 = (wxPrintData *) 0 ;
16556 int result;
16557 PyObject * obj0 = 0 ;
16558 char *kwnames[] = {
16559 (char *) "self", NULL
16560 };
16561
16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
16563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 result = (int)(arg1)->GetPaperId();
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 resultobj = SWIG_PyObj_FromInt((int)result);
16572 return resultobj;
16573 fail:
16574 return NULL;
16575 }
16576
16577
16578 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 wxPrintData *arg1 = (wxPrintData *) 0 ;
16581 wxSize *result;
16582 PyObject * obj0 = 0 ;
16583 char *kwnames[] = {
16584 (char *) "self", NULL
16585 };
16586
16587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
16588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 {
16592 wxSize const &_result_ref = (arg1)->GetPaperSize();
16593 result = (wxSize *) &_result_ref;
16594 }
16595
16596 wxPyEndAllowThreads(__tstate);
16597 if (PyErr_Occurred()) SWIG_fail;
16598 }
16599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
16600 return resultobj;
16601 fail:
16602 return NULL;
16603 }
16604
16605
16606 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16607 PyObject *resultobj;
16608 wxPrintData *arg1 = (wxPrintData *) 0 ;
16609 int result;
16610 PyObject * obj0 = 0 ;
16611 char *kwnames[] = {
16612 (char *) "self", NULL
16613 };
16614
16615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
16616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
16619 result = (int)(arg1)->GetQuality();
16620
16621 wxPyEndAllowThreads(__tstate);
16622 if (PyErr_Occurred()) SWIG_fail;
16623 }
16624 resultobj = SWIG_PyObj_FromInt((int)result);
16625 return resultobj;
16626 fail:
16627 return NULL;
16628 }
16629
16630
16631 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16632 PyObject *resultobj;
16633 wxPrintData *arg1 = (wxPrintData *) 0 ;
16634 int arg2 ;
16635 PyObject * obj0 = 0 ;
16636 PyObject * obj1 = 0 ;
16637 char *kwnames[] = {
16638 (char *) "self",(char *) "v", NULL
16639 };
16640
16641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
16642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16643 {
16644 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16645 if (PyErr_Occurred()) SWIG_fail;
16646 }
16647 {
16648 PyThreadState* __tstate = wxPyBeginAllowThreads();
16649 (arg1)->SetNoCopies(arg2);
16650
16651 wxPyEndAllowThreads(__tstate);
16652 if (PyErr_Occurred()) SWIG_fail;
16653 }
16654 Py_INCREF(Py_None); resultobj = Py_None;
16655 return resultobj;
16656 fail:
16657 return NULL;
16658 }
16659
16660
16661 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16662 PyObject *resultobj;
16663 wxPrintData *arg1 = (wxPrintData *) 0 ;
16664 bool arg2 ;
16665 PyObject * obj0 = 0 ;
16666 PyObject * obj1 = 0 ;
16667 char *kwnames[] = {
16668 (char *) "self",(char *) "flag", NULL
16669 };
16670
16671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
16672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16673 {
16674 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16675 if (PyErr_Occurred()) SWIG_fail;
16676 }
16677 {
16678 PyThreadState* __tstate = wxPyBeginAllowThreads();
16679 (arg1)->SetCollate(arg2);
16680
16681 wxPyEndAllowThreads(__tstate);
16682 if (PyErr_Occurred()) SWIG_fail;
16683 }
16684 Py_INCREF(Py_None); resultobj = Py_None;
16685 return resultobj;
16686 fail:
16687 return NULL;
16688 }
16689
16690
16691 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16692 PyObject *resultobj;
16693 wxPrintData *arg1 = (wxPrintData *) 0 ;
16694 int arg2 ;
16695 PyObject * obj0 = 0 ;
16696 PyObject * obj1 = 0 ;
16697 char *kwnames[] = {
16698 (char *) "self",(char *) "orient", NULL
16699 };
16700
16701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
16702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16703 {
16704 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16705 if (PyErr_Occurred()) SWIG_fail;
16706 }
16707 {
16708 PyThreadState* __tstate = wxPyBeginAllowThreads();
16709 (arg1)->SetOrientation(arg2);
16710
16711 wxPyEndAllowThreads(__tstate);
16712 if (PyErr_Occurred()) SWIG_fail;
16713 }
16714 Py_INCREF(Py_None); resultobj = Py_None;
16715 return resultobj;
16716 fail:
16717 return NULL;
16718 }
16719
16720
16721 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16722 PyObject *resultobj;
16723 wxPrintData *arg1 = (wxPrintData *) 0 ;
16724 wxString *arg2 = 0 ;
16725 bool temp2 = False ;
16726 PyObject * obj0 = 0 ;
16727 PyObject * obj1 = 0 ;
16728 char *kwnames[] = {
16729 (char *) "self",(char *) "name", NULL
16730 };
16731
16732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
16733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16734 {
16735 arg2 = wxString_in_helper(obj1);
16736 if (arg2 == NULL) SWIG_fail;
16737 temp2 = True;
16738 }
16739 {
16740 PyThreadState* __tstate = wxPyBeginAllowThreads();
16741 (arg1)->SetPrinterName((wxString const &)*arg2);
16742
16743 wxPyEndAllowThreads(__tstate);
16744 if (PyErr_Occurred()) SWIG_fail;
16745 }
16746 Py_INCREF(Py_None); resultobj = Py_None;
16747 {
16748 if (temp2)
16749 delete arg2;
16750 }
16751 return resultobj;
16752 fail:
16753 {
16754 if (temp2)
16755 delete arg2;
16756 }
16757 return NULL;
16758 }
16759
16760
16761 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16762 PyObject *resultobj;
16763 wxPrintData *arg1 = (wxPrintData *) 0 ;
16764 bool arg2 ;
16765 PyObject * obj0 = 0 ;
16766 PyObject * obj1 = 0 ;
16767 char *kwnames[] = {
16768 (char *) "self",(char *) "colour", NULL
16769 };
16770
16771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
16772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16773 {
16774 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 {
16778 PyThreadState* __tstate = wxPyBeginAllowThreads();
16779 (arg1)->SetColour(arg2);
16780
16781 wxPyEndAllowThreads(__tstate);
16782 if (PyErr_Occurred()) SWIG_fail;
16783 }
16784 Py_INCREF(Py_None); resultobj = Py_None;
16785 return resultobj;
16786 fail:
16787 return NULL;
16788 }
16789
16790
16791 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16792 PyObject *resultobj;
16793 wxPrintData *arg1 = (wxPrintData *) 0 ;
16794 int arg2 ;
16795 PyObject * obj0 = 0 ;
16796 PyObject * obj1 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "self",(char *) "duplex", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
16802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16803 {
16804 arg2 = (wxDuplexMode) SWIG_PyObj_AsInt(obj1);
16805 if (PyErr_Occurred()) SWIG_fail;
16806 }
16807 {
16808 PyThreadState* __tstate = wxPyBeginAllowThreads();
16809 (arg1)->SetDuplex((wxDuplexMode )arg2);
16810
16811 wxPyEndAllowThreads(__tstate);
16812 if (PyErr_Occurred()) SWIG_fail;
16813 }
16814 Py_INCREF(Py_None); resultobj = Py_None;
16815 return resultobj;
16816 fail:
16817 return NULL;
16818 }
16819
16820
16821 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16822 PyObject *resultobj;
16823 wxPrintData *arg1 = (wxPrintData *) 0 ;
16824 int arg2 ;
16825 PyObject * obj0 = 0 ;
16826 PyObject * obj1 = 0 ;
16827 char *kwnames[] = {
16828 (char *) "self",(char *) "sizeId", NULL
16829 };
16830
16831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
16832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16833 {
16834 arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1);
16835 if (PyErr_Occurred()) SWIG_fail;
16836 }
16837 {
16838 PyThreadState* __tstate = wxPyBeginAllowThreads();
16839 (arg1)->SetPaperId((wxPaperSize )arg2);
16840
16841 wxPyEndAllowThreads(__tstate);
16842 if (PyErr_Occurred()) SWIG_fail;
16843 }
16844 Py_INCREF(Py_None); resultobj = Py_None;
16845 return resultobj;
16846 fail:
16847 return NULL;
16848 }
16849
16850
16851 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16852 PyObject *resultobj;
16853 wxPrintData *arg1 = (wxPrintData *) 0 ;
16854 wxSize *arg2 = 0 ;
16855 wxSize temp2 ;
16856 PyObject * obj0 = 0 ;
16857 PyObject * obj1 = 0 ;
16858 char *kwnames[] = {
16859 (char *) "self",(char *) "sz", NULL
16860 };
16861
16862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16864 {
16865 arg2 = &temp2;
16866 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16867 }
16868 {
16869 PyThreadState* __tstate = wxPyBeginAllowThreads();
16870 (arg1)->SetPaperSize((wxSize const &)*arg2);
16871
16872 wxPyEndAllowThreads(__tstate);
16873 if (PyErr_Occurred()) SWIG_fail;
16874 }
16875 Py_INCREF(Py_None); resultobj = Py_None;
16876 return resultobj;
16877 fail:
16878 return NULL;
16879 }
16880
16881
16882 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16883 PyObject *resultobj;
16884 wxPrintData *arg1 = (wxPrintData *) 0 ;
16885 int arg2 ;
16886 PyObject * obj0 = 0 ;
16887 PyObject * obj1 = 0 ;
16888 char *kwnames[] = {
16889 (char *) "self",(char *) "quality", NULL
16890 };
16891
16892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
16893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16894 {
16895 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 {
16899 PyThreadState* __tstate = wxPyBeginAllowThreads();
16900 (arg1)->SetQuality(arg2);
16901
16902 wxPyEndAllowThreads(__tstate);
16903 if (PyErr_Occurred()) SWIG_fail;
16904 }
16905 Py_INCREF(Py_None); resultobj = Py_None;
16906 return resultobj;
16907 fail:
16908 return NULL;
16909 }
16910
16911
16912 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16913 PyObject *resultobj;
16914 wxPrintData *arg1 = (wxPrintData *) 0 ;
16915 wxString *result;
16916 PyObject * obj0 = 0 ;
16917 char *kwnames[] = {
16918 (char *) "self", NULL
16919 };
16920
16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
16922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16923 {
16924 PyThreadState* __tstate = wxPyBeginAllowThreads();
16925 {
16926 wxString const &_result_ref = (arg1)->GetPrinterCommand();
16927 result = (wxString *) &_result_ref;
16928 }
16929
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 {
16934 #if wxUSE_UNICODE
16935 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16936 #else
16937 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16938 #endif
16939 }
16940 return resultobj;
16941 fail:
16942 return NULL;
16943 }
16944
16945
16946 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
16947 PyObject *resultobj;
16948 wxPrintData *arg1 = (wxPrintData *) 0 ;
16949 wxString *result;
16950 PyObject * obj0 = 0 ;
16951 char *kwnames[] = {
16952 (char *) "self", NULL
16953 };
16954
16955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
16956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16957 {
16958 PyThreadState* __tstate = wxPyBeginAllowThreads();
16959 {
16960 wxString const &_result_ref = (arg1)->GetPrinterOptions();
16961 result = (wxString *) &_result_ref;
16962 }
16963
16964 wxPyEndAllowThreads(__tstate);
16965 if (PyErr_Occurred()) SWIG_fail;
16966 }
16967 {
16968 #if wxUSE_UNICODE
16969 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16970 #else
16971 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16972 #endif
16973 }
16974 return resultobj;
16975 fail:
16976 return NULL;
16977 }
16978
16979
16980 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16981 PyObject *resultobj;
16982 wxPrintData *arg1 = (wxPrintData *) 0 ;
16983 wxString *result;
16984 PyObject * obj0 = 0 ;
16985 char *kwnames[] = {
16986 (char *) "self", NULL
16987 };
16988
16989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
16990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16991 {
16992 PyThreadState* __tstate = wxPyBeginAllowThreads();
16993 {
16994 wxString const &_result_ref = (arg1)->GetPreviewCommand();
16995 result = (wxString *) &_result_ref;
16996 }
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 {
17002 #if wxUSE_UNICODE
17003 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17004 #else
17005 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17006 #endif
17007 }
17008 return resultobj;
17009 fail:
17010 return NULL;
17011 }
17012
17013
17014 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17015 PyObject *resultobj;
17016 wxPrintData *arg1 = (wxPrintData *) 0 ;
17017 wxString *result;
17018 PyObject * obj0 = 0 ;
17019 char *kwnames[] = {
17020 (char *) "self", NULL
17021 };
17022
17023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
17024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17025 {
17026 PyThreadState* __tstate = wxPyBeginAllowThreads();
17027 {
17028 wxString const &_result_ref = (arg1)->GetFilename();
17029 result = (wxString *) &_result_ref;
17030 }
17031
17032 wxPyEndAllowThreads(__tstate);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 }
17035 {
17036 #if wxUSE_UNICODE
17037 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17038 #else
17039 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17040 #endif
17041 }
17042 return resultobj;
17043 fail:
17044 return NULL;
17045 }
17046
17047
17048 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17049 PyObject *resultobj;
17050 wxPrintData *arg1 = (wxPrintData *) 0 ;
17051 wxString *result;
17052 PyObject * obj0 = 0 ;
17053 char *kwnames[] = {
17054 (char *) "self", NULL
17055 };
17056
17057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
17058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17059 {
17060 PyThreadState* __tstate = wxPyBeginAllowThreads();
17061 {
17062 wxString const &_result_ref = (arg1)->GetFontMetricPath();
17063 result = (wxString *) &_result_ref;
17064 }
17065
17066 wxPyEndAllowThreads(__tstate);
17067 if (PyErr_Occurred()) SWIG_fail;
17068 }
17069 {
17070 #if wxUSE_UNICODE
17071 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17072 #else
17073 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17074 #endif
17075 }
17076 return resultobj;
17077 fail:
17078 return NULL;
17079 }
17080
17081
17082 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxPrintData *arg1 = (wxPrintData *) 0 ;
17085 double result;
17086 PyObject * obj0 = 0 ;
17087 char *kwnames[] = {
17088 (char *) "self", NULL
17089 };
17090
17091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
17092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 result = (double)(arg1)->GetPrinterScaleX();
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 resultobj = SWIG_PyObj_FromDouble((double)result);
17101 return resultobj;
17102 fail:
17103 return NULL;
17104 }
17105
17106
17107 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17108 PyObject *resultobj;
17109 wxPrintData *arg1 = (wxPrintData *) 0 ;
17110 double result;
17111 PyObject * obj0 = 0 ;
17112 char *kwnames[] = {
17113 (char *) "self", NULL
17114 };
17115
17116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
17117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 result = (double)(arg1)->GetPrinterScaleY();
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 resultobj = SWIG_PyObj_FromDouble((double)result);
17126 return resultobj;
17127 fail:
17128 return NULL;
17129 }
17130
17131
17132 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj;
17134 wxPrintData *arg1 = (wxPrintData *) 0 ;
17135 long result;
17136 PyObject * obj0 = 0 ;
17137 char *kwnames[] = {
17138 (char *) "self", NULL
17139 };
17140
17141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
17142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17143 {
17144 PyThreadState* __tstate = wxPyBeginAllowThreads();
17145 result = (long)(arg1)->GetPrinterTranslateX();
17146
17147 wxPyEndAllowThreads(__tstate);
17148 if (PyErr_Occurred()) SWIG_fail;
17149 }
17150 resultobj = SWIG_PyObj_FromLong((long)result);
17151 return resultobj;
17152 fail:
17153 return NULL;
17154 }
17155
17156
17157 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17158 PyObject *resultobj;
17159 wxPrintData *arg1 = (wxPrintData *) 0 ;
17160 long result;
17161 PyObject * obj0 = 0 ;
17162 char *kwnames[] = {
17163 (char *) "self", NULL
17164 };
17165
17166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
17167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17168 {
17169 PyThreadState* __tstate = wxPyBeginAllowThreads();
17170 result = (long)(arg1)->GetPrinterTranslateY();
17171
17172 wxPyEndAllowThreads(__tstate);
17173 if (PyErr_Occurred()) SWIG_fail;
17174 }
17175 resultobj = SWIG_PyObj_FromLong((long)result);
17176 return resultobj;
17177 fail:
17178 return NULL;
17179 }
17180
17181
17182 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17183 PyObject *resultobj;
17184 wxPrintData *arg1 = (wxPrintData *) 0 ;
17185 int result;
17186 PyObject * obj0 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "self", NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
17192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 result = (int)(arg1)->GetPrintMode();
17196
17197 wxPyEndAllowThreads(__tstate);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
17200 resultobj = SWIG_PyObj_FromInt((int)result);
17201 return resultobj;
17202 fail:
17203 return NULL;
17204 }
17205
17206
17207 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj;
17209 wxPrintData *arg1 = (wxPrintData *) 0 ;
17210 wxString *arg2 = 0 ;
17211 bool temp2 = False ;
17212 PyObject * obj0 = 0 ;
17213 PyObject * obj1 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "self",(char *) "command", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
17219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17220 {
17221 arg2 = wxString_in_helper(obj1);
17222 if (arg2 == NULL) SWIG_fail;
17223 temp2 = True;
17224 }
17225 {
17226 PyThreadState* __tstate = wxPyBeginAllowThreads();
17227 (arg1)->SetPrinterCommand((wxString const &)*arg2);
17228
17229 wxPyEndAllowThreads(__tstate);
17230 if (PyErr_Occurred()) SWIG_fail;
17231 }
17232 Py_INCREF(Py_None); resultobj = Py_None;
17233 {
17234 if (temp2)
17235 delete arg2;
17236 }
17237 return resultobj;
17238 fail:
17239 {
17240 if (temp2)
17241 delete arg2;
17242 }
17243 return NULL;
17244 }
17245
17246
17247 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj;
17249 wxPrintData *arg1 = (wxPrintData *) 0 ;
17250 wxString *arg2 = 0 ;
17251 bool temp2 = False ;
17252 PyObject * obj0 = 0 ;
17253 PyObject * obj1 = 0 ;
17254 char *kwnames[] = {
17255 (char *) "self",(char *) "options", NULL
17256 };
17257
17258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
17259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17260 {
17261 arg2 = wxString_in_helper(obj1);
17262 if (arg2 == NULL) SWIG_fail;
17263 temp2 = True;
17264 }
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 (arg1)->SetPrinterOptions((wxString const &)*arg2);
17268
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
17272 Py_INCREF(Py_None); resultobj = Py_None;
17273 {
17274 if (temp2)
17275 delete arg2;
17276 }
17277 return resultobj;
17278 fail:
17279 {
17280 if (temp2)
17281 delete arg2;
17282 }
17283 return NULL;
17284 }
17285
17286
17287 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17288 PyObject *resultobj;
17289 wxPrintData *arg1 = (wxPrintData *) 0 ;
17290 wxString *arg2 = 0 ;
17291 bool temp2 = False ;
17292 PyObject * obj0 = 0 ;
17293 PyObject * obj1 = 0 ;
17294 char *kwnames[] = {
17295 (char *) "self",(char *) "command", NULL
17296 };
17297
17298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
17299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17300 {
17301 arg2 = wxString_in_helper(obj1);
17302 if (arg2 == NULL) SWIG_fail;
17303 temp2 = True;
17304 }
17305 {
17306 PyThreadState* __tstate = wxPyBeginAllowThreads();
17307 (arg1)->SetPreviewCommand((wxString const &)*arg2);
17308
17309 wxPyEndAllowThreads(__tstate);
17310 if (PyErr_Occurred()) SWIG_fail;
17311 }
17312 Py_INCREF(Py_None); resultobj = Py_None;
17313 {
17314 if (temp2)
17315 delete arg2;
17316 }
17317 return resultobj;
17318 fail:
17319 {
17320 if (temp2)
17321 delete arg2;
17322 }
17323 return NULL;
17324 }
17325
17326
17327 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17328 PyObject *resultobj;
17329 wxPrintData *arg1 = (wxPrintData *) 0 ;
17330 wxString *arg2 = 0 ;
17331 bool temp2 = False ;
17332 PyObject * obj0 = 0 ;
17333 PyObject * obj1 = 0 ;
17334 char *kwnames[] = {
17335 (char *) "self",(char *) "filename", NULL
17336 };
17337
17338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
17339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17340 {
17341 arg2 = wxString_in_helper(obj1);
17342 if (arg2 == NULL) SWIG_fail;
17343 temp2 = True;
17344 }
17345 {
17346 PyThreadState* __tstate = wxPyBeginAllowThreads();
17347 (arg1)->SetFilename((wxString const &)*arg2);
17348
17349 wxPyEndAllowThreads(__tstate);
17350 if (PyErr_Occurred()) SWIG_fail;
17351 }
17352 Py_INCREF(Py_None); resultobj = Py_None;
17353 {
17354 if (temp2)
17355 delete arg2;
17356 }
17357 return resultobj;
17358 fail:
17359 {
17360 if (temp2)
17361 delete arg2;
17362 }
17363 return NULL;
17364 }
17365
17366
17367 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17368 PyObject *resultobj;
17369 wxPrintData *arg1 = (wxPrintData *) 0 ;
17370 wxString *arg2 = 0 ;
17371 bool temp2 = False ;
17372 PyObject * obj0 = 0 ;
17373 PyObject * obj1 = 0 ;
17374 char *kwnames[] = {
17375 (char *) "self",(char *) "path", NULL
17376 };
17377
17378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
17379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17380 {
17381 arg2 = wxString_in_helper(obj1);
17382 if (arg2 == NULL) SWIG_fail;
17383 temp2 = True;
17384 }
17385 {
17386 PyThreadState* __tstate = wxPyBeginAllowThreads();
17387 (arg1)->SetFontMetricPath((wxString const &)*arg2);
17388
17389 wxPyEndAllowThreads(__tstate);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
17392 Py_INCREF(Py_None); resultobj = Py_None;
17393 {
17394 if (temp2)
17395 delete arg2;
17396 }
17397 return resultobj;
17398 fail:
17399 {
17400 if (temp2)
17401 delete arg2;
17402 }
17403 return NULL;
17404 }
17405
17406
17407 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17408 PyObject *resultobj;
17409 wxPrintData *arg1 = (wxPrintData *) 0 ;
17410 double arg2 ;
17411 PyObject * obj0 = 0 ;
17412 PyObject * obj1 = 0 ;
17413 char *kwnames[] = {
17414 (char *) "self",(char *) "x", NULL
17415 };
17416
17417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
17418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17419 {
17420 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 {
17424 PyThreadState* __tstate = wxPyBeginAllowThreads();
17425 (arg1)->SetPrinterScaleX(arg2);
17426
17427 wxPyEndAllowThreads(__tstate);
17428 if (PyErr_Occurred()) SWIG_fail;
17429 }
17430 Py_INCREF(Py_None); resultobj = Py_None;
17431 return resultobj;
17432 fail:
17433 return NULL;
17434 }
17435
17436
17437 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17438 PyObject *resultobj;
17439 wxPrintData *arg1 = (wxPrintData *) 0 ;
17440 double arg2 ;
17441 PyObject * obj0 = 0 ;
17442 PyObject * obj1 = 0 ;
17443 char *kwnames[] = {
17444 (char *) "self",(char *) "y", NULL
17445 };
17446
17447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
17448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17449 {
17450 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 {
17454 PyThreadState* __tstate = wxPyBeginAllowThreads();
17455 (arg1)->SetPrinterScaleY(arg2);
17456
17457 wxPyEndAllowThreads(__tstate);
17458 if (PyErr_Occurred()) SWIG_fail;
17459 }
17460 Py_INCREF(Py_None); resultobj = Py_None;
17461 return resultobj;
17462 fail:
17463 return NULL;
17464 }
17465
17466
17467 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
17468 PyObject *resultobj;
17469 wxPrintData *arg1 = (wxPrintData *) 0 ;
17470 double arg2 ;
17471 double arg3 ;
17472 PyObject * obj0 = 0 ;
17473 PyObject * obj1 = 0 ;
17474 PyObject * obj2 = 0 ;
17475 char *kwnames[] = {
17476 (char *) "self",(char *) "x",(char *) "y", NULL
17477 };
17478
17479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
17480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17481 {
17482 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17483 if (PyErr_Occurred()) SWIG_fail;
17484 }
17485 {
17486 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17487 if (PyErr_Occurred()) SWIG_fail;
17488 }
17489 {
17490 PyThreadState* __tstate = wxPyBeginAllowThreads();
17491 (arg1)->SetPrinterScaling(arg2,arg3);
17492
17493 wxPyEndAllowThreads(__tstate);
17494 if (PyErr_Occurred()) SWIG_fail;
17495 }
17496 Py_INCREF(Py_None); resultobj = Py_None;
17497 return resultobj;
17498 fail:
17499 return NULL;
17500 }
17501
17502
17503 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17504 PyObject *resultobj;
17505 wxPrintData *arg1 = (wxPrintData *) 0 ;
17506 long arg2 ;
17507 PyObject * obj0 = 0 ;
17508 PyObject * obj1 = 0 ;
17509 char *kwnames[] = {
17510 (char *) "self",(char *) "x", NULL
17511 };
17512
17513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
17514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17515 {
17516 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17517 if (PyErr_Occurred()) SWIG_fail;
17518 }
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 (arg1)->SetPrinterTranslateX(arg2);
17522
17523 wxPyEndAllowThreads(__tstate);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 Py_INCREF(Py_None); resultobj = Py_None;
17527 return resultobj;
17528 fail:
17529 return NULL;
17530 }
17531
17532
17533 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj;
17535 wxPrintData *arg1 = (wxPrintData *) 0 ;
17536 long arg2 ;
17537 PyObject * obj0 = 0 ;
17538 PyObject * obj1 = 0 ;
17539 char *kwnames[] = {
17540 (char *) "self",(char *) "y", NULL
17541 };
17542
17543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
17544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17545 {
17546 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17547 if (PyErr_Occurred()) SWIG_fail;
17548 }
17549 {
17550 PyThreadState* __tstate = wxPyBeginAllowThreads();
17551 (arg1)->SetPrinterTranslateY(arg2);
17552
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
17556 Py_INCREF(Py_None); resultobj = Py_None;
17557 return resultobj;
17558 fail:
17559 return NULL;
17560 }
17561
17562
17563 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
17564 PyObject *resultobj;
17565 wxPrintData *arg1 = (wxPrintData *) 0 ;
17566 long arg2 ;
17567 long arg3 ;
17568 PyObject * obj0 = 0 ;
17569 PyObject * obj1 = 0 ;
17570 PyObject * obj2 = 0 ;
17571 char *kwnames[] = {
17572 (char *) "self",(char *) "x",(char *) "y", NULL
17573 };
17574
17575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
17576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17577 {
17578 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17579 if (PyErr_Occurred()) SWIG_fail;
17580 }
17581 {
17582 arg3 = (long) SWIG_PyObj_AsLong(obj2);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
17585 {
17586 PyThreadState* __tstate = wxPyBeginAllowThreads();
17587 (arg1)->SetPrinterTranslation(arg2,arg3);
17588
17589 wxPyEndAllowThreads(__tstate);
17590 if (PyErr_Occurred()) SWIG_fail;
17591 }
17592 Py_INCREF(Py_None); resultobj = Py_None;
17593 return resultobj;
17594 fail:
17595 return NULL;
17596 }
17597
17598
17599 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17600 PyObject *resultobj;
17601 wxPrintData *arg1 = (wxPrintData *) 0 ;
17602 int arg2 ;
17603 PyObject * obj0 = 0 ;
17604 PyObject * obj1 = 0 ;
17605 char *kwnames[] = {
17606 (char *) "self",(char *) "printMode", NULL
17607 };
17608
17609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
17610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17611 {
17612 arg2 = (wxPrintMode) SWIG_PyObj_AsInt(obj1);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 {
17616 PyThreadState* __tstate = wxPyBeginAllowThreads();
17617 (arg1)->SetPrintMode((wxPrintMode )arg2);
17618
17619 wxPyEndAllowThreads(__tstate);
17620 if (PyErr_Occurred()) SWIG_fail;
17621 }
17622 Py_INCREF(Py_None); resultobj = Py_None;
17623 return resultobj;
17624 fail:
17625 return NULL;
17626 }
17627
17628
17629 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
17630 PyObject *obj;
17631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17632 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
17633 Py_INCREF(obj);
17634 return Py_BuildValue((char *)"");
17635 }
17636 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17637 PyObject *resultobj;
17638 wxPageSetupDialogData *result;
17639 char *kwnames[] = {
17640 NULL
17641 };
17642
17643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
17644 {
17645 PyThreadState* __tstate = wxPyBeginAllowThreads();
17646 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
17647
17648 wxPyEndAllowThreads(__tstate);
17649 if (PyErr_Occurred()) SWIG_fail;
17650 }
17651 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
17652 return resultobj;
17653 fail:
17654 return NULL;
17655 }
17656
17657
17658 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17659 PyObject *resultobj;
17660 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17661 PyObject * obj0 = 0 ;
17662 char *kwnames[] = {
17663 (char *) "self", NULL
17664 };
17665
17666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
17667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 delete arg1;
17671
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 Py_INCREF(Py_None); resultobj = Py_None;
17676 return resultobj;
17677 fail:
17678 return NULL;
17679 }
17680
17681
17682 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17683 PyObject *resultobj;
17684 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17685 bool arg2 ;
17686 PyObject * obj0 = 0 ;
17687 PyObject * obj1 = 0 ;
17688 char *kwnames[] = {
17689 (char *) "self",(char *) "flag", NULL
17690 };
17691
17692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17694 {
17695 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17696 if (PyErr_Occurred()) SWIG_fail;
17697 }
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 (arg1)->EnableHelp(arg2);
17701
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 Py_INCREF(Py_None); resultobj = Py_None;
17706 return resultobj;
17707 fail:
17708 return NULL;
17709 }
17710
17711
17712 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17713 PyObject *resultobj;
17714 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17715 bool arg2 ;
17716 PyObject * obj0 = 0 ;
17717 PyObject * obj1 = 0 ;
17718 char *kwnames[] = {
17719 (char *) "self",(char *) "flag", NULL
17720 };
17721
17722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
17723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17724 {
17725 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17726 if (PyErr_Occurred()) SWIG_fail;
17727 }
17728 {
17729 PyThreadState* __tstate = wxPyBeginAllowThreads();
17730 (arg1)->EnableMargins(arg2);
17731
17732 wxPyEndAllowThreads(__tstate);
17733 if (PyErr_Occurred()) SWIG_fail;
17734 }
17735 Py_INCREF(Py_None); resultobj = Py_None;
17736 return resultobj;
17737 fail:
17738 return NULL;
17739 }
17740
17741
17742 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17743 PyObject *resultobj;
17744 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17745 bool arg2 ;
17746 PyObject * obj0 = 0 ;
17747 PyObject * obj1 = 0 ;
17748 char *kwnames[] = {
17749 (char *) "self",(char *) "flag", NULL
17750 };
17751
17752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
17753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17754 {
17755 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17756 if (PyErr_Occurred()) SWIG_fail;
17757 }
17758 {
17759 PyThreadState* __tstate = wxPyBeginAllowThreads();
17760 (arg1)->EnableOrientation(arg2);
17761
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 Py_INCREF(Py_None); resultobj = Py_None;
17766 return resultobj;
17767 fail:
17768 return NULL;
17769 }
17770
17771
17772 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17773 PyObject *resultobj;
17774 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17775 bool arg2 ;
17776 PyObject * obj0 = 0 ;
17777 PyObject * obj1 = 0 ;
17778 char *kwnames[] = {
17779 (char *) "self",(char *) "flag", NULL
17780 };
17781
17782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
17783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17784 {
17785 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 {
17789 PyThreadState* __tstate = wxPyBeginAllowThreads();
17790 (arg1)->EnablePaper(arg2);
17791
17792 wxPyEndAllowThreads(__tstate);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 Py_INCREF(Py_None); resultobj = Py_None;
17796 return resultobj;
17797 fail:
17798 return NULL;
17799 }
17800
17801
17802 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17803 PyObject *resultobj;
17804 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17805 bool arg2 ;
17806 PyObject * obj0 = 0 ;
17807 PyObject * obj1 = 0 ;
17808 char *kwnames[] = {
17809 (char *) "self",(char *) "flag", NULL
17810 };
17811
17812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
17813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17814 {
17815 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 {
17819 PyThreadState* __tstate = wxPyBeginAllowThreads();
17820 (arg1)->EnablePrinter(arg2);
17821
17822 wxPyEndAllowThreads(__tstate);
17823 if (PyErr_Occurred()) SWIG_fail;
17824 }
17825 Py_INCREF(Py_None); resultobj = Py_None;
17826 return resultobj;
17827 fail:
17828 return NULL;
17829 }
17830
17831
17832 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17833 PyObject *resultobj;
17834 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17835 bool result;
17836 PyObject * obj0 = 0 ;
17837 char *kwnames[] = {
17838 (char *) "self", NULL
17839 };
17840
17841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
17842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17843 {
17844 PyThreadState* __tstate = wxPyBeginAllowThreads();
17845 result = (bool)(arg1)->GetDefaultMinMargins();
17846
17847 wxPyEndAllowThreads(__tstate);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 }
17850 resultobj = SWIG_PyObj_FromBool((bool)result);
17851 return resultobj;
17852 fail:
17853 return NULL;
17854 }
17855
17856
17857 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17858 PyObject *resultobj;
17859 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17860 bool result;
17861 PyObject * obj0 = 0 ;
17862 char *kwnames[] = {
17863 (char *) "self", NULL
17864 };
17865
17866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
17867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17868 {
17869 PyThreadState* __tstate = wxPyBeginAllowThreads();
17870 result = (bool)(arg1)->GetEnableMargins();
17871
17872 wxPyEndAllowThreads(__tstate);
17873 if (PyErr_Occurred()) SWIG_fail;
17874 }
17875 resultobj = SWIG_PyObj_FromBool((bool)result);
17876 return resultobj;
17877 fail:
17878 return NULL;
17879 }
17880
17881
17882 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17883 PyObject *resultobj;
17884 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17885 bool result;
17886 PyObject * obj0 = 0 ;
17887 char *kwnames[] = {
17888 (char *) "self", NULL
17889 };
17890
17891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
17892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17893 {
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 result = (bool)(arg1)->GetEnableOrientation();
17896
17897 wxPyEndAllowThreads(__tstate);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 }
17900 resultobj = SWIG_PyObj_FromBool((bool)result);
17901 return resultobj;
17902 fail:
17903 return NULL;
17904 }
17905
17906
17907 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17908 PyObject *resultobj;
17909 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17910 bool result;
17911 PyObject * obj0 = 0 ;
17912 char *kwnames[] = {
17913 (char *) "self", NULL
17914 };
17915
17916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
17917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17918 {
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 result = (bool)(arg1)->GetEnablePaper();
17921
17922 wxPyEndAllowThreads(__tstate);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 }
17925 resultobj = SWIG_PyObj_FromBool((bool)result);
17926 return resultobj;
17927 fail:
17928 return NULL;
17929 }
17930
17931
17932 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17933 PyObject *resultobj;
17934 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17935 bool result;
17936 PyObject * obj0 = 0 ;
17937 char *kwnames[] = {
17938 (char *) "self", NULL
17939 };
17940
17941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
17942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17943 {
17944 PyThreadState* __tstate = wxPyBeginAllowThreads();
17945 result = (bool)(arg1)->GetEnablePrinter();
17946
17947 wxPyEndAllowThreads(__tstate);
17948 if (PyErr_Occurred()) SWIG_fail;
17949 }
17950 resultobj = SWIG_PyObj_FromBool((bool)result);
17951 return resultobj;
17952 fail:
17953 return NULL;
17954 }
17955
17956
17957 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17958 PyObject *resultobj;
17959 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17960 bool result;
17961 PyObject * obj0 = 0 ;
17962 char *kwnames[] = {
17963 (char *) "self", NULL
17964 };
17965
17966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17968 {
17969 PyThreadState* __tstate = wxPyBeginAllowThreads();
17970 result = (bool)(arg1)->GetEnableHelp();
17971
17972 wxPyEndAllowThreads(__tstate);
17973 if (PyErr_Occurred()) SWIG_fail;
17974 }
17975 resultobj = SWIG_PyObj_FromBool((bool)result);
17976 return resultobj;
17977 fail:
17978 return NULL;
17979 }
17980
17981
17982 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17983 PyObject *resultobj;
17984 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17985 bool result;
17986 PyObject * obj0 = 0 ;
17987 char *kwnames[] = {
17988 (char *) "self", NULL
17989 };
17990
17991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
17992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17993 {
17994 PyThreadState* __tstate = wxPyBeginAllowThreads();
17995 result = (bool)(arg1)->GetDefaultInfo();
17996
17997 wxPyEndAllowThreads(__tstate);
17998 if (PyErr_Occurred()) SWIG_fail;
17999 }
18000 resultobj = SWIG_PyObj_FromBool((bool)result);
18001 return resultobj;
18002 fail:
18003 return NULL;
18004 }
18005
18006
18007 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18008 PyObject *resultobj;
18009 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18010 wxPoint result;
18011 PyObject * obj0 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18018 {
18019 PyThreadState* __tstate = wxPyBeginAllowThreads();
18020 result = (arg1)->GetMarginTopLeft();
18021
18022 wxPyEndAllowThreads(__tstate);
18023 if (PyErr_Occurred()) SWIG_fail;
18024 }
18025 {
18026 wxPoint * resultptr;
18027 resultptr = new wxPoint((wxPoint &) result);
18028 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18029 }
18030 return resultobj;
18031 fail:
18032 return NULL;
18033 }
18034
18035
18036 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18037 PyObject *resultobj;
18038 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18039 wxPoint result;
18040 PyObject * obj0 = 0 ;
18041 char *kwnames[] = {
18042 (char *) "self", NULL
18043 };
18044
18045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
18046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18047 {
18048 PyThreadState* __tstate = wxPyBeginAllowThreads();
18049 result = (arg1)->GetMarginBottomRight();
18050
18051 wxPyEndAllowThreads(__tstate);
18052 if (PyErr_Occurred()) SWIG_fail;
18053 }
18054 {
18055 wxPoint * resultptr;
18056 resultptr = new wxPoint((wxPoint &) result);
18057 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18058 }
18059 return resultobj;
18060 fail:
18061 return NULL;
18062 }
18063
18064
18065 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18066 PyObject *resultobj;
18067 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18068 wxPoint result;
18069 PyObject * obj0 = 0 ;
18070 char *kwnames[] = {
18071 (char *) "self", NULL
18072 };
18073
18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
18075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18076 {
18077 PyThreadState* __tstate = wxPyBeginAllowThreads();
18078 result = (arg1)->GetMinMarginTopLeft();
18079
18080 wxPyEndAllowThreads(__tstate);
18081 if (PyErr_Occurred()) SWIG_fail;
18082 }
18083 {
18084 wxPoint * resultptr;
18085 resultptr = new wxPoint((wxPoint &) result);
18086 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18087 }
18088 return resultobj;
18089 fail:
18090 return NULL;
18091 }
18092
18093
18094 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18095 PyObject *resultobj;
18096 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18097 wxPoint result;
18098 PyObject * obj0 = 0 ;
18099 char *kwnames[] = {
18100 (char *) "self", NULL
18101 };
18102
18103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
18104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18105 {
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 result = (arg1)->GetMinMarginBottomRight();
18108
18109 wxPyEndAllowThreads(__tstate);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 {
18113 wxPoint * resultptr;
18114 resultptr = new wxPoint((wxPoint &) result);
18115 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18116 }
18117 return resultobj;
18118 fail:
18119 return NULL;
18120 }
18121
18122
18123 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18124 PyObject *resultobj;
18125 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18126 int result;
18127 PyObject * obj0 = 0 ;
18128 char *kwnames[] = {
18129 (char *) "self", NULL
18130 };
18131
18132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
18133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18134 {
18135 PyThreadState* __tstate = wxPyBeginAllowThreads();
18136 result = (int)(arg1)->GetPaperId();
18137
18138 wxPyEndAllowThreads(__tstate);
18139 if (PyErr_Occurred()) SWIG_fail;
18140 }
18141 resultobj = SWIG_PyObj_FromInt((int)result);
18142 return resultobj;
18143 fail:
18144 return NULL;
18145 }
18146
18147
18148 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18149 PyObject *resultobj;
18150 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18151 wxSize result;
18152 PyObject * obj0 = 0 ;
18153 char *kwnames[] = {
18154 (char *) "self", NULL
18155 };
18156
18157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
18158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18159 {
18160 PyThreadState* __tstate = wxPyBeginAllowThreads();
18161 result = (arg1)->GetPaperSize();
18162
18163 wxPyEndAllowThreads(__tstate);
18164 if (PyErr_Occurred()) SWIG_fail;
18165 }
18166 {
18167 wxSize * resultptr;
18168 resultptr = new wxSize((wxSize &) result);
18169 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18170 }
18171 return resultobj;
18172 fail:
18173 return NULL;
18174 }
18175
18176
18177 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18178 PyObject *resultobj;
18179 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18180 wxPrintData *result;
18181 PyObject * obj0 = 0 ;
18182 char *kwnames[] = {
18183 (char *) "self", NULL
18184 };
18185
18186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18188 {
18189 PyThreadState* __tstate = wxPyBeginAllowThreads();
18190 {
18191 wxPrintData &_result_ref = (arg1)->GetPrintData();
18192 result = (wxPrintData *) &_result_ref;
18193 }
18194
18195 wxPyEndAllowThreads(__tstate);
18196 if (PyErr_Occurred()) SWIG_fail;
18197 }
18198 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
18199 return resultobj;
18200 fail:
18201 return NULL;
18202 }
18203
18204
18205 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18206 PyObject *resultobj;
18207 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18208 bool result;
18209 PyObject * obj0 = 0 ;
18210 char *kwnames[] = {
18211 (char *) "self", NULL
18212 };
18213
18214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
18215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18216 {
18217 PyThreadState* __tstate = wxPyBeginAllowThreads();
18218 result = (bool)(arg1)->Ok();
18219
18220 wxPyEndAllowThreads(__tstate);
18221 if (PyErr_Occurred()) SWIG_fail;
18222 }
18223 resultobj = SWIG_PyObj_FromBool((bool)result);
18224 return resultobj;
18225 fail:
18226 return NULL;
18227 }
18228
18229
18230 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18231 PyObject *resultobj;
18232 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18233 bool arg2 ;
18234 PyObject * obj0 = 0 ;
18235 PyObject * obj1 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self",(char *) "flag", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
18241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18242 {
18243 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 }
18246 {
18247 PyThreadState* __tstate = wxPyBeginAllowThreads();
18248 (arg1)->SetDefaultInfo(arg2);
18249
18250 wxPyEndAllowThreads(__tstate);
18251 if (PyErr_Occurred()) SWIG_fail;
18252 }
18253 Py_INCREF(Py_None); resultobj = Py_None;
18254 return resultobj;
18255 fail:
18256 return NULL;
18257 }
18258
18259
18260 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18261 PyObject *resultobj;
18262 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18263 bool arg2 ;
18264 PyObject * obj0 = 0 ;
18265 PyObject * obj1 = 0 ;
18266 char *kwnames[] = {
18267 (char *) "self",(char *) "flag", NULL
18268 };
18269
18270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
18271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18272 {
18273 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 {
18277 PyThreadState* __tstate = wxPyBeginAllowThreads();
18278 (arg1)->SetDefaultMinMargins(arg2);
18279
18280 wxPyEndAllowThreads(__tstate);
18281 if (PyErr_Occurred()) SWIG_fail;
18282 }
18283 Py_INCREF(Py_None); resultobj = Py_None;
18284 return resultobj;
18285 fail:
18286 return NULL;
18287 }
18288
18289
18290 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18291 PyObject *resultobj;
18292 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18293 wxPoint *arg2 = 0 ;
18294 wxPoint temp2 ;
18295 PyObject * obj0 = 0 ;
18296 PyObject * obj1 = 0 ;
18297 char *kwnames[] = {
18298 (char *) "self",(char *) "pt", NULL
18299 };
18300
18301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18303 {
18304 arg2 = &temp2;
18305 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18306 }
18307 {
18308 PyThreadState* __tstate = wxPyBeginAllowThreads();
18309 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
18310
18311 wxPyEndAllowThreads(__tstate);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
18314 Py_INCREF(Py_None); resultobj = Py_None;
18315 return resultobj;
18316 fail:
18317 return NULL;
18318 }
18319
18320
18321 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18322 PyObject *resultobj;
18323 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18324 wxPoint *arg2 = 0 ;
18325 wxPoint temp2 ;
18326 PyObject * obj0 = 0 ;
18327 PyObject * obj1 = 0 ;
18328 char *kwnames[] = {
18329 (char *) "self",(char *) "pt", NULL
18330 };
18331
18332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18334 {
18335 arg2 = &temp2;
18336 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18337 }
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
18341
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 Py_INCREF(Py_None); resultobj = Py_None;
18346 return resultobj;
18347 fail:
18348 return NULL;
18349 }
18350
18351
18352 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18353 PyObject *resultobj;
18354 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18355 wxPoint *arg2 = 0 ;
18356 wxPoint temp2 ;
18357 PyObject * obj0 = 0 ;
18358 PyObject * obj1 = 0 ;
18359 char *kwnames[] = {
18360 (char *) "self",(char *) "pt", NULL
18361 };
18362
18363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18365 {
18366 arg2 = &temp2;
18367 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18368 }
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
18371 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
18372
18373 wxPyEndAllowThreads(__tstate);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 Py_INCREF(Py_None); resultobj = Py_None;
18377 return resultobj;
18378 fail:
18379 return NULL;
18380 }
18381
18382
18383 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18384 PyObject *resultobj;
18385 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18386 wxPoint *arg2 = 0 ;
18387 wxPoint temp2 ;
18388 PyObject * obj0 = 0 ;
18389 PyObject * obj1 = 0 ;
18390 char *kwnames[] = {
18391 (char *) "self",(char *) "pt", NULL
18392 };
18393
18394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18396 {
18397 arg2 = &temp2;
18398 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18399 }
18400 {
18401 PyThreadState* __tstate = wxPyBeginAllowThreads();
18402 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
18403
18404 wxPyEndAllowThreads(__tstate);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 }
18407 Py_INCREF(Py_None); resultobj = Py_None;
18408 return resultobj;
18409 fail:
18410 return NULL;
18411 }
18412
18413
18414 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18415 PyObject *resultobj;
18416 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18417 int arg2 ;
18418 PyObject * obj0 = 0 ;
18419 PyObject * obj1 = 0 ;
18420 char *kwnames[] = {
18421 (char *) "self",(char *) "id", NULL
18422 };
18423
18424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18426 {
18427 arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 }
18430 {
18431 PyThreadState* __tstate = wxPyBeginAllowThreads();
18432 (arg1)->SetPaperId((wxPaperSize )arg2);
18433
18434 wxPyEndAllowThreads(__tstate);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 Py_INCREF(Py_None); resultobj = Py_None;
18438 return resultobj;
18439 fail:
18440 return NULL;
18441 }
18442
18443
18444 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18445 PyObject *resultobj;
18446 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18447 wxSize *arg2 = 0 ;
18448 wxSize temp2 ;
18449 PyObject * obj0 = 0 ;
18450 PyObject * obj1 = 0 ;
18451 char *kwnames[] = {
18452 (char *) "self",(char *) "size", NULL
18453 };
18454
18455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18457 {
18458 arg2 = &temp2;
18459 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18460 }
18461 {
18462 PyThreadState* __tstate = wxPyBeginAllowThreads();
18463 (arg1)->SetPaperSize((wxSize const &)*arg2);
18464
18465 wxPyEndAllowThreads(__tstate);
18466 if (PyErr_Occurred()) SWIG_fail;
18467 }
18468 Py_INCREF(Py_None); resultobj = Py_None;
18469 return resultobj;
18470 fail:
18471 return NULL;
18472 }
18473
18474
18475 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18476 PyObject *resultobj;
18477 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18478 wxPrintData *arg2 = 0 ;
18479 PyObject * obj0 = 0 ;
18480 PyObject * obj1 = 0 ;
18481 char *kwnames[] = {
18482 (char *) "self",(char *) "printData", NULL
18483 };
18484
18485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18488 if (arg2 == NULL) {
18489 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18490 }
18491 {
18492 PyThreadState* __tstate = wxPyBeginAllowThreads();
18493 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 Py_INCREF(Py_None); resultobj = Py_None;
18499 return resultobj;
18500 fail:
18501 return NULL;
18502 }
18503
18504
18505 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
18506 PyObject *obj;
18507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18508 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
18509 Py_INCREF(obj);
18510 return Py_BuildValue((char *)"");
18511 }
18512 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18513 PyObject *resultobj;
18514 wxWindow *arg1 = (wxWindow *) 0 ;
18515 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
18516 wxPageSetupDialog *result;
18517 PyObject * obj0 = 0 ;
18518 PyObject * obj1 = 0 ;
18519 char *kwnames[] = {
18520 (char *) "parent",(char *) "data", NULL
18521 };
18522
18523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18525 if (obj1) {
18526 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18527 }
18528 {
18529 PyThreadState* __tstate = wxPyBeginAllowThreads();
18530 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
18531
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
18535 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
18536 return resultobj;
18537 fail:
18538 return NULL;
18539 }
18540
18541
18542 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj;
18544 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18545 wxPageSetupDialogData *result;
18546 PyObject * obj0 = 0 ;
18547 char *kwnames[] = {
18548 (char *) "self", NULL
18549 };
18550
18551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
18552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
18555 {
18556 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
18557 result = (wxPageSetupDialogData *) &_result_ref;
18558 }
18559
18560 wxPyEndAllowThreads(__tstate);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 }
18563 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
18564 return resultobj;
18565 fail:
18566 return NULL;
18567 }
18568
18569
18570 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18571 PyObject *resultobj;
18572 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18573 int result;
18574 PyObject * obj0 = 0 ;
18575 char *kwnames[] = {
18576 (char *) "self", NULL
18577 };
18578
18579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
18580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18581 {
18582 PyThreadState* __tstate = wxPyBeginAllowThreads();
18583 result = (int)(arg1)->ShowModal();
18584
18585 wxPyEndAllowThreads(__tstate);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 }
18588 resultobj = SWIG_PyObj_FromInt((int)result);
18589 return resultobj;
18590 fail:
18591 return NULL;
18592 }
18593
18594
18595 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
18596 PyObject *obj;
18597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18598 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
18599 Py_INCREF(obj);
18600 return Py_BuildValue((char *)"");
18601 }
18602 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18603 PyObject *resultobj;
18604 wxPrintDialogData *result;
18605 char *kwnames[] = {
18606 NULL
18607 };
18608
18609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
18610 {
18611 PyThreadState* __tstate = wxPyBeginAllowThreads();
18612 result = (wxPrintDialogData *)new wxPrintDialogData();
18613
18614 wxPyEndAllowThreads(__tstate);
18615 if (PyErr_Occurred()) SWIG_fail;
18616 }
18617 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
18618 return resultobj;
18619 fail:
18620 return NULL;
18621 }
18622
18623
18624 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18625 PyObject *resultobj;
18626 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18627 PyObject * obj0 = 0 ;
18628 char *kwnames[] = {
18629 (char *) "self", NULL
18630 };
18631
18632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
18633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18634 {
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 delete arg1;
18637
18638 wxPyEndAllowThreads(__tstate);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 }
18641 Py_INCREF(Py_None); resultobj = Py_None;
18642 return resultobj;
18643 fail:
18644 return NULL;
18645 }
18646
18647
18648 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18649 PyObject *resultobj;
18650 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18651 int result;
18652 PyObject * obj0 = 0 ;
18653 char *kwnames[] = {
18654 (char *) "self", NULL
18655 };
18656
18657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
18658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18659 {
18660 PyThreadState* __tstate = wxPyBeginAllowThreads();
18661 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
18662
18663 wxPyEndAllowThreads(__tstate);
18664 if (PyErr_Occurred()) SWIG_fail;
18665 }
18666 resultobj = SWIG_PyObj_FromInt((int)result);
18667 return resultobj;
18668 fail:
18669 return NULL;
18670 }
18671
18672
18673 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18674 PyObject *resultobj;
18675 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18676 int result;
18677 PyObject * obj0 = 0 ;
18678 char *kwnames[] = {
18679 (char *) "self", NULL
18680 };
18681
18682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
18683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18684 {
18685 PyThreadState* __tstate = wxPyBeginAllowThreads();
18686 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
18687
18688 wxPyEndAllowThreads(__tstate);
18689 if (PyErr_Occurred()) SWIG_fail;
18690 }
18691 resultobj = SWIG_PyObj_FromInt((int)result);
18692 return resultobj;
18693 fail:
18694 return NULL;
18695 }
18696
18697
18698 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18699 PyObject *resultobj;
18700 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18701 int result;
18702 PyObject * obj0 = 0 ;
18703 char *kwnames[] = {
18704 (char *) "self", NULL
18705 };
18706
18707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
18708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18709 {
18710 PyThreadState* __tstate = wxPyBeginAllowThreads();
18711 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
18712
18713 wxPyEndAllowThreads(__tstate);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 resultobj = SWIG_PyObj_FromInt((int)result);
18717 return resultobj;
18718 fail:
18719 return NULL;
18720 }
18721
18722
18723 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18724 PyObject *resultobj;
18725 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18726 int result;
18727 PyObject * obj0 = 0 ;
18728 char *kwnames[] = {
18729 (char *) "self", NULL
18730 };
18731
18732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
18733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18734 {
18735 PyThreadState* __tstate = wxPyBeginAllowThreads();
18736 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
18737
18738 wxPyEndAllowThreads(__tstate);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 }
18741 resultobj = SWIG_PyObj_FromInt((int)result);
18742 return resultobj;
18743 fail:
18744 return NULL;
18745 }
18746
18747
18748 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18749 PyObject *resultobj;
18750 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18751 int result;
18752 PyObject * obj0 = 0 ;
18753 char *kwnames[] = {
18754 (char *) "self", NULL
18755 };
18756
18757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
18758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18759 {
18760 PyThreadState* __tstate = wxPyBeginAllowThreads();
18761 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
18762
18763 wxPyEndAllowThreads(__tstate);
18764 if (PyErr_Occurred()) SWIG_fail;
18765 }
18766 resultobj = SWIG_PyObj_FromInt((int)result);
18767 return resultobj;
18768 fail:
18769 return NULL;
18770 }
18771
18772
18773 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
18774 PyObject *resultobj;
18775 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18776 bool result;
18777 PyObject * obj0 = 0 ;
18778 char *kwnames[] = {
18779 (char *) "self", NULL
18780 };
18781
18782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
18783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18784 {
18785 PyThreadState* __tstate = wxPyBeginAllowThreads();
18786 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
18787
18788 wxPyEndAllowThreads(__tstate);
18789 if (PyErr_Occurred()) SWIG_fail;
18790 }
18791 resultobj = SWIG_PyObj_FromBool((bool)result);
18792 return resultobj;
18793 fail:
18794 return NULL;
18795 }
18796
18797
18798 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18799 PyObject *resultobj;
18800 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18801 bool result;
18802 PyObject * obj0 = 0 ;
18803 char *kwnames[] = {
18804 (char *) "self", NULL
18805 };
18806
18807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
18808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18809 {
18810 PyThreadState* __tstate = wxPyBeginAllowThreads();
18811 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
18812
18813 wxPyEndAllowThreads(__tstate);
18814 if (PyErr_Occurred()) SWIG_fail;
18815 }
18816 resultobj = SWIG_PyObj_FromBool((bool)result);
18817 return resultobj;
18818 fail:
18819 return NULL;
18820 }
18821
18822
18823 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18824 PyObject *resultobj;
18825 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18826 bool result;
18827 PyObject * obj0 = 0 ;
18828 char *kwnames[] = {
18829 (char *) "self", NULL
18830 };
18831
18832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
18833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 resultobj = SWIG_PyObj_FromBool((bool)result);
18842 return resultobj;
18843 fail:
18844 return NULL;
18845 }
18846
18847
18848 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18849 PyObject *resultobj;
18850 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18851 bool result;
18852 PyObject * obj0 = 0 ;
18853 char *kwnames[] = {
18854 (char *) "self", NULL
18855 };
18856
18857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
18858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18859 {
18860 PyThreadState* __tstate = wxPyBeginAllowThreads();
18861 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
18862
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 resultobj = SWIG_PyObj_FromBool((bool)result);
18867 return resultobj;
18868 fail:
18869 return NULL;
18870 }
18871
18872
18873 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18874 PyObject *resultobj;
18875 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18876 bool result;
18877 PyObject * obj0 = 0 ;
18878 char *kwnames[] = {
18879 (char *) "self", NULL
18880 };
18881
18882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
18883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18884 {
18885 PyThreadState* __tstate = wxPyBeginAllowThreads();
18886 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
18887
18888 wxPyEndAllowThreads(__tstate);
18889 if (PyErr_Occurred()) SWIG_fail;
18890 }
18891 resultobj = SWIG_PyObj_FromBool((bool)result);
18892 return resultobj;
18893 fail:
18894 return NULL;
18895 }
18896
18897
18898 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18899 PyObject *resultobj;
18900 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18901 int arg2 ;
18902 PyObject * obj0 = 0 ;
18903 PyObject * obj1 = 0 ;
18904 char *kwnames[] = {
18905 (char *) "self",(char *) "v", NULL
18906 };
18907
18908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
18909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18910 {
18911 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18912 if (PyErr_Occurred()) SWIG_fail;
18913 }
18914 {
18915 PyThreadState* __tstate = wxPyBeginAllowThreads();
18916 (arg1)->SetFromPage(arg2);
18917
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
18921 Py_INCREF(Py_None); resultobj = Py_None;
18922 return resultobj;
18923 fail:
18924 return NULL;
18925 }
18926
18927
18928 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18929 PyObject *resultobj;
18930 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18931 int arg2 ;
18932 PyObject * obj0 = 0 ;
18933 PyObject * obj1 = 0 ;
18934 char *kwnames[] = {
18935 (char *) "self",(char *) "v", NULL
18936 };
18937
18938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
18939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18940 {
18941 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 (arg1)->SetToPage(arg2);
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 Py_INCREF(Py_None); resultobj = Py_None;
18952 return resultobj;
18953 fail:
18954 return NULL;
18955 }
18956
18957
18958 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18959 PyObject *resultobj;
18960 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18961 int arg2 ;
18962 PyObject * obj0 = 0 ;
18963 PyObject * obj1 = 0 ;
18964 char *kwnames[] = {
18965 (char *) "self",(char *) "v", NULL
18966 };
18967
18968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
18969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18970 {
18971 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 }
18974 {
18975 PyThreadState* __tstate = wxPyBeginAllowThreads();
18976 (arg1)->SetMinPage(arg2);
18977
18978 wxPyEndAllowThreads(__tstate);
18979 if (PyErr_Occurred()) SWIG_fail;
18980 }
18981 Py_INCREF(Py_None); resultobj = Py_None;
18982 return resultobj;
18983 fail:
18984 return NULL;
18985 }
18986
18987
18988 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18989 PyObject *resultobj;
18990 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18991 int arg2 ;
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj1 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self",(char *) "v", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19000 {
19001 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 {
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 (arg1)->SetMaxPage(arg2);
19007
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 Py_INCREF(Py_None); resultobj = Py_None;
19012 return resultobj;
19013 fail:
19014 return NULL;
19015 }
19016
19017
19018 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj;
19020 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19021 int arg2 ;
19022 PyObject * obj0 = 0 ;
19023 PyObject * obj1 = 0 ;
19024 char *kwnames[] = {
19025 (char *) "self",(char *) "v", NULL
19026 };
19027
19028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
19029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19030 {
19031 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 }
19034 {
19035 PyThreadState* __tstate = wxPyBeginAllowThreads();
19036 (arg1)->SetNoCopies(arg2);
19037
19038 wxPyEndAllowThreads(__tstate);
19039 if (PyErr_Occurred()) SWIG_fail;
19040 }
19041 Py_INCREF(Py_None); resultobj = Py_None;
19042 return resultobj;
19043 fail:
19044 return NULL;
19045 }
19046
19047
19048 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
19049 PyObject *resultobj;
19050 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19051 bool arg2 ;
19052 PyObject * obj0 = 0 ;
19053 PyObject * obj1 = 0 ;
19054 char *kwnames[] = {
19055 (char *) "self",(char *) "flag", NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
19059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19060 {
19061 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 }
19064 {
19065 PyThreadState* __tstate = wxPyBeginAllowThreads();
19066 (arg1)->SetAllPages(arg2);
19067
19068 wxPyEndAllowThreads(__tstate);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 }
19071 Py_INCREF(Py_None); resultobj = Py_None;
19072 return resultobj;
19073 fail:
19074 return NULL;
19075 }
19076
19077
19078 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19079 PyObject *resultobj;
19080 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19081 bool arg2 ;
19082 PyObject * obj0 = 0 ;
19083 PyObject * obj1 = 0 ;
19084 char *kwnames[] = {
19085 (char *) "self",(char *) "flag", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
19089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19090 {
19091 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 }
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 (arg1)->SetSelection(arg2);
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 Py_INCREF(Py_None); resultobj = Py_None;
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19111 bool arg2 ;
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 char *kwnames[] = {
19115 (char *) "self",(char *) "flag", NULL
19116 };
19117
19118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
19119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19120 {
19121 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 }
19124 {
19125 PyThreadState* __tstate = wxPyBeginAllowThreads();
19126 (arg1)->SetCollate(arg2);
19127
19128 wxPyEndAllowThreads(__tstate);
19129 if (PyErr_Occurred()) SWIG_fail;
19130 }
19131 Py_INCREF(Py_None); resultobj = Py_None;
19132 return resultobj;
19133 fail:
19134 return NULL;
19135 }
19136
19137
19138 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19139 PyObject *resultobj;
19140 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19141 bool arg2 ;
19142 PyObject * obj0 = 0 ;
19143 PyObject * obj1 = 0 ;
19144 char *kwnames[] = {
19145 (char *) "self",(char *) "flag", NULL
19146 };
19147
19148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
19149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19150 {
19151 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19152 if (PyErr_Occurred()) SWIG_fail;
19153 }
19154 {
19155 PyThreadState* __tstate = wxPyBeginAllowThreads();
19156 (arg1)->SetPrintToFile(arg2);
19157
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 Py_INCREF(Py_None); resultobj = Py_None;
19162 return resultobj;
19163 fail:
19164 return NULL;
19165 }
19166
19167
19168 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19169 PyObject *resultobj;
19170 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19171 bool arg2 ;
19172 PyObject * obj0 = 0 ;
19173 PyObject * obj1 = 0 ;
19174 char *kwnames[] = {
19175 (char *) "self",(char *) "flag", NULL
19176 };
19177
19178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19180 {
19181 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
19186 (arg1)->SetSetupDialog(arg2);
19187
19188 wxPyEndAllowThreads(__tstate);
19189 if (PyErr_Occurred()) SWIG_fail;
19190 }
19191 Py_INCREF(Py_None); resultobj = Py_None;
19192 return resultobj;
19193 fail:
19194 return NULL;
19195 }
19196
19197
19198 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19199 PyObject *resultobj;
19200 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19201 bool arg2 ;
19202 PyObject * obj0 = 0 ;
19203 PyObject * obj1 = 0 ;
19204 char *kwnames[] = {
19205 (char *) "self",(char *) "flag", NULL
19206 };
19207
19208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
19209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19210 {
19211 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 }
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 (arg1)->EnablePrintToFile(arg2);
19217
19218 wxPyEndAllowThreads(__tstate);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
19221 Py_INCREF(Py_None); resultobj = Py_None;
19222 return resultobj;
19223 fail:
19224 return NULL;
19225 }
19226
19227
19228 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19229 PyObject *resultobj;
19230 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19231 bool arg2 ;
19232 PyObject * obj0 = 0 ;
19233 PyObject * obj1 = 0 ;
19234 char *kwnames[] = {
19235 (char *) "self",(char *) "flag", NULL
19236 };
19237
19238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
19239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19240 {
19241 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19242 if (PyErr_Occurred()) SWIG_fail;
19243 }
19244 {
19245 PyThreadState* __tstate = wxPyBeginAllowThreads();
19246 (arg1)->EnableSelection(arg2);
19247
19248 wxPyEndAllowThreads(__tstate);
19249 if (PyErr_Occurred()) SWIG_fail;
19250 }
19251 Py_INCREF(Py_None); resultobj = Py_None;
19252 return resultobj;
19253 fail:
19254 return NULL;
19255 }
19256
19257
19258 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19259 PyObject *resultobj;
19260 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19261 bool arg2 ;
19262 PyObject * obj0 = 0 ;
19263 PyObject * obj1 = 0 ;
19264 char *kwnames[] = {
19265 (char *) "self",(char *) "flag", NULL
19266 };
19267
19268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
19269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19270 {
19271 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
19274 {
19275 PyThreadState* __tstate = wxPyBeginAllowThreads();
19276 (arg1)->EnablePageNumbers(arg2);
19277
19278 wxPyEndAllowThreads(__tstate);
19279 if (PyErr_Occurred()) SWIG_fail;
19280 }
19281 Py_INCREF(Py_None); resultobj = Py_None;
19282 return resultobj;
19283 fail:
19284 return NULL;
19285 }
19286
19287
19288 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19289 PyObject *resultobj;
19290 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19291 bool arg2 ;
19292 PyObject * obj0 = 0 ;
19293 PyObject * obj1 = 0 ;
19294 char *kwnames[] = {
19295 (char *) "self",(char *) "flag", NULL
19296 };
19297
19298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19300 {
19301 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19302 if (PyErr_Occurred()) SWIG_fail;
19303 }
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 (arg1)->EnableHelp(arg2);
19307
19308 wxPyEndAllowThreads(__tstate);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
19311 Py_INCREF(Py_None); resultobj = Py_None;
19312 return resultobj;
19313 fail:
19314 return NULL;
19315 }
19316
19317
19318 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19319 PyObject *resultobj;
19320 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19321 bool result;
19322 PyObject * obj0 = 0 ;
19323 char *kwnames[] = {
19324 (char *) "self", NULL
19325 };
19326
19327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
19328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19329 {
19330 PyThreadState* __tstate = wxPyBeginAllowThreads();
19331 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
19332
19333 wxPyEndAllowThreads(__tstate);
19334 if (PyErr_Occurred()) SWIG_fail;
19335 }
19336 resultobj = SWIG_PyObj_FromBool((bool)result);
19337 return resultobj;
19338 fail:
19339 return NULL;
19340 }
19341
19342
19343 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19344 PyObject *resultobj;
19345 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19346 bool result;
19347 PyObject * obj0 = 0 ;
19348 char *kwnames[] = {
19349 (char *) "self", NULL
19350 };
19351
19352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
19353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19354 {
19355 PyThreadState* __tstate = wxPyBeginAllowThreads();
19356 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
19357
19358 wxPyEndAllowThreads(__tstate);
19359 if (PyErr_Occurred()) SWIG_fail;
19360 }
19361 resultobj = SWIG_PyObj_FromBool((bool)result);
19362 return resultobj;
19363 fail:
19364 return NULL;
19365 }
19366
19367
19368 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19369 PyObject *resultobj;
19370 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19371 bool result;
19372 PyObject * obj0 = 0 ;
19373 char *kwnames[] = {
19374 (char *) "self", NULL
19375 };
19376
19377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
19378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19379 {
19380 PyThreadState* __tstate = wxPyBeginAllowThreads();
19381 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
19382
19383 wxPyEndAllowThreads(__tstate);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 }
19386 resultobj = SWIG_PyObj_FromBool((bool)result);
19387 return resultobj;
19388 fail:
19389 return NULL;
19390 }
19391
19392
19393 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19394 PyObject *resultobj;
19395 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19396 bool result;
19397 PyObject * obj0 = 0 ;
19398 char *kwnames[] = {
19399 (char *) "self", NULL
19400 };
19401
19402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19404 {
19405 PyThreadState* __tstate = wxPyBeginAllowThreads();
19406 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
19407
19408 wxPyEndAllowThreads(__tstate);
19409 if (PyErr_Occurred()) SWIG_fail;
19410 }
19411 resultobj = SWIG_PyObj_FromBool((bool)result);
19412 return resultobj;
19413 fail:
19414 return NULL;
19415 }
19416
19417
19418 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19419 PyObject *resultobj;
19420 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19421 bool result;
19422 PyObject * obj0 = 0 ;
19423 char *kwnames[] = {
19424 (char *) "self", NULL
19425 };
19426
19427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
19428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19429 {
19430 PyThreadState* __tstate = wxPyBeginAllowThreads();
19431 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
19432
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
19436 resultobj = SWIG_PyObj_FromBool((bool)result);
19437 return resultobj;
19438 fail:
19439 return NULL;
19440 }
19441
19442
19443 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19444 PyObject *resultobj;
19445 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19446 wxPrintData *result;
19447 PyObject * obj0 = 0 ;
19448 char *kwnames[] = {
19449 (char *) "self", NULL
19450 };
19451
19452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19454 {
19455 PyThreadState* __tstate = wxPyBeginAllowThreads();
19456 {
19457 wxPrintData &_result_ref = (arg1)->GetPrintData();
19458 result = (wxPrintData *) &_result_ref;
19459 }
19460
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
19464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
19465 return resultobj;
19466 fail:
19467 return NULL;
19468 }
19469
19470
19471 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19472 PyObject *resultobj;
19473 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19474 wxPrintData *arg2 = 0 ;
19475 PyObject * obj0 = 0 ;
19476 PyObject * obj1 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "self",(char *) "printData", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19483 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19484 if (arg2 == NULL) {
19485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19486 }
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 Py_INCREF(Py_None); resultobj = Py_None;
19495 return resultobj;
19496 fail:
19497 return NULL;
19498 }
19499
19500
19501 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
19502 PyObject *obj;
19503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19504 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
19505 Py_INCREF(obj);
19506 return Py_BuildValue((char *)"");
19507 }
19508 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19509 PyObject *resultobj;
19510 wxWindow *arg1 = (wxWindow *) 0 ;
19511 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
19512 wxPrintDialog *result;
19513 PyObject * obj0 = 0 ;
19514 PyObject * obj1 = 0 ;
19515 char *kwnames[] = {
19516 (char *) "parent",(char *) "data", NULL
19517 };
19518
19519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19521 if (obj1) {
19522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19523 }
19524 {
19525 PyThreadState* __tstate = wxPyBeginAllowThreads();
19526 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
19527
19528 wxPyEndAllowThreads(__tstate);
19529 if (PyErr_Occurred()) SWIG_fail;
19530 }
19531 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
19532 return resultobj;
19533 fail:
19534 return NULL;
19535 }
19536
19537
19538 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19539 PyObject *resultobj;
19540 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19541 wxPrintDialogData *result;
19542 PyObject * obj0 = 0 ;
19543 char *kwnames[] = {
19544 (char *) "self", NULL
19545 };
19546
19547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
19548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19549 {
19550 PyThreadState* __tstate = wxPyBeginAllowThreads();
19551 {
19552 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19553 result = (wxPrintDialogData *) &_result_ref;
19554 }
19555
19556 wxPyEndAllowThreads(__tstate);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 }
19559 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19560 return resultobj;
19561 fail:
19562 return NULL;
19563 }
19564
19565
19566 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19567 PyObject *resultobj;
19568 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19569 wxDC *result;
19570 PyObject * obj0 = 0 ;
19571 char *kwnames[] = {
19572 (char *) "self", NULL
19573 };
19574
19575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
19576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 result = (wxDC *)(arg1)->GetPrintDC();
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 {
19585 resultobj = wxPyMake_wxObject(result);
19586 }
19587 return resultobj;
19588 fail:
19589 return NULL;
19590 }
19591
19592
19593 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19594 PyObject *resultobj;
19595 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19596 int result;
19597 PyObject * obj0 = 0 ;
19598 char *kwnames[] = {
19599 (char *) "self", NULL
19600 };
19601
19602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
19603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19604 {
19605 PyThreadState* __tstate = wxPyBeginAllowThreads();
19606 result = (int)(arg1)->ShowModal();
19607
19608 wxPyEndAllowThreads(__tstate);
19609 if (PyErr_Occurred()) SWIG_fail;
19610 }
19611 resultobj = SWIG_PyObj_FromInt((int)result);
19612 return resultobj;
19613 fail:
19614 return NULL;
19615 }
19616
19617
19618 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
19619 PyObject *obj;
19620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19621 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
19622 Py_INCREF(obj);
19623 return Py_BuildValue((char *)"");
19624 }
19625 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19626 PyObject *resultobj;
19627 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
19628 wxPrinter *result;
19629 PyObject * obj0 = 0 ;
19630 char *kwnames[] = {
19631 (char *) "data", NULL
19632 };
19633
19634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
19635 if (obj0) {
19636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19637 }
19638 {
19639 PyThreadState* __tstate = wxPyBeginAllowThreads();
19640 result = (wxPrinter *)new wxPrinter(arg1);
19641
19642 wxPyEndAllowThreads(__tstate);
19643 if (PyErr_Occurred()) SWIG_fail;
19644 }
19645 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
19646 return resultobj;
19647 fail:
19648 return NULL;
19649 }
19650
19651
19652 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19653 PyObject *resultobj;
19654 wxPrinter *arg1 = (wxPrinter *) 0 ;
19655 PyObject * obj0 = 0 ;
19656 char *kwnames[] = {
19657 (char *) "self", NULL
19658 };
19659
19660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
19661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19662 {
19663 PyThreadState* __tstate = wxPyBeginAllowThreads();
19664 delete arg1;
19665
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 Py_INCREF(Py_None); resultobj = Py_None;
19670 return resultobj;
19671 fail:
19672 return NULL;
19673 }
19674
19675
19676 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19677 PyObject *resultobj;
19678 wxPrinter *arg1 = (wxPrinter *) 0 ;
19679 wxWindow *arg2 = (wxWindow *) 0 ;
19680 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19681 PyObject * obj0 = 0 ;
19682 PyObject * obj1 = 0 ;
19683 PyObject * obj2 = 0 ;
19684 char *kwnames[] = {
19685 (char *) "self",(char *) "parent",(char *) "printout", NULL
19686 };
19687
19688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
19689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19690 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19691 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19692 {
19693 PyThreadState* __tstate = wxPyBeginAllowThreads();
19694 (arg1)->CreateAbortWindow(arg2,arg3);
19695
19696 wxPyEndAllowThreads(__tstate);
19697 if (PyErr_Occurred()) SWIG_fail;
19698 }
19699 Py_INCREF(Py_None); resultobj = Py_None;
19700 return resultobj;
19701 fail:
19702 return NULL;
19703 }
19704
19705
19706 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19707 PyObject *resultobj;
19708 wxPrinter *arg1 = (wxPrinter *) 0 ;
19709 wxPrintDialogData *result;
19710 PyObject * obj0 = 0 ;
19711 char *kwnames[] = {
19712 (char *) "self", NULL
19713 };
19714
19715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
19716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19717 {
19718 PyThreadState* __tstate = wxPyBeginAllowThreads();
19719 {
19720 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19721 result = (wxPrintDialogData *) &_result_ref;
19722 }
19723
19724 wxPyEndAllowThreads(__tstate);
19725 if (PyErr_Occurred()) SWIG_fail;
19726 }
19727 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19728 return resultobj;
19729 fail:
19730 return NULL;
19731 }
19732
19733
19734 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19735 PyObject *resultobj;
19736 wxPrinter *arg1 = (wxPrinter *) 0 ;
19737 wxWindow *arg2 = (wxWindow *) 0 ;
19738 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19739 int arg4 = (int) True ;
19740 bool result;
19741 PyObject * obj0 = 0 ;
19742 PyObject * obj1 = 0 ;
19743 PyObject * obj2 = 0 ;
19744 PyObject * obj3 = 0 ;
19745 char *kwnames[] = {
19746 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19747 };
19748
19749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19752 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19753 if (obj3) {
19754 {
19755 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19756 if (PyErr_Occurred()) SWIG_fail;
19757 }
19758 }
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 result = (bool)(arg1)->Print(arg2,arg3,arg4);
19762
19763 wxPyEndAllowThreads(__tstate);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
19766 resultobj = SWIG_PyObj_FromBool((bool)result);
19767 return resultobj;
19768 fail:
19769 return NULL;
19770 }
19771
19772
19773 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj;
19775 wxPrinter *arg1 = (wxPrinter *) 0 ;
19776 wxWindow *arg2 = (wxWindow *) 0 ;
19777 wxDC *result;
19778 PyObject * obj0 = 0 ;
19779 PyObject * obj1 = 0 ;
19780 char *kwnames[] = {
19781 (char *) "self",(char *) "parent", NULL
19782 };
19783
19784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 result = (wxDC *)(arg1)->PrintDialog(arg2);
19790
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 {
19795 resultobj = wxPyMake_wxObject(result);
19796 }
19797 return resultobj;
19798 fail:
19799 return NULL;
19800 }
19801
19802
19803 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
19804 PyObject *resultobj;
19805 wxPrinter *arg1 = (wxPrinter *) 0 ;
19806 wxWindow *arg2 = (wxWindow *) 0 ;
19807 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19808 wxString *arg4 = 0 ;
19809 bool temp4 = False ;
19810 PyObject * obj0 = 0 ;
19811 PyObject * obj1 = 0 ;
19812 PyObject * obj2 = 0 ;
19813 PyObject * obj3 = 0 ;
19814 char *kwnames[] = {
19815 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19816 };
19817
19818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19820 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19821 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19822 {
19823 arg4 = wxString_in_helper(obj3);
19824 if (arg4 == NULL) SWIG_fail;
19825 temp4 = True;
19826 }
19827 {
19828 PyThreadState* __tstate = wxPyBeginAllowThreads();
19829 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
19830
19831 wxPyEndAllowThreads(__tstate);
19832 if (PyErr_Occurred()) SWIG_fail;
19833 }
19834 Py_INCREF(Py_None); resultobj = Py_None;
19835 {
19836 if (temp4)
19837 delete arg4;
19838 }
19839 return resultobj;
19840 fail:
19841 {
19842 if (temp4)
19843 delete arg4;
19844 }
19845 return NULL;
19846 }
19847
19848
19849 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
19850 PyObject *resultobj;
19851 wxPrinter *arg1 = (wxPrinter *) 0 ;
19852 wxWindow *arg2 = (wxWindow *) 0 ;
19853 bool result;
19854 PyObject * obj0 = 0 ;
19855 PyObject * obj1 = 0 ;
19856 char *kwnames[] = {
19857 (char *) "self",(char *) "parent", NULL
19858 };
19859
19860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
19861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19863 {
19864 PyThreadState* __tstate = wxPyBeginAllowThreads();
19865 result = (bool)(arg1)->Setup(arg2);
19866
19867 wxPyEndAllowThreads(__tstate);
19868 if (PyErr_Occurred()) SWIG_fail;
19869 }
19870 resultobj = SWIG_PyObj_FromBool((bool)result);
19871 return resultobj;
19872 fail:
19873 return NULL;
19874 }
19875
19876
19877 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
19878 PyObject *resultobj;
19879 wxPrinter *arg1 = (wxPrinter *) 0 ;
19880 bool result;
19881 PyObject * obj0 = 0 ;
19882 char *kwnames[] = {
19883 (char *) "self", NULL
19884 };
19885
19886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
19887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19888 {
19889 PyThreadState* __tstate = wxPyBeginAllowThreads();
19890 result = (bool)(arg1)->GetAbort();
19891
19892 wxPyEndAllowThreads(__tstate);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 resultobj = SWIG_PyObj_FromBool((bool)result);
19896 return resultobj;
19897 fail:
19898 return NULL;
19899 }
19900
19901
19902 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
19903 PyObject *resultobj;
19904 int result;
19905 char *kwnames[] = {
19906 NULL
19907 };
19908
19909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
19910 {
19911 PyThreadState* __tstate = wxPyBeginAllowThreads();
19912 result = (int)wxPrinter::GetLastError();
19913
19914 wxPyEndAllowThreads(__tstate);
19915 if (PyErr_Occurred()) SWIG_fail;
19916 }
19917 resultobj = SWIG_PyObj_FromInt((int)result);
19918 return resultobj;
19919 fail:
19920 return NULL;
19921 }
19922
19923
19924 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
19925 PyObject *obj;
19926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19927 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
19928 Py_INCREF(obj);
19929 return Py_BuildValue((char *)"");
19930 }
19931 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
19932 PyObject *resultobj;
19933 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
19934 wxString *arg1 = (wxString *) &arg1_defvalue ;
19935 wxPyPrintout *result;
19936 bool temp1 = False ;
19937 PyObject * obj0 = 0 ;
19938 char *kwnames[] = {
19939 (char *) "title", NULL
19940 };
19941
19942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
19943 if (obj0) {
19944 {
19945 arg1 = wxString_in_helper(obj0);
19946 if (arg1 == NULL) SWIG_fail;
19947 temp1 = True;
19948 }
19949 }
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 {
19958 resultobj = wxPyMake_wxObject(result);
19959 }
19960 {
19961 if (temp1)
19962 delete arg1;
19963 }
19964 return resultobj;
19965 fail:
19966 {
19967 if (temp1)
19968 delete arg1;
19969 }
19970 return NULL;
19971 }
19972
19973
19974 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19975 PyObject *resultobj;
19976 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19977 PyObject *arg2 = (PyObject *) 0 ;
19978 PyObject *arg3 = (PyObject *) 0 ;
19979 PyObject * obj0 = 0 ;
19980 PyObject * obj1 = 0 ;
19981 PyObject * obj2 = 0 ;
19982 char *kwnames[] = {
19983 (char *) "self",(char *) "self",(char *) "_class", NULL
19984 };
19985
19986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19988 arg2 = obj1;
19989 arg3 = obj2;
19990 {
19991 PyThreadState* __tstate = wxPyBeginAllowThreads();
19992 (arg1)->_setCallbackInfo(arg2,arg3);
19993
19994 wxPyEndAllowThreads(__tstate);
19995 if (PyErr_Occurred()) SWIG_fail;
19996 }
19997 Py_INCREF(Py_None); resultobj = Py_None;
19998 return resultobj;
19999 fail:
20000 return NULL;
20001 }
20002
20003
20004 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
20005 PyObject *resultobj;
20006 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20007 wxString result;
20008 PyObject * obj0 = 0 ;
20009 char *kwnames[] = {
20010 (char *) "self", NULL
20011 };
20012
20013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
20014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20015 {
20016 PyThreadState* __tstate = wxPyBeginAllowThreads();
20017 result = ((wxPyPrintout const *)arg1)->GetTitle();
20018
20019 wxPyEndAllowThreads(__tstate);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
20022 {
20023 #if wxUSE_UNICODE
20024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20025 #else
20026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20027 #endif
20028 }
20029 return resultobj;
20030 fail:
20031 return NULL;
20032 }
20033
20034
20035 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20036 PyObject *resultobj;
20037 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20038 wxDC *result;
20039 PyObject * obj0 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
20045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 result = (wxDC *)(arg1)->GetDC();
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 {
20054 resultobj = wxPyMake_wxObject(result);
20055 }
20056 return resultobj;
20057 fail:
20058 return NULL;
20059 }
20060
20061
20062 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20063 PyObject *resultobj;
20064 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20065 wxDC *arg2 = (wxDC *) 0 ;
20066 PyObject * obj0 = 0 ;
20067 PyObject * obj1 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self",(char *) "dc", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
20073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20075 {
20076 PyThreadState* __tstate = wxPyBeginAllowThreads();
20077 (arg1)->SetDC(arg2);
20078
20079 wxPyEndAllowThreads(__tstate);
20080 if (PyErr_Occurred()) SWIG_fail;
20081 }
20082 Py_INCREF(Py_None); resultobj = Py_None;
20083 return resultobj;
20084 fail:
20085 return NULL;
20086 }
20087
20088
20089 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
20090 PyObject *resultobj;
20091 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20092 int arg2 ;
20093 int arg3 ;
20094 PyObject * obj0 = 0 ;
20095 PyObject * obj1 = 0 ;
20096 PyObject * obj2 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self",(char *) "w",(char *) "h", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20103 {
20104 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 {
20108 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20109 if (PyErr_Occurred()) SWIG_fail;
20110 }
20111 {
20112 PyThreadState* __tstate = wxPyBeginAllowThreads();
20113 (arg1)->SetPageSizePixels(arg2,arg3);
20114
20115 wxPyEndAllowThreads(__tstate);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 Py_INCREF(Py_None); resultobj = Py_None;
20119 return resultobj;
20120 fail:
20121 return NULL;
20122 }
20123
20124
20125 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
20126 PyObject *resultobj;
20127 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20128 int *arg2 = (int *) 0 ;
20129 int *arg3 = (int *) 0 ;
20130 int temp2 ;
20131 int temp3 ;
20132 PyObject * obj0 = 0 ;
20133 char *kwnames[] = {
20134 (char *) "self", NULL
20135 };
20136
20137 arg2 = &temp2;
20138 arg3 = &temp3;
20139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
20140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
20143 (arg1)->GetPageSizePixels(arg2,arg3);
20144
20145 wxPyEndAllowThreads(__tstate);
20146 if (PyErr_Occurred()) SWIG_fail;
20147 }
20148 Py_INCREF(Py_None); resultobj = Py_None;
20149 {
20150 PyObject *o = PyInt_FromLong((long) (*arg2));
20151 resultobj = t_output_helper(resultobj,o);
20152 }
20153 {
20154 PyObject *o = PyInt_FromLong((long) (*arg3));
20155 resultobj = t_output_helper(resultobj,o);
20156 }
20157 return resultobj;
20158 fail:
20159 return NULL;
20160 }
20161
20162
20163 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20164 PyObject *resultobj;
20165 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20166 int arg2 ;
20167 int arg3 ;
20168 PyObject * obj0 = 0 ;
20169 PyObject * obj1 = 0 ;
20170 PyObject * obj2 = 0 ;
20171 char *kwnames[] = {
20172 (char *) "self",(char *) "w",(char *) "h", NULL
20173 };
20174
20175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
20176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20177 {
20178 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20179 if (PyErr_Occurred()) SWIG_fail;
20180 }
20181 {
20182 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 {
20186 PyThreadState* __tstate = wxPyBeginAllowThreads();
20187 (arg1)->SetPageSizeMM(arg2,arg3);
20188
20189 wxPyEndAllowThreads(__tstate);
20190 if (PyErr_Occurred()) SWIG_fail;
20191 }
20192 Py_INCREF(Py_None); resultobj = Py_None;
20193 return resultobj;
20194 fail:
20195 return NULL;
20196 }
20197
20198
20199 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20200 PyObject *resultobj;
20201 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20202 int *arg2 = (int *) 0 ;
20203 int *arg3 = (int *) 0 ;
20204 int temp2 ;
20205 int temp3 ;
20206 PyObject * obj0 = 0 ;
20207 char *kwnames[] = {
20208 (char *) "self", NULL
20209 };
20210
20211 arg2 = &temp2;
20212 arg3 = &temp3;
20213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
20214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20215 {
20216 PyThreadState* __tstate = wxPyBeginAllowThreads();
20217 (arg1)->GetPageSizeMM(arg2,arg3);
20218
20219 wxPyEndAllowThreads(__tstate);
20220 if (PyErr_Occurred()) SWIG_fail;
20221 }
20222 Py_INCREF(Py_None); resultobj = Py_None;
20223 {
20224 PyObject *o = PyInt_FromLong((long) (*arg2));
20225 resultobj = t_output_helper(resultobj,o);
20226 }
20227 {
20228 PyObject *o = PyInt_FromLong((long) (*arg3));
20229 resultobj = t_output_helper(resultobj,o);
20230 }
20231 return resultobj;
20232 fail:
20233 return NULL;
20234 }
20235
20236
20237 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20238 PyObject *resultobj;
20239 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20240 int arg2 ;
20241 int arg3 ;
20242 PyObject * obj0 = 0 ;
20243 PyObject * obj1 = 0 ;
20244 PyObject * obj2 = 0 ;
20245 char *kwnames[] = {
20246 (char *) "self",(char *) "x",(char *) "y", NULL
20247 };
20248
20249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
20250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20251 {
20252 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 {
20256 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 {
20260 PyThreadState* __tstate = wxPyBeginAllowThreads();
20261 (arg1)->SetPPIScreen(arg2,arg3);
20262
20263 wxPyEndAllowThreads(__tstate);
20264 if (PyErr_Occurred()) SWIG_fail;
20265 }
20266 Py_INCREF(Py_None); resultobj = Py_None;
20267 return resultobj;
20268 fail:
20269 return NULL;
20270 }
20271
20272
20273 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20274 PyObject *resultobj;
20275 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20276 int *arg2 = (int *) 0 ;
20277 int *arg3 = (int *) 0 ;
20278 int temp2 ;
20279 int temp3 ;
20280 PyObject * obj0 = 0 ;
20281 char *kwnames[] = {
20282 (char *) "self", NULL
20283 };
20284
20285 arg2 = &temp2;
20286 arg3 = &temp3;
20287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
20288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20289 {
20290 PyThreadState* __tstate = wxPyBeginAllowThreads();
20291 (arg1)->GetPPIScreen(arg2,arg3);
20292
20293 wxPyEndAllowThreads(__tstate);
20294 if (PyErr_Occurred()) SWIG_fail;
20295 }
20296 Py_INCREF(Py_None); resultobj = Py_None;
20297 {
20298 PyObject *o = PyInt_FromLong((long) (*arg2));
20299 resultobj = t_output_helper(resultobj,o);
20300 }
20301 {
20302 PyObject *o = PyInt_FromLong((long) (*arg3));
20303 resultobj = t_output_helper(resultobj,o);
20304 }
20305 return resultobj;
20306 fail:
20307 return NULL;
20308 }
20309
20310
20311 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20312 PyObject *resultobj;
20313 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20314 int arg2 ;
20315 int arg3 ;
20316 PyObject * obj0 = 0 ;
20317 PyObject * obj1 = 0 ;
20318 PyObject * obj2 = 0 ;
20319 char *kwnames[] = {
20320 (char *) "self",(char *) "x",(char *) "y", NULL
20321 };
20322
20323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
20324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20325 {
20326 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20327 if (PyErr_Occurred()) SWIG_fail;
20328 }
20329 {
20330 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20331 if (PyErr_Occurred()) SWIG_fail;
20332 }
20333 {
20334 PyThreadState* __tstate = wxPyBeginAllowThreads();
20335 (arg1)->SetPPIPrinter(arg2,arg3);
20336
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 Py_INCREF(Py_None); resultobj = Py_None;
20341 return resultobj;
20342 fail:
20343 return NULL;
20344 }
20345
20346
20347 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20348 PyObject *resultobj;
20349 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20350 int *arg2 = (int *) 0 ;
20351 int *arg3 = (int *) 0 ;
20352 int temp2 ;
20353 int temp3 ;
20354 PyObject * obj0 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "self", NULL
20357 };
20358
20359 arg2 = &temp2;
20360 arg3 = &temp3;
20361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
20362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20363 {
20364 PyThreadState* __tstate = wxPyBeginAllowThreads();
20365 (arg1)->GetPPIPrinter(arg2,arg3);
20366
20367 wxPyEndAllowThreads(__tstate);
20368 if (PyErr_Occurred()) SWIG_fail;
20369 }
20370 Py_INCREF(Py_None); resultobj = Py_None;
20371 {
20372 PyObject *o = PyInt_FromLong((long) (*arg2));
20373 resultobj = t_output_helper(resultobj,o);
20374 }
20375 {
20376 PyObject *o = PyInt_FromLong((long) (*arg3));
20377 resultobj = t_output_helper(resultobj,o);
20378 }
20379 return resultobj;
20380 fail:
20381 return NULL;
20382 }
20383
20384
20385 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20386 PyObject *resultobj;
20387 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20388 bool result;
20389 PyObject * obj0 = 0 ;
20390 char *kwnames[] = {
20391 (char *) "self", NULL
20392 };
20393
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
20395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 result = (bool)(arg1)->IsPreview();
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 resultobj = SWIG_PyObj_FromBool((bool)result);
20404 return resultobj;
20405 fail:
20406 return NULL;
20407 }
20408
20409
20410 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20411 PyObject *resultobj;
20412 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20413 bool arg2 ;
20414 PyObject * obj0 = 0 ;
20415 PyObject * obj1 = 0 ;
20416 char *kwnames[] = {
20417 (char *) "self",(char *) "p", NULL
20418 };
20419
20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
20421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20422 {
20423 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 }
20426 {
20427 PyThreadState* __tstate = wxPyBeginAllowThreads();
20428 (arg1)->SetIsPreview(arg2);
20429
20430 wxPyEndAllowThreads(__tstate);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 }
20433 Py_INCREF(Py_None); resultobj = Py_None;
20434 return resultobj;
20435 fail:
20436 return NULL;
20437 }
20438
20439
20440 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20441 PyObject *resultobj;
20442 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20443 int arg2 ;
20444 int arg3 ;
20445 bool result;
20446 PyObject * obj0 = 0 ;
20447 PyObject * obj1 = 0 ;
20448 PyObject * obj2 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
20454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20455 {
20456 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20457 if (PyErr_Occurred()) SWIG_fail;
20458 }
20459 {
20460 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 {
20464 PyThreadState* __tstate = wxPyBeginAllowThreads();
20465 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
20466
20467 wxPyEndAllowThreads(__tstate);
20468 if (PyErr_Occurred()) SWIG_fail;
20469 }
20470 resultobj = SWIG_PyObj_FromBool((bool)result);
20471 return resultobj;
20472 fail:
20473 return NULL;
20474 }
20475
20476
20477 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20478 PyObject *resultobj;
20479 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20480 PyObject * obj0 = 0 ;
20481 char *kwnames[] = {
20482 (char *) "self", NULL
20483 };
20484
20485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
20486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20487 {
20488 PyThreadState* __tstate = wxPyBeginAllowThreads();
20489 (arg1)->base_OnEndDocument();
20490
20491 wxPyEndAllowThreads(__tstate);
20492 if (PyErr_Occurred()) SWIG_fail;
20493 }
20494 Py_INCREF(Py_None); resultobj = Py_None;
20495 return resultobj;
20496 fail:
20497 return NULL;
20498 }
20499
20500
20501 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20502 PyObject *resultobj;
20503 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20504 PyObject * obj0 = 0 ;
20505 char *kwnames[] = {
20506 (char *) "self", NULL
20507 };
20508
20509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
20510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20511 {
20512 PyThreadState* __tstate = wxPyBeginAllowThreads();
20513 (arg1)->base_OnBeginPrinting();
20514
20515 wxPyEndAllowThreads(__tstate);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 }
20518 Py_INCREF(Py_None); resultobj = Py_None;
20519 return resultobj;
20520 fail:
20521 return NULL;
20522 }
20523
20524
20525 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20526 PyObject *resultobj;
20527 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20528 PyObject * obj0 = 0 ;
20529 char *kwnames[] = {
20530 (char *) "self", NULL
20531 };
20532
20533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
20534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 (arg1)->base_OnEndPrinting();
20538
20539 wxPyEndAllowThreads(__tstate);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 }
20542 Py_INCREF(Py_None); resultobj = Py_None;
20543 return resultobj;
20544 fail:
20545 return NULL;
20546 }
20547
20548
20549 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20550 PyObject *resultobj;
20551 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20552 PyObject * obj0 = 0 ;
20553 char *kwnames[] = {
20554 (char *) "self", NULL
20555 };
20556
20557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
20558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 (arg1)->base_OnPreparePrinting();
20562
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
20566 Py_INCREF(Py_None); resultobj = Py_None;
20567 return resultobj;
20568 fail:
20569 return NULL;
20570 }
20571
20572
20573 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20574 PyObject *resultobj;
20575 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20576 int arg2 ;
20577 bool result;
20578 PyObject * obj0 = 0 ;
20579 PyObject * obj1 = 0 ;
20580 char *kwnames[] = {
20581 (char *) "self",(char *) "page", NULL
20582 };
20583
20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
20585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20586 {
20587 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 }
20590 {
20591 PyThreadState* __tstate = wxPyBeginAllowThreads();
20592 result = (bool)(arg1)->base_HasPage(arg2);
20593
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
20597 resultobj = SWIG_PyObj_FromBool((bool)result);
20598 return resultobj;
20599 fail:
20600 return NULL;
20601 }
20602
20603
20604 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20605 PyObject *resultobj;
20606 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20607 int *arg2 = (int *) 0 ;
20608 int *arg3 = (int *) 0 ;
20609 int *arg4 = (int *) 0 ;
20610 int *arg5 = (int *) 0 ;
20611 int temp2 ;
20612 int temp3 ;
20613 int temp4 ;
20614 int temp5 ;
20615 PyObject * obj0 = 0 ;
20616 char *kwnames[] = {
20617 (char *) "self", NULL
20618 };
20619
20620 arg2 = &temp2;
20621 arg3 = &temp3;
20622 arg4 = &temp4;
20623 arg5 = &temp5;
20624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
20625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20626 {
20627 PyThreadState* __tstate = wxPyBeginAllowThreads();
20628 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
20629
20630 wxPyEndAllowThreads(__tstate);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 }
20633 Py_INCREF(Py_None); resultobj = Py_None;
20634 {
20635 PyObject *o = PyInt_FromLong((long) (*arg2));
20636 resultobj = t_output_helper(resultobj,o);
20637 }
20638 {
20639 PyObject *o = PyInt_FromLong((long) (*arg3));
20640 resultobj = t_output_helper(resultobj,o);
20641 }
20642 {
20643 PyObject *o = PyInt_FromLong((long) (*arg4));
20644 resultobj = t_output_helper(resultobj,o);
20645 }
20646 {
20647 PyObject *o = PyInt_FromLong((long) (*arg5));
20648 resultobj = t_output_helper(resultobj,o);
20649 }
20650 return resultobj;
20651 fail:
20652 return NULL;
20653 }
20654
20655
20656 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
20657 PyObject *obj;
20658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20659 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
20660 Py_INCREF(obj);
20661 return Py_BuildValue((char *)"");
20662 }
20663 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20664 PyObject *resultobj;
20665 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20666 wxWindow *arg2 = (wxWindow *) 0 ;
20667 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20668 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20669 wxSize const &arg4_defvalue = wxDefaultSize ;
20670 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20671 long arg5 = (long) 0 ;
20672 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
20673 wxString *arg6 = (wxString *) &arg6_defvalue ;
20674 wxPreviewCanvas *result;
20675 wxPoint temp3 ;
20676 wxSize temp4 ;
20677 bool temp6 = False ;
20678 PyObject * obj0 = 0 ;
20679 PyObject * obj1 = 0 ;
20680 PyObject * obj2 = 0 ;
20681 PyObject * obj3 = 0 ;
20682 PyObject * obj4 = 0 ;
20683 PyObject * obj5 = 0 ;
20684 char *kwnames[] = {
20685 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20686 };
20687
20688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20690 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20691 if (obj2) {
20692 {
20693 arg3 = &temp3;
20694 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20695 }
20696 }
20697 if (obj3) {
20698 {
20699 arg4 = &temp4;
20700 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20701 }
20702 }
20703 if (obj4) {
20704 {
20705 arg5 = (long) SWIG_PyObj_AsLong(obj4);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 }
20709 if (obj5) {
20710 {
20711 arg6 = wxString_in_helper(obj5);
20712 if (arg6 == NULL) SWIG_fail;
20713 temp6 = True;
20714 }
20715 }
20716 {
20717 PyThreadState* __tstate = wxPyBeginAllowThreads();
20718 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20719
20720 wxPyEndAllowThreads(__tstate);
20721 if (PyErr_Occurred()) SWIG_fail;
20722 }
20723 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
20724 {
20725 if (temp6)
20726 delete arg6;
20727 }
20728 return resultobj;
20729 fail:
20730 {
20731 if (temp6)
20732 delete arg6;
20733 }
20734 return NULL;
20735 }
20736
20737
20738 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
20739 PyObject *obj;
20740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20741 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
20742 Py_INCREF(obj);
20743 return Py_BuildValue((char *)"");
20744 }
20745 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20746 PyObject *resultobj;
20747 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20748 wxFrame *arg2 = (wxFrame *) 0 ;
20749 wxString *arg3 = 0 ;
20750 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20751 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20752 wxSize const &arg5_defvalue = wxDefaultSize ;
20753 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20754 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20755 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20756 wxString *arg7 = (wxString *) &arg7_defvalue ;
20757 wxPreviewFrame *result;
20758 bool temp3 = False ;
20759 wxPoint temp4 ;
20760 wxSize temp5 ;
20761 bool temp7 = False ;
20762 PyObject * obj0 = 0 ;
20763 PyObject * obj1 = 0 ;
20764 PyObject * obj2 = 0 ;
20765 PyObject * obj3 = 0 ;
20766 PyObject * obj4 = 0 ;
20767 PyObject * obj5 = 0 ;
20768 PyObject * obj6 = 0 ;
20769 char *kwnames[] = {
20770 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20771 };
20772
20773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20775 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20776 {
20777 arg3 = wxString_in_helper(obj2);
20778 if (arg3 == NULL) SWIG_fail;
20779 temp3 = True;
20780 }
20781 if (obj3) {
20782 {
20783 arg4 = &temp4;
20784 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20785 }
20786 }
20787 if (obj4) {
20788 {
20789 arg5 = &temp5;
20790 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20791 }
20792 }
20793 if (obj5) {
20794 {
20795 arg6 = (long) SWIG_PyObj_AsLong(obj5);
20796 if (PyErr_Occurred()) SWIG_fail;
20797 }
20798 }
20799 if (obj6) {
20800 {
20801 arg7 = wxString_in_helper(obj6);
20802 if (arg7 == NULL) SWIG_fail;
20803 temp7 = True;
20804 }
20805 }
20806 {
20807 PyThreadState* __tstate = wxPyBeginAllowThreads();
20808 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20809
20810 wxPyEndAllowThreads(__tstate);
20811 if (PyErr_Occurred()) SWIG_fail;
20812 }
20813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
20814 {
20815 if (temp3)
20816 delete arg3;
20817 }
20818 {
20819 if (temp7)
20820 delete arg7;
20821 }
20822 return resultobj;
20823 fail:
20824 {
20825 if (temp3)
20826 delete arg3;
20827 }
20828 {
20829 if (temp7)
20830 delete arg7;
20831 }
20832 return NULL;
20833 }
20834
20835
20836 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20837 PyObject *resultobj;
20838 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20839 PyObject * obj0 = 0 ;
20840 char *kwnames[] = {
20841 (char *) "self", NULL
20842 };
20843
20844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
20845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20846 {
20847 PyThreadState* __tstate = wxPyBeginAllowThreads();
20848 (arg1)->Initialize();
20849
20850 wxPyEndAllowThreads(__tstate);
20851 if (PyErr_Occurred()) SWIG_fail;
20852 }
20853 Py_INCREF(Py_None); resultobj = Py_None;
20854 return resultobj;
20855 fail:
20856 return NULL;
20857 }
20858
20859
20860 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20861 PyObject *resultobj;
20862 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20863 PyObject * obj0 = 0 ;
20864 char *kwnames[] = {
20865 (char *) "self", NULL
20866 };
20867
20868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
20869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20870 {
20871 PyThreadState* __tstate = wxPyBeginAllowThreads();
20872 (arg1)->CreateControlBar();
20873
20874 wxPyEndAllowThreads(__tstate);
20875 if (PyErr_Occurred()) SWIG_fail;
20876 }
20877 Py_INCREF(Py_None); resultobj = Py_None;
20878 return resultobj;
20879 fail:
20880 return NULL;
20881 }
20882
20883
20884 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20885 PyObject *resultobj;
20886 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20887 PyObject * obj0 = 0 ;
20888 char *kwnames[] = {
20889 (char *) "self", NULL
20890 };
20891
20892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
20893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20894 {
20895 PyThreadState* __tstate = wxPyBeginAllowThreads();
20896 (arg1)->CreateCanvas();
20897
20898 wxPyEndAllowThreads(__tstate);
20899 if (PyErr_Occurred()) SWIG_fail;
20900 }
20901 Py_INCREF(Py_None); resultobj = Py_None;
20902 return resultobj;
20903 fail:
20904 return NULL;
20905 }
20906
20907
20908 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20909 PyObject *resultobj;
20910 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20911 wxPreviewControlBar *result;
20912 PyObject * obj0 = 0 ;
20913 char *kwnames[] = {
20914 (char *) "self", NULL
20915 };
20916
20917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
20918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20919 {
20920 PyThreadState* __tstate = wxPyBeginAllowThreads();
20921 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
20922
20923 wxPyEndAllowThreads(__tstate);
20924 if (PyErr_Occurred()) SWIG_fail;
20925 }
20926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
20927 return resultobj;
20928 fail:
20929 return NULL;
20930 }
20931
20932
20933 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
20934 PyObject *obj;
20935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20936 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
20937 Py_INCREF(obj);
20938 return Py_BuildValue((char *)"");
20939 }
20940 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20941 PyObject *resultobj;
20942 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20943 long arg2 ;
20944 wxWindow *arg3 = (wxWindow *) 0 ;
20945 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20946 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20947 wxSize const &arg5_defvalue = wxDefaultSize ;
20948 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20949 long arg6 = (long) wxTAB_TRAVERSAL ;
20950 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20951 wxString *arg7 = (wxString *) &arg7_defvalue ;
20952 wxPreviewControlBar *result;
20953 wxPoint temp4 ;
20954 wxSize temp5 ;
20955 bool temp7 = False ;
20956 PyObject * obj0 = 0 ;
20957 PyObject * obj1 = 0 ;
20958 PyObject * obj2 = 0 ;
20959 PyObject * obj3 = 0 ;
20960 PyObject * obj4 = 0 ;
20961 PyObject * obj5 = 0 ;
20962 PyObject * obj6 = 0 ;
20963 char *kwnames[] = {
20964 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20965 };
20966
20967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20969 {
20970 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20971 if (PyErr_Occurred()) SWIG_fail;
20972 }
20973 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20974 if (obj3) {
20975 {
20976 arg4 = &temp4;
20977 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20978 }
20979 }
20980 if (obj4) {
20981 {
20982 arg5 = &temp5;
20983 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20984 }
20985 }
20986 if (obj5) {
20987 {
20988 arg6 = (long) SWIG_PyObj_AsLong(obj5);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 }
20991 }
20992 if (obj6) {
20993 {
20994 arg7 = wxString_in_helper(obj6);
20995 if (arg7 == NULL) SWIG_fail;
20996 temp7 = True;
20997 }
20998 }
20999 {
21000 PyThreadState* __tstate = wxPyBeginAllowThreads();
21001 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21002
21003 wxPyEndAllowThreads(__tstate);
21004 if (PyErr_Occurred()) SWIG_fail;
21005 }
21006 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
21007 {
21008 if (temp7)
21009 delete arg7;
21010 }
21011 return resultobj;
21012 fail:
21013 {
21014 if (temp7)
21015 delete arg7;
21016 }
21017 return NULL;
21018 }
21019
21020
21021 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21022 PyObject *resultobj;
21023 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21024 int result;
21025 PyObject * obj0 = 0 ;
21026 char *kwnames[] = {
21027 (char *) "self", NULL
21028 };
21029
21030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
21031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21032 {
21033 PyThreadState* __tstate = wxPyBeginAllowThreads();
21034 result = (int)(arg1)->GetZoomControl();
21035
21036 wxPyEndAllowThreads(__tstate);
21037 if (PyErr_Occurred()) SWIG_fail;
21038 }
21039 resultobj = SWIG_PyObj_FromInt((int)result);
21040 return resultobj;
21041 fail:
21042 return NULL;
21043 }
21044
21045
21046 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21047 PyObject *resultobj;
21048 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21049 int arg2 ;
21050 PyObject * obj0 = 0 ;
21051 PyObject * obj1 = 0 ;
21052 char *kwnames[] = {
21053 (char *) "self",(char *) "zoom", NULL
21054 };
21055
21056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
21057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21058 {
21059 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21060 if (PyErr_Occurred()) SWIG_fail;
21061 }
21062 {
21063 PyThreadState* __tstate = wxPyBeginAllowThreads();
21064 (arg1)->SetZoomControl(arg2);
21065
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 Py_INCREF(Py_None); resultobj = Py_None;
21070 return resultobj;
21071 fail:
21072 return NULL;
21073 }
21074
21075
21076 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21077 PyObject *resultobj;
21078 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21079 wxPrintPreview *result;
21080 PyObject * obj0 = 0 ;
21081 char *kwnames[] = {
21082 (char *) "self", NULL
21083 };
21084
21085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
21086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21087 {
21088 PyThreadState* __tstate = wxPyBeginAllowThreads();
21089 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
21090
21091 wxPyEndAllowThreads(__tstate);
21092 if (PyErr_Occurred()) SWIG_fail;
21093 }
21094 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
21095 return resultobj;
21096 fail:
21097 return NULL;
21098 }
21099
21100
21101 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
21102 PyObject *resultobj;
21103 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21104 PyObject * obj0 = 0 ;
21105 char *kwnames[] = {
21106 (char *) "self", NULL
21107 };
21108
21109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
21110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21111 {
21112 PyThreadState* __tstate = wxPyBeginAllowThreads();
21113 (arg1)->OnNext();
21114
21115 wxPyEndAllowThreads(__tstate);
21116 if (PyErr_Occurred()) SWIG_fail;
21117 }
21118 Py_INCREF(Py_None); resultobj = Py_None;
21119 return resultobj;
21120 fail:
21121 return NULL;
21122 }
21123
21124
21125 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
21126 PyObject *resultobj;
21127 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21128 PyObject * obj0 = 0 ;
21129 char *kwnames[] = {
21130 (char *) "self", NULL
21131 };
21132
21133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
21134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21135 {
21136 PyThreadState* __tstate = wxPyBeginAllowThreads();
21137 (arg1)->OnPrevious();
21138
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 Py_INCREF(Py_None); resultobj = Py_None;
21143 return resultobj;
21144 fail:
21145 return NULL;
21146 }
21147
21148
21149 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
21150 PyObject *resultobj;
21151 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21152 PyObject * obj0 = 0 ;
21153 char *kwnames[] = {
21154 (char *) "self", NULL
21155 };
21156
21157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
21158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21159 {
21160 PyThreadState* __tstate = wxPyBeginAllowThreads();
21161 (arg1)->OnFirst();
21162
21163 wxPyEndAllowThreads(__tstate);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 }
21166 Py_INCREF(Py_None); resultobj = Py_None;
21167 return resultobj;
21168 fail:
21169 return NULL;
21170 }
21171
21172
21173 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
21174 PyObject *resultobj;
21175 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21176 PyObject * obj0 = 0 ;
21177 char *kwnames[] = {
21178 (char *) "self", NULL
21179 };
21180
21181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
21182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21183 {
21184 PyThreadState* __tstate = wxPyBeginAllowThreads();
21185 (arg1)->OnLast();
21186
21187 wxPyEndAllowThreads(__tstate);
21188 if (PyErr_Occurred()) SWIG_fail;
21189 }
21190 Py_INCREF(Py_None); resultobj = Py_None;
21191 return resultobj;
21192 fail:
21193 return NULL;
21194 }
21195
21196
21197 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
21198 PyObject *resultobj;
21199 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21200 PyObject * obj0 = 0 ;
21201 char *kwnames[] = {
21202 (char *) "self", NULL
21203 };
21204
21205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
21206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21207 {
21208 PyThreadState* __tstate = wxPyBeginAllowThreads();
21209 (arg1)->OnGoto();
21210
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 Py_INCREF(Py_None); resultobj = Py_None;
21215 return resultobj;
21216 fail:
21217 return NULL;
21218 }
21219
21220
21221 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21222 PyObject *obj;
21223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21224 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
21225 Py_INCREF(obj);
21226 return Py_BuildValue((char *)"");
21227 }
21228 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21229 PyObject *resultobj;
21230 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21231 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21232 wxPrintData *arg3 = (wxPrintData *) NULL ;
21233 wxPrintPreview *result;
21234 PyObject * obj0 = 0 ;
21235 PyObject * obj1 = 0 ;
21236 PyObject * obj2 = 0 ;
21237 char *kwnames[] = {
21238 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21239 };
21240
21241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
21242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21244 if (obj2) {
21245 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21246 }
21247 {
21248 PyThreadState* __tstate = wxPyBeginAllowThreads();
21249 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
21250
21251 wxPyEndAllowThreads(__tstate);
21252 if (PyErr_Occurred()) SWIG_fail;
21253 }
21254 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
21255 return resultobj;
21256 fail:
21257 return NULL;
21258 }
21259
21260
21261 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21262 PyObject *resultobj;
21263 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21264 int arg2 ;
21265 bool result;
21266 PyObject * obj0 = 0 ;
21267 PyObject * obj1 = 0 ;
21268 char *kwnames[] = {
21269 (char *) "self",(char *) "pageNum", NULL
21270 };
21271
21272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21274 {
21275 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 }
21278 {
21279 PyThreadState* __tstate = wxPyBeginAllowThreads();
21280 result = (bool)(arg1)->SetCurrentPage(arg2);
21281
21282 wxPyEndAllowThreads(__tstate);
21283 if (PyErr_Occurred()) SWIG_fail;
21284 }
21285 resultobj = SWIG_PyObj_FromBool((bool)result);
21286 return resultobj;
21287 fail:
21288 return NULL;
21289 }
21290
21291
21292 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21293 PyObject *resultobj;
21294 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21295 int result;
21296 PyObject * obj0 = 0 ;
21297 char *kwnames[] = {
21298 (char *) "self", NULL
21299 };
21300
21301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
21302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21303 {
21304 PyThreadState* __tstate = wxPyBeginAllowThreads();
21305 result = (int)(arg1)->GetCurrentPage();
21306
21307 wxPyEndAllowThreads(__tstate);
21308 if (PyErr_Occurred()) SWIG_fail;
21309 }
21310 resultobj = SWIG_PyObj_FromInt((int)result);
21311 return resultobj;
21312 fail:
21313 return NULL;
21314 }
21315
21316
21317 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21318 PyObject *resultobj;
21319 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21320 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21321 PyObject * obj0 = 0 ;
21322 PyObject * obj1 = 0 ;
21323 char *kwnames[] = {
21324 (char *) "self",(char *) "printout", NULL
21325 };
21326
21327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
21328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21330 {
21331 PyThreadState* __tstate = wxPyBeginAllowThreads();
21332 (arg1)->SetPrintout(arg2);
21333
21334 wxPyEndAllowThreads(__tstate);
21335 if (PyErr_Occurred()) SWIG_fail;
21336 }
21337 Py_INCREF(Py_None); resultobj = Py_None;
21338 return resultobj;
21339 fail:
21340 return NULL;
21341 }
21342
21343
21344 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21345 PyObject *resultobj;
21346 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21347 wxPyPrintout *result;
21348 PyObject * obj0 = 0 ;
21349 char *kwnames[] = {
21350 (char *) "self", NULL
21351 };
21352
21353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
21354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
21357 result = (wxPyPrintout *)(arg1)->GetPrintout();
21358
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
21362 {
21363 resultobj = wxPyMake_wxObject(result);
21364 }
21365 return resultobj;
21366 fail:
21367 return NULL;
21368 }
21369
21370
21371 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21372 PyObject *resultobj;
21373 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21374 wxPyPrintout *result;
21375 PyObject * obj0 = 0 ;
21376 char *kwnames[] = {
21377 (char *) "self", NULL
21378 };
21379
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
21381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21382 {
21383 PyThreadState* __tstate = wxPyBeginAllowThreads();
21384 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
21385
21386 wxPyEndAllowThreads(__tstate);
21387 if (PyErr_Occurred()) SWIG_fail;
21388 }
21389 {
21390 resultobj = wxPyMake_wxObject(result);
21391 }
21392 return resultobj;
21393 fail:
21394 return NULL;
21395 }
21396
21397
21398 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21399 PyObject *resultobj;
21400 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21401 wxFrame *arg2 = (wxFrame *) 0 ;
21402 PyObject * obj0 = 0 ;
21403 PyObject * obj1 = 0 ;
21404 char *kwnames[] = {
21405 (char *) "self",(char *) "frame", NULL
21406 };
21407
21408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
21409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21411 {
21412 PyThreadState* __tstate = wxPyBeginAllowThreads();
21413 (arg1)->SetFrame(arg2);
21414
21415 wxPyEndAllowThreads(__tstate);
21416 if (PyErr_Occurred()) SWIG_fail;
21417 }
21418 Py_INCREF(Py_None); resultobj = Py_None;
21419 return resultobj;
21420 fail:
21421 return NULL;
21422 }
21423
21424
21425 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21426 PyObject *resultobj;
21427 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21428 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21429 PyObject * obj0 = 0 ;
21430 PyObject * obj1 = 0 ;
21431 char *kwnames[] = {
21432 (char *) "self",(char *) "canvas", NULL
21433 };
21434
21435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
21436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21437 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21438 {
21439 PyThreadState* __tstate = wxPyBeginAllowThreads();
21440 (arg1)->SetCanvas(arg2);
21441
21442 wxPyEndAllowThreads(__tstate);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 }
21445 Py_INCREF(Py_None); resultobj = Py_None;
21446 return resultobj;
21447 fail:
21448 return NULL;
21449 }
21450
21451
21452 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21453 PyObject *resultobj;
21454 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21455 wxFrame *result;
21456 PyObject * obj0 = 0 ;
21457 char *kwnames[] = {
21458 (char *) "self", NULL
21459 };
21460
21461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
21462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21463 {
21464 PyThreadState* __tstate = wxPyBeginAllowThreads();
21465 result = (wxFrame *)(arg1)->GetFrame();
21466
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 {
21471 resultobj = wxPyMake_wxObject(result);
21472 }
21473 return resultobj;
21474 fail:
21475 return NULL;
21476 }
21477
21478
21479 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21480 PyObject *resultobj;
21481 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21482 wxPreviewCanvas *result;
21483 PyObject * obj0 = 0 ;
21484 char *kwnames[] = {
21485 (char *) "self", NULL
21486 };
21487
21488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
21489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21490 {
21491 PyThreadState* __tstate = wxPyBeginAllowThreads();
21492 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
21493
21494 wxPyEndAllowThreads(__tstate);
21495 if (PyErr_Occurred()) SWIG_fail;
21496 }
21497 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
21498 return resultobj;
21499 fail:
21500 return NULL;
21501 }
21502
21503
21504 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21505 PyObject *resultobj;
21506 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21507 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21508 wxDC *arg3 = 0 ;
21509 bool result;
21510 PyObject * obj0 = 0 ;
21511 PyObject * obj1 = 0 ;
21512 PyObject * obj2 = 0 ;
21513 char *kwnames[] = {
21514 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21515 };
21516
21517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21520 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21521 if (arg3 == NULL) {
21522 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21523 }
21524 {
21525 PyThreadState* __tstate = wxPyBeginAllowThreads();
21526 result = (bool)(arg1)->PaintPage(arg2,*arg3);
21527
21528 wxPyEndAllowThreads(__tstate);
21529 if (PyErr_Occurred()) SWIG_fail;
21530 }
21531 resultobj = SWIG_PyObj_FromBool((bool)result);
21532 return resultobj;
21533 fail:
21534 return NULL;
21535 }
21536
21537
21538 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21539 PyObject *resultobj;
21540 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21541 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21542 wxDC *arg3 = 0 ;
21543 bool result;
21544 PyObject * obj0 = 0 ;
21545 PyObject * obj1 = 0 ;
21546 PyObject * obj2 = 0 ;
21547 char *kwnames[] = {
21548 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21549 };
21550
21551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21553 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21554 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21555 if (arg3 == NULL) {
21556 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21557 }
21558 {
21559 PyThreadState* __tstate = wxPyBeginAllowThreads();
21560 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
21561
21562 wxPyEndAllowThreads(__tstate);
21563 if (PyErr_Occurred()) SWIG_fail;
21564 }
21565 resultobj = SWIG_PyObj_FromBool((bool)result);
21566 return resultobj;
21567 fail:
21568 return NULL;
21569 }
21570
21571
21572 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21573 PyObject *resultobj;
21574 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21575 int arg2 ;
21576 bool result;
21577 PyObject * obj0 = 0 ;
21578 PyObject * obj1 = 0 ;
21579 char *kwnames[] = {
21580 (char *) "self",(char *) "pageNum", NULL
21581 };
21582
21583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
21584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21585 {
21586 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
21589 {
21590 PyThreadState* __tstate = wxPyBeginAllowThreads();
21591 result = (bool)(arg1)->RenderPage(arg2);
21592
21593 wxPyEndAllowThreads(__tstate);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
21596 resultobj = SWIG_PyObj_FromBool((bool)result);
21597 return resultobj;
21598 fail:
21599 return NULL;
21600 }
21601
21602
21603 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
21604 PyObject *resultobj;
21605 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21606 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21607 PyObject * obj0 = 0 ;
21608 PyObject * obj1 = 0 ;
21609 char *kwnames[] = {
21610 (char *) "self",(char *) "canvas", NULL
21611 };
21612
21613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
21614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21616 {
21617 PyThreadState* __tstate = wxPyBeginAllowThreads();
21618 (arg1)->AdjustScrollbars(arg2);
21619
21620 wxPyEndAllowThreads(__tstate);
21621 if (PyErr_Occurred()) SWIG_fail;
21622 }
21623 Py_INCREF(Py_None); resultobj = Py_None;
21624 return resultobj;
21625 fail:
21626 return NULL;
21627 }
21628
21629
21630 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21631 PyObject *resultobj;
21632 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21633 wxPrintDialogData *result;
21634 PyObject * obj0 = 0 ;
21635 char *kwnames[] = {
21636 (char *) "self", NULL
21637 };
21638
21639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
21640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21641 {
21642 PyThreadState* __tstate = wxPyBeginAllowThreads();
21643 {
21644 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21645 result = (wxPrintDialogData *) &_result_ref;
21646 }
21647
21648 wxPyEndAllowThreads(__tstate);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
21652 return resultobj;
21653 fail:
21654 return NULL;
21655 }
21656
21657
21658 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21659 PyObject *resultobj;
21660 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21661 int arg2 ;
21662 PyObject * obj0 = 0 ;
21663 PyObject * obj1 = 0 ;
21664 char *kwnames[] = {
21665 (char *) "self",(char *) "percent", NULL
21666 };
21667
21668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
21669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21670 {
21671 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 {
21675 PyThreadState* __tstate = wxPyBeginAllowThreads();
21676 (arg1)->SetZoom(arg2);
21677
21678 wxPyEndAllowThreads(__tstate);
21679 if (PyErr_Occurred()) SWIG_fail;
21680 }
21681 Py_INCREF(Py_None); resultobj = Py_None;
21682 return resultobj;
21683 fail:
21684 return NULL;
21685 }
21686
21687
21688 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21689 PyObject *resultobj;
21690 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21691 int result;
21692 PyObject * obj0 = 0 ;
21693 char *kwnames[] = {
21694 (char *) "self", NULL
21695 };
21696
21697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
21698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21699 {
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 result = (int)(arg1)->GetZoom();
21702
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 resultobj = SWIG_PyObj_FromInt((int)result);
21707 return resultobj;
21708 fail:
21709 return NULL;
21710 }
21711
21712
21713 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj;
21715 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21716 int result;
21717 PyObject * obj0 = 0 ;
21718 char *kwnames[] = {
21719 (char *) "self", NULL
21720 };
21721
21722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
21723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21724 {
21725 PyThreadState* __tstate = wxPyBeginAllowThreads();
21726 result = (int)(arg1)->GetMaxPage();
21727
21728 wxPyEndAllowThreads(__tstate);
21729 if (PyErr_Occurred()) SWIG_fail;
21730 }
21731 resultobj = SWIG_PyObj_FromInt((int)result);
21732 return resultobj;
21733 fail:
21734 return NULL;
21735 }
21736
21737
21738 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21739 PyObject *resultobj;
21740 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21741 int result;
21742 PyObject * obj0 = 0 ;
21743 char *kwnames[] = {
21744 (char *) "self", NULL
21745 };
21746
21747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
21748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 result = (int)(arg1)->GetMinPage();
21752
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 resultobj = SWIG_PyObj_FromInt((int)result);
21757 return resultobj;
21758 fail:
21759 return NULL;
21760 }
21761
21762
21763 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21764 PyObject *resultobj;
21765 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21766 bool result;
21767 PyObject * obj0 = 0 ;
21768 char *kwnames[] = {
21769 (char *) "self", NULL
21770 };
21771
21772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
21773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21774 {
21775 PyThreadState* __tstate = wxPyBeginAllowThreads();
21776 result = (bool)(arg1)->Ok();
21777
21778 wxPyEndAllowThreads(__tstate);
21779 if (PyErr_Occurred()) SWIG_fail;
21780 }
21781 resultobj = SWIG_PyObj_FromBool((bool)result);
21782 return resultobj;
21783 fail:
21784 return NULL;
21785 }
21786
21787
21788 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
21789 PyObject *resultobj;
21790 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21791 bool arg2 ;
21792 PyObject * obj0 = 0 ;
21793 PyObject * obj1 = 0 ;
21794 char *kwnames[] = {
21795 (char *) "self",(char *) "ok", NULL
21796 };
21797
21798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
21799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21800 {
21801 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21802 if (PyErr_Occurred()) SWIG_fail;
21803 }
21804 {
21805 PyThreadState* __tstate = wxPyBeginAllowThreads();
21806 (arg1)->SetOk(arg2);
21807
21808 wxPyEndAllowThreads(__tstate);
21809 if (PyErr_Occurred()) SWIG_fail;
21810 }
21811 Py_INCREF(Py_None); resultobj = Py_None;
21812 return resultobj;
21813 fail:
21814 return NULL;
21815 }
21816
21817
21818 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21821 bool arg2 ;
21822 bool result;
21823 PyObject * obj0 = 0 ;
21824 PyObject * obj1 = 0 ;
21825 char *kwnames[] = {
21826 (char *) "self",(char *) "interactive", NULL
21827 };
21828
21829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
21830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21831 {
21832 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21833 if (PyErr_Occurred()) SWIG_fail;
21834 }
21835 {
21836 PyThreadState* __tstate = wxPyBeginAllowThreads();
21837 result = (bool)(arg1)->Print(arg2);
21838
21839 wxPyEndAllowThreads(__tstate);
21840 if (PyErr_Occurred()) SWIG_fail;
21841 }
21842 resultobj = SWIG_PyObj_FromBool((bool)result);
21843 return resultobj;
21844 fail:
21845 return NULL;
21846 }
21847
21848
21849 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
21850 PyObject *resultobj;
21851 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21852 PyObject * obj0 = 0 ;
21853 char *kwnames[] = {
21854 (char *) "self", NULL
21855 };
21856
21857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
21858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21859 {
21860 PyThreadState* __tstate = wxPyBeginAllowThreads();
21861 (arg1)->DetermineScaling();
21862
21863 wxPyEndAllowThreads(__tstate);
21864 if (PyErr_Occurred()) SWIG_fail;
21865 }
21866 Py_INCREF(Py_None); resultobj = Py_None;
21867 return resultobj;
21868 fail:
21869 return NULL;
21870 }
21871
21872
21873 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
21874 PyObject *obj;
21875 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21876 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
21877 Py_INCREF(obj);
21878 return Py_BuildValue((char *)"");
21879 }
21880 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21881 PyObject *resultobj;
21882 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21883 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21884 wxPrintData *arg3 = (wxPrintData *) NULL ;
21885 wxPyPrintPreview *result;
21886 PyObject * obj0 = 0 ;
21887 PyObject * obj1 = 0 ;
21888 PyObject * obj2 = 0 ;
21889 char *kwnames[] = {
21890 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21891 };
21892
21893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
21894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21895 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21896 if (obj2) {
21897 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21898 }
21899 {
21900 PyThreadState* __tstate = wxPyBeginAllowThreads();
21901 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
21902
21903 wxPyEndAllowThreads(__tstate);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 }
21906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
21907 return resultobj;
21908 fail:
21909 return NULL;
21910 }
21911
21912
21913 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21914 PyObject *resultobj;
21915 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21916 PyObject *arg2 = (PyObject *) 0 ;
21917 PyObject *arg3 = (PyObject *) 0 ;
21918 PyObject * obj0 = 0 ;
21919 PyObject * obj1 = 0 ;
21920 PyObject * obj2 = 0 ;
21921 char *kwnames[] = {
21922 (char *) "self",(char *) "self",(char *) "_class", NULL
21923 };
21924
21925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21927 arg2 = obj1;
21928 arg3 = obj2;
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 (arg1)->_setCallbackInfo(arg2,arg3);
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 Py_INCREF(Py_None); resultobj = Py_None;
21937 return resultobj;
21938 fail:
21939 return NULL;
21940 }
21941
21942
21943 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21944 PyObject *resultobj;
21945 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21946 int arg2 ;
21947 bool result;
21948 PyObject * obj0 = 0 ;
21949 PyObject * obj1 = 0 ;
21950 char *kwnames[] = {
21951 (char *) "self",(char *) "pageNum", NULL
21952 };
21953
21954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21956 {
21957 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21958 if (PyErr_Occurred()) SWIG_fail;
21959 }
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 result = (bool)(arg1)->base_SetCurrentPage(arg2);
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 resultobj = SWIG_PyObj_FromBool((bool)result);
21968 return resultobj;
21969 fail:
21970 return NULL;
21971 }
21972
21973
21974 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21975 PyObject *resultobj;
21976 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21977 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21978 wxDC *arg3 = 0 ;
21979 bool result;
21980 PyObject * obj0 = 0 ;
21981 PyObject * obj1 = 0 ;
21982 PyObject * obj2 = 0 ;
21983 char *kwnames[] = {
21984 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21985 };
21986
21987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21990 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21991 if (arg3 == NULL) {
21992 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21993 }
21994 {
21995 PyThreadState* __tstate = wxPyBeginAllowThreads();
21996 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
21997
21998 wxPyEndAllowThreads(__tstate);
21999 if (PyErr_Occurred()) SWIG_fail;
22000 }
22001 resultobj = SWIG_PyObj_FromBool((bool)result);
22002 return resultobj;
22003 fail:
22004 return NULL;
22005 }
22006
22007
22008 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22009 PyObject *resultobj;
22010 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22011 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22012 wxDC *arg3 = 0 ;
22013 bool result;
22014 PyObject * obj0 = 0 ;
22015 PyObject * obj1 = 0 ;
22016 PyObject * obj2 = 0 ;
22017 char *kwnames[] = {
22018 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22019 };
22020
22021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22023 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22024 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22025 if (arg3 == NULL) {
22026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22027 }
22028 {
22029 PyThreadState* __tstate = wxPyBeginAllowThreads();
22030 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
22031
22032 wxPyEndAllowThreads(__tstate);
22033 if (PyErr_Occurred()) SWIG_fail;
22034 }
22035 resultobj = SWIG_PyObj_FromBool((bool)result);
22036 return resultobj;
22037 fail:
22038 return NULL;
22039 }
22040
22041
22042 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22043 PyObject *resultobj;
22044 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22045 int arg2 ;
22046 bool result;
22047 PyObject * obj0 = 0 ;
22048 PyObject * obj1 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self",(char *) "pageNum", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22055 {
22056 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22057 if (PyErr_Occurred()) SWIG_fail;
22058 }
22059 {
22060 PyThreadState* __tstate = wxPyBeginAllowThreads();
22061 result = (bool)(arg1)->base_RenderPage(arg2);
22062
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
22066 resultobj = SWIG_PyObj_FromBool((bool)result);
22067 return resultobj;
22068 fail:
22069 return NULL;
22070 }
22071
22072
22073 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22074 PyObject *resultobj;
22075 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22076 int arg2 ;
22077 PyObject * obj0 = 0 ;
22078 PyObject * obj1 = 0 ;
22079 char *kwnames[] = {
22080 (char *) "self",(char *) "percent", NULL
22081 };
22082
22083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22085 {
22086 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22087 if (PyErr_Occurred()) SWIG_fail;
22088 }
22089 {
22090 PyThreadState* __tstate = wxPyBeginAllowThreads();
22091 (arg1)->base_SetZoom(arg2);
22092
22093 wxPyEndAllowThreads(__tstate);
22094 if (PyErr_Occurred()) SWIG_fail;
22095 }
22096 Py_INCREF(Py_None); resultobj = Py_None;
22097 return resultobj;
22098 fail:
22099 return NULL;
22100 }
22101
22102
22103 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
22104 PyObject *resultobj;
22105 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22106 bool arg2 ;
22107 bool result;
22108 PyObject * obj0 = 0 ;
22109 PyObject * obj1 = 0 ;
22110 char *kwnames[] = {
22111 (char *) "self",(char *) "interactive", NULL
22112 };
22113
22114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
22115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22116 {
22117 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 }
22120 {
22121 PyThreadState* __tstate = wxPyBeginAllowThreads();
22122 result = (bool)(arg1)->base_Print(arg2);
22123
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 resultobj = SWIG_PyObj_FromBool((bool)result);
22128 return resultobj;
22129 fail:
22130 return NULL;
22131 }
22132
22133
22134 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
22135 PyObject *resultobj;
22136 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22137 PyObject * obj0 = 0 ;
22138 char *kwnames[] = {
22139 (char *) "self", NULL
22140 };
22141
22142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
22143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22144 {
22145 PyThreadState* __tstate = wxPyBeginAllowThreads();
22146 (arg1)->base_DetermineScaling();
22147
22148 wxPyEndAllowThreads(__tstate);
22149 if (PyErr_Occurred()) SWIG_fail;
22150 }
22151 Py_INCREF(Py_None); resultobj = Py_None;
22152 return resultobj;
22153 fail:
22154 return NULL;
22155 }
22156
22157
22158 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
22159 PyObject *obj;
22160 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22161 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
22162 Py_INCREF(obj);
22163 return Py_BuildValue((char *)"");
22164 }
22165 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22166 PyObject *resultobj;
22167 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22168 wxFrame *arg2 = (wxFrame *) 0 ;
22169 wxString *arg3 = 0 ;
22170 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22171 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22172 wxSize const &arg5_defvalue = wxDefaultSize ;
22173 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22174 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22175 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22176 wxString *arg7 = (wxString *) &arg7_defvalue ;
22177 wxPyPreviewFrame *result;
22178 bool temp3 = False ;
22179 wxPoint temp4 ;
22180 wxSize temp5 ;
22181 bool temp7 = False ;
22182 PyObject * obj0 = 0 ;
22183 PyObject * obj1 = 0 ;
22184 PyObject * obj2 = 0 ;
22185 PyObject * obj3 = 0 ;
22186 PyObject * obj4 = 0 ;
22187 PyObject * obj5 = 0 ;
22188 PyObject * obj6 = 0 ;
22189 char *kwnames[] = {
22190 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22191 };
22192
22193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22196 {
22197 arg3 = wxString_in_helper(obj2);
22198 if (arg3 == NULL) SWIG_fail;
22199 temp3 = True;
22200 }
22201 if (obj3) {
22202 {
22203 arg4 = &temp4;
22204 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22205 }
22206 }
22207 if (obj4) {
22208 {
22209 arg5 = &temp5;
22210 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22211 }
22212 }
22213 if (obj5) {
22214 {
22215 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22216 if (PyErr_Occurred()) SWIG_fail;
22217 }
22218 }
22219 if (obj6) {
22220 {
22221 arg7 = wxString_in_helper(obj6);
22222 if (arg7 == NULL) SWIG_fail;
22223 temp7 = True;
22224 }
22225 }
22226 {
22227 PyThreadState* __tstate = wxPyBeginAllowThreads();
22228 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22229
22230 wxPyEndAllowThreads(__tstate);
22231 if (PyErr_Occurred()) SWIG_fail;
22232 }
22233 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
22234 {
22235 if (temp3)
22236 delete arg3;
22237 }
22238 {
22239 if (temp7)
22240 delete arg7;
22241 }
22242 return resultobj;
22243 fail:
22244 {
22245 if (temp3)
22246 delete arg3;
22247 }
22248 {
22249 if (temp7)
22250 delete arg7;
22251 }
22252 return NULL;
22253 }
22254
22255
22256 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22257 PyObject *resultobj;
22258 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22259 PyObject *arg2 = (PyObject *) 0 ;
22260 PyObject *arg3 = (PyObject *) 0 ;
22261 PyObject * obj0 = 0 ;
22262 PyObject * obj1 = 0 ;
22263 PyObject * obj2 = 0 ;
22264 char *kwnames[] = {
22265 (char *) "self",(char *) "self",(char *) "_class", NULL
22266 };
22267
22268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22270 arg2 = obj1;
22271 arg3 = obj2;
22272 {
22273 PyThreadState* __tstate = wxPyBeginAllowThreads();
22274 (arg1)->_setCallbackInfo(arg2,arg3);
22275
22276 wxPyEndAllowThreads(__tstate);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 }
22279 Py_INCREF(Py_None); resultobj = Py_None;
22280 return resultobj;
22281 fail:
22282 return NULL;
22283 }
22284
22285
22286 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22287 PyObject *resultobj;
22288 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22289 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22290 PyObject * obj0 = 0 ;
22291 PyObject * obj1 = 0 ;
22292 char *kwnames[] = {
22293 (char *) "self",(char *) "canvas", NULL
22294 };
22295
22296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
22297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22299 {
22300 PyThreadState* __tstate = wxPyBeginAllowThreads();
22301 (arg1)->SetPreviewCanvas(arg2);
22302
22303 wxPyEndAllowThreads(__tstate);
22304 if (PyErr_Occurred()) SWIG_fail;
22305 }
22306 Py_INCREF(Py_None); resultobj = Py_None;
22307 return resultobj;
22308 fail:
22309 return NULL;
22310 }
22311
22312
22313 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22314 PyObject *resultobj;
22315 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22316 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
22317 PyObject * obj0 = 0 ;
22318 PyObject * obj1 = 0 ;
22319 char *kwnames[] = {
22320 (char *) "self",(char *) "bar", NULL
22321 };
22322
22323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
22324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22326 {
22327 PyThreadState* __tstate = wxPyBeginAllowThreads();
22328 (arg1)->SetControlBar(arg2);
22329
22330 wxPyEndAllowThreads(__tstate);
22331 if (PyErr_Occurred()) SWIG_fail;
22332 }
22333 Py_INCREF(Py_None); resultobj = Py_None;
22334 return resultobj;
22335 fail:
22336 return NULL;
22337 }
22338
22339
22340 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22341 PyObject *resultobj;
22342 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22343 PyObject * obj0 = 0 ;
22344 char *kwnames[] = {
22345 (char *) "self", NULL
22346 };
22347
22348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
22349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22350 {
22351 PyThreadState* __tstate = wxPyBeginAllowThreads();
22352 (arg1)->base_Initialize();
22353
22354 wxPyEndAllowThreads(__tstate);
22355 if (PyErr_Occurred()) SWIG_fail;
22356 }
22357 Py_INCREF(Py_None); resultobj = Py_None;
22358 return resultobj;
22359 fail:
22360 return NULL;
22361 }
22362
22363
22364 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22365 PyObject *resultobj;
22366 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22367 PyObject * obj0 = 0 ;
22368 char *kwnames[] = {
22369 (char *) "self", NULL
22370 };
22371
22372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
22373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22374 {
22375 PyThreadState* __tstate = wxPyBeginAllowThreads();
22376 (arg1)->base_CreateCanvas();
22377
22378 wxPyEndAllowThreads(__tstate);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 }
22381 Py_INCREF(Py_None); resultobj = Py_None;
22382 return resultobj;
22383 fail:
22384 return NULL;
22385 }
22386
22387
22388 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22389 PyObject *resultobj;
22390 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22391 PyObject * obj0 = 0 ;
22392 char *kwnames[] = {
22393 (char *) "self", NULL
22394 };
22395
22396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
22397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22398 {
22399 PyThreadState* __tstate = wxPyBeginAllowThreads();
22400 (arg1)->base_CreateControlBar();
22401
22402 wxPyEndAllowThreads(__tstate);
22403 if (PyErr_Occurred()) SWIG_fail;
22404 }
22405 Py_INCREF(Py_None); resultobj = Py_None;
22406 return resultobj;
22407 fail:
22408 return NULL;
22409 }
22410
22411
22412 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
22413 PyObject *obj;
22414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22415 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
22416 Py_INCREF(obj);
22417 return Py_BuildValue((char *)"");
22418 }
22419 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22420 PyObject *resultobj;
22421 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22422 long arg2 ;
22423 wxWindow *arg3 = (wxWindow *) 0 ;
22424 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22425 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22426 wxSize const &arg5_defvalue = wxDefaultSize ;
22427 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22428 long arg6 = (long) 0 ;
22429 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22430 wxString *arg7 = (wxString *) &arg7_defvalue ;
22431 wxPyPreviewControlBar *result;
22432 wxPoint temp4 ;
22433 wxSize temp5 ;
22434 bool temp7 = False ;
22435 PyObject * obj0 = 0 ;
22436 PyObject * obj1 = 0 ;
22437 PyObject * obj2 = 0 ;
22438 PyObject * obj3 = 0 ;
22439 PyObject * obj4 = 0 ;
22440 PyObject * obj5 = 0 ;
22441 PyObject * obj6 = 0 ;
22442 char *kwnames[] = {
22443 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22444 };
22445
22446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22448 {
22449 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22450 if (PyErr_Occurred()) SWIG_fail;
22451 }
22452 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22453 if (obj3) {
22454 {
22455 arg4 = &temp4;
22456 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22457 }
22458 }
22459 if (obj4) {
22460 {
22461 arg5 = &temp5;
22462 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22463 }
22464 }
22465 if (obj5) {
22466 {
22467 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22468 if (PyErr_Occurred()) SWIG_fail;
22469 }
22470 }
22471 if (obj6) {
22472 {
22473 arg7 = wxString_in_helper(obj6);
22474 if (arg7 == NULL) SWIG_fail;
22475 temp7 = True;
22476 }
22477 }
22478 {
22479 PyThreadState* __tstate = wxPyBeginAllowThreads();
22480 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22481
22482 wxPyEndAllowThreads(__tstate);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
22486 {
22487 if (temp7)
22488 delete arg7;
22489 }
22490 return resultobj;
22491 fail:
22492 {
22493 if (temp7)
22494 delete arg7;
22495 }
22496 return NULL;
22497 }
22498
22499
22500 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22501 PyObject *resultobj;
22502 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22503 PyObject *arg2 = (PyObject *) 0 ;
22504 PyObject *arg3 = (PyObject *) 0 ;
22505 PyObject * obj0 = 0 ;
22506 PyObject * obj1 = 0 ;
22507 PyObject * obj2 = 0 ;
22508 char *kwnames[] = {
22509 (char *) "self",(char *) "self",(char *) "_class", NULL
22510 };
22511
22512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22514 arg2 = obj1;
22515 arg3 = obj2;
22516 {
22517 PyThreadState* __tstate = wxPyBeginAllowThreads();
22518 (arg1)->_setCallbackInfo(arg2,arg3);
22519
22520 wxPyEndAllowThreads(__tstate);
22521 if (PyErr_Occurred()) SWIG_fail;
22522 }
22523 Py_INCREF(Py_None); resultobj = Py_None;
22524 return resultobj;
22525 fail:
22526 return NULL;
22527 }
22528
22529
22530 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22531 PyObject *resultobj;
22532 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22533 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
22534 PyObject * obj0 = 0 ;
22535 PyObject * obj1 = 0 ;
22536 char *kwnames[] = {
22537 (char *) "self",(char *) "preview", NULL
22538 };
22539
22540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
22541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22542 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22543 {
22544 PyThreadState* __tstate = wxPyBeginAllowThreads();
22545 (arg1)->SetPrintPreview(arg2);
22546
22547 wxPyEndAllowThreads(__tstate);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 }
22550 Py_INCREF(Py_None); resultobj = Py_None;
22551 return resultobj;
22552 fail:
22553 return NULL;
22554 }
22555
22556
22557 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
22558 PyObject *resultobj;
22559 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22560 PyObject * obj0 = 0 ;
22561 char *kwnames[] = {
22562 (char *) "self", NULL
22563 };
22564
22565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
22566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22567 {
22568 PyThreadState* __tstate = wxPyBeginAllowThreads();
22569 (arg1)->base_CreateButtons();
22570
22571 wxPyEndAllowThreads(__tstate);
22572 if (PyErr_Occurred()) SWIG_fail;
22573 }
22574 Py_INCREF(Py_None); resultobj = Py_None;
22575 return resultobj;
22576 fail:
22577 return NULL;
22578 }
22579
22580
22581 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22582 PyObject *resultobj;
22583 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22584 int arg2 ;
22585 PyObject * obj0 = 0 ;
22586 PyObject * obj1 = 0 ;
22587 char *kwnames[] = {
22588 (char *) "self",(char *) "zoom", NULL
22589 };
22590
22591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22593 {
22594 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22595 if (PyErr_Occurred()) SWIG_fail;
22596 }
22597 {
22598 PyThreadState* __tstate = wxPyBeginAllowThreads();
22599 (arg1)->base_SetZoomControl(arg2);
22600
22601 wxPyEndAllowThreads(__tstate);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 }
22604 Py_INCREF(Py_None); resultobj = Py_None;
22605 return resultobj;
22606 fail:
22607 return NULL;
22608 }
22609
22610
22611 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22612 PyObject *obj;
22613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22614 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
22615 Py_INCREF(obj);
22616 return Py_BuildValue((char *)"");
22617 }
22618 static PyMethodDef SwigMethods[] = {
22619 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
22620 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
22621 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
22622 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
22623 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
22624 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22625 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22626 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22627 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
22628 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
22629 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22630 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22631 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
22632 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
22633 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
22634 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
22635 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
22636 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
22637 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
22638 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
22639 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
22640 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
22641 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
22642 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22643 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22644 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
22645 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
22646 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
22647 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
22648 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
22649 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
22650 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
22651 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
22652 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
22653 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
22654 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
22655 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
22656 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
22657 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
22658 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
22659 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
22660 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
22661 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
22662 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
22663 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
22664 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
22665 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
22666 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
22667 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
22668 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
22669 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
22670 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22671 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22672 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22673 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22674 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22675 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22676 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
22677 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
22678 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
22679 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
22680 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
22681 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
22682 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
22683 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
22684 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
22685 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
22686 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
22687 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
22688 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
22689 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
22690 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22691 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
22692 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
22693 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
22694 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
22695 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
22696 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
22697 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
22698 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
22699 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
22700 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
22701 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
22702 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
22703 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
22704 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
22705 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
22706 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
22707 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
22708 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
22709 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
22710 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22711 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22712 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22713 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
22714 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22715 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22716 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22717 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
22718 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
22719 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
22720 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
22721 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
22722 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
22723 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
22724 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
22725 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
22726 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
22727 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
22728 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
22729 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
22730 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
22731 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
22732 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
22733 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
22734 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
22735 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
22736 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
22737 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
22738 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
22739 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22740 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22741 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22742 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22743 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22744 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22745 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22746 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22747 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
22748 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
22749 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22750 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22751 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
22752 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
22753 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
22754 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
22755 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
22756 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
22757 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
22758 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
22759 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
22760 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
22761 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
22762 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
22763 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22764 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22765 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22766 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22767 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22768 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22769 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22770 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22771 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22772 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22773 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22774 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22775 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22776 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22777 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
22778 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
22779 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
22780 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
22781 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
22782 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
22783 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
22784 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
22785 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
22786 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
22787 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22788 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22789 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22790 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22791 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
22792 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
22793 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22794 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22795 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22796 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22797 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
22798 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
22799 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22800 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22801 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
22802 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
22803 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
22804 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22805 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22806 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
22807 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22808 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22809 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22810 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
22811 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22812 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
22813 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22814 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22815 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
22816 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
22817 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
22818 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
22819 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
22820 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
22821 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
22822 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
22823 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
22824 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
22825 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
22826 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22827 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
22828 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
22829 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
22830 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
22831 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
22832 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
22833 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
22834 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22835 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22836 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22837 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22838 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
22839 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
22840 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
22841 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
22842 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
22843 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
22844 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
22845 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
22846 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
22847 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
22848 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
22849 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
22850 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
22851 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
22852 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
22853 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
22854 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22855 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
22856 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
22857 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
22858 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
22859 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
22860 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
22861 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
22862 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
22863 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
22864 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
22865 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
22866 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
22867 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
22868 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
22869 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
22870 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
22871 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
22872 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
22873 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
22874 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
22875 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
22876 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
22877 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
22878 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
22879 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
22880 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22881 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
22882 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
22883 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
22884 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
22885 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
22886 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
22887 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
22888 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
22889 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
22890 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
22891 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
22892 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
22893 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
22894 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
22895 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
22896 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
22897 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
22898 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
22899 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
22900 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
22901 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
22902 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
22903 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
22904 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
22905 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
22906 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22907 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
22908 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
22909 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
22910 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
22911 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
22912 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
22913 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
22914 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22915 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
22916 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
22917 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
22918 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
22919 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
22920 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
22921 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
22922 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
22923 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
22924 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
22925 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
22926 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
22927 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
22928 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
22929 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
22930 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
22931 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
22932 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
22933 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
22934 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
22935 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
22936 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
22937 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
22938 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
22939 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
22940 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
22941 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
22942 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22943 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
22944 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
22945 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
22946 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
22947 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22948 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
22949 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
22950 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
22951 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
22952 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
22953 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
22954 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
22955 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
22956 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
22957 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
22958 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
22959 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
22960 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
22961 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
22962 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
22963 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
22964 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
22965 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
22966 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
22967 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22968 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
22969 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
22970 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22971 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
22972 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
22973 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
22974 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
22975 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
22976 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
22977 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22978 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
22979 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
22980 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
22981 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22982 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
22983 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
22984 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
22985 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
22986 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
22987 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
22988 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
22989 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
22990 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
22991 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
22992 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
22993 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
22994 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
22995 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
22996 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
22997 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
22998 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
22999 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
23000 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
23001 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
23002 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
23003 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
23004 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
23005 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
23006 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
23007 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
23008 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
23009 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
23010 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
23011 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
23012 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
23013 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
23014 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
23015 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
23016 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
23017 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
23018 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
23019 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23020 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23021 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
23022 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
23023 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
23024 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23025 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23026 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23027 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23028 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23029 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23030 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23031 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23032 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23033 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23034 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23035 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23036 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23037 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
23038 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23039 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23040 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23041 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23042 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23043 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
23044 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
23045 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23046 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23047 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23048 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23049 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23050 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23051 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23052 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23053 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23054 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23055 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23056 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23057 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23058 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
23059 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23060 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23061 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23062 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23063 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23064 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
23065 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
23066 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
23067 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23068 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23069 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
23070 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
23071 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
23072 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
23073 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
23074 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23075 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23076 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
23077 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23078 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23079 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
23080 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
23081 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
23082 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
23083 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23084 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23085 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
23086 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23087 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23088 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23089 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
23090 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23091 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23092 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23093 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23094 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23095 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
23096 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23097 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23098 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23099 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
23100 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23101 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23102 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23103 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
23104 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23105 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23106 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
23107 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
23108 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
23109 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23110 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23111 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23112 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
23113 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
23114 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
23115 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
23116 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23117 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
23118 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
23119 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
23120 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
23121 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23122 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23123 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23124 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23125 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23126 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23127 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23128 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23129 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23130 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23131 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23132 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23133 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23134 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23135 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23136 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23137 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23138 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23139 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23140 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
23141 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
23142 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
23143 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23144 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
23145 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
23146 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
23147 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
23148 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
23149 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23150 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23151 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23152 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
23153 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
23154 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23155 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23156 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23157 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
23158 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
23159 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
23160 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
23161 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23162 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
23163 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
23164 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23165 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23166 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23167 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23168 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
23169 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23170 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23171 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23172 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
23173 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23174 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23175 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23176 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23177 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23178 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
23179 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23180 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23181 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
23182 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23183 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
23184 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
23185 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
23186 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
23187 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23188 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
23189 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23190 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
23191 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
23192 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
23193 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
23194 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
23195 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
23196 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23197 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
23198 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
23199 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
23200 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
23201 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
23202 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23203 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23204 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23205 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23206 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23207 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23208 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
23209 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
23210 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
23211 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
23212 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
23213 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
23214 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
23215 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
23216 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
23217 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
23218 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23219 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
23220 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
23221 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
23222 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23223 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23224 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
23225 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
23226 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23227 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
23228 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23229 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23230 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
23231 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
23232 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
23233 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
23234 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
23235 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
23236 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
23237 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23238 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23239 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
23240 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
23241 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
23242 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
23243 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
23244 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
23245 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
23246 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
23247 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23248 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
23249 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
23250 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23251 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
23252 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
23253 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23254 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23255 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
23256 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
23257 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
23258 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23259 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
23260 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
23261 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23262 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23263 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
23264 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23265 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
23266 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
23267 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
23268 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23269 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
23270 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
23271 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23272 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23273 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
23274 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
23275 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23276 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23277 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
23278 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23279 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23280 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23281 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
23282 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23283 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
23284 { NULL, NULL }
23285 };
23286
23287
23288 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23289
23290 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
23291 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23292 }
23293 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
23294 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
23295 }
23296 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
23297 return (void *)((wxEvent *) ((wxMenuEvent *) x));
23298 }
23299 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
23300 return (void *)((wxEvent *) ((wxCloseEvent *) x));
23301 }
23302 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
23303 return (void *)((wxEvent *) ((wxMouseEvent *) x));
23304 }
23305 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
23306 return (void *)((wxEvent *) ((wxEraseEvent *) x));
23307 }
23308 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
23309 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
23310 }
23311 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
23312 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23313 }
23314 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
23315 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
23316 }
23317 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
23318 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
23319 }
23320 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
23321 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
23322 }
23323 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
23324 return (void *)((wxEvent *) ((wxPyEvent *) x));
23325 }
23326 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
23327 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
23328 }
23329 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
23330 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
23331 }
23332 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
23333 return (void *)((wxEvent *) ((wxIdleEvent *) x));
23334 }
23335 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
23336 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
23337 }
23338 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
23339 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
23340 }
23341 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
23342 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
23343 }
23344 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
23345 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
23346 }
23347 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
23348 return (void *)((wxEvent *) ((wxActivateEvent *) x));
23349 }
23350 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
23351 return (void *)((wxEvent *) ((wxSizeEvent *) x));
23352 }
23353 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
23354 return (void *)((wxEvent *) ((wxMoveEvent *) x));
23355 }
23356 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
23357 return (void *)((wxEvent *) ((wxPaintEvent *) x));
23358 }
23359 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
23360 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
23361 }
23362 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
23363 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
23364 }
23365 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
23366 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
23367 }
23368 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
23369 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
23370 }
23371 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
23372 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23373 }
23374 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
23375 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
23376 }
23377 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
23378 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
23379 }
23380 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
23381 return (void *)((wxEvent *) ((wxFocusEvent *) x));
23382 }
23383 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
23384 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
23385 }
23386 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
23387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
23388 }
23389 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
23390 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23391 }
23392 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
23393 return (void *)((wxEvent *) ((wxShowEvent *) x));
23394 }
23395 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
23396 return (void *)((wxEvent *) ((wxCommandEvent *) x));
23397 }
23398 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
23399 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
23400 }
23401 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
23402 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23403 }
23404 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
23405 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
23406 }
23407 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
23408 return (void *)((wxEvent *) ((wxKeyEvent *) x));
23409 }
23410 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
23411 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
23412 }
23413 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
23414 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
23415 }
23416 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
23417 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
23418 }
23419 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
23420 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23421 }
23422 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
23423 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23424 }
23425 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
23426 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23427 }
23428 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
23429 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
23430 }
23431 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
23432 return (void *)((wxEvtHandler *) ((wxValidator *) x));
23433 }
23434 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
23435 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
23436 }
23437 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
23438 return (void *)((wxEvtHandler *) ((wxMenu *) x));
23439 }
23440 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
23441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23442 }
23443 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
23444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23445 }
23446 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
23447 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23448 }
23449 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
23450 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23451 }
23452 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
23453 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23454 }
23455 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
23456 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23457 }
23458 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
23459 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23460 }
23461 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
23462 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
23463 }
23464 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
23465 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
23466 }
23467 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
23468 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23469 }
23470 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
23471 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
23472 }
23473 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
23474 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23475 }
23476 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
23477 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
23478 }
23479 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
23480 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23481 }
23482 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
23483 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
23484 }
23485 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
23486 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
23487 }
23488 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
23489 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
23490 }
23491 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
23492 return (void *)((wxEvtHandler *) ((wxWindow *) x));
23493 }
23494 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
23495 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23496 }
23497 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
23498 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
23499 }
23500 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
23501 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
23502 }
23503 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
23504 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
23505 }
23506 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
23507 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23508 }
23509 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
23510 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23511 }
23512 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
23513 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23514 }
23515 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
23516 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
23517 }
23518 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
23519 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23520 }
23521 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
23522 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
23523 }
23524 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
23525 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23526 }
23527 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
23528 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23529 }
23530 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
23531 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23532 }
23533 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
23534 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23535 }
23536 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
23537 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23538 }
23539 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
23540 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
23541 }
23542 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
23543 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23544 }
23545 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
23546 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23547 }
23548 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
23549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23550 }
23551 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
23552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23553 }
23554 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
23555 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23556 }
23557 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
23558 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23559 }
23560 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
23561 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23562 }
23563 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
23564 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23565 }
23566 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
23567 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
23568 }
23569 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
23570 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
23571 }
23572 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
23573 return (void *)((wxFrame *) ((wxProgressDialog *) x));
23574 }
23575 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
23576 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
23577 }
23578 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
23579 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23580 }
23581 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
23582 return (void *)((wxFrame *) ((wxMiniFrame *) x));
23583 }
23584 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
23585 return (void *)((wxFrame *) ((wxSplashScreen *) x));
23586 }
23587 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
23588 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
23589 }
23590 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
23591 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
23592 }
23593 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
23594 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23595 }
23596 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
23597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23598 }
23599 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
23600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23601 }
23602 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
23603 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
23604 }
23605 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
23606 return (void *)((wxObject *) ((wxSizerItem *) x));
23607 }
23608 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
23609 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
23610 }
23611 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
23612 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
23613 }
23614 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
23615 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
23616 }
23617 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
23618 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
23619 }
23620 static void *_p_wxSizerTo_p_wxObject(void *x) {
23621 return (void *)((wxObject *) ((wxSizer *) x));
23622 }
23623 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
23624 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
23625 }
23626 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
23627 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
23628 }
23629 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
23630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23631 }
23632 static void *_p_wxEventTo_p_wxObject(void *x) {
23633 return (void *)((wxObject *) ((wxEvent *) x));
23634 }
23635 static void *_p_wxFontDataTo_p_wxObject(void *x) {
23636 return (void *)((wxObject *) ((wxFontData *) x));
23637 }
23638 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
23639 return (void *)((wxObject *) ((wxPrintData *) x));
23640 }
23641 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
23642 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
23643 }
23644 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
23645 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
23646 }
23647 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
23648 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
23649 }
23650 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
23651 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
23652 }
23653 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
23654 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
23655 }
23656 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
23657 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
23658 }
23659 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
23660 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
23661 }
23662 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
23663 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
23664 }
23665 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
23666 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
23667 }
23668 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
23669 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
23670 }
23671 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
23672 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23673 }
23674 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
23675 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
23676 }
23677 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
23678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23679 }
23680 static void *_p_wxControlTo_p_wxObject(void *x) {
23681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
23682 }
23683 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
23684 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
23685 }
23686 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
23687 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23688 }
23689 static void *_p_wxFSFileTo_p_wxObject(void *x) {
23690 return (void *)((wxObject *) ((wxFSFile *) x));
23691 }
23692 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
23693 return (void *)((wxObject *) ((wxFindReplaceData *) x));
23694 }
23695 static void *_p_wxPySizerTo_p_wxObject(void *x) {
23696 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
23697 }
23698 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
23699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23700 }
23701 static void *_p_wxColourDataTo_p_wxObject(void *x) {
23702 return (void *)((wxObject *) ((wxColourData *) x));
23703 }
23704 static void *_p_wxPyEventTo_p_wxObject(void *x) {
23705 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
23706 }
23707 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
23708 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
23709 }
23710 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
23711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
23712 }
23713 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
23714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23715 }
23716 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
23717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23718 }
23719 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
23720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23721 }
23722 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
23723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23724 }
23725 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
23726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23727 }
23728 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
23729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23730 }
23731 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
23732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23733 }
23734 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
23735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23736 }
23737 static void *_p_wxShowEventTo_p_wxObject(void *x) {
23738 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
23739 }
23740 static void *_p_wxPrinterTo_p_wxObject(void *x) {
23741 return (void *)((wxObject *) ((wxPrinter *) x));
23742 }
23743 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
23744 return (void *)((wxObject *) ((wxMenuItem *) x));
23745 }
23746 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
23747 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
23748 }
23749 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
23750 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
23751 }
23752 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
23753 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
23754 }
23755 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
23756 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
23757 }
23758 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
23759 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
23760 }
23761 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
23762 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
23763 }
23764 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
23765 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
23766 }
23767 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
23768 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
23769 }
23770 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
23771 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
23772 }
23773 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
23774 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
23775 }
23776 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
23777 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
23778 }
23779 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
23780 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
23781 }
23782 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
23783 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
23784 }
23785 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
23786 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
23787 }
23788 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
23789 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
23790 }
23791 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
23792 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
23793 }
23794 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
23795 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
23796 }
23797 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
23798 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
23799 }
23800 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
23801 return (void *)((wxObject *) ((wxImageHandler *) x));
23802 }
23803 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
23804 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
23805 }
23806 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
23807 return (void *)((wxObject *) ((wxEvtHandler *) x));
23808 }
23809 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
23810 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
23811 }
23812 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
23813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23814 }
23815 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
23816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23817 }
23818 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
23819 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
23820 }
23821 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
23822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23823 }
23824 static void *_p_wxImageTo_p_wxObject(void *x) {
23825 return (void *)((wxObject *) ((wxImage *) x));
23826 }
23827 static void *_p_wxFrameTo_p_wxObject(void *x) {
23828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23829 }
23830 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
23831 return (void *)((wxObject *) ((wxPyPrintout *) x));
23832 }
23833 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
23834 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
23835 }
23836 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
23837 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
23838 }
23839 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
23840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
23841 }
23842 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
23843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23844 }
23845 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
23846 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23847 }
23848 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
23849 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
23850 }
23851 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
23852 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
23853 }
23854 static void *_p_wxWindowTo_p_wxObject(void *x) {
23855 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
23856 }
23857 static void *_p_wxMenuTo_p_wxObject(void *x) {
23858 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
23859 }
23860 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
23861 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
23862 }
23863 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
23864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23865 }
23866 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
23867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
23868 }
23869 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
23870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
23871 }
23872 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
23873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
23874 }
23875 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
23876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
23877 }
23878 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
23879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23880 }
23881 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
23882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
23883 }
23884 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
23885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23886 }
23887 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
23888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
23889 }
23890 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
23891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23892 }
23893 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
23894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
23895 }
23896 static void *_p_wxSashEventTo_p_wxObject(void *x) {
23897 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
23898 }
23899 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
23900 return (void *)((wxObject *) ((wxPrintPreview *) x));
23901 }
23902 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
23903 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
23904 }
23905 static void *_p_wxPanelTo_p_wxObject(void *x) {
23906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
23907 }
23908 static void *_p_wxDialogTo_p_wxObject(void *x) {
23909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23910 }
23911 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
23912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23913 }
23914 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
23915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23916 }
23917 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
23918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23919 }
23920 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
23921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23922 }
23923 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
23924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23925 }
23926 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
23927 return (void *)((wxObject *) ((wxFileSystem *) x));
23928 }
23929 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
23930 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
23931 }
23932 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
23933 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
23934 }
23935 static void *_p_wxPyAppTo_p_wxObject(void *x) {
23936 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
23937 }
23938 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
23939 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
23940 }
23941 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
23942 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
23943 }
23944 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
23945 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
23946 }
23947 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
23948 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
23949 }
23950 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
23951 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
23952 }
23953 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
23954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23955 }
23956 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
23957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23958 }
23959 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
23960 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
23961 }
23962 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
23963 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
23964 }
23965 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
23966 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
23967 }
23968 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
23969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23970 }
23971 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
23972 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
23973 }
23974 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
23975 return (void *)((wxObject *) ((wxPrintDialogData *) x));
23976 }
23977 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
23978 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
23979 }
23980 static void *_p_wxValidatorTo_p_wxObject(void *x) {
23981 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
23982 }
23983 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
23984 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23985 }
23986 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
23987 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
23988 }
23989 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
23990 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
23991 }
23992 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
23993 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23994 }
23995 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
23996 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
23997 }
23998 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
23999 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
24000 }
24001 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
24002 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
24003 }
24004 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
24005 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
24006 }
24007 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
24008 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
24009 }
24010 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
24011 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
24012 }
24013 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
24014 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
24015 }
24016 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
24017 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
24018 }
24019 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
24020 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
24021 }
24022 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
24023 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
24024 }
24025 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
24026 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
24027 }
24028 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
24029 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
24030 }
24031 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
24032 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
24033 }
24034 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
24035 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
24036 }
24037 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
24038 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
24039 }
24040 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
24041 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
24042 }
24043 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
24044 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
24045 }
24046 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24047 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
24048 }
24049 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24050 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
24051 }
24052 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
24053 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
24054 }
24055 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24056 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
24057 }
24058 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24059 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24060 }
24061 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
24062 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24063 }
24064 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
24065 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24066 }
24067 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
24068 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
24069 }
24070 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
24071 return (void *)((wxWindow *) ((wxMenuBar *) x));
24072 }
24073 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
24074 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24075 }
24076 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
24077 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24078 }
24079 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
24080 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24081 }
24082 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
24083 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24084 }
24085 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
24086 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24087 }
24088 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
24089 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24090 }
24091 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
24092 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24093 }
24094 static void *_p_wxPanelTo_p_wxWindow(void *x) {
24095 return (void *)((wxWindow *) ((wxPanel *) x));
24096 }
24097 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
24098 return (void *)((wxWindow *) ((wxStatusBar *) x));
24099 }
24100 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
24101 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
24102 }
24103 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
24104 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
24105 }
24106 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
24107 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24108 }
24109 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
24110 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24111 }
24112 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
24113 return (void *)((wxWindow *) ((wxPopupWindow *) x));
24114 }
24115 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
24116 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
24117 }
24118 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
24119 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
24120 }
24121 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
24122 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
24123 }
24124 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
24125 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
24126 }
24127 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
24128 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
24129 }
24130 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
24131 return (void *)((wxWindow *) ((wxSashWindow *) x));
24132 }
24133 static void *_p_wxControlTo_p_wxWindow(void *x) {
24134 return (void *)((wxWindow *) ((wxControl *) x));
24135 }
24136 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
24137 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24138 }
24139 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
24140 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24141 }
24142 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
24143 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24144 }
24145 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
24146 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
24147 }
24148 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
24149 return (void *)((wxWindow *) ((wxPyWindow *) x));
24150 }
24151 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
24152 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24153 }
24154 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
24155 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24156 }
24157 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
24158 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24159 }
24160 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
24161 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
24162 }
24163 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
24164 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24165 }
24166 static void *_p_wxFrameTo_p_wxWindow(void *x) {
24167 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
24168 }
24169 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
24170 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24171 }
24172 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
24173 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24174 }
24175 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
24176 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24177 }
24178 static void *_p_wxDialogTo_p_wxWindow(void *x) {
24179 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
24180 }
24181 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
24182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24183 }
24184 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
24185 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24186 }
24187 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
24188 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24189 }
24190 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
24191 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
24192 }
24193 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
24194 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
24195 }
24196 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
24197 return (void *)((wxDialog *) ((wxColourDialog *) x));
24198 }
24199 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
24200 return (void *)((wxDialog *) ((wxDirDialog *) x));
24201 }
24202 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
24203 return (void *)((wxDialog *) ((wxFontDialog *) x));
24204 }
24205 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
24206 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
24207 }
24208 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
24209 return (void *)((wxDialog *) ((wxPrintDialog *) x));
24210 }
24211 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
24212 return (void *)((wxDialog *) ((wxFileDialog *) x));
24213 }
24214 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
24215 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
24216 }
24217 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
24218 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
24219 }
24220 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
24221 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
24222 }
24223 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
24224 return (void *)((wxDialog *) ((wxMessageDialog *) x));
24225 }
24226 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
24227 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
24228 }
24229 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
24230 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
24231 }
24232 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
24233 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
24234 }
24235 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
24236 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24237 }
24238 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
24239 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24240 }
24241 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
24242 return (void *)((wxPanel *) ((wxPyPanel *) x));
24243 }
24244 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
24245 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
24246 }
24247 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
24248 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
24249 }
24250 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
24251 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24252 }
24253 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
24254 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
24255 }
24256 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
24257 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
24258 }
24259 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
24260 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
24261 }
24262 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
24263 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
24264 }
24265 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
24266 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
24267 }
24268 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
24269 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24270 }
24271 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
24272 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
24273 }
24274 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
24275 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
24276 }
24277 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
24278 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
24279 }
24280 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
24281 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
24282 }
24283 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
24284 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
24285 }
24286 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
24287 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24288 }
24289 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
24290 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
24291 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
24292 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
24293 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
24294 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
24295 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
24296 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}};
24297 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
24298 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
24299 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
24300 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
24301 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
24302 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
24303 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
24304 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
24305 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
24306 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
24307 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
24308 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
24309 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
24310 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
24311 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
24312 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
24313 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
24314 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
24315 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
24316 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
24317 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
24318 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
24319 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
24320 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
24321 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
24322 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
24323 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
24324 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}};
24325 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
24326 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
24327 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
24328 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
24329 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
24330 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
24331 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}};
24332 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
24333 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
24334 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
24335 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
24336 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
24337 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
24338 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}};
24339 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
24340 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
24341 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
24342 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
24343 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
24344 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}};
24345 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
24346 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}};
24347 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
24348 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}};
24349 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}};
24350 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
24351 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
24352 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
24353 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
24354 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
24355 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
24356 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
24357 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
24358 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
24359 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
24360 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
24361 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}};
24362 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}};
24363 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
24364 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
24365 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}};
24366 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
24367 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
24368 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
24369 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
24370 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
24371 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
24372
24373 static swig_type_info *swig_types_initial[] = {
24374 _swigt__p_wxQueryLayoutInfoEvent,
24375 _swigt__p_wxPreviewFrame,
24376 _swigt__p_wxPyPreviewFrame,
24377 _swigt__p_wxPyPanel,
24378 _swigt__p_wxMenu,
24379 _swigt__p_wxPrintData,
24380 _swigt__p_wxFontData,
24381 _swigt__p_wxEvent,
24382 _swigt__p_wxTaskBarIcon,
24383 _swigt__p_wxIconBundle,
24384 _swigt__p_wxLayoutAlgorithm,
24385 _swigt__p_wxFindDialogEvent,
24386 _swigt__p_wxPreviewCanvas,
24387 _swigt__p_wxFont,
24388 _swigt__p_wxSplitterEvent,
24389 _swigt__p_wxRegion,
24390 _swigt__p_wxFindReplaceData,
24391 _swigt__p_int,
24392 _swigt__p_wxSize,
24393 _swigt__p_wxDC,
24394 _swigt__p_wxIcon,
24395 _swigt__p_wxMDIChildFrame,
24396 _swigt__p_wxColourData,
24397 _swigt__p_wxNotifyEvent,
24398 _swigt__p_wxPyWindow,
24399 _swigt__p_wxSplashScreen,
24400 _swigt__p_wxFindReplaceDialog,
24401 _swigt__p_wxProgressDialog,
24402 _swigt__p_wxMessageDialog,
24403 _swigt__p_wxTextEntryDialog,
24404 _swigt__p_wxSingleChoiceDialog,
24405 _swigt__p_wxMultiChoiceDialog,
24406 _swigt__p_wxFileDialog,
24407 _swigt__p_wxPrinter,
24408 _swigt__p_wxArrayInt,
24409 _swigt__p_wxEvtHandler,
24410 _swigt__p_wxCalculateLayoutEvent,
24411 _swigt__p_wxPyHtmlListBox,
24412 _swigt__p_wxPyVListBox,
24413 _swigt__p_wxRect,
24414 _swigt__p_char,
24415 _swigt__p_wxMiniFrame,
24416 _swigt__p_wxFrame,
24417 _swigt__p_wxPyPrintout,
24418 _swigt__p_wxTaskBarIconEvent,
24419 _swigt__p_wxScrollWinEvent,
24420 _swigt__p_wxStatusBar,
24421 _swigt__p_wxMDIParentFrame,
24422 _swigt__p_wxPoint,
24423 _swigt__p_wxObject,
24424 _swigt__p_unsigned_long,
24425 _swigt__p_wxMDIClientWindow,
24426 _swigt__p_wxTipWindow,
24427 _swigt__p_wxSashLayoutWindow,
24428 _swigt__p_wxSplitterWindow,
24429 _swigt__p_wxPyVScrolledWindow,
24430 _swigt__p_wxPyPopupTransientWindow,
24431 _swigt__p_wxPopupWindow,
24432 _swigt__p_wxSashWindow,
24433 _swigt__p_wxTopLevelWindow,
24434 _swigt__p_wxWindow,
24435 _swigt__p_wxScrolledWindow,
24436 _swigt__p_wxSplashScreenWindow,
24437 _swigt__p_wxMenuBar,
24438 _swigt__p_wxPrintPreview,
24439 _swigt__p_wxSashEvent,
24440 _swigt__p_wxString,
24441 _swigt__p_wxPyPrintPreview,
24442 _swigt__p_wxPageSetupDialog,
24443 _swigt__p_wxFontDialog,
24444 _swigt__p_wxDirDialog,
24445 _swigt__p_wxColourDialog,
24446 _swigt__p_wxDialog,
24447 _swigt__p_wxPanel,
24448 _swigt__p_wxPrintDialog,
24449 _swigt__p_wxBitmap,
24450 _swigt__p_wxCommandEvent,
24451 _swigt__p_wxPreviewControlBar,
24452 _swigt__p_wxPyPreviewControlBar,
24453 _swigt__p_wxColour,
24454 _swigt__p_wxToolBar,
24455 _swigt__p_wxPageSetupDialogData,
24456 _swigt__p_wxPrintDialogData,
24457 0
24458 };
24459
24460
24461 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24462
24463 static swig_const_info swig_const_table[] = {
24464 {0}};
24465
24466 #ifdef __cplusplus
24467 }
24468 #endif
24469
24470 #ifdef __cplusplus
24471 extern "C"
24472 #endif
24473 SWIGEXPORT(void) SWIG_init(void) {
24474 static PyObject *SWIG_globals = 0;
24475 static int typeinit = 0;
24476 PyObject *m, *d;
24477 int i;
24478 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
24479 m = Py_InitModule((char *) SWIG_name, SwigMethods);
24480 d = PyModule_GetDict(m);
24481
24482 if (!typeinit) {
24483 for (i = 0; swig_types_initial[i]; i++) {
24484 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
24485 }
24486 typeinit = 1;
24487 }
24488 SWIG_InstallConstants(d,swig_const_table);
24489
24490 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
24491 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
24492 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
24493 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
24494 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
24495 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR));
24496 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
24497 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
24498 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER));
24499 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION));
24500 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL));
24501 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG));
24502 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
24503 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
24504 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE));
24505 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT));
24506 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT));
24507 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
24508 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER));
24509 PyDict_SetItemString(d,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH));
24510 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT));
24511 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE));
24512 PyDict_SetItemString(d,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH));
24513 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER));
24514 PyDict_SetItemString(d,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER));
24515 PyDict_SetItemString(d,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D));
24516 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL));
24517 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL));
24518 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE));
24519 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING));
24520 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
24521 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
24522 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
24523 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
24524 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
24525 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
24526 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
24527 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE));
24528 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING));
24529 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
24530 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER));
24531 PyDict_SetItemString(d,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER));
24532 PyDict_SetItemString(d,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH));
24533 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER));
24534 PyDict_SetItemString(d,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D));
24535 PyDict_SetItemString(d,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP));
24536 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT));
24537 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM));
24538 PyDict_SetItemString(d,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT));
24539 PyDict_SetItemString(d,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE));
24540 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK));
24541 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
24542 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
24543 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL));
24544 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL));
24545 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE));
24546 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP));
24547 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT));
24548 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT));
24549 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM));
24550 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y));
24551 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X));
24552 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH));
24553 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY));
24554 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
24555 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
24556 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
24557
24558 // Map renamed classes back to their common name for OOR
24559 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24560 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24561 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24562
24563 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
24564 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
24565 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
24566 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
24567 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
24568 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
24569 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
24570 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
24571 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
24572 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
24573 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
24574 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
24575 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
24576 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE));
24577 PyDict_SetItemString(d,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN));
24578 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD));
24579 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE));
24580 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG));
24581 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN));
24582 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE));
24583 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD));
24584 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
24585 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
24586 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
24587 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
24588 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
24589 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001));
24590 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001));
24591 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002));
24592 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003));
24593 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004));
24594 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005));
24595 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100));
24596 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600));
24597 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
24598 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
24599 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE));
24600 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW));
24601 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE));
24602 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER));
24603 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR));
24604 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED));
24605 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR));
24606 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT));
24607 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS));
24608 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT));
24609 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM));
24610 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST));
24611 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST));
24612 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO));
24613 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT));
24614 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE));
24615 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT));
24616 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS));
24617 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT));
24618 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM));
24619 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST));
24620 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST));
24621 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO));
24622
24623 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
24624
24625 }
24626