]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/windows_wrap.cpp
Added some more docstrings, and also a few little tweaks along the way.
[wxWidgets.git] / wxPython / src / mac / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
234 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
235 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
236 #define SWIGTYPE_p_wxPyPanel swig_types[3]
237 #define SWIGTYPE_p_wxMenu swig_types[4]
238 #define SWIGTYPE_p_wxPrintData swig_types[5]
239 #define SWIGTYPE_p_wxFontData swig_types[6]
240 #define SWIGTYPE_p_wxEvent swig_types[7]
241 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
242 #define SWIGTYPE_p_wxIconBundle swig_types[9]
243 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
244 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
245 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
246 #define SWIGTYPE_p_wxFont swig_types[13]
247 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
248 #define SWIGTYPE_p_wxRegion swig_types[15]
249 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
250 #define SWIGTYPE_p_int swig_types[17]
251 #define SWIGTYPE_p_wxSize swig_types[18]
252 #define SWIGTYPE_p_wxDC swig_types[19]
253 #define SWIGTYPE_p_wxIcon swig_types[20]
254 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
255 #define SWIGTYPE_p_wxColourData swig_types[22]
256 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
257 #define SWIGTYPE_p_wxPyWindow swig_types[24]
258 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
259 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
260 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
261 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
262 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
263 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
264 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
265 #define SWIGTYPE_p_wxFileDialog swig_types[32]
266 #define SWIGTYPE_p_wxPrinter swig_types[33]
267 #define SWIGTYPE_p_wxArrayInt swig_types[34]
268 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
269 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
270 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
271 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
272 #define SWIGTYPE_p_wxRect swig_types[39]
273 #define SWIGTYPE_p_char swig_types[40]
274 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
275 #define SWIGTYPE_p_wxFrame swig_types[42]
276 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
277 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
278 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
279 #define SWIGTYPE_p_wxStatusBar swig_types[46]
280 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
281 #define SWIGTYPE_p_wxPoint swig_types[48]
282 #define SWIGTYPE_p_wxObject swig_types[49]
283 #define SWIGTYPE_p_wxOutputStream swig_types[50]
284 #define SWIGTYPE_p_unsigned_long swig_types[51]
285 #define SWIGTYPE_p_wxMDIClientWindow swig_types[52]
286 #define SWIGTYPE_p_wxTipWindow swig_types[53]
287 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[54]
288 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
289 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
290 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
291 #define SWIGTYPE_p_wxPopupWindow swig_types[58]
292 #define SWIGTYPE_p_wxSashWindow swig_types[59]
293 #define SWIGTYPE_p_wxTopLevelWindow swig_types[60]
294 #define SWIGTYPE_p_wxWindow swig_types[61]
295 #define SWIGTYPE_p_wxScrolledWindow swig_types[62]
296 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
297 #define SWIGTYPE_p_wxMenuBar swig_types[64]
298 #define SWIGTYPE_p_wxPrintPreview swig_types[65]
299 #define SWIGTYPE_p_wxSashEvent swig_types[66]
300 #define SWIGTYPE_p_wxString swig_types[67]
301 #define SWIGTYPE_p_wxPyPrintPreview 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_wxPageSetupDialog swig_types[74]
308 #define SWIGTYPE_p_wxPrintDialog swig_types[75]
309 #define SWIGTYPE_p_wxBitmap swig_types[76]
310 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
311 #define SWIGTYPE_p_wxPreviewControlBar swig_types[78]
312 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[82]
316 #define SWIGTYPE_p_wxPrintDialogData swig_types[83]
317 static swig_type_info *swig_types[85];
318
319 /* -------- TYPES TABLE (END) -------- */
320
321
322 /*-----------------------------------------------
323 @(target):= _windows.so
324 ------------------------------------------------*/
325 #define SWIG_init init_windows
326
327 #define SWIG_name "_windows"
328
329 #include <limits.h>
330 #include <float.h>
331 #include <string.h>
332
333 #ifndef SWIGSTATIC
334 #ifdef __cplusplus
335 #define SWIGSTATIC(a) static inline a
336 #else
337 #define SWIGSTATIC(a) static a
338 #endif
339 #endif
340
341 #ifndef numeric_cast
342 #ifdef __cplusplus
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
345 #else
346 #define numeric_cast(type,a) static_cast<type>(a)
347 #endif
348 #else
349 #define numeric_cast(type,a) (type)(a)
350 #endif
351 #endif
352
353
354
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
365
366
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
369
370
371 static const wxString wxPyEmptyString(wxEmptyString);
372 static const wxString wxPyPanelNameStr(wxPanelNameStr);
373
374
375
376 SWIGSTATIC(int)
377 SWIG_PyObj_AsInt(PyObject *obj)
378 {
379 return numeric_cast(int,
380 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
381 }
382
383
384 SWIGSTATIC(long)
385 SWIG_PyObj_AsLong(PyObject * obj)
386 {
387 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
388 }
389
390
391 SWIGSTATIC(bool)
392 SWIG_PyObj_AsBool(PyObject *obj)
393 {
394 return PyObject_IsTrue(obj) ? true : false;
395 }
396
397
398 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
399 PyObject* o2;
400 PyObject* o3;
401
402 if (!target) {
403 target = o;
404 } else if (target == Py_None) {
405 Py_DECREF(Py_None);
406 target = o;
407 } else {
408 if (!PyTuple_Check(target)) {
409 o2 = target;
410 target = PyTuple_New(1);
411 PyTuple_SetItem(target, 0, o2);
412 }
413 o3 = PyTuple_New(1);
414 PyTuple_SetItem(o3, 0, o);
415
416 o2 = target;
417 target = PySequence_Concat(o2, o3);
418 Py_DECREF(o2);
419 Py_DECREF(o3);
420 }
421 return target;
422 }
423
424
425 SWIGSTATIC(double)
426 SWIG_PyObj_AsDouble(PyObject *obj)
427 {
428 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
429 #if HAVE_LONG_LONG
430 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
431 #else
432 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
433 #endif
434 if (PyErr_Occurred()) {
435 PyErr_Clear();
436 PyErr_SetString(PyExc_TypeError, "a double is expected");
437 }
438 }
439
440 static const wxString wxPyFrameNameStr(wxFrameNameStr);
441 static const wxString wxPyDialogNameStr(wxDialogNameStr);
442 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
443 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
444 bool wxDialog_IsModalShowing(wxDialog *self){
445
446
447
448 return self->IsModalShowing();
449
450 }
451
452
453 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
454 wxRect r;
455 self->GetFieldRect(i, r);
456 return r;
457 }
458 static const wxString wxPySplitterNameStr(wxT("splitter"));
459 static const wxString wxPySashNameStr(wxT("sashWindow"));
460 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
461
462 #include <wx/popupwin.h>
463
464
465 class wxPopupWindow : public wxWindow {
466 public:
467 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
468 wxPopupWindow() { wxPyRaiseNotImplemented(); }
469 };
470
471 class wxPyPopupTransientWindow : public wxPopupWindow
472 {
473 public:
474 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
475 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
476 };
477
478
479 #include <wx/tipwin.h>
480
481 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
482 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
483 }
484
485 #include <wx/tipwin.h>
486
487
488 #include <wx/vscroll.h>
489
490
491 class wxPyVScrolledWindow : public wxVScrolledWindow
492 {
493 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
494 public:
495 wxPyVScrolledWindow() : wxVScrolledWindow() {}
496
497 wxPyVScrolledWindow(wxWindow *parent,
498 wxWindowID id = wxID_ANY,
499 const wxPoint& pos = wxDefaultPosition,
500 const wxSize& size = wxDefaultSize,
501 long style = 0,
502 const wxString& name = wxPyPanelNameStr)
503 : wxVScrolledWindow(parent, id, pos, size, style, name)
504 {}
505
506 // Overridable virtuals
507
508 // this function must be overridden in the derived class and it should
509 // return the height of the given line in pixels
510 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
511
512
513 // this function doesn't have to be overridden but it may be useful to do
514 // it if calculating the lines heights is a relatively expensive operation
515 // as it gives the user code a possibility to calculate several of them at
516 // once
517 //
518 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
519 // shouldn't rely on the latter being called for all lines in the interval
520 // specified here. It is also possible that OnGetLineHeight() will be
521 // called for the lines outside of this interval, so this is really just a
522 // hint, not a promise.
523 //
524 // finally note that lineMin is inclusive, while lineMax is exclusive, as
525 // usual
526 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
527
528
529 // when the number of lines changes, we try to estimate the total height
530 // of all lines which is a rather expensive operation in terms of lines
531 // access, so if the user code may estimate the average height
532 // better/faster than we do, it should override this function to implement
533 // its own logic
534 //
535 // this function should return the best guess for the total height it may
536 // make
537 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
538
539
540 // Also expose some other interesting protected methods
541
542
543 // find the index of the line we need to show at the top of the window such
544 // that the last (fully or partially) visible line is the given one
545 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
546 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
547
548 // get the total height of the lines between lineMin (inclusive) and
549 // lineMax (exclusive)
550 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
551 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
552
553
554 PYPRIVATE;
555 };
556
557 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
558
559 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
560 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
561 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
562
563
564 SWIGSTATIC(PyObject* )
565 SWIG_PyObj_FromUnsignedLong(unsigned long value)
566 {
567 return (value > (unsigned long)(LONG_MAX)) ?
568 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
569 }
570
571
572 #include <wx/vlbox.h>
573
574 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
575
576 class wxPyVListBox : public wxVListBox
577 {
578 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
579 public:
580 wxPyVListBox() : wxVListBox() {}
581
582 wxPyVListBox(wxWindow *parent,
583 wxWindowID id = wxID_ANY,
584 const wxPoint& pos = wxDefaultPosition,
585 const wxSize& size = wxDefaultSize,
586 long style = 0,
587 const wxString& name = wxPyVListBoxNameStr)
588 : wxVListBox(parent, id, pos, size, style, name)
589 {}
590
591 // Overridable virtuals
592
593 // the derived class must implement this function to actually draw the item
594 // with the given index on the provided DC
595 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
596 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
597
598
599 // the derived class must implement this method to return the height of the
600 // specified item
601 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
602 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
603
604
605 // this method may be used to draw separators between the lines; note that
606 // the rectangle may be modified, typically to deflate it a bit before
607 // passing to OnDrawItem()
608 //
609 // the base class version doesn't do anything
610 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
611 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
612
613
614 // this method is used to draw the items background and, maybe, a border
615 // around it
616 //
617 // the base class version implements a reasonable default behaviour which
618 // consists in drawing the selected item with the standard background
619 // colour and drawing a border around the item if it is either selected or
620 // current
621 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
622 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
623
624
625 PYPRIVATE;
626 };
627
628 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
629
630 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
631 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
632 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
633 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
634
635
636
637 #include <wx/htmllbox.h>
638
639
640 class wxPyHtmlListBox : public wxHtmlListBox
641 {
642 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
643 public:
644 wxPyHtmlListBox() : wxHtmlListBox() {}
645
646 wxPyHtmlListBox(wxWindow *parent,
647 wxWindowID id = wxID_ANY,
648 const wxPoint& pos = wxDefaultPosition,
649 const wxSize& size = wxDefaultSize,
650 long style = 0,
651 const wxString& name = wxPyVListBoxNameStr)
652 : wxHtmlListBox(parent, id, pos, size, style, name)
653 {}
654
655 // Overridable virtuals
656
657 // this method must be implemented in the derived class and should return
658 // the body (i.e. without <html>) of the HTML for the given item
659 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
660
661 // this function may be overridden to decorate HTML returned by OnGetItem()
662 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
663
664 // TODO:
665 // // this method allows to customize the selection appearance: it may be used
666 // // to specify the colour of the text which normally has the given colour
667 // // colFg when it is inside the selection
668 // //
669 // // by default, the original colour is not used at all and all text has the
670 // // same (default for this system) colour inside selection
671 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
672
673 // // this is the same as GetSelectedTextColour() but allows to customize the
674 // // background colour -- this is even more rarely used as you can change it
675 // // globally using SetSelectionBackground()
676 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
677
678
679 PYPRIVATE;
680 };
681
682
683 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
684
685 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
686 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
687
688
689
690
691
692 #ifdef __WXMAC__
693 // implement dummy classes and such for wxMac
694
695 class wxTaskBarIcon : public wxEvtHandler
696 {
697 public:
698 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
699 };
700
701
702 class wxTaskBarIconEvent : public wxEvent
703 {
704 public:
705 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
706 { wxPyRaiseNotImplemented(); }
707 virtual wxEvent* Clone() const { return NULL; }
708 };
709
710 enum {
711 wxEVT_TASKBAR_MOVE = 0,
712 wxEVT_TASKBAR_LEFT_DOWN = 0,
713 wxEVT_TASKBAR_LEFT_UP = 0,
714 wxEVT_TASKBAR_RIGHT_DOWN = 0,
715 wxEVT_TASKBAR_RIGHT_UP = 0,
716 wxEVT_TASKBAR_LEFT_DCLICK = 0,
717 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
718 };
719 #endif
720
721 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
722 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
723 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
724 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
725 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
726 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
727 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
728 wxArrayString arr;
729 self->GetFilenames(arr);
730 return wxArrayString2PyList_helper(arr);
731 }
732 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
733 wxArrayString arr;
734 self->GetPaths(arr);
735 return wxArrayString2PyList_helper(arr);
736 }
737 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
738 return wxArrayInt2PyList_helper(self->GetSelections());
739 }
740 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
741 return new wxSingleChoiceDialog(parent, message, caption,
742 choices, choices_array, NULL, style, pos);
743 }
744
745 #include <wx/mdi.h>
746
747 // C++ version of Python aware wxWindow
748 class wxPyWindow : public wxWindow
749 {
750 DECLARE_DYNAMIC_CLASS(wxPyWindow)
751 public:
752 wxPyWindow() : wxWindow() {}
753 wxPyWindow(wxWindow* parent, const wxWindowID id,
754 const wxPoint& pos = wxDefaultPosition,
755 const wxSize& size = wxDefaultSize,
756 long style = 0,
757 const wxString& name = wxPyPanelNameStr)
758 : wxWindow(parent, id, pos, size, style, name) {}
759
760
761 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
762 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
763 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
764 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
765
766 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
767 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
768 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
769
770 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
771 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
772
773 DEC_PYCALLBACK__(InitDialog);
774 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
775 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
776 DEC_PYCALLBACK_BOOL_(Validate);
777
778 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
779 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
780 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
781
782 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
783 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
784
785 PYPRIVATE;
786 };
787
788 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
789
790 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
791 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
792 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
793 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
794
795 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
796 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
797 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
798
799 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
800 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
801
802 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
803 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
804 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
805 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
806
807 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
808 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
809 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
810
811 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
812 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
813
814
815 // C++ version of Python aware wxPanel
816 class wxPyPanel : public wxPanel
817 {
818 DECLARE_DYNAMIC_CLASS(wxPyPanel)
819 public:
820 wxPyPanel() : wxPanel() {}
821 wxPyPanel(wxWindow* parent, const wxWindowID id,
822 const wxPoint& pos = wxDefaultPosition,
823 const wxSize& size = wxDefaultSize,
824 long style = 0,
825 const wxString& name = wxPyPanelNameStr)
826 : wxPanel(parent, id, pos, size, style, name) {}
827
828
829 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
830 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
831 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
832 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
833
834 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
835 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
836 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
837
838 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
839 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
840
841 DEC_PYCALLBACK__(InitDialog);
842 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
843 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
844 DEC_PYCALLBACK_BOOL_(Validate);
845
846 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
847 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
848 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
849
850 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
851 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
852
853 PYPRIVATE;
854 };
855
856 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
857
858 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
859 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
860 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
861 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
862
863 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
864 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
865 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
866
867 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
868 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
869
870 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
871 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
872 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
873 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
874
875 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
876 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
877 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
878
879 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
880 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
881
882
883
884 #include "wx/wxPython/printfw.h"
885
886
887 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
888 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
889
890
891
892 // Since this one would be tough and ugly to do with the Macros...
893 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
894 bool hadErr = False;
895 bool found;
896
897 wxPyBeginBlockThreads();
898 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
899 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
900 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
901 PyObject* val;
902
903 val = PyTuple_GetItem(result, 0);
904 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
905 else hadErr = True;
906
907 val = PyTuple_GetItem(result, 1);
908 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
909 else hadErr = True;
910
911 val = PyTuple_GetItem(result, 2);
912 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
913 else hadErr = True;
914
915 val = PyTuple_GetItem(result, 3);
916 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
917 else hadErr = True;
918 }
919 else
920 hadErr = True;
921
922 if (hadErr) {
923 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
924 PyErr_Print();
925 }
926 Py_DECREF(result);
927 }
928 wxPyEndBlockThreads();
929 if (! found)
930 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
931 }
932
933 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
934 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
935 }
936
937
938 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
939 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
940 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
941 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
942 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
943 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
944 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
945
946
947
948
949
950 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
951 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
952 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
953
954
955 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
956 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
957 bool rval=False; \
958 bool found; \
959 wxPyBeginBlockThreads(); \
960 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
961 PyObject* win = wxPyMake_wxObject(a); \
962 PyObject* dc = wxPyMake_wxObject(&b); \
963 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
964 Py_DECREF(win); \
965 Py_DECREF(dc); \
966 } \
967 wxPyEndBlockThreads(); \
968 if (! found) \
969 rval = PCLASS::CBNAME(a, b); \
970 return rval; \
971 } \
972 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
973 return PCLASS::CBNAME(a, b); \
974 }
975
976
977
978
979 class wxPyPrintPreview : public wxPrintPreview
980 {
981 DECLARE_CLASS(wxPyPrintPreview)
982 public:
983 wxPyPrintPreview(wxPyPrintout* printout,
984 wxPyPrintout* printoutForPrinting,
985 wxPrintData* data=NULL)
986 : wxPrintPreview(printout, printoutForPrinting, data)
987 {}
988
989 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
990 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
991 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
992 DEC_PYCALLBACK_BOOL_INT(RenderPage);
993 DEC_PYCALLBACK_VOID_INT(SetZoom);
994 DEC_PYCALLBACK_BOOL_BOOL(Print);
995 DEC_PYCALLBACK_VOID_(DetermineScaling);
996
997 PYPRIVATE;
998 };
999
1000 // Stupid renamed classes... Fix this in 2.5...
1001 #if defined(__WXMSW__)
1002 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1003 #elif defined(__WXMAC__)
1004 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1005 #else
1006 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1007 #endif
1008
1009 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1010 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1011 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1012 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1013 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1014 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1015 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1016
1017
1018 class wxPyPreviewFrame : public wxPreviewFrame
1019 {
1020 DECLARE_CLASS(wxPyPreviewFrame);
1021 public:
1022 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1023 const wxString& title,
1024 const wxPoint& pos = wxDefaultPosition,
1025 const wxSize& size = wxDefaultSize,
1026 long style = wxDEFAULT_FRAME_STYLE,
1027 const wxString& name = wxPyFrameNameStr)
1028 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1029 {}
1030
1031 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1032 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1033
1034 DEC_PYCALLBACK_VOID_(Initialize);
1035 DEC_PYCALLBACK_VOID_(CreateCanvas);
1036 DEC_PYCALLBACK_VOID_(CreateControlBar);
1037
1038 PYPRIVATE;
1039 };
1040
1041 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1042
1043 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1044 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1045 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1046
1047
1048 class wxPyPreviewControlBar : public wxPreviewControlBar
1049 {
1050 DECLARE_CLASS(wxPyPreviewControlBar);
1051 public:
1052 wxPyPreviewControlBar(wxPrintPreview *preview,
1053 long buttons,
1054 wxWindow *parent,
1055 const wxPoint& pos = wxDefaultPosition,
1056 const wxSize& size = wxDefaultSize,
1057 long style = 0,
1058 const wxString& name = wxPyPanelNameStr)
1059 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1060 {}
1061
1062 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1063
1064 DEC_PYCALLBACK_VOID_(CreateButtons);
1065 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1066
1067 PYPRIVATE;
1068 };
1069
1070 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1071 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1072 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1073
1074 #ifdef __cplusplus
1075 extern "C" {
1076 #endif
1077 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1078 PyObject *resultobj;
1079 wxWindow *arg1 = (wxWindow *) 0 ;
1080 int arg2 = (int) (int)-1 ;
1081 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1082 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1083 wxSize const &arg4_defvalue = wxDefaultSize ;
1084 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1085 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1086 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1087 wxString *arg6 = (wxString *) &arg6_defvalue ;
1088 wxPanel *result;
1089 wxPoint temp3 ;
1090 wxSize temp4 ;
1091 bool temp6 = False ;
1092 PyObject * obj0 = 0 ;
1093 PyObject * obj1 = 0 ;
1094 PyObject * obj2 = 0 ;
1095 PyObject * obj3 = 0 ;
1096 PyObject * obj4 = 0 ;
1097 PyObject * obj5 = 0 ;
1098 char *kwnames[] = {
1099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1100 };
1101
1102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1104 if (obj1) {
1105 {
1106 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
1107 if (PyErr_Occurred()) SWIG_fail;
1108 }
1109 }
1110 if (obj2) {
1111 {
1112 arg3 = &temp3;
1113 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1114 }
1115 }
1116 if (obj3) {
1117 {
1118 arg4 = &temp4;
1119 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1120 }
1121 }
1122 if (obj4) {
1123 {
1124 arg5 = (long) SWIG_PyObj_AsLong(obj4);
1125 if (PyErr_Occurred()) SWIG_fail;
1126 }
1127 }
1128 if (obj5) {
1129 {
1130 arg6 = wxString_in_helper(obj5);
1131 if (arg6 == NULL) SWIG_fail;
1132 temp6 = True;
1133 }
1134 }
1135 {
1136 PyThreadState* __tstate = wxPyBeginAllowThreads();
1137 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1138
1139 wxPyEndAllowThreads(__tstate);
1140 if (PyErr_Occurred()) SWIG_fail;
1141 }
1142 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1143 {
1144 if (temp6)
1145 delete arg6;
1146 }
1147 return resultobj;
1148 fail:
1149 {
1150 if (temp6)
1151 delete arg6;
1152 }
1153 return NULL;
1154 }
1155
1156
1157 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1158 PyObject *resultobj;
1159 wxPanel *result;
1160 char *kwnames[] = {
1161 NULL
1162 };
1163
1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1165 {
1166 PyThreadState* __tstate = wxPyBeginAllowThreads();
1167 result = (wxPanel *)new wxPanel();
1168
1169 wxPyEndAllowThreads(__tstate);
1170 if (PyErr_Occurred()) SWIG_fail;
1171 }
1172 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1173 return resultobj;
1174 fail:
1175 return NULL;
1176 }
1177
1178
1179 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1180 PyObject *resultobj;
1181 wxPanel *arg1 = (wxPanel *) 0 ;
1182 wxWindow *arg2 = (wxWindow *) 0 ;
1183 int arg3 ;
1184 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1185 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1186 wxSize const &arg5_defvalue = wxDefaultSize ;
1187 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1188 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1189 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1190 wxString *arg7 = (wxString *) &arg7_defvalue ;
1191 bool result;
1192 wxPoint temp4 ;
1193 wxSize temp5 ;
1194 bool temp7 = False ;
1195 PyObject * obj0 = 0 ;
1196 PyObject * obj1 = 0 ;
1197 PyObject * obj2 = 0 ;
1198 PyObject * obj3 = 0 ;
1199 PyObject * obj4 = 0 ;
1200 PyObject * obj5 = 0 ;
1201 PyObject * obj6 = 0 ;
1202 char *kwnames[] = {
1203 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1204 };
1205
1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1209 {
1210 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
1211 if (PyErr_Occurred()) SWIG_fail;
1212 }
1213 if (obj3) {
1214 {
1215 arg4 = &temp4;
1216 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1217 }
1218 }
1219 if (obj4) {
1220 {
1221 arg5 = &temp5;
1222 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1223 }
1224 }
1225 if (obj5) {
1226 {
1227 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1228 if (PyErr_Occurred()) SWIG_fail;
1229 }
1230 }
1231 if (obj6) {
1232 {
1233 arg7 = wxString_in_helper(obj6);
1234 if (arg7 == NULL) SWIG_fail;
1235 temp7 = True;
1236 }
1237 }
1238 {
1239 PyThreadState* __tstate = wxPyBeginAllowThreads();
1240 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1241
1242 wxPyEndAllowThreads(__tstate);
1243 if (PyErr_Occurred()) SWIG_fail;
1244 }
1245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1246 {
1247 if (temp7)
1248 delete arg7;
1249 }
1250 return resultobj;
1251 fail:
1252 {
1253 if (temp7)
1254 delete arg7;
1255 }
1256 return NULL;
1257 }
1258
1259
1260 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1261 PyObject *resultobj;
1262 wxPanel *arg1 = (wxPanel *) 0 ;
1263 PyObject * obj0 = 0 ;
1264 char *kwnames[] = {
1265 (char *) "self", NULL
1266 };
1267
1268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1270 {
1271 PyThreadState* __tstate = wxPyBeginAllowThreads();
1272 (arg1)->InitDialog();
1273
1274 wxPyEndAllowThreads(__tstate);
1275 if (PyErr_Occurred()) SWIG_fail;
1276 }
1277 Py_INCREF(Py_None); resultobj = Py_None;
1278 return resultobj;
1279 fail:
1280 return NULL;
1281 }
1282
1283
1284 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1285 PyObject *obj;
1286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1287 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1288 Py_INCREF(obj);
1289 return Py_BuildValue((char *)"");
1290 }
1291 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1292 PyObject *resultobj;
1293 wxWindow *arg1 = (wxWindow *) 0 ;
1294 int arg2 = (int) (int)-1 ;
1295 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1296 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1297 wxSize const &arg4_defvalue = wxDefaultSize ;
1298 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1299 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1300 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1301 wxString *arg6 = (wxString *) &arg6_defvalue ;
1302 wxScrolledWindow *result;
1303 wxPoint temp3 ;
1304 wxSize temp4 ;
1305 bool temp6 = False ;
1306 PyObject * obj0 = 0 ;
1307 PyObject * obj1 = 0 ;
1308 PyObject * obj2 = 0 ;
1309 PyObject * obj3 = 0 ;
1310 PyObject * obj4 = 0 ;
1311 PyObject * obj5 = 0 ;
1312 char *kwnames[] = {
1313 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1314 };
1315
1316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1318 if (obj1) {
1319 {
1320 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
1321 if (PyErr_Occurred()) SWIG_fail;
1322 }
1323 }
1324 if (obj2) {
1325 {
1326 arg3 = &temp3;
1327 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1328 }
1329 }
1330 if (obj3) {
1331 {
1332 arg4 = &temp4;
1333 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1334 }
1335 }
1336 if (obj4) {
1337 {
1338 arg5 = (long) SWIG_PyObj_AsLong(obj4);
1339 if (PyErr_Occurred()) SWIG_fail;
1340 }
1341 }
1342 if (obj5) {
1343 {
1344 arg6 = wxString_in_helper(obj5);
1345 if (arg6 == NULL) SWIG_fail;
1346 temp6 = True;
1347 }
1348 }
1349 {
1350 PyThreadState* __tstate = wxPyBeginAllowThreads();
1351 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1352
1353 wxPyEndAllowThreads(__tstate);
1354 if (PyErr_Occurred()) SWIG_fail;
1355 }
1356 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1357 {
1358 if (temp6)
1359 delete arg6;
1360 }
1361 return resultobj;
1362 fail:
1363 {
1364 if (temp6)
1365 delete arg6;
1366 }
1367 return NULL;
1368 }
1369
1370
1371 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1372 PyObject *resultobj;
1373 wxScrolledWindow *result;
1374 char *kwnames[] = {
1375 NULL
1376 };
1377
1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1379 {
1380 PyThreadState* __tstate = wxPyBeginAllowThreads();
1381 result = (wxScrolledWindow *)new wxScrolledWindow();
1382
1383 wxPyEndAllowThreads(__tstate);
1384 if (PyErr_Occurred()) SWIG_fail;
1385 }
1386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1387 return resultobj;
1388 fail:
1389 return NULL;
1390 }
1391
1392
1393 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1394 PyObject *resultobj;
1395 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1396 wxWindow *arg2 = (wxWindow *) 0 ;
1397 int arg3 = (int) (int)-1 ;
1398 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1399 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1400 wxSize const &arg5_defvalue = wxDefaultSize ;
1401 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1402 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1403 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1404 wxString *arg7 = (wxString *) &arg7_defvalue ;
1405 bool result;
1406 wxPoint temp4 ;
1407 wxSize temp5 ;
1408 bool temp7 = False ;
1409 PyObject * obj0 = 0 ;
1410 PyObject * obj1 = 0 ;
1411 PyObject * obj2 = 0 ;
1412 PyObject * obj3 = 0 ;
1413 PyObject * obj4 = 0 ;
1414 PyObject * obj5 = 0 ;
1415 PyObject * obj6 = 0 ;
1416 char *kwnames[] = {
1417 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1418 };
1419
1420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1423 if (obj2) {
1424 {
1425 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
1426 if (PyErr_Occurred()) SWIG_fail;
1427 }
1428 }
1429 if (obj3) {
1430 {
1431 arg4 = &temp4;
1432 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1433 }
1434 }
1435 if (obj4) {
1436 {
1437 arg5 = &temp5;
1438 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1439 }
1440 }
1441 if (obj5) {
1442 {
1443 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1444 if (PyErr_Occurred()) SWIG_fail;
1445 }
1446 }
1447 if (obj6) {
1448 {
1449 arg7 = wxString_in_helper(obj6);
1450 if (arg7 == NULL) SWIG_fail;
1451 temp7 = True;
1452 }
1453 }
1454 {
1455 PyThreadState* __tstate = wxPyBeginAllowThreads();
1456 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1457
1458 wxPyEndAllowThreads(__tstate);
1459 if (PyErr_Occurred()) SWIG_fail;
1460 }
1461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1462 {
1463 if (temp7)
1464 delete arg7;
1465 }
1466 return resultobj;
1467 fail:
1468 {
1469 if (temp7)
1470 delete arg7;
1471 }
1472 return NULL;
1473 }
1474
1475
1476 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1477 PyObject *resultobj;
1478 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1479 int arg2 ;
1480 int arg3 ;
1481 int arg4 ;
1482 int arg5 ;
1483 int arg6 = (int) 0 ;
1484 int arg7 = (int) 0 ;
1485 bool arg8 = (bool) False ;
1486 PyObject * obj0 = 0 ;
1487 PyObject * obj1 = 0 ;
1488 PyObject * obj2 = 0 ;
1489 PyObject * obj3 = 0 ;
1490 PyObject * obj4 = 0 ;
1491 PyObject * obj5 = 0 ;
1492 PyObject * obj6 = 0 ;
1493 PyObject * obj7 = 0 ;
1494 char *kwnames[] = {
1495 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1496 };
1497
1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1500 {
1501 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1502 if (PyErr_Occurred()) SWIG_fail;
1503 }
1504 {
1505 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1506 if (PyErr_Occurred()) SWIG_fail;
1507 }
1508 {
1509 arg4 = (int) SWIG_PyObj_AsInt(obj3);
1510 if (PyErr_Occurred()) SWIG_fail;
1511 }
1512 {
1513 arg5 = (int) SWIG_PyObj_AsInt(obj4);
1514 if (PyErr_Occurred()) SWIG_fail;
1515 }
1516 if (obj5) {
1517 {
1518 arg6 = (int) SWIG_PyObj_AsInt(obj5);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 }
1522 if (obj6) {
1523 {
1524 arg7 = (int) SWIG_PyObj_AsInt(obj6);
1525 if (PyErr_Occurred()) SWIG_fail;
1526 }
1527 }
1528 if (obj7) {
1529 {
1530 arg8 = (bool) SWIG_PyObj_AsBool(obj7);
1531 if (PyErr_Occurred()) SWIG_fail;
1532 }
1533 }
1534 {
1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
1536 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1537
1538 wxPyEndAllowThreads(__tstate);
1539 if (PyErr_Occurred()) SWIG_fail;
1540 }
1541 Py_INCREF(Py_None); resultobj = Py_None;
1542 return resultobj;
1543 fail:
1544 return NULL;
1545 }
1546
1547
1548 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject *resultobj;
1550 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1551 int arg2 ;
1552 int arg3 ;
1553 PyObject * obj0 = 0 ;
1554 PyObject * obj1 = 0 ;
1555 PyObject * obj2 = 0 ;
1556 char *kwnames[] = {
1557 (char *) "self",(char *) "x",(char *) "y", NULL
1558 };
1559
1560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1562 {
1563 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1564 if (PyErr_Occurred()) SWIG_fail;
1565 }
1566 {
1567 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1568 if (PyErr_Occurred()) SWIG_fail;
1569 }
1570 {
1571 PyThreadState* __tstate = wxPyBeginAllowThreads();
1572 (arg1)->Scroll(arg2,arg3);
1573
1574 wxPyEndAllowThreads(__tstate);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 Py_INCREF(Py_None); resultobj = Py_None;
1578 return resultobj;
1579 fail:
1580 return NULL;
1581 }
1582
1583
1584 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject *resultobj;
1586 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1587 int arg2 ;
1588 int result;
1589 PyObject * obj0 = 0 ;
1590 PyObject * obj1 = 0 ;
1591 char *kwnames[] = {
1592 (char *) "self",(char *) "orient", NULL
1593 };
1594
1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1597 {
1598 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 }
1601 {
1602 PyThreadState* __tstate = wxPyBeginAllowThreads();
1603 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1604
1605 wxPyEndAllowThreads(__tstate);
1606 if (PyErr_Occurred()) SWIG_fail;
1607 }
1608 resultobj = SWIG_PyObj_FromInt((int)result);
1609 return resultobj;
1610 fail:
1611 return NULL;
1612 }
1613
1614
1615 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1616 PyObject *resultobj;
1617 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1618 int arg2 ;
1619 int arg3 ;
1620 PyObject * obj0 = 0 ;
1621 PyObject * obj1 = 0 ;
1622 PyObject * obj2 = 0 ;
1623 char *kwnames[] = {
1624 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1625 };
1626
1627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1629 {
1630 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1631 if (PyErr_Occurred()) SWIG_fail;
1632 }
1633 {
1634 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1635 if (PyErr_Occurred()) SWIG_fail;
1636 }
1637 {
1638 PyThreadState* __tstate = wxPyBeginAllowThreads();
1639 (arg1)->SetScrollPageSize(arg2,arg3);
1640
1641 wxPyEndAllowThreads(__tstate);
1642 if (PyErr_Occurred()) SWIG_fail;
1643 }
1644 Py_INCREF(Py_None); resultobj = Py_None;
1645 return resultobj;
1646 fail:
1647 return NULL;
1648 }
1649
1650
1651 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1652 PyObject *resultobj;
1653 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1654 int arg2 ;
1655 int arg3 ;
1656 PyObject * obj0 = 0 ;
1657 PyObject * obj1 = 0 ;
1658 PyObject * obj2 = 0 ;
1659 char *kwnames[] = {
1660 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1661 };
1662
1663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1665 {
1666 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1667 if (PyErr_Occurred()) SWIG_fail;
1668 }
1669 {
1670 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1671 if (PyErr_Occurred()) SWIG_fail;
1672 }
1673 {
1674 PyThreadState* __tstate = wxPyBeginAllowThreads();
1675 (arg1)->SetScrollRate(arg2,arg3);
1676
1677 wxPyEndAllowThreads(__tstate);
1678 if (PyErr_Occurred()) SWIG_fail;
1679 }
1680 Py_INCREF(Py_None); resultobj = Py_None;
1681 return resultobj;
1682 fail:
1683 return NULL;
1684 }
1685
1686
1687 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1688 PyObject *resultobj;
1689 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1690 int *arg2 = (int *) 0 ;
1691 int *arg3 = (int *) 0 ;
1692 int temp2 ;
1693 int temp3 ;
1694 PyObject * obj0 = 0 ;
1695 char *kwnames[] = {
1696 (char *) "self", NULL
1697 };
1698
1699 arg2 = &temp2;
1700 arg3 = &temp3;
1701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1703 {
1704 PyThreadState* __tstate = wxPyBeginAllowThreads();
1705 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1706
1707 wxPyEndAllowThreads(__tstate);
1708 if (PyErr_Occurred()) SWIG_fail;
1709 }
1710 Py_INCREF(Py_None); resultobj = Py_None;
1711 {
1712 PyObject *o = PyInt_FromLong((long) (*arg2));
1713 resultobj = t_output_helper(resultobj,o);
1714 }
1715 {
1716 PyObject *o = PyInt_FromLong((long) (*arg3));
1717 resultobj = t_output_helper(resultobj,o);
1718 }
1719 return resultobj;
1720 fail:
1721 return NULL;
1722 }
1723
1724
1725 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1726 PyObject *resultobj;
1727 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1728 bool arg2 ;
1729 bool arg3 ;
1730 PyObject * obj0 = 0 ;
1731 PyObject * obj1 = 0 ;
1732 PyObject * obj2 = 0 ;
1733 char *kwnames[] = {
1734 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1735 };
1736
1737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1739 {
1740 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
1741 if (PyErr_Occurred()) SWIG_fail;
1742 }
1743 {
1744 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 }
1747 {
1748 PyThreadState* __tstate = wxPyBeginAllowThreads();
1749 (arg1)->EnableScrolling(arg2,arg3);
1750
1751 wxPyEndAllowThreads(__tstate);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 }
1754 Py_INCREF(Py_None); resultobj = Py_None;
1755 return resultobj;
1756 fail:
1757 return NULL;
1758 }
1759
1760
1761 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1762 PyObject *resultobj;
1763 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1764 int *arg2 = (int *) 0 ;
1765 int *arg3 = (int *) 0 ;
1766 int temp2 ;
1767 int temp3 ;
1768 PyObject * obj0 = 0 ;
1769 char *kwnames[] = {
1770 (char *) "self", NULL
1771 };
1772
1773 arg2 = &temp2;
1774 arg3 = &temp3;
1775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1777 {
1778 PyThreadState* __tstate = wxPyBeginAllowThreads();
1779 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1780
1781 wxPyEndAllowThreads(__tstate);
1782 if (PyErr_Occurred()) SWIG_fail;
1783 }
1784 Py_INCREF(Py_None); resultobj = Py_None;
1785 {
1786 PyObject *o = PyInt_FromLong((long) (*arg2));
1787 resultobj = t_output_helper(resultobj,o);
1788 }
1789 {
1790 PyObject *o = PyInt_FromLong((long) (*arg3));
1791 resultobj = t_output_helper(resultobj,o);
1792 }
1793 return resultobj;
1794 fail:
1795 return NULL;
1796 }
1797
1798
1799 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1800 PyObject *resultobj;
1801 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1802 double arg2 ;
1803 double arg3 ;
1804 PyObject * obj0 = 0 ;
1805 PyObject * obj1 = 0 ;
1806 PyObject * obj2 = 0 ;
1807 char *kwnames[] = {
1808 (char *) "self",(char *) "xs",(char *) "ys", NULL
1809 };
1810
1811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1813 {
1814 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
1815 if (PyErr_Occurred()) SWIG_fail;
1816 }
1817 {
1818 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
1819 if (PyErr_Occurred()) SWIG_fail;
1820 }
1821 {
1822 PyThreadState* __tstate = wxPyBeginAllowThreads();
1823 (arg1)->SetScale(arg2,arg3);
1824
1825 wxPyEndAllowThreads(__tstate);
1826 if (PyErr_Occurred()) SWIG_fail;
1827 }
1828 Py_INCREF(Py_None); resultobj = Py_None;
1829 return resultobj;
1830 fail:
1831 return NULL;
1832 }
1833
1834
1835 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1836 PyObject *resultobj;
1837 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1838 double result;
1839 PyObject * obj0 = 0 ;
1840 char *kwnames[] = {
1841 (char *) "self", NULL
1842 };
1843
1844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1846 {
1847 PyThreadState* __tstate = wxPyBeginAllowThreads();
1848 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1849
1850 wxPyEndAllowThreads(__tstate);
1851 if (PyErr_Occurred()) SWIG_fail;
1852 }
1853 resultobj = SWIG_PyObj_FromDouble((double)result);
1854 return resultobj;
1855 fail:
1856 return NULL;
1857 }
1858
1859
1860 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1861 PyObject *resultobj;
1862 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1863 double result;
1864 PyObject * obj0 = 0 ;
1865 char *kwnames[] = {
1866 (char *) "self", NULL
1867 };
1868
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1871 {
1872 PyThreadState* __tstate = wxPyBeginAllowThreads();
1873 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1874
1875 wxPyEndAllowThreads(__tstate);
1876 if (PyErr_Occurred()) SWIG_fail;
1877 }
1878 resultobj = SWIG_PyObj_FromDouble((double)result);
1879 return resultobj;
1880 fail:
1881 return NULL;
1882 }
1883
1884
1885 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1886 PyObject *resultobj;
1887 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1888 wxPoint *arg2 = 0 ;
1889 wxPoint result;
1890 wxPoint temp2 ;
1891 PyObject * obj0 = 0 ;
1892 PyObject * obj1 = 0 ;
1893
1894 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1896 {
1897 arg2 = &temp2;
1898 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1899 }
1900 {
1901 PyThreadState* __tstate = wxPyBeginAllowThreads();
1902 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1903
1904 wxPyEndAllowThreads(__tstate);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 }
1907 {
1908 wxPoint * resultptr;
1909 resultptr = new wxPoint((wxPoint &) result);
1910 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1911 }
1912 return resultobj;
1913 fail:
1914 return NULL;
1915 }
1916
1917
1918 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1919 PyObject *resultobj;
1920 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1921 int arg2 ;
1922 int arg3 ;
1923 int *arg4 = (int *) 0 ;
1924 int *arg5 = (int *) 0 ;
1925 int temp4 ;
1926 int temp5 ;
1927 PyObject * obj0 = 0 ;
1928 PyObject * obj1 = 0 ;
1929 PyObject * obj2 = 0 ;
1930
1931 arg4 = &temp4;
1932 arg5 = &temp5;
1933 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
1934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1935 {
1936 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1937 if (PyErr_Occurred()) SWIG_fail;
1938 }
1939 {
1940 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 {
1944 PyThreadState* __tstate = wxPyBeginAllowThreads();
1945 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1946
1947 wxPyEndAllowThreads(__tstate);
1948 if (PyErr_Occurred()) SWIG_fail;
1949 }
1950 Py_INCREF(Py_None); resultobj = Py_None;
1951 {
1952 PyObject *o = PyInt_FromLong((long) (*arg4));
1953 resultobj = t_output_helper(resultobj,o);
1954 }
1955 {
1956 PyObject *o = PyInt_FromLong((long) (*arg5));
1957 resultobj = t_output_helper(resultobj,o);
1958 }
1959 return resultobj;
1960 fail:
1961 return NULL;
1962 }
1963
1964
1965 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1966 int argc;
1967 PyObject *argv[4];
1968 int ii;
1969
1970 argc = PyObject_Length(args);
1971 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1972 argv[ii] = PyTuple_GetItem(args,ii);
1973 }
1974 if (argc == 2) {
1975 int _v;
1976 {
1977 void *ptr;
1978 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1979 _v = 0;
1980 PyErr_Clear();
1981 } else {
1982 _v = 1;
1983 }
1984 }
1985 if (_v) {
1986 {
1987 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1988 }
1989 if (_v) {
1990 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1991 }
1992 }
1993 }
1994 if (argc == 3) {
1995 int _v;
1996 {
1997 void *ptr;
1998 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1999 _v = 0;
2000 PyErr_Clear();
2001 } else {
2002 _v = 1;
2003 }
2004 }
2005 if (_v) {
2006 {
2007 SWIG_PyObj_AsInt(argv[1]);
2008 if (PyErr_Occurred()) {
2009 _v = 0;
2010 PyErr_Clear();
2011 } else {
2012 _v = 1;
2013 }
2014 }
2015 if (_v) {
2016 {
2017 SWIG_PyObj_AsInt(argv[2]);
2018 if (PyErr_Occurred()) {
2019 _v = 0;
2020 PyErr_Clear();
2021 } else {
2022 _v = 1;
2023 }
2024 }
2025 if (_v) {
2026 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2027 }
2028 }
2029 }
2030 }
2031
2032 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2033 return NULL;
2034 }
2035
2036
2037 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2038 PyObject *resultobj;
2039 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2040 wxPoint *arg2 = 0 ;
2041 wxPoint result;
2042 wxPoint temp2 ;
2043 PyObject * obj0 = 0 ;
2044 PyObject * obj1 = 0 ;
2045
2046 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2048 {
2049 arg2 = &temp2;
2050 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2051 }
2052 {
2053 PyThreadState* __tstate = wxPyBeginAllowThreads();
2054 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2055
2056 wxPyEndAllowThreads(__tstate);
2057 if (PyErr_Occurred()) SWIG_fail;
2058 }
2059 {
2060 wxPoint * resultptr;
2061 resultptr = new wxPoint((wxPoint &) result);
2062 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2063 }
2064 return resultobj;
2065 fail:
2066 return NULL;
2067 }
2068
2069
2070 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2071 PyObject *resultobj;
2072 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2073 int arg2 ;
2074 int arg3 ;
2075 int *arg4 = (int *) 0 ;
2076 int *arg5 = (int *) 0 ;
2077 int temp4 ;
2078 int temp5 ;
2079 PyObject * obj0 = 0 ;
2080 PyObject * obj1 = 0 ;
2081 PyObject * obj2 = 0 ;
2082
2083 arg4 = &temp4;
2084 arg5 = &temp5;
2085 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2087 {
2088 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2089 if (PyErr_Occurred()) SWIG_fail;
2090 }
2091 {
2092 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 }
2095 {
2096 PyThreadState* __tstate = wxPyBeginAllowThreads();
2097 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2098
2099 wxPyEndAllowThreads(__tstate);
2100 if (PyErr_Occurred()) SWIG_fail;
2101 }
2102 Py_INCREF(Py_None); resultobj = Py_None;
2103 {
2104 PyObject *o = PyInt_FromLong((long) (*arg4));
2105 resultobj = t_output_helper(resultobj,o);
2106 }
2107 {
2108 PyObject *o = PyInt_FromLong((long) (*arg5));
2109 resultobj = t_output_helper(resultobj,o);
2110 }
2111 return resultobj;
2112 fail:
2113 return NULL;
2114 }
2115
2116
2117 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2118 int argc;
2119 PyObject *argv[4];
2120 int ii;
2121
2122 argc = PyObject_Length(args);
2123 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2124 argv[ii] = PyTuple_GetItem(args,ii);
2125 }
2126 if (argc == 2) {
2127 int _v;
2128 {
2129 void *ptr;
2130 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2131 _v = 0;
2132 PyErr_Clear();
2133 } else {
2134 _v = 1;
2135 }
2136 }
2137 if (_v) {
2138 {
2139 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2140 }
2141 if (_v) {
2142 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2143 }
2144 }
2145 }
2146 if (argc == 3) {
2147 int _v;
2148 {
2149 void *ptr;
2150 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2151 _v = 0;
2152 PyErr_Clear();
2153 } else {
2154 _v = 1;
2155 }
2156 }
2157 if (_v) {
2158 {
2159 SWIG_PyObj_AsInt(argv[1]);
2160 if (PyErr_Occurred()) {
2161 _v = 0;
2162 PyErr_Clear();
2163 } else {
2164 _v = 1;
2165 }
2166 }
2167 if (_v) {
2168 {
2169 SWIG_PyObj_AsInt(argv[2]);
2170 if (PyErr_Occurred()) {
2171 _v = 0;
2172 PyErr_Clear();
2173 } else {
2174 _v = 1;
2175 }
2176 }
2177 if (_v) {
2178 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2179 }
2180 }
2181 }
2182 }
2183
2184 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2185 return NULL;
2186 }
2187
2188
2189 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2190 PyObject *resultobj;
2191 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2192 PyObject * obj0 = 0 ;
2193 char *kwnames[] = {
2194 (char *) "self", NULL
2195 };
2196
2197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 (arg1)->AdjustScrollbars();
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
2206 Py_INCREF(Py_None); resultobj = Py_None;
2207 return resultobj;
2208 fail:
2209 return NULL;
2210 }
2211
2212
2213 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2214 PyObject *resultobj;
2215 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2216 wxScrollWinEvent *arg2 = 0 ;
2217 int result;
2218 PyObject * obj0 = 0 ;
2219 PyObject * obj1 = 0 ;
2220 char *kwnames[] = {
2221 (char *) "self",(char *) "event", NULL
2222 };
2223
2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2226 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2227 if (arg2 == NULL) {
2228 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2229 }
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 result = (int)(arg1)->CalcScrollInc(*arg2);
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 resultobj = SWIG_PyObj_FromInt((int)result);
2238 return resultobj;
2239 fail:
2240 return NULL;
2241 }
2242
2243
2244 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2245 PyObject *resultobj;
2246 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2247 wxWindow *arg2 = (wxWindow *) 0 ;
2248 PyObject * obj0 = 0 ;
2249 PyObject * obj1 = 0 ;
2250 char *kwnames[] = {
2251 (char *) "self",(char *) "target", NULL
2252 };
2253
2254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2256 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2257 {
2258 PyThreadState* __tstate = wxPyBeginAllowThreads();
2259 (arg1)->SetTargetWindow(arg2);
2260
2261 wxPyEndAllowThreads(__tstate);
2262 if (PyErr_Occurred()) SWIG_fail;
2263 }
2264 Py_INCREF(Py_None); resultobj = Py_None;
2265 return resultobj;
2266 fail:
2267 return NULL;
2268 }
2269
2270
2271 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2272 PyObject *resultobj;
2273 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2274 wxWindow *result;
2275 PyObject * obj0 = 0 ;
2276 char *kwnames[] = {
2277 (char *) "self", NULL
2278 };
2279
2280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2282 {
2283 PyThreadState* __tstate = wxPyBeginAllowThreads();
2284 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2285
2286 wxPyEndAllowThreads(__tstate);
2287 if (PyErr_Occurred()) SWIG_fail;
2288 }
2289 {
2290 resultobj = wxPyMake_wxObject(result);
2291 }
2292 return resultobj;
2293 fail:
2294 return NULL;
2295 }
2296
2297
2298 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2299 PyObject *resultobj;
2300 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2301 wxRect *arg2 = 0 ;
2302 wxRect temp2 ;
2303 PyObject * obj0 = 0 ;
2304 PyObject * obj1 = 0 ;
2305 char *kwnames[] = {
2306 (char *) "self",(char *) "rect", NULL
2307 };
2308
2309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2311 {
2312 arg2 = &temp2;
2313 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2314 }
2315 {
2316 PyThreadState* __tstate = wxPyBeginAllowThreads();
2317 (arg1)->SetTargetRect((wxRect const &)*arg2);
2318
2319 wxPyEndAllowThreads(__tstate);
2320 if (PyErr_Occurred()) SWIG_fail;
2321 }
2322 Py_INCREF(Py_None); resultobj = Py_None;
2323 return resultobj;
2324 fail:
2325 return NULL;
2326 }
2327
2328
2329 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2330 PyObject *resultobj;
2331 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2332 wxRect result;
2333 PyObject * obj0 = 0 ;
2334 char *kwnames[] = {
2335 (char *) "self", NULL
2336 };
2337
2338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2340 {
2341 PyThreadState* __tstate = wxPyBeginAllowThreads();
2342 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2343
2344 wxPyEndAllowThreads(__tstate);
2345 if (PyErr_Occurred()) SWIG_fail;
2346 }
2347 {
2348 wxRect * resultptr;
2349 resultptr = new wxRect((wxRect &) result);
2350 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2351 }
2352 return resultobj;
2353 fail:
2354 return NULL;
2355 }
2356
2357
2358 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2359 PyObject *obj;
2360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2361 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2362 Py_INCREF(obj);
2363 return Py_BuildValue((char *)"");
2364 }
2365 static int _wrap_FrameNameStr_set(PyObject *) {
2366 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2367 return 1;
2368 }
2369
2370
2371 static PyObject *_wrap_FrameNameStr_get() {
2372 PyObject *pyobj;
2373
2374 {
2375 #if wxUSE_UNICODE
2376 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2377 #else
2378 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2379 #endif
2380 }
2381 return pyobj;
2382 }
2383
2384
2385 static int _wrap_DialogNameStr_set(PyObject *) {
2386 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2387 return 1;
2388 }
2389
2390
2391 static PyObject *_wrap_DialogNameStr_get() {
2392 PyObject *pyobj;
2393
2394 {
2395 #if wxUSE_UNICODE
2396 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2397 #else
2398 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2399 #endif
2400 }
2401 return pyobj;
2402 }
2403
2404
2405 static int _wrap_StatusLineNameStr_set(PyObject *) {
2406 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2407 return 1;
2408 }
2409
2410
2411 static PyObject *_wrap_StatusLineNameStr_get() {
2412 PyObject *pyobj;
2413
2414 {
2415 #if wxUSE_UNICODE
2416 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2417 #else
2418 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2419 #endif
2420 }
2421 return pyobj;
2422 }
2423
2424
2425 static int _wrap_ToolBarNameStr_set(PyObject *) {
2426 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2427 return 1;
2428 }
2429
2430
2431 static PyObject *_wrap_ToolBarNameStr_get() {
2432 PyObject *pyobj;
2433
2434 {
2435 #if wxUSE_UNICODE
2436 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2437 #else
2438 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2439 #endif
2440 }
2441 return pyobj;
2442 }
2443
2444
2445 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2446 PyObject *resultobj;
2447 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2448 bool arg2 = (bool) True ;
2449 PyObject * obj0 = 0 ;
2450 PyObject * obj1 = 0 ;
2451 char *kwnames[] = {
2452 (char *) "self",(char *) "maximize", NULL
2453 };
2454
2455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2457 if (obj1) {
2458 {
2459 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2460 if (PyErr_Occurred()) SWIG_fail;
2461 }
2462 }
2463 {
2464 PyThreadState* __tstate = wxPyBeginAllowThreads();
2465 (arg1)->Maximize(arg2);
2466
2467 wxPyEndAllowThreads(__tstate);
2468 if (PyErr_Occurred()) SWIG_fail;
2469 }
2470 Py_INCREF(Py_None); resultobj = Py_None;
2471 return resultobj;
2472 fail:
2473 return NULL;
2474 }
2475
2476
2477 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2478 PyObject *resultobj;
2479 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2480 PyObject * obj0 = 0 ;
2481 char *kwnames[] = {
2482 (char *) "self", NULL
2483 };
2484
2485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 (arg1)->Restore();
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
2494 Py_INCREF(Py_None); resultobj = Py_None;
2495 return resultobj;
2496 fail:
2497 return NULL;
2498 }
2499
2500
2501 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2502 PyObject *resultobj;
2503 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2504 bool arg2 = (bool) True ;
2505 PyObject * obj0 = 0 ;
2506 PyObject * obj1 = 0 ;
2507 char *kwnames[] = {
2508 (char *) "self",(char *) "iconize", NULL
2509 };
2510
2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2513 if (obj1) {
2514 {
2515 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2516 if (PyErr_Occurred()) SWIG_fail;
2517 }
2518 }
2519 {
2520 PyThreadState* __tstate = wxPyBeginAllowThreads();
2521 (arg1)->Iconize(arg2);
2522
2523 wxPyEndAllowThreads(__tstate);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 }
2526 Py_INCREF(Py_None); resultobj = Py_None;
2527 return resultobj;
2528 fail:
2529 return NULL;
2530 }
2531
2532
2533 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2534 PyObject *resultobj;
2535 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2536 bool result;
2537 PyObject * obj0 = 0 ;
2538 char *kwnames[] = {
2539 (char *) "self", NULL
2540 };
2541
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2544 {
2545 PyThreadState* __tstate = wxPyBeginAllowThreads();
2546 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2547
2548 wxPyEndAllowThreads(__tstate);
2549 if (PyErr_Occurred()) SWIG_fail;
2550 }
2551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2552 return resultobj;
2553 fail:
2554 return NULL;
2555 }
2556
2557
2558 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2559 PyObject *resultobj;
2560 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2561 bool result;
2562 PyObject * obj0 = 0 ;
2563 char *kwnames[] = {
2564 (char *) "self", NULL
2565 };
2566
2567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2569 {
2570 PyThreadState* __tstate = wxPyBeginAllowThreads();
2571 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2572
2573 wxPyEndAllowThreads(__tstate);
2574 if (PyErr_Occurred()) SWIG_fail;
2575 }
2576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2577 return resultobj;
2578 fail:
2579 return NULL;
2580 }
2581
2582
2583 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2584 PyObject *resultobj;
2585 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2586 wxIcon result;
2587 PyObject * obj0 = 0 ;
2588 char *kwnames[] = {
2589 (char *) "self", NULL
2590 };
2591
2592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2594 {
2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
2596 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2597
2598 wxPyEndAllowThreads(__tstate);
2599 if (PyErr_Occurred()) SWIG_fail;
2600 }
2601 {
2602 wxIcon * resultptr;
2603 resultptr = new wxIcon((wxIcon &) result);
2604 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2605 }
2606 return resultobj;
2607 fail:
2608 return NULL;
2609 }
2610
2611
2612 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2613 PyObject *resultobj;
2614 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2615 wxIcon *arg2 = 0 ;
2616 PyObject * obj0 = 0 ;
2617 PyObject * obj1 = 0 ;
2618 char *kwnames[] = {
2619 (char *) "self",(char *) "icon", NULL
2620 };
2621
2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2624 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2625 if (arg2 == NULL) {
2626 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2627 }
2628 {
2629 PyThreadState* __tstate = wxPyBeginAllowThreads();
2630 (arg1)->SetIcon((wxIcon const &)*arg2);
2631
2632 wxPyEndAllowThreads(__tstate);
2633 if (PyErr_Occurred()) SWIG_fail;
2634 }
2635 Py_INCREF(Py_None); resultobj = Py_None;
2636 return resultobj;
2637 fail:
2638 return NULL;
2639 }
2640
2641
2642 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2643 PyObject *resultobj;
2644 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2645 wxIconBundle *arg2 = 0 ;
2646 PyObject * obj0 = 0 ;
2647 PyObject * obj1 = 0 ;
2648 char *kwnames[] = {
2649 (char *) "self",(char *) "icons", NULL
2650 };
2651
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2655 if (arg2 == NULL) {
2656 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2657 }
2658 {
2659 PyThreadState* __tstate = wxPyBeginAllowThreads();
2660 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2661
2662 wxPyEndAllowThreads(__tstate);
2663 if (PyErr_Occurred()) SWIG_fail;
2664 }
2665 Py_INCREF(Py_None); resultobj = Py_None;
2666 return resultobj;
2667 fail:
2668 return NULL;
2669 }
2670
2671
2672 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2673 PyObject *resultobj;
2674 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2675 bool arg2 ;
2676 long arg3 = (long) wxFULLSCREEN_ALL ;
2677 bool result;
2678 PyObject * obj0 = 0 ;
2679 PyObject * obj1 = 0 ;
2680 PyObject * obj2 = 0 ;
2681 char *kwnames[] = {
2682 (char *) "self",(char *) "show",(char *) "style", NULL
2683 };
2684
2685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2687 {
2688 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2689 if (PyErr_Occurred()) SWIG_fail;
2690 }
2691 if (obj2) {
2692 {
2693 arg3 = (long) SWIG_PyObj_AsLong(obj2);
2694 if (PyErr_Occurred()) SWIG_fail;
2695 }
2696 }
2697 {
2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
2699 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2700
2701 wxPyEndAllowThreads(__tstate);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2705 return resultobj;
2706 fail:
2707 return NULL;
2708 }
2709
2710
2711 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2712 PyObject *resultobj;
2713 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2714 bool result;
2715 PyObject * obj0 = 0 ;
2716 char *kwnames[] = {
2717 (char *) "self", NULL
2718 };
2719
2720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2722 {
2723 PyThreadState* __tstate = wxPyBeginAllowThreads();
2724 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2725
2726 wxPyEndAllowThreads(__tstate);
2727 if (PyErr_Occurred()) SWIG_fail;
2728 }
2729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2730 return resultobj;
2731 fail:
2732 return NULL;
2733 }
2734
2735
2736 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2737 PyObject *resultobj;
2738 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2739 wxString *arg2 = 0 ;
2740 bool temp2 = False ;
2741 PyObject * obj0 = 0 ;
2742 PyObject * obj1 = 0 ;
2743 char *kwnames[] = {
2744 (char *) "self",(char *) "title", NULL
2745 };
2746
2747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2749 {
2750 arg2 = wxString_in_helper(obj1);
2751 if (arg2 == NULL) SWIG_fail;
2752 temp2 = True;
2753 }
2754 {
2755 PyThreadState* __tstate = wxPyBeginAllowThreads();
2756 (arg1)->SetTitle((wxString const &)*arg2);
2757
2758 wxPyEndAllowThreads(__tstate);
2759 if (PyErr_Occurred()) SWIG_fail;
2760 }
2761 Py_INCREF(Py_None); resultobj = Py_None;
2762 {
2763 if (temp2)
2764 delete arg2;
2765 }
2766 return resultobj;
2767 fail:
2768 {
2769 if (temp2)
2770 delete arg2;
2771 }
2772 return NULL;
2773 }
2774
2775
2776 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2777 PyObject *resultobj;
2778 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2779 wxString result;
2780 PyObject * obj0 = 0 ;
2781 char *kwnames[] = {
2782 (char *) "self", NULL
2783 };
2784
2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2787 {
2788 PyThreadState* __tstate = wxPyBeginAllowThreads();
2789 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2790
2791 wxPyEndAllowThreads(__tstate);
2792 if (PyErr_Occurred()) SWIG_fail;
2793 }
2794 {
2795 #if wxUSE_UNICODE
2796 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2797 #else
2798 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2799 #endif
2800 }
2801 return resultobj;
2802 fail:
2803 return NULL;
2804 }
2805
2806
2807 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject *resultobj;
2809 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2810 wxRegion *arg2 = 0 ;
2811 bool result;
2812 PyObject * obj0 = 0 ;
2813 PyObject * obj1 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "self",(char *) "region", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2820 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2821 if (arg2 == NULL) {
2822 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2823 }
2824 {
2825 PyThreadState* __tstate = wxPyBeginAllowThreads();
2826 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2827
2828 wxPyEndAllowThreads(__tstate);
2829 if (PyErr_Occurred()) SWIG_fail;
2830 }
2831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2832 return resultobj;
2833 fail:
2834 return NULL;
2835 }
2836
2837
2838 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2839 PyObject *obj;
2840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2841 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2842 Py_INCREF(obj);
2843 return Py_BuildValue((char *)"");
2844 }
2845 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2846 PyObject *resultobj;
2847 wxWindow *arg1 = (wxWindow *) 0 ;
2848 int arg2 ;
2849 wxString *arg3 = 0 ;
2850 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2851 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2852 wxSize const &arg5_defvalue = wxDefaultSize ;
2853 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2854 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2855 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2856 wxString *arg7 = (wxString *) &arg7_defvalue ;
2857 wxFrame *result;
2858 bool temp3 = False ;
2859 wxPoint temp4 ;
2860 wxSize temp5 ;
2861 bool temp7 = False ;
2862 PyObject * obj0 = 0 ;
2863 PyObject * obj1 = 0 ;
2864 PyObject * obj2 = 0 ;
2865 PyObject * obj3 = 0 ;
2866 PyObject * obj4 = 0 ;
2867 PyObject * obj5 = 0 ;
2868 PyObject * obj6 = 0 ;
2869 char *kwnames[] = {
2870 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2875 {
2876 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2877 if (PyErr_Occurred()) SWIG_fail;
2878 }
2879 {
2880 arg3 = wxString_in_helper(obj2);
2881 if (arg3 == NULL) SWIG_fail;
2882 temp3 = True;
2883 }
2884 if (obj3) {
2885 {
2886 arg4 = &temp4;
2887 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2888 }
2889 }
2890 if (obj4) {
2891 {
2892 arg5 = &temp5;
2893 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2894 }
2895 }
2896 if (obj5) {
2897 {
2898 arg6 = (long) SWIG_PyObj_AsLong(obj5);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
2901 }
2902 if (obj6) {
2903 {
2904 arg7 = wxString_in_helper(obj6);
2905 if (arg7 == NULL) SWIG_fail;
2906 temp7 = True;
2907 }
2908 }
2909 {
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 {
2917 resultobj = wxPyMake_wxObject(result);
2918 }
2919 {
2920 if (temp3)
2921 delete arg3;
2922 }
2923 {
2924 if (temp7)
2925 delete arg7;
2926 }
2927 return resultobj;
2928 fail:
2929 {
2930 if (temp3)
2931 delete arg3;
2932 }
2933 {
2934 if (temp7)
2935 delete arg7;
2936 }
2937 return NULL;
2938 }
2939
2940
2941 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2942 PyObject *resultobj;
2943 wxFrame *result;
2944 char *kwnames[] = {
2945 NULL
2946 };
2947
2948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2949 {
2950 PyThreadState* __tstate = wxPyBeginAllowThreads();
2951 result = (wxFrame *)new wxFrame();
2952
2953 wxPyEndAllowThreads(__tstate);
2954 if (PyErr_Occurred()) SWIG_fail;
2955 }
2956 {
2957 resultobj = wxPyMake_wxObject(result);
2958 }
2959 return resultobj;
2960 fail:
2961 return NULL;
2962 }
2963
2964
2965 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2966 PyObject *resultobj;
2967 wxFrame *arg1 = (wxFrame *) 0 ;
2968 wxWindow *arg2 = (wxWindow *) 0 ;
2969 int arg3 ;
2970 wxString *arg4 = 0 ;
2971 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2972 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2973 wxSize const &arg6_defvalue = wxDefaultSize ;
2974 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2975 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2976 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2977 wxString *arg8 = (wxString *) &arg8_defvalue ;
2978 bool result;
2979 bool temp4 = False ;
2980 wxPoint temp5 ;
2981 wxSize temp6 ;
2982 bool temp8 = False ;
2983 PyObject * obj0 = 0 ;
2984 PyObject * obj1 = 0 ;
2985 PyObject * obj2 = 0 ;
2986 PyObject * obj3 = 0 ;
2987 PyObject * obj4 = 0 ;
2988 PyObject * obj5 = 0 ;
2989 PyObject * obj6 = 0 ;
2990 PyObject * obj7 = 0 ;
2991 char *kwnames[] = {
2992 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2993 };
2994
2995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2998 {
2999 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 {
3003 arg4 = wxString_in_helper(obj3);
3004 if (arg4 == NULL) SWIG_fail;
3005 temp4 = True;
3006 }
3007 if (obj4) {
3008 {
3009 arg5 = &temp5;
3010 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3011 }
3012 }
3013 if (obj5) {
3014 {
3015 arg6 = &temp6;
3016 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3017 }
3018 }
3019 if (obj6) {
3020 {
3021 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 }
3024 }
3025 if (obj7) {
3026 {
3027 arg8 = wxString_in_helper(obj7);
3028 if (arg8 == NULL) SWIG_fail;
3029 temp8 = True;
3030 }
3031 }
3032 {
3033 PyThreadState* __tstate = wxPyBeginAllowThreads();
3034 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3035
3036 wxPyEndAllowThreads(__tstate);
3037 if (PyErr_Occurred()) SWIG_fail;
3038 }
3039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3040 {
3041 if (temp4)
3042 delete arg4;
3043 }
3044 {
3045 if (temp8)
3046 delete arg8;
3047 }
3048 return resultobj;
3049 fail:
3050 {
3051 if (temp4)
3052 delete arg4;
3053 }
3054 {
3055 if (temp8)
3056 delete arg8;
3057 }
3058 return NULL;
3059 }
3060
3061
3062 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3063 PyObject *resultobj;
3064 wxFrame *arg1 = (wxFrame *) 0 ;
3065 wxPoint result;
3066 PyObject * obj0 = 0 ;
3067 char *kwnames[] = {
3068 (char *) "self", NULL
3069 };
3070
3071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3073 {
3074 PyThreadState* __tstate = wxPyBeginAllowThreads();
3075 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3076
3077 wxPyEndAllowThreads(__tstate);
3078 if (PyErr_Occurred()) SWIG_fail;
3079 }
3080 {
3081 wxPoint * resultptr;
3082 resultptr = new wxPoint((wxPoint &) result);
3083 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3084 }
3085 return resultobj;
3086 fail:
3087 return NULL;
3088 }
3089
3090
3091 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3092 PyObject *resultobj;
3093 wxFrame *arg1 = (wxFrame *) 0 ;
3094 PyObject * obj0 = 0 ;
3095 char *kwnames[] = {
3096 (char *) "self", NULL
3097 };
3098
3099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3101 {
3102 PyThreadState* __tstate = wxPyBeginAllowThreads();
3103 (arg1)->SendSizeEvent();
3104
3105 wxPyEndAllowThreads(__tstate);
3106 if (PyErr_Occurred()) SWIG_fail;
3107 }
3108 Py_INCREF(Py_None); resultobj = Py_None;
3109 return resultobj;
3110 fail:
3111 return NULL;
3112 }
3113
3114
3115 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3116 PyObject *resultobj;
3117 wxFrame *arg1 = (wxFrame *) 0 ;
3118 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3119 PyObject * obj0 = 0 ;
3120 PyObject * obj1 = 0 ;
3121 char *kwnames[] = {
3122 (char *) "self",(char *) "menubar", NULL
3123 };
3124
3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3127 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3128 {
3129 PyThreadState* __tstate = wxPyBeginAllowThreads();
3130 (arg1)->SetMenuBar(arg2);
3131
3132 wxPyEndAllowThreads(__tstate);
3133 if (PyErr_Occurred()) SWIG_fail;
3134 }
3135 Py_INCREF(Py_None); resultobj = Py_None;
3136 return resultobj;
3137 fail:
3138 return NULL;
3139 }
3140
3141
3142 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3143 PyObject *resultobj;
3144 wxFrame *arg1 = (wxFrame *) 0 ;
3145 wxMenuBar *result;
3146 PyObject * obj0 = 0 ;
3147 char *kwnames[] = {
3148 (char *) "self", NULL
3149 };
3150
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3153 {
3154 PyThreadState* __tstate = wxPyBeginAllowThreads();
3155 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3156
3157 wxPyEndAllowThreads(__tstate);
3158 if (PyErr_Occurred()) SWIG_fail;
3159 }
3160 {
3161 resultobj = wxPyMake_wxObject(result);
3162 }
3163 return resultobj;
3164 fail:
3165 return NULL;
3166 }
3167
3168
3169 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3170 PyObject *resultobj;
3171 wxFrame *arg1 = (wxFrame *) 0 ;
3172 int arg2 ;
3173 bool result;
3174 PyObject * obj0 = 0 ;
3175 PyObject * obj1 = 0 ;
3176 char *kwnames[] = {
3177 (char *) "self",(char *) "winid", NULL
3178 };
3179
3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3182 {
3183 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3184 if (PyErr_Occurred()) SWIG_fail;
3185 }
3186 {
3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
3188 result = (bool)(arg1)->ProcessCommand(arg2);
3189
3190 wxPyEndAllowThreads(__tstate);
3191 if (PyErr_Occurred()) SWIG_fail;
3192 }
3193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3194 return resultobj;
3195 fail:
3196 return NULL;
3197 }
3198
3199
3200 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3201 PyObject *resultobj;
3202 wxFrame *arg1 = (wxFrame *) 0 ;
3203 int arg2 = (int) 1 ;
3204 long arg3 = (long) wxST_SIZEGRIP ;
3205 int arg4 = (int) 0 ;
3206 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3207 wxString *arg5 = (wxString *) &arg5_defvalue ;
3208 wxStatusBar *result;
3209 bool temp5 = False ;
3210 PyObject * obj0 = 0 ;
3211 PyObject * obj1 = 0 ;
3212 PyObject * obj2 = 0 ;
3213 PyObject * obj3 = 0 ;
3214 PyObject * obj4 = 0 ;
3215 char *kwnames[] = {
3216 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3217 };
3218
3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3221 if (obj1) {
3222 {
3223 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 }
3226 }
3227 if (obj2) {
3228 {
3229 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 }
3233 if (obj3) {
3234 {
3235 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3236 if (PyErr_Occurred()) SWIG_fail;
3237 }
3238 }
3239 if (obj4) {
3240 {
3241 arg5 = wxString_in_helper(obj4);
3242 if (arg5 == NULL) SWIG_fail;
3243 temp5 = True;
3244 }
3245 }
3246 {
3247 PyThreadState* __tstate = wxPyBeginAllowThreads();
3248 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3249
3250 wxPyEndAllowThreads(__tstate);
3251 if (PyErr_Occurred()) SWIG_fail;
3252 }
3253 {
3254 resultobj = wxPyMake_wxObject(result);
3255 }
3256 {
3257 if (temp5)
3258 delete arg5;
3259 }
3260 return resultobj;
3261 fail:
3262 {
3263 if (temp5)
3264 delete arg5;
3265 }
3266 return NULL;
3267 }
3268
3269
3270 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3271 PyObject *resultobj;
3272 wxFrame *arg1 = (wxFrame *) 0 ;
3273 wxStatusBar *result;
3274 PyObject * obj0 = 0 ;
3275 char *kwnames[] = {
3276 (char *) "self", NULL
3277 };
3278
3279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3281 {
3282 PyThreadState* __tstate = wxPyBeginAllowThreads();
3283 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3284
3285 wxPyEndAllowThreads(__tstate);
3286 if (PyErr_Occurred()) SWIG_fail;
3287 }
3288 {
3289 resultobj = wxPyMake_wxObject(result);
3290 }
3291 return resultobj;
3292 fail:
3293 return NULL;
3294 }
3295
3296
3297 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3298 PyObject *resultobj;
3299 wxFrame *arg1 = (wxFrame *) 0 ;
3300 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3301 PyObject * obj0 = 0 ;
3302 PyObject * obj1 = 0 ;
3303 char *kwnames[] = {
3304 (char *) "self",(char *) "statBar", NULL
3305 };
3306
3307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3309 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3310 {
3311 PyThreadState* __tstate = wxPyBeginAllowThreads();
3312 (arg1)->SetStatusBar(arg2);
3313
3314 wxPyEndAllowThreads(__tstate);
3315 if (PyErr_Occurred()) SWIG_fail;
3316 }
3317 Py_INCREF(Py_None); resultobj = Py_None;
3318 return resultobj;
3319 fail:
3320 return NULL;
3321 }
3322
3323
3324 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3325 PyObject *resultobj;
3326 wxFrame *arg1 = (wxFrame *) 0 ;
3327 wxString *arg2 = 0 ;
3328 int arg3 = (int) 0 ;
3329 bool temp2 = False ;
3330 PyObject * obj0 = 0 ;
3331 PyObject * obj1 = 0 ;
3332 PyObject * obj2 = 0 ;
3333 char *kwnames[] = {
3334 (char *) "self",(char *) "text",(char *) "number", NULL
3335 };
3336
3337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3339 {
3340 arg2 = wxString_in_helper(obj1);
3341 if (arg2 == NULL) SWIG_fail;
3342 temp2 = True;
3343 }
3344 if (obj2) {
3345 {
3346 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3347 if (PyErr_Occurred()) SWIG_fail;
3348 }
3349 }
3350 {
3351 PyThreadState* __tstate = wxPyBeginAllowThreads();
3352 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3353
3354 wxPyEndAllowThreads(__tstate);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 }
3357 Py_INCREF(Py_None); resultobj = Py_None;
3358 {
3359 if (temp2)
3360 delete arg2;
3361 }
3362 return resultobj;
3363 fail:
3364 {
3365 if (temp2)
3366 delete arg2;
3367 }
3368 return NULL;
3369 }
3370
3371
3372 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3373 PyObject *resultobj;
3374 wxFrame *arg1 = (wxFrame *) 0 ;
3375 int arg2 ;
3376 int *arg3 = (int *) 0 ;
3377 PyObject * obj0 = 0 ;
3378 PyObject * obj1 = 0 ;
3379 char *kwnames[] = {
3380 (char *) "self",(char *) "widths", NULL
3381 };
3382
3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3385 {
3386 arg2 = PyList_Size(obj1);
3387 arg3 = int_LIST_helper(obj1);
3388 if (arg3 == NULL) SWIG_fail;
3389 }
3390 {
3391 PyThreadState* __tstate = wxPyBeginAllowThreads();
3392 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3393
3394 wxPyEndAllowThreads(__tstate);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 }
3397 Py_INCREF(Py_None); resultobj = Py_None;
3398 {
3399 if (arg3) delete [] arg3;
3400 }
3401 return resultobj;
3402 fail:
3403 {
3404 if (arg3) delete [] arg3;
3405 }
3406 return NULL;
3407 }
3408
3409
3410 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3411 PyObject *resultobj;
3412 wxFrame *arg1 = (wxFrame *) 0 ;
3413 wxString *arg2 = 0 ;
3414 int arg3 = (int) 0 ;
3415 bool temp2 = False ;
3416 PyObject * obj0 = 0 ;
3417 PyObject * obj1 = 0 ;
3418 PyObject * obj2 = 0 ;
3419 char *kwnames[] = {
3420 (char *) "self",(char *) "text",(char *) "number", NULL
3421 };
3422
3423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3425 {
3426 arg2 = wxString_in_helper(obj1);
3427 if (arg2 == NULL) SWIG_fail;
3428 temp2 = True;
3429 }
3430 if (obj2) {
3431 {
3432 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3433 if (PyErr_Occurred()) SWIG_fail;
3434 }
3435 }
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 Py_INCREF(Py_None); resultobj = Py_None;
3444 {
3445 if (temp2)
3446 delete arg2;
3447 }
3448 return resultobj;
3449 fail:
3450 {
3451 if (temp2)
3452 delete arg2;
3453 }
3454 return NULL;
3455 }
3456
3457
3458 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3459 PyObject *resultobj;
3460 wxFrame *arg1 = (wxFrame *) 0 ;
3461 int arg2 = (int) 0 ;
3462 PyObject * obj0 = 0 ;
3463 PyObject * obj1 = 0 ;
3464 char *kwnames[] = {
3465 (char *) "self",(char *) "number", NULL
3466 };
3467
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3470 if (obj1) {
3471 {
3472 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 }
3476 {
3477 PyThreadState* __tstate = wxPyBeginAllowThreads();
3478 (arg1)->PopStatusText(arg2);
3479
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 Py_INCREF(Py_None); resultobj = Py_None;
3484 return resultobj;
3485 fail:
3486 return NULL;
3487 }
3488
3489
3490 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3491 PyObject *resultobj;
3492 wxFrame *arg1 = (wxFrame *) 0 ;
3493 int arg2 ;
3494 PyObject * obj0 = 0 ;
3495 PyObject * obj1 = 0 ;
3496 char *kwnames[] = {
3497 (char *) "self",(char *) "n", NULL
3498 };
3499
3500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3502 {
3503 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
3506 {
3507 PyThreadState* __tstate = wxPyBeginAllowThreads();
3508 (arg1)->SetStatusBarPane(arg2);
3509
3510 wxPyEndAllowThreads(__tstate);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 Py_INCREF(Py_None); resultobj = Py_None;
3514 return resultobj;
3515 fail:
3516 return NULL;
3517 }
3518
3519
3520 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3521 PyObject *resultobj;
3522 wxFrame *arg1 = (wxFrame *) 0 ;
3523 int result;
3524 PyObject * obj0 = 0 ;
3525 char *kwnames[] = {
3526 (char *) "self", NULL
3527 };
3528
3529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3531 {
3532 PyThreadState* __tstate = wxPyBeginAllowThreads();
3533 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3534
3535 wxPyEndAllowThreads(__tstate);
3536 if (PyErr_Occurred()) SWIG_fail;
3537 }
3538 resultobj = SWIG_PyObj_FromInt((int)result);
3539 return resultobj;
3540 fail:
3541 return NULL;
3542 }
3543
3544
3545 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3546 PyObject *resultobj;
3547 wxFrame *arg1 = (wxFrame *) 0 ;
3548 long arg2 = (long) -1 ;
3549 int arg3 = (int) -1 ;
3550 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3551 wxString *arg4 = (wxString *) &arg4_defvalue ;
3552 wxToolBar *result;
3553 bool temp4 = False ;
3554 PyObject * obj0 = 0 ;
3555 PyObject * obj1 = 0 ;
3556 PyObject * obj2 = 0 ;
3557 PyObject * obj3 = 0 ;
3558 char *kwnames[] = {
3559 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3560 };
3561
3562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3564 if (obj1) {
3565 {
3566 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 }
3570 if (obj2) {
3571 {
3572 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 }
3576 if (obj3) {
3577 {
3578 arg4 = wxString_in_helper(obj3);
3579 if (arg4 == NULL) SWIG_fail;
3580 temp4 = True;
3581 }
3582 }
3583 {
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3586
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 {
3591 resultobj = wxPyMake_wxObject(result);
3592 }
3593 {
3594 if (temp4)
3595 delete arg4;
3596 }
3597 return resultobj;
3598 fail:
3599 {
3600 if (temp4)
3601 delete arg4;
3602 }
3603 return NULL;
3604 }
3605
3606
3607 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj;
3609 wxFrame *arg1 = (wxFrame *) 0 ;
3610 wxToolBar *result;
3611 PyObject * obj0 = 0 ;
3612 char *kwnames[] = {
3613 (char *) "self", NULL
3614 };
3615
3616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3618 {
3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
3620 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3621
3622 wxPyEndAllowThreads(__tstate);
3623 if (PyErr_Occurred()) SWIG_fail;
3624 }
3625 {
3626 resultobj = wxPyMake_wxObject(result);
3627 }
3628 return resultobj;
3629 fail:
3630 return NULL;
3631 }
3632
3633
3634 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3635 PyObject *resultobj;
3636 wxFrame *arg1 = (wxFrame *) 0 ;
3637 wxToolBar *arg2 = (wxToolBar *) 0 ;
3638 PyObject * obj0 = 0 ;
3639 PyObject * obj1 = 0 ;
3640 char *kwnames[] = {
3641 (char *) "self",(char *) "toolbar", NULL
3642 };
3643
3644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3646 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 (arg1)->SetToolBar(arg2);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 Py_INCREF(Py_None); resultobj = Py_None;
3655 return resultobj;
3656 fail:
3657 return NULL;
3658 }
3659
3660
3661 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3662 PyObject *resultobj;
3663 wxFrame *arg1 = (wxFrame *) 0 ;
3664 wxString *arg2 = 0 ;
3665 bool arg3 ;
3666 bool temp2 = False ;
3667 PyObject * obj0 = 0 ;
3668 PyObject * obj1 = 0 ;
3669 PyObject * obj2 = 0 ;
3670 char *kwnames[] = {
3671 (char *) "self",(char *) "text",(char *) "show", NULL
3672 };
3673
3674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3676 {
3677 arg2 = wxString_in_helper(obj1);
3678 if (arg2 == NULL) SWIG_fail;
3679 temp2 = True;
3680 }
3681 {
3682 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3683 if (PyErr_Occurred()) SWIG_fail;
3684 }
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 Py_INCREF(Py_None); resultobj = Py_None;
3693 {
3694 if (temp2)
3695 delete arg2;
3696 }
3697 return resultobj;
3698 fail:
3699 {
3700 if (temp2)
3701 delete arg2;
3702 }
3703 return NULL;
3704 }
3705
3706
3707 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3708 PyObject *resultobj;
3709 wxFrame *arg1 = (wxFrame *) 0 ;
3710 wxMenu *arg2 = (wxMenu *) NULL ;
3711 PyObject * obj0 = 0 ;
3712 PyObject * obj1 = 0 ;
3713 char *kwnames[] = {
3714 (char *) "self",(char *) "menu", NULL
3715 };
3716
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3719 if (obj1) {
3720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3721 }
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
3724 (arg1)->DoMenuUpdates(arg2);
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 Py_INCREF(Py_None); resultobj = Py_None;
3730 return resultobj;
3731 fail:
3732 return NULL;
3733 }
3734
3735
3736 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3737 PyObject *obj;
3738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3739 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3740 Py_INCREF(obj);
3741 return Py_BuildValue((char *)"");
3742 }
3743 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3744 PyObject *resultobj;
3745 wxWindow *arg1 = (wxWindow *) 0 ;
3746 int arg2 ;
3747 wxString *arg3 = 0 ;
3748 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3749 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3750 wxSize const &arg5_defvalue = wxDefaultSize ;
3751 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3752 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3753 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3754 wxString *arg7 = (wxString *) &arg7_defvalue ;
3755 wxDialog *result;
3756 bool temp3 = False ;
3757 wxPoint temp4 ;
3758 wxSize temp5 ;
3759 bool temp7 = False ;
3760 PyObject * obj0 = 0 ;
3761 PyObject * obj1 = 0 ;
3762 PyObject * obj2 = 0 ;
3763 PyObject * obj3 = 0 ;
3764 PyObject * obj4 = 0 ;
3765 PyObject * obj5 = 0 ;
3766 PyObject * obj6 = 0 ;
3767 char *kwnames[] = {
3768 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3769 };
3770
3771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3773 {
3774 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
3775 if (PyErr_Occurred()) SWIG_fail;
3776 }
3777 {
3778 arg3 = wxString_in_helper(obj2);
3779 if (arg3 == NULL) SWIG_fail;
3780 temp3 = True;
3781 }
3782 if (obj3) {
3783 {
3784 arg4 = &temp4;
3785 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3786 }
3787 }
3788 if (obj4) {
3789 {
3790 arg5 = &temp5;
3791 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3792 }
3793 }
3794 if (obj5) {
3795 {
3796 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3797 if (PyErr_Occurred()) SWIG_fail;
3798 }
3799 }
3800 if (obj6) {
3801 {
3802 arg7 = wxString_in_helper(obj6);
3803 if (arg7 == NULL) SWIG_fail;
3804 temp7 = True;
3805 }
3806 }
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
3809 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3810
3811 wxPyEndAllowThreads(__tstate);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3815 {
3816 if (temp3)
3817 delete arg3;
3818 }
3819 {
3820 if (temp7)
3821 delete arg7;
3822 }
3823 return resultobj;
3824 fail:
3825 {
3826 if (temp3)
3827 delete arg3;
3828 }
3829 {
3830 if (temp7)
3831 delete arg7;
3832 }
3833 return NULL;
3834 }
3835
3836
3837 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3838 PyObject *resultobj;
3839 wxDialog *result;
3840 char *kwnames[] = {
3841 NULL
3842 };
3843
3844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 result = (wxDialog *)new wxDialog();
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3853 return resultobj;
3854 fail:
3855 return NULL;
3856 }
3857
3858
3859 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3860 PyObject *resultobj;
3861 wxDialog *arg1 = (wxDialog *) 0 ;
3862 wxWindow *arg2 = (wxWindow *) 0 ;
3863 int arg3 ;
3864 wxString *arg4 = 0 ;
3865 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3866 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3867 wxSize const &arg6_defvalue = wxDefaultSize ;
3868 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3869 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3870 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3871 wxString *arg8 = (wxString *) &arg8_defvalue ;
3872 bool result;
3873 bool temp4 = False ;
3874 wxPoint temp5 ;
3875 wxSize temp6 ;
3876 bool temp8 = False ;
3877 PyObject * obj0 = 0 ;
3878 PyObject * obj1 = 0 ;
3879 PyObject * obj2 = 0 ;
3880 PyObject * obj3 = 0 ;
3881 PyObject * obj4 = 0 ;
3882 PyObject * obj5 = 0 ;
3883 PyObject * obj6 = 0 ;
3884 PyObject * obj7 = 0 ;
3885 char *kwnames[] = {
3886 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3887 };
3888
3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3891 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3892 {
3893 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 {
3897 arg4 = wxString_in_helper(obj3);
3898 if (arg4 == NULL) SWIG_fail;
3899 temp4 = True;
3900 }
3901 if (obj4) {
3902 {
3903 arg5 = &temp5;
3904 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3905 }
3906 }
3907 if (obj5) {
3908 {
3909 arg6 = &temp6;
3910 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3911 }
3912 }
3913 if (obj6) {
3914 {
3915 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 }
3919 if (obj7) {
3920 {
3921 arg8 = wxString_in_helper(obj7);
3922 if (arg8 == NULL) SWIG_fail;
3923 temp8 = True;
3924 }
3925 }
3926 {
3927 PyThreadState* __tstate = wxPyBeginAllowThreads();
3928 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3929
3930 wxPyEndAllowThreads(__tstate);
3931 if (PyErr_Occurred()) SWIG_fail;
3932 }
3933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3934 {
3935 if (temp4)
3936 delete arg4;
3937 }
3938 {
3939 if (temp8)
3940 delete arg8;
3941 }
3942 return resultobj;
3943 fail:
3944 {
3945 if (temp4)
3946 delete arg4;
3947 }
3948 {
3949 if (temp8)
3950 delete arg8;
3951 }
3952 return NULL;
3953 }
3954
3955
3956 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3957 PyObject *resultobj;
3958 wxDialog *arg1 = (wxDialog *) 0 ;
3959 int arg2 ;
3960 PyObject * obj0 = 0 ;
3961 PyObject * obj1 = 0 ;
3962 char *kwnames[] = {
3963 (char *) "self",(char *) "returnCode", NULL
3964 };
3965
3966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
3967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3968 {
3969 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3970 if (PyErr_Occurred()) SWIG_fail;
3971 }
3972 {
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
3974 (arg1)->SetReturnCode(arg2);
3975
3976 wxPyEndAllowThreads(__tstate);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 }
3979 Py_INCREF(Py_None); resultobj = Py_None;
3980 return resultobj;
3981 fail:
3982 return NULL;
3983 }
3984
3985
3986 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3987 PyObject *resultobj;
3988 wxDialog *arg1 = (wxDialog *) 0 ;
3989 int result;
3990 PyObject * obj0 = 0 ;
3991 char *kwnames[] = {
3992 (char *) "self", NULL
3993 };
3994
3995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3997 {
3998 PyThreadState* __tstate = wxPyBeginAllowThreads();
3999 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4000
4001 wxPyEndAllowThreads(__tstate);
4002 if (PyErr_Occurred()) SWIG_fail;
4003 }
4004 resultobj = SWIG_PyObj_FromInt((int)result);
4005 return resultobj;
4006 fail:
4007 return NULL;
4008 }
4009
4010
4011 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4012 PyObject *resultobj;
4013 wxDialog *arg1 = (wxDialog *) 0 ;
4014 wxString *arg2 = 0 ;
4015 wxSizer *result;
4016 bool temp2 = False ;
4017 PyObject * obj0 = 0 ;
4018 PyObject * obj1 = 0 ;
4019 char *kwnames[] = {
4020 (char *) "self",(char *) "message", NULL
4021 };
4022
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4025 {
4026 arg2 = wxString_in_helper(obj1);
4027 if (arg2 == NULL) SWIG_fail;
4028 temp2 = True;
4029 }
4030 {
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 {
4038 resultobj = wxPyMake_wxSizer(result);
4039 }
4040 {
4041 if (temp2)
4042 delete arg2;
4043 }
4044 return resultobj;
4045 fail:
4046 {
4047 if (temp2)
4048 delete arg2;
4049 }
4050 return NULL;
4051 }
4052
4053
4054 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4055 PyObject *resultobj;
4056 wxDialog *arg1 = (wxDialog *) 0 ;
4057 long arg2 ;
4058 wxSizer *result;
4059 PyObject * obj0 = 0 ;
4060 PyObject * obj1 = 0 ;
4061 char *kwnames[] = {
4062 (char *) "self",(char *) "flags", NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4067 {
4068 arg2 = (long) SWIG_PyObj_AsLong(obj1);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 }
4071 {
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4074
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 {
4079 resultobj = wxPyMake_wxSizer(result);
4080 }
4081 return resultobj;
4082 fail:
4083 return NULL;
4084 }
4085
4086
4087 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4088 PyObject *resultobj;
4089 wxDialog *arg1 = (wxDialog *) 0 ;
4090 bool result;
4091 PyObject * obj0 = 0 ;
4092 char *kwnames[] = {
4093 (char *) "self", NULL
4094 };
4095
4096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4098 {
4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
4100 result = (bool)((wxDialog const *)arg1)->IsModal();
4101
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
4105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4106 return resultobj;
4107 fail:
4108 return NULL;
4109 }
4110
4111
4112 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4113 PyObject *resultobj;
4114 wxDialog *arg1 = (wxDialog *) 0 ;
4115 int result;
4116 PyObject * obj0 = 0 ;
4117 char *kwnames[] = {
4118 (char *) "self", NULL
4119 };
4120
4121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4123 {
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 result = (int)(arg1)->ShowModal();
4126
4127 wxPyEndAllowThreads(__tstate);
4128 if (PyErr_Occurred()) SWIG_fail;
4129 }
4130 resultobj = SWIG_PyObj_FromInt((int)result);
4131 return resultobj;
4132 fail:
4133 return NULL;
4134 }
4135
4136
4137 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4138 PyObject *resultobj;
4139 wxDialog *arg1 = (wxDialog *) 0 ;
4140 int arg2 ;
4141 PyObject * obj0 = 0 ;
4142 PyObject * obj1 = 0 ;
4143 char *kwnames[] = {
4144 (char *) "self",(char *) "retCode", NULL
4145 };
4146
4147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4149 {
4150 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 {
4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
4155 (arg1)->EndModal(arg2);
4156
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) SWIG_fail;
4159 }
4160 Py_INCREF(Py_None); resultobj = Py_None;
4161 return resultobj;
4162 fail:
4163 return NULL;
4164 }
4165
4166
4167 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4168 PyObject *resultobj;
4169 wxDialog *arg1 = (wxDialog *) 0 ;
4170 bool result;
4171 PyObject * obj0 = 0 ;
4172 char *kwnames[] = {
4173 (char *) "self", NULL
4174 };
4175
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4178 {
4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
4180 result = (bool)wxDialog_IsModalShowing(arg1);
4181
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 }
4185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4186 return resultobj;
4187 fail:
4188 return NULL;
4189 }
4190
4191
4192 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4193 PyObject *obj;
4194 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4195 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4196 Py_INCREF(obj);
4197 return Py_BuildValue((char *)"");
4198 }
4199 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4200 PyObject *resultobj;
4201 wxWindow *arg1 = (wxWindow *) 0 ;
4202 int arg2 ;
4203 wxString *arg3 = 0 ;
4204 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4205 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4206 wxSize const &arg5_defvalue = wxDefaultSize ;
4207 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4208 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4209 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4210 wxString *arg7 = (wxString *) &arg7_defvalue ;
4211 wxMiniFrame *result;
4212 bool temp3 = False ;
4213 wxPoint temp4 ;
4214 wxSize temp5 ;
4215 bool temp7 = False ;
4216 PyObject * obj0 = 0 ;
4217 PyObject * obj1 = 0 ;
4218 PyObject * obj2 = 0 ;
4219 PyObject * obj3 = 0 ;
4220 PyObject * obj4 = 0 ;
4221 PyObject * obj5 = 0 ;
4222 PyObject * obj6 = 0 ;
4223 char *kwnames[] = {
4224 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4225 };
4226
4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4229 {
4230 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 {
4234 arg3 = wxString_in_helper(obj2);
4235 if (arg3 == NULL) SWIG_fail;
4236 temp3 = True;
4237 }
4238 if (obj3) {
4239 {
4240 arg4 = &temp4;
4241 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4242 }
4243 }
4244 if (obj4) {
4245 {
4246 arg5 = &temp5;
4247 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4248 }
4249 }
4250 if (obj5) {
4251 {
4252 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 }
4256 if (obj6) {
4257 {
4258 arg7 = wxString_in_helper(obj6);
4259 if (arg7 == NULL) SWIG_fail;
4260 temp7 = True;
4261 }
4262 }
4263 {
4264 PyThreadState* __tstate = wxPyBeginAllowThreads();
4265 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4266
4267 wxPyEndAllowThreads(__tstate);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4271 {
4272 if (temp3)
4273 delete arg3;
4274 }
4275 {
4276 if (temp7)
4277 delete arg7;
4278 }
4279 return resultobj;
4280 fail:
4281 {
4282 if (temp3)
4283 delete arg3;
4284 }
4285 {
4286 if (temp7)
4287 delete arg7;
4288 }
4289 return NULL;
4290 }
4291
4292
4293 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4294 PyObject *resultobj;
4295 wxMiniFrame *result;
4296 char *kwnames[] = {
4297 NULL
4298 };
4299
4300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4301 {
4302 PyThreadState* __tstate = wxPyBeginAllowThreads();
4303 result = (wxMiniFrame *)new wxMiniFrame();
4304
4305 wxPyEndAllowThreads(__tstate);
4306 if (PyErr_Occurred()) SWIG_fail;
4307 }
4308 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4309 return resultobj;
4310 fail:
4311 return NULL;
4312 }
4313
4314
4315 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4316 PyObject *resultobj;
4317 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4318 wxWindow *arg2 = (wxWindow *) 0 ;
4319 int arg3 ;
4320 wxString *arg4 = 0 ;
4321 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4322 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4323 wxSize const &arg6_defvalue = wxDefaultSize ;
4324 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4325 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4326 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4327 wxString *arg8 = (wxString *) &arg8_defvalue ;
4328 bool result;
4329 bool temp4 = False ;
4330 wxPoint temp5 ;
4331 wxSize temp6 ;
4332 bool temp8 = False ;
4333 PyObject * obj0 = 0 ;
4334 PyObject * obj1 = 0 ;
4335 PyObject * obj2 = 0 ;
4336 PyObject * obj3 = 0 ;
4337 PyObject * obj4 = 0 ;
4338 PyObject * obj5 = 0 ;
4339 PyObject * obj6 = 0 ;
4340 PyObject * obj7 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4348 {
4349 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4352 {
4353 arg4 = wxString_in_helper(obj3);
4354 if (arg4 == NULL) SWIG_fail;
4355 temp4 = True;
4356 }
4357 if (obj4) {
4358 {
4359 arg5 = &temp5;
4360 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4361 }
4362 }
4363 if (obj5) {
4364 {
4365 arg6 = &temp6;
4366 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4367 }
4368 }
4369 if (obj6) {
4370 {
4371 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4372 if (PyErr_Occurred()) SWIG_fail;
4373 }
4374 }
4375 if (obj7) {
4376 {
4377 arg8 = wxString_in_helper(obj7);
4378 if (arg8 == NULL) SWIG_fail;
4379 temp8 = True;
4380 }
4381 }
4382 {
4383 PyThreadState* __tstate = wxPyBeginAllowThreads();
4384 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4385
4386 wxPyEndAllowThreads(__tstate);
4387 if (PyErr_Occurred()) SWIG_fail;
4388 }
4389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4390 {
4391 if (temp4)
4392 delete arg4;
4393 }
4394 {
4395 if (temp8)
4396 delete arg8;
4397 }
4398 return resultobj;
4399 fail:
4400 {
4401 if (temp4)
4402 delete arg4;
4403 }
4404 {
4405 if (temp8)
4406 delete arg8;
4407 }
4408 return NULL;
4409 }
4410
4411
4412 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4413 PyObject *obj;
4414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4415 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4416 Py_INCREF(obj);
4417 return Py_BuildValue((char *)"");
4418 }
4419 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4420 PyObject *resultobj;
4421 wxBitmap *arg1 = 0 ;
4422 wxWindow *arg2 = (wxWindow *) 0 ;
4423 int arg3 ;
4424 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4425 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4426 wxSize const &arg5_defvalue = wxDefaultSize ;
4427 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4428 long arg6 = (long) wxNO_BORDER ;
4429 wxSplashScreenWindow *result;
4430 wxPoint temp4 ;
4431 wxSize temp5 ;
4432 PyObject * obj0 = 0 ;
4433 PyObject * obj1 = 0 ;
4434 PyObject * obj2 = 0 ;
4435 PyObject * obj3 = 0 ;
4436 PyObject * obj4 = 0 ;
4437 PyObject * obj5 = 0 ;
4438 char *kwnames[] = {
4439 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4440 };
4441
4442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4444 if (arg1 == NULL) {
4445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4446 }
4447 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4448 {
4449 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4450 if (PyErr_Occurred()) SWIG_fail;
4451 }
4452 if (obj3) {
4453 {
4454 arg4 = &temp4;
4455 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4456 }
4457 }
4458 if (obj4) {
4459 {
4460 arg5 = &temp5;
4461 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4462 }
4463 }
4464 if (obj5) {
4465 {
4466 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 }
4470 {
4471 PyThreadState* __tstate = wxPyBeginAllowThreads();
4472 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4473
4474 wxPyEndAllowThreads(__tstate);
4475 if (PyErr_Occurred()) SWIG_fail;
4476 }
4477 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4478 return resultobj;
4479 fail:
4480 return NULL;
4481 }
4482
4483
4484 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4485 PyObject *resultobj;
4486 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4487 wxBitmap *arg2 = 0 ;
4488 PyObject * obj0 = 0 ;
4489 PyObject * obj1 = 0 ;
4490 char *kwnames[] = {
4491 (char *) "self",(char *) "bitmap", NULL
4492 };
4493
4494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4496 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4497 if (arg2 == NULL) {
4498 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4499 }
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 Py_INCREF(Py_None); resultobj = Py_None;
4508 return resultobj;
4509 fail:
4510 return NULL;
4511 }
4512
4513
4514 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4515 PyObject *resultobj;
4516 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4517 wxBitmap *result;
4518 PyObject * obj0 = 0 ;
4519 char *kwnames[] = {
4520 (char *) "self", NULL
4521 };
4522
4523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4525 {
4526 PyThreadState* __tstate = wxPyBeginAllowThreads();
4527 {
4528 wxBitmap &_result_ref = (arg1)->GetBitmap();
4529 result = (wxBitmap *) &_result_ref;
4530 }
4531
4532 wxPyEndAllowThreads(__tstate);
4533 if (PyErr_Occurred()) SWIG_fail;
4534 }
4535 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4536 return resultobj;
4537 fail:
4538 return NULL;
4539 }
4540
4541
4542 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4543 PyObject *obj;
4544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4545 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4546 Py_INCREF(obj);
4547 return Py_BuildValue((char *)"");
4548 }
4549 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4550 PyObject *resultobj;
4551 wxBitmap *arg1 = 0 ;
4552 long arg2 ;
4553 int arg3 ;
4554 wxWindow *arg4 = (wxWindow *) 0 ;
4555 int arg5 ;
4556 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4557 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4558 wxSize const &arg7_defvalue = wxDefaultSize ;
4559 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4560 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4561 wxSplashScreen *result;
4562 wxPoint temp6 ;
4563 wxSize temp7 ;
4564 PyObject * obj0 = 0 ;
4565 PyObject * obj1 = 0 ;
4566 PyObject * obj2 = 0 ;
4567 PyObject * obj3 = 0 ;
4568 PyObject * obj4 = 0 ;
4569 PyObject * obj5 = 0 ;
4570 PyObject * obj6 = 0 ;
4571 PyObject * obj7 = 0 ;
4572 char *kwnames[] = {
4573 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4574 };
4575
4576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4578 if (arg1 == NULL) {
4579 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4580 }
4581 {
4582 arg2 = (long) SWIG_PyObj_AsLong(obj1);
4583 if (PyErr_Occurred()) SWIG_fail;
4584 }
4585 {
4586 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4587 if (PyErr_Occurred()) SWIG_fail;
4588 }
4589 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4590 {
4591 arg5 = (int) SWIG_PyObj_AsInt(obj4);
4592 if (PyErr_Occurred()) SWIG_fail;
4593 }
4594 if (obj5) {
4595 {
4596 arg6 = &temp6;
4597 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4598 }
4599 }
4600 if (obj6) {
4601 {
4602 arg7 = &temp7;
4603 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4604 }
4605 }
4606 if (obj7) {
4607 {
4608 arg8 = (long) SWIG_PyObj_AsLong(obj7);
4609 if (PyErr_Occurred()) SWIG_fail;
4610 }
4611 }
4612 {
4613 PyThreadState* __tstate = wxPyBeginAllowThreads();
4614 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4615
4616 wxPyEndAllowThreads(__tstate);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 }
4619 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4620 return resultobj;
4621 fail:
4622 return NULL;
4623 }
4624
4625
4626 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4627 PyObject *resultobj;
4628 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4629 long result;
4630 PyObject * obj0 = 0 ;
4631 char *kwnames[] = {
4632 (char *) "self", NULL
4633 };
4634
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4637 {
4638 PyThreadState* __tstate = wxPyBeginAllowThreads();
4639 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4640
4641 wxPyEndAllowThreads(__tstate);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 }
4644 resultobj = SWIG_PyObj_FromLong((long)result);
4645 return resultobj;
4646 fail:
4647 return NULL;
4648 }
4649
4650
4651 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4652 PyObject *resultobj;
4653 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4654 wxSplashScreenWindow *result;
4655 PyObject * obj0 = 0 ;
4656 char *kwnames[] = {
4657 (char *) "self", NULL
4658 };
4659
4660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4662 {
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 }
4669 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4670 return resultobj;
4671 fail:
4672 return NULL;
4673 }
4674
4675
4676 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4677 PyObject *resultobj;
4678 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4679 int result;
4680 PyObject * obj0 = 0 ;
4681 char *kwnames[] = {
4682 (char *) "self", NULL
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4687 {
4688 PyThreadState* __tstate = wxPyBeginAllowThreads();
4689 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4690
4691 wxPyEndAllowThreads(__tstate);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 }
4694 resultobj = SWIG_PyObj_FromInt((int)result);
4695 return resultobj;
4696 fail:
4697 return NULL;
4698 }
4699
4700
4701 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4702 PyObject *obj;
4703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4704 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4705 Py_INCREF(obj);
4706 return Py_BuildValue((char *)"");
4707 }
4708 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject *resultobj;
4710 wxWindow *arg1 = (wxWindow *) 0 ;
4711 int arg2 = (int) -1 ;
4712 long arg3 = (long) wxST_SIZEGRIP ;
4713 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4714 wxString *arg4 = (wxString *) &arg4_defvalue ;
4715 wxStatusBar *result;
4716 bool temp4 = False ;
4717 PyObject * obj0 = 0 ;
4718 PyObject * obj1 = 0 ;
4719 PyObject * obj2 = 0 ;
4720 PyObject * obj3 = 0 ;
4721 char *kwnames[] = {
4722 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4723 };
4724
4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4727 if (obj1) {
4728 {
4729 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 }
4733 if (obj2) {
4734 {
4735 arg3 = (long) SWIG_PyObj_AsLong(obj2);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 }
4739 if (obj3) {
4740 {
4741 arg4 = wxString_in_helper(obj3);
4742 if (arg4 == NULL) SWIG_fail;
4743 temp4 = True;
4744 }
4745 }
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4749
4750 wxPyEndAllowThreads(__tstate);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 {
4754 resultobj = wxPyMake_wxObject(result);
4755 }
4756 {
4757 if (temp4)
4758 delete arg4;
4759 }
4760 return resultobj;
4761 fail:
4762 {
4763 if (temp4)
4764 delete arg4;
4765 }
4766 return NULL;
4767 }
4768
4769
4770 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj;
4772 wxStatusBar *result;
4773 char *kwnames[] = {
4774 NULL
4775 };
4776
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4778 {
4779 PyThreadState* __tstate = wxPyBeginAllowThreads();
4780 result = (wxStatusBar *)new wxStatusBar();
4781
4782 wxPyEndAllowThreads(__tstate);
4783 if (PyErr_Occurred()) SWIG_fail;
4784 }
4785 {
4786 resultobj = wxPyMake_wxObject(result);
4787 }
4788 return resultobj;
4789 fail:
4790 return NULL;
4791 }
4792
4793
4794 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4795 PyObject *resultobj;
4796 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4797 wxWindow *arg2 = (wxWindow *) 0 ;
4798 int arg3 ;
4799 long arg4 = (long) wxST_SIZEGRIP ;
4800 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4801 wxString *arg5 = (wxString *) &arg5_defvalue ;
4802 bool result;
4803 bool temp5 = False ;
4804 PyObject * obj0 = 0 ;
4805 PyObject * obj1 = 0 ;
4806 PyObject * obj2 = 0 ;
4807 PyObject * obj3 = 0 ;
4808 PyObject * obj4 = 0 ;
4809 char *kwnames[] = {
4810 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4811 };
4812
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4816 {
4817 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 if (obj3) {
4821 {
4822 arg4 = (long) SWIG_PyObj_AsLong(obj3);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
4825 }
4826 if (obj4) {
4827 {
4828 arg5 = wxString_in_helper(obj4);
4829 if (arg5 == NULL) SWIG_fail;
4830 temp5 = True;
4831 }
4832 }
4833 {
4834 PyThreadState* __tstate = wxPyBeginAllowThreads();
4835 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4836
4837 wxPyEndAllowThreads(__tstate);
4838 if (PyErr_Occurred()) SWIG_fail;
4839 }
4840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4841 {
4842 if (temp5)
4843 delete arg5;
4844 }
4845 return resultobj;
4846 fail:
4847 {
4848 if (temp5)
4849 delete arg5;
4850 }
4851 return NULL;
4852 }
4853
4854
4855 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4856 PyObject *resultobj;
4857 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4858 int arg2 = (int) 1 ;
4859 PyObject * obj0 = 0 ;
4860 PyObject * obj1 = 0 ;
4861 char *kwnames[] = {
4862 (char *) "self",(char *) "number", NULL
4863 };
4864
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4867 if (obj1) {
4868 {
4869 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
4872 }
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 (arg1)->SetFieldsCount(arg2);
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 Py_INCREF(Py_None); resultobj = Py_None;
4881 return resultobj;
4882 fail:
4883 return NULL;
4884 }
4885
4886
4887 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4888 PyObject *resultobj;
4889 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4890 int result;
4891 PyObject * obj0 = 0 ;
4892 char *kwnames[] = {
4893 (char *) "self", NULL
4894 };
4895
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4898 {
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4900 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4901
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 resultobj = SWIG_PyObj_FromInt((int)result);
4906 return resultobj;
4907 fail:
4908 return NULL;
4909 }
4910
4911
4912 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4913 PyObject *resultobj;
4914 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4915 wxString *arg2 = 0 ;
4916 int arg3 = (int) 0 ;
4917 bool temp2 = False ;
4918 PyObject * obj0 = 0 ;
4919 PyObject * obj1 = 0 ;
4920 PyObject * obj2 = 0 ;
4921 char *kwnames[] = {
4922 (char *) "self",(char *) "text",(char *) "number", NULL
4923 };
4924
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4927 {
4928 arg2 = wxString_in_helper(obj1);
4929 if (arg2 == NULL) SWIG_fail;
4930 temp2 = True;
4931 }
4932 if (obj2) {
4933 {
4934 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4935 if (PyErr_Occurred()) SWIG_fail;
4936 }
4937 }
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4941
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 Py_INCREF(Py_None); resultobj = Py_None;
4946 {
4947 if (temp2)
4948 delete arg2;
4949 }
4950 return resultobj;
4951 fail:
4952 {
4953 if (temp2)
4954 delete arg2;
4955 }
4956 return NULL;
4957 }
4958
4959
4960 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4961 PyObject *resultobj;
4962 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4963 int arg2 = (int) 0 ;
4964 wxString result;
4965 PyObject * obj0 = 0 ;
4966 PyObject * obj1 = 0 ;
4967 char *kwnames[] = {
4968 (char *) "self",(char *) "number", NULL
4969 };
4970
4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
4972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4973 if (obj1) {
4974 {
4975 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 }
4979 {
4980 PyThreadState* __tstate = wxPyBeginAllowThreads();
4981 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4982
4983 wxPyEndAllowThreads(__tstate);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 {
4987 #if wxUSE_UNICODE
4988 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4989 #else
4990 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4991 #endif
4992 }
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5002 wxString *arg2 = 0 ;
5003 int arg3 = (int) 0 ;
5004 bool temp2 = False ;
5005 PyObject * obj0 = 0 ;
5006 PyObject * obj1 = 0 ;
5007 PyObject * obj2 = 0 ;
5008 char *kwnames[] = {
5009 (char *) "self",(char *) "text",(char *) "number", NULL
5010 };
5011
5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5014 {
5015 arg2 = wxString_in_helper(obj1);
5016 if (arg2 == NULL) SWIG_fail;
5017 temp2 = True;
5018 }
5019 if (obj2) {
5020 {
5021 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5022 if (PyErr_Occurred()) SWIG_fail;
5023 }
5024 }
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 Py_INCREF(Py_None); resultobj = Py_None;
5033 {
5034 if (temp2)
5035 delete arg2;
5036 }
5037 return resultobj;
5038 fail:
5039 {
5040 if (temp2)
5041 delete arg2;
5042 }
5043 return NULL;
5044 }
5045
5046
5047 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5048 PyObject *resultobj;
5049 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5050 int arg2 = (int) 0 ;
5051 PyObject * obj0 = 0 ;
5052 PyObject * obj1 = 0 ;
5053 char *kwnames[] = {
5054 (char *) "self",(char *) "number", NULL
5055 };
5056
5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5059 if (obj1) {
5060 {
5061 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5062 if (PyErr_Occurred()) SWIG_fail;
5063 }
5064 }
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 (arg1)->PopStatusText(arg2);
5068
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 Py_INCREF(Py_None); resultobj = Py_None;
5073 return resultobj;
5074 fail:
5075 return NULL;
5076 }
5077
5078
5079 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj;
5081 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5082 int arg2 ;
5083 int *arg3 = (int *) 0 ;
5084 PyObject * obj0 = 0 ;
5085 PyObject * obj1 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "self",(char *) "widths", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5092 {
5093 arg2 = PyList_Size(obj1);
5094 arg3 = int_LIST_helper(obj1);
5095 if (arg3 == NULL) SWIG_fail;
5096 }
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 Py_INCREF(Py_None); resultobj = Py_None;
5105 {
5106 if (arg3) delete [] arg3;
5107 }
5108 return resultobj;
5109 fail:
5110 {
5111 if (arg3) delete [] arg3;
5112 }
5113 return NULL;
5114 }
5115
5116
5117 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5118 PyObject *resultobj;
5119 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5120 int arg2 ;
5121 wxRect result;
5122 PyObject * obj0 = 0 ;
5123 PyObject * obj1 = 0 ;
5124 char *kwnames[] = {
5125 (char *) "self",(char *) "i", NULL
5126 };
5127
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5130 {
5131 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5132 if (PyErr_Occurred()) SWIG_fail;
5133 }
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 result = wxStatusBar_GetFieldRect(arg1,arg2);
5137
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 {
5142 wxRect * resultptr;
5143 resultptr = new wxRect((wxRect &) result);
5144 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
5145 }
5146 return resultobj;
5147 fail:
5148 return NULL;
5149 }
5150
5151
5152 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5153 PyObject *resultobj;
5154 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5155 int arg2 ;
5156 PyObject * obj0 = 0 ;
5157 PyObject * obj1 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self",(char *) "height", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5164 {
5165 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 }
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 (arg1)->SetMinHeight(arg2);
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 Py_INCREF(Py_None); resultobj = Py_None;
5176 return resultobj;
5177 fail:
5178 return NULL;
5179 }
5180
5181
5182 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5183 PyObject *resultobj;
5184 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5185 int result;
5186 PyObject * obj0 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 }
5200 resultobj = SWIG_PyObj_FromInt((int)result);
5201 return resultobj;
5202 fail:
5203 return NULL;
5204 }
5205
5206
5207 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject *resultobj;
5209 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5210 int result;
5211 PyObject * obj0 = 0 ;
5212 char *kwnames[] = {
5213 (char *) "self", NULL
5214 };
5215
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5218 {
5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
5220 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5221
5222 wxPyEndAllowThreads(__tstate);
5223 if (PyErr_Occurred()) SWIG_fail;
5224 }
5225 resultobj = SWIG_PyObj_FromInt((int)result);
5226 return resultobj;
5227 fail:
5228 return NULL;
5229 }
5230
5231
5232 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5233 PyObject *obj;
5234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5235 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5236 Py_INCREF(obj);
5237 return Py_BuildValue((char *)"");
5238 }
5239 static int _wrap_SplitterNameStr_set(PyObject *) {
5240 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5241 return 1;
5242 }
5243
5244
5245 static PyObject *_wrap_SplitterNameStr_get() {
5246 PyObject *pyobj;
5247
5248 {
5249 #if wxUSE_UNICODE
5250 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5251 #else
5252 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5253 #endif
5254 }
5255 return pyobj;
5256 }
5257
5258
5259 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5260 PyObject *resultobj;
5261 wxWindow *arg1 = (wxWindow *) 0 ;
5262 int arg2 ;
5263 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5264 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5265 wxSize const &arg4_defvalue = wxDefaultSize ;
5266 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5267 long arg5 = (long) wxSP_3D ;
5268 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5269 wxString *arg6 = (wxString *) &arg6_defvalue ;
5270 wxSplitterWindow *result;
5271 wxPoint temp3 ;
5272 wxSize temp4 ;
5273 bool temp6 = False ;
5274 PyObject * obj0 = 0 ;
5275 PyObject * obj1 = 0 ;
5276 PyObject * obj2 = 0 ;
5277 PyObject * obj3 = 0 ;
5278 PyObject * obj4 = 0 ;
5279 PyObject * obj5 = 0 ;
5280 char *kwnames[] = {
5281 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5282 };
5283
5284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5286 {
5287 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
5290 if (obj2) {
5291 {
5292 arg3 = &temp3;
5293 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5294 }
5295 }
5296 if (obj3) {
5297 {
5298 arg4 = &temp4;
5299 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5300 }
5301 }
5302 if (obj4) {
5303 {
5304 arg5 = (long) SWIG_PyObj_AsLong(obj4);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 }
5308 if (obj5) {
5309 {
5310 arg6 = wxString_in_helper(obj5);
5311 if (arg6 == NULL) SWIG_fail;
5312 temp6 = True;
5313 }
5314 }
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5323 {
5324 if (temp6)
5325 delete arg6;
5326 }
5327 return resultobj;
5328 fail:
5329 {
5330 if (temp6)
5331 delete arg6;
5332 }
5333 return NULL;
5334 }
5335
5336
5337 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5338 PyObject *resultobj;
5339 wxSplitterWindow *result;
5340 char *kwnames[] = {
5341 NULL
5342 };
5343
5344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5345 {
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 result = (wxSplitterWindow *)new wxSplitterWindow();
5348
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5353 return resultobj;
5354 fail:
5355 return NULL;
5356 }
5357
5358
5359 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5360 PyObject *resultobj;
5361 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5362 wxWindow *arg2 = (wxWindow *) 0 ;
5363 int arg3 ;
5364 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5365 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5366 wxSize const &arg5_defvalue = wxDefaultSize ;
5367 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5368 long arg6 = (long) wxSP_3D ;
5369 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5370 wxString *arg7 = (wxString *) &arg7_defvalue ;
5371 bool result;
5372 wxPoint temp4 ;
5373 wxSize temp5 ;
5374 bool temp7 = False ;
5375 PyObject * obj0 = 0 ;
5376 PyObject * obj1 = 0 ;
5377 PyObject * obj2 = 0 ;
5378 PyObject * obj3 = 0 ;
5379 PyObject * obj4 = 0 ;
5380 PyObject * obj5 = 0 ;
5381 PyObject * obj6 = 0 ;
5382 char *kwnames[] = {
5383 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5384 };
5385
5386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5388 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5389 {
5390 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 if (obj3) {
5394 {
5395 arg4 = &temp4;
5396 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5397 }
5398 }
5399 if (obj4) {
5400 {
5401 arg5 = &temp5;
5402 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5403 }
5404 }
5405 if (obj5) {
5406 {
5407 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 }
5411 if (obj6) {
5412 {
5413 arg7 = wxString_in_helper(obj6);
5414 if (arg7 == NULL) SWIG_fail;
5415 temp7 = True;
5416 }
5417 }
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
5425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5426 {
5427 if (temp7)
5428 delete arg7;
5429 }
5430 return resultobj;
5431 fail:
5432 {
5433 if (temp7)
5434 delete arg7;
5435 }
5436 return NULL;
5437 }
5438
5439
5440 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5441 PyObject *resultobj;
5442 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5443 wxWindow *result;
5444 PyObject * obj0 = 0 ;
5445 char *kwnames[] = {
5446 (char *) "self", NULL
5447 };
5448
5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5454
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 {
5459 resultobj = wxPyMake_wxObject(result);
5460 }
5461 return resultobj;
5462 fail:
5463 return NULL;
5464 }
5465
5466
5467 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5468 PyObject *resultobj;
5469 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5470 wxWindow *result;
5471 PyObject * obj0 = 0 ;
5472 char *kwnames[] = {
5473 (char *) "self", NULL
5474 };
5475
5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5478 {
5479 PyThreadState* __tstate = wxPyBeginAllowThreads();
5480 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5481
5482 wxPyEndAllowThreads(__tstate);
5483 if (PyErr_Occurred()) SWIG_fail;
5484 }
5485 {
5486 resultobj = wxPyMake_wxObject(result);
5487 }
5488 return resultobj;
5489 fail:
5490 return NULL;
5491 }
5492
5493
5494 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5495 PyObject *resultobj;
5496 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5497 int arg2 ;
5498 PyObject * obj0 = 0 ;
5499 PyObject * obj1 = 0 ;
5500 char *kwnames[] = {
5501 (char *) "self",(char *) "mode", NULL
5502 };
5503
5504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5506 {
5507 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5508 if (PyErr_Occurred()) SWIG_fail;
5509 }
5510 {
5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5512 (arg1)->SetSplitMode(arg2);
5513
5514 wxPyEndAllowThreads(__tstate);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 Py_INCREF(Py_None); resultobj = Py_None;
5518 return resultobj;
5519 fail:
5520 return NULL;
5521 }
5522
5523
5524 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5525 PyObject *resultobj;
5526 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5527 int result;
5528 PyObject * obj0 = 0 ;
5529 char *kwnames[] = {
5530 (char *) "self", NULL
5531 };
5532
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5535 {
5536 PyThreadState* __tstate = wxPyBeginAllowThreads();
5537 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5538
5539 wxPyEndAllowThreads(__tstate);
5540 if (PyErr_Occurred()) SWIG_fail;
5541 }
5542 resultobj = SWIG_PyObj_FromInt((int)result);
5543 return resultobj;
5544 fail:
5545 return NULL;
5546 }
5547
5548
5549 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5550 PyObject *resultobj;
5551 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5552 wxWindow *arg2 = (wxWindow *) 0 ;
5553 PyObject * obj0 = 0 ;
5554 PyObject * obj1 = 0 ;
5555 char *kwnames[] = {
5556 (char *) "self",(char *) "window", NULL
5557 };
5558
5559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5562 {
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 (arg1)->Initialize(arg2);
5565
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 }
5569 Py_INCREF(Py_None); resultobj = Py_None;
5570 return resultobj;
5571 fail:
5572 return NULL;
5573 }
5574
5575
5576 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5577 PyObject *resultobj;
5578 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5579 wxWindow *arg2 = (wxWindow *) 0 ;
5580 wxWindow *arg3 = (wxWindow *) 0 ;
5581 int arg4 = (int) 0 ;
5582 bool result;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 PyObject * obj2 = 0 ;
5586 PyObject * obj3 = 0 ;
5587 char *kwnames[] = {
5588 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5589 };
5590
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5593 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5594 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5595 if (obj3) {
5596 {
5597 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 }
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5609 return resultobj;
5610 fail:
5611 return NULL;
5612 }
5613
5614
5615 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj;
5617 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5618 wxWindow *arg2 = (wxWindow *) 0 ;
5619 wxWindow *arg3 = (wxWindow *) 0 ;
5620 int arg4 = (int) 0 ;
5621 bool result;
5622 PyObject * obj0 = 0 ;
5623 PyObject * obj1 = 0 ;
5624 PyObject * obj2 = 0 ;
5625 PyObject * obj3 = 0 ;
5626 char *kwnames[] = {
5627 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5628 };
5629
5630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5633 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5634 if (obj3) {
5635 {
5636 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 }
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5643
5644 wxPyEndAllowThreads(__tstate);
5645 if (PyErr_Occurred()) SWIG_fail;
5646 }
5647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5648 return resultobj;
5649 fail:
5650 return NULL;
5651 }
5652
5653
5654 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5655 PyObject *resultobj;
5656 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5657 wxWindow *arg2 = (wxWindow *) NULL ;
5658 bool result;
5659 PyObject * obj0 = 0 ;
5660 PyObject * obj1 = 0 ;
5661 char *kwnames[] = {
5662 (char *) "self",(char *) "toRemove", NULL
5663 };
5664
5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5667 if (obj1) {
5668 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5669 }
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (bool)(arg1)->Unsplit(arg2);
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5678 return resultobj;
5679 fail:
5680 return NULL;
5681 }
5682
5683
5684 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5687 wxWindow *arg2 = (wxWindow *) 0 ;
5688 wxWindow *arg3 = (wxWindow *) 0 ;
5689 bool result;
5690 PyObject * obj0 = 0 ;
5691 PyObject * obj1 = 0 ;
5692 PyObject * obj2 = 0 ;
5693 char *kwnames[] = {
5694 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5695 };
5696
5697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5699 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5700 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5704
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5709 return resultobj;
5710 fail:
5711 return NULL;
5712 }
5713
5714
5715 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj;
5717 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5718 bool result;
5719 PyObject * obj0 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "self", NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5726 {
5727 PyThreadState* __tstate = wxPyBeginAllowThreads();
5728 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5729
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5734 return resultobj;
5735 fail:
5736 return NULL;
5737 }
5738
5739
5740 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5741 PyObject *resultobj;
5742 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5743 int arg2 ;
5744 PyObject * obj0 = 0 ;
5745 PyObject * obj1 = 0 ;
5746 char *kwnames[] = {
5747 (char *) "self",(char *) "width", NULL
5748 };
5749
5750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5752 {
5753 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
5756 {
5757 PyThreadState* __tstate = wxPyBeginAllowThreads();
5758 (arg1)->SetSashSize(arg2);
5759
5760 wxPyEndAllowThreads(__tstate);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 }
5763 Py_INCREF(Py_None); resultobj = Py_None;
5764 return resultobj;
5765 fail:
5766 return NULL;
5767 }
5768
5769
5770 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5771 PyObject *resultobj;
5772 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5773 int arg2 ;
5774 PyObject * obj0 = 0 ;
5775 PyObject * obj1 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self",(char *) "width", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5782 {
5783 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 {
5787 PyThreadState* __tstate = wxPyBeginAllowThreads();
5788 (arg1)->SetBorderSize(arg2);
5789
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 Py_INCREF(Py_None); resultobj = Py_None;
5794 return resultobj;
5795 fail:
5796 return NULL;
5797 }
5798
5799
5800 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5801 PyObject *resultobj;
5802 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5803 int result;
5804 PyObject * obj0 = 0 ;
5805 char *kwnames[] = {
5806 (char *) "self", NULL
5807 };
5808
5809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5811 {
5812 PyThreadState* __tstate = wxPyBeginAllowThreads();
5813 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5814
5815 wxPyEndAllowThreads(__tstate);
5816 if (PyErr_Occurred()) SWIG_fail;
5817 }
5818 resultobj = SWIG_PyObj_FromInt((int)result);
5819 return resultobj;
5820 fail:
5821 return NULL;
5822 }
5823
5824
5825 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5826 PyObject *resultobj;
5827 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5828 int result;
5829 PyObject * obj0 = 0 ;
5830 char *kwnames[] = {
5831 (char *) "self", NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5836 {
5837 PyThreadState* __tstate = wxPyBeginAllowThreads();
5838 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5839
5840 wxPyEndAllowThreads(__tstate);
5841 if (PyErr_Occurred()) SWIG_fail;
5842 }
5843 resultobj = SWIG_PyObj_FromInt((int)result);
5844 return resultobj;
5845 fail:
5846 return NULL;
5847 }
5848
5849
5850 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5851 PyObject *resultobj;
5852 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5853 int arg2 ;
5854 bool arg3 = (bool) True ;
5855 PyObject * obj0 = 0 ;
5856 PyObject * obj1 = 0 ;
5857 PyObject * obj2 = 0 ;
5858 char *kwnames[] = {
5859 (char *) "self",(char *) "position",(char *) "redraw", NULL
5860 };
5861
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
5863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5864 {
5865 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5866 if (PyErr_Occurred()) SWIG_fail;
5867 }
5868 if (obj2) {
5869 {
5870 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
5873 }
5874 {
5875 PyThreadState* __tstate = wxPyBeginAllowThreads();
5876 (arg1)->SetSashPosition(arg2,arg3);
5877
5878 wxPyEndAllowThreads(__tstate);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 Py_INCREF(Py_None); resultobj = Py_None;
5882 return resultobj;
5883 fail:
5884 return NULL;
5885 }
5886
5887
5888 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5889 PyObject *resultobj;
5890 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5891 int result;
5892 PyObject * obj0 = 0 ;
5893 char *kwnames[] = {
5894 (char *) "self", NULL
5895 };
5896
5897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5899 {
5900 PyThreadState* __tstate = wxPyBeginAllowThreads();
5901 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5902
5903 wxPyEndAllowThreads(__tstate);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 }
5906 resultobj = SWIG_PyObj_FromInt((int)result);
5907 return resultobj;
5908 fail:
5909 return NULL;
5910 }
5911
5912
5913 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5914 PyObject *resultobj;
5915 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5916 int arg2 ;
5917 PyObject * obj0 = 0 ;
5918 PyObject * obj1 = 0 ;
5919 char *kwnames[] = {
5920 (char *) "self",(char *) "min", NULL
5921 };
5922
5923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
5924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5925 {
5926 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
5929 {
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 (arg1)->SetMinimumPaneSize(arg2);
5932
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 Py_INCREF(Py_None); resultobj = Py_None;
5937 return resultobj;
5938 fail:
5939 return NULL;
5940 }
5941
5942
5943 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj;
5945 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5946 int result;
5947 PyObject * obj0 = 0 ;
5948 char *kwnames[] = {
5949 (char *) "self", NULL
5950 };
5951
5952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5954 {
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5957
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
5961 resultobj = SWIG_PyObj_FromInt((int)result);
5962 return resultobj;
5963 fail:
5964 return NULL;
5965 }
5966
5967
5968 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5969 PyObject *resultobj;
5970 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5971 int arg2 ;
5972 int arg3 ;
5973 int arg4 = (int) 5 ;
5974 bool result;
5975 PyObject * obj0 = 0 ;
5976 PyObject * obj1 = 0 ;
5977 PyObject * obj2 = 0 ;
5978 PyObject * obj3 = 0 ;
5979 char *kwnames[] = {
5980 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5981 };
5982
5983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5985 {
5986 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 {
5990 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5991 if (PyErr_Occurred()) SWIG_fail;
5992 }
5993 if (obj3) {
5994 {
5995 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 }
5999 {
6000 PyThreadState* __tstate = wxPyBeginAllowThreads();
6001 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6002
6003 wxPyEndAllowThreads(__tstate);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 }
6006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6007 return resultobj;
6008 fail:
6009 return NULL;
6010 }
6011
6012
6013 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6014 PyObject *resultobj;
6015 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6016 PyObject * obj0 = 0 ;
6017 char *kwnames[] = {
6018 (char *) "self", NULL
6019 };
6020
6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6023 {
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 (arg1)->SizeWindows();
6026
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 Py_INCREF(Py_None); resultobj = Py_None;
6031 return resultobj;
6032 fail:
6033 return NULL;
6034 }
6035
6036
6037 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6038 PyObject *resultobj;
6039 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6040 bool arg2 ;
6041 PyObject * obj0 = 0 ;
6042 PyObject * obj1 = 0 ;
6043 char *kwnames[] = {
6044 (char *) "self",(char *) "needUpdating", NULL
6045 };
6046
6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6049 {
6050 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 (arg1)->SetNeedUpdating(arg2);
6056
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 Py_INCREF(Py_None); resultobj = Py_None;
6061 return resultobj;
6062 fail:
6063 return NULL;
6064 }
6065
6066
6067 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6068 PyObject *resultobj;
6069 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6070 bool result;
6071 PyObject * obj0 = 0 ;
6072 char *kwnames[] = {
6073 (char *) "self", NULL
6074 };
6075
6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6078 {
6079 PyThreadState* __tstate = wxPyBeginAllowThreads();
6080 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6081
6082 wxPyEndAllowThreads(__tstate);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 }
6085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6086 return resultobj;
6087 fail:
6088 return NULL;
6089 }
6090
6091
6092 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6093 PyObject *obj;
6094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6095 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6096 Py_INCREF(obj);
6097 return Py_BuildValue((char *)"");
6098 }
6099 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6100 PyObject *resultobj;
6101 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6102 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6103 wxSplitterEvent *result;
6104 PyObject * obj0 = 0 ;
6105 PyObject * obj1 = 0 ;
6106 char *kwnames[] = {
6107 (char *) "type",(char *) "splitter", NULL
6108 };
6109
6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6111 if (obj0) {
6112 {
6113 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
6114 if (PyErr_Occurred()) SWIG_fail;
6115 }
6116 }
6117 if (obj1) {
6118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6119 }
6120 {
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
6122 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6123
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
6128 return resultobj;
6129 fail:
6130 return NULL;
6131 }
6132
6133
6134 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj;
6136 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6137 int arg2 ;
6138 PyObject * obj0 = 0 ;
6139 PyObject * obj1 = 0 ;
6140 char *kwnames[] = {
6141 (char *) "self",(char *) "pos", NULL
6142 };
6143
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6146 {
6147 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 (arg1)->SetSashPosition(arg2);
6153
6154 wxPyEndAllowThreads(__tstate);
6155 if (PyErr_Occurred()) SWIG_fail;
6156 }
6157 Py_INCREF(Py_None); resultobj = Py_None;
6158 return resultobj;
6159 fail:
6160 return NULL;
6161 }
6162
6163
6164 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6165 PyObject *resultobj;
6166 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6167 int result;
6168 PyObject * obj0 = 0 ;
6169 char *kwnames[] = {
6170 (char *) "self", NULL
6171 };
6172
6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6175 {
6176 PyThreadState* __tstate = wxPyBeginAllowThreads();
6177 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6178
6179 wxPyEndAllowThreads(__tstate);
6180 if (PyErr_Occurred()) SWIG_fail;
6181 }
6182 resultobj = SWIG_PyObj_FromInt((int)result);
6183 return resultobj;
6184 fail:
6185 return NULL;
6186 }
6187
6188
6189 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6190 PyObject *resultobj;
6191 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6192 wxWindow *result;
6193 PyObject * obj0 = 0 ;
6194 char *kwnames[] = {
6195 (char *) "self", NULL
6196 };
6197
6198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6200 {
6201 PyThreadState* __tstate = wxPyBeginAllowThreads();
6202 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6203
6204 wxPyEndAllowThreads(__tstate);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 }
6207 {
6208 resultobj = wxPyMake_wxObject(result);
6209 }
6210 return resultobj;
6211 fail:
6212 return NULL;
6213 }
6214
6215
6216 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6217 PyObject *resultobj;
6218 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6219 int result;
6220 PyObject * obj0 = 0 ;
6221 char *kwnames[] = {
6222 (char *) "self", NULL
6223 };
6224
6225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6227 {
6228 PyThreadState* __tstate = wxPyBeginAllowThreads();
6229 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6230
6231 wxPyEndAllowThreads(__tstate);
6232 if (PyErr_Occurred()) SWIG_fail;
6233 }
6234 resultobj = SWIG_PyObj_FromInt((int)result);
6235 return resultobj;
6236 fail:
6237 return NULL;
6238 }
6239
6240
6241 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6242 PyObject *resultobj;
6243 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6244 int result;
6245 PyObject * obj0 = 0 ;
6246 char *kwnames[] = {
6247 (char *) "self", NULL
6248 };
6249
6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6252 {
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 resultobj = SWIG_PyObj_FromInt((int)result);
6260 return resultobj;
6261 fail:
6262 return NULL;
6263 }
6264
6265
6266 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6267 PyObject *obj;
6268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6269 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6270 Py_INCREF(obj);
6271 return Py_BuildValue((char *)"");
6272 }
6273 static int _wrap_SashNameStr_set(PyObject *) {
6274 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6275 return 1;
6276 }
6277
6278
6279 static PyObject *_wrap_SashNameStr_get() {
6280 PyObject *pyobj;
6281
6282 {
6283 #if wxUSE_UNICODE
6284 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6285 #else
6286 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6287 #endif
6288 }
6289 return pyobj;
6290 }
6291
6292
6293 static int _wrap_SashLayoutNameStr_set(PyObject *) {
6294 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6295 return 1;
6296 }
6297
6298
6299 static PyObject *_wrap_SashLayoutNameStr_get() {
6300 PyObject *pyobj;
6301
6302 {
6303 #if wxUSE_UNICODE
6304 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6305 #else
6306 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6307 #endif
6308 }
6309 return pyobj;
6310 }
6311
6312
6313 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6314 PyObject *resultobj;
6315 wxWindow *arg1 = (wxWindow *) 0 ;
6316 int arg2 ;
6317 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6318 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6319 wxSize const &arg4_defvalue = wxDefaultSize ;
6320 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6321 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6322 wxString const &arg6_defvalue = wxPySashNameStr ;
6323 wxString *arg6 = (wxString *) &arg6_defvalue ;
6324 wxSashWindow *result;
6325 wxPoint temp3 ;
6326 wxSize temp4 ;
6327 bool temp6 = False ;
6328 PyObject * obj0 = 0 ;
6329 PyObject * obj1 = 0 ;
6330 PyObject * obj2 = 0 ;
6331 PyObject * obj3 = 0 ;
6332 PyObject * obj4 = 0 ;
6333 PyObject * obj5 = 0 ;
6334 char *kwnames[] = {
6335 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6336 };
6337
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6340 {
6341 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6342 if (PyErr_Occurred()) SWIG_fail;
6343 }
6344 if (obj2) {
6345 {
6346 arg3 = &temp3;
6347 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6348 }
6349 }
6350 if (obj3) {
6351 {
6352 arg4 = &temp4;
6353 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6354 }
6355 }
6356 if (obj4) {
6357 {
6358 arg5 = (long) SWIG_PyObj_AsLong(obj4);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 }
6362 if (obj5) {
6363 {
6364 arg6 = wxString_in_helper(obj5);
6365 if (arg6 == NULL) SWIG_fail;
6366 temp6 = True;
6367 }
6368 }
6369 {
6370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6371 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6372
6373 wxPyEndAllowThreads(__tstate);
6374 if (PyErr_Occurred()) SWIG_fail;
6375 }
6376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6377 {
6378 if (temp6)
6379 delete arg6;
6380 }
6381 return resultobj;
6382 fail:
6383 {
6384 if (temp6)
6385 delete arg6;
6386 }
6387 return NULL;
6388 }
6389
6390
6391 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6392 PyObject *resultobj;
6393 wxSashWindow *result;
6394 char *kwnames[] = {
6395 NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
6401 result = (wxSashWindow *)new wxSashWindow();
6402
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6407 return resultobj;
6408 fail:
6409 return NULL;
6410 }
6411
6412
6413 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj;
6415 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6416 wxWindow *arg2 = (wxWindow *) 0 ;
6417 int arg3 ;
6418 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6419 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6420 wxSize const &arg5_defvalue = wxDefaultSize ;
6421 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6422 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6423 wxString const &arg7_defvalue = wxPySashNameStr ;
6424 wxString *arg7 = (wxString *) &arg7_defvalue ;
6425 bool result;
6426 wxPoint temp4 ;
6427 wxSize temp5 ;
6428 bool temp7 = False ;
6429 PyObject * obj0 = 0 ;
6430 PyObject * obj1 = 0 ;
6431 PyObject * obj2 = 0 ;
6432 PyObject * obj3 = 0 ;
6433 PyObject * obj4 = 0 ;
6434 PyObject * obj5 = 0 ;
6435 PyObject * obj6 = 0 ;
6436 char *kwnames[] = {
6437 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6438 };
6439
6440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6443 {
6444 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 if (obj3) {
6448 {
6449 arg4 = &temp4;
6450 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6451 }
6452 }
6453 if (obj4) {
6454 {
6455 arg5 = &temp5;
6456 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6457 }
6458 }
6459 if (obj5) {
6460 {
6461 arg6 = (long) SWIG_PyObj_AsLong(obj5);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 }
6465 if (obj6) {
6466 {
6467 arg7 = wxString_in_helper(obj6);
6468 if (arg7 == NULL) SWIG_fail;
6469 temp7 = True;
6470 }
6471 }
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6480 {
6481 if (temp7)
6482 delete arg7;
6483 }
6484 return resultobj;
6485 fail:
6486 {
6487 if (temp7)
6488 delete arg7;
6489 }
6490 return NULL;
6491 }
6492
6493
6494 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6495 PyObject *resultobj;
6496 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6497 int arg2 ;
6498 bool arg3 ;
6499 PyObject * obj0 = 0 ;
6500 PyObject * obj1 = 0 ;
6501 PyObject * obj2 = 0 ;
6502 char *kwnames[] = {
6503 (char *) "self",(char *) "edge",(char *) "sash", NULL
6504 };
6505
6506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6508 {
6509 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 {
6513 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6514 if (PyErr_Occurred()) SWIG_fail;
6515 }
6516 {
6517 PyThreadState* __tstate = wxPyBeginAllowThreads();
6518 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6519
6520 wxPyEndAllowThreads(__tstate);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 Py_INCREF(Py_None); resultobj = Py_None;
6524 return resultobj;
6525 fail:
6526 return NULL;
6527 }
6528
6529
6530 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6531 PyObject *resultobj;
6532 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6533 int arg2 ;
6534 bool result;
6535 PyObject * obj0 = 0 ;
6536 PyObject * obj1 = 0 ;
6537 char *kwnames[] = {
6538 (char *) "self",(char *) "edge", NULL
6539 };
6540
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6543 {
6544 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6550
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6555 return resultobj;
6556 fail:
6557 return NULL;
6558 }
6559
6560
6561 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6562 PyObject *resultobj;
6563 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6564 int arg2 ;
6565 bool arg3 ;
6566 PyObject * obj0 = 0 ;
6567 PyObject * obj1 = 0 ;
6568 PyObject * obj2 = 0 ;
6569 char *kwnames[] = {
6570 (char *) "self",(char *) "edge",(char *) "border", NULL
6571 };
6572
6573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6575 {
6576 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
6579 {
6580 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6586
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 Py_INCREF(Py_None); resultobj = Py_None;
6591 return resultobj;
6592 fail:
6593 return NULL;
6594 }
6595
6596
6597 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6598 PyObject *resultobj;
6599 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6600 int arg2 ;
6601 bool result;
6602 PyObject * obj0 = 0 ;
6603 PyObject * obj1 = 0 ;
6604 char *kwnames[] = {
6605 (char *) "self",(char *) "edge", NULL
6606 };
6607
6608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6610 {
6611 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6612 if (PyErr_Occurred()) SWIG_fail;
6613 }
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6622 return resultobj;
6623 fail:
6624 return NULL;
6625 }
6626
6627
6628 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6629 PyObject *resultobj;
6630 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6631 int arg2 ;
6632 int result;
6633 PyObject * obj0 = 0 ;
6634 PyObject * obj1 = 0 ;
6635 char *kwnames[] = {
6636 (char *) "self",(char *) "edge", NULL
6637 };
6638
6639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6641 {
6642 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6643 if (PyErr_Occurred()) SWIG_fail;
6644 }
6645 {
6646 PyThreadState* __tstate = wxPyBeginAllowThreads();
6647 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6648
6649 wxPyEndAllowThreads(__tstate);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
6652 resultobj = SWIG_PyObj_FromInt((int)result);
6653 return resultobj;
6654 fail:
6655 return NULL;
6656 }
6657
6658
6659 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6660 PyObject *resultobj;
6661 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6662 int arg2 ;
6663 PyObject * obj0 = 0 ;
6664 PyObject * obj1 = 0 ;
6665 char *kwnames[] = {
6666 (char *) "self",(char *) "width", NULL
6667 };
6668
6669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6671 {
6672 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
6675 {
6676 PyThreadState* __tstate = wxPyBeginAllowThreads();
6677 (arg1)->SetDefaultBorderSize(arg2);
6678
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 }
6682 Py_INCREF(Py_None); resultobj = Py_None;
6683 return resultobj;
6684 fail:
6685 return NULL;
6686 }
6687
6688
6689 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6690 PyObject *resultobj;
6691 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6692 int result;
6693 PyObject * obj0 = 0 ;
6694 char *kwnames[] = {
6695 (char *) "self", NULL
6696 };
6697
6698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6700 {
6701 PyThreadState* __tstate = wxPyBeginAllowThreads();
6702 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6703
6704 wxPyEndAllowThreads(__tstate);
6705 if (PyErr_Occurred()) SWIG_fail;
6706 }
6707 resultobj = SWIG_PyObj_FromInt((int)result);
6708 return resultobj;
6709 fail:
6710 return NULL;
6711 }
6712
6713
6714 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6715 PyObject *resultobj;
6716 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6717 int arg2 ;
6718 PyObject * obj0 = 0 ;
6719 PyObject * obj1 = 0 ;
6720 char *kwnames[] = {
6721 (char *) "self",(char *) "width", NULL
6722 };
6723
6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6726 {
6727 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6728 if (PyErr_Occurred()) SWIG_fail;
6729 }
6730 {
6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
6732 (arg1)->SetExtraBorderSize(arg2);
6733
6734 wxPyEndAllowThreads(__tstate);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 }
6737 Py_INCREF(Py_None); resultobj = Py_None;
6738 return resultobj;
6739 fail:
6740 return NULL;
6741 }
6742
6743
6744 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6745 PyObject *resultobj;
6746 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6747 int result;
6748 PyObject * obj0 = 0 ;
6749 char *kwnames[] = {
6750 (char *) "self", NULL
6751 };
6752
6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6755 {
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6758
6759 wxPyEndAllowThreads(__tstate);
6760 if (PyErr_Occurred()) SWIG_fail;
6761 }
6762 resultobj = SWIG_PyObj_FromInt((int)result);
6763 return resultobj;
6764 fail:
6765 return NULL;
6766 }
6767
6768
6769 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6770 PyObject *resultobj;
6771 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6772 int arg2 ;
6773 PyObject * obj0 = 0 ;
6774 PyObject * obj1 = 0 ;
6775 char *kwnames[] = {
6776 (char *) "self",(char *) "min", NULL
6777 };
6778
6779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6781 {
6782 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 {
6786 PyThreadState* __tstate = wxPyBeginAllowThreads();
6787 (arg1)->SetMinimumSizeX(arg2);
6788
6789 wxPyEndAllowThreads(__tstate);
6790 if (PyErr_Occurred()) SWIG_fail;
6791 }
6792 Py_INCREF(Py_None); resultobj = Py_None;
6793 return resultobj;
6794 fail:
6795 return NULL;
6796 }
6797
6798
6799 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6800 PyObject *resultobj;
6801 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6802 int arg2 ;
6803 PyObject * obj0 = 0 ;
6804 PyObject * obj1 = 0 ;
6805 char *kwnames[] = {
6806 (char *) "self",(char *) "min", NULL
6807 };
6808
6809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6811 {
6812 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 (arg1)->SetMinimumSizeY(arg2);
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 Py_INCREF(Py_None); resultobj = Py_None;
6823 return resultobj;
6824 fail:
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6832 int result;
6833 PyObject * obj0 = 0 ;
6834 char *kwnames[] = {
6835 (char *) "self", NULL
6836 };
6837
6838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6843
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 resultobj = SWIG_PyObj_FromInt((int)result);
6848 return resultobj;
6849 fail:
6850 return NULL;
6851 }
6852
6853
6854 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj;
6856 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6857 int result;
6858 PyObject * obj0 = 0 ;
6859 char *kwnames[] = {
6860 (char *) "self", NULL
6861 };
6862
6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 resultobj = SWIG_PyObj_FromInt((int)result);
6873 return resultobj;
6874 fail:
6875 return NULL;
6876 }
6877
6878
6879 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6880 PyObject *resultobj;
6881 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6882 int arg2 ;
6883 PyObject * obj0 = 0 ;
6884 PyObject * obj1 = 0 ;
6885 char *kwnames[] = {
6886 (char *) "self",(char *) "max", NULL
6887 };
6888
6889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
6890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6891 {
6892 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 (arg1)->SetMaximumSizeX(arg2);
6898
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 Py_INCREF(Py_None); resultobj = Py_None;
6903 return resultobj;
6904 fail:
6905 return NULL;
6906 }
6907
6908
6909 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6910 PyObject *resultobj;
6911 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6912 int arg2 ;
6913 PyObject * obj0 = 0 ;
6914 PyObject * obj1 = 0 ;
6915 char *kwnames[] = {
6916 (char *) "self",(char *) "max", NULL
6917 };
6918
6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
6920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6921 {
6922 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
6925 {
6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
6927 (arg1)->SetMaximumSizeY(arg2);
6928
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 Py_INCREF(Py_None); resultobj = Py_None;
6933 return resultobj;
6934 fail:
6935 return NULL;
6936 }
6937
6938
6939 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj;
6941 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6942 int result;
6943 PyObject * obj0 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6953
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 resultobj = SWIG_PyObj_FromInt((int)result);
6958 return resultobj;
6959 fail:
6960 return NULL;
6961 }
6962
6963
6964 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj;
6966 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6967 int result;
6968 PyObject * obj0 = 0 ;
6969 char *kwnames[] = {
6970 (char *) "self", NULL
6971 };
6972
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6978
6979 wxPyEndAllowThreads(__tstate);
6980 if (PyErr_Occurred()) SWIG_fail;
6981 }
6982 resultobj = SWIG_PyObj_FromInt((int)result);
6983 return resultobj;
6984 fail:
6985 return NULL;
6986 }
6987
6988
6989 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6990 PyObject *resultobj;
6991 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6992 int arg2 ;
6993 int arg3 ;
6994 int arg4 = (int) 2 ;
6995 int result;
6996 PyObject * obj0 = 0 ;
6997 PyObject * obj1 = 0 ;
6998 PyObject * obj2 = 0 ;
6999 PyObject * obj3 = 0 ;
7000 char *kwnames[] = {
7001 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7002 };
7003
7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7006 {
7007 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 {
7011 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 }
7014 if (obj3) {
7015 {
7016 arg4 = (int) SWIG_PyObj_AsInt(obj3);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 }
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7023
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 resultobj = SWIG_PyObj_FromInt((int)result);
7028 return resultobj;
7029 fail:
7030 return NULL;
7031 }
7032
7033
7034 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject *resultobj;
7036 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7037 PyObject * obj0 = 0 ;
7038 char *kwnames[] = {
7039 (char *) "self", NULL
7040 };
7041
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 (arg1)->SizeWindows();
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 Py_INCREF(Py_None); resultobj = Py_None;
7052 return resultobj;
7053 fail:
7054 return NULL;
7055 }
7056
7057
7058 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7059 PyObject *obj;
7060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7061 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7062 Py_INCREF(obj);
7063 return Py_BuildValue((char *)"");
7064 }
7065 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7066 PyObject *resultobj;
7067 int arg1 = (int) 0 ;
7068 int arg2 = (int) wxSASH_NONE ;
7069 wxSashEvent *result;
7070 PyObject * obj0 = 0 ;
7071 PyObject * obj1 = 0 ;
7072 char *kwnames[] = {
7073 (char *) "id",(char *) "edge", NULL
7074 };
7075
7076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7077 if (obj0) {
7078 {
7079 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7080 if (PyErr_Occurred()) SWIG_fail;
7081 }
7082 }
7083 if (obj1) {
7084 {
7085 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 }
7088 }
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7092
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
7097 return resultobj;
7098 fail:
7099 return NULL;
7100 }
7101
7102
7103 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7104 PyObject *resultobj;
7105 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7106 int arg2 ;
7107 PyObject * obj0 = 0 ;
7108 PyObject * obj1 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "self",(char *) "edge", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7115 {
7116 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 Py_INCREF(Py_None); resultobj = Py_None;
7127 return resultobj;
7128 fail:
7129 return NULL;
7130 }
7131
7132
7133 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7136 int result;
7137 PyObject * obj0 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "self", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7147
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 resultobj = SWIG_PyObj_FromInt((int)result);
7152 return resultobj;
7153 fail:
7154 return NULL;
7155 }
7156
7157
7158 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7159 PyObject *resultobj;
7160 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7161 wxRect *arg2 = 0 ;
7162 wxRect temp2 ;
7163 PyObject * obj0 = 0 ;
7164 PyObject * obj1 = 0 ;
7165 char *kwnames[] = {
7166 (char *) "self",(char *) "rect", NULL
7167 };
7168
7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7171 {
7172 arg2 = &temp2;
7173 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7174 }
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 (arg1)->SetDragRect((wxRect const &)*arg2);
7178
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
7182 Py_INCREF(Py_None); resultobj = Py_None;
7183 return resultobj;
7184 fail:
7185 return NULL;
7186 }
7187
7188
7189 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7190 PyObject *resultobj;
7191 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7192 wxRect result;
7193 PyObject * obj0 = 0 ;
7194 char *kwnames[] = {
7195 (char *) "self", NULL
7196 };
7197
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7200 {
7201 PyThreadState* __tstate = wxPyBeginAllowThreads();
7202 result = ((wxSashEvent const *)arg1)->GetDragRect();
7203
7204 wxPyEndAllowThreads(__tstate);
7205 if (PyErr_Occurred()) SWIG_fail;
7206 }
7207 {
7208 wxRect * resultptr;
7209 resultptr = new wxRect((wxRect &) result);
7210 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7211 }
7212 return resultobj;
7213 fail:
7214 return NULL;
7215 }
7216
7217
7218 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7219 PyObject *resultobj;
7220 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7221 int arg2 ;
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj1 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "self",(char *) "status", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7230 {
7231 arg2 = (wxSashDragStatus) SWIG_PyObj_AsInt(obj1);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 {
7235 PyThreadState* __tstate = wxPyBeginAllowThreads();
7236 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7237
7238 wxPyEndAllowThreads(__tstate);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 }
7241 Py_INCREF(Py_None); resultobj = Py_None;
7242 return resultobj;
7243 fail:
7244 return NULL;
7245 }
7246
7247
7248 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7249 PyObject *resultobj;
7250 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7251 int result;
7252 PyObject * obj0 = 0 ;
7253 char *kwnames[] = {
7254 (char *) "self", NULL
7255 };
7256
7257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = SWIG_PyObj_FromInt((int)result);
7267 return resultobj;
7268 fail:
7269 return NULL;
7270 }
7271
7272
7273 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7274 PyObject *obj;
7275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7276 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7277 Py_INCREF(obj);
7278 return Py_BuildValue((char *)"");
7279 }
7280 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj;
7282 int arg1 = (int) 0 ;
7283 wxQueryLayoutInfoEvent *result;
7284 PyObject * obj0 = 0 ;
7285 char *kwnames[] = {
7286 (char *) "id", NULL
7287 };
7288
7289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7290 if (obj0) {
7291 {
7292 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 }
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7298 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7299
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7304 return resultobj;
7305 fail:
7306 return NULL;
7307 }
7308
7309
7310 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7311 PyObject *resultobj;
7312 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7313 int arg2 ;
7314 PyObject * obj0 = 0 ;
7315 PyObject * obj1 = 0 ;
7316 char *kwnames[] = {
7317 (char *) "self",(char *) "length", NULL
7318 };
7319
7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7322 {
7323 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7328 (arg1)->SetRequestedLength(arg2);
7329
7330 wxPyEndAllowThreads(__tstate);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 }
7333 Py_INCREF(Py_None); resultobj = Py_None;
7334 return resultobj;
7335 fail:
7336 return NULL;
7337 }
7338
7339
7340 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7341 PyObject *resultobj;
7342 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7343 int result;
7344 PyObject * obj0 = 0 ;
7345 char *kwnames[] = {
7346 (char *) "self", NULL
7347 };
7348
7349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7351 {
7352 PyThreadState* __tstate = wxPyBeginAllowThreads();
7353 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7354
7355 wxPyEndAllowThreads(__tstate);
7356 if (PyErr_Occurred()) SWIG_fail;
7357 }
7358 resultobj = SWIG_PyObj_FromInt((int)result);
7359 return resultobj;
7360 fail:
7361 return NULL;
7362 }
7363
7364
7365 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7366 PyObject *resultobj;
7367 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7368 int arg2 ;
7369 PyObject * obj0 = 0 ;
7370 PyObject * obj1 = 0 ;
7371 char *kwnames[] = {
7372 (char *) "self",(char *) "flags", NULL
7373 };
7374
7375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7377 {
7378 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7379 if (PyErr_Occurred()) SWIG_fail;
7380 }
7381 {
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 (arg1)->SetFlags(arg2);
7384
7385 wxPyEndAllowThreads(__tstate);
7386 if (PyErr_Occurred()) SWIG_fail;
7387 }
7388 Py_INCREF(Py_None); resultobj = Py_None;
7389 return resultobj;
7390 fail:
7391 return NULL;
7392 }
7393
7394
7395 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7396 PyObject *resultobj;
7397 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7398 int result;
7399 PyObject * obj0 = 0 ;
7400 char *kwnames[] = {
7401 (char *) "self", NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 resultobj = SWIG_PyObj_FromInt((int)result);
7414 return resultobj;
7415 fail:
7416 return NULL;
7417 }
7418
7419
7420 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7421 PyObject *resultobj;
7422 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7423 wxSize *arg2 = 0 ;
7424 wxSize temp2 ;
7425 PyObject * obj0 = 0 ;
7426 PyObject * obj1 = 0 ;
7427 char *kwnames[] = {
7428 (char *) "self",(char *) "size", NULL
7429 };
7430
7431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7433 {
7434 arg2 = &temp2;
7435 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7436 }
7437 {
7438 PyThreadState* __tstate = wxPyBeginAllowThreads();
7439 (arg1)->SetSize((wxSize const &)*arg2);
7440
7441 wxPyEndAllowThreads(__tstate);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 Py_INCREF(Py_None); resultobj = Py_None;
7445 return resultobj;
7446 fail:
7447 return NULL;
7448 }
7449
7450
7451 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7452 PyObject *resultobj;
7453 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7454 wxSize result;
7455 PyObject * obj0 = 0 ;
7456 char *kwnames[] = {
7457 (char *) "self", NULL
7458 };
7459
7460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
7469 {
7470 wxSize * resultptr;
7471 resultptr = new wxSize((wxSize &) result);
7472 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
7473 }
7474 return resultobj;
7475 fail:
7476 return NULL;
7477 }
7478
7479
7480 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7481 PyObject *resultobj;
7482 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7483 int arg2 ;
7484 PyObject * obj0 = 0 ;
7485 PyObject * obj1 = 0 ;
7486 char *kwnames[] = {
7487 (char *) "self",(char *) "orient", NULL
7488 };
7489
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7492 {
7493 arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7499
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
7503 Py_INCREF(Py_None); resultobj = Py_None;
7504 return resultobj;
7505 fail:
7506 return NULL;
7507 }
7508
7509
7510 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7511 PyObject *resultobj;
7512 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7513 int result;
7514 PyObject * obj0 = 0 ;
7515 char *kwnames[] = {
7516 (char *) "self", NULL
7517 };
7518
7519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7521 {
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7524
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 resultobj = SWIG_PyObj_FromInt((int)result);
7529 return resultobj;
7530 fail:
7531 return NULL;
7532 }
7533
7534
7535 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7536 PyObject *resultobj;
7537 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7538 int arg2 ;
7539 PyObject * obj0 = 0 ;
7540 PyObject * obj1 = 0 ;
7541 char *kwnames[] = {
7542 (char *) "self",(char *) "align", NULL
7543 };
7544
7545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7547 {
7548 arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 {
7552 PyThreadState* __tstate = wxPyBeginAllowThreads();
7553 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7554
7555 wxPyEndAllowThreads(__tstate);
7556 if (PyErr_Occurred()) SWIG_fail;
7557 }
7558 Py_INCREF(Py_None); resultobj = Py_None;
7559 return resultobj;
7560 fail:
7561 return NULL;
7562 }
7563
7564
7565 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7566 PyObject *resultobj;
7567 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7568 int result;
7569 PyObject * obj0 = 0 ;
7570 char *kwnames[] = {
7571 (char *) "self", NULL
7572 };
7573
7574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7576 {
7577 PyThreadState* __tstate = wxPyBeginAllowThreads();
7578 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7579
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 resultobj = SWIG_PyObj_FromInt((int)result);
7584 return resultobj;
7585 fail:
7586 return NULL;
7587 }
7588
7589
7590 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7591 PyObject *obj;
7592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7593 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7594 Py_INCREF(obj);
7595 return Py_BuildValue((char *)"");
7596 }
7597 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7598 PyObject *resultobj;
7599 int arg1 = (int) 0 ;
7600 wxCalculateLayoutEvent *result;
7601 PyObject * obj0 = 0 ;
7602 char *kwnames[] = {
7603 (char *) "id", NULL
7604 };
7605
7606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7607 if (obj0) {
7608 {
7609 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 }
7613 {
7614 PyThreadState* __tstate = wxPyBeginAllowThreads();
7615 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7616
7617 wxPyEndAllowThreads(__tstate);
7618 if (PyErr_Occurred()) SWIG_fail;
7619 }
7620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7621 return resultobj;
7622 fail:
7623 return NULL;
7624 }
7625
7626
7627 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7628 PyObject *resultobj;
7629 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7630 int arg2 ;
7631 PyObject * obj0 = 0 ;
7632 PyObject * obj1 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "self",(char *) "flags", NULL
7635 };
7636
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7639 {
7640 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 }
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 (arg1)->SetFlags(arg2);
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 Py_INCREF(Py_None); resultobj = Py_None;
7651 return resultobj;
7652 fail:
7653 return NULL;
7654 }
7655
7656
7657 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj;
7659 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7660 int result;
7661 PyObject * obj0 = 0 ;
7662 char *kwnames[] = {
7663 (char *) "self", NULL
7664 };
7665
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7671
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 resultobj = SWIG_PyObj_FromInt((int)result);
7676 return resultobj;
7677 fail:
7678 return NULL;
7679 }
7680
7681
7682 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7683 PyObject *resultobj;
7684 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7685 wxRect *arg2 = 0 ;
7686 wxRect temp2 ;
7687 PyObject * obj0 = 0 ;
7688 PyObject * obj1 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self",(char *) "rect", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7695 {
7696 arg2 = &temp2;
7697 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7698 }
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 (arg1)->SetRect((wxRect const &)*arg2);
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 Py_INCREF(Py_None); resultobj = Py_None;
7707 return resultobj;
7708 fail:
7709 return NULL;
7710 }
7711
7712
7713 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7714 PyObject *resultobj;
7715 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7716 wxRect result;
7717 PyObject * obj0 = 0 ;
7718 char *kwnames[] = {
7719 (char *) "self", NULL
7720 };
7721
7722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7724 {
7725 PyThreadState* __tstate = wxPyBeginAllowThreads();
7726 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7727
7728 wxPyEndAllowThreads(__tstate);
7729 if (PyErr_Occurred()) SWIG_fail;
7730 }
7731 {
7732 wxRect * resultptr;
7733 resultptr = new wxRect((wxRect &) result);
7734 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7735 }
7736 return resultobj;
7737 fail:
7738 return NULL;
7739 }
7740
7741
7742 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7743 PyObject *obj;
7744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7745 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7746 Py_INCREF(obj);
7747 return Py_BuildValue((char *)"");
7748 }
7749 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj;
7751 wxWindow *arg1 = (wxWindow *) 0 ;
7752 int arg2 ;
7753 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7754 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7755 wxSize const &arg4_defvalue = wxDefaultSize ;
7756 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7757 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7758 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7759 wxString *arg6 = (wxString *) &arg6_defvalue ;
7760 wxSashLayoutWindow *result;
7761 wxPoint temp3 ;
7762 wxSize temp4 ;
7763 bool temp6 = False ;
7764 PyObject * obj0 = 0 ;
7765 PyObject * obj1 = 0 ;
7766 PyObject * obj2 = 0 ;
7767 PyObject * obj3 = 0 ;
7768 PyObject * obj4 = 0 ;
7769 PyObject * obj5 = 0 ;
7770 char *kwnames[] = {
7771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7772 };
7773
7774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7776 {
7777 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 if (obj2) {
7781 {
7782 arg3 = &temp3;
7783 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7784 }
7785 }
7786 if (obj3) {
7787 {
7788 arg4 = &temp4;
7789 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7790 }
7791 }
7792 if (obj4) {
7793 {
7794 arg5 = (long) SWIG_PyObj_AsLong(obj4);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 }
7797 }
7798 if (obj5) {
7799 {
7800 arg6 = wxString_in_helper(obj5);
7801 if (arg6 == NULL) SWIG_fail;
7802 temp6 = True;
7803 }
7804 }
7805 {
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7808
7809 wxPyEndAllowThreads(__tstate);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 }
7812 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7813 {
7814 if (temp6)
7815 delete arg6;
7816 }
7817 return resultobj;
7818 fail:
7819 {
7820 if (temp6)
7821 delete arg6;
7822 }
7823 return NULL;
7824 }
7825
7826
7827 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7828 PyObject *resultobj;
7829 wxSashLayoutWindow *result;
7830 char *kwnames[] = {
7831 NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7843 return resultobj;
7844 fail:
7845 return NULL;
7846 }
7847
7848
7849 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj;
7851 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7852 wxWindow *arg2 = (wxWindow *) 0 ;
7853 int arg3 ;
7854 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7855 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7856 wxSize const &arg5_defvalue = wxDefaultSize ;
7857 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7858 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7859 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7860 wxString *arg7 = (wxString *) &arg7_defvalue ;
7861 bool result;
7862 wxPoint temp4 ;
7863 wxSize temp5 ;
7864 bool temp7 = False ;
7865 PyObject * obj0 = 0 ;
7866 PyObject * obj1 = 0 ;
7867 PyObject * obj2 = 0 ;
7868 PyObject * obj3 = 0 ;
7869 PyObject * obj4 = 0 ;
7870 PyObject * obj5 = 0 ;
7871 PyObject * obj6 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7879 {
7880 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 if (obj3) {
7884 {
7885 arg4 = &temp4;
7886 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7887 }
7888 }
7889 if (obj4) {
7890 {
7891 arg5 = &temp5;
7892 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7893 }
7894 }
7895 if (obj5) {
7896 {
7897 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
7900 }
7901 if (obj6) {
7902 {
7903 arg7 = wxString_in_helper(obj6);
7904 if (arg7 == NULL) SWIG_fail;
7905 temp7 = True;
7906 }
7907 }
7908 {
7909 PyThreadState* __tstate = wxPyBeginAllowThreads();
7910 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7911
7912 wxPyEndAllowThreads(__tstate);
7913 if (PyErr_Occurred()) SWIG_fail;
7914 }
7915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7916 {
7917 if (temp7)
7918 delete arg7;
7919 }
7920 return resultobj;
7921 fail:
7922 {
7923 if (temp7)
7924 delete arg7;
7925 }
7926 return NULL;
7927 }
7928
7929
7930 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7931 PyObject *resultobj;
7932 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7933 int result;
7934 PyObject * obj0 = 0 ;
7935 char *kwnames[] = {
7936 (char *) "self", NULL
7937 };
7938
7939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 result = (int)(arg1)->GetAlignment();
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 resultobj = SWIG_PyObj_FromInt((int)result);
7949 return resultobj;
7950 fail:
7951 return NULL;
7952 }
7953
7954
7955 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7956 PyObject *resultobj;
7957 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7958 int result;
7959 PyObject * obj0 = 0 ;
7960 char *kwnames[] = {
7961 (char *) "self", NULL
7962 };
7963
7964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7966 {
7967 PyThreadState* __tstate = wxPyBeginAllowThreads();
7968 result = (int)(arg1)->GetOrientation();
7969
7970 wxPyEndAllowThreads(__tstate);
7971 if (PyErr_Occurred()) SWIG_fail;
7972 }
7973 resultobj = SWIG_PyObj_FromInt((int)result);
7974 return resultobj;
7975 fail:
7976 return NULL;
7977 }
7978
7979
7980 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7981 PyObject *resultobj;
7982 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7983 int arg2 ;
7984 PyObject * obj0 = 0 ;
7985 PyObject * obj1 = 0 ;
7986 char *kwnames[] = {
7987 (char *) "self",(char *) "alignment", NULL
7988 };
7989
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7992 {
7993 arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 Py_INCREF(Py_None); resultobj = Py_None;
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8013 wxSize *arg2 = 0 ;
8014 wxSize temp2 ;
8015 PyObject * obj0 = 0 ;
8016 PyObject * obj1 = 0 ;
8017 char *kwnames[] = {
8018 (char *) "self",(char *) "size", NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8023 {
8024 arg2 = &temp2;
8025 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8026 }
8027 {
8028 PyThreadState* __tstate = wxPyBeginAllowThreads();
8029 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8030
8031 wxPyEndAllowThreads(__tstate);
8032 if (PyErr_Occurred()) SWIG_fail;
8033 }
8034 Py_INCREF(Py_None); resultobj = Py_None;
8035 return resultobj;
8036 fail:
8037 return NULL;
8038 }
8039
8040
8041 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8042 PyObject *resultobj;
8043 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8044 int arg2 ;
8045 PyObject * obj0 = 0 ;
8046 PyObject * obj1 = 0 ;
8047 char *kwnames[] = {
8048 (char *) "self",(char *) "orientation", NULL
8049 };
8050
8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8053 {
8054 arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1);
8055 if (PyErr_Occurred()) SWIG_fail;
8056 }
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 Py_INCREF(Py_None); resultobj = Py_None;
8065 return resultobj;
8066 fail:
8067 return NULL;
8068 }
8069
8070
8071 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8072 PyObject *obj;
8073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8074 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8075 Py_INCREF(obj);
8076 return Py_BuildValue((char *)"");
8077 }
8078 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj;
8080 wxLayoutAlgorithm *result;
8081 char *kwnames[] = {
8082 NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
8094 return resultobj;
8095 fail:
8096 return NULL;
8097 }
8098
8099
8100 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8101 PyObject *resultobj;
8102 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8103 PyObject * obj0 = 0 ;
8104 char *kwnames[] = {
8105 (char *) "self", NULL
8106 };
8107
8108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8110 {
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
8112 delete arg1;
8113
8114 wxPyEndAllowThreads(__tstate);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 }
8117 Py_INCREF(Py_None); resultobj = Py_None;
8118 return resultobj;
8119 fail:
8120 return NULL;
8121 }
8122
8123
8124 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8125 PyObject *resultobj;
8126 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8127 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8128 wxRect *arg3 = (wxRect *) NULL ;
8129 bool result;
8130 PyObject * obj0 = 0 ;
8131 PyObject * obj1 = 0 ;
8132 PyObject * obj2 = 0 ;
8133 char *kwnames[] = {
8134 (char *) "self",(char *) "frame",(char *) "rect", NULL
8135 };
8136
8137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8140 if (obj2) {
8141 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8142 }
8143 {
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8146
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8151 return resultobj;
8152 fail:
8153 return NULL;
8154 }
8155
8156
8157 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8158 PyObject *resultobj;
8159 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8160 wxFrame *arg2 = (wxFrame *) 0 ;
8161 wxWindow *arg3 = (wxWindow *) NULL ;
8162 bool result;
8163 PyObject * obj0 = 0 ;
8164 PyObject * obj1 = 0 ;
8165 PyObject * obj2 = 0 ;
8166 char *kwnames[] = {
8167 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8168 };
8169
8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8172 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8173 if (obj2) {
8174 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8175 }
8176 {
8177 PyThreadState* __tstate = wxPyBeginAllowThreads();
8178 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8179
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8184 return resultobj;
8185 fail:
8186 return NULL;
8187 }
8188
8189
8190 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8191 PyObject *resultobj;
8192 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8193 wxWindow *arg2 = (wxWindow *) 0 ;
8194 wxWindow *arg3 = (wxWindow *) NULL ;
8195 bool result;
8196 PyObject * obj0 = 0 ;
8197 PyObject * obj1 = 0 ;
8198 PyObject * obj2 = 0 ;
8199 char *kwnames[] = {
8200 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8201 };
8202
8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8206 if (obj2) {
8207 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8208 }
8209 {
8210 PyThreadState* __tstate = wxPyBeginAllowThreads();
8211 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8212
8213 wxPyEndAllowThreads(__tstate);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 }
8216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8217 return resultobj;
8218 fail:
8219 return NULL;
8220 }
8221
8222
8223 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8224 PyObject *obj;
8225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8226 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8227 Py_INCREF(obj);
8228 return Py_BuildValue((char *)"");
8229 }
8230 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8231 PyObject *resultobj;
8232 wxWindow *arg1 = (wxWindow *) 0 ;
8233 int arg2 = (int) wxBORDER_NONE ;
8234 wxPopupWindow *result;
8235 PyObject * obj0 = 0 ;
8236 PyObject * obj1 = 0 ;
8237 char *kwnames[] = {
8238 (char *) "parent",(char *) "flags", NULL
8239 };
8240
8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8243 if (obj1) {
8244 {
8245 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8246 if (PyErr_Occurred()) SWIG_fail;
8247 }
8248 }
8249 {
8250 PyThreadState* __tstate = wxPyBeginAllowThreads();
8251 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8252
8253 wxPyEndAllowThreads(__tstate);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
8257 return resultobj;
8258 fail:
8259 return NULL;
8260 }
8261
8262
8263 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8264 PyObject *resultobj;
8265 wxPopupWindow *result;
8266 char *kwnames[] = {
8267 NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8271 {
8272 PyThreadState* __tstate = wxPyBeginAllowThreads();
8273 result = (wxPopupWindow *)new wxPopupWindow();
8274
8275 wxPyEndAllowThreads(__tstate);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 }
8278 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
8279 return resultobj;
8280 fail:
8281 return NULL;
8282 }
8283
8284
8285 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8286 PyObject *obj;
8287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8288 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8289 Py_INCREF(obj);
8290 return Py_BuildValue((char *)"");
8291 }
8292 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8293 PyObject *resultobj;
8294 wxWindow *arg1 = (wxWindow *) 0 ;
8295 int arg2 = (int) wxBORDER_NONE ;
8296 wxPyPopupTransientWindow *result;
8297 PyObject * obj0 = 0 ;
8298 PyObject * obj1 = 0 ;
8299 char *kwnames[] = {
8300 (char *) "parent",(char *) "style", NULL
8301 };
8302
8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8305 if (obj1) {
8306 {
8307 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8308 if (PyErr_Occurred()) SWIG_fail;
8309 }
8310 }
8311 {
8312 PyThreadState* __tstate = wxPyBeginAllowThreads();
8313 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8314
8315 wxPyEndAllowThreads(__tstate);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8319 return resultobj;
8320 fail:
8321 return NULL;
8322 }
8323
8324
8325 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8326 PyObject *resultobj;
8327 wxPyPopupTransientWindow *result;
8328 char *kwnames[] = {
8329 NULL
8330 };
8331
8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) SWIG_fail;
8339 }
8340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8341 return resultobj;
8342 fail:
8343 return NULL;
8344 }
8345
8346
8347 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8348 PyObject *obj;
8349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8350 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8351 Py_INCREF(obj);
8352 return Py_BuildValue((char *)"");
8353 }
8354 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8355 PyObject *resultobj;
8356 wxWindow *arg1 = (wxWindow *) 0 ;
8357 wxString *arg2 = 0 ;
8358 int arg3 = (int) 100 ;
8359 wxRect *arg4 = (wxRect *) NULL ;
8360 wxTipWindow *result;
8361 bool temp2 = False ;
8362 PyObject * obj0 = 0 ;
8363 PyObject * obj1 = 0 ;
8364 PyObject * obj2 = 0 ;
8365 PyObject * obj3 = 0 ;
8366 char *kwnames[] = {
8367 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8368 };
8369
8370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8372 {
8373 arg2 = wxString_in_helper(obj1);
8374 if (arg2 == NULL) SWIG_fail;
8375 temp2 = True;
8376 }
8377 if (obj2) {
8378 {
8379 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 }
8382 }
8383 if (obj3) {
8384 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8385 }
8386 {
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8389
8390 wxPyEndAllowThreads(__tstate);
8391 if (PyErr_Occurred()) SWIG_fail;
8392 }
8393 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
8394 {
8395 if (temp2)
8396 delete arg2;
8397 }
8398 return resultobj;
8399 fail:
8400 {
8401 if (temp2)
8402 delete arg2;
8403 }
8404 return NULL;
8405 }
8406
8407
8408 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8409 PyObject *resultobj;
8410 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8411 wxRect *arg2 = 0 ;
8412 wxRect temp2 ;
8413 PyObject * obj0 = 0 ;
8414 PyObject * obj1 = 0 ;
8415 char *kwnames[] = {
8416 (char *) "self",(char *) "rectBound", NULL
8417 };
8418
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8421 {
8422 arg2 = &temp2;
8423 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8424 }
8425 {
8426 PyThreadState* __tstate = wxPyBeginAllowThreads();
8427 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8428
8429 wxPyEndAllowThreads(__tstate);
8430 if (PyErr_Occurred()) SWIG_fail;
8431 }
8432 Py_INCREF(Py_None); resultobj = Py_None;
8433 return resultobj;
8434 fail:
8435 return NULL;
8436 }
8437
8438
8439 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8440 PyObject *resultobj;
8441 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8442 PyObject * obj0 = 0 ;
8443 char *kwnames[] = {
8444 (char *) "self", NULL
8445 };
8446
8447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8449 {
8450 PyThreadState* __tstate = wxPyBeginAllowThreads();
8451 (arg1)->Close();
8452
8453 wxPyEndAllowThreads(__tstate);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 }
8456 Py_INCREF(Py_None); resultobj = Py_None;
8457 return resultobj;
8458 fail:
8459 return NULL;
8460 }
8461
8462
8463 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8464 PyObject *obj;
8465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8466 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8467 Py_INCREF(obj);
8468 return Py_BuildValue((char *)"");
8469 }
8470 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject *resultobj;
8472 wxWindow *arg1 = (wxWindow *) 0 ;
8473 int arg2 = (int) wxID_ANY ;
8474 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8475 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8476 wxSize const &arg4_defvalue = wxDefaultSize ;
8477 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8478 long arg5 = (long) 0 ;
8479 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8480 wxString *arg6 = (wxString *) &arg6_defvalue ;
8481 wxPyVScrolledWindow *result;
8482 wxPoint temp3 ;
8483 wxSize temp4 ;
8484 bool temp6 = False ;
8485 PyObject * obj0 = 0 ;
8486 PyObject * obj1 = 0 ;
8487 PyObject * obj2 = 0 ;
8488 PyObject * obj3 = 0 ;
8489 PyObject * obj4 = 0 ;
8490 PyObject * obj5 = 0 ;
8491 char *kwnames[] = {
8492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8497 if (obj1) {
8498 {
8499 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8500 if (PyErr_Occurred()) SWIG_fail;
8501 }
8502 }
8503 if (obj2) {
8504 {
8505 arg3 = &temp3;
8506 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8507 }
8508 }
8509 if (obj3) {
8510 {
8511 arg4 = &temp4;
8512 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8513 }
8514 }
8515 if (obj4) {
8516 {
8517 arg5 = (long) SWIG_PyObj_AsLong(obj4);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 }
8521 if (obj5) {
8522 {
8523 arg6 = wxString_in_helper(obj5);
8524 if (arg6 == NULL) SWIG_fail;
8525 temp6 = True;
8526 }
8527 }
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8531
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8536 {
8537 if (temp6)
8538 delete arg6;
8539 }
8540 return resultobj;
8541 fail:
8542 {
8543 if (temp6)
8544 delete arg6;
8545 }
8546 return NULL;
8547 }
8548
8549
8550 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8551 PyObject *resultobj;
8552 wxPyVScrolledWindow *result;
8553 char *kwnames[] = {
8554 NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8558 {
8559 PyThreadState* __tstate = wxPyBeginAllowThreads();
8560 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8561
8562 wxPyEndAllowThreads(__tstate);
8563 if (PyErr_Occurred()) SWIG_fail;
8564 }
8565 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8566 return resultobj;
8567 fail:
8568 return NULL;
8569 }
8570
8571
8572 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8573 PyObject *resultobj;
8574 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8575 PyObject *arg2 = (PyObject *) 0 ;
8576 PyObject *arg3 = (PyObject *) 0 ;
8577 PyObject * obj0 = 0 ;
8578 PyObject * obj1 = 0 ;
8579 PyObject * obj2 = 0 ;
8580 char *kwnames[] = {
8581 (char *) "self",(char *) "self",(char *) "_class", NULL
8582 };
8583
8584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8586 arg2 = obj1;
8587 arg3 = obj2;
8588 {
8589 PyThreadState* __tstate = wxPyBeginAllowThreads();
8590 (arg1)->_setCallbackInfo(arg2,arg3);
8591
8592 wxPyEndAllowThreads(__tstate);
8593 if (PyErr_Occurred()) SWIG_fail;
8594 }
8595 Py_INCREF(Py_None); resultobj = Py_None;
8596 return resultobj;
8597 fail:
8598 return NULL;
8599 }
8600
8601
8602 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8603 PyObject *resultobj;
8604 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8605 wxWindow *arg2 = (wxWindow *) 0 ;
8606 int arg3 = (int) wxID_ANY ;
8607 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8608 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8609 wxSize const &arg5_defvalue = wxDefaultSize ;
8610 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8611 long arg6 = (long) 0 ;
8612 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8613 wxString *arg7 = (wxString *) &arg7_defvalue ;
8614 bool result;
8615 wxPoint temp4 ;
8616 wxSize temp5 ;
8617 bool temp7 = False ;
8618 PyObject * obj0 = 0 ;
8619 PyObject * obj1 = 0 ;
8620 PyObject * obj2 = 0 ;
8621 PyObject * obj3 = 0 ;
8622 PyObject * obj4 = 0 ;
8623 PyObject * obj5 = 0 ;
8624 PyObject * obj6 = 0 ;
8625 char *kwnames[] = {
8626 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8627 };
8628
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8632 if (obj2) {
8633 {
8634 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
8637 }
8638 if (obj3) {
8639 {
8640 arg4 = &temp4;
8641 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8642 }
8643 }
8644 if (obj4) {
8645 {
8646 arg5 = &temp5;
8647 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8648 }
8649 }
8650 if (obj5) {
8651 {
8652 arg6 = (long) SWIG_PyObj_AsLong(obj5);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 }
8656 if (obj6) {
8657 {
8658 arg7 = wxString_in_helper(obj6);
8659 if (arg7 == NULL) SWIG_fail;
8660 temp7 = True;
8661 }
8662 }
8663 {
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8666
8667 wxPyEndAllowThreads(__tstate);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8671 {
8672 if (temp7)
8673 delete arg7;
8674 }
8675 return resultobj;
8676 fail:
8677 {
8678 if (temp7)
8679 delete arg7;
8680 }
8681 return NULL;
8682 }
8683
8684
8685 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8686 PyObject *resultobj;
8687 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8688 size_t arg2 ;
8689 PyObject * obj0 = 0 ;
8690 PyObject * obj1 = 0 ;
8691 char *kwnames[] = {
8692 (char *) "self",(char *) "count", NULL
8693 };
8694
8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8697 {
8698 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 (arg1)->SetLineCount(arg2);
8704
8705 wxPyEndAllowThreads(__tstate);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 Py_INCREF(Py_None); resultobj = Py_None;
8709 return resultobj;
8710 fail:
8711 return NULL;
8712 }
8713
8714
8715 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8716 PyObject *resultobj;
8717 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8718 size_t arg2 ;
8719 bool result;
8720 PyObject * obj0 = 0 ;
8721 PyObject * obj1 = 0 ;
8722 char *kwnames[] = {
8723 (char *) "self",(char *) "line", NULL
8724 };
8725
8726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8728 {
8729 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8730 if (PyErr_Occurred()) SWIG_fail;
8731 }
8732 {
8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
8734 result = (bool)(arg1)->ScrollToLine(arg2);
8735
8736 wxPyEndAllowThreads(__tstate);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
8739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8740 return resultobj;
8741 fail:
8742 return NULL;
8743 }
8744
8745
8746 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8747 PyObject *resultobj;
8748 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8749 int arg2 ;
8750 bool result;
8751 PyObject * obj0 = 0 ;
8752 PyObject * obj1 = 0 ;
8753 char *kwnames[] = {
8754 (char *) "self",(char *) "lines", NULL
8755 };
8756
8757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8759 {
8760 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8761 if (PyErr_Occurred()) SWIG_fail;
8762 }
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 result = (bool)(arg1)->ScrollLines(arg2);
8766
8767 wxPyEndAllowThreads(__tstate);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 }
8770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8771 return resultobj;
8772 fail:
8773 return NULL;
8774 }
8775
8776
8777 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8778 PyObject *resultobj;
8779 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8780 int arg2 ;
8781 bool result;
8782 PyObject * obj0 = 0 ;
8783 PyObject * obj1 = 0 ;
8784 char *kwnames[] = {
8785 (char *) "self",(char *) "pages", NULL
8786 };
8787
8788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
8789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8790 {
8791 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 }
8794 {
8795 PyThreadState* __tstate = wxPyBeginAllowThreads();
8796 result = (bool)(arg1)->ScrollPages(arg2);
8797
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8802 return resultobj;
8803 fail:
8804 return NULL;
8805 }
8806
8807
8808 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8809 PyObject *resultobj;
8810 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8811 size_t arg2 ;
8812 PyObject * obj0 = 0 ;
8813 PyObject * obj1 = 0 ;
8814 char *kwnames[] = {
8815 (char *) "self",(char *) "line", NULL
8816 };
8817
8818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8820 {
8821 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 {
8825 PyThreadState* __tstate = wxPyBeginAllowThreads();
8826 (arg1)->RefreshLine(arg2);
8827
8828 wxPyEndAllowThreads(__tstate);
8829 if (PyErr_Occurred()) SWIG_fail;
8830 }
8831 Py_INCREF(Py_None); resultobj = Py_None;
8832 return resultobj;
8833 fail:
8834 return NULL;
8835 }
8836
8837
8838 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj;
8840 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8841 size_t arg2 ;
8842 size_t arg3 ;
8843 PyObject * obj0 = 0 ;
8844 PyObject * obj1 = 0 ;
8845 PyObject * obj2 = 0 ;
8846 char *kwnames[] = {
8847 (char *) "self",(char *) "from",(char *) "to", NULL
8848 };
8849
8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8852 {
8853 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 {
8857 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
8858 if (PyErr_Occurred()) SWIG_fail;
8859 }
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 (arg1)->RefreshLines(arg2,arg3);
8863
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 Py_INCREF(Py_None); resultobj = Py_None;
8868 return resultobj;
8869 fail:
8870 return NULL;
8871 }
8872
8873
8874 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8875 PyObject *resultobj;
8876 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8877 int arg2 ;
8878 int arg3 ;
8879 int result;
8880 PyObject * obj0 = 0 ;
8881 PyObject * obj1 = 0 ;
8882 PyObject * obj2 = 0 ;
8883 char *kwnames[] = {
8884 (char *) "self",(char *) "x",(char *) "y", NULL
8885 };
8886
8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
8888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8889 {
8890 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 }
8893 {
8894 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 }
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 resultobj = SWIG_PyObj_FromInt((int)result);
8905 return resultobj;
8906 fail:
8907 return NULL;
8908 }
8909
8910
8911 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8912 PyObject *resultobj;
8913 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8914 wxPoint *arg2 = 0 ;
8915 int result;
8916 wxPoint temp2 ;
8917 PyObject * obj0 = 0 ;
8918 PyObject * obj1 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self",(char *) "pt", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8925 {
8926 arg2 = &temp2;
8927 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8928 }
8929 {
8930 PyThreadState* __tstate = wxPyBeginAllowThreads();
8931 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8932
8933 wxPyEndAllowThreads(__tstate);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 }
8936 resultobj = SWIG_PyObj_FromInt((int)result);
8937 return resultobj;
8938 fail:
8939 return NULL;
8940 }
8941
8942
8943 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj;
8945 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8946 PyObject * obj0 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "self", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8953 {
8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
8955 (arg1)->RefreshAll();
8956
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 Py_INCREF(Py_None); resultobj = Py_None;
8961 return resultobj;
8962 fail:
8963 return NULL;
8964 }
8965
8966
8967 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8968 PyObject *resultobj;
8969 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8970 size_t result;
8971 PyObject * obj0 = 0 ;
8972 char *kwnames[] = {
8973 (char *) "self", NULL
8974 };
8975
8976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8978 {
8979 PyThreadState* __tstate = wxPyBeginAllowThreads();
8980 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8981
8982 wxPyEndAllowThreads(__tstate);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 }
8985 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
8986 return resultobj;
8987 fail:
8988 return NULL;
8989 }
8990
8991
8992 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8993 PyObject *resultobj;
8994 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8995 size_t result;
8996 PyObject * obj0 = 0 ;
8997 char *kwnames[] = {
8998 (char *) "self", NULL
8999 };
9000
9001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9003 {
9004 PyThreadState* __tstate = wxPyBeginAllowThreads();
9005 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9006
9007 wxPyEndAllowThreads(__tstate);
9008 if (PyErr_Occurred()) SWIG_fail;
9009 }
9010 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9011 return resultobj;
9012 fail:
9013 return NULL;
9014 }
9015
9016
9017 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9018 PyObject *resultobj;
9019 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9020 size_t result;
9021 PyObject * obj0 = 0 ;
9022 char *kwnames[] = {
9023 (char *) "self", NULL
9024 };
9025
9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9031
9032 wxPyEndAllowThreads(__tstate);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9036 return resultobj;
9037 fail:
9038 return NULL;
9039 }
9040
9041
9042 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9043 PyObject *resultobj;
9044 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9045 size_t arg2 ;
9046 bool result;
9047 PyObject * obj0 = 0 ;
9048 PyObject * obj1 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self",(char *) "line", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9055 {
9056 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9057 if (PyErr_Occurred()) SWIG_fail;
9058 }
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9062
9063 wxPyEndAllowThreads(__tstate);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 }
9066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9067 return resultobj;
9068 fail:
9069 return NULL;
9070 }
9071
9072
9073 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9074 PyObject *obj;
9075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9076 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9077 Py_INCREF(obj);
9078 return Py_BuildValue((char *)"");
9079 }
9080 static int _wrap_VListBoxNameStr_set(PyObject *) {
9081 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9082 return 1;
9083 }
9084
9085
9086 static PyObject *_wrap_VListBoxNameStr_get() {
9087 PyObject *pyobj;
9088
9089 {
9090 #if wxUSE_UNICODE
9091 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9092 #else
9093 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9094 #endif
9095 }
9096 return pyobj;
9097 }
9098
9099
9100 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj;
9102 wxWindow *arg1 = (wxWindow *) 0 ;
9103 int arg2 = (int) wxID_ANY ;
9104 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9105 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9106 wxSize const &arg4_defvalue = wxDefaultSize ;
9107 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9108 long arg5 = (long) 0 ;
9109 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9110 wxString *arg6 = (wxString *) &arg6_defvalue ;
9111 wxPyVListBox *result;
9112 wxPoint temp3 ;
9113 wxSize temp4 ;
9114 bool temp6 = False ;
9115 PyObject * obj0 = 0 ;
9116 PyObject * obj1 = 0 ;
9117 PyObject * obj2 = 0 ;
9118 PyObject * obj3 = 0 ;
9119 PyObject * obj4 = 0 ;
9120 PyObject * obj5 = 0 ;
9121 char *kwnames[] = {
9122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9127 if (obj1) {
9128 {
9129 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 }
9132 }
9133 if (obj2) {
9134 {
9135 arg3 = &temp3;
9136 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9137 }
9138 }
9139 if (obj3) {
9140 {
9141 arg4 = &temp4;
9142 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9143 }
9144 }
9145 if (obj4) {
9146 {
9147 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 }
9151 if (obj5) {
9152 {
9153 arg6 = wxString_in_helper(obj5);
9154 if (arg6 == NULL) SWIG_fail;
9155 temp6 = True;
9156 }
9157 }
9158 {
9159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9160 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9161
9162 wxPyEndAllowThreads(__tstate);
9163 if (PyErr_Occurred()) SWIG_fail;
9164 }
9165 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
9166 {
9167 if (temp6)
9168 delete arg6;
9169 }
9170 return resultobj;
9171 fail:
9172 {
9173 if (temp6)
9174 delete arg6;
9175 }
9176 return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxPyVListBox *result;
9183 char *kwnames[] = {
9184 NULL
9185 };
9186
9187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9188 {
9189 PyThreadState* __tstate = wxPyBeginAllowThreads();
9190 result = (wxPyVListBox *)new wxPyVListBox();
9191
9192 wxPyEndAllowThreads(__tstate);
9193 if (PyErr_Occurred()) SWIG_fail;
9194 }
9195 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
9196 return resultobj;
9197 fail:
9198 return NULL;
9199 }
9200
9201
9202 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9203 PyObject *resultobj;
9204 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9205 PyObject *arg2 = (PyObject *) 0 ;
9206 PyObject *arg3 = (PyObject *) 0 ;
9207 PyObject * obj0 = 0 ;
9208 PyObject * obj1 = 0 ;
9209 PyObject * obj2 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "self",(char *) "self",(char *) "_class", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9216 arg2 = obj1;
9217 arg3 = obj2;
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 (arg1)->_setCallbackInfo(arg2,arg3);
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 Py_INCREF(Py_None); resultobj = Py_None;
9226 return resultobj;
9227 fail:
9228 return NULL;
9229 }
9230
9231
9232 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj;
9234 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9235 wxWindow *arg2 = (wxWindow *) 0 ;
9236 int arg3 = (int) wxID_ANY ;
9237 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9238 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9239 wxSize const &arg5_defvalue = wxDefaultSize ;
9240 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9241 long arg6 = (long) 0 ;
9242 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9243 wxString *arg7 = (wxString *) &arg7_defvalue ;
9244 bool result;
9245 wxPoint temp4 ;
9246 wxSize temp5 ;
9247 bool temp7 = False ;
9248 PyObject * obj0 = 0 ;
9249 PyObject * obj1 = 0 ;
9250 PyObject * obj2 = 0 ;
9251 PyObject * obj3 = 0 ;
9252 PyObject * obj4 = 0 ;
9253 PyObject * obj5 = 0 ;
9254 PyObject * obj6 = 0 ;
9255 char *kwnames[] = {
9256 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9257 };
9258
9259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9261 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9262 if (obj2) {
9263 {
9264 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9265 if (PyErr_Occurred()) SWIG_fail;
9266 }
9267 }
9268 if (obj3) {
9269 {
9270 arg4 = &temp4;
9271 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9272 }
9273 }
9274 if (obj4) {
9275 {
9276 arg5 = &temp5;
9277 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9278 }
9279 }
9280 if (obj5) {
9281 {
9282 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 }
9286 if (obj6) {
9287 {
9288 arg7 = wxString_in_helper(obj6);
9289 if (arg7 == NULL) SWIG_fail;
9290 temp7 = True;
9291 }
9292 }
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9296
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9301 {
9302 if (temp7)
9303 delete arg7;
9304 }
9305 return resultobj;
9306 fail:
9307 {
9308 if (temp7)
9309 delete arg7;
9310 }
9311 return NULL;
9312 }
9313
9314
9315 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj;
9317 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9318 size_t result;
9319 PyObject * obj0 = 0 ;
9320 char *kwnames[] = {
9321 (char *) "self", NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9329
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
9333 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9334 return resultobj;
9335 fail:
9336 return NULL;
9337 }
9338
9339
9340 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9341 PyObject *resultobj;
9342 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9343 bool result;
9344 PyObject * obj0 = 0 ;
9345 char *kwnames[] = {
9346 (char *) "self", NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9351 {
9352 PyThreadState* __tstate = wxPyBeginAllowThreads();
9353 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9354
9355 wxPyEndAllowThreads(__tstate);
9356 if (PyErr_Occurred()) SWIG_fail;
9357 }
9358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9359 return resultobj;
9360 fail:
9361 return NULL;
9362 }
9363
9364
9365 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9366 PyObject *resultobj;
9367 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9368 int result;
9369 PyObject * obj0 = 0 ;
9370 char *kwnames[] = {
9371 (char *) "self", NULL
9372 };
9373
9374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 resultobj = SWIG_PyObj_FromInt((int)result);
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9393 size_t arg2 ;
9394 bool result;
9395 PyObject * obj0 = 0 ;
9396 PyObject * obj1 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self",(char *) "item", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9403 {
9404 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9405 if (PyErr_Occurred()) SWIG_fail;
9406 }
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9410
9411 wxPyEndAllowThreads(__tstate);
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9415 return resultobj;
9416 fail:
9417 return NULL;
9418 }
9419
9420
9421 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9422 PyObject *resultobj;
9423 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9424 size_t arg2 ;
9425 bool result;
9426 PyObject * obj0 = 0 ;
9427 PyObject * obj1 = 0 ;
9428 char *kwnames[] = {
9429 (char *) "self",(char *) "item", NULL
9430 };
9431
9432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9434 {
9435 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9436 if (PyErr_Occurred()) SWIG_fail;
9437 }
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9446 return resultobj;
9447 fail:
9448 return NULL;
9449 }
9450
9451
9452 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9453 PyObject *resultobj;
9454 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9455 size_t result;
9456 PyObject * obj0 = 0 ;
9457 char *kwnames[] = {
9458 (char *) "self", NULL
9459 };
9460
9461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
9470 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9471 return resultobj;
9472 fail:
9473 return NULL;
9474 }
9475
9476
9477 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9478 PyObject *resultobj;
9479 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9480 unsigned long *arg2 = 0 ;
9481 int result;
9482 PyObject * obj0 = 0 ;
9483 PyObject * obj1 = 0 ;
9484 char *kwnames[] = {
9485 (char *) "self",(char *) "cookie", NULL
9486 };
9487
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9490 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9491 if (arg2 == NULL) {
9492 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9493 }
9494 {
9495 PyThreadState* __tstate = wxPyBeginAllowThreads();
9496 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9497
9498 wxPyEndAllowThreads(__tstate);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 }
9501 resultobj = SWIG_PyObj_FromInt((int)result);
9502 return resultobj;
9503 fail:
9504 return NULL;
9505 }
9506
9507
9508 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9509 PyObject *resultobj;
9510 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9511 unsigned long *arg2 = 0 ;
9512 int result;
9513 PyObject * obj0 = 0 ;
9514 PyObject * obj1 = 0 ;
9515 char *kwnames[] = {
9516 (char *) "self",(char *) "cookie", NULL
9517 };
9518
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9521 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9522 if (arg2 == NULL) {
9523 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9524 }
9525 {
9526 PyThreadState* __tstate = wxPyBeginAllowThreads();
9527 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9528
9529 wxPyEndAllowThreads(__tstate);
9530 if (PyErr_Occurred()) SWIG_fail;
9531 }
9532 resultobj = SWIG_PyObj_FromInt((int)result);
9533 return resultobj;
9534 fail:
9535 return NULL;
9536 }
9537
9538
9539 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9540 PyObject *resultobj;
9541 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9542 wxPoint result;
9543 PyObject * obj0 = 0 ;
9544 char *kwnames[] = {
9545 (char *) "self", NULL
9546 };
9547
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 result = ((wxPyVListBox const *)arg1)->GetMargins();
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 {
9558 wxPoint * resultptr;
9559 resultptr = new wxPoint((wxPoint &) result);
9560 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9561 }
9562 return resultobj;
9563 fail:
9564 return NULL;
9565 }
9566
9567
9568 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9569 PyObject *resultobj;
9570 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9571 wxColour *result;
9572 PyObject * obj0 = 0 ;
9573 char *kwnames[] = {
9574 (char *) "self", NULL
9575 };
9576
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 {
9582 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9583 result = (wxColour *) &_result_ref;
9584 }
9585
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
9590 return resultobj;
9591 fail:
9592 return NULL;
9593 }
9594
9595
9596 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9597 PyObject *resultobj;
9598 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9599 size_t arg2 ;
9600 PyObject * obj0 = 0 ;
9601 PyObject * obj1 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "self",(char *) "count", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9608 {
9609 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9610 if (PyErr_Occurred()) SWIG_fail;
9611 }
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 (arg1)->SetItemCount(arg2);
9615
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 Py_INCREF(Py_None); resultobj = Py_None;
9620 return resultobj;
9621 fail:
9622 return NULL;
9623 }
9624
9625
9626 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9627 PyObject *resultobj;
9628 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9629 PyObject * obj0 = 0 ;
9630 char *kwnames[] = {
9631 (char *) "self", NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 (arg1)->Clear();
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 Py_INCREF(Py_None); resultobj = Py_None;
9644 return resultobj;
9645 fail:
9646 return NULL;
9647 }
9648
9649
9650 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj;
9652 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9653 int arg2 ;
9654 PyObject * obj0 = 0 ;
9655 PyObject * obj1 = 0 ;
9656 char *kwnames[] = {
9657 (char *) "self",(char *) "selection", NULL
9658 };
9659
9660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9662 {
9663 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9664 if (PyErr_Occurred()) SWIG_fail;
9665 }
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 (arg1)->SetSelection(arg2);
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 Py_INCREF(Py_None); resultobj = Py_None;
9674 return resultobj;
9675 fail:
9676 return NULL;
9677 }
9678
9679
9680 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj;
9682 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9683 size_t arg2 ;
9684 bool arg3 = (bool) True ;
9685 bool result;
9686 PyObject * obj0 = 0 ;
9687 PyObject * obj1 = 0 ;
9688 PyObject * obj2 = 0 ;
9689 char *kwnames[] = {
9690 (char *) "self",(char *) "item",(char *) "select", NULL
9691 };
9692
9693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9695 {
9696 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 if (obj2) {
9700 {
9701 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 }
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 result = (bool)(arg1)->Select(arg2,arg3);
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9713 return resultobj;
9714 fail:
9715 return NULL;
9716 }
9717
9718
9719 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9720 PyObject *resultobj;
9721 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9722 size_t arg2 ;
9723 size_t arg3 ;
9724 bool result;
9725 PyObject * obj0 = 0 ;
9726 PyObject * obj1 = 0 ;
9727 PyObject * obj2 = 0 ;
9728 char *kwnames[] = {
9729 (char *) "self",(char *) "from",(char *) "to", NULL
9730 };
9731
9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9734 {
9735 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
9738 {
9739 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (bool)(arg1)->SelectRange(arg2,arg3);
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
9749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9750 return resultobj;
9751 fail:
9752 return NULL;
9753 }
9754
9755
9756 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9757 PyObject *resultobj;
9758 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9759 size_t arg2 ;
9760 PyObject * obj0 = 0 ;
9761 PyObject * obj1 = 0 ;
9762 char *kwnames[] = {
9763 (char *) "self",(char *) "item", NULL
9764 };
9765
9766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9768 {
9769 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
9772 {
9773 PyThreadState* __tstate = wxPyBeginAllowThreads();
9774 (arg1)->Toggle(arg2);
9775
9776 wxPyEndAllowThreads(__tstate);
9777 if (PyErr_Occurred()) SWIG_fail;
9778 }
9779 Py_INCREF(Py_None); resultobj = Py_None;
9780 return resultobj;
9781 fail:
9782 return NULL;
9783 }
9784
9785
9786 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9787 PyObject *resultobj;
9788 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9789 bool result;
9790 PyObject * obj0 = 0 ;
9791 char *kwnames[] = {
9792 (char *) "self", NULL
9793 };
9794
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 result = (bool)(arg1)->SelectAll();
9800
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9805 return resultobj;
9806 fail:
9807 return NULL;
9808 }
9809
9810
9811 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9814 bool result;
9815 PyObject * obj0 = 0 ;
9816 char *kwnames[] = {
9817 (char *) "self", NULL
9818 };
9819
9820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9822 {
9823 PyThreadState* __tstate = wxPyBeginAllowThreads();
9824 result = (bool)(arg1)->DeselectAll();
9825
9826 wxPyEndAllowThreads(__tstate);
9827 if (PyErr_Occurred()) SWIG_fail;
9828 }
9829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9830 return resultobj;
9831 fail:
9832 return NULL;
9833 }
9834
9835
9836 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9837 PyObject *resultobj;
9838 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9839 wxPoint *arg2 = 0 ;
9840 wxPoint temp2 ;
9841 PyObject * obj0 = 0 ;
9842 PyObject * obj1 = 0 ;
9843 char *kwnames[] = {
9844 (char *) "self",(char *) "pt", NULL
9845 };
9846
9847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9849 {
9850 arg2 = &temp2;
9851 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9852 }
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 (arg1)->SetMargins((wxPoint const &)*arg2);
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 Py_INCREF(Py_None); resultobj = Py_None;
9861 return resultobj;
9862 fail:
9863 return NULL;
9864 }
9865
9866
9867 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9868 PyObject *resultobj;
9869 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9870 int arg2 ;
9871 int arg3 ;
9872 PyObject * obj0 = 0 ;
9873 PyObject * obj1 = 0 ;
9874 PyObject * obj2 = 0 ;
9875 char *kwnames[] = {
9876 (char *) "self",(char *) "x",(char *) "y", NULL
9877 };
9878
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9881 {
9882 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9883 if (PyErr_Occurred()) SWIG_fail;
9884 }
9885 {
9886 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9887 if (PyErr_Occurred()) SWIG_fail;
9888 }
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 (arg1)->SetMargins(arg2,arg3);
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 Py_INCREF(Py_None); resultobj = Py_None;
9897 return resultobj;
9898 fail:
9899 return NULL;
9900 }
9901
9902
9903 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj;
9905 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9906 wxColour *arg2 = 0 ;
9907 wxColour temp2 ;
9908 PyObject * obj0 = 0 ;
9909 PyObject * obj1 = 0 ;
9910 char *kwnames[] = {
9911 (char *) "self",(char *) "col", NULL
9912 };
9913
9914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9916 {
9917 arg2 = &temp2;
9918 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9919 }
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9923
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 Py_INCREF(Py_None); resultobj = Py_None;
9928 return resultobj;
9929 fail:
9930 return NULL;
9931 }
9932
9933
9934 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9935 PyObject *obj;
9936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9937 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9938 Py_INCREF(obj);
9939 return Py_BuildValue((char *)"");
9940 }
9941 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9942 PyObject *resultobj;
9943 wxWindow *arg1 = (wxWindow *) 0 ;
9944 int arg2 = (int) wxID_ANY ;
9945 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9946 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9947 wxSize const &arg4_defvalue = wxDefaultSize ;
9948 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9949 long arg5 = (long) 0 ;
9950 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9951 wxString *arg6 = (wxString *) &arg6_defvalue ;
9952 wxPyHtmlListBox *result;
9953 wxPoint temp3 ;
9954 wxSize temp4 ;
9955 bool temp6 = False ;
9956 PyObject * obj0 = 0 ;
9957 PyObject * obj1 = 0 ;
9958 PyObject * obj2 = 0 ;
9959 PyObject * obj3 = 0 ;
9960 PyObject * obj4 = 0 ;
9961 PyObject * obj5 = 0 ;
9962 char *kwnames[] = {
9963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9968 if (obj1) {
9969 {
9970 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9971 if (PyErr_Occurred()) SWIG_fail;
9972 }
9973 }
9974 if (obj2) {
9975 {
9976 arg3 = &temp3;
9977 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9978 }
9979 }
9980 if (obj3) {
9981 {
9982 arg4 = &temp4;
9983 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9984 }
9985 }
9986 if (obj4) {
9987 {
9988 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
9991 }
9992 if (obj5) {
9993 {
9994 arg6 = wxString_in_helper(obj5);
9995 if (arg6 == NULL) SWIG_fail;
9996 temp6 = True;
9997 }
9998 }
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10002
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 }
10006 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
10007 {
10008 if (temp6)
10009 delete arg6;
10010 }
10011 return resultobj;
10012 fail:
10013 {
10014 if (temp6)
10015 delete arg6;
10016 }
10017 return NULL;
10018 }
10019
10020
10021 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10022 PyObject *resultobj;
10023 wxPyHtmlListBox *result;
10024 char *kwnames[] = {
10025 NULL
10026 };
10027
10028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10029 {
10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
10031 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10032
10033 wxPyEndAllowThreads(__tstate);
10034 if (PyErr_Occurred()) SWIG_fail;
10035 }
10036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
10037 return resultobj;
10038 fail:
10039 return NULL;
10040 }
10041
10042
10043 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10044 PyObject *resultobj;
10045 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10046 PyObject *arg2 = (PyObject *) 0 ;
10047 PyObject *arg3 = (PyObject *) 0 ;
10048 PyObject * obj0 = 0 ;
10049 PyObject * obj1 = 0 ;
10050 PyObject * obj2 = 0 ;
10051 char *kwnames[] = {
10052 (char *) "self",(char *) "self",(char *) "_class", NULL
10053 };
10054
10055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10057 arg2 = obj1;
10058 arg3 = obj2;
10059 {
10060 PyThreadState* __tstate = wxPyBeginAllowThreads();
10061 (arg1)->_setCallbackInfo(arg2,arg3);
10062
10063 wxPyEndAllowThreads(__tstate);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
10066 Py_INCREF(Py_None); resultobj = Py_None;
10067 return resultobj;
10068 fail:
10069 return NULL;
10070 }
10071
10072
10073 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10074 PyObject *resultobj;
10075 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10076 wxWindow *arg2 = (wxWindow *) 0 ;
10077 int arg3 = (int) wxID_ANY ;
10078 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10079 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10080 wxSize const &arg5_defvalue = wxDefaultSize ;
10081 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10082 long arg6 = (long) 0 ;
10083 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10084 wxString *arg7 = (wxString *) &arg7_defvalue ;
10085 bool result;
10086 wxPoint temp4 ;
10087 wxSize temp5 ;
10088 bool temp7 = False ;
10089 PyObject * obj0 = 0 ;
10090 PyObject * obj1 = 0 ;
10091 PyObject * obj2 = 0 ;
10092 PyObject * obj3 = 0 ;
10093 PyObject * obj4 = 0 ;
10094 PyObject * obj5 = 0 ;
10095 PyObject * obj6 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10102 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10103 if (obj2) {
10104 {
10105 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10106 if (PyErr_Occurred()) SWIG_fail;
10107 }
10108 }
10109 if (obj3) {
10110 {
10111 arg4 = &temp4;
10112 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10113 }
10114 }
10115 if (obj4) {
10116 {
10117 arg5 = &temp5;
10118 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10119 }
10120 }
10121 if (obj5) {
10122 {
10123 arg6 = (long) SWIG_PyObj_AsLong(obj5);
10124 if (PyErr_Occurred()) SWIG_fail;
10125 }
10126 }
10127 if (obj6) {
10128 {
10129 arg7 = wxString_in_helper(obj6);
10130 if (arg7 == NULL) SWIG_fail;
10131 temp7 = True;
10132 }
10133 }
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10137
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10142 {
10143 if (temp7)
10144 delete arg7;
10145 }
10146 return resultobj;
10147 fail:
10148 {
10149 if (temp7)
10150 delete arg7;
10151 }
10152 return NULL;
10153 }
10154
10155
10156 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10157 PyObject *resultobj;
10158 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10159 PyObject * obj0 = 0 ;
10160 char *kwnames[] = {
10161 (char *) "self", NULL
10162 };
10163
10164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 (arg1)->RefreshAll();
10169
10170 wxPyEndAllowThreads(__tstate);
10171 if (PyErr_Occurred()) SWIG_fail;
10172 }
10173 Py_INCREF(Py_None); resultobj = Py_None;
10174 return resultobj;
10175 fail:
10176 return NULL;
10177 }
10178
10179
10180 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10181 PyObject *resultobj;
10182 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10183 size_t arg2 ;
10184 PyObject * obj0 = 0 ;
10185 PyObject * obj1 = 0 ;
10186 char *kwnames[] = {
10187 (char *) "self",(char *) "count", NULL
10188 };
10189
10190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10192 {
10193 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
10196 {
10197 PyThreadState* __tstate = wxPyBeginAllowThreads();
10198 (arg1)->SetItemCount(arg2);
10199
10200 wxPyEndAllowThreads(__tstate);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 }
10203 Py_INCREF(Py_None); resultobj = Py_None;
10204 return resultobj;
10205 fail:
10206 return NULL;
10207 }
10208
10209
10210 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10211 PyObject *obj;
10212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10213 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10214 Py_INCREF(obj);
10215 return Py_BuildValue((char *)"");
10216 }
10217 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10218 PyObject *resultobj;
10219 wxTaskBarIcon *result;
10220 char *kwnames[] = {
10221 NULL
10222 };
10223
10224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10228
10229 wxPyEndAllowThreads(__tstate);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
10232 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
10233 return resultobj;
10234 fail:
10235 return NULL;
10236 }
10237
10238
10239 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10240 PyObject *resultobj;
10241 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10242 PyObject * obj0 = 0 ;
10243 char *kwnames[] = {
10244 (char *) "self", NULL
10245 };
10246
10247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10249 {
10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
10251 delete arg1;
10252
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 Py_INCREF(Py_None); resultobj = Py_None;
10257 return resultobj;
10258 fail:
10259 return NULL;
10260 }
10261
10262
10263 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10264 PyObject *obj;
10265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10266 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10267 Py_INCREF(obj);
10268 return Py_BuildValue((char *)"");
10269 }
10270 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10271 PyObject *resultobj;
10272 wxEventType arg1 ;
10273 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10274 wxTaskBarIconEvent *result;
10275 PyObject * obj0 = 0 ;
10276 PyObject * obj1 = 0 ;
10277 char *kwnames[] = {
10278 (char *) "evtType",(char *) "tbIcon", NULL
10279 };
10280
10281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10282 {
10283 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10287 {
10288 PyThreadState* __tstate = wxPyBeginAllowThreads();
10289 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10290
10291 wxPyEndAllowThreads(__tstate);
10292 if (PyErr_Occurred()) SWIG_fail;
10293 }
10294 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
10295 return resultobj;
10296 fail:
10297 return NULL;
10298 }
10299
10300
10301 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10302 PyObject *obj;
10303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10304 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10305 Py_INCREF(obj);
10306 return Py_BuildValue((char *)"");
10307 }
10308 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
10309 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10310 return 1;
10311 }
10312
10313
10314 static PyObject *_wrap_FileSelectorPromptStr_get() {
10315 PyObject *pyobj;
10316
10317 {
10318 #if wxUSE_UNICODE
10319 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10320 #else
10321 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10322 #endif
10323 }
10324 return pyobj;
10325 }
10326
10327
10328 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
10329 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10330 return 1;
10331 }
10332
10333
10334 static PyObject *_wrap_DirSelectorPromptStr_get() {
10335 PyObject *pyobj;
10336
10337 {
10338 #if wxUSE_UNICODE
10339 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10340 #else
10341 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10342 #endif
10343 }
10344 return pyobj;
10345 }
10346
10347
10348 static int _wrap_DirDialogNameStr_set(PyObject *) {
10349 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10350 return 1;
10351 }
10352
10353
10354 static PyObject *_wrap_DirDialogNameStr_get() {
10355 PyObject *pyobj;
10356
10357 {
10358 #if wxUSE_UNICODE
10359 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10360 #else
10361 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10362 #endif
10363 }
10364 return pyobj;
10365 }
10366
10367
10368 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
10369 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10370 return 1;
10371 }
10372
10373
10374 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10375 PyObject *pyobj;
10376
10377 {
10378 #if wxUSE_UNICODE
10379 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10380 #else
10381 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10382 #endif
10383 }
10384 return pyobj;
10385 }
10386
10387
10388 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
10389 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10390 return 1;
10391 }
10392
10393
10394 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10395 PyObject *pyobj;
10396
10397 {
10398 #if wxUSE_UNICODE
10399 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10400 #else
10401 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10402 #endif
10403 }
10404 return pyobj;
10405 }
10406
10407
10408 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
10409 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10410 return 1;
10411 }
10412
10413
10414 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10415 PyObject *pyobj;
10416
10417 {
10418 #if wxUSE_UNICODE
10419 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10420 #else
10421 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10422 #endif
10423 }
10424 return pyobj;
10425 }
10426
10427
10428 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10429 PyObject *resultobj;
10430 wxColourData *result;
10431 char *kwnames[] = {
10432 NULL
10433 };
10434
10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10436 {
10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
10438 result = (wxColourData *)new wxColourData();
10439
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
10444 return resultobj;
10445 fail:
10446 return NULL;
10447 }
10448
10449
10450 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj;
10452 wxColourData *arg1 = (wxColourData *) 0 ;
10453 PyObject * obj0 = 0 ;
10454 char *kwnames[] = {
10455 (char *) "self", NULL
10456 };
10457
10458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 delete arg1;
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 Py_INCREF(Py_None); resultobj = Py_None;
10468 return resultobj;
10469 fail:
10470 return NULL;
10471 }
10472
10473
10474 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10475 PyObject *resultobj;
10476 wxColourData *arg1 = (wxColourData *) 0 ;
10477 bool result;
10478 PyObject * obj0 = 0 ;
10479 char *kwnames[] = {
10480 (char *) "self", NULL
10481 };
10482
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 result = (bool)(arg1)->GetChooseFull();
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10493 return resultobj;
10494 fail:
10495 return NULL;
10496 }
10497
10498
10499 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10500 PyObject *resultobj;
10501 wxColourData *arg1 = (wxColourData *) 0 ;
10502 wxColour result;
10503 PyObject * obj0 = 0 ;
10504 char *kwnames[] = {
10505 (char *) "self", NULL
10506 };
10507
10508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
10512 result = (arg1)->GetColour();
10513
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 {
10518 wxColour * resultptr;
10519 resultptr = new wxColour((wxColour &) result);
10520 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10521 }
10522 return resultobj;
10523 fail:
10524 return NULL;
10525 }
10526
10527
10528 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10529 PyObject *resultobj;
10530 wxColourData *arg1 = (wxColourData *) 0 ;
10531 int arg2 ;
10532 wxColour result;
10533 PyObject * obj0 = 0 ;
10534 PyObject * obj1 = 0 ;
10535 char *kwnames[] = {
10536 (char *) "self",(char *) "i", NULL
10537 };
10538
10539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10541 {
10542 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10543 if (PyErr_Occurred()) SWIG_fail;
10544 }
10545 {
10546 PyThreadState* __tstate = wxPyBeginAllowThreads();
10547 result = (arg1)->GetCustomColour(arg2);
10548
10549 wxPyEndAllowThreads(__tstate);
10550 if (PyErr_Occurred()) SWIG_fail;
10551 }
10552 {
10553 wxColour * resultptr;
10554 resultptr = new wxColour((wxColour &) result);
10555 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10556 }
10557 return resultobj;
10558 fail:
10559 return NULL;
10560 }
10561
10562
10563 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10564 PyObject *resultobj;
10565 wxColourData *arg1 = (wxColourData *) 0 ;
10566 int arg2 ;
10567 PyObject * obj0 = 0 ;
10568 PyObject * obj1 = 0 ;
10569 char *kwnames[] = {
10570 (char *) "self",(char *) "flag", NULL
10571 };
10572
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10575 {
10576 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10577 if (PyErr_Occurred()) SWIG_fail;
10578 }
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 (arg1)->SetChooseFull(arg2);
10582
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 Py_INCREF(Py_None); resultobj = Py_None;
10587 return resultobj;
10588 fail:
10589 return NULL;
10590 }
10591
10592
10593 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj;
10595 wxColourData *arg1 = (wxColourData *) 0 ;
10596 wxColour *arg2 = 0 ;
10597 wxColour temp2 ;
10598 PyObject * obj0 = 0 ;
10599 PyObject * obj1 = 0 ;
10600 char *kwnames[] = {
10601 (char *) "self",(char *) "colour", NULL
10602 };
10603
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10606 {
10607 arg2 = &temp2;
10608 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10609 }
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 (arg1)->SetColour((wxColour const &)*arg2);
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 Py_INCREF(Py_None); resultobj = Py_None;
10618 return resultobj;
10619 fail:
10620 return NULL;
10621 }
10622
10623
10624 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10625 PyObject *resultobj;
10626 wxColourData *arg1 = (wxColourData *) 0 ;
10627 int arg2 ;
10628 wxColour *arg3 = 0 ;
10629 wxColour temp3 ;
10630 PyObject * obj0 = 0 ;
10631 PyObject * obj1 = 0 ;
10632 PyObject * obj2 = 0 ;
10633 char *kwnames[] = {
10634 (char *) "self",(char *) "i",(char *) "colour", NULL
10635 };
10636
10637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10639 {
10640 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10641 if (PyErr_Occurred()) SWIG_fail;
10642 }
10643 {
10644 arg3 = &temp3;
10645 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10646 }
10647 {
10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
10649 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10650
10651 wxPyEndAllowThreads(__tstate);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 Py_INCREF(Py_None); resultobj = Py_None;
10655 return resultobj;
10656 fail:
10657 return NULL;
10658 }
10659
10660
10661 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10662 PyObject *obj;
10663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10664 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10665 Py_INCREF(obj);
10666 return Py_BuildValue((char *)"");
10667 }
10668 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10669 PyObject *resultobj;
10670 wxWindow *arg1 = (wxWindow *) 0 ;
10671 wxColourData *arg2 = (wxColourData *) NULL ;
10672 wxColourDialog *result;
10673 PyObject * obj0 = 0 ;
10674 PyObject * obj1 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "parent",(char *) "data", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10681 if (obj1) {
10682 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10683 }
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10687
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
10691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
10692 return resultobj;
10693 fail:
10694 return NULL;
10695 }
10696
10697
10698 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10699 PyObject *resultobj;
10700 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10701 wxColourData *result;
10702 PyObject * obj0 = 0 ;
10703 char *kwnames[] = {
10704 (char *) "self", NULL
10705 };
10706
10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10709 {
10710 PyThreadState* __tstate = wxPyBeginAllowThreads();
10711 {
10712 wxColourData &_result_ref = (arg1)->GetColourData();
10713 result = (wxColourData *) &_result_ref;
10714 }
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
10720 return resultobj;
10721 fail:
10722 return NULL;
10723 }
10724
10725
10726 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj;
10728 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10729 int result;
10730 PyObject * obj0 = 0 ;
10731 char *kwnames[] = {
10732 (char *) "self", NULL
10733 };
10734
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
10736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 result = (int)(arg1)->ShowModal();
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
10744 resultobj = SWIG_PyObj_FromInt((int)result);
10745 return resultobj;
10746 fail:
10747 return NULL;
10748 }
10749
10750
10751 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
10752 PyObject *obj;
10753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10754 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10755 Py_INCREF(obj);
10756 return Py_BuildValue((char *)"");
10757 }
10758 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10759 PyObject *resultobj;
10760 wxWindow *arg1 = (wxWindow *) 0 ;
10761 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10762 wxString *arg2 = (wxString *) &arg2_defvalue ;
10763 wxString const &arg3_defvalue = wxPyEmptyString ;
10764 wxString *arg3 = (wxString *) &arg3_defvalue ;
10765 long arg4 = (long) 0 ;
10766 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10767 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10768 wxSize const &arg6_defvalue = wxDefaultSize ;
10769 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10770 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10771 wxString *arg7 = (wxString *) &arg7_defvalue ;
10772 wxDirDialog *result;
10773 bool temp2 = False ;
10774 bool temp3 = False ;
10775 wxPoint temp5 ;
10776 wxSize temp6 ;
10777 bool temp7 = False ;
10778 PyObject * obj0 = 0 ;
10779 PyObject * obj1 = 0 ;
10780 PyObject * obj2 = 0 ;
10781 PyObject * obj3 = 0 ;
10782 PyObject * obj4 = 0 ;
10783 PyObject * obj5 = 0 ;
10784 PyObject * obj6 = 0 ;
10785 char *kwnames[] = {
10786 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10787 };
10788
10789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10791 if (obj1) {
10792 {
10793 arg2 = wxString_in_helper(obj1);
10794 if (arg2 == NULL) SWIG_fail;
10795 temp2 = True;
10796 }
10797 }
10798 if (obj2) {
10799 {
10800 arg3 = wxString_in_helper(obj2);
10801 if (arg3 == NULL) SWIG_fail;
10802 temp3 = True;
10803 }
10804 }
10805 if (obj3) {
10806 {
10807 arg4 = (long) SWIG_PyObj_AsLong(obj3);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 }
10810 }
10811 if (obj4) {
10812 {
10813 arg5 = &temp5;
10814 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10815 }
10816 }
10817 if (obj5) {
10818 {
10819 arg6 = &temp6;
10820 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10821 }
10822 }
10823 if (obj6) {
10824 {
10825 arg7 = wxString_in_helper(obj6);
10826 if (arg7 == NULL) SWIG_fail;
10827 temp7 = True;
10828 }
10829 }
10830 {
10831 PyThreadState* __tstate = wxPyBeginAllowThreads();
10832 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10833
10834 wxPyEndAllowThreads(__tstate);
10835 if (PyErr_Occurred()) SWIG_fail;
10836 }
10837 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10838 {
10839 if (temp2)
10840 delete arg2;
10841 }
10842 {
10843 if (temp3)
10844 delete arg3;
10845 }
10846 {
10847 if (temp7)
10848 delete arg7;
10849 }
10850 return resultobj;
10851 fail:
10852 {
10853 if (temp2)
10854 delete arg2;
10855 }
10856 {
10857 if (temp3)
10858 delete arg3;
10859 }
10860 {
10861 if (temp7)
10862 delete arg7;
10863 }
10864 return NULL;
10865 }
10866
10867
10868 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10869 PyObject *resultobj;
10870 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10871 wxString result;
10872 PyObject * obj0 = 0 ;
10873 char *kwnames[] = {
10874 (char *) "self", NULL
10875 };
10876
10877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 result = (arg1)->GetPath();
10882
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 {
10887 #if wxUSE_UNICODE
10888 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10889 #else
10890 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10891 #endif
10892 }
10893 return resultobj;
10894 fail:
10895 return NULL;
10896 }
10897
10898
10899 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10900 PyObject *resultobj;
10901 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10902 wxString result;
10903 PyObject * obj0 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "self", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
10912 result = (arg1)->GetMessage();
10913
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 {
10918 #if wxUSE_UNICODE
10919 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10920 #else
10921 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10922 #endif
10923 }
10924 return resultobj;
10925 fail:
10926 return NULL;
10927 }
10928
10929
10930 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10931 PyObject *resultobj;
10932 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10933 long result;
10934 PyObject * obj0 = 0 ;
10935 char *kwnames[] = {
10936 (char *) "self", NULL
10937 };
10938
10939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10941 {
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 result = (long)(arg1)->GetStyle();
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 resultobj = SWIG_PyObj_FromLong((long)result);
10949 return resultobj;
10950 fail:
10951 return NULL;
10952 }
10953
10954
10955 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10956 PyObject *resultobj;
10957 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10958 wxString *arg2 = 0 ;
10959 bool temp2 = False ;
10960 PyObject * obj0 = 0 ;
10961 PyObject * obj1 = 0 ;
10962 char *kwnames[] = {
10963 (char *) "self",(char *) "message", NULL
10964 };
10965
10966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10968 {
10969 arg2 = wxString_in_helper(obj1);
10970 if (arg2 == NULL) SWIG_fail;
10971 temp2 = True;
10972 }
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 (arg1)->SetMessage((wxString const &)*arg2);
10976
10977 wxPyEndAllowThreads(__tstate);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 }
10980 Py_INCREF(Py_None); resultobj = Py_None;
10981 {
10982 if (temp2)
10983 delete arg2;
10984 }
10985 return resultobj;
10986 fail:
10987 {
10988 if (temp2)
10989 delete arg2;
10990 }
10991 return NULL;
10992 }
10993
10994
10995 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10996 PyObject *resultobj;
10997 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10998 wxString *arg2 = 0 ;
10999 bool temp2 = False ;
11000 PyObject * obj0 = 0 ;
11001 PyObject * obj1 = 0 ;
11002 char *kwnames[] = {
11003 (char *) "self",(char *) "path", NULL
11004 };
11005
11006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11008 {
11009 arg2 = wxString_in_helper(obj1);
11010 if (arg2 == NULL) SWIG_fail;
11011 temp2 = True;
11012 }
11013 {
11014 PyThreadState* __tstate = wxPyBeginAllowThreads();
11015 (arg1)->SetPath((wxString const &)*arg2);
11016
11017 wxPyEndAllowThreads(__tstate);
11018 if (PyErr_Occurred()) SWIG_fail;
11019 }
11020 Py_INCREF(Py_None); resultobj = Py_None;
11021 {
11022 if (temp2)
11023 delete arg2;
11024 }
11025 return resultobj;
11026 fail:
11027 {
11028 if (temp2)
11029 delete arg2;
11030 }
11031 return NULL;
11032 }
11033
11034
11035 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11036 PyObject *resultobj;
11037 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11038 int result;
11039 PyObject * obj0 = 0 ;
11040 char *kwnames[] = {
11041 (char *) "self", NULL
11042 };
11043
11044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
11045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11046 {
11047 PyThreadState* __tstate = wxPyBeginAllowThreads();
11048 result = (int)(arg1)->ShowModal();
11049
11050 wxPyEndAllowThreads(__tstate);
11051 if (PyErr_Occurred()) SWIG_fail;
11052 }
11053 resultobj = SWIG_PyObj_FromInt((int)result);
11054 return resultobj;
11055 fail:
11056 return NULL;
11057 }
11058
11059
11060 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11061 PyObject *obj;
11062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11063 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11064 Py_INCREF(obj);
11065 return Py_BuildValue((char *)"");
11066 }
11067 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11068 PyObject *resultobj;
11069 wxWindow *arg1 = (wxWindow *) 0 ;
11070 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11071 wxString *arg2 = (wxString *) &arg2_defvalue ;
11072 wxString const &arg3_defvalue = wxPyEmptyString ;
11073 wxString *arg3 = (wxString *) &arg3_defvalue ;
11074 wxString const &arg4_defvalue = wxPyEmptyString ;
11075 wxString *arg4 = (wxString *) &arg4_defvalue ;
11076 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11077 wxString *arg5 = (wxString *) &arg5_defvalue ;
11078 long arg6 = (long) 0 ;
11079 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11080 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11081 wxFileDialog *result;
11082 bool temp2 = False ;
11083 bool temp3 = False ;
11084 bool temp4 = False ;
11085 bool temp5 = False ;
11086 wxPoint temp7 ;
11087 PyObject * obj0 = 0 ;
11088 PyObject * obj1 = 0 ;
11089 PyObject * obj2 = 0 ;
11090 PyObject * obj3 = 0 ;
11091 PyObject * obj4 = 0 ;
11092 PyObject * obj5 = 0 ;
11093 PyObject * obj6 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11100 if (obj1) {
11101 {
11102 arg2 = wxString_in_helper(obj1);
11103 if (arg2 == NULL) SWIG_fail;
11104 temp2 = True;
11105 }
11106 }
11107 if (obj2) {
11108 {
11109 arg3 = wxString_in_helper(obj2);
11110 if (arg3 == NULL) SWIG_fail;
11111 temp3 = True;
11112 }
11113 }
11114 if (obj3) {
11115 {
11116 arg4 = wxString_in_helper(obj3);
11117 if (arg4 == NULL) SWIG_fail;
11118 temp4 = True;
11119 }
11120 }
11121 if (obj4) {
11122 {
11123 arg5 = wxString_in_helper(obj4);
11124 if (arg5 == NULL) SWIG_fail;
11125 temp5 = True;
11126 }
11127 }
11128 if (obj5) {
11129 {
11130 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 }
11133 }
11134 if (obj6) {
11135 {
11136 arg7 = &temp7;
11137 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11138 }
11139 }
11140 {
11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
11142 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11143
11144 wxPyEndAllowThreads(__tstate);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
11147 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
11148 {
11149 if (temp2)
11150 delete arg2;
11151 }
11152 {
11153 if (temp3)
11154 delete arg3;
11155 }
11156 {
11157 if (temp4)
11158 delete arg4;
11159 }
11160 {
11161 if (temp5)
11162 delete arg5;
11163 }
11164 return resultobj;
11165 fail:
11166 {
11167 if (temp2)
11168 delete arg2;
11169 }
11170 {
11171 if (temp3)
11172 delete arg3;
11173 }
11174 {
11175 if (temp4)
11176 delete arg4;
11177 }
11178 {
11179 if (temp5)
11180 delete arg5;
11181 }
11182 return NULL;
11183 }
11184
11185
11186 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj;
11188 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11189 wxString *arg2 = 0 ;
11190 bool temp2 = False ;
11191 PyObject * obj0 = 0 ;
11192 PyObject * obj1 = 0 ;
11193 char *kwnames[] = {
11194 (char *) "self",(char *) "message", NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11199 {
11200 arg2 = wxString_in_helper(obj1);
11201 if (arg2 == NULL) SWIG_fail;
11202 temp2 = True;
11203 }
11204 {
11205 PyThreadState* __tstate = wxPyBeginAllowThreads();
11206 (arg1)->SetMessage((wxString const &)*arg2);
11207
11208 wxPyEndAllowThreads(__tstate);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 Py_INCREF(Py_None); resultobj = Py_None;
11212 {
11213 if (temp2)
11214 delete arg2;
11215 }
11216 return resultobj;
11217 fail:
11218 {
11219 if (temp2)
11220 delete arg2;
11221 }
11222 return NULL;
11223 }
11224
11225
11226 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11227 PyObject *resultobj;
11228 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11229 wxString *arg2 = 0 ;
11230 bool temp2 = False ;
11231 PyObject * obj0 = 0 ;
11232 PyObject * obj1 = 0 ;
11233 char *kwnames[] = {
11234 (char *) "self",(char *) "path", NULL
11235 };
11236
11237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11239 {
11240 arg2 = wxString_in_helper(obj1);
11241 if (arg2 == NULL) SWIG_fail;
11242 temp2 = True;
11243 }
11244 {
11245 PyThreadState* __tstate = wxPyBeginAllowThreads();
11246 (arg1)->SetPath((wxString const &)*arg2);
11247
11248 wxPyEndAllowThreads(__tstate);
11249 if (PyErr_Occurred()) SWIG_fail;
11250 }
11251 Py_INCREF(Py_None); resultobj = Py_None;
11252 {
11253 if (temp2)
11254 delete arg2;
11255 }
11256 return resultobj;
11257 fail:
11258 {
11259 if (temp2)
11260 delete arg2;
11261 }
11262 return NULL;
11263 }
11264
11265
11266 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11267 PyObject *resultobj;
11268 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11269 wxString *arg2 = 0 ;
11270 bool temp2 = False ;
11271 PyObject * obj0 = 0 ;
11272 PyObject * obj1 = 0 ;
11273 char *kwnames[] = {
11274 (char *) "self",(char *) "dir", NULL
11275 };
11276
11277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11279 {
11280 arg2 = wxString_in_helper(obj1);
11281 if (arg2 == NULL) SWIG_fail;
11282 temp2 = True;
11283 }
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 (arg1)->SetDirectory((wxString const &)*arg2);
11287
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 Py_INCREF(Py_None); resultobj = Py_None;
11292 {
11293 if (temp2)
11294 delete arg2;
11295 }
11296 return resultobj;
11297 fail:
11298 {
11299 if (temp2)
11300 delete arg2;
11301 }
11302 return NULL;
11303 }
11304
11305
11306 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11307 PyObject *resultobj;
11308 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11309 wxString *arg2 = 0 ;
11310 bool temp2 = False ;
11311 PyObject * obj0 = 0 ;
11312 PyObject * obj1 = 0 ;
11313 char *kwnames[] = {
11314 (char *) "self",(char *) "name", NULL
11315 };
11316
11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11319 {
11320 arg2 = wxString_in_helper(obj1);
11321 if (arg2 == NULL) SWIG_fail;
11322 temp2 = True;
11323 }
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 (arg1)->SetFilename((wxString const &)*arg2);
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 Py_INCREF(Py_None); resultobj = Py_None;
11332 {
11333 if (temp2)
11334 delete arg2;
11335 }
11336 return resultobj;
11337 fail:
11338 {
11339 if (temp2)
11340 delete arg2;
11341 }
11342 return NULL;
11343 }
11344
11345
11346 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11347 PyObject *resultobj;
11348 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11349 wxString *arg2 = 0 ;
11350 bool temp2 = False ;
11351 PyObject * obj0 = 0 ;
11352 PyObject * obj1 = 0 ;
11353 char *kwnames[] = {
11354 (char *) "self",(char *) "wildCard", NULL
11355 };
11356
11357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11359 {
11360 arg2 = wxString_in_helper(obj1);
11361 if (arg2 == NULL) SWIG_fail;
11362 temp2 = True;
11363 }
11364 {
11365 PyThreadState* __tstate = wxPyBeginAllowThreads();
11366 (arg1)->SetWildcard((wxString const &)*arg2);
11367
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 Py_INCREF(Py_None); resultobj = Py_None;
11372 {
11373 if (temp2)
11374 delete arg2;
11375 }
11376 return resultobj;
11377 fail:
11378 {
11379 if (temp2)
11380 delete arg2;
11381 }
11382 return NULL;
11383 }
11384
11385
11386 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11387 PyObject *resultobj;
11388 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11389 long arg2 ;
11390 PyObject * obj0 = 0 ;
11391 PyObject * obj1 = 0 ;
11392 char *kwnames[] = {
11393 (char *) "self",(char *) "style", NULL
11394 };
11395
11396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11398 {
11399 arg2 = (long) SWIG_PyObj_AsLong(obj1);
11400 if (PyErr_Occurred()) SWIG_fail;
11401 }
11402 {
11403 PyThreadState* __tstate = wxPyBeginAllowThreads();
11404 (arg1)->SetStyle(arg2);
11405
11406 wxPyEndAllowThreads(__tstate);
11407 if (PyErr_Occurred()) SWIG_fail;
11408 }
11409 Py_INCREF(Py_None); resultobj = Py_None;
11410 return resultobj;
11411 fail:
11412 return NULL;
11413 }
11414
11415
11416 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11417 PyObject *resultobj;
11418 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11419 int arg2 ;
11420 PyObject * obj0 = 0 ;
11421 PyObject * obj1 = 0 ;
11422 char *kwnames[] = {
11423 (char *) "self",(char *) "filterIndex", NULL
11424 };
11425
11426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11428 {
11429 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11430 if (PyErr_Occurred()) SWIG_fail;
11431 }
11432 {
11433 PyThreadState* __tstate = wxPyBeginAllowThreads();
11434 (arg1)->SetFilterIndex(arg2);
11435
11436 wxPyEndAllowThreads(__tstate);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 }
11439 Py_INCREF(Py_None); resultobj = Py_None;
11440 return resultobj;
11441 fail:
11442 return NULL;
11443 }
11444
11445
11446 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11447 PyObject *resultobj;
11448 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11449 wxString result;
11450 PyObject * obj0 = 0 ;
11451 char *kwnames[] = {
11452 (char *) "self", NULL
11453 };
11454
11455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 result = ((wxFileDialog const *)arg1)->GetMessage();
11460
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 {
11465 #if wxUSE_UNICODE
11466 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11467 #else
11468 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11469 #endif
11470 }
11471 return resultobj;
11472 fail:
11473 return NULL;
11474 }
11475
11476
11477 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj;
11479 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11480 wxString result;
11481 PyObject * obj0 = 0 ;
11482 char *kwnames[] = {
11483 (char *) "self", NULL
11484 };
11485
11486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11488 {
11489 PyThreadState* __tstate = wxPyBeginAllowThreads();
11490 result = ((wxFileDialog const *)arg1)->GetPath();
11491
11492 wxPyEndAllowThreads(__tstate);
11493 if (PyErr_Occurred()) SWIG_fail;
11494 }
11495 {
11496 #if wxUSE_UNICODE
11497 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11498 #else
11499 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11500 #endif
11501 }
11502 return resultobj;
11503 fail:
11504 return NULL;
11505 }
11506
11507
11508 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11509 PyObject *resultobj;
11510 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11511 wxString result;
11512 PyObject * obj0 = 0 ;
11513 char *kwnames[] = {
11514 (char *) "self", NULL
11515 };
11516
11517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11519 {
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 result = ((wxFileDialog const *)arg1)->GetDirectory();
11522
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 {
11527 #if wxUSE_UNICODE
11528 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11529 #else
11530 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11531 #endif
11532 }
11533 return resultobj;
11534 fail:
11535 return NULL;
11536 }
11537
11538
11539 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11540 PyObject *resultobj;
11541 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11542 wxString result;
11543 PyObject * obj0 = 0 ;
11544 char *kwnames[] = {
11545 (char *) "self", NULL
11546 };
11547
11548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 result = ((wxFileDialog const *)arg1)->GetFilename();
11553
11554 wxPyEndAllowThreads(__tstate);
11555 if (PyErr_Occurred()) SWIG_fail;
11556 }
11557 {
11558 #if wxUSE_UNICODE
11559 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11560 #else
11561 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11562 #endif
11563 }
11564 return resultobj;
11565 fail:
11566 return NULL;
11567 }
11568
11569
11570 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11571 PyObject *resultobj;
11572 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11573 wxString result;
11574 PyObject * obj0 = 0 ;
11575 char *kwnames[] = {
11576 (char *) "self", NULL
11577 };
11578
11579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 result = ((wxFileDialog const *)arg1)->GetWildcard();
11584
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
11588 {
11589 #if wxUSE_UNICODE
11590 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11591 #else
11592 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11593 #endif
11594 }
11595 return resultobj;
11596 fail:
11597 return NULL;
11598 }
11599
11600
11601 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11602 PyObject *resultobj;
11603 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11604 long result;
11605 PyObject * obj0 = 0 ;
11606 char *kwnames[] = {
11607 (char *) "self", NULL
11608 };
11609
11610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11612 {
11613 PyThreadState* __tstate = wxPyBeginAllowThreads();
11614 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11615
11616 wxPyEndAllowThreads(__tstate);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 }
11619 resultobj = SWIG_PyObj_FromLong((long)result);
11620 return resultobj;
11621 fail:
11622 return NULL;
11623 }
11624
11625
11626 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj;
11628 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11629 int result;
11630 PyObject * obj0 = 0 ;
11631 char *kwnames[] = {
11632 (char *) "self", NULL
11633 };
11634
11635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11637 {
11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
11639 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11640
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 resultobj = SWIG_PyObj_FromInt((int)result);
11645 return resultobj;
11646 fail:
11647 return NULL;
11648 }
11649
11650
11651 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11652 PyObject *resultobj;
11653 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11654 PyObject *result;
11655 PyObject * obj0 = 0 ;
11656 char *kwnames[] = {
11657 (char *) "self", NULL
11658 };
11659
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11662 {
11663 PyThreadState* __tstate = wxPyBeginAllowThreads();
11664 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11665
11666 wxPyEndAllowThreads(__tstate);
11667 if (PyErr_Occurred()) SWIG_fail;
11668 }
11669 resultobj = result;
11670 return resultobj;
11671 fail:
11672 return NULL;
11673 }
11674
11675
11676 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11677 PyObject *resultobj;
11678 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11679 PyObject *result;
11680 PyObject * obj0 = 0 ;
11681 char *kwnames[] = {
11682 (char *) "self", NULL
11683 };
11684
11685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11687 {
11688 PyThreadState* __tstate = wxPyBeginAllowThreads();
11689 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11690
11691 wxPyEndAllowThreads(__tstate);
11692 if (PyErr_Occurred()) SWIG_fail;
11693 }
11694 resultobj = result;
11695 return resultobj;
11696 fail:
11697 return NULL;
11698 }
11699
11700
11701 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11702 PyObject *obj;
11703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11704 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11705 Py_INCREF(obj);
11706 return Py_BuildValue((char *)"");
11707 }
11708 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11709 PyObject *resultobj;
11710 wxWindow *arg1 = (wxWindow *) 0 ;
11711 wxString *arg2 = 0 ;
11712 wxString *arg3 = 0 ;
11713 int arg4 = (int) 0 ;
11714 wxString *arg5 = (wxString *) 0 ;
11715 long arg6 = (long) wxCHOICEDLG_STYLE ;
11716 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11717 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11718 wxMultiChoiceDialog *result;
11719 bool temp2 = False ;
11720 bool temp3 = False ;
11721 wxPoint temp6 ;
11722 PyObject * obj0 = 0 ;
11723 PyObject * obj1 = 0 ;
11724 PyObject * obj2 = 0 ;
11725 PyObject * obj3 = 0 ;
11726 PyObject * obj4 = 0 ;
11727 PyObject * obj5 = 0 ;
11728 char *kwnames[] = {
11729 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11730 };
11731
11732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11734 {
11735 arg2 = wxString_in_helper(obj1);
11736 if (arg2 == NULL) SWIG_fail;
11737 temp2 = True;
11738 }
11739 {
11740 arg3 = wxString_in_helper(obj2);
11741 if (arg3 == NULL) SWIG_fail;
11742 temp3 = True;
11743 }
11744 if (obj3) {
11745 {
11746 arg4 = PyList_Size(obj3);
11747 arg5 = wxString_LIST_helper(obj3);
11748 if (arg5 == NULL) SWIG_fail;
11749 }
11750 }
11751 if (obj4) {
11752 {
11753 arg6 = (long) SWIG_PyObj_AsLong(obj4);
11754 if (PyErr_Occurred()) SWIG_fail;
11755 }
11756 }
11757 if (obj5) {
11758 {
11759 arg7 = &temp6;
11760 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11761 }
11762 }
11763 {
11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
11765 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11766
11767 wxPyEndAllowThreads(__tstate);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 }
11770 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
11771 {
11772 if (temp2)
11773 delete arg2;
11774 }
11775 {
11776 if (temp3)
11777 delete arg3;
11778 }
11779 {
11780 if (arg5) delete [] arg5;
11781 }
11782 return resultobj;
11783 fail:
11784 {
11785 if (temp2)
11786 delete arg2;
11787 }
11788 {
11789 if (temp3)
11790 delete arg3;
11791 }
11792 {
11793 if (arg5) delete [] arg5;
11794 }
11795 return NULL;
11796 }
11797
11798
11799 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11800 PyObject *resultobj;
11801 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11802 wxArrayInt *arg2 = 0 ;
11803 bool temp2 = False ;
11804 PyObject * obj0 = 0 ;
11805 PyObject * obj1 = 0 ;
11806 char *kwnames[] = {
11807 (char *) "self",(char *) "selections", NULL
11808 };
11809
11810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11812 {
11813 if (! PySequence_Check(obj1)) {
11814 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11815 SWIG_fail;
11816 }
11817 arg2 = new wxArrayInt;
11818 temp2 = True;
11819 int i, len=PySequence_Length(obj1);
11820 for (i=0; i<len; i++) {
11821 PyObject* item = PySequence_GetItem(obj1, i);
11822 PyObject* number = PyNumber_Int(item);
11823 arg2->Add(PyInt_AS_LONG(number));
11824 Py_DECREF(item);
11825 Py_DECREF(number);
11826 }
11827 }
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11831
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 Py_INCREF(Py_None); resultobj = Py_None;
11836 {
11837 if (temp2) delete arg2;
11838 }
11839 return resultobj;
11840 fail:
11841 {
11842 if (temp2) delete arg2;
11843 }
11844 return NULL;
11845 }
11846
11847
11848 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11849 PyObject *resultobj;
11850 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11851 PyObject *result;
11852 PyObject * obj0 = 0 ;
11853 char *kwnames[] = {
11854 (char *) "self", NULL
11855 };
11856
11857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 resultobj = result;
11867 return resultobj;
11868 fail:
11869 return NULL;
11870 }
11871
11872
11873 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11874 PyObject *obj;
11875 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11876 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11877 Py_INCREF(obj);
11878 return Py_BuildValue((char *)"");
11879 }
11880 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11881 PyObject *resultobj;
11882 wxWindow *arg1 = (wxWindow *) 0 ;
11883 wxString *arg2 = 0 ;
11884 wxString *arg3 = 0 ;
11885 int arg4 ;
11886 wxString *arg5 = (wxString *) 0 ;
11887 long arg6 = (long) wxCHOICEDLG_STYLE ;
11888 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11889 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11890 wxSingleChoiceDialog *result;
11891 bool temp2 = False ;
11892 bool temp3 = False ;
11893 wxPoint temp6 ;
11894 PyObject * obj0 = 0 ;
11895 PyObject * obj1 = 0 ;
11896 PyObject * obj2 = 0 ;
11897 PyObject * obj3 = 0 ;
11898 PyObject * obj4 = 0 ;
11899 PyObject * obj5 = 0 ;
11900 char *kwnames[] = {
11901 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11902 };
11903
11904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11906 {
11907 arg2 = wxString_in_helper(obj1);
11908 if (arg2 == NULL) SWIG_fail;
11909 temp2 = True;
11910 }
11911 {
11912 arg3 = wxString_in_helper(obj2);
11913 if (arg3 == NULL) SWIG_fail;
11914 temp3 = True;
11915 }
11916 {
11917 arg4 = PyList_Size(obj3);
11918 arg5 = wxString_LIST_helper(obj3);
11919 if (arg5 == NULL) SWIG_fail;
11920 }
11921 if (obj4) {
11922 {
11923 arg6 = (long) SWIG_PyObj_AsLong(obj4);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 }
11927 if (obj5) {
11928 {
11929 arg7 = &temp6;
11930 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11931 }
11932 }
11933 {
11934 PyThreadState* __tstate = wxPyBeginAllowThreads();
11935 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11936
11937 wxPyEndAllowThreads(__tstate);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 }
11940 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11941 {
11942 if (temp2)
11943 delete arg2;
11944 }
11945 {
11946 if (temp3)
11947 delete arg3;
11948 }
11949 {
11950 if (arg5) delete [] arg5;
11951 }
11952 return resultobj;
11953 fail:
11954 {
11955 if (temp2)
11956 delete arg2;
11957 }
11958 {
11959 if (temp3)
11960 delete arg3;
11961 }
11962 {
11963 if (arg5) delete [] arg5;
11964 }
11965 return NULL;
11966 }
11967
11968
11969 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11970 PyObject *resultobj;
11971 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11972 int result;
11973 PyObject * obj0 = 0 ;
11974 char *kwnames[] = {
11975 (char *) "self", NULL
11976 };
11977
11978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
11982 result = (int)(arg1)->GetSelection();
11983
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
11987 resultobj = SWIG_PyObj_FromInt((int)result);
11988 return resultobj;
11989 fail:
11990 return NULL;
11991 }
11992
11993
11994 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11995 PyObject *resultobj;
11996 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11997 wxString result;
11998 PyObject * obj0 = 0 ;
11999 char *kwnames[] = {
12000 (char *) "self", NULL
12001 };
12002
12003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12005 {
12006 PyThreadState* __tstate = wxPyBeginAllowThreads();
12007 result = (arg1)->GetStringSelection();
12008
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 {
12013 #if wxUSE_UNICODE
12014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12015 #else
12016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12017 #endif
12018 }
12019 return resultobj;
12020 fail:
12021 return NULL;
12022 }
12023
12024
12025 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12026 PyObject *resultobj;
12027 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12028 int arg2 ;
12029 PyObject * obj0 = 0 ;
12030 PyObject * obj1 = 0 ;
12031 char *kwnames[] = {
12032 (char *) "self",(char *) "sel", NULL
12033 };
12034
12035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12037 {
12038 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12039 if (PyErr_Occurred()) SWIG_fail;
12040 }
12041 {
12042 PyThreadState* __tstate = wxPyBeginAllowThreads();
12043 (arg1)->SetSelection(arg2);
12044
12045 wxPyEndAllowThreads(__tstate);
12046 if (PyErr_Occurred()) SWIG_fail;
12047 }
12048 Py_INCREF(Py_None); resultobj = Py_None;
12049 return resultobj;
12050 fail:
12051 return NULL;
12052 }
12053
12054
12055 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12056 PyObject *resultobj;
12057 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12058 int result;
12059 PyObject * obj0 = 0 ;
12060 char *kwnames[] = {
12061 (char *) "self", NULL
12062 };
12063
12064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
12065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12066 {
12067 PyThreadState* __tstate = wxPyBeginAllowThreads();
12068 result = (int)(arg1)->ShowModal();
12069
12070 wxPyEndAllowThreads(__tstate);
12071 if (PyErr_Occurred()) SWIG_fail;
12072 }
12073 resultobj = SWIG_PyObj_FromInt((int)result);
12074 return resultobj;
12075 fail:
12076 return NULL;
12077 }
12078
12079
12080 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12081 PyObject *obj;
12082 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12083 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12084 Py_INCREF(obj);
12085 return Py_BuildValue((char *)"");
12086 }
12087 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12088 PyObject *resultobj;
12089 wxWindow *arg1 = (wxWindow *) 0 ;
12090 wxString *arg2 = 0 ;
12091 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12092 wxString *arg3 = (wxString *) &arg3_defvalue ;
12093 wxString const &arg4_defvalue = wxPyEmptyString ;
12094 wxString *arg4 = (wxString *) &arg4_defvalue ;
12095 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12096 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12097 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12098 wxTextEntryDialog *result;
12099 bool temp2 = False ;
12100 bool temp3 = False ;
12101 bool temp4 = False ;
12102 wxPoint temp6 ;
12103 PyObject * obj0 = 0 ;
12104 PyObject * obj1 = 0 ;
12105 PyObject * obj2 = 0 ;
12106 PyObject * obj3 = 0 ;
12107 PyObject * obj4 = 0 ;
12108 PyObject * obj5 = 0 ;
12109 char *kwnames[] = {
12110 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12111 };
12112
12113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12115 {
12116 arg2 = wxString_in_helper(obj1);
12117 if (arg2 == NULL) SWIG_fail;
12118 temp2 = True;
12119 }
12120 if (obj2) {
12121 {
12122 arg3 = wxString_in_helper(obj2);
12123 if (arg3 == NULL) SWIG_fail;
12124 temp3 = True;
12125 }
12126 }
12127 if (obj3) {
12128 {
12129 arg4 = wxString_in_helper(obj3);
12130 if (arg4 == NULL) SWIG_fail;
12131 temp4 = True;
12132 }
12133 }
12134 if (obj4) {
12135 {
12136 arg5 = (long) SWIG_PyObj_AsLong(obj4);
12137 if (PyErr_Occurred()) SWIG_fail;
12138 }
12139 }
12140 if (obj5) {
12141 {
12142 arg6 = &temp6;
12143 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12144 }
12145 }
12146 {
12147 PyThreadState* __tstate = wxPyBeginAllowThreads();
12148 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12149
12150 wxPyEndAllowThreads(__tstate);
12151 if (PyErr_Occurred()) SWIG_fail;
12152 }
12153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
12154 {
12155 if (temp2)
12156 delete arg2;
12157 }
12158 {
12159 if (temp3)
12160 delete arg3;
12161 }
12162 {
12163 if (temp4)
12164 delete arg4;
12165 }
12166 return resultobj;
12167 fail:
12168 {
12169 if (temp2)
12170 delete arg2;
12171 }
12172 {
12173 if (temp3)
12174 delete arg3;
12175 }
12176 {
12177 if (temp4)
12178 delete arg4;
12179 }
12180 return NULL;
12181 }
12182
12183
12184 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12185 PyObject *resultobj;
12186 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12187 wxString result;
12188 PyObject * obj0 = 0 ;
12189 char *kwnames[] = {
12190 (char *) "self", NULL
12191 };
12192
12193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12195 {
12196 PyThreadState* __tstate = wxPyBeginAllowThreads();
12197 result = (arg1)->GetValue();
12198
12199 wxPyEndAllowThreads(__tstate);
12200 if (PyErr_Occurred()) SWIG_fail;
12201 }
12202 {
12203 #if wxUSE_UNICODE
12204 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12205 #else
12206 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12207 #endif
12208 }
12209 return resultobj;
12210 fail:
12211 return NULL;
12212 }
12213
12214
12215 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12216 PyObject *resultobj;
12217 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12218 wxString *arg2 = 0 ;
12219 bool temp2 = False ;
12220 PyObject * obj0 = 0 ;
12221 PyObject * obj1 = 0 ;
12222 char *kwnames[] = {
12223 (char *) "self",(char *) "value", NULL
12224 };
12225
12226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12228 {
12229 arg2 = wxString_in_helper(obj1);
12230 if (arg2 == NULL) SWIG_fail;
12231 temp2 = True;
12232 }
12233 {
12234 PyThreadState* __tstate = wxPyBeginAllowThreads();
12235 (arg1)->SetValue((wxString const &)*arg2);
12236
12237 wxPyEndAllowThreads(__tstate);
12238 if (PyErr_Occurred()) SWIG_fail;
12239 }
12240 Py_INCREF(Py_None); resultobj = Py_None;
12241 {
12242 if (temp2)
12243 delete arg2;
12244 }
12245 return resultobj;
12246 fail:
12247 {
12248 if (temp2)
12249 delete arg2;
12250 }
12251 return NULL;
12252 }
12253
12254
12255 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12256 PyObject *resultobj;
12257 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12258 int result;
12259 PyObject * obj0 = 0 ;
12260 char *kwnames[] = {
12261 (char *) "self", NULL
12262 };
12263
12264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
12265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12266 {
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 result = (int)(arg1)->ShowModal();
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 resultobj = SWIG_PyObj_FromInt((int)result);
12274 return resultobj;
12275 fail:
12276 return NULL;
12277 }
12278
12279
12280 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12281 PyObject *obj;
12282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12283 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12284 Py_INCREF(obj);
12285 return Py_BuildValue((char *)"");
12286 }
12287 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12288 PyObject *resultobj;
12289 wxFontData *result;
12290 char *kwnames[] = {
12291 NULL
12292 };
12293
12294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12295 {
12296 PyThreadState* __tstate = wxPyBeginAllowThreads();
12297 result = (wxFontData *)new wxFontData();
12298
12299 wxPyEndAllowThreads(__tstate);
12300 if (PyErr_Occurred()) SWIG_fail;
12301 }
12302 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
12303 return resultobj;
12304 fail:
12305 return NULL;
12306 }
12307
12308
12309 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12310 PyObject *resultobj;
12311 wxFontData *arg1 = (wxFontData *) 0 ;
12312 PyObject * obj0 = 0 ;
12313 char *kwnames[] = {
12314 (char *) "self", NULL
12315 };
12316
12317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 delete arg1;
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 Py_INCREF(Py_None); resultobj = Py_None;
12327 return resultobj;
12328 fail:
12329 return NULL;
12330 }
12331
12332
12333 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj;
12335 wxFontData *arg1 = (wxFontData *) 0 ;
12336 bool arg2 ;
12337 PyObject * obj0 = 0 ;
12338 PyObject * obj1 = 0 ;
12339 char *kwnames[] = {
12340 (char *) "self",(char *) "enable", NULL
12341 };
12342
12343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12345 {
12346 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 {
12350 PyThreadState* __tstate = wxPyBeginAllowThreads();
12351 (arg1)->EnableEffects(arg2);
12352
12353 wxPyEndAllowThreads(__tstate);
12354 if (PyErr_Occurred()) SWIG_fail;
12355 }
12356 Py_INCREF(Py_None); resultobj = Py_None;
12357 return resultobj;
12358 fail:
12359 return NULL;
12360 }
12361
12362
12363 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12364 PyObject *resultobj;
12365 wxFontData *arg1 = (wxFontData *) 0 ;
12366 bool result;
12367 PyObject * obj0 = 0 ;
12368 char *kwnames[] = {
12369 (char *) "self", NULL
12370 };
12371
12372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12374 {
12375 PyThreadState* __tstate = wxPyBeginAllowThreads();
12376 result = (bool)(arg1)->GetAllowSymbols();
12377
12378 wxPyEndAllowThreads(__tstate);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 }
12381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12382 return resultobj;
12383 fail:
12384 return NULL;
12385 }
12386
12387
12388 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12389 PyObject *resultobj;
12390 wxFontData *arg1 = (wxFontData *) 0 ;
12391 wxColour result;
12392 PyObject * obj0 = 0 ;
12393 char *kwnames[] = {
12394 (char *) "self", NULL
12395 };
12396
12397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12399 {
12400 PyThreadState* __tstate = wxPyBeginAllowThreads();
12401 result = (arg1)->GetColour();
12402
12403 wxPyEndAllowThreads(__tstate);
12404 if (PyErr_Occurred()) SWIG_fail;
12405 }
12406 {
12407 wxColour * resultptr;
12408 resultptr = new wxColour((wxColour &) result);
12409 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
12410 }
12411 return resultobj;
12412 fail:
12413 return NULL;
12414 }
12415
12416
12417 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12418 PyObject *resultobj;
12419 wxFontData *arg1 = (wxFontData *) 0 ;
12420 wxFont result;
12421 PyObject * obj0 = 0 ;
12422 char *kwnames[] = {
12423 (char *) "self", NULL
12424 };
12425
12426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12428 {
12429 PyThreadState* __tstate = wxPyBeginAllowThreads();
12430 result = (arg1)->GetChosenFont();
12431
12432 wxPyEndAllowThreads(__tstate);
12433 if (PyErr_Occurred()) SWIG_fail;
12434 }
12435 {
12436 wxFont * resultptr;
12437 resultptr = new wxFont((wxFont &) result);
12438 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
12439 }
12440 return resultobj;
12441 fail:
12442 return NULL;
12443 }
12444
12445
12446 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12447 PyObject *resultobj;
12448 wxFontData *arg1 = (wxFontData *) 0 ;
12449 bool result;
12450 PyObject * obj0 = 0 ;
12451 char *kwnames[] = {
12452 (char *) "self", NULL
12453 };
12454
12455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12457 {
12458 PyThreadState* __tstate = wxPyBeginAllowThreads();
12459 result = (bool)(arg1)->GetEnableEffects();
12460
12461 wxPyEndAllowThreads(__tstate);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 }
12464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12465 return resultobj;
12466 fail:
12467 return NULL;
12468 }
12469
12470
12471 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12472 PyObject *resultobj;
12473 wxFontData *arg1 = (wxFontData *) 0 ;
12474 wxFont result;
12475 PyObject * obj0 = 0 ;
12476 char *kwnames[] = {
12477 (char *) "self", NULL
12478 };
12479
12480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 result = (arg1)->GetInitialFont();
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
12489 {
12490 wxFont * resultptr;
12491 resultptr = new wxFont((wxFont &) result);
12492 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
12493 }
12494 return resultobj;
12495 fail:
12496 return NULL;
12497 }
12498
12499
12500 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj;
12502 wxFontData *arg1 = (wxFontData *) 0 ;
12503 bool result;
12504 PyObject * obj0 = 0 ;
12505 char *kwnames[] = {
12506 (char *) "self", NULL
12507 };
12508
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12511 {
12512 PyThreadState* __tstate = wxPyBeginAllowThreads();
12513 result = (bool)(arg1)->GetShowHelp();
12514
12515 wxPyEndAllowThreads(__tstate);
12516 if (PyErr_Occurred()) SWIG_fail;
12517 }
12518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12519 return resultobj;
12520 fail:
12521 return NULL;
12522 }
12523
12524
12525 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12526 PyObject *resultobj;
12527 wxFontData *arg1 = (wxFontData *) 0 ;
12528 bool arg2 ;
12529 PyObject * obj0 = 0 ;
12530 PyObject * obj1 = 0 ;
12531 char *kwnames[] = {
12532 (char *) "self",(char *) "allowSymbols", NULL
12533 };
12534
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12537 {
12538 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 {
12542 PyThreadState* __tstate = wxPyBeginAllowThreads();
12543 (arg1)->SetAllowSymbols(arg2);
12544
12545 wxPyEndAllowThreads(__tstate);
12546 if (PyErr_Occurred()) SWIG_fail;
12547 }
12548 Py_INCREF(Py_None); resultobj = Py_None;
12549 return resultobj;
12550 fail:
12551 return NULL;
12552 }
12553
12554
12555 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12556 PyObject *resultobj;
12557 wxFontData *arg1 = (wxFontData *) 0 ;
12558 wxFont *arg2 = 0 ;
12559 PyObject * obj0 = 0 ;
12560 PyObject * obj1 = 0 ;
12561 char *kwnames[] = {
12562 (char *) "self",(char *) "font", NULL
12563 };
12564
12565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12568 if (arg2 == NULL) {
12569 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12570 }
12571 {
12572 PyThreadState* __tstate = wxPyBeginAllowThreads();
12573 (arg1)->SetChosenFont((wxFont const &)*arg2);
12574
12575 wxPyEndAllowThreads(__tstate);
12576 if (PyErr_Occurred()) SWIG_fail;
12577 }
12578 Py_INCREF(Py_None); resultobj = Py_None;
12579 return resultobj;
12580 fail:
12581 return NULL;
12582 }
12583
12584
12585 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12586 PyObject *resultobj;
12587 wxFontData *arg1 = (wxFontData *) 0 ;
12588 wxColour *arg2 = 0 ;
12589 wxColour temp2 ;
12590 PyObject * obj0 = 0 ;
12591 PyObject * obj1 = 0 ;
12592 char *kwnames[] = {
12593 (char *) "self",(char *) "colour", NULL
12594 };
12595
12596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12598 {
12599 arg2 = &temp2;
12600 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12601 }
12602 {
12603 PyThreadState* __tstate = wxPyBeginAllowThreads();
12604 (arg1)->SetColour((wxColour const &)*arg2);
12605
12606 wxPyEndAllowThreads(__tstate);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 }
12609 Py_INCREF(Py_None); resultobj = Py_None;
12610 return resultobj;
12611 fail:
12612 return NULL;
12613 }
12614
12615
12616 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12617 PyObject *resultobj;
12618 wxFontData *arg1 = (wxFontData *) 0 ;
12619 wxFont *arg2 = 0 ;
12620 PyObject * obj0 = 0 ;
12621 PyObject * obj1 = 0 ;
12622 char *kwnames[] = {
12623 (char *) "self",(char *) "font", NULL
12624 };
12625
12626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12629 if (arg2 == NULL) {
12630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12631 }
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 (arg1)->SetInitialFont((wxFont const &)*arg2);
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 Py_INCREF(Py_None); resultobj = Py_None;
12640 return resultobj;
12641 fail:
12642 return NULL;
12643 }
12644
12645
12646 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj;
12648 wxFontData *arg1 = (wxFontData *) 0 ;
12649 int arg2 ;
12650 int arg3 ;
12651 PyObject * obj0 = 0 ;
12652 PyObject * obj1 = 0 ;
12653 PyObject * obj2 = 0 ;
12654 char *kwnames[] = {
12655 (char *) "self",(char *) "min",(char *) "max", NULL
12656 };
12657
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12660 {
12661 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12662 if (PyErr_Occurred()) SWIG_fail;
12663 }
12664 {
12665 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12666 if (PyErr_Occurred()) SWIG_fail;
12667 }
12668 {
12669 PyThreadState* __tstate = wxPyBeginAllowThreads();
12670 (arg1)->SetRange(arg2,arg3);
12671
12672 wxPyEndAllowThreads(__tstate);
12673 if (PyErr_Occurred()) SWIG_fail;
12674 }
12675 Py_INCREF(Py_None); resultobj = Py_None;
12676 return resultobj;
12677 fail:
12678 return NULL;
12679 }
12680
12681
12682 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12683 PyObject *resultobj;
12684 wxFontData *arg1 = (wxFontData *) 0 ;
12685 bool arg2 ;
12686 PyObject * obj0 = 0 ;
12687 PyObject * obj1 = 0 ;
12688 char *kwnames[] = {
12689 (char *) "self",(char *) "showHelp", NULL
12690 };
12691
12692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12694 {
12695 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12696 if (PyErr_Occurred()) SWIG_fail;
12697 }
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 (arg1)->SetShowHelp(arg2);
12701
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 Py_INCREF(Py_None); resultobj = Py_None;
12706 return resultobj;
12707 fail:
12708 return NULL;
12709 }
12710
12711
12712 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
12713 PyObject *obj;
12714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12715 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12716 Py_INCREF(obj);
12717 return Py_BuildValue((char *)"");
12718 }
12719 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12720 PyObject *resultobj;
12721 wxWindow *arg1 = (wxWindow *) 0 ;
12722 wxFontData *arg2 = 0 ;
12723 wxFontDialog *result;
12724 PyObject * obj0 = 0 ;
12725 PyObject * obj1 = 0 ;
12726 char *kwnames[] = {
12727 (char *) "parent",(char *) "data", NULL
12728 };
12729
12730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12733 if (arg2 == NULL) {
12734 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12735 }
12736 {
12737 PyThreadState* __tstate = wxPyBeginAllowThreads();
12738 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12739
12740 wxPyEndAllowThreads(__tstate);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 }
12743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
12744 return resultobj;
12745 fail:
12746 return NULL;
12747 }
12748
12749
12750 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12751 PyObject *resultobj;
12752 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12753 wxFontData *result;
12754 PyObject * obj0 = 0 ;
12755 char *kwnames[] = {
12756 (char *) "self", NULL
12757 };
12758
12759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12761 {
12762 PyThreadState* __tstate = wxPyBeginAllowThreads();
12763 {
12764 wxFontData &_result_ref = (arg1)->GetFontData();
12765 result = (wxFontData *) &_result_ref;
12766 }
12767
12768 wxPyEndAllowThreads(__tstate);
12769 if (PyErr_Occurred()) SWIG_fail;
12770 }
12771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
12772 return resultobj;
12773 fail:
12774 return NULL;
12775 }
12776
12777
12778 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12779 PyObject *resultobj;
12780 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12781 int result;
12782 PyObject * obj0 = 0 ;
12783 char *kwnames[] = {
12784 (char *) "self", NULL
12785 };
12786
12787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
12788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12789 {
12790 PyThreadState* __tstate = wxPyBeginAllowThreads();
12791 result = (int)(arg1)->ShowModal();
12792
12793 wxPyEndAllowThreads(__tstate);
12794 if (PyErr_Occurred()) SWIG_fail;
12795 }
12796 resultobj = SWIG_PyObj_FromInt((int)result);
12797 return resultobj;
12798 fail:
12799 return NULL;
12800 }
12801
12802
12803 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
12804 PyObject *obj;
12805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12806 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12807 Py_INCREF(obj);
12808 return Py_BuildValue((char *)"");
12809 }
12810 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12811 PyObject *resultobj;
12812 wxWindow *arg1 = (wxWindow *) 0 ;
12813 wxString *arg2 = 0 ;
12814 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12815 wxString *arg3 = (wxString *) &arg3_defvalue ;
12816 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12817 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12818 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12819 wxMessageDialog *result;
12820 bool temp2 = False ;
12821 bool temp3 = False ;
12822 wxPoint temp5 ;
12823 PyObject * obj0 = 0 ;
12824 PyObject * obj1 = 0 ;
12825 PyObject * obj2 = 0 ;
12826 PyObject * obj3 = 0 ;
12827 PyObject * obj4 = 0 ;
12828 char *kwnames[] = {
12829 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12830 };
12831
12832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12834 {
12835 arg2 = wxString_in_helper(obj1);
12836 if (arg2 == NULL) SWIG_fail;
12837 temp2 = True;
12838 }
12839 if (obj2) {
12840 {
12841 arg3 = wxString_in_helper(obj2);
12842 if (arg3 == NULL) SWIG_fail;
12843 temp3 = True;
12844 }
12845 }
12846 if (obj3) {
12847 {
12848 arg4 = (long) SWIG_PyObj_AsLong(obj3);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 }
12852 if (obj4) {
12853 {
12854 arg5 = &temp5;
12855 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12856 }
12857 }
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12866 {
12867 if (temp2)
12868 delete arg2;
12869 }
12870 {
12871 if (temp3)
12872 delete arg3;
12873 }
12874 return resultobj;
12875 fail:
12876 {
12877 if (temp2)
12878 delete arg2;
12879 }
12880 {
12881 if (temp3)
12882 delete arg3;
12883 }
12884 return NULL;
12885 }
12886
12887
12888 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12889 PyObject *resultobj;
12890 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12891 int result;
12892 PyObject * obj0 = 0 ;
12893 char *kwnames[] = {
12894 (char *) "self", NULL
12895 };
12896
12897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12899 {
12900 PyThreadState* __tstate = wxPyBeginAllowThreads();
12901 result = (int)(arg1)->ShowModal();
12902
12903 wxPyEndAllowThreads(__tstate);
12904 if (PyErr_Occurred()) SWIG_fail;
12905 }
12906 resultobj = SWIG_PyObj_FromInt((int)result);
12907 return resultobj;
12908 fail:
12909 return NULL;
12910 }
12911
12912
12913 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12914 PyObject *obj;
12915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12916 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12917 Py_INCREF(obj);
12918 return Py_BuildValue((char *)"");
12919 }
12920 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12921 PyObject *resultobj;
12922 wxString *arg1 = 0 ;
12923 wxString *arg2 = 0 ;
12924 int arg3 = (int) 100 ;
12925 wxWindow *arg4 = (wxWindow *) NULL ;
12926 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12927 wxProgressDialog *result;
12928 bool temp1 = False ;
12929 bool temp2 = False ;
12930 PyObject * obj0 = 0 ;
12931 PyObject * obj1 = 0 ;
12932 PyObject * obj2 = 0 ;
12933 PyObject * obj3 = 0 ;
12934 PyObject * obj4 = 0 ;
12935 char *kwnames[] = {
12936 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12937 };
12938
12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12940 {
12941 arg1 = wxString_in_helper(obj0);
12942 if (arg1 == NULL) SWIG_fail;
12943 temp1 = True;
12944 }
12945 {
12946 arg2 = wxString_in_helper(obj1);
12947 if (arg2 == NULL) SWIG_fail;
12948 temp2 = True;
12949 }
12950 if (obj2) {
12951 {
12952 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
12955 }
12956 if (obj3) {
12957 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12958 }
12959 if (obj4) {
12960 {
12961 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12962 if (PyErr_Occurred()) SWIG_fail;
12963 }
12964 }
12965 {
12966 PyThreadState* __tstate = wxPyBeginAllowThreads();
12967 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12968
12969 wxPyEndAllowThreads(__tstate);
12970 if (PyErr_Occurred()) SWIG_fail;
12971 }
12972 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12973 {
12974 if (temp1)
12975 delete arg1;
12976 }
12977 {
12978 if (temp2)
12979 delete arg2;
12980 }
12981 return resultobj;
12982 fail:
12983 {
12984 if (temp1)
12985 delete arg1;
12986 }
12987 {
12988 if (temp2)
12989 delete arg2;
12990 }
12991 return NULL;
12992 }
12993
12994
12995 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12996 PyObject *resultobj;
12997 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12998 int arg2 ;
12999 wxString const &arg3_defvalue = wxPyEmptyString ;
13000 wxString *arg3 = (wxString *) &arg3_defvalue ;
13001 bool result;
13002 bool temp3 = False ;
13003 PyObject * obj0 = 0 ;
13004 PyObject * obj1 = 0 ;
13005 PyObject * obj2 = 0 ;
13006 char *kwnames[] = {
13007 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13008 };
13009
13010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13012 {
13013 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 if (obj2) {
13017 {
13018 arg3 = wxString_in_helper(obj2);
13019 if (arg3 == NULL) SWIG_fail;
13020 temp3 = True;
13021 }
13022 }
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13031 {
13032 if (temp3)
13033 delete arg3;
13034 }
13035 return resultobj;
13036 fail:
13037 {
13038 if (temp3)
13039 delete arg3;
13040 }
13041 return NULL;
13042 }
13043
13044
13045 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13046 PyObject *resultobj;
13047 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13048 PyObject * obj0 = 0 ;
13049 char *kwnames[] = {
13050 (char *) "self", NULL
13051 };
13052
13053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13055 {
13056 PyThreadState* __tstate = wxPyBeginAllowThreads();
13057 (arg1)->Resume();
13058
13059 wxPyEndAllowThreads(__tstate);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 Py_INCREF(Py_None); resultobj = Py_None;
13063 return resultobj;
13064 fail:
13065 return NULL;
13066 }
13067
13068
13069 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13070 PyObject *obj;
13071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13072 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13073 Py_INCREF(obj);
13074 return Py_BuildValue((char *)"");
13075 }
13076 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13077 PyObject *resultobj;
13078 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13079 int arg2 = (int) 0 ;
13080 wxFindDialogEvent *result;
13081 PyObject * obj0 = 0 ;
13082 PyObject * obj1 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "commandType",(char *) "id", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13088 if (obj0) {
13089 {
13090 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13091 if (PyErr_Occurred()) SWIG_fail;
13092 }
13093 }
13094 if (obj1) {
13095 {
13096 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 }
13100 {
13101 PyThreadState* __tstate = wxPyBeginAllowThreads();
13102 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13103
13104 wxPyEndAllowThreads(__tstate);
13105 if (PyErr_Occurred()) SWIG_fail;
13106 }
13107 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
13108 return resultobj;
13109 fail:
13110 return NULL;
13111 }
13112
13113
13114 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13115 PyObject *resultobj;
13116 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13117 int result;
13118 PyObject * obj0 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13125 {
13126 PyThreadState* __tstate = wxPyBeginAllowThreads();
13127 result = (int)(arg1)->GetFlags();
13128
13129 wxPyEndAllowThreads(__tstate);
13130 if (PyErr_Occurred()) SWIG_fail;
13131 }
13132 resultobj = SWIG_PyObj_FromInt((int)result);
13133 return resultobj;
13134 fail:
13135 return NULL;
13136 }
13137
13138
13139 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13140 PyObject *resultobj;
13141 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13142 wxString *result;
13143 PyObject * obj0 = 0 ;
13144 char *kwnames[] = {
13145 (char *) "self", NULL
13146 };
13147
13148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13150 {
13151 PyThreadState* __tstate = wxPyBeginAllowThreads();
13152 {
13153 wxString const &_result_ref = (arg1)->GetFindString();
13154 result = (wxString *) &_result_ref;
13155 }
13156
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 {
13161 #if wxUSE_UNICODE
13162 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13163 #else
13164 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13165 #endif
13166 }
13167 return resultobj;
13168 fail:
13169 return NULL;
13170 }
13171
13172
13173 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13174 PyObject *resultobj;
13175 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13176 wxString *result;
13177 PyObject * obj0 = 0 ;
13178 char *kwnames[] = {
13179 (char *) "self", NULL
13180 };
13181
13182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13184 {
13185 PyThreadState* __tstate = wxPyBeginAllowThreads();
13186 {
13187 wxString const &_result_ref = (arg1)->GetReplaceString();
13188 result = (wxString *) &_result_ref;
13189 }
13190
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 {
13195 #if wxUSE_UNICODE
13196 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13197 #else
13198 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13199 #endif
13200 }
13201 return resultobj;
13202 fail:
13203 return NULL;
13204 }
13205
13206
13207 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13208 PyObject *resultobj;
13209 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13210 wxFindReplaceDialog *result;
13211 PyObject * obj0 = 0 ;
13212 char *kwnames[] = {
13213 (char *) "self", NULL
13214 };
13215
13216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13218 {
13219 PyThreadState* __tstate = wxPyBeginAllowThreads();
13220 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13221
13222 wxPyEndAllowThreads(__tstate);
13223 if (PyErr_Occurred()) SWIG_fail;
13224 }
13225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
13226 return resultobj;
13227 fail:
13228 return NULL;
13229 }
13230
13231
13232 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13233 PyObject *resultobj;
13234 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13235 int arg2 ;
13236 PyObject * obj0 = 0 ;
13237 PyObject * obj1 = 0 ;
13238 char *kwnames[] = {
13239 (char *) "self",(char *) "flags", NULL
13240 };
13241
13242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13244 {
13245 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 }
13248 {
13249 PyThreadState* __tstate = wxPyBeginAllowThreads();
13250 (arg1)->SetFlags(arg2);
13251
13252 wxPyEndAllowThreads(__tstate);
13253 if (PyErr_Occurred()) SWIG_fail;
13254 }
13255 Py_INCREF(Py_None); resultobj = Py_None;
13256 return resultobj;
13257 fail:
13258 return NULL;
13259 }
13260
13261
13262 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13263 PyObject *resultobj;
13264 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13265 wxString *arg2 = 0 ;
13266 bool temp2 = False ;
13267 PyObject * obj0 = 0 ;
13268 PyObject * obj1 = 0 ;
13269 char *kwnames[] = {
13270 (char *) "self",(char *) "str", NULL
13271 };
13272
13273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13275 {
13276 arg2 = wxString_in_helper(obj1);
13277 if (arg2 == NULL) SWIG_fail;
13278 temp2 = True;
13279 }
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 (arg1)->SetFindString((wxString const &)*arg2);
13283
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 Py_INCREF(Py_None); resultobj = Py_None;
13288 {
13289 if (temp2)
13290 delete arg2;
13291 }
13292 return resultobj;
13293 fail:
13294 {
13295 if (temp2)
13296 delete arg2;
13297 }
13298 return NULL;
13299 }
13300
13301
13302 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13303 PyObject *resultobj;
13304 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13305 wxString *arg2 = 0 ;
13306 bool temp2 = False ;
13307 PyObject * obj0 = 0 ;
13308 PyObject * obj1 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self",(char *) "str", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13315 {
13316 arg2 = wxString_in_helper(obj1);
13317 if (arg2 == NULL) SWIG_fail;
13318 temp2 = True;
13319 }
13320 {
13321 PyThreadState* __tstate = wxPyBeginAllowThreads();
13322 (arg1)->SetReplaceString((wxString const &)*arg2);
13323
13324 wxPyEndAllowThreads(__tstate);
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 Py_INCREF(Py_None); resultobj = Py_None;
13328 {
13329 if (temp2)
13330 delete arg2;
13331 }
13332 return resultobj;
13333 fail:
13334 {
13335 if (temp2)
13336 delete arg2;
13337 }
13338 return NULL;
13339 }
13340
13341
13342 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13343 PyObject *obj;
13344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13345 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13346 Py_INCREF(obj);
13347 return Py_BuildValue((char *)"");
13348 }
13349 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13350 PyObject *resultobj;
13351 int arg1 = (int) 0 ;
13352 wxFindReplaceData *result;
13353 PyObject * obj0 = 0 ;
13354 char *kwnames[] = {
13355 (char *) "flags", NULL
13356 };
13357
13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13359 if (obj0) {
13360 {
13361 arg1 = (int) SWIG_PyObj_AsInt(obj0);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 }
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13368
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
13373 return resultobj;
13374 fail:
13375 return NULL;
13376 }
13377
13378
13379 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13380 PyObject *resultobj;
13381 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13382 PyObject * obj0 = 0 ;
13383 char *kwnames[] = {
13384 (char *) "self", NULL
13385 };
13386
13387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13389 {
13390 PyThreadState* __tstate = wxPyBeginAllowThreads();
13391 delete arg1;
13392
13393 wxPyEndAllowThreads(__tstate);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 }
13396 Py_INCREF(Py_None); resultobj = Py_None;
13397 return resultobj;
13398 fail:
13399 return NULL;
13400 }
13401
13402
13403 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13404 PyObject *resultobj;
13405 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13406 wxString *result;
13407 PyObject * obj0 = 0 ;
13408 char *kwnames[] = {
13409 (char *) "self", NULL
13410 };
13411
13412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13414 {
13415 PyThreadState* __tstate = wxPyBeginAllowThreads();
13416 {
13417 wxString const &_result_ref = (arg1)->GetFindString();
13418 result = (wxString *) &_result_ref;
13419 }
13420
13421 wxPyEndAllowThreads(__tstate);
13422 if (PyErr_Occurred()) SWIG_fail;
13423 }
13424 {
13425 #if wxUSE_UNICODE
13426 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13427 #else
13428 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13429 #endif
13430 }
13431 return resultobj;
13432 fail:
13433 return NULL;
13434 }
13435
13436
13437 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13438 PyObject *resultobj;
13439 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13440 wxString *result;
13441 PyObject * obj0 = 0 ;
13442 char *kwnames[] = {
13443 (char *) "self", NULL
13444 };
13445
13446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 {
13451 wxString const &_result_ref = (arg1)->GetReplaceString();
13452 result = (wxString *) &_result_ref;
13453 }
13454
13455 wxPyEndAllowThreads(__tstate);
13456 if (PyErr_Occurred()) SWIG_fail;
13457 }
13458 {
13459 #if wxUSE_UNICODE
13460 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13461 #else
13462 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13463 #endif
13464 }
13465 return resultobj;
13466 fail:
13467 return NULL;
13468 }
13469
13470
13471 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13472 PyObject *resultobj;
13473 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13474 int result;
13475 PyObject * obj0 = 0 ;
13476 char *kwnames[] = {
13477 (char *) "self", NULL
13478 };
13479
13480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13482 {
13483 PyThreadState* __tstate = wxPyBeginAllowThreads();
13484 result = (int)(arg1)->GetFlags();
13485
13486 wxPyEndAllowThreads(__tstate);
13487 if (PyErr_Occurred()) SWIG_fail;
13488 }
13489 resultobj = SWIG_PyObj_FromInt((int)result);
13490 return resultobj;
13491 fail:
13492 return NULL;
13493 }
13494
13495
13496 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13497 PyObject *resultobj;
13498 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13499 int arg2 ;
13500 PyObject * obj0 = 0 ;
13501 PyObject * obj1 = 0 ;
13502 char *kwnames[] = {
13503 (char *) "self",(char *) "flags", NULL
13504 };
13505
13506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13508 {
13509 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 (arg1)->SetFlags(arg2);
13515
13516 wxPyEndAllowThreads(__tstate);
13517 if (PyErr_Occurred()) SWIG_fail;
13518 }
13519 Py_INCREF(Py_None); resultobj = Py_None;
13520 return resultobj;
13521 fail:
13522 return NULL;
13523 }
13524
13525
13526 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13527 PyObject *resultobj;
13528 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13529 wxString *arg2 = 0 ;
13530 bool temp2 = False ;
13531 PyObject * obj0 = 0 ;
13532 PyObject * obj1 = 0 ;
13533 char *kwnames[] = {
13534 (char *) "self",(char *) "str", NULL
13535 };
13536
13537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13539 {
13540 arg2 = wxString_in_helper(obj1);
13541 if (arg2 == NULL) SWIG_fail;
13542 temp2 = True;
13543 }
13544 {
13545 PyThreadState* __tstate = wxPyBeginAllowThreads();
13546 (arg1)->SetFindString((wxString const &)*arg2);
13547
13548 wxPyEndAllowThreads(__tstate);
13549 if (PyErr_Occurred()) SWIG_fail;
13550 }
13551 Py_INCREF(Py_None); resultobj = Py_None;
13552 {
13553 if (temp2)
13554 delete arg2;
13555 }
13556 return resultobj;
13557 fail:
13558 {
13559 if (temp2)
13560 delete arg2;
13561 }
13562 return NULL;
13563 }
13564
13565
13566 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13567 PyObject *resultobj;
13568 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13569 wxString *arg2 = 0 ;
13570 bool temp2 = False ;
13571 PyObject * obj0 = 0 ;
13572 PyObject * obj1 = 0 ;
13573 char *kwnames[] = {
13574 (char *) "self",(char *) "str", NULL
13575 };
13576
13577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13579 {
13580 arg2 = wxString_in_helper(obj1);
13581 if (arg2 == NULL) SWIG_fail;
13582 temp2 = True;
13583 }
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 (arg1)->SetReplaceString((wxString const &)*arg2);
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 Py_INCREF(Py_None); resultobj = Py_None;
13592 {
13593 if (temp2)
13594 delete arg2;
13595 }
13596 return resultobj;
13597 fail:
13598 {
13599 if (temp2)
13600 delete arg2;
13601 }
13602 return NULL;
13603 }
13604
13605
13606 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
13607 PyObject *obj;
13608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13609 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13610 Py_INCREF(obj);
13611 return Py_BuildValue((char *)"");
13612 }
13613 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13614 PyObject *resultobj;
13615 wxWindow *arg1 = (wxWindow *) 0 ;
13616 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13617 wxString *arg3 = 0 ;
13618 int arg4 = (int) 0 ;
13619 wxFindReplaceDialog *result;
13620 bool temp3 = False ;
13621 PyObject * obj0 = 0 ;
13622 PyObject * obj1 = 0 ;
13623 PyObject * obj2 = 0 ;
13624 PyObject * obj3 = 0 ;
13625 char *kwnames[] = {
13626 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13627 };
13628
13629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13632 {
13633 arg3 = wxString_in_helper(obj2);
13634 if (arg3 == NULL) SWIG_fail;
13635 temp3 = True;
13636 }
13637 if (obj3) {
13638 {
13639 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13640 if (PyErr_Occurred()) SWIG_fail;
13641 }
13642 }
13643 {
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13646
13647 wxPyEndAllowThreads(__tstate);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13651 {
13652 if (temp3)
13653 delete arg3;
13654 }
13655 return resultobj;
13656 fail:
13657 {
13658 if (temp3)
13659 delete arg3;
13660 }
13661 return NULL;
13662 }
13663
13664
13665 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13666 PyObject *resultobj;
13667 wxFindReplaceDialog *result;
13668 char *kwnames[] = {
13669 NULL
13670 };
13671
13672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13676
13677 wxPyEndAllowThreads(__tstate);
13678 if (PyErr_Occurred()) SWIG_fail;
13679 }
13680 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13681 return resultobj;
13682 fail:
13683 return NULL;
13684 }
13685
13686
13687 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13688 PyObject *resultobj;
13689 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13690 wxWindow *arg2 = (wxWindow *) 0 ;
13691 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13692 wxString *arg4 = 0 ;
13693 int arg5 = (int) 0 ;
13694 bool result;
13695 bool temp4 = False ;
13696 PyObject * obj0 = 0 ;
13697 PyObject * obj1 = 0 ;
13698 PyObject * obj2 = 0 ;
13699 PyObject * obj3 = 0 ;
13700 PyObject * obj4 = 0 ;
13701 char *kwnames[] = {
13702 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13703 };
13704
13705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13708 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13709 {
13710 arg4 = wxString_in_helper(obj3);
13711 if (arg4 == NULL) SWIG_fail;
13712 temp4 = True;
13713 }
13714 if (obj4) {
13715 {
13716 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13717 if (PyErr_Occurred()) SWIG_fail;
13718 }
13719 }
13720 {
13721 PyThreadState* __tstate = wxPyBeginAllowThreads();
13722 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13723
13724 wxPyEndAllowThreads(__tstate);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 }
13727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13728 {
13729 if (temp4)
13730 delete arg4;
13731 }
13732 return resultobj;
13733 fail:
13734 {
13735 if (temp4)
13736 delete arg4;
13737 }
13738 return NULL;
13739 }
13740
13741
13742 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13743 PyObject *resultobj;
13744 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13745 wxFindReplaceData *result;
13746 PyObject * obj0 = 0 ;
13747 char *kwnames[] = {
13748 (char *) "self", NULL
13749 };
13750
13751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13753 {
13754 PyThreadState* __tstate = wxPyBeginAllowThreads();
13755 result = (wxFindReplaceData *)(arg1)->GetData();
13756
13757 wxPyEndAllowThreads(__tstate);
13758 if (PyErr_Occurred()) SWIG_fail;
13759 }
13760 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
13761 return resultobj;
13762 fail:
13763 return NULL;
13764 }
13765
13766
13767 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13768 PyObject *resultobj;
13769 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13770 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13771 PyObject * obj0 = 0 ;
13772 PyObject * obj1 = 0 ;
13773 char *kwnames[] = {
13774 (char *) "self",(char *) "data", NULL
13775 };
13776
13777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13779 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13780 {
13781 PyThreadState* __tstate = wxPyBeginAllowThreads();
13782 (arg1)->SetData(arg2);
13783
13784 wxPyEndAllowThreads(__tstate);
13785 if (PyErr_Occurred()) SWIG_fail;
13786 }
13787 Py_INCREF(Py_None); resultobj = Py_None;
13788 return resultobj;
13789 fail:
13790 return NULL;
13791 }
13792
13793
13794 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
13795 PyObject *obj;
13796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13797 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
13798 Py_INCREF(obj);
13799 return Py_BuildValue((char *)"");
13800 }
13801 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj;
13803 wxWindow *arg1 = (wxWindow *) 0 ;
13804 int arg2 ;
13805 wxString *arg3 = 0 ;
13806 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13807 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13808 wxSize const &arg5_defvalue = wxDefaultSize ;
13809 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13810 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13811 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13812 wxString *arg7 = (wxString *) &arg7_defvalue ;
13813 wxMDIParentFrame *result;
13814 bool temp3 = False ;
13815 wxPoint temp4 ;
13816 wxSize temp5 ;
13817 bool temp7 = False ;
13818 PyObject * obj0 = 0 ;
13819 PyObject * obj1 = 0 ;
13820 PyObject * obj2 = 0 ;
13821 PyObject * obj3 = 0 ;
13822 PyObject * obj4 = 0 ;
13823 PyObject * obj5 = 0 ;
13824 PyObject * obj6 = 0 ;
13825 char *kwnames[] = {
13826 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13827 };
13828
13829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13831 {
13832 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
13833 if (PyErr_Occurred()) SWIG_fail;
13834 }
13835 {
13836 arg3 = wxString_in_helper(obj2);
13837 if (arg3 == NULL) SWIG_fail;
13838 temp3 = True;
13839 }
13840 if (obj3) {
13841 {
13842 arg4 = &temp4;
13843 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13844 }
13845 }
13846 if (obj4) {
13847 {
13848 arg5 = &temp5;
13849 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13850 }
13851 }
13852 if (obj5) {
13853 {
13854 arg6 = (long) SWIG_PyObj_AsLong(obj5);
13855 if (PyErr_Occurred()) SWIG_fail;
13856 }
13857 }
13858 if (obj6) {
13859 {
13860 arg7 = wxString_in_helper(obj6);
13861 if (arg7 == NULL) SWIG_fail;
13862 temp7 = True;
13863 }
13864 }
13865 {
13866 PyThreadState* __tstate = wxPyBeginAllowThreads();
13867 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13868
13869 wxPyEndAllowThreads(__tstate);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13873 {
13874 if (temp3)
13875 delete arg3;
13876 }
13877 {
13878 if (temp7)
13879 delete arg7;
13880 }
13881 return resultobj;
13882 fail:
13883 {
13884 if (temp3)
13885 delete arg3;
13886 }
13887 {
13888 if (temp7)
13889 delete arg7;
13890 }
13891 return NULL;
13892 }
13893
13894
13895 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13896 PyObject *resultobj;
13897 wxMDIParentFrame *result;
13898 char *kwnames[] = {
13899 NULL
13900 };
13901
13902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13903 {
13904 PyThreadState* __tstate = wxPyBeginAllowThreads();
13905 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13906
13907 wxPyEndAllowThreads(__tstate);
13908 if (PyErr_Occurred()) SWIG_fail;
13909 }
13910 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13911 return resultobj;
13912 fail:
13913 return NULL;
13914 }
13915
13916
13917 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13918 PyObject *resultobj;
13919 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13920 wxWindow *arg2 = (wxWindow *) 0 ;
13921 int arg3 ;
13922 wxString *arg4 = 0 ;
13923 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13924 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13925 wxSize const &arg6_defvalue = wxDefaultSize ;
13926 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13927 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13928 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13929 wxString *arg8 = (wxString *) &arg8_defvalue ;
13930 bool result;
13931 bool temp4 = False ;
13932 wxPoint temp5 ;
13933 wxSize temp6 ;
13934 bool temp8 = False ;
13935 PyObject * obj0 = 0 ;
13936 PyObject * obj1 = 0 ;
13937 PyObject * obj2 = 0 ;
13938 PyObject * obj3 = 0 ;
13939 PyObject * obj4 = 0 ;
13940 PyObject * obj5 = 0 ;
13941 PyObject * obj6 = 0 ;
13942 PyObject * obj7 = 0 ;
13943 char *kwnames[] = {
13944 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13945 };
13946
13947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13949 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13950 {
13951 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 {
13955 arg4 = wxString_in_helper(obj3);
13956 if (arg4 == NULL) SWIG_fail;
13957 temp4 = True;
13958 }
13959 if (obj4) {
13960 {
13961 arg5 = &temp5;
13962 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13963 }
13964 }
13965 if (obj5) {
13966 {
13967 arg6 = &temp6;
13968 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13969 }
13970 }
13971 if (obj6) {
13972 {
13973 arg7 = (long) SWIG_PyObj_AsLong(obj6);
13974 if (PyErr_Occurred()) SWIG_fail;
13975 }
13976 }
13977 if (obj7) {
13978 {
13979 arg8 = wxString_in_helper(obj7);
13980 if (arg8 == NULL) SWIG_fail;
13981 temp8 = True;
13982 }
13983 }
13984 {
13985 PyThreadState* __tstate = wxPyBeginAllowThreads();
13986 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13987
13988 wxPyEndAllowThreads(__tstate);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
13991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13992 {
13993 if (temp4)
13994 delete arg4;
13995 }
13996 {
13997 if (temp8)
13998 delete arg8;
13999 }
14000 return resultobj;
14001 fail:
14002 {
14003 if (temp4)
14004 delete arg4;
14005 }
14006 {
14007 if (temp8)
14008 delete arg8;
14009 }
14010 return NULL;
14011 }
14012
14013
14014 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14015 PyObject *resultobj;
14016 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14017 PyObject * obj0 = 0 ;
14018 char *kwnames[] = {
14019 (char *) "self", NULL
14020 };
14021
14022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14024 {
14025 PyThreadState* __tstate = wxPyBeginAllowThreads();
14026 (arg1)->ActivateNext();
14027
14028 wxPyEndAllowThreads(__tstate);
14029 if (PyErr_Occurred()) SWIG_fail;
14030 }
14031 Py_INCREF(Py_None); resultobj = Py_None;
14032 return resultobj;
14033 fail:
14034 return NULL;
14035 }
14036
14037
14038 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14039 PyObject *resultobj;
14040 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14041 PyObject * obj0 = 0 ;
14042 char *kwnames[] = {
14043 (char *) "self", NULL
14044 };
14045
14046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14048 {
14049 PyThreadState* __tstate = wxPyBeginAllowThreads();
14050 (arg1)->ActivatePrevious();
14051
14052 wxPyEndAllowThreads(__tstate);
14053 if (PyErr_Occurred()) SWIG_fail;
14054 }
14055 Py_INCREF(Py_None); resultobj = Py_None;
14056 return resultobj;
14057 fail:
14058 return NULL;
14059 }
14060
14061
14062 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14063 PyObject *resultobj;
14064 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14065 PyObject * obj0 = 0 ;
14066 char *kwnames[] = {
14067 (char *) "self", NULL
14068 };
14069
14070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 (arg1)->ArrangeIcons();
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 Py_INCREF(Py_None); resultobj = Py_None;
14080 return resultobj;
14081 fail:
14082 return NULL;
14083 }
14084
14085
14086 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14087 PyObject *resultobj;
14088 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14089 PyObject * obj0 = 0 ;
14090 char *kwnames[] = {
14091 (char *) "self", NULL
14092 };
14093
14094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14096 {
14097 PyThreadState* __tstate = wxPyBeginAllowThreads();
14098 (arg1)->Cascade();
14099
14100 wxPyEndAllowThreads(__tstate);
14101 if (PyErr_Occurred()) SWIG_fail;
14102 }
14103 Py_INCREF(Py_None); resultobj = Py_None;
14104 return resultobj;
14105 fail:
14106 return NULL;
14107 }
14108
14109
14110 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14111 PyObject *resultobj;
14112 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14113 wxMDIChildFrame *result;
14114 PyObject * obj0 = 0 ;
14115 char *kwnames[] = {
14116 (char *) "self", NULL
14117 };
14118
14119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14121 {
14122 PyThreadState* __tstate = wxPyBeginAllowThreads();
14123 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14124
14125 wxPyEndAllowThreads(__tstate);
14126 if (PyErr_Occurred()) SWIG_fail;
14127 }
14128 {
14129 resultobj = wxPyMake_wxObject(result);
14130 }
14131 return resultobj;
14132 fail:
14133 return NULL;
14134 }
14135
14136
14137 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14138 PyObject *resultobj;
14139 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14140 wxMDIClientWindow *result;
14141 PyObject * obj0 = 0 ;
14142 char *kwnames[] = {
14143 (char *) "self", NULL
14144 };
14145
14146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14148 {
14149 PyThreadState* __tstate = wxPyBeginAllowThreads();
14150 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14151
14152 wxPyEndAllowThreads(__tstate);
14153 if (PyErr_Occurred()) SWIG_fail;
14154 }
14155 {
14156 resultobj = wxPyMake_wxObject(result);
14157 }
14158 return resultobj;
14159 fail:
14160 return NULL;
14161 }
14162
14163
14164 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14165 PyObject *resultobj;
14166 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14167 wxWindow *result;
14168 PyObject * obj0 = 0 ;
14169 char *kwnames[] = {
14170 (char *) "self", NULL
14171 };
14172
14173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14175 {
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 result = (wxWindow *)(arg1)->GetToolBar();
14178
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
14182 {
14183 resultobj = wxPyMake_wxObject(result);
14184 }
14185 return resultobj;
14186 fail:
14187 return NULL;
14188 }
14189
14190
14191 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14192 PyObject *resultobj;
14193 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14194 PyObject * obj0 = 0 ;
14195 char *kwnames[] = {
14196 (char *) "self", NULL
14197 };
14198
14199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14201 {
14202 PyThreadState* __tstate = wxPyBeginAllowThreads();
14203 (arg1)->Tile();
14204
14205 wxPyEndAllowThreads(__tstate);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 Py_INCREF(Py_None); resultobj = Py_None;
14209 return resultobj;
14210 fail:
14211 return NULL;
14212 }
14213
14214
14215 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14216 PyObject *obj;
14217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14218 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14219 Py_INCREF(obj);
14220 return Py_BuildValue((char *)"");
14221 }
14222 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14223 PyObject *resultobj;
14224 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14225 int arg2 ;
14226 wxString *arg3 = 0 ;
14227 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14228 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14229 wxSize const &arg5_defvalue = wxDefaultSize ;
14230 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14231 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14232 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14233 wxString *arg7 = (wxString *) &arg7_defvalue ;
14234 wxMDIChildFrame *result;
14235 bool temp3 = False ;
14236 wxPoint temp4 ;
14237 wxSize temp5 ;
14238 bool temp7 = False ;
14239 PyObject * obj0 = 0 ;
14240 PyObject * obj1 = 0 ;
14241 PyObject * obj2 = 0 ;
14242 PyObject * obj3 = 0 ;
14243 PyObject * obj4 = 0 ;
14244 PyObject * obj5 = 0 ;
14245 PyObject * obj6 = 0 ;
14246 char *kwnames[] = {
14247 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14248 };
14249
14250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14252 {
14253 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 {
14257 arg3 = wxString_in_helper(obj2);
14258 if (arg3 == NULL) SWIG_fail;
14259 temp3 = True;
14260 }
14261 if (obj3) {
14262 {
14263 arg4 = &temp4;
14264 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14265 }
14266 }
14267 if (obj4) {
14268 {
14269 arg5 = &temp5;
14270 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14271 }
14272 }
14273 if (obj5) {
14274 {
14275 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 }
14279 if (obj6) {
14280 {
14281 arg7 = wxString_in_helper(obj6);
14282 if (arg7 == NULL) SWIG_fail;
14283 temp7 = True;
14284 }
14285 }
14286 {
14287 PyThreadState* __tstate = wxPyBeginAllowThreads();
14288 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14289
14290 wxPyEndAllowThreads(__tstate);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
14293 {
14294 resultobj = wxPyMake_wxObject(result);
14295 }
14296 {
14297 if (temp3)
14298 delete arg3;
14299 }
14300 {
14301 if (temp7)
14302 delete arg7;
14303 }
14304 return resultobj;
14305 fail:
14306 {
14307 if (temp3)
14308 delete arg3;
14309 }
14310 {
14311 if (temp7)
14312 delete arg7;
14313 }
14314 return NULL;
14315 }
14316
14317
14318 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14319 PyObject *resultobj;
14320 wxMDIChildFrame *result;
14321 char *kwnames[] = {
14322 NULL
14323 };
14324
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 {
14334 resultobj = wxPyMake_wxObject(result);
14335 }
14336 return resultobj;
14337 fail:
14338 return NULL;
14339 }
14340
14341
14342 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14343 PyObject *resultobj;
14344 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14345 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14346 int arg3 ;
14347 wxString *arg4 = 0 ;
14348 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14349 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14350 wxSize const &arg6_defvalue = wxDefaultSize ;
14351 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14352 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14353 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14354 wxString *arg8 = (wxString *) &arg8_defvalue ;
14355 bool result;
14356 bool temp4 = False ;
14357 wxPoint temp5 ;
14358 wxSize temp6 ;
14359 bool temp8 = False ;
14360 PyObject * obj0 = 0 ;
14361 PyObject * obj1 = 0 ;
14362 PyObject * obj2 = 0 ;
14363 PyObject * obj3 = 0 ;
14364 PyObject * obj4 = 0 ;
14365 PyObject * obj5 = 0 ;
14366 PyObject * obj6 = 0 ;
14367 PyObject * obj7 = 0 ;
14368 char *kwnames[] = {
14369 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14370 };
14371
14372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14374 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14375 {
14376 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
14377 if (PyErr_Occurred()) SWIG_fail;
14378 }
14379 {
14380 arg4 = wxString_in_helper(obj3);
14381 if (arg4 == NULL) SWIG_fail;
14382 temp4 = True;
14383 }
14384 if (obj4) {
14385 {
14386 arg5 = &temp5;
14387 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14388 }
14389 }
14390 if (obj5) {
14391 {
14392 arg6 = &temp6;
14393 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14394 }
14395 }
14396 if (obj6) {
14397 {
14398 arg7 = (long) SWIG_PyObj_AsLong(obj6);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 }
14402 if (obj7) {
14403 {
14404 arg8 = wxString_in_helper(obj7);
14405 if (arg8 == NULL) SWIG_fail;
14406 temp8 = True;
14407 }
14408 }
14409 {
14410 PyThreadState* __tstate = wxPyBeginAllowThreads();
14411 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14412
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14417 {
14418 if (temp4)
14419 delete arg4;
14420 }
14421 {
14422 if (temp8)
14423 delete arg8;
14424 }
14425 return resultobj;
14426 fail:
14427 {
14428 if (temp4)
14429 delete arg4;
14430 }
14431 {
14432 if (temp8)
14433 delete arg8;
14434 }
14435 return NULL;
14436 }
14437
14438
14439 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14440 PyObject *resultobj;
14441 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14442 PyObject * obj0 = 0 ;
14443 char *kwnames[] = {
14444 (char *) "self", NULL
14445 };
14446
14447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14449 {
14450 PyThreadState* __tstate = wxPyBeginAllowThreads();
14451 (arg1)->Activate();
14452
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 Py_INCREF(Py_None); resultobj = Py_None;
14457 return resultobj;
14458 fail:
14459 return NULL;
14460 }
14461
14462
14463 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14464 PyObject *resultobj;
14465 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14466 bool arg2 ;
14467 PyObject * obj0 = 0 ;
14468 PyObject * obj1 = 0 ;
14469 char *kwnames[] = {
14470 (char *) "self",(char *) "maximize", NULL
14471 };
14472
14473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14475 {
14476 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14477 if (PyErr_Occurred()) SWIG_fail;
14478 }
14479 {
14480 PyThreadState* __tstate = wxPyBeginAllowThreads();
14481 (arg1)->Maximize(arg2);
14482
14483 wxPyEndAllowThreads(__tstate);
14484 if (PyErr_Occurred()) SWIG_fail;
14485 }
14486 Py_INCREF(Py_None); resultobj = Py_None;
14487 return resultobj;
14488 fail:
14489 return NULL;
14490 }
14491
14492
14493 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14494 PyObject *resultobj;
14495 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14496 PyObject * obj0 = 0 ;
14497 char *kwnames[] = {
14498 (char *) "self", NULL
14499 };
14500
14501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14503 {
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
14505 (arg1)->Restore();
14506
14507 wxPyEndAllowThreads(__tstate);
14508 if (PyErr_Occurred()) SWIG_fail;
14509 }
14510 Py_INCREF(Py_None); resultobj = Py_None;
14511 return resultobj;
14512 fail:
14513 return NULL;
14514 }
14515
14516
14517 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14518 PyObject *obj;
14519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14520 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14521 Py_INCREF(obj);
14522 return Py_BuildValue((char *)"");
14523 }
14524 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14525 PyObject *resultobj;
14526 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14527 long arg2 = (long) 0 ;
14528 wxMDIClientWindow *result;
14529 PyObject * obj0 = 0 ;
14530 PyObject * obj1 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "parent",(char *) "style", NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14537 if (obj1) {
14538 {
14539 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 }
14542 }
14543 {
14544 PyThreadState* __tstate = wxPyBeginAllowThreads();
14545 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14546
14547 wxPyEndAllowThreads(__tstate);
14548 if (PyErr_Occurred()) SWIG_fail;
14549 }
14550 {
14551 resultobj = wxPyMake_wxObject(result);
14552 }
14553 return resultobj;
14554 fail:
14555 return NULL;
14556 }
14557
14558
14559 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14560 PyObject *resultobj;
14561 wxMDIClientWindow *result;
14562 char *kwnames[] = {
14563 NULL
14564 };
14565
14566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 {
14575 resultobj = wxPyMake_wxObject(result);
14576 }
14577 return resultobj;
14578 fail:
14579 return NULL;
14580 }
14581
14582
14583 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14584 PyObject *resultobj;
14585 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14586 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14587 long arg3 = (long) 0 ;
14588 bool result;
14589 PyObject * obj0 = 0 ;
14590 PyObject * obj1 = 0 ;
14591 PyObject * obj2 = 0 ;
14592 char *kwnames[] = {
14593 (char *) "self",(char *) "parent",(char *) "style", NULL
14594 };
14595
14596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14599 if (obj2) {
14600 {
14601 arg3 = (long) SWIG_PyObj_AsLong(obj2);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 }
14604 }
14605 {
14606 PyThreadState* __tstate = wxPyBeginAllowThreads();
14607 result = (bool)(arg1)->Create(arg2,arg3);
14608
14609 wxPyEndAllowThreads(__tstate);
14610 if (PyErr_Occurred()) SWIG_fail;
14611 }
14612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14613 return resultobj;
14614 fail:
14615 return NULL;
14616 }
14617
14618
14619 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
14620 PyObject *obj;
14621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14622 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14623 Py_INCREF(obj);
14624 return Py_BuildValue((char *)"");
14625 }
14626 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14627 PyObject *resultobj;
14628 wxWindow *arg1 = (wxWindow *) 0 ;
14629 int arg2 ;
14630 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14631 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14632 wxSize const &arg4_defvalue = wxDefaultSize ;
14633 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14634 long arg5 = (long) 0 ;
14635 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14636 wxString *arg6 = (wxString *) &arg6_defvalue ;
14637 wxPyWindow *result;
14638 wxPoint temp3 ;
14639 wxSize temp4 ;
14640 bool temp6 = False ;
14641 PyObject * obj0 = 0 ;
14642 PyObject * obj1 = 0 ;
14643 PyObject * obj2 = 0 ;
14644 PyObject * obj3 = 0 ;
14645 PyObject * obj4 = 0 ;
14646 PyObject * obj5 = 0 ;
14647 char *kwnames[] = {
14648 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14649 };
14650
14651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14653 {
14654 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 if (obj2) {
14658 {
14659 arg3 = &temp3;
14660 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14661 }
14662 }
14663 if (obj3) {
14664 {
14665 arg4 = &temp4;
14666 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14667 }
14668 }
14669 if (obj4) {
14670 {
14671 arg5 = (long) SWIG_PyObj_AsLong(obj4);
14672 if (PyErr_Occurred()) SWIG_fail;
14673 }
14674 }
14675 if (obj5) {
14676 {
14677 arg6 = wxString_in_helper(obj5);
14678 if (arg6 == NULL) SWIG_fail;
14679 temp6 = True;
14680 }
14681 }
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
14689 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
14690 {
14691 if (temp6)
14692 delete arg6;
14693 }
14694 return resultobj;
14695 fail:
14696 {
14697 if (temp6)
14698 delete arg6;
14699 }
14700 return NULL;
14701 }
14702
14703
14704 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14705 PyObject *resultobj;
14706 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14707 PyObject *arg2 = (PyObject *) 0 ;
14708 PyObject *arg3 = (PyObject *) 0 ;
14709 PyObject * obj0 = 0 ;
14710 PyObject * obj1 = 0 ;
14711 PyObject * obj2 = 0 ;
14712 char *kwnames[] = {
14713 (char *) "self",(char *) "self",(char *) "_class", NULL
14714 };
14715
14716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14718 arg2 = obj1;
14719 arg3 = obj2;
14720 {
14721 PyThreadState* __tstate = wxPyBeginAllowThreads();
14722 (arg1)->_setCallbackInfo(arg2,arg3);
14723
14724 wxPyEndAllowThreads(__tstate);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 Py_INCREF(Py_None); resultobj = Py_None;
14728 return resultobj;
14729 fail:
14730 return NULL;
14731 }
14732
14733
14734 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14735 PyObject *resultobj;
14736 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14737 int arg2 ;
14738 int arg3 ;
14739 int arg4 ;
14740 int arg5 ;
14741 PyObject * obj0 = 0 ;
14742 PyObject * obj1 = 0 ;
14743 PyObject * obj2 = 0 ;
14744 PyObject * obj3 = 0 ;
14745 PyObject * obj4 = 0 ;
14746 char *kwnames[] = {
14747 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14748 };
14749
14750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14752 {
14753 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14754 if (PyErr_Occurred()) SWIG_fail;
14755 }
14756 {
14757 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14758 if (PyErr_Occurred()) SWIG_fail;
14759 }
14760 {
14761 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 {
14765 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 }
14768 {
14769 PyThreadState* __tstate = wxPyBeginAllowThreads();
14770 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14771
14772 wxPyEndAllowThreads(__tstate);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 }
14775 Py_INCREF(Py_None); resultobj = Py_None;
14776 return resultobj;
14777 fail:
14778 return NULL;
14779 }
14780
14781
14782 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14783 PyObject *resultobj;
14784 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14785 int arg2 ;
14786 int arg3 ;
14787 int arg4 ;
14788 int arg5 ;
14789 int arg6 = (int) wxSIZE_AUTO ;
14790 PyObject * obj0 = 0 ;
14791 PyObject * obj1 = 0 ;
14792 PyObject * obj2 = 0 ;
14793 PyObject * obj3 = 0 ;
14794 PyObject * obj4 = 0 ;
14795 PyObject * obj5 = 0 ;
14796 char *kwnames[] = {
14797 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14802 {
14803 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 {
14807 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 {
14811 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14812 if (PyErr_Occurred()) SWIG_fail;
14813 }
14814 {
14815 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14816 if (PyErr_Occurred()) SWIG_fail;
14817 }
14818 if (obj5) {
14819 {
14820 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14821 if (PyErr_Occurred()) SWIG_fail;
14822 }
14823 }
14824 {
14825 PyThreadState* __tstate = wxPyBeginAllowThreads();
14826 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14827
14828 wxPyEndAllowThreads(__tstate);
14829 if (PyErr_Occurred()) SWIG_fail;
14830 }
14831 Py_INCREF(Py_None); resultobj = Py_None;
14832 return resultobj;
14833 fail:
14834 return NULL;
14835 }
14836
14837
14838 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14839 PyObject *resultobj;
14840 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14841 int arg2 ;
14842 int arg3 ;
14843 PyObject * obj0 = 0 ;
14844 PyObject * obj1 = 0 ;
14845 PyObject * obj2 = 0 ;
14846 char *kwnames[] = {
14847 (char *) "self",(char *) "width",(char *) "height", NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14852 {
14853 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 {
14857 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14858 if (PyErr_Occurred()) SWIG_fail;
14859 }
14860 {
14861 PyThreadState* __tstate = wxPyBeginAllowThreads();
14862 (arg1)->base_DoSetClientSize(arg2,arg3);
14863
14864 wxPyEndAllowThreads(__tstate);
14865 if (PyErr_Occurred()) SWIG_fail;
14866 }
14867 Py_INCREF(Py_None); resultobj = Py_None;
14868 return resultobj;
14869 fail:
14870 return NULL;
14871 }
14872
14873
14874 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14875 PyObject *resultobj;
14876 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14877 int arg2 ;
14878 int arg3 ;
14879 PyObject * obj0 = 0 ;
14880 PyObject * obj1 = 0 ;
14881 PyObject * obj2 = 0 ;
14882 char *kwnames[] = {
14883 (char *) "self",(char *) "x",(char *) "y", NULL
14884 };
14885
14886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14888 {
14889 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14890 if (PyErr_Occurred()) SWIG_fail;
14891 }
14892 {
14893 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 {
14897 PyThreadState* __tstate = wxPyBeginAllowThreads();
14898 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14899
14900 wxPyEndAllowThreads(__tstate);
14901 if (PyErr_Occurred()) SWIG_fail;
14902 }
14903 Py_INCREF(Py_None); resultobj = Py_None;
14904 return resultobj;
14905 fail:
14906 return NULL;
14907 }
14908
14909
14910 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14911 PyObject *resultobj;
14912 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14913 int *arg2 = (int *) 0 ;
14914 int *arg3 = (int *) 0 ;
14915 int temp2 ;
14916 int temp3 ;
14917 PyObject * obj0 = 0 ;
14918 char *kwnames[] = {
14919 (char *) "self", NULL
14920 };
14921
14922 arg2 = &temp2;
14923 arg3 = &temp3;
14924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
14925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14926 {
14927 PyThreadState* __tstate = wxPyBeginAllowThreads();
14928 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
14929
14930 wxPyEndAllowThreads(__tstate);
14931 if (PyErr_Occurred()) SWIG_fail;
14932 }
14933 Py_INCREF(Py_None); resultobj = Py_None;
14934 {
14935 PyObject *o = PyInt_FromLong((long) (*arg2));
14936 resultobj = t_output_helper(resultobj,o);
14937 }
14938 {
14939 PyObject *o = PyInt_FromLong((long) (*arg3));
14940 resultobj = t_output_helper(resultobj,o);
14941 }
14942 return resultobj;
14943 fail:
14944 return NULL;
14945 }
14946
14947
14948 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14949 PyObject *resultobj;
14950 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14951 int *arg2 = (int *) 0 ;
14952 int *arg3 = (int *) 0 ;
14953 int temp2 ;
14954 int temp3 ;
14955 PyObject * obj0 = 0 ;
14956 char *kwnames[] = {
14957 (char *) "self", NULL
14958 };
14959
14960 arg2 = &temp2;
14961 arg3 = &temp3;
14962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14964 {
14965 PyThreadState* __tstate = wxPyBeginAllowThreads();
14966 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
14967
14968 wxPyEndAllowThreads(__tstate);
14969 if (PyErr_Occurred()) SWIG_fail;
14970 }
14971 Py_INCREF(Py_None); resultobj = Py_None;
14972 {
14973 PyObject *o = PyInt_FromLong((long) (*arg2));
14974 resultobj = t_output_helper(resultobj,o);
14975 }
14976 {
14977 PyObject *o = PyInt_FromLong((long) (*arg3));
14978 resultobj = t_output_helper(resultobj,o);
14979 }
14980 return resultobj;
14981 fail:
14982 return NULL;
14983 }
14984
14985
14986 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14987 PyObject *resultobj;
14988 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14989 int *arg2 = (int *) 0 ;
14990 int *arg3 = (int *) 0 ;
14991 int temp2 ;
14992 int temp3 ;
14993 PyObject * obj0 = 0 ;
14994 char *kwnames[] = {
14995 (char *) "self", NULL
14996 };
14997
14998 arg2 = &temp2;
14999 arg3 = &temp3;
15000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15002 {
15003 PyThreadState* __tstate = wxPyBeginAllowThreads();
15004 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15005
15006 wxPyEndAllowThreads(__tstate);
15007 if (PyErr_Occurred()) SWIG_fail;
15008 }
15009 Py_INCREF(Py_None); resultobj = Py_None;
15010 {
15011 PyObject *o = PyInt_FromLong((long) (*arg2));
15012 resultobj = t_output_helper(resultobj,o);
15013 }
15014 {
15015 PyObject *o = PyInt_FromLong((long) (*arg3));
15016 resultobj = t_output_helper(resultobj,o);
15017 }
15018 return resultobj;
15019 fail:
15020 return NULL;
15021 }
15022
15023
15024 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15025 PyObject *resultobj;
15026 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15027 wxSize result;
15028 PyObject * obj0 = 0 ;
15029 char *kwnames[] = {
15030 (char *) "self", NULL
15031 };
15032
15033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15035 {
15036 PyThreadState* __tstate = wxPyBeginAllowThreads();
15037 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15038
15039 wxPyEndAllowThreads(__tstate);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 }
15042 {
15043 wxSize * resultptr;
15044 resultptr = new wxSize((wxSize &) result);
15045 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15046 }
15047 return resultobj;
15048 fail:
15049 return NULL;
15050 }
15051
15052
15053 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15054 PyObject *resultobj;
15055 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15056 wxSize result;
15057 PyObject * obj0 = 0 ;
15058 char *kwnames[] = {
15059 (char *) "self", NULL
15060 };
15061
15062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15064 {
15065 PyThreadState* __tstate = wxPyBeginAllowThreads();
15066 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15067
15068 wxPyEndAllowThreads(__tstate);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
15071 {
15072 wxSize * resultptr;
15073 resultptr = new wxSize((wxSize &) result);
15074 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15075 }
15076 return resultobj;
15077 fail:
15078 return NULL;
15079 }
15080
15081
15082 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15083 PyObject *resultobj;
15084 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15085 PyObject * obj0 = 0 ;
15086 char *kwnames[] = {
15087 (char *) "self", NULL
15088 };
15089
15090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15092 {
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 (arg1)->base_InitDialog();
15095
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 Py_INCREF(Py_None); resultobj = Py_None;
15100 return resultobj;
15101 fail:
15102 return NULL;
15103 }
15104
15105
15106 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15107 PyObject *resultobj;
15108 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15109 bool result;
15110 PyObject * obj0 = 0 ;
15111 char *kwnames[] = {
15112 (char *) "self", NULL
15113 };
15114
15115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15117 {
15118 PyThreadState* __tstate = wxPyBeginAllowThreads();
15119 result = (bool)(arg1)->base_TransferDataToWindow();
15120
15121 wxPyEndAllowThreads(__tstate);
15122 if (PyErr_Occurred()) SWIG_fail;
15123 }
15124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15125 return resultobj;
15126 fail:
15127 return NULL;
15128 }
15129
15130
15131 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15132 PyObject *resultobj;
15133 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15134 bool result;
15135 PyObject * obj0 = 0 ;
15136 char *kwnames[] = {
15137 (char *) "self", NULL
15138 };
15139
15140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15142 {
15143 PyThreadState* __tstate = wxPyBeginAllowThreads();
15144 result = (bool)(arg1)->base_TransferDataFromWindow();
15145
15146 wxPyEndAllowThreads(__tstate);
15147 if (PyErr_Occurred()) SWIG_fail;
15148 }
15149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15150 return resultobj;
15151 fail:
15152 return NULL;
15153 }
15154
15155
15156 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15157 PyObject *resultobj;
15158 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15159 bool result;
15160 PyObject * obj0 = 0 ;
15161 char *kwnames[] = {
15162 (char *) "self", NULL
15163 };
15164
15165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15167 {
15168 PyThreadState* __tstate = wxPyBeginAllowThreads();
15169 result = (bool)(arg1)->base_Validate();
15170
15171 wxPyEndAllowThreads(__tstate);
15172 if (PyErr_Occurred()) SWIG_fail;
15173 }
15174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15175 return resultobj;
15176 fail:
15177 return NULL;
15178 }
15179
15180
15181 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15182 PyObject *resultobj;
15183 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15184 bool result;
15185 PyObject * obj0 = 0 ;
15186 char *kwnames[] = {
15187 (char *) "self", NULL
15188 };
15189
15190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15192 {
15193 PyThreadState* __tstate = wxPyBeginAllowThreads();
15194 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15195
15196 wxPyEndAllowThreads(__tstate);
15197 if (PyErr_Occurred()) SWIG_fail;
15198 }
15199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15200 return resultobj;
15201 fail:
15202 return NULL;
15203 }
15204
15205
15206 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15207 PyObject *resultobj;
15208 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15209 bool result;
15210 PyObject * obj0 = 0 ;
15211 char *kwnames[] = {
15212 (char *) "self", NULL
15213 };
15214
15215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15217 {
15218 PyThreadState* __tstate = wxPyBeginAllowThreads();
15219 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15220
15221 wxPyEndAllowThreads(__tstate);
15222 if (PyErr_Occurred()) SWIG_fail;
15223 }
15224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15225 return resultobj;
15226 fail:
15227 return NULL;
15228 }
15229
15230
15231 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15232 PyObject *resultobj;
15233 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15234 wxSize result;
15235 PyObject * obj0 = 0 ;
15236 char *kwnames[] = {
15237 (char *) "self", NULL
15238 };
15239
15240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15242 {
15243 PyThreadState* __tstate = wxPyBeginAllowThreads();
15244 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15245
15246 wxPyEndAllowThreads(__tstate);
15247 if (PyErr_Occurred()) SWIG_fail;
15248 }
15249 {
15250 wxSize * resultptr;
15251 resultptr = new wxSize((wxSize &) result);
15252 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15253 }
15254 return resultobj;
15255 fail:
15256 return NULL;
15257 }
15258
15259
15260 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15261 PyObject *resultobj;
15262 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15263 wxWindow *arg2 = (wxWindow *) 0 ;
15264 PyObject * obj0 = 0 ;
15265 PyObject * obj1 = 0 ;
15266 char *kwnames[] = {
15267 (char *) "self",(char *) "child", NULL
15268 };
15269
15270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15273 {
15274 PyThreadState* __tstate = wxPyBeginAllowThreads();
15275 (arg1)->base_AddChild(arg2);
15276
15277 wxPyEndAllowThreads(__tstate);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 }
15280 Py_INCREF(Py_None); resultobj = Py_None;
15281 return resultobj;
15282 fail:
15283 return NULL;
15284 }
15285
15286
15287 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15288 PyObject *resultobj;
15289 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15290 wxWindow *arg2 = (wxWindow *) 0 ;
15291 PyObject * obj0 = 0 ;
15292 PyObject * obj1 = 0 ;
15293 char *kwnames[] = {
15294 (char *) "self",(char *) "child", NULL
15295 };
15296
15297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15300 {
15301 PyThreadState* __tstate = wxPyBeginAllowThreads();
15302 (arg1)->base_RemoveChild(arg2);
15303
15304 wxPyEndAllowThreads(__tstate);
15305 if (PyErr_Occurred()) SWIG_fail;
15306 }
15307 Py_INCREF(Py_None); resultobj = Py_None;
15308 return resultobj;
15309 fail:
15310 return NULL;
15311 }
15312
15313
15314 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15315 PyObject *obj;
15316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15317 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15318 Py_INCREF(obj);
15319 return Py_BuildValue((char *)"");
15320 }
15321 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15322 PyObject *resultobj;
15323 wxWindow *arg1 = (wxWindow *) 0 ;
15324 int arg2 ;
15325 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15326 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15327 wxSize const &arg4_defvalue = wxDefaultSize ;
15328 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15329 long arg5 = (long) 0 ;
15330 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15331 wxString *arg6 = (wxString *) &arg6_defvalue ;
15332 wxPyPanel *result;
15333 wxPoint temp3 ;
15334 wxSize temp4 ;
15335 bool temp6 = False ;
15336 PyObject * obj0 = 0 ;
15337 PyObject * obj1 = 0 ;
15338 PyObject * obj2 = 0 ;
15339 PyObject * obj3 = 0 ;
15340 PyObject * obj4 = 0 ;
15341 PyObject * obj5 = 0 ;
15342 char *kwnames[] = {
15343 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15344 };
15345
15346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15348 {
15349 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
15350 if (PyErr_Occurred()) SWIG_fail;
15351 }
15352 if (obj2) {
15353 {
15354 arg3 = &temp3;
15355 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15356 }
15357 }
15358 if (obj3) {
15359 {
15360 arg4 = &temp4;
15361 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15362 }
15363 }
15364 if (obj4) {
15365 {
15366 arg5 = (long) SWIG_PyObj_AsLong(obj4);
15367 if (PyErr_Occurred()) SWIG_fail;
15368 }
15369 }
15370 if (obj5) {
15371 {
15372 arg6 = wxString_in_helper(obj5);
15373 if (arg6 == NULL) SWIG_fail;
15374 temp6 = True;
15375 }
15376 }
15377 {
15378 PyThreadState* __tstate = wxPyBeginAllowThreads();
15379 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15380
15381 wxPyEndAllowThreads(__tstate);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 }
15384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
15385 {
15386 if (temp6)
15387 delete arg6;
15388 }
15389 return resultobj;
15390 fail:
15391 {
15392 if (temp6)
15393 delete arg6;
15394 }
15395 return NULL;
15396 }
15397
15398
15399 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj;
15401 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15402 PyObject *arg2 = (PyObject *) 0 ;
15403 PyObject *arg3 = (PyObject *) 0 ;
15404 PyObject * obj0 = 0 ;
15405 PyObject * obj1 = 0 ;
15406 PyObject * obj2 = 0 ;
15407 char *kwnames[] = {
15408 (char *) "self",(char *) "self",(char *) "_class", NULL
15409 };
15410
15411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15413 arg2 = obj1;
15414 arg3 = obj2;
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 (arg1)->_setCallbackInfo(arg2,arg3);
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 Py_INCREF(Py_None); resultobj = Py_None;
15423 return resultobj;
15424 fail:
15425 return NULL;
15426 }
15427
15428
15429 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj;
15431 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15432 int arg2 ;
15433 int arg3 ;
15434 int arg4 ;
15435 int arg5 ;
15436 PyObject * obj0 = 0 ;
15437 PyObject * obj1 = 0 ;
15438 PyObject * obj2 = 0 ;
15439 PyObject * obj3 = 0 ;
15440 PyObject * obj4 = 0 ;
15441 char *kwnames[] = {
15442 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15443 };
15444
15445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15447 {
15448 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 {
15452 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 }
15455 {
15456 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
15459 {
15460 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15461 if (PyErr_Occurred()) SWIG_fail;
15462 }
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15466
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 Py_INCREF(Py_None); resultobj = Py_None;
15471 return resultobj;
15472 fail:
15473 return NULL;
15474 }
15475
15476
15477 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15478 PyObject *resultobj;
15479 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15480 int arg2 ;
15481 int arg3 ;
15482 int arg4 ;
15483 int arg5 ;
15484 int arg6 = (int) wxSIZE_AUTO ;
15485 PyObject * obj0 = 0 ;
15486 PyObject * obj1 = 0 ;
15487 PyObject * obj2 = 0 ;
15488 PyObject * obj3 = 0 ;
15489 PyObject * obj4 = 0 ;
15490 PyObject * obj5 = 0 ;
15491 char *kwnames[] = {
15492 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15493 };
15494
15495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15497 {
15498 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 {
15502 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15503 if (PyErr_Occurred()) SWIG_fail;
15504 }
15505 {
15506 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 {
15510 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 if (obj5) {
15514 {
15515 arg6 = (int) SWIG_PyObj_AsInt(obj5);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
15518 }
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15522
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 Py_INCREF(Py_None); resultobj = Py_None;
15527 return resultobj;
15528 fail:
15529 return NULL;
15530 }
15531
15532
15533 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15534 PyObject *resultobj;
15535 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15536 int arg2 ;
15537 int arg3 ;
15538 PyObject * obj0 = 0 ;
15539 PyObject * obj1 = 0 ;
15540 PyObject * obj2 = 0 ;
15541 char *kwnames[] = {
15542 (char *) "self",(char *) "width",(char *) "height", NULL
15543 };
15544
15545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15547 {
15548 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15549 if (PyErr_Occurred()) SWIG_fail;
15550 }
15551 {
15552 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 (arg1)->base_DoSetClientSize(arg2,arg3);
15558
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
15562 Py_INCREF(Py_None); resultobj = Py_None;
15563 return resultobj;
15564 fail:
15565 return NULL;
15566 }
15567
15568
15569 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15570 PyObject *resultobj;
15571 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15572 int arg2 ;
15573 int arg3 ;
15574 PyObject * obj0 = 0 ;
15575 PyObject * obj1 = 0 ;
15576 PyObject * obj2 = 0 ;
15577 char *kwnames[] = {
15578 (char *) "self",(char *) "x",(char *) "y", NULL
15579 };
15580
15581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15583 {
15584 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15585 if (PyErr_Occurred()) SWIG_fail;
15586 }
15587 {
15588 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 }
15591 {
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15594
15595 wxPyEndAllowThreads(__tstate);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
15598 Py_INCREF(Py_None); resultobj = Py_None;
15599 return resultobj;
15600 fail:
15601 return NULL;
15602 }
15603
15604
15605 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15606 PyObject *resultobj;
15607 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15608 int *arg2 = (int *) 0 ;
15609 int *arg3 = (int *) 0 ;
15610 int temp2 ;
15611 int temp3 ;
15612 PyObject * obj0 = 0 ;
15613 char *kwnames[] = {
15614 (char *) "self", NULL
15615 };
15616
15617 arg2 = &temp2;
15618 arg3 = &temp3;
15619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15621 {
15622 PyThreadState* __tstate = wxPyBeginAllowThreads();
15623 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15624
15625 wxPyEndAllowThreads(__tstate);
15626 if (PyErr_Occurred()) SWIG_fail;
15627 }
15628 Py_INCREF(Py_None); resultobj = Py_None;
15629 {
15630 PyObject *o = PyInt_FromLong((long) (*arg2));
15631 resultobj = t_output_helper(resultobj,o);
15632 }
15633 {
15634 PyObject *o = PyInt_FromLong((long) (*arg3));
15635 resultobj = t_output_helper(resultobj,o);
15636 }
15637 return resultobj;
15638 fail:
15639 return NULL;
15640 }
15641
15642
15643 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15644 PyObject *resultobj;
15645 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15646 int *arg2 = (int *) 0 ;
15647 int *arg3 = (int *) 0 ;
15648 int temp2 ;
15649 int temp3 ;
15650 PyObject * obj0 = 0 ;
15651 char *kwnames[] = {
15652 (char *) "self", NULL
15653 };
15654
15655 arg2 = &temp2;
15656 arg3 = &temp3;
15657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15659 {
15660 PyThreadState* __tstate = wxPyBeginAllowThreads();
15661 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15662
15663 wxPyEndAllowThreads(__tstate);
15664 if (PyErr_Occurred()) SWIG_fail;
15665 }
15666 Py_INCREF(Py_None); resultobj = Py_None;
15667 {
15668 PyObject *o = PyInt_FromLong((long) (*arg2));
15669 resultobj = t_output_helper(resultobj,o);
15670 }
15671 {
15672 PyObject *o = PyInt_FromLong((long) (*arg3));
15673 resultobj = t_output_helper(resultobj,o);
15674 }
15675 return resultobj;
15676 fail:
15677 return NULL;
15678 }
15679
15680
15681 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15682 PyObject *resultobj;
15683 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15684 int *arg2 = (int *) 0 ;
15685 int *arg3 = (int *) 0 ;
15686 int temp2 ;
15687 int temp3 ;
15688 PyObject * obj0 = 0 ;
15689 char *kwnames[] = {
15690 (char *) "self", NULL
15691 };
15692
15693 arg2 = &temp2;
15694 arg3 = &temp3;
15695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15697 {
15698 PyThreadState* __tstate = wxPyBeginAllowThreads();
15699 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15700
15701 wxPyEndAllowThreads(__tstate);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 }
15704 Py_INCREF(Py_None); resultobj = Py_None;
15705 {
15706 PyObject *o = PyInt_FromLong((long) (*arg2));
15707 resultobj = t_output_helper(resultobj,o);
15708 }
15709 {
15710 PyObject *o = PyInt_FromLong((long) (*arg3));
15711 resultobj = t_output_helper(resultobj,o);
15712 }
15713 return resultobj;
15714 fail:
15715 return NULL;
15716 }
15717
15718
15719 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15720 PyObject *resultobj;
15721 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15722 wxSize result;
15723 PyObject * obj0 = 0 ;
15724 char *kwnames[] = {
15725 (char *) "self", NULL
15726 };
15727
15728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15730 {
15731 PyThreadState* __tstate = wxPyBeginAllowThreads();
15732 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
15733
15734 wxPyEndAllowThreads(__tstate);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 }
15737 {
15738 wxSize * resultptr;
15739 resultptr = new wxSize((wxSize &) result);
15740 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15741 }
15742 return resultobj;
15743 fail:
15744 return NULL;
15745 }
15746
15747
15748 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15749 PyObject *resultobj;
15750 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15751 wxSize result;
15752 PyObject * obj0 = 0 ;
15753 char *kwnames[] = {
15754 (char *) "self", NULL
15755 };
15756
15757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15759 {
15760 PyThreadState* __tstate = wxPyBeginAllowThreads();
15761 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
15762
15763 wxPyEndAllowThreads(__tstate);
15764 if (PyErr_Occurred()) SWIG_fail;
15765 }
15766 {
15767 wxSize * resultptr;
15768 resultptr = new wxSize((wxSize &) result);
15769 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15770 }
15771 return resultobj;
15772 fail:
15773 return NULL;
15774 }
15775
15776
15777 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15778 PyObject *resultobj;
15779 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15780 PyObject * obj0 = 0 ;
15781 char *kwnames[] = {
15782 (char *) "self", NULL
15783 };
15784
15785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
15786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15787 {
15788 PyThreadState* __tstate = wxPyBeginAllowThreads();
15789 (arg1)->base_InitDialog();
15790
15791 wxPyEndAllowThreads(__tstate);
15792 if (PyErr_Occurred()) SWIG_fail;
15793 }
15794 Py_INCREF(Py_None); resultobj = Py_None;
15795 return resultobj;
15796 fail:
15797 return NULL;
15798 }
15799
15800
15801 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15802 PyObject *resultobj;
15803 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15804 bool result;
15805 PyObject * obj0 = 0 ;
15806 char *kwnames[] = {
15807 (char *) "self", NULL
15808 };
15809
15810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15812 {
15813 PyThreadState* __tstate = wxPyBeginAllowThreads();
15814 result = (bool)(arg1)->base_TransferDataToWindow();
15815
15816 wxPyEndAllowThreads(__tstate);
15817 if (PyErr_Occurred()) SWIG_fail;
15818 }
15819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15820 return resultobj;
15821 fail:
15822 return NULL;
15823 }
15824
15825
15826 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15827 PyObject *resultobj;
15828 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15829 bool result;
15830 PyObject * obj0 = 0 ;
15831 char *kwnames[] = {
15832 (char *) "self", NULL
15833 };
15834
15835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 result = (bool)(arg1)->base_TransferDataFromWindow();
15840
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
15844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15845 return resultobj;
15846 fail:
15847 return NULL;
15848 }
15849
15850
15851 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15852 PyObject *resultobj;
15853 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15854 bool result;
15855 PyObject * obj0 = 0 ;
15856 char *kwnames[] = {
15857 (char *) "self", NULL
15858 };
15859
15860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
15861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 result = (bool)(arg1)->base_Validate();
15865
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15870 return resultobj;
15871 fail:
15872 return NULL;
15873 }
15874
15875
15876 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15877 PyObject *resultobj;
15878 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15879 bool result;
15880 PyObject * obj0 = 0 ;
15881 char *kwnames[] = {
15882 (char *) "self", NULL
15883 };
15884
15885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
15890
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15895 return resultobj;
15896 fail:
15897 return NULL;
15898 }
15899
15900
15901 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15904 bool result;
15905 PyObject * obj0 = 0 ;
15906 char *kwnames[] = {
15907 (char *) "self", NULL
15908 };
15909
15910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15912 {
15913 PyThreadState* __tstate = wxPyBeginAllowThreads();
15914 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
15915
15916 wxPyEndAllowThreads(__tstate);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 }
15919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15920 return resultobj;
15921 fail:
15922 return NULL;
15923 }
15924
15925
15926 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15927 PyObject *resultobj;
15928 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15929 wxSize result;
15930 PyObject * obj0 = 0 ;
15931 char *kwnames[] = {
15932 (char *) "self", NULL
15933 };
15934
15935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
15936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15937 {
15938 PyThreadState* __tstate = wxPyBeginAllowThreads();
15939 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
15940
15941 wxPyEndAllowThreads(__tstate);
15942 if (PyErr_Occurred()) SWIG_fail;
15943 }
15944 {
15945 wxSize * resultptr;
15946 resultptr = new wxSize((wxSize &) result);
15947 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15948 }
15949 return resultobj;
15950 fail:
15951 return NULL;
15952 }
15953
15954
15955 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15956 PyObject *resultobj;
15957 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15958 wxWindow *arg2 = (wxWindow *) 0 ;
15959 PyObject * obj0 = 0 ;
15960 PyObject * obj1 = 0 ;
15961 char *kwnames[] = {
15962 (char *) "self",(char *) "child", NULL
15963 };
15964
15965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15968 {
15969 PyThreadState* __tstate = wxPyBeginAllowThreads();
15970 (arg1)->base_AddChild(arg2);
15971
15972 wxPyEndAllowThreads(__tstate);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 }
15975 Py_INCREF(Py_None); resultobj = Py_None;
15976 return resultobj;
15977 fail:
15978 return NULL;
15979 }
15980
15981
15982 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15983 PyObject *resultobj;
15984 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15985 wxWindow *arg2 = (wxWindow *) 0 ;
15986 PyObject * obj0 = 0 ;
15987 PyObject * obj1 = 0 ;
15988 char *kwnames[] = {
15989 (char *) "self",(char *) "child", NULL
15990 };
15991
15992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15995 {
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 (arg1)->base_RemoveChild(arg2);
15998
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 Py_INCREF(Py_None); resultobj = Py_None;
16003 return resultobj;
16004 fail:
16005 return NULL;
16006 }
16007
16008
16009 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16010 PyObject *obj;
16011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16012 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16013 Py_INCREF(obj);
16014 return Py_BuildValue((char *)"");
16015 }
16016 static int _wrap_PrintoutTitleStr_set(PyObject *) {
16017 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
16018 return 1;
16019 }
16020
16021
16022 static PyObject *_wrap_PrintoutTitleStr_get() {
16023 PyObject *pyobj;
16024
16025 {
16026 #if wxUSE_UNICODE
16027 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16028 #else
16029 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16030 #endif
16031 }
16032 return pyobj;
16033 }
16034
16035
16036 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
16037 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
16038 return 1;
16039 }
16040
16041
16042 static PyObject *_wrap_PreviewCanvasNameStr_get() {
16043 PyObject *pyobj;
16044
16045 {
16046 #if wxUSE_UNICODE
16047 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16048 #else
16049 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16050 #endif
16051 }
16052 return pyobj;
16053 }
16054
16055
16056 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16057 PyObject *resultobj;
16058 wxPrintData *result;
16059 char *kwnames[] = {
16060 NULL
16061 };
16062
16063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 result = (wxPrintData *)new wxPrintData();
16067
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
16071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
16072 return resultobj;
16073 fail:
16074 return NULL;
16075 }
16076
16077
16078 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj;
16080 wxPrintData *arg1 = (wxPrintData *) 0 ;
16081 PyObject * obj0 = 0 ;
16082 char *kwnames[] = {
16083 (char *) "self", NULL
16084 };
16085
16086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
16087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16088 {
16089 PyThreadState* __tstate = wxPyBeginAllowThreads();
16090 delete arg1;
16091
16092 wxPyEndAllowThreads(__tstate);
16093 if (PyErr_Occurred()) SWIG_fail;
16094 }
16095 Py_INCREF(Py_None); resultobj = Py_None;
16096 return resultobj;
16097 fail:
16098 return NULL;
16099 }
16100
16101
16102 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16103 PyObject *resultobj;
16104 wxPrintData *arg1 = (wxPrintData *) 0 ;
16105 int result;
16106 PyObject * obj0 = 0 ;
16107 char *kwnames[] = {
16108 (char *) "self", NULL
16109 };
16110
16111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
16112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16113 {
16114 PyThreadState* __tstate = wxPyBeginAllowThreads();
16115 result = (int)(arg1)->GetNoCopies();
16116
16117 wxPyEndAllowThreads(__tstate);
16118 if (PyErr_Occurred()) SWIG_fail;
16119 }
16120 resultobj = SWIG_PyObj_FromInt((int)result);
16121 return resultobj;
16122 fail:
16123 return NULL;
16124 }
16125
16126
16127 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16128 PyObject *resultobj;
16129 wxPrintData *arg1 = (wxPrintData *) 0 ;
16130 bool result;
16131 PyObject * obj0 = 0 ;
16132 char *kwnames[] = {
16133 (char *) "self", NULL
16134 };
16135
16136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
16137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16138 {
16139 PyThreadState* __tstate = wxPyBeginAllowThreads();
16140 result = (bool)(arg1)->GetCollate();
16141
16142 wxPyEndAllowThreads(__tstate);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 }
16145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16146 return resultobj;
16147 fail:
16148 return NULL;
16149 }
16150
16151
16152 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16153 PyObject *resultobj;
16154 wxPrintData *arg1 = (wxPrintData *) 0 ;
16155 int result;
16156 PyObject * obj0 = 0 ;
16157 char *kwnames[] = {
16158 (char *) "self", NULL
16159 };
16160
16161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
16162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16163 {
16164 PyThreadState* __tstate = wxPyBeginAllowThreads();
16165 result = (int)(arg1)->GetOrientation();
16166
16167 wxPyEndAllowThreads(__tstate);
16168 if (PyErr_Occurred()) SWIG_fail;
16169 }
16170 resultobj = SWIG_PyObj_FromInt((int)result);
16171 return resultobj;
16172 fail:
16173 return NULL;
16174 }
16175
16176
16177 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16178 PyObject *resultobj;
16179 wxPrintData *arg1 = (wxPrintData *) 0 ;
16180 bool result;
16181 PyObject * obj0 = 0 ;
16182 char *kwnames[] = {
16183 (char *) "self", NULL
16184 };
16185
16186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
16187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16188 {
16189 PyThreadState* __tstate = wxPyBeginAllowThreads();
16190 result = (bool)(arg1)->Ok();
16191
16192 wxPyEndAllowThreads(__tstate);
16193 if (PyErr_Occurred()) SWIG_fail;
16194 }
16195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16196 return resultobj;
16197 fail:
16198 return NULL;
16199 }
16200
16201
16202 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16203 PyObject *resultobj;
16204 wxPrintData *arg1 = (wxPrintData *) 0 ;
16205 wxString *result;
16206 PyObject * obj0 = 0 ;
16207 char *kwnames[] = {
16208 (char *) "self", NULL
16209 };
16210
16211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
16212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16213 {
16214 PyThreadState* __tstate = wxPyBeginAllowThreads();
16215 {
16216 wxString const &_result_ref = (arg1)->GetPrinterName();
16217 result = (wxString *) &_result_ref;
16218 }
16219
16220 wxPyEndAllowThreads(__tstate);
16221 if (PyErr_Occurred()) SWIG_fail;
16222 }
16223 {
16224 #if wxUSE_UNICODE
16225 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16226 #else
16227 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16228 #endif
16229 }
16230 return resultobj;
16231 fail:
16232 return NULL;
16233 }
16234
16235
16236 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16237 PyObject *resultobj;
16238 wxPrintData *arg1 = (wxPrintData *) 0 ;
16239 bool result;
16240 PyObject * obj0 = 0 ;
16241 char *kwnames[] = {
16242 (char *) "self", NULL
16243 };
16244
16245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
16246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16247 {
16248 PyThreadState* __tstate = wxPyBeginAllowThreads();
16249 result = (bool)(arg1)->GetColour();
16250
16251 wxPyEndAllowThreads(__tstate);
16252 if (PyErr_Occurred()) SWIG_fail;
16253 }
16254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16255 return resultobj;
16256 fail:
16257 return NULL;
16258 }
16259
16260
16261 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16262 PyObject *resultobj;
16263 wxPrintData *arg1 = (wxPrintData *) 0 ;
16264 int result;
16265 PyObject * obj0 = 0 ;
16266 char *kwnames[] = {
16267 (char *) "self", NULL
16268 };
16269
16270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
16271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16272 {
16273 PyThreadState* __tstate = wxPyBeginAllowThreads();
16274 result = (int)(arg1)->GetDuplex();
16275
16276 wxPyEndAllowThreads(__tstate);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 }
16279 resultobj = SWIG_PyObj_FromInt((int)result);
16280 return resultobj;
16281 fail:
16282 return NULL;
16283 }
16284
16285
16286 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16287 PyObject *resultobj;
16288 wxPrintData *arg1 = (wxPrintData *) 0 ;
16289 int result;
16290 PyObject * obj0 = 0 ;
16291 char *kwnames[] = {
16292 (char *) "self", NULL
16293 };
16294
16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
16296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16297 {
16298 PyThreadState* __tstate = wxPyBeginAllowThreads();
16299 result = (int)(arg1)->GetPaperId();
16300
16301 wxPyEndAllowThreads(__tstate);
16302 if (PyErr_Occurred()) SWIG_fail;
16303 }
16304 resultobj = SWIG_PyObj_FromInt((int)result);
16305 return resultobj;
16306 fail:
16307 return NULL;
16308 }
16309
16310
16311 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16312 PyObject *resultobj;
16313 wxPrintData *arg1 = (wxPrintData *) 0 ;
16314 wxSize *result;
16315 PyObject * obj0 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
16321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16322 {
16323 PyThreadState* __tstate = wxPyBeginAllowThreads();
16324 {
16325 wxSize const &_result_ref = (arg1)->GetPaperSize();
16326 result = (wxSize *) &_result_ref;
16327 }
16328
16329 wxPyEndAllowThreads(__tstate);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 }
16332 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
16333 return resultobj;
16334 fail:
16335 return NULL;
16336 }
16337
16338
16339 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16340 PyObject *resultobj;
16341 wxPrintData *arg1 = (wxPrintData *) 0 ;
16342 int result;
16343 PyObject * obj0 = 0 ;
16344 char *kwnames[] = {
16345 (char *) "self", NULL
16346 };
16347
16348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
16349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16350 {
16351 PyThreadState* __tstate = wxPyBeginAllowThreads();
16352 result = (int)(arg1)->GetQuality();
16353
16354 wxPyEndAllowThreads(__tstate);
16355 if (PyErr_Occurred()) SWIG_fail;
16356 }
16357 resultobj = SWIG_PyObj_FromInt((int)result);
16358 return resultobj;
16359 fail:
16360 return NULL;
16361 }
16362
16363
16364 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16365 PyObject *resultobj;
16366 wxPrintData *arg1 = (wxPrintData *) 0 ;
16367 int arg2 ;
16368 PyObject * obj0 = 0 ;
16369 PyObject * obj1 = 0 ;
16370 char *kwnames[] = {
16371 (char *) "self",(char *) "v", NULL
16372 };
16373
16374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
16375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16376 {
16377 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16378 if (PyErr_Occurred()) SWIG_fail;
16379 }
16380 {
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 (arg1)->SetNoCopies(arg2);
16383
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 Py_INCREF(Py_None); resultobj = Py_None;
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj;
16396 wxPrintData *arg1 = (wxPrintData *) 0 ;
16397 bool arg2 ;
16398 PyObject * obj0 = 0 ;
16399 PyObject * obj1 = 0 ;
16400 char *kwnames[] = {
16401 (char *) "self",(char *) "flag", NULL
16402 };
16403
16404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
16405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16406 {
16407 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16408 if (PyErr_Occurred()) SWIG_fail;
16409 }
16410 {
16411 PyThreadState* __tstate = wxPyBeginAllowThreads();
16412 (arg1)->SetCollate(arg2);
16413
16414 wxPyEndAllowThreads(__tstate);
16415 if (PyErr_Occurred()) SWIG_fail;
16416 }
16417 Py_INCREF(Py_None); resultobj = Py_None;
16418 return resultobj;
16419 fail:
16420 return NULL;
16421 }
16422
16423
16424 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16425 PyObject *resultobj;
16426 wxPrintData *arg1 = (wxPrintData *) 0 ;
16427 int arg2 ;
16428 PyObject * obj0 = 0 ;
16429 PyObject * obj1 = 0 ;
16430 char *kwnames[] = {
16431 (char *) "self",(char *) "orient", NULL
16432 };
16433
16434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
16435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16436 {
16437 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16438 if (PyErr_Occurred()) SWIG_fail;
16439 }
16440 {
16441 PyThreadState* __tstate = wxPyBeginAllowThreads();
16442 (arg1)->SetOrientation(arg2);
16443
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 Py_INCREF(Py_None); resultobj = Py_None;
16448 return resultobj;
16449 fail:
16450 return NULL;
16451 }
16452
16453
16454 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16455 PyObject *resultobj;
16456 wxPrintData *arg1 = (wxPrintData *) 0 ;
16457 wxString *arg2 = 0 ;
16458 bool temp2 = False ;
16459 PyObject * obj0 = 0 ;
16460 PyObject * obj1 = 0 ;
16461 char *kwnames[] = {
16462 (char *) "self",(char *) "name", NULL
16463 };
16464
16465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
16466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16467 {
16468 arg2 = wxString_in_helper(obj1);
16469 if (arg2 == NULL) SWIG_fail;
16470 temp2 = True;
16471 }
16472 {
16473 PyThreadState* __tstate = wxPyBeginAllowThreads();
16474 (arg1)->SetPrinterName((wxString const &)*arg2);
16475
16476 wxPyEndAllowThreads(__tstate);
16477 if (PyErr_Occurred()) SWIG_fail;
16478 }
16479 Py_INCREF(Py_None); resultobj = Py_None;
16480 {
16481 if (temp2)
16482 delete arg2;
16483 }
16484 return resultobj;
16485 fail:
16486 {
16487 if (temp2)
16488 delete arg2;
16489 }
16490 return NULL;
16491 }
16492
16493
16494 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16495 PyObject *resultobj;
16496 wxPrintData *arg1 = (wxPrintData *) 0 ;
16497 bool arg2 ;
16498 PyObject * obj0 = 0 ;
16499 PyObject * obj1 = 0 ;
16500 char *kwnames[] = {
16501 (char *) "self",(char *) "colour", NULL
16502 };
16503
16504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
16505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16506 {
16507 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16508 if (PyErr_Occurred()) SWIG_fail;
16509 }
16510 {
16511 PyThreadState* __tstate = wxPyBeginAllowThreads();
16512 (arg1)->SetColour(arg2);
16513
16514 wxPyEndAllowThreads(__tstate);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 }
16517 Py_INCREF(Py_None); resultobj = Py_None;
16518 return resultobj;
16519 fail:
16520 return NULL;
16521 }
16522
16523
16524 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16525 PyObject *resultobj;
16526 wxPrintData *arg1 = (wxPrintData *) 0 ;
16527 int arg2 ;
16528 PyObject * obj0 = 0 ;
16529 PyObject * obj1 = 0 ;
16530 char *kwnames[] = {
16531 (char *) "self",(char *) "duplex", NULL
16532 };
16533
16534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
16535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16536 {
16537 arg2 = (wxDuplexMode) SWIG_PyObj_AsInt(obj1);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 {
16541 PyThreadState* __tstate = wxPyBeginAllowThreads();
16542 (arg1)->SetDuplex((wxDuplexMode )arg2);
16543
16544 wxPyEndAllowThreads(__tstate);
16545 if (PyErr_Occurred()) SWIG_fail;
16546 }
16547 Py_INCREF(Py_None); resultobj = Py_None;
16548 return resultobj;
16549 fail:
16550 return NULL;
16551 }
16552
16553
16554 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16555 PyObject *resultobj;
16556 wxPrintData *arg1 = (wxPrintData *) 0 ;
16557 int arg2 ;
16558 PyObject * obj0 = 0 ;
16559 PyObject * obj1 = 0 ;
16560 char *kwnames[] = {
16561 (char *) "self",(char *) "sizeId", NULL
16562 };
16563
16564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
16565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16566 {
16567 arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1);
16568 if (PyErr_Occurred()) SWIG_fail;
16569 }
16570 {
16571 PyThreadState* __tstate = wxPyBeginAllowThreads();
16572 (arg1)->SetPaperId((wxPaperSize )arg2);
16573
16574 wxPyEndAllowThreads(__tstate);
16575 if (PyErr_Occurred()) SWIG_fail;
16576 }
16577 Py_INCREF(Py_None); resultobj = Py_None;
16578 return resultobj;
16579 fail:
16580 return NULL;
16581 }
16582
16583
16584 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxPrintData *arg1 = (wxPrintData *) 0 ;
16587 wxSize *arg2 = 0 ;
16588 wxSize temp2 ;
16589 PyObject * obj0 = 0 ;
16590 PyObject * obj1 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self",(char *) "sz", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16597 {
16598 arg2 = &temp2;
16599 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16600 }
16601 {
16602 PyThreadState* __tstate = wxPyBeginAllowThreads();
16603 (arg1)->SetPaperSize((wxSize const &)*arg2);
16604
16605 wxPyEndAllowThreads(__tstate);
16606 if (PyErr_Occurred()) SWIG_fail;
16607 }
16608 Py_INCREF(Py_None); resultobj = Py_None;
16609 return resultobj;
16610 fail:
16611 return NULL;
16612 }
16613
16614
16615 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16616 PyObject *resultobj;
16617 wxPrintData *arg1 = (wxPrintData *) 0 ;
16618 int arg2 ;
16619 PyObject * obj0 = 0 ;
16620 PyObject * obj1 = 0 ;
16621 char *kwnames[] = {
16622 (char *) "self",(char *) "quality", NULL
16623 };
16624
16625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
16626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16627 {
16628 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 }
16631 {
16632 PyThreadState* __tstate = wxPyBeginAllowThreads();
16633 (arg1)->SetQuality(arg2);
16634
16635 wxPyEndAllowThreads(__tstate);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 }
16638 Py_INCREF(Py_None); resultobj = Py_None;
16639 return resultobj;
16640 fail:
16641 return NULL;
16642 }
16643
16644
16645 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj;
16647 wxPrintData *arg1 = (wxPrintData *) 0 ;
16648 wxString *result;
16649 PyObject * obj0 = 0 ;
16650 char *kwnames[] = {
16651 (char *) "self", NULL
16652 };
16653
16654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
16655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16656 {
16657 PyThreadState* __tstate = wxPyBeginAllowThreads();
16658 {
16659 wxString const &_result_ref = (arg1)->GetPrinterCommand();
16660 result = (wxString *) &_result_ref;
16661 }
16662
16663 wxPyEndAllowThreads(__tstate);
16664 if (PyErr_Occurred()) SWIG_fail;
16665 }
16666 {
16667 #if wxUSE_UNICODE
16668 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16669 #else
16670 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16671 #endif
16672 }
16673 return resultobj;
16674 fail:
16675 return NULL;
16676 }
16677
16678
16679 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
16680 PyObject *resultobj;
16681 wxPrintData *arg1 = (wxPrintData *) 0 ;
16682 wxString *result;
16683 PyObject * obj0 = 0 ;
16684 char *kwnames[] = {
16685 (char *) "self", NULL
16686 };
16687
16688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
16689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16690 {
16691 PyThreadState* __tstate = wxPyBeginAllowThreads();
16692 {
16693 wxString const &_result_ref = (arg1)->GetPrinterOptions();
16694 result = (wxString *) &_result_ref;
16695 }
16696
16697 wxPyEndAllowThreads(__tstate);
16698 if (PyErr_Occurred()) SWIG_fail;
16699 }
16700 {
16701 #if wxUSE_UNICODE
16702 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16703 #else
16704 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16705 #endif
16706 }
16707 return resultobj;
16708 fail:
16709 return NULL;
16710 }
16711
16712
16713 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16714 PyObject *resultobj;
16715 wxPrintData *arg1 = (wxPrintData *) 0 ;
16716 wxString *result;
16717 PyObject * obj0 = 0 ;
16718 char *kwnames[] = {
16719 (char *) "self", NULL
16720 };
16721
16722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
16723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16724 {
16725 PyThreadState* __tstate = wxPyBeginAllowThreads();
16726 {
16727 wxString const &_result_ref = (arg1)->GetPreviewCommand();
16728 result = (wxString *) &_result_ref;
16729 }
16730
16731 wxPyEndAllowThreads(__tstate);
16732 if (PyErr_Occurred()) SWIG_fail;
16733 }
16734 {
16735 #if wxUSE_UNICODE
16736 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16737 #else
16738 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16739 #endif
16740 }
16741 return resultobj;
16742 fail:
16743 return NULL;
16744 }
16745
16746
16747 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
16748 PyObject *resultobj;
16749 wxPrintData *arg1 = (wxPrintData *) 0 ;
16750 wxString *result;
16751 PyObject * obj0 = 0 ;
16752 char *kwnames[] = {
16753 (char *) "self", NULL
16754 };
16755
16756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
16757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16758 {
16759 PyThreadState* __tstate = wxPyBeginAllowThreads();
16760 {
16761 wxString const &_result_ref = (arg1)->GetFilename();
16762 result = (wxString *) &_result_ref;
16763 }
16764
16765 wxPyEndAllowThreads(__tstate);
16766 if (PyErr_Occurred()) SWIG_fail;
16767 }
16768 {
16769 #if wxUSE_UNICODE
16770 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16771 #else
16772 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16773 #endif
16774 }
16775 return resultobj;
16776 fail:
16777 return NULL;
16778 }
16779
16780
16781 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
16782 PyObject *resultobj;
16783 wxPrintData *arg1 = (wxPrintData *) 0 ;
16784 wxString *result;
16785 PyObject * obj0 = 0 ;
16786 char *kwnames[] = {
16787 (char *) "self", NULL
16788 };
16789
16790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
16791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 {
16795 wxString const &_result_ref = (arg1)->GetFontMetricPath();
16796 result = (wxString *) &_result_ref;
16797 }
16798
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 {
16803 #if wxUSE_UNICODE
16804 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16805 #else
16806 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16807 #endif
16808 }
16809 return resultobj;
16810 fail:
16811 return NULL;
16812 }
16813
16814
16815 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
16816 PyObject *resultobj;
16817 wxPrintData *arg1 = (wxPrintData *) 0 ;
16818 double result;
16819 PyObject * obj0 = 0 ;
16820 char *kwnames[] = {
16821 (char *) "self", NULL
16822 };
16823
16824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
16825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 result = (double)(arg1)->GetPrinterScaleX();
16829
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 resultobj = SWIG_PyObj_FromDouble((double)result);
16834 return resultobj;
16835 fail:
16836 return NULL;
16837 }
16838
16839
16840 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16841 PyObject *resultobj;
16842 wxPrintData *arg1 = (wxPrintData *) 0 ;
16843 double result;
16844 PyObject * obj0 = 0 ;
16845 char *kwnames[] = {
16846 (char *) "self", NULL
16847 };
16848
16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
16850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16851 {
16852 PyThreadState* __tstate = wxPyBeginAllowThreads();
16853 result = (double)(arg1)->GetPrinterScaleY();
16854
16855 wxPyEndAllowThreads(__tstate);
16856 if (PyErr_Occurred()) SWIG_fail;
16857 }
16858 resultobj = SWIG_PyObj_FromDouble((double)result);
16859 return resultobj;
16860 fail:
16861 return NULL;
16862 }
16863
16864
16865 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16866 PyObject *resultobj;
16867 wxPrintData *arg1 = (wxPrintData *) 0 ;
16868 long result;
16869 PyObject * obj0 = 0 ;
16870 char *kwnames[] = {
16871 (char *) "self", NULL
16872 };
16873
16874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
16875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16876 {
16877 PyThreadState* __tstate = wxPyBeginAllowThreads();
16878 result = (long)(arg1)->GetPrinterTranslateX();
16879
16880 wxPyEndAllowThreads(__tstate);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 resultobj = SWIG_PyObj_FromLong((long)result);
16884 return resultobj;
16885 fail:
16886 return NULL;
16887 }
16888
16889
16890 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj;
16892 wxPrintData *arg1 = (wxPrintData *) 0 ;
16893 long result;
16894 PyObject * obj0 = 0 ;
16895 char *kwnames[] = {
16896 (char *) "self", NULL
16897 };
16898
16899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
16900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16901 {
16902 PyThreadState* __tstate = wxPyBeginAllowThreads();
16903 result = (long)(arg1)->GetPrinterTranslateY();
16904
16905 wxPyEndAllowThreads(__tstate);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 }
16908 resultobj = SWIG_PyObj_FromLong((long)result);
16909 return resultobj;
16910 fail:
16911 return NULL;
16912 }
16913
16914
16915 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16916 PyObject *resultobj;
16917 wxPrintData *arg1 = (wxPrintData *) 0 ;
16918 int result;
16919 PyObject * obj0 = 0 ;
16920 char *kwnames[] = {
16921 (char *) "self", NULL
16922 };
16923
16924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
16925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16926 {
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 result = (int)(arg1)->GetPrintMode();
16929
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 resultobj = SWIG_PyObj_FromInt((int)result);
16934 return resultobj;
16935 fail:
16936 return NULL;
16937 }
16938
16939
16940 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16941 PyObject *resultobj;
16942 wxPrintData *arg1 = (wxPrintData *) 0 ;
16943 wxString *arg2 = 0 ;
16944 bool temp2 = False ;
16945 PyObject * obj0 = 0 ;
16946 PyObject * obj1 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self",(char *) "command", NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
16952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16953 {
16954 arg2 = wxString_in_helper(obj1);
16955 if (arg2 == NULL) SWIG_fail;
16956 temp2 = True;
16957 }
16958 {
16959 PyThreadState* __tstate = wxPyBeginAllowThreads();
16960 (arg1)->SetPrinterCommand((wxString const &)*arg2);
16961
16962 wxPyEndAllowThreads(__tstate);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 }
16965 Py_INCREF(Py_None); resultobj = Py_None;
16966 {
16967 if (temp2)
16968 delete arg2;
16969 }
16970 return resultobj;
16971 fail:
16972 {
16973 if (temp2)
16974 delete arg2;
16975 }
16976 return NULL;
16977 }
16978
16979
16980 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
16981 PyObject *resultobj;
16982 wxPrintData *arg1 = (wxPrintData *) 0 ;
16983 wxString *arg2 = 0 ;
16984 bool temp2 = False ;
16985 PyObject * obj0 = 0 ;
16986 PyObject * obj1 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self",(char *) "options", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
16992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16993 {
16994 arg2 = wxString_in_helper(obj1);
16995 if (arg2 == NULL) SWIG_fail;
16996 temp2 = True;
16997 }
16998 {
16999 PyThreadState* __tstate = wxPyBeginAllowThreads();
17000 (arg1)->SetPrinterOptions((wxString const &)*arg2);
17001
17002 wxPyEndAllowThreads(__tstate);
17003 if (PyErr_Occurred()) SWIG_fail;
17004 }
17005 Py_INCREF(Py_None); resultobj = Py_None;
17006 {
17007 if (temp2)
17008 delete arg2;
17009 }
17010 return resultobj;
17011 fail:
17012 {
17013 if (temp2)
17014 delete arg2;
17015 }
17016 return NULL;
17017 }
17018
17019
17020 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17021 PyObject *resultobj;
17022 wxPrintData *arg1 = (wxPrintData *) 0 ;
17023 wxString *arg2 = 0 ;
17024 bool temp2 = False ;
17025 PyObject * obj0 = 0 ;
17026 PyObject * obj1 = 0 ;
17027 char *kwnames[] = {
17028 (char *) "self",(char *) "command", NULL
17029 };
17030
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
17032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17033 {
17034 arg2 = wxString_in_helper(obj1);
17035 if (arg2 == NULL) SWIG_fail;
17036 temp2 = True;
17037 }
17038 {
17039 PyThreadState* __tstate = wxPyBeginAllowThreads();
17040 (arg1)->SetPreviewCommand((wxString const &)*arg2);
17041
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 Py_INCREF(Py_None); resultobj = Py_None;
17046 {
17047 if (temp2)
17048 delete arg2;
17049 }
17050 return resultobj;
17051 fail:
17052 {
17053 if (temp2)
17054 delete arg2;
17055 }
17056 return NULL;
17057 }
17058
17059
17060 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17061 PyObject *resultobj;
17062 wxPrintData *arg1 = (wxPrintData *) 0 ;
17063 wxString *arg2 = 0 ;
17064 bool temp2 = False ;
17065 PyObject * obj0 = 0 ;
17066 PyObject * obj1 = 0 ;
17067 char *kwnames[] = {
17068 (char *) "self",(char *) "filename", NULL
17069 };
17070
17071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
17072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17073 {
17074 arg2 = wxString_in_helper(obj1);
17075 if (arg2 == NULL) SWIG_fail;
17076 temp2 = True;
17077 }
17078 {
17079 PyThreadState* __tstate = wxPyBeginAllowThreads();
17080 (arg1)->SetFilename((wxString const &)*arg2);
17081
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 Py_INCREF(Py_None); resultobj = Py_None;
17086 {
17087 if (temp2)
17088 delete arg2;
17089 }
17090 return resultobj;
17091 fail:
17092 {
17093 if (temp2)
17094 delete arg2;
17095 }
17096 return NULL;
17097 }
17098
17099
17100 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17101 PyObject *resultobj;
17102 wxPrintData *arg1 = (wxPrintData *) 0 ;
17103 wxString *arg2 = 0 ;
17104 bool temp2 = False ;
17105 PyObject * obj0 = 0 ;
17106 PyObject * obj1 = 0 ;
17107 char *kwnames[] = {
17108 (char *) "self",(char *) "path", NULL
17109 };
17110
17111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
17112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17113 {
17114 arg2 = wxString_in_helper(obj1);
17115 if (arg2 == NULL) SWIG_fail;
17116 temp2 = True;
17117 }
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 (arg1)->SetFontMetricPath((wxString const &)*arg2);
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 Py_INCREF(Py_None); resultobj = Py_None;
17126 {
17127 if (temp2)
17128 delete arg2;
17129 }
17130 return resultobj;
17131 fail:
17132 {
17133 if (temp2)
17134 delete arg2;
17135 }
17136 return NULL;
17137 }
17138
17139
17140 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17141 PyObject *resultobj;
17142 wxPrintData *arg1 = (wxPrintData *) 0 ;
17143 double arg2 ;
17144 PyObject * obj0 = 0 ;
17145 PyObject * obj1 = 0 ;
17146 char *kwnames[] = {
17147 (char *) "self",(char *) "x", NULL
17148 };
17149
17150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
17151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17152 {
17153 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 {
17157 PyThreadState* __tstate = wxPyBeginAllowThreads();
17158 (arg1)->SetPrinterScaleX(arg2);
17159
17160 wxPyEndAllowThreads(__tstate);
17161 if (PyErr_Occurred()) SWIG_fail;
17162 }
17163 Py_INCREF(Py_None); resultobj = Py_None;
17164 return resultobj;
17165 fail:
17166 return NULL;
17167 }
17168
17169
17170 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17171 PyObject *resultobj;
17172 wxPrintData *arg1 = (wxPrintData *) 0 ;
17173 double arg2 ;
17174 PyObject * obj0 = 0 ;
17175 PyObject * obj1 = 0 ;
17176 char *kwnames[] = {
17177 (char *) "self",(char *) "y", NULL
17178 };
17179
17180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
17181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17182 {
17183 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 }
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 (arg1)->SetPrinterScaleY(arg2);
17189
17190 wxPyEndAllowThreads(__tstate);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 }
17193 Py_INCREF(Py_None); resultobj = Py_None;
17194 return resultobj;
17195 fail:
17196 return NULL;
17197 }
17198
17199
17200 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
17201 PyObject *resultobj;
17202 wxPrintData *arg1 = (wxPrintData *) 0 ;
17203 double arg2 ;
17204 double arg3 ;
17205 PyObject * obj0 = 0 ;
17206 PyObject * obj1 = 0 ;
17207 PyObject * obj2 = 0 ;
17208 char *kwnames[] = {
17209 (char *) "self",(char *) "x",(char *) "y", NULL
17210 };
17211
17212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
17213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17214 {
17215 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
17218 {
17219 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17220 if (PyErr_Occurred()) SWIG_fail;
17221 }
17222 {
17223 PyThreadState* __tstate = wxPyBeginAllowThreads();
17224 (arg1)->SetPrinterScaling(arg2,arg3);
17225
17226 wxPyEndAllowThreads(__tstate);
17227 if (PyErr_Occurred()) SWIG_fail;
17228 }
17229 Py_INCREF(Py_None); resultobj = Py_None;
17230 return resultobj;
17231 fail:
17232 return NULL;
17233 }
17234
17235
17236 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17237 PyObject *resultobj;
17238 wxPrintData *arg1 = (wxPrintData *) 0 ;
17239 long arg2 ;
17240 PyObject * obj0 = 0 ;
17241 PyObject * obj1 = 0 ;
17242 char *kwnames[] = {
17243 (char *) "self",(char *) "x", NULL
17244 };
17245
17246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
17247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17248 {
17249 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17250 if (PyErr_Occurred()) SWIG_fail;
17251 }
17252 {
17253 PyThreadState* __tstate = wxPyBeginAllowThreads();
17254 (arg1)->SetPrinterTranslateX(arg2);
17255
17256 wxPyEndAllowThreads(__tstate);
17257 if (PyErr_Occurred()) SWIG_fail;
17258 }
17259 Py_INCREF(Py_None); resultobj = Py_None;
17260 return resultobj;
17261 fail:
17262 return NULL;
17263 }
17264
17265
17266 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17267 PyObject *resultobj;
17268 wxPrintData *arg1 = (wxPrintData *) 0 ;
17269 long arg2 ;
17270 PyObject * obj0 = 0 ;
17271 PyObject * obj1 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "self",(char *) "y", NULL
17274 };
17275
17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
17277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17278 {
17279 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17280 if (PyErr_Occurred()) SWIG_fail;
17281 }
17282 {
17283 PyThreadState* __tstate = wxPyBeginAllowThreads();
17284 (arg1)->SetPrinterTranslateY(arg2);
17285
17286 wxPyEndAllowThreads(__tstate);
17287 if (PyErr_Occurred()) SWIG_fail;
17288 }
17289 Py_INCREF(Py_None); resultobj = Py_None;
17290 return resultobj;
17291 fail:
17292 return NULL;
17293 }
17294
17295
17296 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
17297 PyObject *resultobj;
17298 wxPrintData *arg1 = (wxPrintData *) 0 ;
17299 long arg2 ;
17300 long arg3 ;
17301 PyObject * obj0 = 0 ;
17302 PyObject * obj1 = 0 ;
17303 PyObject * obj2 = 0 ;
17304 char *kwnames[] = {
17305 (char *) "self",(char *) "x",(char *) "y", NULL
17306 };
17307
17308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
17309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17310 {
17311 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
17314 {
17315 arg3 = (long) SWIG_PyObj_AsLong(obj2);
17316 if (PyErr_Occurred()) SWIG_fail;
17317 }
17318 {
17319 PyThreadState* __tstate = wxPyBeginAllowThreads();
17320 (arg1)->SetPrinterTranslation(arg2,arg3);
17321
17322 wxPyEndAllowThreads(__tstate);
17323 if (PyErr_Occurred()) SWIG_fail;
17324 }
17325 Py_INCREF(Py_None); resultobj = Py_None;
17326 return resultobj;
17327 fail:
17328 return NULL;
17329 }
17330
17331
17332 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17333 PyObject *resultobj;
17334 wxPrintData *arg1 = (wxPrintData *) 0 ;
17335 int arg2 ;
17336 PyObject * obj0 = 0 ;
17337 PyObject * obj1 = 0 ;
17338 char *kwnames[] = {
17339 (char *) "self",(char *) "printMode", NULL
17340 };
17341
17342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
17343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17344 {
17345 arg2 = (wxPrintMode) SWIG_PyObj_AsInt(obj1);
17346 if (PyErr_Occurred()) SWIG_fail;
17347 }
17348 {
17349 PyThreadState* __tstate = wxPyBeginAllowThreads();
17350 (arg1)->SetPrintMode((wxPrintMode )arg2);
17351
17352 wxPyEndAllowThreads(__tstate);
17353 if (PyErr_Occurred()) SWIG_fail;
17354 }
17355 Py_INCREF(Py_None); resultobj = Py_None;
17356 return resultobj;
17357 fail:
17358 return NULL;
17359 }
17360
17361
17362 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
17363 PyObject *resultobj;
17364 wxPrintData *arg1 = (wxPrintData *) 0 ;
17365 wxOutputStream *result;
17366 PyObject * obj0 = 0 ;
17367 char *kwnames[] = {
17368 (char *) "self", NULL
17369 };
17370
17371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
17372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17373 {
17374 PyThreadState* __tstate = wxPyBeginAllowThreads();
17375 result = (wxOutputStream *)(arg1)->GetOutputStream();
17376
17377 wxPyEndAllowThreads(__tstate);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
17381 return resultobj;
17382 fail:
17383 return NULL;
17384 }
17385
17386
17387 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
17388 PyObject *resultobj;
17389 wxPrintData *arg1 = (wxPrintData *) 0 ;
17390 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
17391 PyObject * obj0 = 0 ;
17392 PyObject * obj1 = 0 ;
17393 char *kwnames[] = {
17394 (char *) "self",(char *) "outputstream", NULL
17395 };
17396
17397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
17398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17399 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOutputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 (arg1)->SetOutputStream(arg2);
17403
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 Py_INCREF(Py_None); resultobj = Py_None;
17408 return resultobj;
17409 fail:
17410 return NULL;
17411 }
17412
17413
17414 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
17415 PyObject *obj;
17416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17417 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
17418 Py_INCREF(obj);
17419 return Py_BuildValue((char *)"");
17420 }
17421 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17422 PyObject *resultobj;
17423 wxPageSetupDialogData *result;
17424 char *kwnames[] = {
17425 NULL
17426 };
17427
17428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
17429 {
17430 PyThreadState* __tstate = wxPyBeginAllowThreads();
17431 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
17432
17433 wxPyEndAllowThreads(__tstate);
17434 if (PyErr_Occurred()) SWIG_fail;
17435 }
17436 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
17437 return resultobj;
17438 fail:
17439 return NULL;
17440 }
17441
17442
17443 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17444 PyObject *resultobj;
17445 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17446 PyObject * obj0 = 0 ;
17447 char *kwnames[] = {
17448 (char *) "self", NULL
17449 };
17450
17451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
17452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17453 {
17454 PyThreadState* __tstate = wxPyBeginAllowThreads();
17455 delete arg1;
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_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17468 PyObject *resultobj;
17469 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17470 bool arg2 ;
17471 PyObject * obj0 = 0 ;
17472 PyObject * obj1 = 0 ;
17473 char *kwnames[] = {
17474 (char *) "self",(char *) "flag", NULL
17475 };
17476
17477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17479 {
17480 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17481 if (PyErr_Occurred()) SWIG_fail;
17482 }
17483 {
17484 PyThreadState* __tstate = wxPyBeginAllowThreads();
17485 (arg1)->EnableHelp(arg2);
17486
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
17490 Py_INCREF(Py_None); resultobj = Py_None;
17491 return resultobj;
17492 fail:
17493 return NULL;
17494 }
17495
17496
17497 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17498 PyObject *resultobj;
17499 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17500 bool arg2 ;
17501 PyObject * obj0 = 0 ;
17502 PyObject * obj1 = 0 ;
17503 char *kwnames[] = {
17504 (char *) "self",(char *) "flag", NULL
17505 };
17506
17507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
17508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17509 {
17510 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17511 if (PyErr_Occurred()) SWIG_fail;
17512 }
17513 {
17514 PyThreadState* __tstate = wxPyBeginAllowThreads();
17515 (arg1)->EnableMargins(arg2);
17516
17517 wxPyEndAllowThreads(__tstate);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 Py_INCREF(Py_None); resultobj = Py_None;
17521 return resultobj;
17522 fail:
17523 return NULL;
17524 }
17525
17526
17527 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj;
17529 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17530 bool arg2 ;
17531 PyObject * obj0 = 0 ;
17532 PyObject * obj1 = 0 ;
17533 char *kwnames[] = {
17534 (char *) "self",(char *) "flag", NULL
17535 };
17536
17537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
17538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17539 {
17540 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17541 if (PyErr_Occurred()) SWIG_fail;
17542 }
17543 {
17544 PyThreadState* __tstate = wxPyBeginAllowThreads();
17545 (arg1)->EnableOrientation(arg2);
17546
17547 wxPyEndAllowThreads(__tstate);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 }
17550 Py_INCREF(Py_None); resultobj = Py_None;
17551 return resultobj;
17552 fail:
17553 return NULL;
17554 }
17555
17556
17557 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17558 PyObject *resultobj;
17559 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17560 bool arg2 ;
17561 PyObject * obj0 = 0 ;
17562 PyObject * obj1 = 0 ;
17563 char *kwnames[] = {
17564 (char *) "self",(char *) "flag", NULL
17565 };
17566
17567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
17568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17569 {
17570 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 (arg1)->EnablePaper(arg2);
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 Py_INCREF(Py_None); resultobj = Py_None;
17581 return resultobj;
17582 fail:
17583 return NULL;
17584 }
17585
17586
17587 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17588 PyObject *resultobj;
17589 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17590 bool arg2 ;
17591 PyObject * obj0 = 0 ;
17592 PyObject * obj1 = 0 ;
17593 char *kwnames[] = {
17594 (char *) "self",(char *) "flag", NULL
17595 };
17596
17597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
17598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17599 {
17600 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 (arg1)->EnablePrinter(arg2);
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 Py_INCREF(Py_None); resultobj = Py_None;
17611 return resultobj;
17612 fail:
17613 return NULL;
17614 }
17615
17616
17617 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17618 PyObject *resultobj;
17619 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17620 bool result;
17621 PyObject * obj0 = 0 ;
17622 char *kwnames[] = {
17623 (char *) "self", NULL
17624 };
17625
17626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
17627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17628 {
17629 PyThreadState* __tstate = wxPyBeginAllowThreads();
17630 result = (bool)(arg1)->GetDefaultMinMargins();
17631
17632 wxPyEndAllowThreads(__tstate);
17633 if (PyErr_Occurred()) SWIG_fail;
17634 }
17635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17636 return resultobj;
17637 fail:
17638 return NULL;
17639 }
17640
17641
17642 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17643 PyObject *resultobj;
17644 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17645 bool result;
17646 PyObject * obj0 = 0 ;
17647 char *kwnames[] = {
17648 (char *) "self", NULL
17649 };
17650
17651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
17652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 result = (bool)(arg1)->GetEnableMargins();
17656
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17661 return resultobj;
17662 fail:
17663 return NULL;
17664 }
17665
17666
17667 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17668 PyObject *resultobj;
17669 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17670 bool result;
17671 PyObject * obj0 = 0 ;
17672 char *kwnames[] = {
17673 (char *) "self", NULL
17674 };
17675
17676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
17677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17678 {
17679 PyThreadState* __tstate = wxPyBeginAllowThreads();
17680 result = (bool)(arg1)->GetEnableOrientation();
17681
17682 wxPyEndAllowThreads(__tstate);
17683 if (PyErr_Occurred()) SWIG_fail;
17684 }
17685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17686 return resultobj;
17687 fail:
17688 return NULL;
17689 }
17690
17691
17692 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17693 PyObject *resultobj;
17694 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17695 bool result;
17696 PyObject * obj0 = 0 ;
17697 char *kwnames[] = {
17698 (char *) "self", NULL
17699 };
17700
17701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
17702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17703 {
17704 PyThreadState* __tstate = wxPyBeginAllowThreads();
17705 result = (bool)(arg1)->GetEnablePaper();
17706
17707 wxPyEndAllowThreads(__tstate);
17708 if (PyErr_Occurred()) SWIG_fail;
17709 }
17710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17711 return resultobj;
17712 fail:
17713 return NULL;
17714 }
17715
17716
17717 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17718 PyObject *resultobj;
17719 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17720 bool result;
17721 PyObject * obj0 = 0 ;
17722 char *kwnames[] = {
17723 (char *) "self", NULL
17724 };
17725
17726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
17727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17728 {
17729 PyThreadState* __tstate = wxPyBeginAllowThreads();
17730 result = (bool)(arg1)->GetEnablePrinter();
17731
17732 wxPyEndAllowThreads(__tstate);
17733 if (PyErr_Occurred()) SWIG_fail;
17734 }
17735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17736 return resultobj;
17737 fail:
17738 return NULL;
17739 }
17740
17741
17742 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17743 PyObject *resultobj;
17744 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17745 bool result;
17746 PyObject * obj0 = 0 ;
17747 char *kwnames[] = {
17748 (char *) "self", NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17753 {
17754 PyThreadState* __tstate = wxPyBeginAllowThreads();
17755 result = (bool)(arg1)->GetEnableHelp();
17756
17757 wxPyEndAllowThreads(__tstate);
17758 if (PyErr_Occurred()) SWIG_fail;
17759 }
17760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17761 return resultobj;
17762 fail:
17763 return NULL;
17764 }
17765
17766
17767 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17768 PyObject *resultobj;
17769 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17770 bool result;
17771 PyObject * obj0 = 0 ;
17772 char *kwnames[] = {
17773 (char *) "self", NULL
17774 };
17775
17776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
17777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17778 {
17779 PyThreadState* __tstate = wxPyBeginAllowThreads();
17780 result = (bool)(arg1)->GetDefaultInfo();
17781
17782 wxPyEndAllowThreads(__tstate);
17783 if (PyErr_Occurred()) SWIG_fail;
17784 }
17785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17786 return resultobj;
17787 fail:
17788 return NULL;
17789 }
17790
17791
17792 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17793 PyObject *resultobj;
17794 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17795 wxPoint result;
17796 PyObject * obj0 = 0 ;
17797 char *kwnames[] = {
17798 (char *) "self", NULL
17799 };
17800
17801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
17802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17803 {
17804 PyThreadState* __tstate = wxPyBeginAllowThreads();
17805 result = (arg1)->GetMarginTopLeft();
17806
17807 wxPyEndAllowThreads(__tstate);
17808 if (PyErr_Occurred()) SWIG_fail;
17809 }
17810 {
17811 wxPoint * resultptr;
17812 resultptr = new wxPoint((wxPoint &) result);
17813 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17814 }
17815 return resultobj;
17816 fail:
17817 return NULL;
17818 }
17819
17820
17821 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17822 PyObject *resultobj;
17823 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17824 wxPoint result;
17825 PyObject * obj0 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
17831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 result = (arg1)->GetMarginBottomRight();
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 {
17840 wxPoint * resultptr;
17841 resultptr = new wxPoint((wxPoint &) result);
17842 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17843 }
17844 return resultobj;
17845 fail:
17846 return NULL;
17847 }
17848
17849
17850 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj;
17852 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17853 wxPoint result;
17854 PyObject * obj0 = 0 ;
17855 char *kwnames[] = {
17856 (char *) "self", NULL
17857 };
17858
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
17860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17861 {
17862 PyThreadState* __tstate = wxPyBeginAllowThreads();
17863 result = (arg1)->GetMinMarginTopLeft();
17864
17865 wxPyEndAllowThreads(__tstate);
17866 if (PyErr_Occurred()) SWIG_fail;
17867 }
17868 {
17869 wxPoint * resultptr;
17870 resultptr = new wxPoint((wxPoint &) result);
17871 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17872 }
17873 return resultobj;
17874 fail:
17875 return NULL;
17876 }
17877
17878
17879 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17880 PyObject *resultobj;
17881 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17882 wxPoint result;
17883 PyObject * obj0 = 0 ;
17884 char *kwnames[] = {
17885 (char *) "self", NULL
17886 };
17887
17888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
17889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17890 {
17891 PyThreadState* __tstate = wxPyBeginAllowThreads();
17892 result = (arg1)->GetMinMarginBottomRight();
17893
17894 wxPyEndAllowThreads(__tstate);
17895 if (PyErr_Occurred()) SWIG_fail;
17896 }
17897 {
17898 wxPoint * resultptr;
17899 resultptr = new wxPoint((wxPoint &) result);
17900 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17901 }
17902 return resultobj;
17903 fail:
17904 return NULL;
17905 }
17906
17907
17908 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj;
17910 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17911 int result;
17912 PyObject * obj0 = 0 ;
17913 char *kwnames[] = {
17914 (char *) "self", NULL
17915 };
17916
17917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
17918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17919 {
17920 PyThreadState* __tstate = wxPyBeginAllowThreads();
17921 result = (int)(arg1)->GetPaperId();
17922
17923 wxPyEndAllowThreads(__tstate);
17924 if (PyErr_Occurred()) SWIG_fail;
17925 }
17926 resultobj = SWIG_PyObj_FromInt((int)result);
17927 return resultobj;
17928 fail:
17929 return NULL;
17930 }
17931
17932
17933 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17934 PyObject *resultobj;
17935 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17936 wxSize result;
17937 PyObject * obj0 = 0 ;
17938 char *kwnames[] = {
17939 (char *) "self", NULL
17940 };
17941
17942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
17943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17944 {
17945 PyThreadState* __tstate = wxPyBeginAllowThreads();
17946 result = (arg1)->GetPaperSize();
17947
17948 wxPyEndAllowThreads(__tstate);
17949 if (PyErr_Occurred()) SWIG_fail;
17950 }
17951 {
17952 wxSize * resultptr;
17953 resultptr = new wxSize((wxSize &) result);
17954 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17955 }
17956 return resultobj;
17957 fail:
17958 return NULL;
17959 }
17960
17961
17962 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17963 PyObject *resultobj;
17964 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17965 wxPrintData *result;
17966 PyObject * obj0 = 0 ;
17967 char *kwnames[] = {
17968 (char *) "self", NULL
17969 };
17970
17971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17973 {
17974 PyThreadState* __tstate = wxPyBeginAllowThreads();
17975 {
17976 wxPrintData &_result_ref = (arg1)->GetPrintData();
17977 result = (wxPrintData *) &_result_ref;
17978 }
17979
17980 wxPyEndAllowThreads(__tstate);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 }
17983 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17984 return resultobj;
17985 fail:
17986 return NULL;
17987 }
17988
17989
17990 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17991 PyObject *resultobj;
17992 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17993 bool result;
17994 PyObject * obj0 = 0 ;
17995 char *kwnames[] = {
17996 (char *) "self", NULL
17997 };
17998
17999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
18000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18001 {
18002 PyThreadState* __tstate = wxPyBeginAllowThreads();
18003 result = (bool)(arg1)->Ok();
18004
18005 wxPyEndAllowThreads(__tstate);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
18008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18009 return resultobj;
18010 fail:
18011 return NULL;
18012 }
18013
18014
18015 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18016 PyObject *resultobj;
18017 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18018 bool arg2 ;
18019 PyObject * obj0 = 0 ;
18020 PyObject * obj1 = 0 ;
18021 char *kwnames[] = {
18022 (char *) "self",(char *) "flag", NULL
18023 };
18024
18025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
18026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18027 {
18028 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 {
18032 PyThreadState* __tstate = wxPyBeginAllowThreads();
18033 (arg1)->SetDefaultInfo(arg2);
18034
18035 wxPyEndAllowThreads(__tstate);
18036 if (PyErr_Occurred()) SWIG_fail;
18037 }
18038 Py_INCREF(Py_None); resultobj = Py_None;
18039 return resultobj;
18040 fail:
18041 return NULL;
18042 }
18043
18044
18045 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18046 PyObject *resultobj;
18047 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18048 bool arg2 ;
18049 PyObject * obj0 = 0 ;
18050 PyObject * obj1 = 0 ;
18051 char *kwnames[] = {
18052 (char *) "self",(char *) "flag", NULL
18053 };
18054
18055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
18056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18057 {
18058 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18059 if (PyErr_Occurred()) SWIG_fail;
18060 }
18061 {
18062 PyThreadState* __tstate = wxPyBeginAllowThreads();
18063 (arg1)->SetDefaultMinMargins(arg2);
18064
18065 wxPyEndAllowThreads(__tstate);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 }
18068 Py_INCREF(Py_None); resultobj = Py_None;
18069 return resultobj;
18070 fail:
18071 return NULL;
18072 }
18073
18074
18075 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18076 PyObject *resultobj;
18077 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18078 wxPoint *arg2 = 0 ;
18079 wxPoint temp2 ;
18080 PyObject * obj0 = 0 ;
18081 PyObject * obj1 = 0 ;
18082 char *kwnames[] = {
18083 (char *) "self",(char *) "pt", NULL
18084 };
18085
18086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18088 {
18089 arg2 = &temp2;
18090 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18091 }
18092 {
18093 PyThreadState* __tstate = wxPyBeginAllowThreads();
18094 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
18095
18096 wxPyEndAllowThreads(__tstate);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 }
18099 Py_INCREF(Py_None); resultobj = Py_None;
18100 return resultobj;
18101 fail:
18102 return NULL;
18103 }
18104
18105
18106 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18107 PyObject *resultobj;
18108 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18109 wxPoint *arg2 = 0 ;
18110 wxPoint temp2 ;
18111 PyObject * obj0 = 0 ;
18112 PyObject * obj1 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "self",(char *) "pt", NULL
18115 };
18116
18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18119 {
18120 arg2 = &temp2;
18121 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18122 }
18123 {
18124 PyThreadState* __tstate = wxPyBeginAllowThreads();
18125 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
18126
18127 wxPyEndAllowThreads(__tstate);
18128 if (PyErr_Occurred()) SWIG_fail;
18129 }
18130 Py_INCREF(Py_None); resultobj = Py_None;
18131 return resultobj;
18132 fail:
18133 return NULL;
18134 }
18135
18136
18137 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18138 PyObject *resultobj;
18139 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18140 wxPoint *arg2 = 0 ;
18141 wxPoint temp2 ;
18142 PyObject * obj0 = 0 ;
18143 PyObject * obj1 = 0 ;
18144 char *kwnames[] = {
18145 (char *) "self",(char *) "pt", NULL
18146 };
18147
18148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18150 {
18151 arg2 = &temp2;
18152 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18153 }
18154 {
18155 PyThreadState* __tstate = wxPyBeginAllowThreads();
18156 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
18157
18158 wxPyEndAllowThreads(__tstate);
18159 if (PyErr_Occurred()) SWIG_fail;
18160 }
18161 Py_INCREF(Py_None); resultobj = Py_None;
18162 return resultobj;
18163 fail:
18164 return NULL;
18165 }
18166
18167
18168 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18169 PyObject *resultobj;
18170 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18171 wxPoint *arg2 = 0 ;
18172 wxPoint temp2 ;
18173 PyObject * obj0 = 0 ;
18174 PyObject * obj1 = 0 ;
18175 char *kwnames[] = {
18176 (char *) "self",(char *) "pt", NULL
18177 };
18178
18179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18181 {
18182 arg2 = &temp2;
18183 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18184 }
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
18188
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 Py_INCREF(Py_None); resultobj = Py_None;
18193 return resultobj;
18194 fail:
18195 return NULL;
18196 }
18197
18198
18199 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18200 PyObject *resultobj;
18201 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18202 int arg2 ;
18203 PyObject * obj0 = 0 ;
18204 PyObject * obj1 = 0 ;
18205 char *kwnames[] = {
18206 (char *) "self",(char *) "id", NULL
18207 };
18208
18209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18211 {
18212 arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1);
18213 if (PyErr_Occurred()) SWIG_fail;
18214 }
18215 {
18216 PyThreadState* __tstate = wxPyBeginAllowThreads();
18217 (arg1)->SetPaperId((wxPaperSize )arg2);
18218
18219 wxPyEndAllowThreads(__tstate);
18220 if (PyErr_Occurred()) SWIG_fail;
18221 }
18222 Py_INCREF(Py_None); resultobj = Py_None;
18223 return resultobj;
18224 fail:
18225 return NULL;
18226 }
18227
18228
18229 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18230 PyObject *resultobj;
18231 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18232 wxSize *arg2 = 0 ;
18233 wxSize temp2 ;
18234 PyObject * obj0 = 0 ;
18235 PyObject * obj1 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self",(char *) "size", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",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 = &temp2;
18244 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18245 }
18246 {
18247 PyThreadState* __tstate = wxPyBeginAllowThreads();
18248 (arg1)->SetPaperSize((wxSize const &)*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_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18261 PyObject *resultobj;
18262 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18263 wxPrintData *arg2 = 0 ;
18264 PyObject * obj0 = 0 ;
18265 PyObject * obj1 = 0 ;
18266 char *kwnames[] = {
18267 (char *) "self",(char *) "printData", NULL
18268 };
18269
18270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18273 if (arg2 == NULL) {
18274 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18275 }
18276 {
18277 PyThreadState* __tstate = wxPyBeginAllowThreads();
18278 (arg1)->SetPrintData((wxPrintData const &)*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 * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
18291 PyObject *obj;
18292 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18293 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
18294 Py_INCREF(obj);
18295 return Py_BuildValue((char *)"");
18296 }
18297 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18298 PyObject *resultobj;
18299 wxWindow *arg1 = (wxWindow *) 0 ;
18300 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
18301 wxPageSetupDialog *result;
18302 PyObject * obj0 = 0 ;
18303 PyObject * obj1 = 0 ;
18304 char *kwnames[] = {
18305 (char *) "parent",(char *) "data", NULL
18306 };
18307
18308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18310 if (obj1) {
18311 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18312 }
18313 {
18314 PyThreadState* __tstate = wxPyBeginAllowThreads();
18315 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
18316
18317 wxPyEndAllowThreads(__tstate);
18318 if (PyErr_Occurred()) SWIG_fail;
18319 }
18320 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
18321 return resultobj;
18322 fail:
18323 return NULL;
18324 }
18325
18326
18327 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
18328 PyObject *resultobj;
18329 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18330 wxPageSetupDialogData *result;
18331 PyObject * obj0 = 0 ;
18332 char *kwnames[] = {
18333 (char *) "self", NULL
18334 };
18335
18336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
18337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 {
18341 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
18342 result = (wxPageSetupDialogData *) &_result_ref;
18343 }
18344
18345 wxPyEndAllowThreads(__tstate);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
18349 return resultobj;
18350 fail:
18351 return NULL;
18352 }
18353
18354
18355 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18356 PyObject *resultobj;
18357 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18358 int result;
18359 PyObject * obj0 = 0 ;
18360 char *kwnames[] = {
18361 (char *) "self", NULL
18362 };
18363
18364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
18365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18366 {
18367 PyThreadState* __tstate = wxPyBeginAllowThreads();
18368 result = (int)(arg1)->ShowModal();
18369
18370 wxPyEndAllowThreads(__tstate);
18371 if (PyErr_Occurred()) SWIG_fail;
18372 }
18373 resultobj = SWIG_PyObj_FromInt((int)result);
18374 return resultobj;
18375 fail:
18376 return NULL;
18377 }
18378
18379
18380 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
18381 PyObject *obj;
18382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18383 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
18384 Py_INCREF(obj);
18385 return Py_BuildValue((char *)"");
18386 }
18387 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18388 PyObject *resultobj;
18389 wxPrintDialogData *result;
18390 char *kwnames[] = {
18391 NULL
18392 };
18393
18394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
18395 {
18396 PyThreadState* __tstate = wxPyBeginAllowThreads();
18397 result = (wxPrintDialogData *)new wxPrintDialogData();
18398
18399 wxPyEndAllowThreads(__tstate);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
18402 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
18403 return resultobj;
18404 fail:
18405 return NULL;
18406 }
18407
18408
18409 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18410 PyObject *resultobj;
18411 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18412 PyObject * obj0 = 0 ;
18413 char *kwnames[] = {
18414 (char *) "self", NULL
18415 };
18416
18417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
18418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18419 {
18420 PyThreadState* __tstate = wxPyBeginAllowThreads();
18421 delete arg1;
18422
18423 wxPyEndAllowThreads(__tstate);
18424 if (PyErr_Occurred()) SWIG_fail;
18425 }
18426 Py_INCREF(Py_None); resultobj = Py_None;
18427 return resultobj;
18428 fail:
18429 return NULL;
18430 }
18431
18432
18433 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18434 PyObject *resultobj;
18435 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18436 int result;
18437 PyObject * obj0 = 0 ;
18438 char *kwnames[] = {
18439 (char *) "self", NULL
18440 };
18441
18442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
18443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18444 {
18445 PyThreadState* __tstate = wxPyBeginAllowThreads();
18446 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
18447
18448 wxPyEndAllowThreads(__tstate);
18449 if (PyErr_Occurred()) SWIG_fail;
18450 }
18451 resultobj = SWIG_PyObj_FromInt((int)result);
18452 return resultobj;
18453 fail:
18454 return NULL;
18455 }
18456
18457
18458 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18459 PyObject *resultobj;
18460 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18461 int result;
18462 PyObject * obj0 = 0 ;
18463 char *kwnames[] = {
18464 (char *) "self", NULL
18465 };
18466
18467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
18468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18469 {
18470 PyThreadState* __tstate = wxPyBeginAllowThreads();
18471 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
18472
18473 wxPyEndAllowThreads(__tstate);
18474 if (PyErr_Occurred()) SWIG_fail;
18475 }
18476 resultobj = SWIG_PyObj_FromInt((int)result);
18477 return resultobj;
18478 fail:
18479 return NULL;
18480 }
18481
18482
18483 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18484 PyObject *resultobj;
18485 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18486 int result;
18487 PyObject * obj0 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self", NULL
18490 };
18491
18492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
18493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18494 {
18495 PyThreadState* __tstate = wxPyBeginAllowThreads();
18496 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
18497
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 resultobj = SWIG_PyObj_FromInt((int)result);
18502 return resultobj;
18503 fail:
18504 return NULL;
18505 }
18506
18507
18508 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18509 PyObject *resultobj;
18510 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18511 int result;
18512 PyObject * obj0 = 0 ;
18513 char *kwnames[] = {
18514 (char *) "self", NULL
18515 };
18516
18517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
18518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
18522
18523 wxPyEndAllowThreads(__tstate);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 }
18526 resultobj = SWIG_PyObj_FromInt((int)result);
18527 return resultobj;
18528 fail:
18529 return NULL;
18530 }
18531
18532
18533 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18534 PyObject *resultobj;
18535 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18536 int result;
18537 PyObject * obj0 = 0 ;
18538 char *kwnames[] = {
18539 (char *) "self", NULL
18540 };
18541
18542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
18543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18544 {
18545 PyThreadState* __tstate = wxPyBeginAllowThreads();
18546 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
18547
18548 wxPyEndAllowThreads(__tstate);
18549 if (PyErr_Occurred()) SWIG_fail;
18550 }
18551 resultobj = SWIG_PyObj_FromInt((int)result);
18552 return resultobj;
18553 fail:
18554 return NULL;
18555 }
18556
18557
18558 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
18559 PyObject *resultobj;
18560 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18561 bool result;
18562 PyObject * obj0 = 0 ;
18563 char *kwnames[] = {
18564 (char *) "self", NULL
18565 };
18566
18567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
18568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18569 {
18570 PyThreadState* __tstate = wxPyBeginAllowThreads();
18571 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
18572
18573 wxPyEndAllowThreads(__tstate);
18574 if (PyErr_Occurred()) SWIG_fail;
18575 }
18576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18577 return resultobj;
18578 fail:
18579 return NULL;
18580 }
18581
18582
18583 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18584 PyObject *resultobj;
18585 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18586 bool result;
18587 PyObject * obj0 = 0 ;
18588 char *kwnames[] = {
18589 (char *) "self", NULL
18590 };
18591
18592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
18593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18594 {
18595 PyThreadState* __tstate = wxPyBeginAllowThreads();
18596 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
18597
18598 wxPyEndAllowThreads(__tstate);
18599 if (PyErr_Occurred()) SWIG_fail;
18600 }
18601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18602 return resultobj;
18603 fail:
18604 return NULL;
18605 }
18606
18607
18608 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18609 PyObject *resultobj;
18610 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18611 bool result;
18612 PyObject * obj0 = 0 ;
18613 char *kwnames[] = {
18614 (char *) "self", NULL
18615 };
18616
18617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
18618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
18626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18627 return resultobj;
18628 fail:
18629 return NULL;
18630 }
18631
18632
18633 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18634 PyObject *resultobj;
18635 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18636 bool result;
18637 PyObject * obj0 = 0 ;
18638 char *kwnames[] = {
18639 (char *) "self", NULL
18640 };
18641
18642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
18643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
18646 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
18647
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
18651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18652 return resultobj;
18653 fail:
18654 return NULL;
18655 }
18656
18657
18658 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18659 PyObject *resultobj;
18660 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18661 bool result;
18662 PyObject * obj0 = 0 ;
18663 char *kwnames[] = {
18664 (char *) "self", NULL
18665 };
18666
18667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
18668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18669 {
18670 PyThreadState* __tstate = wxPyBeginAllowThreads();
18671 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
18672
18673 wxPyEndAllowThreads(__tstate);
18674 if (PyErr_Occurred()) SWIG_fail;
18675 }
18676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18677 return resultobj;
18678 fail:
18679 return NULL;
18680 }
18681
18682
18683 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18684 PyObject *resultobj;
18685 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18686 int arg2 ;
18687 PyObject * obj0 = 0 ;
18688 PyObject * obj1 = 0 ;
18689 char *kwnames[] = {
18690 (char *) "self",(char *) "v", NULL
18691 };
18692
18693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
18694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18695 {
18696 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18697 if (PyErr_Occurred()) SWIG_fail;
18698 }
18699 {
18700 PyThreadState* __tstate = wxPyBeginAllowThreads();
18701 (arg1)->SetFromPage(arg2);
18702
18703 wxPyEndAllowThreads(__tstate);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 }
18706 Py_INCREF(Py_None); resultobj = Py_None;
18707 return resultobj;
18708 fail:
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj;
18715 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18716 int arg2 ;
18717 PyObject * obj0 = 0 ;
18718 PyObject * obj1 = 0 ;
18719 char *kwnames[] = {
18720 (char *) "self",(char *) "v", NULL
18721 };
18722
18723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
18724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18725 {
18726 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
18729 {
18730 PyThreadState* __tstate = wxPyBeginAllowThreads();
18731 (arg1)->SetToPage(arg2);
18732
18733 wxPyEndAllowThreads(__tstate);
18734 if (PyErr_Occurred()) SWIG_fail;
18735 }
18736 Py_INCREF(Py_None); resultobj = Py_None;
18737 return resultobj;
18738 fail:
18739 return NULL;
18740 }
18741
18742
18743 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18744 PyObject *resultobj;
18745 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18746 int arg2 ;
18747 PyObject * obj0 = 0 ;
18748 PyObject * obj1 = 0 ;
18749 char *kwnames[] = {
18750 (char *) "self",(char *) "v", NULL
18751 };
18752
18753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
18754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18755 {
18756 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18757 if (PyErr_Occurred()) SWIG_fail;
18758 }
18759 {
18760 PyThreadState* __tstate = wxPyBeginAllowThreads();
18761 (arg1)->SetMinPage(arg2);
18762
18763 wxPyEndAllowThreads(__tstate);
18764 if (PyErr_Occurred()) SWIG_fail;
18765 }
18766 Py_INCREF(Py_None); resultobj = Py_None;
18767 return resultobj;
18768 fail:
18769 return NULL;
18770 }
18771
18772
18773 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18774 PyObject *resultobj;
18775 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18776 int arg2 ;
18777 PyObject * obj0 = 0 ;
18778 PyObject * obj1 = 0 ;
18779 char *kwnames[] = {
18780 (char *) "self",(char *) "v", NULL
18781 };
18782
18783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
18784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18785 {
18786 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18787 if (PyErr_Occurred()) SWIG_fail;
18788 }
18789 {
18790 PyThreadState* __tstate = wxPyBeginAllowThreads();
18791 (arg1)->SetMaxPage(arg2);
18792
18793 wxPyEndAllowThreads(__tstate);
18794 if (PyErr_Occurred()) SWIG_fail;
18795 }
18796 Py_INCREF(Py_None); resultobj = Py_None;
18797 return resultobj;
18798 fail:
18799 return NULL;
18800 }
18801
18802
18803 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj;
18805 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18806 int arg2 ;
18807 PyObject * obj0 = 0 ;
18808 PyObject * obj1 = 0 ;
18809 char *kwnames[] = {
18810 (char *) "self",(char *) "v", NULL
18811 };
18812
18813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18815 {
18816 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18817 if (PyErr_Occurred()) SWIG_fail;
18818 }
18819 {
18820 PyThreadState* __tstate = wxPyBeginAllowThreads();
18821 (arg1)->SetNoCopies(arg2);
18822
18823 wxPyEndAllowThreads(__tstate);
18824 if (PyErr_Occurred()) SWIG_fail;
18825 }
18826 Py_INCREF(Py_None); resultobj = Py_None;
18827 return resultobj;
18828 fail:
18829 return NULL;
18830 }
18831
18832
18833 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
18834 PyObject *resultobj;
18835 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18836 bool arg2 ;
18837 PyObject * obj0 = 0 ;
18838 PyObject * obj1 = 0 ;
18839 char *kwnames[] = {
18840 (char *) "self",(char *) "flag", NULL
18841 };
18842
18843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
18844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18845 {
18846 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 {
18850 PyThreadState* __tstate = wxPyBeginAllowThreads();
18851 (arg1)->SetAllPages(arg2);
18852
18853 wxPyEndAllowThreads(__tstate);
18854 if (PyErr_Occurred()) SWIG_fail;
18855 }
18856 Py_INCREF(Py_None); resultobj = Py_None;
18857 return resultobj;
18858 fail:
18859 return NULL;
18860 }
18861
18862
18863 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18864 PyObject *resultobj;
18865 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18866 bool arg2 ;
18867 PyObject * obj0 = 0 ;
18868 PyObject * obj1 = 0 ;
18869 char *kwnames[] = {
18870 (char *) "self",(char *) "flag", NULL
18871 };
18872
18873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
18874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18875 {
18876 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 (arg1)->SetSelection(arg2);
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 Py_INCREF(Py_None); resultobj = Py_None;
18887 return resultobj;
18888 fail:
18889 return NULL;
18890 }
18891
18892
18893 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18894 PyObject *resultobj;
18895 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18896 bool arg2 ;
18897 PyObject * obj0 = 0 ;
18898 PyObject * obj1 = 0 ;
18899 char *kwnames[] = {
18900 (char *) "self",(char *) "flag", NULL
18901 };
18902
18903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18905 {
18906 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18907 if (PyErr_Occurred()) SWIG_fail;
18908 }
18909 {
18910 PyThreadState* __tstate = wxPyBeginAllowThreads();
18911 (arg1)->SetCollate(arg2);
18912
18913 wxPyEndAllowThreads(__tstate);
18914 if (PyErr_Occurred()) SWIG_fail;
18915 }
18916 Py_INCREF(Py_None); resultobj = Py_None;
18917 return resultobj;
18918 fail:
18919 return NULL;
18920 }
18921
18922
18923 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18924 PyObject *resultobj;
18925 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18926 bool arg2 ;
18927 PyObject * obj0 = 0 ;
18928 PyObject * obj1 = 0 ;
18929 char *kwnames[] = {
18930 (char *) "self",(char *) "flag", NULL
18931 };
18932
18933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
18934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18935 {
18936 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18937 if (PyErr_Occurred()) SWIG_fail;
18938 }
18939 {
18940 PyThreadState* __tstate = wxPyBeginAllowThreads();
18941 (arg1)->SetPrintToFile(arg2);
18942
18943 wxPyEndAllowThreads(__tstate);
18944 if (PyErr_Occurred()) SWIG_fail;
18945 }
18946 Py_INCREF(Py_None); resultobj = Py_None;
18947 return resultobj;
18948 fail:
18949 return NULL;
18950 }
18951
18952
18953 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18954 PyObject *resultobj;
18955 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18956 bool arg2 ;
18957 PyObject * obj0 = 0 ;
18958 PyObject * obj1 = 0 ;
18959 char *kwnames[] = {
18960 (char *) "self",(char *) "flag", NULL
18961 };
18962
18963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18965 {
18966 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18967 if (PyErr_Occurred()) SWIG_fail;
18968 }
18969 {
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 (arg1)->SetSetupDialog(arg2);
18972
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 Py_INCREF(Py_None); resultobj = Py_None;
18977 return resultobj;
18978 fail:
18979 return NULL;
18980 }
18981
18982
18983 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18984 PyObject *resultobj;
18985 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18986 bool arg2 ;
18987 PyObject * obj0 = 0 ;
18988 PyObject * obj1 = 0 ;
18989 char *kwnames[] = {
18990 (char *) "self",(char *) "flag", NULL
18991 };
18992
18993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
18994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18995 {
18996 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18997 if (PyErr_Occurred()) SWIG_fail;
18998 }
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 (arg1)->EnablePrintToFile(arg2);
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 Py_INCREF(Py_None); resultobj = Py_None;
19007 return resultobj;
19008 fail:
19009 return NULL;
19010 }
19011
19012
19013 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19016 bool arg2 ;
19017 PyObject * obj0 = 0 ;
19018 PyObject * obj1 = 0 ;
19019 char *kwnames[] = {
19020 (char *) "self",(char *) "flag", NULL
19021 };
19022
19023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
19024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19025 {
19026 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19027 if (PyErr_Occurred()) SWIG_fail;
19028 }
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 (arg1)->EnableSelection(arg2);
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 Py_INCREF(Py_None); resultobj = Py_None;
19037 return resultobj;
19038 fail:
19039 return NULL;
19040 }
19041
19042
19043 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19044 PyObject *resultobj;
19045 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19046 bool arg2 ;
19047 PyObject * obj0 = 0 ;
19048 PyObject * obj1 = 0 ;
19049 char *kwnames[] = {
19050 (char *) "self",(char *) "flag", NULL
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
19054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19055 {
19056 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 {
19060 PyThreadState* __tstate = wxPyBeginAllowThreads();
19061 (arg1)->EnablePageNumbers(arg2);
19062
19063 wxPyEndAllowThreads(__tstate);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
19066 Py_INCREF(Py_None); resultobj = Py_None;
19067 return resultobj;
19068 fail:
19069 return NULL;
19070 }
19071
19072
19073 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19074 PyObject *resultobj;
19075 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19076 bool arg2 ;
19077 PyObject * obj0 = 0 ;
19078 PyObject * obj1 = 0 ;
19079 char *kwnames[] = {
19080 (char *) "self",(char *) "flag", NULL
19081 };
19082
19083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19085 {
19086 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19087 if (PyErr_Occurred()) SWIG_fail;
19088 }
19089 {
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 (arg1)->EnableHelp(arg2);
19092
19093 wxPyEndAllowThreads(__tstate);
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
19096 Py_INCREF(Py_None); resultobj = Py_None;
19097 return resultobj;
19098 fail:
19099 return NULL;
19100 }
19101
19102
19103 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19104 PyObject *resultobj;
19105 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19106 bool result;
19107 PyObject * obj0 = 0 ;
19108 char *kwnames[] = {
19109 (char *) "self", NULL
19110 };
19111
19112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
19113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19114 {
19115 PyThreadState* __tstate = wxPyBeginAllowThreads();
19116 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
19117
19118 wxPyEndAllowThreads(__tstate);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 }
19121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19122 return resultobj;
19123 fail:
19124 return NULL;
19125 }
19126
19127
19128 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19129 PyObject *resultobj;
19130 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19131 bool result;
19132 PyObject * obj0 = 0 ;
19133 char *kwnames[] = {
19134 (char *) "self", NULL
19135 };
19136
19137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
19138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19139 {
19140 PyThreadState* __tstate = wxPyBeginAllowThreads();
19141 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
19142
19143 wxPyEndAllowThreads(__tstate);
19144 if (PyErr_Occurred()) SWIG_fail;
19145 }
19146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19147 return resultobj;
19148 fail:
19149 return NULL;
19150 }
19151
19152
19153 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19154 PyObject *resultobj;
19155 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19156 bool result;
19157 PyObject * obj0 = 0 ;
19158 char *kwnames[] = {
19159 (char *) "self", NULL
19160 };
19161
19162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
19163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19164 {
19165 PyThreadState* __tstate = wxPyBeginAllowThreads();
19166 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
19167
19168 wxPyEndAllowThreads(__tstate);
19169 if (PyErr_Occurred()) SWIG_fail;
19170 }
19171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19172 return resultobj;
19173 fail:
19174 return NULL;
19175 }
19176
19177
19178 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19179 PyObject *resultobj;
19180 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19181 bool result;
19182 PyObject * obj0 = 0 ;
19183 char *kwnames[] = {
19184 (char *) "self", NULL
19185 };
19186
19187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19189 {
19190 PyThreadState* __tstate = wxPyBeginAllowThreads();
19191 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
19192
19193 wxPyEndAllowThreads(__tstate);
19194 if (PyErr_Occurred()) SWIG_fail;
19195 }
19196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19197 return resultobj;
19198 fail:
19199 return NULL;
19200 }
19201
19202
19203 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19204 PyObject *resultobj;
19205 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19206 bool result;
19207 PyObject * obj0 = 0 ;
19208 char *kwnames[] = {
19209 (char *) "self", NULL
19210 };
19211
19212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
19213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
19217
19218 wxPyEndAllowThreads(__tstate);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
19221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19222 return resultobj;
19223 fail:
19224 return NULL;
19225 }
19226
19227
19228 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19229 PyObject *resultobj;
19230 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19231 wxPrintData *result;
19232 PyObject * obj0 = 0 ;
19233 char *kwnames[] = {
19234 (char *) "self", NULL
19235 };
19236
19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 {
19242 wxPrintData &_result_ref = (arg1)->GetPrintData();
19243 result = (wxPrintData *) &_result_ref;
19244 }
19245
19246 wxPyEndAllowThreads(__tstate);
19247 if (PyErr_Occurred()) SWIG_fail;
19248 }
19249 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
19250 return resultobj;
19251 fail:
19252 return NULL;
19253 }
19254
19255
19256 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19257 PyObject *resultobj;
19258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19259 wxPrintData *arg2 = 0 ;
19260 PyObject * obj0 = 0 ;
19261 PyObject * obj1 = 0 ;
19262 char *kwnames[] = {
19263 (char *) "self",(char *) "printData", NULL
19264 };
19265
19266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19269 if (arg2 == NULL) {
19270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19271 }
19272 {
19273 PyThreadState* __tstate = wxPyBeginAllowThreads();
19274 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19275
19276 wxPyEndAllowThreads(__tstate);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 }
19279 Py_INCREF(Py_None); resultobj = Py_None;
19280 return resultobj;
19281 fail:
19282 return NULL;
19283 }
19284
19285
19286 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
19287 PyObject *obj;
19288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19289 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
19290 Py_INCREF(obj);
19291 return Py_BuildValue((char *)"");
19292 }
19293 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19294 PyObject *resultobj;
19295 wxWindow *arg1 = (wxWindow *) 0 ;
19296 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
19297 wxPrintDialog *result;
19298 PyObject * obj0 = 0 ;
19299 PyObject * obj1 = 0 ;
19300 char *kwnames[] = {
19301 (char *) "parent",(char *) "data", NULL
19302 };
19303
19304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19306 if (obj1) {
19307 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19308 }
19309 {
19310 PyThreadState* __tstate = wxPyBeginAllowThreads();
19311 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
19312
19313 wxPyEndAllowThreads(__tstate);
19314 if (PyErr_Occurred()) SWIG_fail;
19315 }
19316 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
19317 return resultobj;
19318 fail:
19319 return NULL;
19320 }
19321
19322
19323 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19324 PyObject *resultobj;
19325 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19326 wxPrintDialogData *result;
19327 PyObject * obj0 = 0 ;
19328 char *kwnames[] = {
19329 (char *) "self", NULL
19330 };
19331
19332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
19333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19334 {
19335 PyThreadState* __tstate = wxPyBeginAllowThreads();
19336 {
19337 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19338 result = (wxPrintDialogData *) &_result_ref;
19339 }
19340
19341 wxPyEndAllowThreads(__tstate);
19342 if (PyErr_Occurred()) SWIG_fail;
19343 }
19344 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19345 return resultobj;
19346 fail:
19347 return NULL;
19348 }
19349
19350
19351 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19352 PyObject *resultobj;
19353 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19354 wxDC *result;
19355 PyObject * obj0 = 0 ;
19356 char *kwnames[] = {
19357 (char *) "self", NULL
19358 };
19359
19360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
19361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19362 {
19363 PyThreadState* __tstate = wxPyBeginAllowThreads();
19364 result = (wxDC *)(arg1)->GetPrintDC();
19365
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 {
19370 resultobj = wxPyMake_wxObject(result);
19371 }
19372 return resultobj;
19373 fail:
19374 return NULL;
19375 }
19376
19377
19378 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19379 PyObject *resultobj;
19380 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19381 int result;
19382 PyObject * obj0 = 0 ;
19383 char *kwnames[] = {
19384 (char *) "self", NULL
19385 };
19386
19387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
19388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19389 {
19390 PyThreadState* __tstate = wxPyBeginAllowThreads();
19391 result = (int)(arg1)->ShowModal();
19392
19393 wxPyEndAllowThreads(__tstate);
19394 if (PyErr_Occurred()) SWIG_fail;
19395 }
19396 resultobj = SWIG_PyObj_FromInt((int)result);
19397 return resultobj;
19398 fail:
19399 return NULL;
19400 }
19401
19402
19403 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
19404 PyObject *obj;
19405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19406 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
19407 Py_INCREF(obj);
19408 return Py_BuildValue((char *)"");
19409 }
19410 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj;
19412 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
19413 wxPrinter *result;
19414 PyObject * obj0 = 0 ;
19415 char *kwnames[] = {
19416 (char *) "data", NULL
19417 };
19418
19419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
19420 if (obj0) {
19421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19422 }
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 result = (wxPrinter *)new wxPrinter(arg1);
19426
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
19431 return resultobj;
19432 fail:
19433 return NULL;
19434 }
19435
19436
19437 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19438 PyObject *resultobj;
19439 wxPrinter *arg1 = (wxPrinter *) 0 ;
19440 PyObject * obj0 = 0 ;
19441 char *kwnames[] = {
19442 (char *) "self", NULL
19443 };
19444
19445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
19446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19447 {
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 delete arg1;
19450
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 Py_INCREF(Py_None); resultobj = Py_None;
19455 return resultobj;
19456 fail:
19457 return NULL;
19458 }
19459
19460
19461 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19462 PyObject *resultobj;
19463 wxPrinter *arg1 = (wxPrinter *) 0 ;
19464 wxWindow *arg2 = (wxWindow *) 0 ;
19465 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19466 PyObject * obj0 = 0 ;
19467 PyObject * obj1 = 0 ;
19468 PyObject * obj2 = 0 ;
19469 char *kwnames[] = {
19470 (char *) "self",(char *) "parent",(char *) "printout", NULL
19471 };
19472
19473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
19474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19475 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19476 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19477 {
19478 PyThreadState* __tstate = wxPyBeginAllowThreads();
19479 (arg1)->CreateAbortWindow(arg2,arg3);
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 Py_INCREF(Py_None); resultobj = Py_None;
19485 return resultobj;
19486 fail:
19487 return NULL;
19488 }
19489
19490
19491 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 wxPrinter *arg1 = (wxPrinter *) 0 ;
19494 wxPrintDialogData *result;
19495 PyObject * obj0 = 0 ;
19496 char *kwnames[] = {
19497 (char *) "self", NULL
19498 };
19499
19500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
19501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19502 {
19503 PyThreadState* __tstate = wxPyBeginAllowThreads();
19504 {
19505 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19506 result = (wxPrintDialogData *) &_result_ref;
19507 }
19508
19509 wxPyEndAllowThreads(__tstate);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 }
19512 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19513 return resultobj;
19514 fail:
19515 return NULL;
19516 }
19517
19518
19519 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19520 PyObject *resultobj;
19521 wxPrinter *arg1 = (wxPrinter *) 0 ;
19522 wxWindow *arg2 = (wxWindow *) 0 ;
19523 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19524 int arg4 = (int) True ;
19525 bool result;
19526 PyObject * obj0 = 0 ;
19527 PyObject * obj1 = 0 ;
19528 PyObject * obj2 = 0 ;
19529 PyObject * obj3 = 0 ;
19530 char *kwnames[] = {
19531 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19532 };
19533
19534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19536 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19537 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19538 if (obj3) {
19539 {
19540 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19541 if (PyErr_Occurred()) SWIG_fail;
19542 }
19543 }
19544 {
19545 PyThreadState* __tstate = wxPyBeginAllowThreads();
19546 result = (bool)(arg1)->Print(arg2,arg3,arg4);
19547
19548 wxPyEndAllowThreads(__tstate);
19549 if (PyErr_Occurred()) SWIG_fail;
19550 }
19551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19552 return resultobj;
19553 fail:
19554 return NULL;
19555 }
19556
19557
19558 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19559 PyObject *resultobj;
19560 wxPrinter *arg1 = (wxPrinter *) 0 ;
19561 wxWindow *arg2 = (wxWindow *) 0 ;
19562 wxDC *result;
19563 PyObject * obj0 = 0 ;
19564 PyObject * obj1 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self",(char *) "parent", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19572 {
19573 PyThreadState* __tstate = wxPyBeginAllowThreads();
19574 result = (wxDC *)(arg1)->PrintDialog(arg2);
19575
19576 wxPyEndAllowThreads(__tstate);
19577 if (PyErr_Occurred()) SWIG_fail;
19578 }
19579 {
19580 resultobj = wxPyMake_wxObject(result);
19581 }
19582 return resultobj;
19583 fail:
19584 return NULL;
19585 }
19586
19587
19588 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj;
19590 wxPrinter *arg1 = (wxPrinter *) 0 ;
19591 wxWindow *arg2 = (wxWindow *) 0 ;
19592 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19593 wxString *arg4 = 0 ;
19594 bool temp4 = False ;
19595 PyObject * obj0 = 0 ;
19596 PyObject * obj1 = 0 ;
19597 PyObject * obj2 = 0 ;
19598 PyObject * obj3 = 0 ;
19599 char *kwnames[] = {
19600 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19601 };
19602
19603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19605 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19606 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19607 {
19608 arg4 = wxString_in_helper(obj3);
19609 if (arg4 == NULL) SWIG_fail;
19610 temp4 = True;
19611 }
19612 {
19613 PyThreadState* __tstate = wxPyBeginAllowThreads();
19614 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
19615
19616 wxPyEndAllowThreads(__tstate);
19617 if (PyErr_Occurred()) SWIG_fail;
19618 }
19619 Py_INCREF(Py_None); resultobj = Py_None;
19620 {
19621 if (temp4)
19622 delete arg4;
19623 }
19624 return resultobj;
19625 fail:
19626 {
19627 if (temp4)
19628 delete arg4;
19629 }
19630 return NULL;
19631 }
19632
19633
19634 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
19635 PyObject *resultobj;
19636 wxPrinter *arg1 = (wxPrinter *) 0 ;
19637 wxWindow *arg2 = (wxWindow *) 0 ;
19638 bool result;
19639 PyObject * obj0 = 0 ;
19640 PyObject * obj1 = 0 ;
19641 char *kwnames[] = {
19642 (char *) "self",(char *) "parent", NULL
19643 };
19644
19645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
19646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19648 {
19649 PyThreadState* __tstate = wxPyBeginAllowThreads();
19650 result = (bool)(arg1)->Setup(arg2);
19651
19652 wxPyEndAllowThreads(__tstate);
19653 if (PyErr_Occurred()) SWIG_fail;
19654 }
19655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19656 return resultobj;
19657 fail:
19658 return NULL;
19659 }
19660
19661
19662 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
19663 PyObject *resultobj;
19664 wxPrinter *arg1 = (wxPrinter *) 0 ;
19665 bool result;
19666 PyObject * obj0 = 0 ;
19667 char *kwnames[] = {
19668 (char *) "self", NULL
19669 };
19670
19671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
19672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19673 {
19674 PyThreadState* __tstate = wxPyBeginAllowThreads();
19675 result = (bool)(arg1)->GetAbort();
19676
19677 wxPyEndAllowThreads(__tstate);
19678 if (PyErr_Occurred()) SWIG_fail;
19679 }
19680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19681 return resultobj;
19682 fail:
19683 return NULL;
19684 }
19685
19686
19687 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
19688 PyObject *resultobj;
19689 int result;
19690 char *kwnames[] = {
19691 NULL
19692 };
19693
19694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
19695 {
19696 PyThreadState* __tstate = wxPyBeginAllowThreads();
19697 result = (int)wxPrinter::GetLastError();
19698
19699 wxPyEndAllowThreads(__tstate);
19700 if (PyErr_Occurred()) SWIG_fail;
19701 }
19702 resultobj = SWIG_PyObj_FromInt((int)result);
19703 return resultobj;
19704 fail:
19705 return NULL;
19706 }
19707
19708
19709 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
19710 PyObject *obj;
19711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19712 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
19713 Py_INCREF(obj);
19714 return Py_BuildValue((char *)"");
19715 }
19716 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
19717 PyObject *resultobj;
19718 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
19719 wxString *arg1 = (wxString *) &arg1_defvalue ;
19720 wxPyPrintout *result;
19721 bool temp1 = False ;
19722 PyObject * obj0 = 0 ;
19723 char *kwnames[] = {
19724 (char *) "title", NULL
19725 };
19726
19727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
19728 if (obj0) {
19729 {
19730 arg1 = wxString_in_helper(obj0);
19731 if (arg1 == NULL) SWIG_fail;
19732 temp1 = True;
19733 }
19734 }
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 {
19743 resultobj = wxPyMake_wxObject(result);
19744 }
19745 {
19746 if (temp1)
19747 delete arg1;
19748 }
19749 return resultobj;
19750 fail:
19751 {
19752 if (temp1)
19753 delete arg1;
19754 }
19755 return NULL;
19756 }
19757
19758
19759 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19760 PyObject *resultobj;
19761 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19762 PyObject *arg2 = (PyObject *) 0 ;
19763 PyObject *arg3 = (PyObject *) 0 ;
19764 PyObject * obj0 = 0 ;
19765 PyObject * obj1 = 0 ;
19766 PyObject * obj2 = 0 ;
19767 char *kwnames[] = {
19768 (char *) "self",(char *) "self",(char *) "_class", NULL
19769 };
19770
19771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19773 arg2 = obj1;
19774 arg3 = obj2;
19775 {
19776 PyThreadState* __tstate = wxPyBeginAllowThreads();
19777 (arg1)->_setCallbackInfo(arg2,arg3);
19778
19779 wxPyEndAllowThreads(__tstate);
19780 if (PyErr_Occurred()) SWIG_fail;
19781 }
19782 Py_INCREF(Py_None); resultobj = Py_None;
19783 return resultobj;
19784 fail:
19785 return NULL;
19786 }
19787
19788
19789 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
19790 PyObject *resultobj;
19791 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19792 wxString result;
19793 PyObject * obj0 = 0 ;
19794 char *kwnames[] = {
19795 (char *) "self", NULL
19796 };
19797
19798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
19799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19800 {
19801 PyThreadState* __tstate = wxPyBeginAllowThreads();
19802 result = ((wxPyPrintout const *)arg1)->GetTitle();
19803
19804 wxPyEndAllowThreads(__tstate);
19805 if (PyErr_Occurred()) SWIG_fail;
19806 }
19807 {
19808 #if wxUSE_UNICODE
19809 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19810 #else
19811 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19812 #endif
19813 }
19814 return resultobj;
19815 fail:
19816 return NULL;
19817 }
19818
19819
19820 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19821 PyObject *resultobj;
19822 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19823 wxDC *result;
19824 PyObject * obj0 = 0 ;
19825 char *kwnames[] = {
19826 (char *) "self", NULL
19827 };
19828
19829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
19830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19831 {
19832 PyThreadState* __tstate = wxPyBeginAllowThreads();
19833 result = (wxDC *)(arg1)->GetDC();
19834
19835 wxPyEndAllowThreads(__tstate);
19836 if (PyErr_Occurred()) SWIG_fail;
19837 }
19838 {
19839 resultobj = wxPyMake_wxObject(result);
19840 }
19841 return resultobj;
19842 fail:
19843 return NULL;
19844 }
19845
19846
19847 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19848 PyObject *resultobj;
19849 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19850 wxDC *arg2 = (wxDC *) 0 ;
19851 PyObject * obj0 = 0 ;
19852 PyObject * obj1 = 0 ;
19853 char *kwnames[] = {
19854 (char *) "self",(char *) "dc", NULL
19855 };
19856
19857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
19858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19859 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19860 {
19861 PyThreadState* __tstate = wxPyBeginAllowThreads();
19862 (arg1)->SetDC(arg2);
19863
19864 wxPyEndAllowThreads(__tstate);
19865 if (PyErr_Occurred()) SWIG_fail;
19866 }
19867 Py_INCREF(Py_None); resultobj = Py_None;
19868 return resultobj;
19869 fail:
19870 return NULL;
19871 }
19872
19873
19874 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
19875 PyObject *resultobj;
19876 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19877 int arg2 ;
19878 int arg3 ;
19879 PyObject * obj0 = 0 ;
19880 PyObject * obj1 = 0 ;
19881 PyObject * obj2 = 0 ;
19882 char *kwnames[] = {
19883 (char *) "self",(char *) "w",(char *) "h", NULL
19884 };
19885
19886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
19887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19888 {
19889 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19890 if (PyErr_Occurred()) SWIG_fail;
19891 }
19892 {
19893 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19894 if (PyErr_Occurred()) SWIG_fail;
19895 }
19896 {
19897 PyThreadState* __tstate = wxPyBeginAllowThreads();
19898 (arg1)->SetPageSizePixels(arg2,arg3);
19899
19900 wxPyEndAllowThreads(__tstate);
19901 if (PyErr_Occurred()) SWIG_fail;
19902 }
19903 Py_INCREF(Py_None); resultobj = Py_None;
19904 return resultobj;
19905 fail:
19906 return NULL;
19907 }
19908
19909
19910 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
19911 PyObject *resultobj;
19912 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19913 int *arg2 = (int *) 0 ;
19914 int *arg3 = (int *) 0 ;
19915 int temp2 ;
19916 int temp3 ;
19917 PyObject * obj0 = 0 ;
19918 char *kwnames[] = {
19919 (char *) "self", NULL
19920 };
19921
19922 arg2 = &temp2;
19923 arg3 = &temp3;
19924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
19925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19926 {
19927 PyThreadState* __tstate = wxPyBeginAllowThreads();
19928 (arg1)->GetPageSizePixels(arg2,arg3);
19929
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 Py_INCREF(Py_None); resultobj = Py_None;
19934 {
19935 PyObject *o = PyInt_FromLong((long) (*arg2));
19936 resultobj = t_output_helper(resultobj,o);
19937 }
19938 {
19939 PyObject *o = PyInt_FromLong((long) (*arg3));
19940 resultobj = t_output_helper(resultobj,o);
19941 }
19942 return resultobj;
19943 fail:
19944 return NULL;
19945 }
19946
19947
19948 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
19949 PyObject *resultobj;
19950 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19951 int arg2 ;
19952 int arg3 ;
19953 PyObject * obj0 = 0 ;
19954 PyObject * obj1 = 0 ;
19955 PyObject * obj2 = 0 ;
19956 char *kwnames[] = {
19957 (char *) "self",(char *) "w",(char *) "h", NULL
19958 };
19959
19960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
19961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19962 {
19963 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19964 if (PyErr_Occurred()) SWIG_fail;
19965 }
19966 {
19967 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
19970 {
19971 PyThreadState* __tstate = wxPyBeginAllowThreads();
19972 (arg1)->SetPageSizeMM(arg2,arg3);
19973
19974 wxPyEndAllowThreads(__tstate);
19975 if (PyErr_Occurred()) SWIG_fail;
19976 }
19977 Py_INCREF(Py_None); resultobj = Py_None;
19978 return resultobj;
19979 fail:
19980 return NULL;
19981 }
19982
19983
19984 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
19985 PyObject *resultobj;
19986 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19987 int *arg2 = (int *) 0 ;
19988 int *arg3 = (int *) 0 ;
19989 int temp2 ;
19990 int temp3 ;
19991 PyObject * obj0 = 0 ;
19992 char *kwnames[] = {
19993 (char *) "self", NULL
19994 };
19995
19996 arg2 = &temp2;
19997 arg3 = &temp3;
19998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
19999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20000 {
20001 PyThreadState* __tstate = wxPyBeginAllowThreads();
20002 (arg1)->GetPageSizeMM(arg2,arg3);
20003
20004 wxPyEndAllowThreads(__tstate);
20005 if (PyErr_Occurred()) SWIG_fail;
20006 }
20007 Py_INCREF(Py_None); resultobj = Py_None;
20008 {
20009 PyObject *o = PyInt_FromLong((long) (*arg2));
20010 resultobj = t_output_helper(resultobj,o);
20011 }
20012 {
20013 PyObject *o = PyInt_FromLong((long) (*arg3));
20014 resultobj = t_output_helper(resultobj,o);
20015 }
20016 return resultobj;
20017 fail:
20018 return NULL;
20019 }
20020
20021
20022 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20023 PyObject *resultobj;
20024 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20025 int arg2 ;
20026 int arg3 ;
20027 PyObject * obj0 = 0 ;
20028 PyObject * obj1 = 0 ;
20029 PyObject * obj2 = 0 ;
20030 char *kwnames[] = {
20031 (char *) "self",(char *) "x",(char *) "y", NULL
20032 };
20033
20034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
20035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20036 {
20037 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20038 if (PyErr_Occurred()) SWIG_fail;
20039 }
20040 {
20041 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20042 if (PyErr_Occurred()) SWIG_fail;
20043 }
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 (arg1)->SetPPIScreen(arg2,arg3);
20047
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 Py_INCREF(Py_None); resultobj = Py_None;
20052 return resultobj;
20053 fail:
20054 return NULL;
20055 }
20056
20057
20058 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj;
20060 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20061 int *arg2 = (int *) 0 ;
20062 int *arg3 = (int *) 0 ;
20063 int temp2 ;
20064 int temp3 ;
20065 PyObject * obj0 = 0 ;
20066 char *kwnames[] = {
20067 (char *) "self", NULL
20068 };
20069
20070 arg2 = &temp2;
20071 arg3 = &temp3;
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
20073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 (arg1)->GetPPIScreen(arg2,arg3);
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 Py_INCREF(Py_None); resultobj = Py_None;
20082 {
20083 PyObject *o = PyInt_FromLong((long) (*arg2));
20084 resultobj = t_output_helper(resultobj,o);
20085 }
20086 {
20087 PyObject *o = PyInt_FromLong((long) (*arg3));
20088 resultobj = t_output_helper(resultobj,o);
20089 }
20090 return resultobj;
20091 fail:
20092 return NULL;
20093 }
20094
20095
20096 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20097 PyObject *resultobj;
20098 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20099 int arg2 ;
20100 int arg3 ;
20101 PyObject * obj0 = 0 ;
20102 PyObject * obj1 = 0 ;
20103 PyObject * obj2 = 0 ;
20104 char *kwnames[] = {
20105 (char *) "self",(char *) "x",(char *) "y", NULL
20106 };
20107
20108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
20109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20110 {
20111 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20112 if (PyErr_Occurred()) SWIG_fail;
20113 }
20114 {
20115 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 (arg1)->SetPPIPrinter(arg2,arg3);
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 Py_INCREF(Py_None); resultobj = Py_None;
20126 return resultobj;
20127 fail:
20128 return NULL;
20129 }
20130
20131
20132 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20133 PyObject *resultobj;
20134 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20135 int *arg2 = (int *) 0 ;
20136 int *arg3 = (int *) 0 ;
20137 int temp2 ;
20138 int temp3 ;
20139 PyObject * obj0 = 0 ;
20140 char *kwnames[] = {
20141 (char *) "self", NULL
20142 };
20143
20144 arg2 = &temp2;
20145 arg3 = &temp3;
20146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
20147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20148 {
20149 PyThreadState* __tstate = wxPyBeginAllowThreads();
20150 (arg1)->GetPPIPrinter(arg2,arg3);
20151
20152 wxPyEndAllowThreads(__tstate);
20153 if (PyErr_Occurred()) SWIG_fail;
20154 }
20155 Py_INCREF(Py_None); resultobj = Py_None;
20156 {
20157 PyObject *o = PyInt_FromLong((long) (*arg2));
20158 resultobj = t_output_helper(resultobj,o);
20159 }
20160 {
20161 PyObject *o = PyInt_FromLong((long) (*arg3));
20162 resultobj = t_output_helper(resultobj,o);
20163 }
20164 return resultobj;
20165 fail:
20166 return NULL;
20167 }
20168
20169
20170 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20171 PyObject *resultobj;
20172 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20173 bool result;
20174 PyObject * obj0 = 0 ;
20175 char *kwnames[] = {
20176 (char *) "self", NULL
20177 };
20178
20179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
20180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20181 {
20182 PyThreadState* __tstate = wxPyBeginAllowThreads();
20183 result = (bool)(arg1)->IsPreview();
20184
20185 wxPyEndAllowThreads(__tstate);
20186 if (PyErr_Occurred()) SWIG_fail;
20187 }
20188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20189 return resultobj;
20190 fail:
20191 return NULL;
20192 }
20193
20194
20195 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20196 PyObject *resultobj;
20197 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20198 bool arg2 ;
20199 PyObject * obj0 = 0 ;
20200 PyObject * obj1 = 0 ;
20201 char *kwnames[] = {
20202 (char *) "self",(char *) "p", NULL
20203 };
20204
20205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
20206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20207 {
20208 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
20209 if (PyErr_Occurred()) SWIG_fail;
20210 }
20211 {
20212 PyThreadState* __tstate = wxPyBeginAllowThreads();
20213 (arg1)->SetIsPreview(arg2);
20214
20215 wxPyEndAllowThreads(__tstate);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 Py_INCREF(Py_None); resultobj = Py_None;
20219 return resultobj;
20220 fail:
20221 return NULL;
20222 }
20223
20224
20225 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20226 PyObject *resultobj;
20227 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20228 int arg2 ;
20229 int arg3 ;
20230 bool result;
20231 PyObject * obj0 = 0 ;
20232 PyObject * obj1 = 0 ;
20233 PyObject * obj2 = 0 ;
20234 char *kwnames[] = {
20235 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20236 };
20237
20238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
20239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20240 {
20241 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20242 if (PyErr_Occurred()) SWIG_fail;
20243 }
20244 {
20245 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 }
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20256 return resultobj;
20257 fail:
20258 return NULL;
20259 }
20260
20261
20262 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj;
20264 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20265 PyObject * obj0 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self", NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
20271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 (arg1)->base_OnEndDocument();
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 Py_INCREF(Py_None); resultobj = Py_None;
20280 return resultobj;
20281 fail:
20282 return NULL;
20283 }
20284
20285
20286 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20287 PyObject *resultobj;
20288 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20289 PyObject * obj0 = 0 ;
20290 char *kwnames[] = {
20291 (char *) "self", NULL
20292 };
20293
20294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
20295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 (arg1)->base_OnBeginPrinting();
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 Py_INCREF(Py_None); resultobj = Py_None;
20304 return resultobj;
20305 fail:
20306 return NULL;
20307 }
20308
20309
20310 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj;
20312 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20313 PyObject * obj0 = 0 ;
20314 char *kwnames[] = {
20315 (char *) "self", NULL
20316 };
20317
20318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
20319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 (arg1)->base_OnEndPrinting();
20323
20324 wxPyEndAllowThreads(__tstate);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 Py_INCREF(Py_None); resultobj = Py_None;
20328 return resultobj;
20329 fail:
20330 return NULL;
20331 }
20332
20333
20334 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20335 PyObject *resultobj;
20336 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20337 PyObject * obj0 = 0 ;
20338 char *kwnames[] = {
20339 (char *) "self", NULL
20340 };
20341
20342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
20343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20344 {
20345 PyThreadState* __tstate = wxPyBeginAllowThreads();
20346 (arg1)->base_OnPreparePrinting();
20347
20348 wxPyEndAllowThreads(__tstate);
20349 if (PyErr_Occurred()) SWIG_fail;
20350 }
20351 Py_INCREF(Py_None); resultobj = Py_None;
20352 return resultobj;
20353 fail:
20354 return NULL;
20355 }
20356
20357
20358 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20359 PyObject *resultobj;
20360 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20361 int arg2 ;
20362 bool result;
20363 PyObject * obj0 = 0 ;
20364 PyObject * obj1 = 0 ;
20365 char *kwnames[] = {
20366 (char *) "self",(char *) "page", NULL
20367 };
20368
20369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
20370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20371 {
20372 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20373 if (PyErr_Occurred()) SWIG_fail;
20374 }
20375 {
20376 PyThreadState* __tstate = wxPyBeginAllowThreads();
20377 result = (bool)(arg1)->base_HasPage(arg2);
20378
20379 wxPyEndAllowThreads(__tstate);
20380 if (PyErr_Occurred()) SWIG_fail;
20381 }
20382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20383 return resultobj;
20384 fail:
20385 return NULL;
20386 }
20387
20388
20389 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20390 PyObject *resultobj;
20391 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20392 int *arg2 = (int *) 0 ;
20393 int *arg3 = (int *) 0 ;
20394 int *arg4 = (int *) 0 ;
20395 int *arg5 = (int *) 0 ;
20396 int temp2 ;
20397 int temp3 ;
20398 int temp4 ;
20399 int temp5 ;
20400 PyObject * obj0 = 0 ;
20401 char *kwnames[] = {
20402 (char *) "self", NULL
20403 };
20404
20405 arg2 = &temp2;
20406 arg3 = &temp3;
20407 arg4 = &temp4;
20408 arg5 = &temp5;
20409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
20410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20411 {
20412 PyThreadState* __tstate = wxPyBeginAllowThreads();
20413 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
20414
20415 wxPyEndAllowThreads(__tstate);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 Py_INCREF(Py_None); resultobj = Py_None;
20419 {
20420 PyObject *o = PyInt_FromLong((long) (*arg2));
20421 resultobj = t_output_helper(resultobj,o);
20422 }
20423 {
20424 PyObject *o = PyInt_FromLong((long) (*arg3));
20425 resultobj = t_output_helper(resultobj,o);
20426 }
20427 {
20428 PyObject *o = PyInt_FromLong((long) (*arg4));
20429 resultobj = t_output_helper(resultobj,o);
20430 }
20431 {
20432 PyObject *o = PyInt_FromLong((long) (*arg5));
20433 resultobj = t_output_helper(resultobj,o);
20434 }
20435 return resultobj;
20436 fail:
20437 return NULL;
20438 }
20439
20440
20441 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
20442 PyObject *obj;
20443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20444 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
20445 Py_INCREF(obj);
20446 return Py_BuildValue((char *)"");
20447 }
20448 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20449 PyObject *resultobj;
20450 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20451 wxWindow *arg2 = (wxWindow *) 0 ;
20452 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20453 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20454 wxSize const &arg4_defvalue = wxDefaultSize ;
20455 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20456 long arg5 = (long) 0 ;
20457 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
20458 wxString *arg6 = (wxString *) &arg6_defvalue ;
20459 wxPreviewCanvas *result;
20460 wxPoint temp3 ;
20461 wxSize temp4 ;
20462 bool temp6 = False ;
20463 PyObject * obj0 = 0 ;
20464 PyObject * obj1 = 0 ;
20465 PyObject * obj2 = 0 ;
20466 PyObject * obj3 = 0 ;
20467 PyObject * obj4 = 0 ;
20468 PyObject * obj5 = 0 ;
20469 char *kwnames[] = {
20470 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20471 };
20472
20473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20475 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20476 if (obj2) {
20477 {
20478 arg3 = &temp3;
20479 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20480 }
20481 }
20482 if (obj3) {
20483 {
20484 arg4 = &temp4;
20485 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20486 }
20487 }
20488 if (obj4) {
20489 {
20490 arg5 = (long) SWIG_PyObj_AsLong(obj4);
20491 if (PyErr_Occurred()) SWIG_fail;
20492 }
20493 }
20494 if (obj5) {
20495 {
20496 arg6 = wxString_in_helper(obj5);
20497 if (arg6 == NULL) SWIG_fail;
20498 temp6 = True;
20499 }
20500 }
20501 {
20502 PyThreadState* __tstate = wxPyBeginAllowThreads();
20503 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20504
20505 wxPyEndAllowThreads(__tstate);
20506 if (PyErr_Occurred()) SWIG_fail;
20507 }
20508 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
20509 {
20510 if (temp6)
20511 delete arg6;
20512 }
20513 return resultobj;
20514 fail:
20515 {
20516 if (temp6)
20517 delete arg6;
20518 }
20519 return NULL;
20520 }
20521
20522
20523 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
20524 PyObject *obj;
20525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20526 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
20527 Py_INCREF(obj);
20528 return Py_BuildValue((char *)"");
20529 }
20530 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20531 PyObject *resultobj;
20532 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20533 wxFrame *arg2 = (wxFrame *) 0 ;
20534 wxString *arg3 = 0 ;
20535 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20536 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20537 wxSize const &arg5_defvalue = wxDefaultSize ;
20538 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20539 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20540 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20541 wxString *arg7 = (wxString *) &arg7_defvalue ;
20542 wxPreviewFrame *result;
20543 bool temp3 = False ;
20544 wxPoint temp4 ;
20545 wxSize temp5 ;
20546 bool temp7 = False ;
20547 PyObject * obj0 = 0 ;
20548 PyObject * obj1 = 0 ;
20549 PyObject * obj2 = 0 ;
20550 PyObject * obj3 = 0 ;
20551 PyObject * obj4 = 0 ;
20552 PyObject * obj5 = 0 ;
20553 PyObject * obj6 = 0 ;
20554 char *kwnames[] = {
20555 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20556 };
20557
20558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20561 {
20562 arg3 = wxString_in_helper(obj2);
20563 if (arg3 == NULL) SWIG_fail;
20564 temp3 = True;
20565 }
20566 if (obj3) {
20567 {
20568 arg4 = &temp4;
20569 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20570 }
20571 }
20572 if (obj4) {
20573 {
20574 arg5 = &temp5;
20575 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20576 }
20577 }
20578 if (obj5) {
20579 {
20580 arg6 = (long) SWIG_PyObj_AsLong(obj5);
20581 if (PyErr_Occurred()) SWIG_fail;
20582 }
20583 }
20584 if (obj6) {
20585 {
20586 arg7 = wxString_in_helper(obj6);
20587 if (arg7 == NULL) SWIG_fail;
20588 temp7 = True;
20589 }
20590 }
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20594
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
20598 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
20599 {
20600 if (temp3)
20601 delete arg3;
20602 }
20603 {
20604 if (temp7)
20605 delete arg7;
20606 }
20607 return resultobj;
20608 fail:
20609 {
20610 if (temp3)
20611 delete arg3;
20612 }
20613 {
20614 if (temp7)
20615 delete arg7;
20616 }
20617 return NULL;
20618 }
20619
20620
20621 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20622 PyObject *resultobj;
20623 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20624 PyObject * obj0 = 0 ;
20625 char *kwnames[] = {
20626 (char *) "self", NULL
20627 };
20628
20629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
20630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20631 {
20632 PyThreadState* __tstate = wxPyBeginAllowThreads();
20633 (arg1)->Initialize();
20634
20635 wxPyEndAllowThreads(__tstate);
20636 if (PyErr_Occurred()) SWIG_fail;
20637 }
20638 Py_INCREF(Py_None); resultobj = Py_None;
20639 return resultobj;
20640 fail:
20641 return NULL;
20642 }
20643
20644
20645 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20646 PyObject *resultobj;
20647 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20648 PyObject * obj0 = 0 ;
20649 char *kwnames[] = {
20650 (char *) "self", NULL
20651 };
20652
20653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
20654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 (arg1)->CreateControlBar();
20658
20659 wxPyEndAllowThreads(__tstate);
20660 if (PyErr_Occurred()) SWIG_fail;
20661 }
20662 Py_INCREF(Py_None); resultobj = Py_None;
20663 return resultobj;
20664 fail:
20665 return NULL;
20666 }
20667
20668
20669 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20670 PyObject *resultobj;
20671 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20672 PyObject * obj0 = 0 ;
20673 char *kwnames[] = {
20674 (char *) "self", NULL
20675 };
20676
20677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
20678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 (arg1)->CreateCanvas();
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 Py_INCREF(Py_None); resultobj = Py_None;
20687 return resultobj;
20688 fail:
20689 return NULL;
20690 }
20691
20692
20693 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20694 PyObject *resultobj;
20695 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20696 wxPreviewControlBar *result;
20697 PyObject * obj0 = 0 ;
20698 char *kwnames[] = {
20699 (char *) "self", NULL
20700 };
20701
20702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
20703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20704 {
20705 PyThreadState* __tstate = wxPyBeginAllowThreads();
20706 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
20707
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
20711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
20712 return resultobj;
20713 fail:
20714 return NULL;
20715 }
20716
20717
20718 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
20719 PyObject *obj;
20720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20721 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
20722 Py_INCREF(obj);
20723 return Py_BuildValue((char *)"");
20724 }
20725 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20726 PyObject *resultobj;
20727 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20728 long arg2 ;
20729 wxWindow *arg3 = (wxWindow *) 0 ;
20730 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20731 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20732 wxSize const &arg5_defvalue = wxDefaultSize ;
20733 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20734 long arg6 = (long) wxTAB_TRAVERSAL ;
20735 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20736 wxString *arg7 = (wxString *) &arg7_defvalue ;
20737 wxPreviewControlBar *result;
20738 wxPoint temp4 ;
20739 wxSize temp5 ;
20740 bool temp7 = False ;
20741 PyObject * obj0 = 0 ;
20742 PyObject * obj1 = 0 ;
20743 PyObject * obj2 = 0 ;
20744 PyObject * obj3 = 0 ;
20745 PyObject * obj4 = 0 ;
20746 PyObject * obj5 = 0 ;
20747 PyObject * obj6 = 0 ;
20748 char *kwnames[] = {
20749 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20750 };
20751
20752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20754 {
20755 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20756 if (PyErr_Occurred()) SWIG_fail;
20757 }
20758 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20759 if (obj3) {
20760 {
20761 arg4 = &temp4;
20762 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20763 }
20764 }
20765 if (obj4) {
20766 {
20767 arg5 = &temp5;
20768 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20769 }
20770 }
20771 if (obj5) {
20772 {
20773 arg6 = (long) SWIG_PyObj_AsLong(obj5);
20774 if (PyErr_Occurred()) SWIG_fail;
20775 }
20776 }
20777 if (obj6) {
20778 {
20779 arg7 = wxString_in_helper(obj6);
20780 if (arg7 == NULL) SWIG_fail;
20781 temp7 = True;
20782 }
20783 }
20784 {
20785 PyThreadState* __tstate = wxPyBeginAllowThreads();
20786 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20787
20788 wxPyEndAllowThreads(__tstate);
20789 if (PyErr_Occurred()) SWIG_fail;
20790 }
20791 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
20792 {
20793 if (temp7)
20794 delete arg7;
20795 }
20796 return resultobj;
20797 fail:
20798 {
20799 if (temp7)
20800 delete arg7;
20801 }
20802 return NULL;
20803 }
20804
20805
20806 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20807 PyObject *resultobj;
20808 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20809 int result;
20810 PyObject * obj0 = 0 ;
20811 char *kwnames[] = {
20812 (char *) "self", NULL
20813 };
20814
20815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
20816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20817 {
20818 PyThreadState* __tstate = wxPyBeginAllowThreads();
20819 result = (int)(arg1)->GetZoomControl();
20820
20821 wxPyEndAllowThreads(__tstate);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 }
20824 resultobj = SWIG_PyObj_FromInt((int)result);
20825 return resultobj;
20826 fail:
20827 return NULL;
20828 }
20829
20830
20831 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20832 PyObject *resultobj;
20833 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20834 int arg2 ;
20835 PyObject * obj0 = 0 ;
20836 PyObject * obj1 = 0 ;
20837 char *kwnames[] = {
20838 (char *) "self",(char *) "zoom", NULL
20839 };
20840
20841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
20842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20843 {
20844 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20845 if (PyErr_Occurred()) SWIG_fail;
20846 }
20847 {
20848 PyThreadState* __tstate = wxPyBeginAllowThreads();
20849 (arg1)->SetZoomControl(arg2);
20850
20851 wxPyEndAllowThreads(__tstate);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 }
20854 Py_INCREF(Py_None); resultobj = Py_None;
20855 return resultobj;
20856 fail:
20857 return NULL;
20858 }
20859
20860
20861 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20862 PyObject *resultobj;
20863 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20864 wxPrintPreview *result;
20865 PyObject * obj0 = 0 ;
20866 char *kwnames[] = {
20867 (char *) "self", NULL
20868 };
20869
20870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
20871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
20875
20876 wxPyEndAllowThreads(__tstate);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 }
20879 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
20880 return resultobj;
20881 fail:
20882 return NULL;
20883 }
20884
20885
20886 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
20887 PyObject *resultobj;
20888 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20889 PyObject * obj0 = 0 ;
20890 char *kwnames[] = {
20891 (char *) "self", NULL
20892 };
20893
20894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
20895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20896 {
20897 PyThreadState* __tstate = wxPyBeginAllowThreads();
20898 (arg1)->OnNext();
20899
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 Py_INCREF(Py_None); resultobj = Py_None;
20904 return resultobj;
20905 fail:
20906 return NULL;
20907 }
20908
20909
20910 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
20911 PyObject *resultobj;
20912 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20913 PyObject * obj0 = 0 ;
20914 char *kwnames[] = {
20915 (char *) "self", NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
20919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 (arg1)->OnPrevious();
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 Py_INCREF(Py_None); resultobj = Py_None;
20928 return resultobj;
20929 fail:
20930 return NULL;
20931 }
20932
20933
20934 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
20935 PyObject *resultobj;
20936 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20937 PyObject * obj0 = 0 ;
20938 char *kwnames[] = {
20939 (char *) "self", NULL
20940 };
20941
20942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
20943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20944 {
20945 PyThreadState* __tstate = wxPyBeginAllowThreads();
20946 (arg1)->OnFirst();
20947
20948 wxPyEndAllowThreads(__tstate);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 }
20951 Py_INCREF(Py_None); resultobj = Py_None;
20952 return resultobj;
20953 fail:
20954 return NULL;
20955 }
20956
20957
20958 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
20959 PyObject *resultobj;
20960 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20961 PyObject * obj0 = 0 ;
20962 char *kwnames[] = {
20963 (char *) "self", NULL
20964 };
20965
20966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
20967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20968 {
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 (arg1)->OnLast();
20971
20972 wxPyEndAllowThreads(__tstate);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 }
20975 Py_INCREF(Py_None); resultobj = Py_None;
20976 return resultobj;
20977 fail:
20978 return NULL;
20979 }
20980
20981
20982 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
20983 PyObject *resultobj;
20984 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20985 PyObject * obj0 = 0 ;
20986 char *kwnames[] = {
20987 (char *) "self", NULL
20988 };
20989
20990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
20991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20992 {
20993 PyThreadState* __tstate = wxPyBeginAllowThreads();
20994 (arg1)->OnGoto();
20995
20996 wxPyEndAllowThreads(__tstate);
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
20999 Py_INCREF(Py_None); resultobj = Py_None;
21000 return resultobj;
21001 fail:
21002 return NULL;
21003 }
21004
21005
21006 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21007 PyObject *obj;
21008 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21009 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
21010 Py_INCREF(obj);
21011 return Py_BuildValue((char *)"");
21012 }
21013 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21014 PyObject *resultobj;
21015 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21016 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21017 wxPrintData *arg3 = (wxPrintData *) NULL ;
21018 wxPrintPreview *result;
21019 PyObject * obj0 = 0 ;
21020 PyObject * obj1 = 0 ;
21021 PyObject * obj2 = 0 ;
21022 char *kwnames[] = {
21023 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21024 };
21025
21026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
21027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21028 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21029 if (obj2) {
21030 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21031 }
21032 {
21033 PyThreadState* __tstate = wxPyBeginAllowThreads();
21034 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
21035
21036 wxPyEndAllowThreads(__tstate);
21037 if (PyErr_Occurred()) SWIG_fail;
21038 }
21039 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
21040 return resultobj;
21041 fail:
21042 return NULL;
21043 }
21044
21045
21046 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21047 PyObject *resultobj;
21048 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21049 int arg2 ;
21050 bool result;
21051 PyObject * obj0 = 0 ;
21052 PyObject * obj1 = 0 ;
21053 char *kwnames[] = {
21054 (char *) "self",(char *) "pageNum", NULL
21055 };
21056
21057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21059 {
21060 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21061 if (PyErr_Occurred()) SWIG_fail;
21062 }
21063 {
21064 PyThreadState* __tstate = wxPyBeginAllowThreads();
21065 result = (bool)(arg1)->SetCurrentPage(arg2);
21066
21067 wxPyEndAllowThreads(__tstate);
21068 if (PyErr_Occurred()) SWIG_fail;
21069 }
21070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21071 return resultobj;
21072 fail:
21073 return NULL;
21074 }
21075
21076
21077 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21078 PyObject *resultobj;
21079 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21080 int result;
21081 PyObject * obj0 = 0 ;
21082 char *kwnames[] = {
21083 (char *) "self", NULL
21084 };
21085
21086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
21087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21088 {
21089 PyThreadState* __tstate = wxPyBeginAllowThreads();
21090 result = (int)(arg1)->GetCurrentPage();
21091
21092 wxPyEndAllowThreads(__tstate);
21093 if (PyErr_Occurred()) SWIG_fail;
21094 }
21095 resultobj = SWIG_PyObj_FromInt((int)result);
21096 return resultobj;
21097 fail:
21098 return NULL;
21099 }
21100
21101
21102 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21103 PyObject *resultobj;
21104 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21105 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21106 PyObject * obj0 = 0 ;
21107 PyObject * obj1 = 0 ;
21108 char *kwnames[] = {
21109 (char *) "self",(char *) "printout", NULL
21110 };
21111
21112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
21113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21115 {
21116 PyThreadState* __tstate = wxPyBeginAllowThreads();
21117 (arg1)->SetPrintout(arg2);
21118
21119 wxPyEndAllowThreads(__tstate);
21120 if (PyErr_Occurred()) SWIG_fail;
21121 }
21122 Py_INCREF(Py_None); resultobj = Py_None;
21123 return resultobj;
21124 fail:
21125 return NULL;
21126 }
21127
21128
21129 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21130 PyObject *resultobj;
21131 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21132 wxPyPrintout *result;
21133 PyObject * obj0 = 0 ;
21134 char *kwnames[] = {
21135 (char *) "self", NULL
21136 };
21137
21138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
21139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21140 {
21141 PyThreadState* __tstate = wxPyBeginAllowThreads();
21142 result = (wxPyPrintout *)(arg1)->GetPrintout();
21143
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 {
21148 resultobj = wxPyMake_wxObject(result);
21149 }
21150 return resultobj;
21151 fail:
21152 return NULL;
21153 }
21154
21155
21156 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21157 PyObject *resultobj;
21158 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21159 wxPyPrintout *result;
21160 PyObject * obj0 = 0 ;
21161 char *kwnames[] = {
21162 (char *) "self", NULL
21163 };
21164
21165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
21166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21167 {
21168 PyThreadState* __tstate = wxPyBeginAllowThreads();
21169 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
21170
21171 wxPyEndAllowThreads(__tstate);
21172 if (PyErr_Occurred()) SWIG_fail;
21173 }
21174 {
21175 resultobj = wxPyMake_wxObject(result);
21176 }
21177 return resultobj;
21178 fail:
21179 return NULL;
21180 }
21181
21182
21183 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21184 PyObject *resultobj;
21185 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21186 wxFrame *arg2 = (wxFrame *) 0 ;
21187 PyObject * obj0 = 0 ;
21188 PyObject * obj1 = 0 ;
21189 char *kwnames[] = {
21190 (char *) "self",(char *) "frame", NULL
21191 };
21192
21193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
21194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21196 {
21197 PyThreadState* __tstate = wxPyBeginAllowThreads();
21198 (arg1)->SetFrame(arg2);
21199
21200 wxPyEndAllowThreads(__tstate);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 }
21203 Py_INCREF(Py_None); resultobj = Py_None;
21204 return resultobj;
21205 fail:
21206 return NULL;
21207 }
21208
21209
21210 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21211 PyObject *resultobj;
21212 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21213 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21214 PyObject * obj0 = 0 ;
21215 PyObject * obj1 = 0 ;
21216 char *kwnames[] = {
21217 (char *) "self",(char *) "canvas", NULL
21218 };
21219
21220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
21221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21222 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21223 {
21224 PyThreadState* __tstate = wxPyBeginAllowThreads();
21225 (arg1)->SetCanvas(arg2);
21226
21227 wxPyEndAllowThreads(__tstate);
21228 if (PyErr_Occurred()) SWIG_fail;
21229 }
21230 Py_INCREF(Py_None); resultobj = Py_None;
21231 return resultobj;
21232 fail:
21233 return NULL;
21234 }
21235
21236
21237 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21238 PyObject *resultobj;
21239 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21240 wxFrame *result;
21241 PyObject * obj0 = 0 ;
21242 char *kwnames[] = {
21243 (char *) "self", NULL
21244 };
21245
21246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
21247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21248 {
21249 PyThreadState* __tstate = wxPyBeginAllowThreads();
21250 result = (wxFrame *)(arg1)->GetFrame();
21251
21252 wxPyEndAllowThreads(__tstate);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 }
21255 {
21256 resultobj = wxPyMake_wxObject(result);
21257 }
21258 return resultobj;
21259 fail:
21260 return NULL;
21261 }
21262
21263
21264 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21265 PyObject *resultobj;
21266 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21267 wxPreviewCanvas *result;
21268 PyObject * obj0 = 0 ;
21269 char *kwnames[] = {
21270 (char *) "self", NULL
21271 };
21272
21273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
21274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21275 {
21276 PyThreadState* __tstate = wxPyBeginAllowThreads();
21277 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
21278
21279 wxPyEndAllowThreads(__tstate);
21280 if (PyErr_Occurred()) SWIG_fail;
21281 }
21282 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
21283 return resultobj;
21284 fail:
21285 return NULL;
21286 }
21287
21288
21289 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21290 PyObject *resultobj;
21291 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21292 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21293 wxDC *arg3 = 0 ;
21294 bool result;
21295 PyObject * obj0 = 0 ;
21296 PyObject * obj1 = 0 ;
21297 PyObject * obj2 = 0 ;
21298 char *kwnames[] = {
21299 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21300 };
21301
21302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21305 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21306 if (arg3 == NULL) {
21307 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21308 }
21309 {
21310 PyThreadState* __tstate = wxPyBeginAllowThreads();
21311 result = (bool)(arg1)->PaintPage(arg2,*arg3);
21312
21313 wxPyEndAllowThreads(__tstate);
21314 if (PyErr_Occurred()) SWIG_fail;
21315 }
21316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21317 return resultobj;
21318 fail:
21319 return NULL;
21320 }
21321
21322
21323 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21324 PyObject *resultobj;
21325 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21326 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21327 wxDC *arg3 = 0 ;
21328 bool result;
21329 PyObject * obj0 = 0 ;
21330 PyObject * obj1 = 0 ;
21331 PyObject * obj2 = 0 ;
21332 char *kwnames[] = {
21333 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21334 };
21335
21336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21338 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21339 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21340 if (arg3 == NULL) {
21341 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21342 }
21343 {
21344 PyThreadState* __tstate = wxPyBeginAllowThreads();
21345 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
21346
21347 wxPyEndAllowThreads(__tstate);
21348 if (PyErr_Occurred()) SWIG_fail;
21349 }
21350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21351 return resultobj;
21352 fail:
21353 return NULL;
21354 }
21355
21356
21357 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21358 PyObject *resultobj;
21359 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21360 int arg2 ;
21361 bool result;
21362 PyObject * obj0 = 0 ;
21363 PyObject * obj1 = 0 ;
21364 char *kwnames[] = {
21365 (char *) "self",(char *) "pageNum", NULL
21366 };
21367
21368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
21369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21370 {
21371 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 }
21374 {
21375 PyThreadState* __tstate = wxPyBeginAllowThreads();
21376 result = (bool)(arg1)->RenderPage(arg2);
21377
21378 wxPyEndAllowThreads(__tstate);
21379 if (PyErr_Occurred()) SWIG_fail;
21380 }
21381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21382 return resultobj;
21383 fail:
21384 return NULL;
21385 }
21386
21387
21388 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
21389 PyObject *resultobj;
21390 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21391 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21392 PyObject * obj0 = 0 ;
21393 PyObject * obj1 = 0 ;
21394 char *kwnames[] = {
21395 (char *) "self",(char *) "canvas", NULL
21396 };
21397
21398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
21399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21401 {
21402 PyThreadState* __tstate = wxPyBeginAllowThreads();
21403 (arg1)->AdjustScrollbars(arg2);
21404
21405 wxPyEndAllowThreads(__tstate);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 Py_INCREF(Py_None); resultobj = Py_None;
21409 return resultobj;
21410 fail:
21411 return NULL;
21412 }
21413
21414
21415 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21416 PyObject *resultobj;
21417 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21418 wxPrintDialogData *result;
21419 PyObject * obj0 = 0 ;
21420 char *kwnames[] = {
21421 (char *) "self", NULL
21422 };
21423
21424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
21425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 {
21429 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21430 result = (wxPrintDialogData *) &_result_ref;
21431 }
21432
21433 wxPyEndAllowThreads(__tstate);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
21437 return resultobj;
21438 fail:
21439 return NULL;
21440 }
21441
21442
21443 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21444 PyObject *resultobj;
21445 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21446 int arg2 ;
21447 PyObject * obj0 = 0 ;
21448 PyObject * obj1 = 0 ;
21449 char *kwnames[] = {
21450 (char *) "self",(char *) "percent", NULL
21451 };
21452
21453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
21454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21455 {
21456 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 }
21459 {
21460 PyThreadState* __tstate = wxPyBeginAllowThreads();
21461 (arg1)->SetZoom(arg2);
21462
21463 wxPyEndAllowThreads(__tstate);
21464 if (PyErr_Occurred()) SWIG_fail;
21465 }
21466 Py_INCREF(Py_None); resultobj = Py_None;
21467 return resultobj;
21468 fail:
21469 return NULL;
21470 }
21471
21472
21473 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21474 PyObject *resultobj;
21475 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21476 int result;
21477 PyObject * obj0 = 0 ;
21478 char *kwnames[] = {
21479 (char *) "self", NULL
21480 };
21481
21482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
21483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21484 {
21485 PyThreadState* __tstate = wxPyBeginAllowThreads();
21486 result = (int)(arg1)->GetZoom();
21487
21488 wxPyEndAllowThreads(__tstate);
21489 if (PyErr_Occurred()) SWIG_fail;
21490 }
21491 resultobj = SWIG_PyObj_FromInt((int)result);
21492 return resultobj;
21493 fail:
21494 return NULL;
21495 }
21496
21497
21498 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21499 PyObject *resultobj;
21500 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21501 int result;
21502 PyObject * obj0 = 0 ;
21503 char *kwnames[] = {
21504 (char *) "self", NULL
21505 };
21506
21507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
21508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21509 {
21510 PyThreadState* __tstate = wxPyBeginAllowThreads();
21511 result = (int)(arg1)->GetMaxPage();
21512
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 resultobj = SWIG_PyObj_FromInt((int)result);
21517 return resultobj;
21518 fail:
21519 return NULL;
21520 }
21521
21522
21523 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21524 PyObject *resultobj;
21525 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21526 int result;
21527 PyObject * obj0 = 0 ;
21528 char *kwnames[] = {
21529 (char *) "self", NULL
21530 };
21531
21532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
21533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21534 {
21535 PyThreadState* __tstate = wxPyBeginAllowThreads();
21536 result = (int)(arg1)->GetMinPage();
21537
21538 wxPyEndAllowThreads(__tstate);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 resultobj = SWIG_PyObj_FromInt((int)result);
21542 return resultobj;
21543 fail:
21544 return NULL;
21545 }
21546
21547
21548 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21549 PyObject *resultobj;
21550 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21551 bool result;
21552 PyObject * obj0 = 0 ;
21553 char *kwnames[] = {
21554 (char *) "self", NULL
21555 };
21556
21557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
21558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21559 {
21560 PyThreadState* __tstate = wxPyBeginAllowThreads();
21561 result = (bool)(arg1)->Ok();
21562
21563 wxPyEndAllowThreads(__tstate);
21564 if (PyErr_Occurred()) SWIG_fail;
21565 }
21566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21567 return resultobj;
21568 fail:
21569 return NULL;
21570 }
21571
21572
21573 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj;
21575 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21576 bool arg2 ;
21577 PyObject * obj0 = 0 ;
21578 PyObject * obj1 = 0 ;
21579 char *kwnames[] = {
21580 (char *) "self",(char *) "ok", NULL
21581 };
21582
21583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",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 = (bool) SWIG_PyObj_AsBool(obj1);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
21589 {
21590 PyThreadState* __tstate = wxPyBeginAllowThreads();
21591 (arg1)->SetOk(arg2);
21592
21593 wxPyEndAllowThreads(__tstate);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
21596 Py_INCREF(Py_None); resultobj = Py_None;
21597 return resultobj;
21598 fail:
21599 return NULL;
21600 }
21601
21602
21603 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21604 PyObject *resultobj;
21605 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21606 bool arg2 ;
21607 bool result;
21608 PyObject * obj0 = 0 ;
21609 PyObject * obj1 = 0 ;
21610 char *kwnames[] = {
21611 (char *) "self",(char *) "interactive", NULL
21612 };
21613
21614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
21615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21616 {
21617 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21618 if (PyErr_Occurred()) SWIG_fail;
21619 }
21620 {
21621 PyThreadState* __tstate = wxPyBeginAllowThreads();
21622 result = (bool)(arg1)->Print(arg2);
21623
21624 wxPyEndAllowThreads(__tstate);
21625 if (PyErr_Occurred()) SWIG_fail;
21626 }
21627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21628 return resultobj;
21629 fail:
21630 return NULL;
21631 }
21632
21633
21634 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
21635 PyObject *resultobj;
21636 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21637 PyObject * obj0 = 0 ;
21638 char *kwnames[] = {
21639 (char *) "self", NULL
21640 };
21641
21642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
21643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21644 {
21645 PyThreadState* __tstate = wxPyBeginAllowThreads();
21646 (arg1)->DetermineScaling();
21647
21648 wxPyEndAllowThreads(__tstate);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 Py_INCREF(Py_None); resultobj = Py_None;
21652 return resultobj;
21653 fail:
21654 return NULL;
21655 }
21656
21657
21658 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
21659 PyObject *obj;
21660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21661 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
21662 Py_INCREF(obj);
21663 return Py_BuildValue((char *)"");
21664 }
21665 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21666 PyObject *resultobj;
21667 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21668 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21669 wxPrintData *arg3 = (wxPrintData *) NULL ;
21670 wxPyPrintPreview *result;
21671 PyObject * obj0 = 0 ;
21672 PyObject * obj1 = 0 ;
21673 PyObject * obj2 = 0 ;
21674 char *kwnames[] = {
21675 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21676 };
21677
21678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
21679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21681 if (obj2) {
21682 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21683 }
21684 {
21685 PyThreadState* __tstate = wxPyBeginAllowThreads();
21686 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
21687
21688 wxPyEndAllowThreads(__tstate);
21689 if (PyErr_Occurred()) SWIG_fail;
21690 }
21691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
21692 return resultobj;
21693 fail:
21694 return NULL;
21695 }
21696
21697
21698 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21699 PyObject *resultobj;
21700 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21701 PyObject *arg2 = (PyObject *) 0 ;
21702 PyObject *arg3 = (PyObject *) 0 ;
21703 PyObject * obj0 = 0 ;
21704 PyObject * obj1 = 0 ;
21705 PyObject * obj2 = 0 ;
21706 char *kwnames[] = {
21707 (char *) "self",(char *) "self",(char *) "_class", NULL
21708 };
21709
21710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21712 arg2 = obj1;
21713 arg3 = obj2;
21714 {
21715 PyThreadState* __tstate = wxPyBeginAllowThreads();
21716 (arg1)->_setCallbackInfo(arg2,arg3);
21717
21718 wxPyEndAllowThreads(__tstate);
21719 if (PyErr_Occurred()) SWIG_fail;
21720 }
21721 Py_INCREF(Py_None); resultobj = Py_None;
21722 return resultobj;
21723 fail:
21724 return NULL;
21725 }
21726
21727
21728 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21729 PyObject *resultobj;
21730 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21731 int arg2 ;
21732 bool result;
21733 PyObject * obj0 = 0 ;
21734 PyObject * obj1 = 0 ;
21735 char *kwnames[] = {
21736 (char *) "self",(char *) "pageNum", NULL
21737 };
21738
21739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21741 {
21742 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21743 if (PyErr_Occurred()) SWIG_fail;
21744 }
21745 {
21746 PyThreadState* __tstate = wxPyBeginAllowThreads();
21747 result = (bool)(arg1)->base_SetCurrentPage(arg2);
21748
21749 wxPyEndAllowThreads(__tstate);
21750 if (PyErr_Occurred()) SWIG_fail;
21751 }
21752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21753 return resultobj;
21754 fail:
21755 return NULL;
21756 }
21757
21758
21759 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21760 PyObject *resultobj;
21761 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21762 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21763 wxDC *arg3 = 0 ;
21764 bool result;
21765 PyObject * obj0 = 0 ;
21766 PyObject * obj1 = 0 ;
21767 PyObject * obj2 = 0 ;
21768 char *kwnames[] = {
21769 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21770 };
21771
21772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21774 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21775 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21776 if (arg3 == NULL) {
21777 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21778 }
21779 {
21780 PyThreadState* __tstate = wxPyBeginAllowThreads();
21781 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
21782
21783 wxPyEndAllowThreads(__tstate);
21784 if (PyErr_Occurred()) SWIG_fail;
21785 }
21786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21787 return resultobj;
21788 fail:
21789 return NULL;
21790 }
21791
21792
21793 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21794 PyObject *resultobj;
21795 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21796 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21797 wxDC *arg3 = 0 ;
21798 bool result;
21799 PyObject * obj0 = 0 ;
21800 PyObject * obj1 = 0 ;
21801 PyObject * obj2 = 0 ;
21802 char *kwnames[] = {
21803 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21804 };
21805
21806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21808 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21809 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21810 if (arg3 == NULL) {
21811 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21812 }
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
21816
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21821 return resultobj;
21822 fail:
21823 return NULL;
21824 }
21825
21826
21827 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj;
21829 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21830 int arg2 ;
21831 bool result;
21832 PyObject * obj0 = 0 ;
21833 PyObject * obj1 = 0 ;
21834 char *kwnames[] = {
21835 (char *) "self",(char *) "pageNum", NULL
21836 };
21837
21838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
21839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21840 {
21841 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 }
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 result = (bool)(arg1)->base_RenderPage(arg2);
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21852 return resultobj;
21853 fail:
21854 return NULL;
21855 }
21856
21857
21858 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21859 PyObject *resultobj;
21860 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21861 int arg2 ;
21862 PyObject * obj0 = 0 ;
21863 PyObject * obj1 = 0 ;
21864 char *kwnames[] = {
21865 (char *) "self",(char *) "percent", NULL
21866 };
21867
21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
21869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21870 {
21871 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21872 if (PyErr_Occurred()) SWIG_fail;
21873 }
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 (arg1)->base_SetZoom(arg2);
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 Py_INCREF(Py_None); resultobj = Py_None;
21882 return resultobj;
21883 fail:
21884 return NULL;
21885 }
21886
21887
21888 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj;
21890 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21891 bool arg2 ;
21892 bool result;
21893 PyObject * obj0 = 0 ;
21894 PyObject * obj1 = 0 ;
21895 char *kwnames[] = {
21896 (char *) "self",(char *) "interactive", NULL
21897 };
21898
21899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
21900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21901 {
21902 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21903 if (PyErr_Occurred()) SWIG_fail;
21904 }
21905 {
21906 PyThreadState* __tstate = wxPyBeginAllowThreads();
21907 result = (bool)(arg1)->base_Print(arg2);
21908
21909 wxPyEndAllowThreads(__tstate);
21910 if (PyErr_Occurred()) SWIG_fail;
21911 }
21912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21913 return resultobj;
21914 fail:
21915 return NULL;
21916 }
21917
21918
21919 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
21920 PyObject *resultobj;
21921 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21922 PyObject * obj0 = 0 ;
21923 char *kwnames[] = {
21924 (char *) "self", NULL
21925 };
21926
21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
21928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 (arg1)->base_DetermineScaling();
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 * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
21944 PyObject *obj;
21945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21946 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
21947 Py_INCREF(obj);
21948 return Py_BuildValue((char *)"");
21949 }
21950 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21951 PyObject *resultobj;
21952 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21953 wxFrame *arg2 = (wxFrame *) 0 ;
21954 wxString *arg3 = 0 ;
21955 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21956 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21957 wxSize const &arg5_defvalue = wxDefaultSize ;
21958 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21959 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21960 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21961 wxString *arg7 = (wxString *) &arg7_defvalue ;
21962 wxPyPreviewFrame *result;
21963 bool temp3 = False ;
21964 wxPoint temp4 ;
21965 wxSize temp5 ;
21966 bool temp7 = False ;
21967 PyObject * obj0 = 0 ;
21968 PyObject * obj1 = 0 ;
21969 PyObject * obj2 = 0 ;
21970 PyObject * obj3 = 0 ;
21971 PyObject * obj4 = 0 ;
21972 PyObject * obj5 = 0 ;
21973 PyObject * obj6 = 0 ;
21974 char *kwnames[] = {
21975 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21976 };
21977
21978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21980 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21981 {
21982 arg3 = wxString_in_helper(obj2);
21983 if (arg3 == NULL) SWIG_fail;
21984 temp3 = True;
21985 }
21986 if (obj3) {
21987 {
21988 arg4 = &temp4;
21989 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21990 }
21991 }
21992 if (obj4) {
21993 {
21994 arg5 = &temp5;
21995 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21996 }
21997 }
21998 if (obj5) {
21999 {
22000 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22001 if (PyErr_Occurred()) SWIG_fail;
22002 }
22003 }
22004 if (obj6) {
22005 {
22006 arg7 = wxString_in_helper(obj6);
22007 if (arg7 == NULL) SWIG_fail;
22008 temp7 = True;
22009 }
22010 }
22011 {
22012 PyThreadState* __tstate = wxPyBeginAllowThreads();
22013 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22014
22015 wxPyEndAllowThreads(__tstate);
22016 if (PyErr_Occurred()) SWIG_fail;
22017 }
22018 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
22019 {
22020 if (temp3)
22021 delete arg3;
22022 }
22023 {
22024 if (temp7)
22025 delete arg7;
22026 }
22027 return resultobj;
22028 fail:
22029 {
22030 if (temp3)
22031 delete arg3;
22032 }
22033 {
22034 if (temp7)
22035 delete arg7;
22036 }
22037 return NULL;
22038 }
22039
22040
22041 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22042 PyObject *resultobj;
22043 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22044 PyObject *arg2 = (PyObject *) 0 ;
22045 PyObject *arg3 = (PyObject *) 0 ;
22046 PyObject * obj0 = 0 ;
22047 PyObject * obj1 = 0 ;
22048 PyObject * obj2 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self",(char *) "self",(char *) "_class", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22055 arg2 = obj1;
22056 arg3 = obj2;
22057 {
22058 PyThreadState* __tstate = wxPyBeginAllowThreads();
22059 (arg1)->_setCallbackInfo(arg2,arg3);
22060
22061 wxPyEndAllowThreads(__tstate);
22062 if (PyErr_Occurred()) SWIG_fail;
22063 }
22064 Py_INCREF(Py_None); resultobj = Py_None;
22065 return resultobj;
22066 fail:
22067 return NULL;
22068 }
22069
22070
22071 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22072 PyObject *resultobj;
22073 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22074 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22075 PyObject * obj0 = 0 ;
22076 PyObject * obj1 = 0 ;
22077 char *kwnames[] = {
22078 (char *) "self",(char *) "canvas", NULL
22079 };
22080
22081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
22082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22084 {
22085 PyThreadState* __tstate = wxPyBeginAllowThreads();
22086 (arg1)->SetPreviewCanvas(arg2);
22087
22088 wxPyEndAllowThreads(__tstate);
22089 if (PyErr_Occurred()) SWIG_fail;
22090 }
22091 Py_INCREF(Py_None); resultobj = Py_None;
22092 return resultobj;
22093 fail:
22094 return NULL;
22095 }
22096
22097
22098 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22099 PyObject *resultobj;
22100 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22101 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
22102 PyObject * obj0 = 0 ;
22103 PyObject * obj1 = 0 ;
22104 char *kwnames[] = {
22105 (char *) "self",(char *) "bar", NULL
22106 };
22107
22108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
22109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22111 {
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 (arg1)->SetControlBar(arg2);
22114
22115 wxPyEndAllowThreads(__tstate);
22116 if (PyErr_Occurred()) SWIG_fail;
22117 }
22118 Py_INCREF(Py_None); resultobj = Py_None;
22119 return resultobj;
22120 fail:
22121 return NULL;
22122 }
22123
22124
22125 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22126 PyObject *resultobj;
22127 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22128 PyObject * obj0 = 0 ;
22129 char *kwnames[] = {
22130 (char *) "self", NULL
22131 };
22132
22133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
22134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22135 {
22136 PyThreadState* __tstate = wxPyBeginAllowThreads();
22137 (arg1)->base_Initialize();
22138
22139 wxPyEndAllowThreads(__tstate);
22140 if (PyErr_Occurred()) SWIG_fail;
22141 }
22142 Py_INCREF(Py_None); resultobj = Py_None;
22143 return resultobj;
22144 fail:
22145 return NULL;
22146 }
22147
22148
22149 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22150 PyObject *resultobj;
22151 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22152 PyObject * obj0 = 0 ;
22153 char *kwnames[] = {
22154 (char *) "self", NULL
22155 };
22156
22157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
22158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22159 {
22160 PyThreadState* __tstate = wxPyBeginAllowThreads();
22161 (arg1)->base_CreateCanvas();
22162
22163 wxPyEndAllowThreads(__tstate);
22164 if (PyErr_Occurred()) SWIG_fail;
22165 }
22166 Py_INCREF(Py_None); resultobj = Py_None;
22167 return resultobj;
22168 fail:
22169 return NULL;
22170 }
22171
22172
22173 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22174 PyObject *resultobj;
22175 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22176 PyObject * obj0 = 0 ;
22177 char *kwnames[] = {
22178 (char *) "self", NULL
22179 };
22180
22181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
22182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22183 {
22184 PyThreadState* __tstate = wxPyBeginAllowThreads();
22185 (arg1)->base_CreateControlBar();
22186
22187 wxPyEndAllowThreads(__tstate);
22188 if (PyErr_Occurred()) SWIG_fail;
22189 }
22190 Py_INCREF(Py_None); resultobj = Py_None;
22191 return resultobj;
22192 fail:
22193 return NULL;
22194 }
22195
22196
22197 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
22198 PyObject *obj;
22199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22200 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
22201 Py_INCREF(obj);
22202 return Py_BuildValue((char *)"");
22203 }
22204 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22205 PyObject *resultobj;
22206 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22207 long arg2 ;
22208 wxWindow *arg3 = (wxWindow *) 0 ;
22209 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22210 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22211 wxSize const &arg5_defvalue = wxDefaultSize ;
22212 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22213 long arg6 = (long) 0 ;
22214 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22215 wxString *arg7 = (wxString *) &arg7_defvalue ;
22216 wxPyPreviewControlBar *result;
22217 wxPoint temp4 ;
22218 wxSize temp5 ;
22219 bool temp7 = False ;
22220 PyObject * obj0 = 0 ;
22221 PyObject * obj1 = 0 ;
22222 PyObject * obj2 = 0 ;
22223 PyObject * obj3 = 0 ;
22224 PyObject * obj4 = 0 ;
22225 PyObject * obj5 = 0 ;
22226 PyObject * obj6 = 0 ;
22227 char *kwnames[] = {
22228 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22229 };
22230
22231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22233 {
22234 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
22237 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22238 if (obj3) {
22239 {
22240 arg4 = &temp4;
22241 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22242 }
22243 }
22244 if (obj4) {
22245 {
22246 arg5 = &temp5;
22247 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22248 }
22249 }
22250 if (obj5) {
22251 {
22252 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22253 if (PyErr_Occurred()) SWIG_fail;
22254 }
22255 }
22256 if (obj6) {
22257 {
22258 arg7 = wxString_in_helper(obj6);
22259 if (arg7 == NULL) SWIG_fail;
22260 temp7 = True;
22261 }
22262 }
22263 {
22264 PyThreadState* __tstate = wxPyBeginAllowThreads();
22265 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22266
22267 wxPyEndAllowThreads(__tstate);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 }
22270 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
22271 {
22272 if (temp7)
22273 delete arg7;
22274 }
22275 return resultobj;
22276 fail:
22277 {
22278 if (temp7)
22279 delete arg7;
22280 }
22281 return NULL;
22282 }
22283
22284
22285 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22286 PyObject *resultobj;
22287 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22288 PyObject *arg2 = (PyObject *) 0 ;
22289 PyObject *arg3 = (PyObject *) 0 ;
22290 PyObject * obj0 = 0 ;
22291 PyObject * obj1 = 0 ;
22292 PyObject * obj2 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self",(char *) "self",(char *) "_class", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22299 arg2 = obj1;
22300 arg3 = obj2;
22301 {
22302 PyThreadState* __tstate = wxPyBeginAllowThreads();
22303 (arg1)->_setCallbackInfo(arg2,arg3);
22304
22305 wxPyEndAllowThreads(__tstate);
22306 if (PyErr_Occurred()) SWIG_fail;
22307 }
22308 Py_INCREF(Py_None); resultobj = Py_None;
22309 return resultobj;
22310 fail:
22311 return NULL;
22312 }
22313
22314
22315 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22316 PyObject *resultobj;
22317 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22318 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
22319 PyObject * obj0 = 0 ;
22320 PyObject * obj1 = 0 ;
22321 char *kwnames[] = {
22322 (char *) "self",(char *) "preview", NULL
22323 };
22324
22325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
22326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22327 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22328 {
22329 PyThreadState* __tstate = wxPyBeginAllowThreads();
22330 (arg1)->SetPrintPreview(arg2);
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 Py_INCREF(Py_None); resultobj = Py_None;
22336 return resultobj;
22337 fail:
22338 return NULL;
22339 }
22340
22341
22342 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
22343 PyObject *resultobj;
22344 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22345 PyObject * obj0 = 0 ;
22346 char *kwnames[] = {
22347 (char *) "self", NULL
22348 };
22349
22350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
22351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22352 {
22353 PyThreadState* __tstate = wxPyBeginAllowThreads();
22354 (arg1)->base_CreateButtons();
22355
22356 wxPyEndAllowThreads(__tstate);
22357 if (PyErr_Occurred()) SWIG_fail;
22358 }
22359 Py_INCREF(Py_None); resultobj = Py_None;
22360 return resultobj;
22361 fail:
22362 return NULL;
22363 }
22364
22365
22366 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22367 PyObject *resultobj;
22368 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22369 int arg2 ;
22370 PyObject * obj0 = 0 ;
22371 PyObject * obj1 = 0 ;
22372 char *kwnames[] = {
22373 (char *) "self",(char *) "zoom", NULL
22374 };
22375
22376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22378 {
22379 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 {
22383 PyThreadState* __tstate = wxPyBeginAllowThreads();
22384 (arg1)->base_SetZoomControl(arg2);
22385
22386 wxPyEndAllowThreads(__tstate);
22387 if (PyErr_Occurred()) SWIG_fail;
22388 }
22389 Py_INCREF(Py_None); resultobj = Py_None;
22390 return resultobj;
22391 fail:
22392 return NULL;
22393 }
22394
22395
22396 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22397 PyObject *obj;
22398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22399 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
22400 Py_INCREF(obj);
22401 return Py_BuildValue((char *)"");
22402 }
22403 static PyMethodDef SwigMethods[] = {
22404 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
22405 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
22406 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
22407 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
22408 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
22409 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22410 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22411 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22412 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
22413 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
22414 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22415 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22416 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
22417 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
22418 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
22419 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
22420 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
22421 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
22422 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
22423 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
22424 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
22425 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
22426 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
22427 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22428 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22429 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
22430 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
22431 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
22432 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
22433 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
22434 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
22435 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
22436 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
22437 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
22438 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
22439 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
22440 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
22441 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
22442 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
22443 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
22444 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
22445 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
22446 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
22447 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
22448 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
22449 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
22450 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
22451 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
22452 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
22453 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
22454 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
22455 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
22456 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
22457 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22458 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22459 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22460 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22461 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22462 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22463 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
22464 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
22465 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
22466 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
22467 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
22468 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
22469 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
22470 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
22471 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
22472 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
22473 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
22474 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
22475 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
22476 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
22477 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22478 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
22479 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
22480 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
22481 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
22482 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
22483 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
22484 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
22485 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
22486 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
22487 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
22488 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
22489 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
22490 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
22491 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
22492 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
22493 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
22494 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
22495 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
22496 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
22497 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22498 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22499 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22500 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
22501 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22502 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22503 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22504 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
22505 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
22506 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
22507 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
22508 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
22509 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
22510 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
22511 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
22512 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
22513 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
22514 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
22515 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
22516 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
22517 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
22518 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
22519 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
22520 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
22521 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
22522 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
22523 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
22524 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
22525 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
22526 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22527 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22528 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22529 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22530 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22531 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22532 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22533 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22534 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
22535 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
22536 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22537 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22538 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
22539 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
22540 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
22541 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
22542 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
22543 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
22544 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
22545 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
22546 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
22547 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
22548 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
22549 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
22550 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22551 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22552 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22553 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22554 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22555 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22556 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22557 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22558 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22559 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22560 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22561 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22562 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22563 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22564 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
22565 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
22566 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
22567 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
22568 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
22569 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
22570 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
22571 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
22572 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
22573 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
22574 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22575 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22576 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22577 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22578 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
22579 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
22580 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22581 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22582 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22583 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22584 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
22585 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
22586 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22587 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22588 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
22589 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
22590 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
22591 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22592 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22593 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
22594 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22595 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22596 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22597 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
22598 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22599 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
22600 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22601 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22602 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
22603 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
22604 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
22605 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
22606 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
22607 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
22608 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
22609 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
22610 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
22611 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
22612 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
22613 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
22614 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
22615 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
22616 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22617 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22618 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22619 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22620 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
22621 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
22622 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
22623 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
22624 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
22625 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
22626 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
22627 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
22628 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
22629 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
22630 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
22631 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
22632 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
22633 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
22634 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
22635 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
22636 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22637 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
22638 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
22639 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
22640 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
22641 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
22642 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
22643 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
22644 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
22645 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
22646 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
22647 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
22648 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
22649 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
22650 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
22651 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
22652 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
22653 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
22654 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
22655 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
22656 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
22657 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
22658 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
22659 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
22660 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
22661 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
22662 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22663 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
22664 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
22665 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
22666 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
22667 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
22668 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
22669 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
22670 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
22671 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
22672 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
22673 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
22674 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
22675 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
22676 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
22677 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
22678 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
22679 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
22680 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
22681 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
22682 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
22683 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22684 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
22685 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
22686 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
22687 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
22688 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
22689 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
22690 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
22691 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22692 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
22693 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
22694 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
22695 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
22696 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
22697 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
22698 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
22699 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
22700 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
22701 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
22702 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
22703 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
22704 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
22705 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
22706 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
22707 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
22708 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
22709 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
22710 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
22711 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
22712 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
22713 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
22714 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
22715 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
22716 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
22717 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
22718 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
22719 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22720 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
22721 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
22722 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
22723 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
22724 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22725 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
22726 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
22727 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
22728 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
22729 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
22730 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
22731 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
22732 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
22733 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
22734 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
22735 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
22736 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
22737 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
22738 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
22739 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
22740 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
22741 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
22742 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
22743 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
22744 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22745 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
22746 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
22747 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22748 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
22749 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
22750 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
22751 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
22752 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
22753 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
22754 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22755 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
22756 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
22757 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
22758 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22759 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
22760 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
22761 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
22762 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
22763 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
22764 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
22765 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
22766 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
22767 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
22768 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
22769 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
22770 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
22771 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
22772 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
22773 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
22774 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
22775 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
22776 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
22777 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
22778 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
22779 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
22780 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
22781 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
22782 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
22783 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
22784 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
22785 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
22786 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
22787 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
22788 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
22789 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
22790 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
22791 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
22792 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
22793 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
22794 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
22795 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
22796 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
22797 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
22798 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
22799 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
22800 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
22801 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22802 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
22803 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
22804 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
22805 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
22806 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
22807 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
22808 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
22809 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
22810 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
22811 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
22812 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
22813 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
22814 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
22815 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
22816 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
22817 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
22818 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
22819 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
22820 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
22821 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
22822 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22823 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
22824 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
22825 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
22826 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
22827 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
22828 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
22829 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
22830 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
22831 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
22832 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
22833 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
22834 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
22835 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
22836 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
22837 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
22838 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
22839 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
22840 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
22841 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
22842 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
22843 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
22844 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
22845 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
22846 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22847 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
22848 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
22849 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
22850 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
22851 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
22852 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
22853 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
22854 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
22855 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
22856 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22857 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
22858 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
22859 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
22860 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
22861 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
22862 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
22863 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
22864 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
22865 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
22866 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
22867 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
22868 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
22869 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
22870 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
22871 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
22872 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
22873 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
22874 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
22875 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
22876 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
22877 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
22878 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
22879 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
22880 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
22881 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
22882 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
22883 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
22884 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
22885 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
22886 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
22887 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
22888 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
22889 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
22890 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
22891 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
22892 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
22893 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
22894 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
22895 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
22896 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
22897 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
22898 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
22899 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
22900 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
22901 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
22902 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
22903 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
22904 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
22905 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
22906 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
22907 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
22908 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
22909 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
22910 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
22911 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
22912 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
22913 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
22914 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
22915 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
22916 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
22917 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
22918 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
22919 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
22920 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
22921 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
22922 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22923 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
22924 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
22925 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
22926 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
22927 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
22928 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
22929 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
22930 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
22931 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
22932 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
22933 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
22934 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
22935 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
22936 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
22937 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
22938 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
22939 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
22940 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
22941 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
22942 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
22943 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
22944 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
22945 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
22946 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
22947 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
22948 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
22949 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
22950 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
22951 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
22952 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
22953 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
22954 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
22955 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
22956 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
22957 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
22958 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
22959 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
22960 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
22961 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22962 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
22963 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
22964 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
22965 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
22966 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
22967 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
22968 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
22969 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
22970 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
22971 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
22972 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
22973 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
22974 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
22975 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22976 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
22977 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
22978 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
22979 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
22980 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
22981 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
22982 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
22983 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
22984 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
22985 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
22986 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
22987 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
22988 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
22989 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
22990 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
22991 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
22992 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
22993 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
22994 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
22995 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
22996 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
22997 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
22998 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
22999 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
23000 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
23001 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23002 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23003 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
23004 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
23005 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23006 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
23007 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23008 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23009 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
23010 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
23011 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
23012 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
23013 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
23014 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
23015 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
23016 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23017 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23018 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
23019 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
23020 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
23021 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
23022 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
23023 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
23024 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
23025 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
23026 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23027 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
23028 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
23029 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23030 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
23031 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
23032 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23033 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23034 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
23035 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
23036 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
23037 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23038 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
23039 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
23040 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23041 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23042 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
23043 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23044 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
23045 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
23046 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
23047 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23048 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
23049 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
23050 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23051 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23052 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
23053 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
23054 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23055 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23056 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
23057 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23058 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23059 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23060 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
23061 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23062 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
23063 { NULL, NULL }
23064 };
23065
23066
23067 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23068
23069 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
23070 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23071 }
23072 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
23073 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
23074 }
23075 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
23076 return (void *)((wxEvent *) ((wxMenuEvent *) x));
23077 }
23078 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
23079 return (void *)((wxEvent *) ((wxCloseEvent *) x));
23080 }
23081 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
23082 return (void *)((wxEvent *) ((wxMouseEvent *) x));
23083 }
23084 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
23085 return (void *)((wxEvent *) ((wxEraseEvent *) x));
23086 }
23087 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
23088 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
23089 }
23090 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
23091 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23092 }
23093 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
23094 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
23095 }
23096 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
23097 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
23098 }
23099 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
23100 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
23101 }
23102 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
23103 return (void *)((wxEvent *) ((wxPyEvent *) x));
23104 }
23105 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
23106 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
23107 }
23108 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
23109 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
23110 }
23111 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
23112 return (void *)((wxEvent *) ((wxIdleEvent *) x));
23113 }
23114 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
23115 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
23116 }
23117 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
23118 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
23119 }
23120 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
23121 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
23122 }
23123 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
23124 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
23125 }
23126 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
23127 return (void *)((wxEvent *) ((wxActivateEvent *) x));
23128 }
23129 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
23130 return (void *)((wxEvent *) ((wxSizeEvent *) x));
23131 }
23132 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
23133 return (void *)((wxEvent *) ((wxMoveEvent *) x));
23134 }
23135 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
23136 return (void *)((wxEvent *) ((wxPaintEvent *) x));
23137 }
23138 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
23139 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
23140 }
23141 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
23142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
23143 }
23144 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
23145 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
23146 }
23147 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
23148 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
23149 }
23150 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
23151 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23152 }
23153 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
23154 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
23155 }
23156 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
23157 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
23158 }
23159 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
23160 return (void *)((wxEvent *) ((wxFocusEvent *) x));
23161 }
23162 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
23163 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
23164 }
23165 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
23166 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
23167 }
23168 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
23169 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23170 }
23171 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
23172 return (void *)((wxEvent *) ((wxShowEvent *) x));
23173 }
23174 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
23175 return (void *)((wxEvent *) ((wxCommandEvent *) x));
23176 }
23177 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
23178 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
23179 }
23180 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
23181 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23182 }
23183 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
23184 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
23185 }
23186 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
23187 return (void *)((wxEvent *) ((wxKeyEvent *) x));
23188 }
23189 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
23190 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
23191 }
23192 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
23193 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
23194 }
23195 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
23196 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
23197 }
23198 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
23199 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23200 }
23201 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
23202 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23203 }
23204 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
23205 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23206 }
23207 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
23208 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
23209 }
23210 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
23211 return (void *)((wxEvtHandler *) ((wxValidator *) x));
23212 }
23213 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
23214 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
23215 }
23216 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
23217 return (void *)((wxEvtHandler *) ((wxMenu *) x));
23218 }
23219 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
23220 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23221 }
23222 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
23223 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23224 }
23225 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
23226 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23227 }
23228 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
23229 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23230 }
23231 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
23232 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23233 }
23234 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
23235 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23236 }
23237 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
23238 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23239 }
23240 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
23241 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
23242 }
23243 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
23244 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
23245 }
23246 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
23247 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23248 }
23249 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
23250 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
23251 }
23252 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
23253 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23254 }
23255 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
23256 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
23257 }
23258 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
23259 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23260 }
23261 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
23262 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
23263 }
23264 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
23265 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
23266 }
23267 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
23268 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
23269 }
23270 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
23271 return (void *)((wxEvtHandler *) ((wxWindow *) x));
23272 }
23273 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
23274 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23275 }
23276 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
23277 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
23278 }
23279 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
23280 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
23281 }
23282 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
23283 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
23284 }
23285 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
23286 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23287 }
23288 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
23289 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23290 }
23291 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
23292 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23293 }
23294 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
23295 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
23296 }
23297 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
23298 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23299 }
23300 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
23301 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
23302 }
23303 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
23304 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23305 }
23306 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
23307 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23308 }
23309 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
23310 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23311 }
23312 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
23313 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23314 }
23315 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
23316 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23317 }
23318 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
23319 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
23320 }
23321 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
23322 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23323 }
23324 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
23325 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23326 }
23327 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
23328 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23329 }
23330 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
23331 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23332 }
23333 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
23334 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23335 }
23336 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
23337 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23338 }
23339 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
23340 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23341 }
23342 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
23343 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23344 }
23345 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
23346 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
23347 }
23348 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
23349 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
23350 }
23351 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
23352 return (void *)((wxFrame *) ((wxProgressDialog *) x));
23353 }
23354 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
23355 return (void *)((wxFrame *) ((wxTipWindow *) x));
23356 }
23357 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
23358 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
23359 }
23360 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
23361 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23362 }
23363 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
23364 return (void *)((wxFrame *) ((wxMiniFrame *) x));
23365 }
23366 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
23367 return (void *)((wxFrame *) ((wxSplashScreen *) x));
23368 }
23369 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
23370 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
23371 }
23372 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
23373 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
23374 }
23375 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
23376 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23377 }
23378 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
23379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23380 }
23381 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
23382 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23383 }
23384 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
23385 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
23386 }
23387 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
23388 return (void *)((wxObject *) ((wxSizerItem *) x));
23389 }
23390 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
23391 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
23392 }
23393 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
23394 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
23395 }
23396 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
23397 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
23398 }
23399 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
23400 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
23401 }
23402 static void *_p_wxSizerTo_p_wxObject(void *x) {
23403 return (void *)((wxObject *) ((wxSizer *) x));
23404 }
23405 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
23406 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
23407 }
23408 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
23409 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
23410 }
23411 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
23412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23413 }
23414 static void *_p_wxEventTo_p_wxObject(void *x) {
23415 return (void *)((wxObject *) ((wxEvent *) x));
23416 }
23417 static void *_p_wxFontDataTo_p_wxObject(void *x) {
23418 return (void *)((wxObject *) ((wxFontData *) x));
23419 }
23420 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
23421 return (void *)((wxObject *) ((wxPrintData *) x));
23422 }
23423 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
23424 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
23425 }
23426 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
23427 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
23428 }
23429 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
23430 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
23431 }
23432 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
23433 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
23434 }
23435 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
23436 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
23437 }
23438 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
23439 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
23440 }
23441 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
23442 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
23443 }
23444 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
23445 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
23446 }
23447 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
23448 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
23449 }
23450 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
23451 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
23452 }
23453 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
23454 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23455 }
23456 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
23457 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
23458 }
23459 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
23460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23461 }
23462 static void *_p_wxControlTo_p_wxObject(void *x) {
23463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
23464 }
23465 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
23466 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
23467 }
23468 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
23469 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23470 }
23471 static void *_p_wxFSFileTo_p_wxObject(void *x) {
23472 return (void *)((wxObject *) ((wxFSFile *) x));
23473 }
23474 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
23475 return (void *)((wxObject *) ((wxFindReplaceData *) x));
23476 }
23477 static void *_p_wxPySizerTo_p_wxObject(void *x) {
23478 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
23479 }
23480 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
23481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23482 }
23483 static void *_p_wxColourDataTo_p_wxObject(void *x) {
23484 return (void *)((wxObject *) ((wxColourData *) x));
23485 }
23486 static void *_p_wxPyEventTo_p_wxObject(void *x) {
23487 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
23488 }
23489 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
23490 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
23491 }
23492 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
23493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
23494 }
23495 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
23496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23497 }
23498 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
23499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23500 }
23501 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
23502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23503 }
23504 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
23505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23506 }
23507 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
23508 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23509 }
23510 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
23511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23512 }
23513 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
23514 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23515 }
23516 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
23517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23518 }
23519 static void *_p_wxShowEventTo_p_wxObject(void *x) {
23520 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
23521 }
23522 static void *_p_wxPrinterTo_p_wxObject(void *x) {
23523 return (void *)((wxObject *) ((wxPrinter *) x));
23524 }
23525 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
23526 return (void *)((wxObject *) ((wxMenuItem *) x));
23527 }
23528 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
23529 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
23530 }
23531 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
23532 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
23533 }
23534 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
23535 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
23536 }
23537 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
23538 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
23539 }
23540 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
23541 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
23542 }
23543 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
23544 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
23545 }
23546 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
23547 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
23548 }
23549 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
23550 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
23551 }
23552 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
23553 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
23554 }
23555 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
23556 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
23557 }
23558 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
23559 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
23560 }
23561 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
23562 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
23563 }
23564 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
23565 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
23566 }
23567 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
23568 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
23569 }
23570 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
23571 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
23572 }
23573 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
23574 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
23575 }
23576 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
23577 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
23578 }
23579 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
23580 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
23581 }
23582 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
23583 return (void *)((wxObject *) ((wxImageHandler *) x));
23584 }
23585 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
23586 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
23587 }
23588 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
23589 return (void *)((wxObject *) ((wxEvtHandler *) x));
23590 }
23591 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
23592 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
23593 }
23594 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
23595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23596 }
23597 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
23598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23599 }
23600 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
23601 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
23602 }
23603 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
23604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23605 }
23606 static void *_p_wxImageTo_p_wxObject(void *x) {
23607 return (void *)((wxObject *) ((wxImage *) x));
23608 }
23609 static void *_p_wxFrameTo_p_wxObject(void *x) {
23610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23611 }
23612 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
23613 return (void *)((wxObject *) ((wxPyPrintout *) x));
23614 }
23615 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
23616 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
23617 }
23618 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
23619 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
23620 }
23621 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
23622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
23623 }
23624 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
23625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23626 }
23627 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
23628 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23629 }
23630 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
23631 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
23632 }
23633 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
23634 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
23635 }
23636 static void *_p_wxWindowTo_p_wxObject(void *x) {
23637 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
23638 }
23639 static void *_p_wxMenuTo_p_wxObject(void *x) {
23640 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
23641 }
23642 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
23643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
23644 }
23645 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
23646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23647 }
23648 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
23649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
23650 }
23651 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
23652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
23653 }
23654 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
23655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
23656 }
23657 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
23658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
23659 }
23660 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
23661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23662 }
23663 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
23664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
23665 }
23666 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
23667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23668 }
23669 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
23670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
23671 }
23672 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
23673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23674 }
23675 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
23676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
23677 }
23678 static void *_p_wxSashEventTo_p_wxObject(void *x) {
23679 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
23680 }
23681 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
23682 return (void *)((wxObject *) ((wxPrintPreview *) x));
23683 }
23684 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
23685 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
23686 }
23687 static void *_p_wxPanelTo_p_wxObject(void *x) {
23688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
23689 }
23690 static void *_p_wxDialogTo_p_wxObject(void *x) {
23691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23692 }
23693 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
23694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23695 }
23696 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
23697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23698 }
23699 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
23700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23701 }
23702 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
23703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23704 }
23705 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
23706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23707 }
23708 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
23709 return (void *)((wxObject *) ((wxFileSystem *) x));
23710 }
23711 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
23712 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
23713 }
23714 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
23715 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
23716 }
23717 static void *_p_wxPyAppTo_p_wxObject(void *x) {
23718 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
23719 }
23720 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
23721 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
23722 }
23723 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
23724 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
23725 }
23726 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
23727 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
23728 }
23729 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
23730 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
23731 }
23732 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
23733 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
23734 }
23735 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
23736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23737 }
23738 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
23739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23740 }
23741 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
23742 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
23743 }
23744 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
23745 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
23746 }
23747 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
23748 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
23749 }
23750 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
23751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23752 }
23753 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
23754 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
23755 }
23756 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
23757 return (void *)((wxObject *) ((wxPrintDialogData *) x));
23758 }
23759 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
23760 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
23761 }
23762 static void *_p_wxValidatorTo_p_wxObject(void *x) {
23763 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
23764 }
23765 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
23766 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23767 }
23768 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
23769 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
23770 }
23771 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
23772 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23773 }
23774 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
23775 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
23776 }
23777 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
23778 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
23779 }
23780 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
23781 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
23782 }
23783 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
23784 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
23785 }
23786 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
23787 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
23788 }
23789 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
23790 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
23791 }
23792 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
23793 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
23794 }
23795 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
23796 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
23797 }
23798 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
23799 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
23800 }
23801 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
23802 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
23803 }
23804 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
23805 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
23806 }
23807 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
23808 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
23809 }
23810 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
23811 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
23812 }
23813 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
23814 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
23815 }
23816 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
23817 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
23818 }
23819 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
23820 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
23821 }
23822 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
23823 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
23824 }
23825 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
23826 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
23827 }
23828 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
23829 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
23830 }
23831 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
23832 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
23833 }
23834 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
23835 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
23836 }
23837 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
23838 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23839 }
23840 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
23841 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23842 }
23843 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
23844 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23845 }
23846 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
23847 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
23848 }
23849 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
23850 return (void *)((wxWindow *) ((wxMenuBar *) x));
23851 }
23852 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
23853 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23854 }
23855 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
23856 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23857 }
23858 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
23859 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23860 }
23861 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
23862 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23863 }
23864 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
23865 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23866 }
23867 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
23868 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23869 }
23870 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
23871 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23872 }
23873 static void *_p_wxPanelTo_p_wxWindow(void *x) {
23874 return (void *)((wxWindow *) ((wxPanel *) x));
23875 }
23876 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
23877 return (void *)((wxWindow *) ((wxStatusBar *) x));
23878 }
23879 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
23880 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
23881 }
23882 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
23883 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
23884 }
23885 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
23886 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
23887 }
23888 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
23889 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23890 }
23891 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
23892 return (void *)((wxWindow *) ((wxPopupWindow *) x));
23893 }
23894 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
23895 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
23896 }
23897 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
23898 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
23899 }
23900 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
23901 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
23902 }
23903 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
23904 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
23905 }
23906 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
23907 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
23908 }
23909 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
23910 return (void *)((wxWindow *) ((wxSashWindow *) x));
23911 }
23912 static void *_p_wxControlTo_p_wxWindow(void *x) {
23913 return (void *)((wxWindow *) ((wxControl *) x));
23914 }
23915 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
23916 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23917 }
23918 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
23919 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23920 }
23921 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
23922 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23923 }
23924 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
23925 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
23926 }
23927 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
23928 return (void *)((wxWindow *) ((wxPyWindow *) x));
23929 }
23930 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
23931 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23932 }
23933 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
23934 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23935 }
23936 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
23937 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23938 }
23939 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
23940 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
23941 }
23942 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
23943 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23944 }
23945 static void *_p_wxFrameTo_p_wxWindow(void *x) {
23946 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
23947 }
23948 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
23949 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23950 }
23951 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
23952 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23953 }
23954 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
23955 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23956 }
23957 static void *_p_wxDialogTo_p_wxWindow(void *x) {
23958 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
23959 }
23960 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
23961 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23962 }
23963 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
23964 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23965 }
23966 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
23967 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23968 }
23969 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
23970 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
23971 }
23972 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
23973 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
23974 }
23975 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
23976 return (void *)((wxDialog *) ((wxColourDialog *) x));
23977 }
23978 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
23979 return (void *)((wxDialog *) ((wxDirDialog *) x));
23980 }
23981 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
23982 return (void *)((wxDialog *) ((wxFontDialog *) x));
23983 }
23984 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
23985 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
23986 }
23987 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
23988 return (void *)((wxDialog *) ((wxPrintDialog *) x));
23989 }
23990 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
23991 return (void *)((wxDialog *) ((wxFileDialog *) x));
23992 }
23993 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
23994 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
23995 }
23996 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
23997 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
23998 }
23999 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
24000 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
24001 }
24002 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
24003 return (void *)((wxDialog *) ((wxMessageDialog *) x));
24004 }
24005 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
24006 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
24007 }
24008 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
24009 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
24010 }
24011 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
24012 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
24013 }
24014 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
24015 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24016 }
24017 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
24018 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24019 }
24020 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
24021 return (void *)((wxPanel *) ((wxPyPanel *) x));
24022 }
24023 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
24024 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
24025 }
24026 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
24027 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
24028 }
24029 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
24030 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24031 }
24032 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
24033 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
24034 }
24035 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
24036 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
24037 }
24038 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
24039 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
24040 }
24041 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
24042 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
24043 }
24044 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
24045 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
24046 }
24047 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
24048 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24049 }
24050 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
24051 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
24052 }
24053 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
24054 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
24055 }
24056 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
24057 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
24058 }
24059 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
24060 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
24061 }
24062 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
24063 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
24064 }
24065 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
24066 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24067 }
24068 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
24069 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
24070 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
24071 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
24072 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
24073 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
24074 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
24075 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}};
24076 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
24077 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
24078 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
24079 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
24080 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
24081 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
24082 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
24083 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
24084 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
24085 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
24086 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
24087 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
24088 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
24089 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
24090 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
24091 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
24092 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
24093 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
24094 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
24095 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
24096 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
24097 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
24098 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
24099 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
24100 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
24101 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
24102 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
24103 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
24104 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
24105 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
24106 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
24107 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
24108 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
24109 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
24110 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}};
24111 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
24112 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
24113 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
24114 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
24115 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
24116 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
24117 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
24118 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
24119 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
24120 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
24121 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
24122 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
24123 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
24124 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
24125 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}};
24126 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{0}};
24127 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
24128 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}};
24129 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
24130 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
24131 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
24132 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
24133 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
24134 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
24135 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
24136 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
24137 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
24138 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
24139 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
24140 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}};
24141 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}};
24142 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
24143 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
24144 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
24145 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}};
24146 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
24147 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
24148 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
24149 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
24150 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
24151 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
24152
24153 static swig_type_info *swig_types_initial[] = {
24154 _swigt__p_wxQueryLayoutInfoEvent,
24155 _swigt__p_wxPreviewFrame,
24156 _swigt__p_wxPyPreviewFrame,
24157 _swigt__p_wxPyPanel,
24158 _swigt__p_wxMenu,
24159 _swigt__p_wxPrintData,
24160 _swigt__p_wxFontData,
24161 _swigt__p_wxEvent,
24162 _swigt__p_wxTaskBarIcon,
24163 _swigt__p_wxIconBundle,
24164 _swigt__p_wxLayoutAlgorithm,
24165 _swigt__p_wxFindDialogEvent,
24166 _swigt__p_wxPreviewCanvas,
24167 _swigt__p_wxFont,
24168 _swigt__p_wxSplitterEvent,
24169 _swigt__p_wxRegion,
24170 _swigt__p_wxFindReplaceData,
24171 _swigt__p_int,
24172 _swigt__p_wxSize,
24173 _swigt__p_wxDC,
24174 _swigt__p_wxIcon,
24175 _swigt__p_wxMDIChildFrame,
24176 _swigt__p_wxColourData,
24177 _swigt__p_wxNotifyEvent,
24178 _swigt__p_wxPyWindow,
24179 _swigt__p_wxSplashScreen,
24180 _swigt__p_wxFindReplaceDialog,
24181 _swigt__p_wxProgressDialog,
24182 _swigt__p_wxMessageDialog,
24183 _swigt__p_wxTextEntryDialog,
24184 _swigt__p_wxSingleChoiceDialog,
24185 _swigt__p_wxMultiChoiceDialog,
24186 _swigt__p_wxFileDialog,
24187 _swigt__p_wxPrinter,
24188 _swigt__p_wxArrayInt,
24189 _swigt__p_wxEvtHandler,
24190 _swigt__p_wxCalculateLayoutEvent,
24191 _swigt__p_wxPyHtmlListBox,
24192 _swigt__p_wxPyVListBox,
24193 _swigt__p_wxRect,
24194 _swigt__p_char,
24195 _swigt__p_wxMiniFrame,
24196 _swigt__p_wxFrame,
24197 _swigt__p_wxPyPrintout,
24198 _swigt__p_wxTaskBarIconEvent,
24199 _swigt__p_wxScrollWinEvent,
24200 _swigt__p_wxStatusBar,
24201 _swigt__p_wxMDIParentFrame,
24202 _swigt__p_wxPoint,
24203 _swigt__p_wxObject,
24204 _swigt__p_wxOutputStream,
24205 _swigt__p_unsigned_long,
24206 _swigt__p_wxMDIClientWindow,
24207 _swigt__p_wxTipWindow,
24208 _swigt__p_wxPyPopupTransientWindow,
24209 _swigt__p_wxSashLayoutWindow,
24210 _swigt__p_wxSplitterWindow,
24211 _swigt__p_wxPyVScrolledWindow,
24212 _swigt__p_wxPopupWindow,
24213 _swigt__p_wxSashWindow,
24214 _swigt__p_wxTopLevelWindow,
24215 _swigt__p_wxWindow,
24216 _swigt__p_wxScrolledWindow,
24217 _swigt__p_wxSplashScreenWindow,
24218 _swigt__p_wxMenuBar,
24219 _swigt__p_wxPrintPreview,
24220 _swigt__p_wxSashEvent,
24221 _swigt__p_wxString,
24222 _swigt__p_wxPyPrintPreview,
24223 _swigt__p_wxFontDialog,
24224 _swigt__p_wxDirDialog,
24225 _swigt__p_wxColourDialog,
24226 _swigt__p_wxDialog,
24227 _swigt__p_wxPanel,
24228 _swigt__p_wxPageSetupDialog,
24229 _swigt__p_wxPrintDialog,
24230 _swigt__p_wxBitmap,
24231 _swigt__p_wxCommandEvent,
24232 _swigt__p_wxPreviewControlBar,
24233 _swigt__p_wxPyPreviewControlBar,
24234 _swigt__p_wxColour,
24235 _swigt__p_wxToolBar,
24236 _swigt__p_wxPageSetupDialogData,
24237 _swigt__p_wxPrintDialogData,
24238 0
24239 };
24240
24241
24242 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24243
24244 static swig_const_info swig_const_table[] = {
24245 {0}};
24246
24247 #ifdef __cplusplus
24248 }
24249 #endif
24250
24251 #ifdef __cplusplus
24252 extern "C"
24253 #endif
24254 SWIGEXPORT(void) SWIG_init(void) {
24255 static PyObject *SWIG_globals = 0;
24256 static int typeinit = 0;
24257 PyObject *m, *d;
24258 int i;
24259 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
24260 m = Py_InitModule((char *) SWIG_name, SwigMethods);
24261 d = PyModule_GetDict(m);
24262
24263 if (!typeinit) {
24264 for (i = 0; swig_types_initial[i]; i++) {
24265 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
24266 }
24267 typeinit = 1;
24268 }
24269 SWIG_InstallConstants(d,swig_const_table);
24270
24271 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
24272 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
24273 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
24274 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
24275 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
24276 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR));
24277 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
24278 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
24279 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER));
24280 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION));
24281 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL));
24282 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG));
24283 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
24284 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
24285 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE));
24286 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT));
24287 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT));
24288 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
24289 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER));
24290 PyDict_SetItemString(d,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH));
24291 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT));
24292 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE));
24293 PyDict_SetItemString(d,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH));
24294 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER));
24295 PyDict_SetItemString(d,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER));
24296 PyDict_SetItemString(d,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D));
24297 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL));
24298 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL));
24299 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE));
24300 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING));
24301 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
24302 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
24303 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
24304 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
24305 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
24306 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
24307 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
24308 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE));
24309 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING));
24310 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
24311 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER));
24312 PyDict_SetItemString(d,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER));
24313 PyDict_SetItemString(d,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH));
24314 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER));
24315 PyDict_SetItemString(d,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D));
24316 PyDict_SetItemString(d,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP));
24317 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT));
24318 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM));
24319 PyDict_SetItemString(d,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT));
24320 PyDict_SetItemString(d,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE));
24321 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK));
24322 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
24323 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
24324 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL));
24325 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL));
24326 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE));
24327 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP));
24328 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT));
24329 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT));
24330 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM));
24331 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y));
24332 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X));
24333 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH));
24334 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY));
24335 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
24336 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
24337 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
24338
24339 // Map renamed classes back to their common name for OOR
24340 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24341 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24342 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24343
24344 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
24345 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
24346 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
24347 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
24348 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
24349 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
24350 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
24351 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
24352 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
24353 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
24354 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
24355 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
24356 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
24357 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE));
24358 PyDict_SetItemString(d,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN));
24359 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD));
24360 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE));
24361 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG));
24362 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN));
24363 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE));
24364 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD));
24365 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
24366 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
24367 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
24368 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
24369 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
24370 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001));
24371 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001));
24372 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002));
24373 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003));
24374 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004));
24375 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005));
24376 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100));
24377 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600));
24378 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
24379 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
24380 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE));
24381 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW));
24382 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE));
24383 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER));
24384 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_PyObj_FromInt((int)wxPRINT_MODE_STREAM));
24385 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR));
24386 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED));
24387 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR));
24388 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT));
24389 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS));
24390 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT));
24391 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM));
24392 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST));
24393 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST));
24394 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO));
24395 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT));
24396 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE));
24397 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT));
24398 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS));
24399 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT));
24400 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM));
24401 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST));
24402 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST));
24403 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO));
24404
24405 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
24406
24407 }
24408