]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows_wrap.cpp
More lib and demo patches to drop the wx prefix (Jeff has been busy!)
[wxWidgets.git] / wxPython / src / msw / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
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
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
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
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
213 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
214 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
215 #define SWIGTYPE_p_wxPyPanel swig_types[3]
216 #define SWIGTYPE_p_wxMenu swig_types[4]
217 #define SWIGTYPE_p_wxPrintData swig_types[5]
218 #define SWIGTYPE_p_wxFontData swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
221 #define SWIGTYPE_p_wxIconBundle swig_types[9]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
225 #define SWIGTYPE_p_wxFont swig_types[13]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
227 #define SWIGTYPE_p_wxRegion swig_types[15]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
229 #define SWIGTYPE_p_int swig_types[17]
230 #define SWIGTYPE_p_wxSize swig_types[18]
231 #define SWIGTYPE_p_wxDC swig_types[19]
232 #define SWIGTYPE_p_wxIcon swig_types[20]
233 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
234 #define SWIGTYPE_p_wxColourData swig_types[22]
235 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
236 #define SWIGTYPE_p_wxPyWindow swig_types[24]
237 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
238 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
239 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
240 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
241 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
242 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
243 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
244 #define SWIGTYPE_p_wxFileDialog swig_types[32]
245 #define SWIGTYPE_p_wxPrinter swig_types[33]
246 #define SWIGTYPE_p_wxArrayInt swig_types[34]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
248 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
249 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
250 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
251 #define SWIGTYPE_p_wxRect swig_types[39]
252 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
253 #define SWIGTYPE_p_wxFrame swig_types[41]
254 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
255 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
256 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
257 #define SWIGTYPE_p_wxStatusBar swig_types[45]
258 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
259 #define SWIGTYPE_p_wxPoint swig_types[47]
260 #define SWIGTYPE_p_wxObject swig_types[48]
261 #define SWIGTYPE_p_unsigned_long swig_types[49]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
263 #define SWIGTYPE_p_wxTipWindow swig_types[51]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[53]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
269 #define SWIGTYPE_p_wxSashWindow swig_types[57]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
271 #define SWIGTYPE_p_wxWindow swig_types[59]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
274 #define SWIGTYPE_p_wxMenuBar swig_types[62]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
276 #define SWIGTYPE_p_wxSashEvent swig_types[64]
277 #define SWIGTYPE_p_wxString swig_types[65]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
279 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
280 #define SWIGTYPE_p_wxFontDialog swig_types[68]
281 #define SWIGTYPE_p_wxDirDialog swig_types[69]
282 #define SWIGTYPE_p_wxColourDialog swig_types[70]
283 #define SWIGTYPE_p_wxDialog swig_types[71]
284 #define SWIGTYPE_p_wxPanel swig_types[72]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
286 #define SWIGTYPE_p_wxBitmap swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[76]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[77]
290 #define SWIGTYPE_p_wxColour swig_types[78]
291 #define SWIGTYPE_p_wxToolBar swig_types[79]
292 #define SWIGTYPE_p_wxPrintDialogData swig_types[80]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
294 static swig_type_info *swig_types[83];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
303
304 #define SWIG_name "_windows"
305
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
308
309
310 static const wxString wxPyEmptyString(wxEmptyString);
311 static const wxString wxPyPanelNameStr(wxPanelNameStr);
312
313
314
315 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
316 PyObject* o2;
317 PyObject* o3;
318
319 if (!target) {
320 target = o;
321 } else if (target == Py_None) {
322 Py_DECREF(Py_None);
323 target = o;
324 } else {
325 if (!PyTuple_Check(target)) {
326 o2 = target;
327 target = PyTuple_New(1);
328 PyTuple_SetItem(target, 0, o2);
329 }
330 o3 = PyTuple_New(1);
331 PyTuple_SetItem(o3, 0, o);
332
333 o2 = target;
334 target = PySequence_Concat(o2, o3);
335 Py_DECREF(o2);
336 Py_DECREF(o3);
337 }
338 return target;
339 }
340
341 static const wxString wxPyFrameNameStr(wxFrameNameStr);
342 static const wxString wxPyDialogNameStr(wxDialogNameStr);
343 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
344 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
345 bool wxDialog_IsModalShowing(wxDialog *self){
346
347
348
349 return self->IsModalShowing();
350
351 }
352
353
354 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
355 wxRect r;
356 self->GetFieldRect(i, r);
357 return r;
358 }
359 static const wxString wxPySplitterNameStr(wxT(wxT("splitter")));
360 static const wxString wxPySashNameStr(wxT(wxT("sashWindow")));
361 static const wxString wxPySashLayoutNameStr(wxT(wxT("layoutWindow")));
362
363 #include <wx/popupwin.h>
364
365
366 class wxPyPopupTransientWindow : public wxPopupTransientWindow
367 {
368 public:
369 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
370 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
371 : wxPopupTransientWindow(parent, style) {}
372
373 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
374 DEC_PYCALLBACK__(OnDismiss);
375 DEC_PYCALLBACK_BOOL_(CanDismiss);
376 PYPRIVATE;
377 };
378
379
380 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
381 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
382 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
383
384
385 #include <wx/tipwin.h>
386
387 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
388 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
389 }
390
391 #include <wx/tipwin.h>
392
393
394 #include <wx/vscroll.h>
395
396
397 class wxPyVScrolledWindow : public wxVScrolledWindow
398 {
399 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
400 public:
401 wxPyVScrolledWindow() : wxVScrolledWindow() {}
402
403 wxPyVScrolledWindow(wxWindow *parent,
404 wxWindowID id = wxID_ANY,
405 const wxPoint& pos = wxDefaultPosition,
406 const wxSize& size = wxDefaultSize,
407 long style = 0,
408 const wxString& name = wxPyPanelNameStr)
409 : wxVScrolledWindow(parent, id, pos, size, style, name)
410 {}
411
412 // Overridable virtuals
413
414 // this function must be overridden in the derived class and it should
415 // return the height of the given line in pixels
416 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
417
418
419 // this function doesn't have to be overridden but it may be useful to do
420 // it if calculating the lines heights is a relatively expensive operation
421 // as it gives the user code a possibility to calculate several of them at
422 // once
423 //
424 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
425 // shouldn't rely on the latter being called for all lines in the interval
426 // specified here. It is also possible that OnGetLineHeight() will be
427 // called for the lines outside of this interval, so this is really just a
428 // hint, not a promise.
429 //
430 // finally note that lineMin is inclusive, while lineMax is exclusive, as
431 // usual
432 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
433
434
435 // when the number of lines changes, we try to estimate the total height
436 // of all lines which is a rather expensive operation in terms of lines
437 // access, so if the user code may estimate the average height
438 // better/faster than we do, it should override this function to implement
439 // its own logic
440 //
441 // this function should return the best guess for the total height it may
442 // make
443 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
444
445
446 // Also expose some other interesting protected methods
447
448
449 // find the index of the line we need to show at the top of the window such
450 // that the last (fully or partially) visible line is the given one
451 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
452 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
453
454 // get the total height of the lines between lineMin (inclusive) and
455 // lineMax (exclusive)
456 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
457 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
458
459
460 PYPRIVATE;
461 };
462
463 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
464
465 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
466 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
467 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
468
469
470 #include <wx/vlbox.h>
471
472 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
473
474 class wxPyVListBox : public wxVListBox
475 {
476 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
477 public:
478 wxPyVListBox() : wxVListBox() {}
479
480 wxPyVListBox(wxWindow *parent,
481 wxWindowID id = wxID_ANY,
482 const wxPoint& pos = wxDefaultPosition,
483 const wxSize& size = wxDefaultSize,
484 long style = 0,
485 const wxString& name = wxPyVListBoxNameStr)
486 : wxVListBox(parent, id, pos, size, style, name)
487 {}
488
489 // Overridable virtuals
490
491 // the derived class must implement this function to actually draw the item
492 // with the given index on the provided DC
493 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
494 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
495
496
497 // the derived class must implement this method to return the height of the
498 // specified item
499 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
500 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
501
502
503 // this method may be used to draw separators between the lines; note that
504 // the rectangle may be modified, typically to deflate it a bit before
505 // passing to OnDrawItem()
506 //
507 // the base class version doesn't do anything
508 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
509 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
510
511
512 // this method is used to draw the items background and, maybe, a border
513 // around it
514 //
515 // the base class version implements a reasonable default behaviour which
516 // consists in drawing the selected item with the standard background
517 // colour and drawing a border around the item if it is either selected or
518 // current
519 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
520 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
521
522
523 PYPRIVATE;
524 };
525
526 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
527
528 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
529 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
530 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
531 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
532
533
534
535 #include <wx/htmllbox.h>
536
537
538 class wxPyHtmlListBox : public wxHtmlListBox
539 {
540 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
541 public:
542 wxPyHtmlListBox() : wxHtmlListBox() {}
543
544 wxPyHtmlListBox(wxWindow *parent,
545 wxWindowID id = wxID_ANY,
546 const wxPoint& pos = wxDefaultPosition,
547 const wxSize& size = wxDefaultSize,
548 long style = 0,
549 const wxString& name = wxPyVListBoxNameStr)
550 : wxHtmlListBox(parent, id, pos, size, style, name)
551 {}
552
553 // Overridable virtuals
554
555 // this method must be implemented in the derived class and should return
556 // the body (i.e. without <html>) of the HTML for the given item
557 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
558
559 // this function may be overridden to decorate HTML returned by OnGetItem()
560 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
561
562 // TODO:
563 // // this method allows to customize the selection appearance: it may be used
564 // // to specify the colour of the text which normally has the given colour
565 // // colFg when it is inside the selection
566 // //
567 // // by default, the original colour is not used at all and all text has the
568 // // same (default for this system) colour inside selection
569 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
570
571 // // this is the same as GetSelectedTextColour() but allows to customize the
572 // // background colour -- this is even more rarely used as you can change it
573 // // globally using SetSelectionBackground()
574 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
575
576
577 PYPRIVATE;
578 };
579
580
581 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
582
583 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
584 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
585
586
587
588
589
590 #ifdef __WXMAC__
591 // implement dummy classes and such for wxMac
592
593 class wxTaskBarIcon : public wxEvtHandler
594 {
595 public:
596 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
597 };
598
599
600 class wxTaskBarIconEvent : public wxEvent
601 {
602 public:
603 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
604 { wxPyRaiseNotImplemented(); }
605 virtual wxEvent* Clone() const { return NULL; }
606 };
607
608 enum {
609 wxEVT_TASKBAR_MOVE = 0,
610 wxEVT_TASKBAR_LEFT_DOWN = 0,
611 wxEVT_TASKBAR_LEFT_UP = 0,
612 wxEVT_TASKBAR_RIGHT_DOWN = 0,
613 wxEVT_TASKBAR_RIGHT_UP = 0,
614 wxEVT_TASKBAR_LEFT_DCLICK = 0,
615 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
616 };
617 #endif
618
619 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
620 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
621 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
622 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
623 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
624 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
625 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
626 wxArrayString arr;
627 self->GetFilenames(arr);
628 return wxArrayString2PyList_helper(arr);
629 }
630 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
631 wxArrayString arr;
632 self->GetPaths(arr);
633 return wxArrayString2PyList_helper(arr);
634 }
635 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
636 return wxArrayInt2PyList_helper(self->GetSelections());
637 }
638 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
639 return new wxSingleChoiceDialog(parent, message, caption,
640 choices, choices_array, NULL, style, pos);
641 }
642
643 #include <wx/mdi.h>
644
645 // C++ version of Python aware wxWindow
646 class wxPyWindow : public wxWindow
647 {
648 DECLARE_DYNAMIC_CLASS(wxPyWindow)
649 public:
650 wxPyWindow() : wxWindow() {}
651 wxPyWindow(wxWindow* parent, const wxWindowID id,
652 const wxPoint& pos = wxDefaultPosition,
653 const wxSize& size = wxDefaultSize,
654 long style = 0,
655 const wxString& name = wxPyPanelNameStr)
656 : wxWindow(parent, id, pos, size, style, name) {}
657
658
659 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
660 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
661 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
662 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
663
664 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
665 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
666 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
667
668 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
669 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
670
671 DEC_PYCALLBACK__(InitDialog);
672 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
673 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
674 DEC_PYCALLBACK_BOOL_(Validate);
675
676 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
677 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
678 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
679
680 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
681 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
682
683 PYPRIVATE;
684 };
685
686 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
687
688 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
689 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
690 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
691 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
692
693 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
694 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
695 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
696
697 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
698 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
699
700 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
701 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
702 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
703 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
704
705 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
706 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
707 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
708
709 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
710 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
711
712
713 // C++ version of Python aware wxPanel
714 class wxPyPanel : public wxPanel
715 {
716 DECLARE_DYNAMIC_CLASS(wxPyPanel)
717 public:
718 wxPyPanel() : wxPanel() {}
719 wxPyPanel(wxWindow* parent, const wxWindowID id,
720 const wxPoint& pos = wxDefaultPosition,
721 const wxSize& size = wxDefaultSize,
722 long style = 0,
723 const wxString& name = wxPyPanelNameStr)
724 : wxPanel(parent, id, pos, size, style, name) {}
725
726
727 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
728 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
729 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
730 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
731
732 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
733 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
734 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
735
736 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
737 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
738
739 DEC_PYCALLBACK__(InitDialog);
740 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
741 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
742 DEC_PYCALLBACK_BOOL_(Validate);
743
744 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
745 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
746 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
747
748 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
749 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
750
751 PYPRIVATE;
752 };
753
754 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
755
756 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
757 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
758 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
759 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
760
761 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
762 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
763 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
764
765 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
766 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
767
768 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
769 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
770 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
771 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
772
773 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
774 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
775 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
776
777 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
778 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
779
780
781
782 #include "wx/wxPython/printfw.h"
783
784
785 static const wxString wxPyPrintoutTitleStr(wxT(wxT("Printout")));
786 static const wxString wxPyPreviewCanvasNameStr(wxT(wxT("previewcanvas")));
787
788
789
790 // Since this one would be tough and ugly to do with the Macros...
791 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
792 bool hadErr = False;
793 bool found;
794
795 wxPyBeginBlockThreads();
796 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
797 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
798 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
799 PyObject* val;
800
801 val = PyTuple_GetItem(result, 0);
802 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
803 else hadErr = True;
804
805 val = PyTuple_GetItem(result, 1);
806 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
807 else hadErr = True;
808
809 val = PyTuple_GetItem(result, 2);
810 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
811 else hadErr = True;
812
813 val = PyTuple_GetItem(result, 3);
814 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
815 else hadErr = True;
816 }
817 else
818 hadErr = True;
819
820 if (hadErr) {
821 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
822 PyErr_Print();
823 }
824 Py_DECREF(result);
825 }
826 wxPyEndBlockThreads();
827 if (! found)
828 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
829 }
830
831 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
832 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
833 }
834
835
836 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
837 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
838 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
839 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
840 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
841 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
842 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
843
844
845
846
847
848 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
849 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
850 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
851
852
853 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
854 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
855 bool rval=False; \
856 bool found; \
857 wxPyBeginBlockThreads(); \
858 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
859 PyObject* win = wxPyMake_wxObject(a); \
860 PyObject* dc = wxPyMake_wxObject(&b); \
861 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
862 Py_DECREF(win); \
863 Py_DECREF(dc); \
864 } \
865 wxPyEndBlockThreads(); \
866 if (! found) \
867 rval = PCLASS::CBNAME(a, b); \
868 return rval; \
869 } \
870 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
871 return PCLASS::CBNAME(a, b); \
872 }
873
874
875
876
877 class wxPyPrintPreview : public wxPrintPreview
878 {
879 DECLARE_CLASS(wxPyPrintPreview)
880 public:
881 wxPyPrintPreview(wxPyPrintout* printout,
882 wxPyPrintout* printoutForPrinting,
883 wxPrintData* data=NULL)
884 : wxPrintPreview(printout, printoutForPrinting, data)
885 {}
886
887 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
888 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
889 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
890 DEC_PYCALLBACK_BOOL_INT(RenderPage);
891 DEC_PYCALLBACK_VOID_INT(SetZoom);
892 DEC_PYCALLBACK_BOOL_BOOL(Print);
893 DEC_PYCALLBACK_VOID_(DetermineScaling);
894
895 PYPRIVATE;
896 };
897
898 // Stupid renamed classes... Fix this in 2.5...
899 #if defined(__WXMSW__)
900 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
901 #elif defined(__WXMAC__)
902 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
903 #else
904 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
905 #endif
906
907 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
908 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
909 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
910 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
911 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
912 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
913 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
914
915
916 class wxPyPreviewFrame : public wxPreviewFrame
917 {
918 DECLARE_CLASS(wxPyPreviewFrame);
919 public:
920 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
921 const wxString& title,
922 const wxPoint& pos = wxDefaultPosition,
923 const wxSize& size = wxDefaultSize,
924 long style = wxDEFAULT_FRAME_STYLE,
925 const wxString& name = wxPyFrameNameStr)
926 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
927 {}
928
929 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
930 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
931
932 DEC_PYCALLBACK_VOID_(Initialize);
933 DEC_PYCALLBACK_VOID_(CreateCanvas);
934 DEC_PYCALLBACK_VOID_(CreateControlBar);
935
936 PYPRIVATE;
937 };
938
939 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
940
941 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
942 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
943 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
944
945
946 class wxPyPreviewControlBar : public wxPreviewControlBar
947 {
948 DECLARE_CLASS(wxPyPreviewControlBar);
949 public:
950 wxPyPreviewControlBar(wxPrintPreview *preview,
951 long buttons,
952 wxWindow *parent,
953 const wxPoint& pos = wxDefaultPosition,
954 const wxSize& size = wxDefaultSize,
955 long style = 0,
956 const wxString& name = wxPyPanelNameStr)
957 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
958 {}
959
960 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
961
962 DEC_PYCALLBACK_VOID_(CreateButtons);
963 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
964
965 PYPRIVATE;
966 };
967
968 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
969 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
970 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
971
972 #ifdef __cplusplus
973 extern "C" {
974 #endif
975 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
976 PyObject *resultobj;
977 wxWindow *arg1 = (wxWindow *) 0 ;
978 int arg2 = (int) (int)-1 ;
979 wxPoint const &arg3_defvalue = wxDefaultPosition ;
980 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
981 wxSize const &arg4_defvalue = wxDefaultSize ;
982 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
983 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
984 wxString const &arg6_defvalue = wxPyPanelNameStr ;
985 wxString *arg6 = (wxString *) &arg6_defvalue ;
986 wxPanel *result;
987 wxPoint temp3 ;
988 wxSize temp4 ;
989 bool temp6 = False ;
990 PyObject * obj0 = 0 ;
991 PyObject * obj2 = 0 ;
992 PyObject * obj3 = 0 ;
993 PyObject * obj5 = 0 ;
994 char *kwnames[] = {
995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
996 };
997
998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1000 if (obj2) {
1001 {
1002 arg3 = &temp3;
1003 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1004 }
1005 }
1006 if (obj3) {
1007 {
1008 arg4 = &temp4;
1009 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1010 }
1011 }
1012 if (obj5) {
1013 {
1014 arg6 = wxString_in_helper(obj5);
1015 if (arg6 == NULL) SWIG_fail;
1016 temp6 = True;
1017 }
1018 }
1019 {
1020 PyThreadState* __tstate = wxPyBeginAllowThreads();
1021 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1022
1023 wxPyEndAllowThreads(__tstate);
1024 if (PyErr_Occurred()) SWIG_fail;
1025 }
1026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1027 {
1028 if (temp6)
1029 delete arg6;
1030 }
1031 return resultobj;
1032 fail:
1033 {
1034 if (temp6)
1035 delete arg6;
1036 }
1037 return NULL;
1038 }
1039
1040
1041 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1042 PyObject *resultobj;
1043 wxPanel *result;
1044 char *kwnames[] = {
1045 NULL
1046 };
1047
1048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1049 {
1050 PyThreadState* __tstate = wxPyBeginAllowThreads();
1051 result = (wxPanel *)new wxPanel();
1052
1053 wxPyEndAllowThreads(__tstate);
1054 if (PyErr_Occurred()) SWIG_fail;
1055 }
1056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1057 return resultobj;
1058 fail:
1059 return NULL;
1060 }
1061
1062
1063 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1064 PyObject *resultobj;
1065 wxPanel *arg1 = (wxPanel *) 0 ;
1066 wxWindow *arg2 = (wxWindow *) 0 ;
1067 int arg3 ;
1068 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1069 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1070 wxSize const &arg5_defvalue = wxDefaultSize ;
1071 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1072 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1073 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1074 wxString *arg7 = (wxString *) &arg7_defvalue ;
1075 bool result;
1076 wxPoint temp4 ;
1077 wxSize temp5 ;
1078 bool temp7 = False ;
1079 PyObject * obj0 = 0 ;
1080 PyObject * obj1 = 0 ;
1081 PyObject * obj3 = 0 ;
1082 PyObject * obj4 = 0 ;
1083 PyObject * obj6 = 0 ;
1084 char *kwnames[] = {
1085 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1086 };
1087
1088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1091 if (obj3) {
1092 {
1093 arg4 = &temp4;
1094 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1095 }
1096 }
1097 if (obj4) {
1098 {
1099 arg5 = &temp5;
1100 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1101 }
1102 }
1103 if (obj6) {
1104 {
1105 arg7 = wxString_in_helper(obj6);
1106 if (arg7 == NULL) SWIG_fail;
1107 temp7 = True;
1108 }
1109 }
1110 {
1111 PyThreadState* __tstate = wxPyBeginAllowThreads();
1112 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1113
1114 wxPyEndAllowThreads(__tstate);
1115 if (PyErr_Occurred()) SWIG_fail;
1116 }
1117 resultobj = PyInt_FromLong((long)result);
1118 {
1119 if (temp7)
1120 delete arg7;
1121 }
1122 return resultobj;
1123 fail:
1124 {
1125 if (temp7)
1126 delete arg7;
1127 }
1128 return NULL;
1129 }
1130
1131
1132 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject *resultobj;
1134 wxPanel *arg1 = (wxPanel *) 0 ;
1135 PyObject * obj0 = 0 ;
1136 char *kwnames[] = {
1137 (char *) "self", NULL
1138 };
1139
1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1142 {
1143 PyThreadState* __tstate = wxPyBeginAllowThreads();
1144 (arg1)->InitDialog();
1145
1146 wxPyEndAllowThreads(__tstate);
1147 if (PyErr_Occurred()) SWIG_fail;
1148 }
1149 Py_INCREF(Py_None); resultobj = Py_None;
1150 return resultobj;
1151 fail:
1152 return NULL;
1153 }
1154
1155
1156 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1157 PyObject *obj;
1158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1159 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1160 Py_INCREF(obj);
1161 return Py_BuildValue((char *)"");
1162 }
1163 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1164 PyObject *resultobj;
1165 wxWindow *arg1 = (wxWindow *) 0 ;
1166 int arg2 = (int) (int)-1 ;
1167 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1168 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1169 wxSize const &arg4_defvalue = wxDefaultSize ;
1170 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1171 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1172 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1173 wxString *arg6 = (wxString *) &arg6_defvalue ;
1174 wxScrolledWindow *result;
1175 wxPoint temp3 ;
1176 wxSize temp4 ;
1177 bool temp6 = False ;
1178 PyObject * obj0 = 0 ;
1179 PyObject * obj2 = 0 ;
1180 PyObject * obj3 = 0 ;
1181 PyObject * obj5 = 0 ;
1182 char *kwnames[] = {
1183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1184 };
1185
1186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1188 if (obj2) {
1189 {
1190 arg3 = &temp3;
1191 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1192 }
1193 }
1194 if (obj3) {
1195 {
1196 arg4 = &temp4;
1197 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1198 }
1199 }
1200 if (obj5) {
1201 {
1202 arg6 = wxString_in_helper(obj5);
1203 if (arg6 == NULL) SWIG_fail;
1204 temp6 = True;
1205 }
1206 }
1207 {
1208 PyThreadState* __tstate = wxPyBeginAllowThreads();
1209 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1210
1211 wxPyEndAllowThreads(__tstate);
1212 if (PyErr_Occurred()) SWIG_fail;
1213 }
1214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1215 {
1216 if (temp6)
1217 delete arg6;
1218 }
1219 return resultobj;
1220 fail:
1221 {
1222 if (temp6)
1223 delete arg6;
1224 }
1225 return NULL;
1226 }
1227
1228
1229 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1230 PyObject *resultobj;
1231 wxScrolledWindow *result;
1232 char *kwnames[] = {
1233 NULL
1234 };
1235
1236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1237 {
1238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1239 result = (wxScrolledWindow *)new wxScrolledWindow();
1240
1241 wxPyEndAllowThreads(__tstate);
1242 if (PyErr_Occurred()) SWIG_fail;
1243 }
1244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1245 return resultobj;
1246 fail:
1247 return NULL;
1248 }
1249
1250
1251 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1252 PyObject *resultobj;
1253 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1254 wxWindow *arg2 = (wxWindow *) 0 ;
1255 int arg3 = (int) (int)-1 ;
1256 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1257 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1258 wxSize const &arg5_defvalue = wxDefaultSize ;
1259 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1260 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1261 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1262 wxString *arg7 = (wxString *) &arg7_defvalue ;
1263 bool result;
1264 wxPoint temp4 ;
1265 wxSize temp5 ;
1266 bool temp7 = False ;
1267 PyObject * obj0 = 0 ;
1268 PyObject * obj1 = 0 ;
1269 PyObject * obj3 = 0 ;
1270 PyObject * obj4 = 0 ;
1271 PyObject * obj6 = 0 ;
1272 char *kwnames[] = {
1273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1274 };
1275
1276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1279 if (obj3) {
1280 {
1281 arg4 = &temp4;
1282 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1283 }
1284 }
1285 if (obj4) {
1286 {
1287 arg5 = &temp5;
1288 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1289 }
1290 }
1291 if (obj6) {
1292 {
1293 arg7 = wxString_in_helper(obj6);
1294 if (arg7 == NULL) SWIG_fail;
1295 temp7 = True;
1296 }
1297 }
1298 {
1299 PyThreadState* __tstate = wxPyBeginAllowThreads();
1300 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1301
1302 wxPyEndAllowThreads(__tstate);
1303 if (PyErr_Occurred()) SWIG_fail;
1304 }
1305 resultobj = PyInt_FromLong((long)result);
1306 {
1307 if (temp7)
1308 delete arg7;
1309 }
1310 return resultobj;
1311 fail:
1312 {
1313 if (temp7)
1314 delete arg7;
1315 }
1316 return NULL;
1317 }
1318
1319
1320 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1321 PyObject *resultobj;
1322 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1323 int arg2 ;
1324 int arg3 ;
1325 int arg4 ;
1326 int arg5 ;
1327 int arg6 = (int) 0 ;
1328 int arg7 = (int) 0 ;
1329 bool arg8 = (bool) False ;
1330 PyObject * obj0 = 0 ;
1331 PyObject * obj7 = 0 ;
1332 char *kwnames[] = {
1333 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1334 };
1335
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1338 if (obj7) {
1339 arg8 = PyInt_AsLong(obj7) ? true : false;
1340 if (PyErr_Occurred()) SWIG_fail;
1341 }
1342 {
1343 PyThreadState* __tstate = wxPyBeginAllowThreads();
1344 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1345
1346 wxPyEndAllowThreads(__tstate);
1347 if (PyErr_Occurred()) SWIG_fail;
1348 }
1349 Py_INCREF(Py_None); resultobj = Py_None;
1350 return resultobj;
1351 fail:
1352 return NULL;
1353 }
1354
1355
1356 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1357 PyObject *resultobj;
1358 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1359 int arg2 ;
1360 int arg3 ;
1361 PyObject * obj0 = 0 ;
1362 char *kwnames[] = {
1363 (char *) "self",(char *) "x",(char *) "y", NULL
1364 };
1365
1366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1368 {
1369 PyThreadState* __tstate = wxPyBeginAllowThreads();
1370 (arg1)->Scroll(arg2,arg3);
1371
1372 wxPyEndAllowThreads(__tstate);
1373 if (PyErr_Occurred()) SWIG_fail;
1374 }
1375 Py_INCREF(Py_None); resultobj = Py_None;
1376 return resultobj;
1377 fail:
1378 return NULL;
1379 }
1380
1381
1382 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1383 PyObject *resultobj;
1384 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1385 int arg2 ;
1386 int result;
1387 PyObject * obj0 = 0 ;
1388 char *kwnames[] = {
1389 (char *) "self",(char *) "orient", NULL
1390 };
1391
1392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1394 {
1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
1396 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1397
1398 wxPyEndAllowThreads(__tstate);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 }
1401 resultobj = PyInt_FromLong((long)result);
1402 return resultobj;
1403 fail:
1404 return NULL;
1405 }
1406
1407
1408 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1409 PyObject *resultobj;
1410 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1411 int arg2 ;
1412 int arg3 ;
1413 PyObject * obj0 = 0 ;
1414 char *kwnames[] = {
1415 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1416 };
1417
1418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1420 {
1421 PyThreadState* __tstate = wxPyBeginAllowThreads();
1422 (arg1)->SetScrollPageSize(arg2,arg3);
1423
1424 wxPyEndAllowThreads(__tstate);
1425 if (PyErr_Occurred()) SWIG_fail;
1426 }
1427 Py_INCREF(Py_None); resultobj = Py_None;
1428 return resultobj;
1429 fail:
1430 return NULL;
1431 }
1432
1433
1434 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1435 PyObject *resultobj;
1436 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1437 int arg2 ;
1438 int arg3 ;
1439 PyObject * obj0 = 0 ;
1440 char *kwnames[] = {
1441 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1442 };
1443
1444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1446 {
1447 PyThreadState* __tstate = wxPyBeginAllowThreads();
1448 (arg1)->SetScrollRate(arg2,arg3);
1449
1450 wxPyEndAllowThreads(__tstate);
1451 if (PyErr_Occurred()) SWIG_fail;
1452 }
1453 Py_INCREF(Py_None); resultobj = Py_None;
1454 return resultobj;
1455 fail:
1456 return NULL;
1457 }
1458
1459
1460 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1461 PyObject *resultobj;
1462 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1463 int *arg2 = (int *) 0 ;
1464 int *arg3 = (int *) 0 ;
1465 int temp2 ;
1466 int temp3 ;
1467 PyObject * obj0 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "self", NULL
1470 };
1471
1472 arg2 = &temp2;
1473 arg3 = &temp3;
1474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1476 {
1477 PyThreadState* __tstate = wxPyBeginAllowThreads();
1478 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1479
1480 wxPyEndAllowThreads(__tstate);
1481 if (PyErr_Occurred()) SWIG_fail;
1482 }
1483 Py_INCREF(Py_None); resultobj = Py_None;
1484 {
1485 PyObject *o = PyInt_FromLong((long) (*arg2));
1486 resultobj = t_output_helper(resultobj,o);
1487 }
1488 {
1489 PyObject *o = PyInt_FromLong((long) (*arg3));
1490 resultobj = t_output_helper(resultobj,o);
1491 }
1492 return resultobj;
1493 fail:
1494 return NULL;
1495 }
1496
1497
1498 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1499 PyObject *resultobj;
1500 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1501 bool arg2 ;
1502 bool arg3 ;
1503 PyObject * obj0 = 0 ;
1504 PyObject * obj1 = 0 ;
1505 PyObject * obj2 = 0 ;
1506 char *kwnames[] = {
1507 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1508 };
1509
1510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1512 arg2 = PyInt_AsLong(obj1) ? true : false;
1513 if (PyErr_Occurred()) SWIG_fail;
1514 arg3 = PyInt_AsLong(obj2) ? true : false;
1515 if (PyErr_Occurred()) SWIG_fail;
1516 {
1517 PyThreadState* __tstate = wxPyBeginAllowThreads();
1518 (arg1)->EnableScrolling(arg2,arg3);
1519
1520 wxPyEndAllowThreads(__tstate);
1521 if (PyErr_Occurred()) SWIG_fail;
1522 }
1523 Py_INCREF(Py_None); resultobj = Py_None;
1524 return resultobj;
1525 fail:
1526 return NULL;
1527 }
1528
1529
1530 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1531 PyObject *resultobj;
1532 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1533 int *arg2 = (int *) 0 ;
1534 int *arg3 = (int *) 0 ;
1535 int temp2 ;
1536 int temp3 ;
1537 PyObject * obj0 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self", NULL
1540 };
1541
1542 arg2 = &temp2;
1543 arg3 = &temp3;
1544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) SWIG_fail;
1552 }
1553 Py_INCREF(Py_None); resultobj = Py_None;
1554 {
1555 PyObject *o = PyInt_FromLong((long) (*arg2));
1556 resultobj = t_output_helper(resultobj,o);
1557 }
1558 {
1559 PyObject *o = PyInt_FromLong((long) (*arg3));
1560 resultobj = t_output_helper(resultobj,o);
1561 }
1562 return resultobj;
1563 fail:
1564 return NULL;
1565 }
1566
1567
1568 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1569 PyObject *resultobj;
1570 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1571 double arg2 ;
1572 double arg3 ;
1573 PyObject * obj0 = 0 ;
1574 char *kwnames[] = {
1575 (char *) "self",(char *) "xs",(char *) "ys", NULL
1576 };
1577
1578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1580 {
1581 PyThreadState* __tstate = wxPyBeginAllowThreads();
1582 (arg1)->SetScale(arg2,arg3);
1583
1584 wxPyEndAllowThreads(__tstate);
1585 if (PyErr_Occurred()) SWIG_fail;
1586 }
1587 Py_INCREF(Py_None); resultobj = Py_None;
1588 return resultobj;
1589 fail:
1590 return NULL;
1591 }
1592
1593
1594 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1595 PyObject *resultobj;
1596 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1597 double result;
1598 PyObject * obj0 = 0 ;
1599 char *kwnames[] = {
1600 (char *) "self", NULL
1601 };
1602
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1605 {
1606 PyThreadState* __tstate = wxPyBeginAllowThreads();
1607 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1608
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 resultobj = PyFloat_FromDouble(result);
1613 return resultobj;
1614 fail:
1615 return NULL;
1616 }
1617
1618
1619 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1620 PyObject *resultobj;
1621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1622 double result;
1623 PyObject * obj0 = 0 ;
1624 char *kwnames[] = {
1625 (char *) "self", NULL
1626 };
1627
1628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1630 {
1631 PyThreadState* __tstate = wxPyBeginAllowThreads();
1632 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1633
1634 wxPyEndAllowThreads(__tstate);
1635 if (PyErr_Occurred()) SWIG_fail;
1636 }
1637 resultobj = PyFloat_FromDouble(result);
1638 return resultobj;
1639 fail:
1640 return NULL;
1641 }
1642
1643
1644 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1645 PyObject *resultobj;
1646 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1647 wxPoint *arg2 = 0 ;
1648 wxPoint result;
1649 wxPoint temp2 ;
1650 PyObject * obj0 = 0 ;
1651 PyObject * obj1 = 0 ;
1652
1653 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1655 {
1656 arg2 = &temp2;
1657 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1658 }
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
1661 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
1666 {
1667 wxPoint * resultptr;
1668 resultptr = new wxPoint((wxPoint &) result);
1669 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1670 }
1671 return resultobj;
1672 fail:
1673 return NULL;
1674 }
1675
1676
1677 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1678 PyObject *resultobj;
1679 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1680 int arg2 ;
1681 int arg3 ;
1682 int *arg4 = (int *) 0 ;
1683 int *arg5 = (int *) 0 ;
1684 int temp4 ;
1685 int temp5 ;
1686 PyObject * obj0 = 0 ;
1687
1688 arg4 = &temp4;
1689 arg5 = &temp5;
1690 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1692 {
1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
1694 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1695
1696 wxPyEndAllowThreads(__tstate);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
1699 Py_INCREF(Py_None); resultobj = Py_None;
1700 {
1701 PyObject *o = PyInt_FromLong((long) (*arg4));
1702 resultobj = t_output_helper(resultobj,o);
1703 }
1704 {
1705 PyObject *o = PyInt_FromLong((long) (*arg5));
1706 resultobj = t_output_helper(resultobj,o);
1707 }
1708 return resultobj;
1709 fail:
1710 return NULL;
1711 }
1712
1713
1714 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1715 int argc;
1716 PyObject *argv[4];
1717 int ii;
1718
1719 argc = PyObject_Length(args);
1720 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1721 argv[ii] = PyTuple_GetItem(args,ii);
1722 }
1723 if (argc == 2) {
1724 int _v;
1725 {
1726 void *ptr;
1727 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1728 _v = 0;
1729 PyErr_Clear();
1730 } else {
1731 _v = 1;
1732 }
1733 }
1734 if (_v) {
1735 {
1736 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1737 }
1738 if (_v) {
1739 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1740 }
1741 }
1742 }
1743 if (argc == 3) {
1744 int _v;
1745 {
1746 void *ptr;
1747 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1748 _v = 0;
1749 PyErr_Clear();
1750 } else {
1751 _v = 1;
1752 }
1753 }
1754 if (_v) {
1755 {
1756 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1757 }
1758 if (_v) {
1759 {
1760 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1761 }
1762 if (_v) {
1763 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1764 }
1765 }
1766 }
1767 }
1768
1769 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1770 return NULL;
1771 }
1772
1773
1774 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1775 PyObject *resultobj;
1776 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1777 wxPoint *arg2 = 0 ;
1778 wxPoint result;
1779 wxPoint temp2 ;
1780 PyObject * obj0 = 0 ;
1781 PyObject * obj1 = 0 ;
1782
1783 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1785 {
1786 arg2 = &temp2;
1787 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1788 }
1789 {
1790 PyThreadState* __tstate = wxPyBeginAllowThreads();
1791 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1792
1793 wxPyEndAllowThreads(__tstate);
1794 if (PyErr_Occurred()) SWIG_fail;
1795 }
1796 {
1797 wxPoint * resultptr;
1798 resultptr = new wxPoint((wxPoint &) result);
1799 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1800 }
1801 return resultobj;
1802 fail:
1803 return NULL;
1804 }
1805
1806
1807 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1808 PyObject *resultobj;
1809 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1810 int arg2 ;
1811 int arg3 ;
1812 int *arg4 = (int *) 0 ;
1813 int *arg5 = (int *) 0 ;
1814 int temp4 ;
1815 int temp5 ;
1816 PyObject * obj0 = 0 ;
1817
1818 arg4 = &temp4;
1819 arg5 = &temp5;
1820 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
1829 Py_INCREF(Py_None); resultobj = Py_None;
1830 {
1831 PyObject *o = PyInt_FromLong((long) (*arg4));
1832 resultobj = t_output_helper(resultobj,o);
1833 }
1834 {
1835 PyObject *o = PyInt_FromLong((long) (*arg5));
1836 resultobj = t_output_helper(resultobj,o);
1837 }
1838 return resultobj;
1839 fail:
1840 return NULL;
1841 }
1842
1843
1844 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1845 int argc;
1846 PyObject *argv[4];
1847 int ii;
1848
1849 argc = PyObject_Length(args);
1850 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1851 argv[ii] = PyTuple_GetItem(args,ii);
1852 }
1853 if (argc == 2) {
1854 int _v;
1855 {
1856 void *ptr;
1857 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1858 _v = 0;
1859 PyErr_Clear();
1860 } else {
1861 _v = 1;
1862 }
1863 }
1864 if (_v) {
1865 {
1866 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1867 }
1868 if (_v) {
1869 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1870 }
1871 }
1872 }
1873 if (argc == 3) {
1874 int _v;
1875 {
1876 void *ptr;
1877 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1878 _v = 0;
1879 PyErr_Clear();
1880 } else {
1881 _v = 1;
1882 }
1883 }
1884 if (_v) {
1885 {
1886 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1887 }
1888 if (_v) {
1889 {
1890 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1891 }
1892 if (_v) {
1893 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1894 }
1895 }
1896 }
1897 }
1898
1899 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1900 return NULL;
1901 }
1902
1903
1904 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1905 PyObject *resultobj;
1906 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1907 PyObject * obj0 = 0 ;
1908 char *kwnames[] = {
1909 (char *) "self", NULL
1910 };
1911
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1914 {
1915 PyThreadState* __tstate = wxPyBeginAllowThreads();
1916 (arg1)->AdjustScrollbars();
1917
1918 wxPyEndAllowThreads(__tstate);
1919 if (PyErr_Occurred()) SWIG_fail;
1920 }
1921 Py_INCREF(Py_None); resultobj = Py_None;
1922 return resultobj;
1923 fail:
1924 return NULL;
1925 }
1926
1927
1928 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1931 wxScrollWinEvent *arg2 = 0 ;
1932 int result;
1933 PyObject * obj0 = 0 ;
1934 PyObject * obj1 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self",(char *) "event", NULL
1937 };
1938
1939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1942 if (arg2 == NULL) {
1943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1944 }
1945 {
1946 PyThreadState* __tstate = wxPyBeginAllowThreads();
1947 result = (int)(arg1)->CalcScrollInc(*arg2);
1948
1949 wxPyEndAllowThreads(__tstate);
1950 if (PyErr_Occurred()) SWIG_fail;
1951 }
1952 resultobj = PyInt_FromLong((long)result);
1953 return resultobj;
1954 fail:
1955 return NULL;
1956 }
1957
1958
1959 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1960 PyObject *resultobj;
1961 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1962 wxWindow *arg2 = (wxWindow *) 0 ;
1963 PyObject * obj0 = 0 ;
1964 PyObject * obj1 = 0 ;
1965 char *kwnames[] = {
1966 (char *) "self",(char *) "target", NULL
1967 };
1968
1969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1971 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1972 {
1973 PyThreadState* __tstate = wxPyBeginAllowThreads();
1974 (arg1)->SetTargetWindow(arg2);
1975
1976 wxPyEndAllowThreads(__tstate);
1977 if (PyErr_Occurred()) SWIG_fail;
1978 }
1979 Py_INCREF(Py_None); resultobj = Py_None;
1980 return resultobj;
1981 fail:
1982 return NULL;
1983 }
1984
1985
1986 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1987 PyObject *resultobj;
1988 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1989 wxWindow *result;
1990 PyObject * obj0 = 0 ;
1991 char *kwnames[] = {
1992 (char *) "self", NULL
1993 };
1994
1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
1996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1997 {
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2000
2001 wxPyEndAllowThreads(__tstate);
2002 if (PyErr_Occurred()) SWIG_fail;
2003 }
2004 {
2005 resultobj = wxPyMake_wxObject(result);
2006 }
2007 return resultobj;
2008 fail:
2009 return NULL;
2010 }
2011
2012
2013 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2014 PyObject *resultobj;
2015 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2016 wxRect *arg2 = 0 ;
2017 wxRect temp2 ;
2018 PyObject * obj0 = 0 ;
2019 PyObject * obj1 = 0 ;
2020 char *kwnames[] = {
2021 (char *) "self",(char *) "rect", NULL
2022 };
2023
2024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2026 {
2027 arg2 = &temp2;
2028 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2029 }
2030 {
2031 PyThreadState* __tstate = wxPyBeginAllowThreads();
2032 (arg1)->SetTargetRect((wxRect const &)*arg2);
2033
2034 wxPyEndAllowThreads(__tstate);
2035 if (PyErr_Occurred()) SWIG_fail;
2036 }
2037 Py_INCREF(Py_None); resultobj = Py_None;
2038 return resultobj;
2039 fail:
2040 return NULL;
2041 }
2042
2043
2044 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2045 PyObject *resultobj;
2046 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2047 wxRect result;
2048 PyObject * obj0 = 0 ;
2049 char *kwnames[] = {
2050 (char *) "self", NULL
2051 };
2052
2053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 {
2063 wxRect * resultptr;
2064 resultptr = new wxRect((wxRect &) result);
2065 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2066 }
2067 return resultobj;
2068 fail:
2069 return NULL;
2070 }
2071
2072
2073 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2074 PyObject *obj;
2075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2076 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2077 Py_INCREF(obj);
2078 return Py_BuildValue((char *)"");
2079 }
2080 static int _wrap_FrameNameStr_set(PyObject *_val) {
2081 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2082 return 1;
2083 }
2084
2085
2086 static PyObject *_wrap_FrameNameStr_get() {
2087 PyObject *pyobj;
2088
2089 {
2090 #if wxUSE_UNICODE
2091 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2092 #else
2093 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2094 #endif
2095 }
2096 return pyobj;
2097 }
2098
2099
2100 static int _wrap_DialogNameStr_set(PyObject *_val) {
2101 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2102 return 1;
2103 }
2104
2105
2106 static PyObject *_wrap_DialogNameStr_get() {
2107 PyObject *pyobj;
2108
2109 {
2110 #if wxUSE_UNICODE
2111 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2112 #else
2113 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2114 #endif
2115 }
2116 return pyobj;
2117 }
2118
2119
2120 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2121 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2122 return 1;
2123 }
2124
2125
2126 static PyObject *_wrap_StatusLineNameStr_get() {
2127 PyObject *pyobj;
2128
2129 {
2130 #if wxUSE_UNICODE
2131 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2132 #else
2133 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2134 #endif
2135 }
2136 return pyobj;
2137 }
2138
2139
2140 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2141 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2142 return 1;
2143 }
2144
2145
2146 static PyObject *_wrap_ToolBarNameStr_get() {
2147 PyObject *pyobj;
2148
2149 {
2150 #if wxUSE_UNICODE
2151 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2152 #else
2153 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2154 #endif
2155 }
2156 return pyobj;
2157 }
2158
2159
2160 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2161 PyObject *resultobj;
2162 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2163 bool arg2 = (bool) True ;
2164 PyObject * obj0 = 0 ;
2165 PyObject * obj1 = 0 ;
2166 char *kwnames[] = {
2167 (char *) "self",(char *) "maximize", NULL
2168 };
2169
2170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2172 if (obj1) {
2173 arg2 = PyInt_AsLong(obj1) ? true : false;
2174 if (PyErr_Occurred()) SWIG_fail;
2175 }
2176 {
2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
2178 (arg1)->Maximize(arg2);
2179
2180 wxPyEndAllowThreads(__tstate);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 Py_INCREF(Py_None); resultobj = Py_None;
2184 return resultobj;
2185 fail:
2186 return NULL;
2187 }
2188
2189
2190 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2193 PyObject * obj0 = 0 ;
2194 char *kwnames[] = {
2195 (char *) "self", NULL
2196 };
2197
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2200 {
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 (arg1)->Restore();
2203
2204 wxPyEndAllowThreads(__tstate);
2205 if (PyErr_Occurred()) SWIG_fail;
2206 }
2207 Py_INCREF(Py_None); resultobj = Py_None;
2208 return resultobj;
2209 fail:
2210 return NULL;
2211 }
2212
2213
2214 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2215 PyObject *resultobj;
2216 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2217 bool arg2 = (bool) True ;
2218 PyObject * obj0 = 0 ;
2219 PyObject * obj1 = 0 ;
2220 char *kwnames[] = {
2221 (char *) "self",(char *) "iconize", NULL
2222 };
2223
2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2226 if (obj1) {
2227 arg2 = PyInt_AsLong(obj1) ? true : false;
2228 if (PyErr_Occurred()) SWIG_fail;
2229 }
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 (arg1)->Iconize(arg2);
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 Py_INCREF(Py_None); resultobj = Py_None;
2238 return resultobj;
2239 fail:
2240 return NULL;
2241 }
2242
2243
2244 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2245 PyObject *resultobj;
2246 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2247 bool result;
2248 PyObject * obj0 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2255 {
2256 PyThreadState* __tstate = wxPyBeginAllowThreads();
2257 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2258
2259 wxPyEndAllowThreads(__tstate);
2260 if (PyErr_Occurred()) SWIG_fail;
2261 }
2262 resultobj = PyInt_FromLong((long)result);
2263 return resultobj;
2264 fail:
2265 return NULL;
2266 }
2267
2268
2269 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2270 PyObject *resultobj;
2271 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2272 bool result;
2273 PyObject * obj0 = 0 ;
2274 char *kwnames[] = {
2275 (char *) "self", NULL
2276 };
2277
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2280 {
2281 PyThreadState* __tstate = wxPyBeginAllowThreads();
2282 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2283
2284 wxPyEndAllowThreads(__tstate);
2285 if (PyErr_Occurred()) SWIG_fail;
2286 }
2287 resultobj = PyInt_FromLong((long)result);
2288 return resultobj;
2289 fail:
2290 return NULL;
2291 }
2292
2293
2294 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2295 PyObject *resultobj;
2296 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2297 wxIcon result;
2298 PyObject * obj0 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "self", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 {
2313 wxIcon * resultptr;
2314 resultptr = new wxIcon((wxIcon &) result);
2315 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2316 }
2317 return resultobj;
2318 fail:
2319 return NULL;
2320 }
2321
2322
2323 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2324 PyObject *resultobj;
2325 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2326 wxIcon *arg2 = 0 ;
2327 PyObject * obj0 = 0 ;
2328 PyObject * obj1 = 0 ;
2329 char *kwnames[] = {
2330 (char *) "self",(char *) "icon", NULL
2331 };
2332
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2336 if (arg2 == NULL) {
2337 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2338 }
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 (arg1)->SetIcon((wxIcon const &)*arg2);
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 Py_INCREF(Py_None); resultobj = Py_None;
2347 return resultobj;
2348 fail:
2349 return NULL;
2350 }
2351
2352
2353 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2354 PyObject *resultobj;
2355 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2356 wxIconBundle *arg2 = 0 ;
2357 PyObject * obj0 = 0 ;
2358 PyObject * obj1 = 0 ;
2359 char *kwnames[] = {
2360 (char *) "self",(char *) "icons", NULL
2361 };
2362
2363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2366 if (arg2 == NULL) {
2367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2368 }
2369 {
2370 PyThreadState* __tstate = wxPyBeginAllowThreads();
2371 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2372
2373 wxPyEndAllowThreads(__tstate);
2374 if (PyErr_Occurred()) SWIG_fail;
2375 }
2376 Py_INCREF(Py_None); resultobj = Py_None;
2377 return resultobj;
2378 fail:
2379 return NULL;
2380 }
2381
2382
2383 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2384 PyObject *resultobj;
2385 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2386 bool arg2 ;
2387 long arg3 = (long) wxFULLSCREEN_ALL ;
2388 bool result;
2389 PyObject * obj0 = 0 ;
2390 PyObject * obj1 = 0 ;
2391 char *kwnames[] = {
2392 (char *) "self",(char *) "show",(char *) "style", NULL
2393 };
2394
2395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2397 arg2 = PyInt_AsLong(obj1) ? true : false;
2398 if (PyErr_Occurred()) SWIG_fail;
2399 {
2400 PyThreadState* __tstate = wxPyBeginAllowThreads();
2401 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2402
2403 wxPyEndAllowThreads(__tstate);
2404 if (PyErr_Occurred()) SWIG_fail;
2405 }
2406 resultobj = PyInt_FromLong((long)result);
2407 return resultobj;
2408 fail:
2409 return NULL;
2410 }
2411
2412
2413 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2414 PyObject *resultobj;
2415 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2416 bool result;
2417 PyObject * obj0 = 0 ;
2418 char *kwnames[] = {
2419 (char *) "self", NULL
2420 };
2421
2422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2424 {
2425 PyThreadState* __tstate = wxPyBeginAllowThreads();
2426 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2427
2428 wxPyEndAllowThreads(__tstate);
2429 if (PyErr_Occurred()) SWIG_fail;
2430 }
2431 resultobj = PyInt_FromLong((long)result);
2432 return resultobj;
2433 fail:
2434 return NULL;
2435 }
2436
2437
2438 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2439 PyObject *resultobj;
2440 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2441 wxString *arg2 = 0 ;
2442 bool temp2 = False ;
2443 PyObject * obj0 = 0 ;
2444 PyObject * obj1 = 0 ;
2445 char *kwnames[] = {
2446 (char *) "self",(char *) "title", NULL
2447 };
2448
2449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2451 {
2452 arg2 = wxString_in_helper(obj1);
2453 if (arg2 == NULL) SWIG_fail;
2454 temp2 = True;
2455 }
2456 {
2457 PyThreadState* __tstate = wxPyBeginAllowThreads();
2458 (arg1)->SetTitle((wxString const &)*arg2);
2459
2460 wxPyEndAllowThreads(__tstate);
2461 if (PyErr_Occurred()) SWIG_fail;
2462 }
2463 Py_INCREF(Py_None); resultobj = Py_None;
2464 {
2465 if (temp2)
2466 delete arg2;
2467 }
2468 return resultobj;
2469 fail:
2470 {
2471 if (temp2)
2472 delete arg2;
2473 }
2474 return NULL;
2475 }
2476
2477
2478 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2479 PyObject *resultobj;
2480 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2481 wxString result;
2482 PyObject * obj0 = 0 ;
2483 char *kwnames[] = {
2484 (char *) "self", NULL
2485 };
2486
2487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2489 {
2490 PyThreadState* __tstate = wxPyBeginAllowThreads();
2491 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2492
2493 wxPyEndAllowThreads(__tstate);
2494 if (PyErr_Occurred()) SWIG_fail;
2495 }
2496 {
2497 #if wxUSE_UNICODE
2498 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2499 #else
2500 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2501 #endif
2502 }
2503 return resultobj;
2504 fail:
2505 return NULL;
2506 }
2507
2508
2509 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2510 PyObject *resultobj;
2511 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2512 wxRegion *arg2 = 0 ;
2513 bool result;
2514 PyObject * obj0 = 0 ;
2515 PyObject * obj1 = 0 ;
2516 char *kwnames[] = {
2517 (char *) "self",(char *) "region", NULL
2518 };
2519
2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2523 if (arg2 == NULL) {
2524 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2525 }
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 }
2533 resultobj = PyInt_FromLong((long)result);
2534 return resultobj;
2535 fail:
2536 return NULL;
2537 }
2538
2539
2540 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2541 PyObject *obj;
2542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2543 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2544 Py_INCREF(obj);
2545 return Py_BuildValue((char *)"");
2546 }
2547 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2548 PyObject *resultobj;
2549 wxWindow *arg1 = (wxWindow *) 0 ;
2550 int arg2 ;
2551 wxString *arg3 = 0 ;
2552 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2553 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2554 wxSize const &arg5_defvalue = wxDefaultSize ;
2555 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2556 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2557 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2558 wxString *arg7 = (wxString *) &arg7_defvalue ;
2559 wxFrame *result;
2560 bool temp3 = False ;
2561 wxPoint temp4 ;
2562 wxSize temp5 ;
2563 bool temp7 = False ;
2564 PyObject * obj0 = 0 ;
2565 PyObject * obj2 = 0 ;
2566 PyObject * obj3 = 0 ;
2567 PyObject * obj4 = 0 ;
2568 PyObject * obj6 = 0 ;
2569 char *kwnames[] = {
2570 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2571 };
2572
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2575 {
2576 arg3 = wxString_in_helper(obj2);
2577 if (arg3 == NULL) SWIG_fail;
2578 temp3 = True;
2579 }
2580 if (obj3) {
2581 {
2582 arg4 = &temp4;
2583 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2584 }
2585 }
2586 if (obj4) {
2587 {
2588 arg5 = &temp5;
2589 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2590 }
2591 }
2592 if (obj6) {
2593 {
2594 arg7 = wxString_in_helper(obj6);
2595 if (arg7 == NULL) SWIG_fail;
2596 temp7 = True;
2597 }
2598 }
2599 {
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 {
2607 resultobj = wxPyMake_wxObject(result);
2608 }
2609 {
2610 if (temp3)
2611 delete arg3;
2612 }
2613 {
2614 if (temp7)
2615 delete arg7;
2616 }
2617 return resultobj;
2618 fail:
2619 {
2620 if (temp3)
2621 delete arg3;
2622 }
2623 {
2624 if (temp7)
2625 delete arg7;
2626 }
2627 return NULL;
2628 }
2629
2630
2631 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2632 PyObject *resultobj;
2633 wxFrame *result;
2634 char *kwnames[] = {
2635 NULL
2636 };
2637
2638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2639 {
2640 PyThreadState* __tstate = wxPyBeginAllowThreads();
2641 result = (wxFrame *)new wxFrame();
2642
2643 wxPyEndAllowThreads(__tstate);
2644 if (PyErr_Occurred()) SWIG_fail;
2645 }
2646 {
2647 resultobj = wxPyMake_wxObject(result);
2648 }
2649 return resultobj;
2650 fail:
2651 return NULL;
2652 }
2653
2654
2655 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2656 PyObject *resultobj;
2657 wxFrame *arg1 = (wxFrame *) 0 ;
2658 wxWindow *arg2 = (wxWindow *) 0 ;
2659 int arg3 ;
2660 wxString *arg4 = 0 ;
2661 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2662 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2663 wxSize const &arg6_defvalue = wxDefaultSize ;
2664 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2665 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2666 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2667 wxString *arg8 = (wxString *) &arg8_defvalue ;
2668 bool result;
2669 bool temp4 = False ;
2670 wxPoint temp5 ;
2671 wxSize temp6 ;
2672 bool temp8 = False ;
2673 PyObject * obj0 = 0 ;
2674 PyObject * obj1 = 0 ;
2675 PyObject * obj3 = 0 ;
2676 PyObject * obj4 = 0 ;
2677 PyObject * obj5 = 0 ;
2678 PyObject * obj7 = 0 ;
2679 char *kwnames[] = {
2680 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2681 };
2682
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2686 {
2687 arg4 = wxString_in_helper(obj3);
2688 if (arg4 == NULL) SWIG_fail;
2689 temp4 = True;
2690 }
2691 if (obj4) {
2692 {
2693 arg5 = &temp5;
2694 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2695 }
2696 }
2697 if (obj5) {
2698 {
2699 arg6 = &temp6;
2700 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2701 }
2702 }
2703 if (obj7) {
2704 {
2705 arg8 = wxString_in_helper(obj7);
2706 if (arg8 == NULL) SWIG_fail;
2707 temp8 = True;
2708 }
2709 }
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 resultobj = PyInt_FromLong((long)result);
2718 {
2719 if (temp4)
2720 delete arg4;
2721 }
2722 {
2723 if (temp8)
2724 delete arg8;
2725 }
2726 return resultobj;
2727 fail:
2728 {
2729 if (temp4)
2730 delete arg4;
2731 }
2732 {
2733 if (temp8)
2734 delete arg8;
2735 }
2736 return NULL;
2737 }
2738
2739
2740 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2741 PyObject *resultobj;
2742 wxFrame *arg1 = (wxFrame *) 0 ;
2743 wxPoint result;
2744 PyObject * obj0 = 0 ;
2745 char *kwnames[] = {
2746 (char *) "self", NULL
2747 };
2748
2749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2751 {
2752 PyThreadState* __tstate = wxPyBeginAllowThreads();
2753 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2754
2755 wxPyEndAllowThreads(__tstate);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 }
2758 {
2759 wxPoint * resultptr;
2760 resultptr = new wxPoint((wxPoint &) result);
2761 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2762 }
2763 return resultobj;
2764 fail:
2765 return NULL;
2766 }
2767
2768
2769 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2770 PyObject *resultobj;
2771 wxFrame *arg1 = (wxFrame *) 0 ;
2772 PyObject * obj0 = 0 ;
2773 char *kwnames[] = {
2774 (char *) "self", NULL
2775 };
2776
2777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2779 {
2780 PyThreadState* __tstate = wxPyBeginAllowThreads();
2781 (arg1)->SendSizeEvent();
2782
2783 wxPyEndAllowThreads(__tstate);
2784 if (PyErr_Occurred()) SWIG_fail;
2785 }
2786 Py_INCREF(Py_None); resultobj = Py_None;
2787 return resultobj;
2788 fail:
2789 return NULL;
2790 }
2791
2792
2793 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2794 PyObject *resultobj;
2795 wxFrame *arg1 = (wxFrame *) 0 ;
2796 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2797 PyObject * obj0 = 0 ;
2798 PyObject * obj1 = 0 ;
2799 char *kwnames[] = {
2800 (char *) "self",(char *) "menubar", NULL
2801 };
2802
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2805 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2806 {
2807 PyThreadState* __tstate = wxPyBeginAllowThreads();
2808 (arg1)->SetMenuBar(arg2);
2809
2810 wxPyEndAllowThreads(__tstate);
2811 if (PyErr_Occurred()) SWIG_fail;
2812 }
2813 Py_INCREF(Py_None); resultobj = Py_None;
2814 return resultobj;
2815 fail:
2816 return NULL;
2817 }
2818
2819
2820 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2821 PyObject *resultobj;
2822 wxFrame *arg1 = (wxFrame *) 0 ;
2823 wxMenuBar *result;
2824 PyObject * obj0 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "self", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2831 {
2832 PyThreadState* __tstate = wxPyBeginAllowThreads();
2833 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2834
2835 wxPyEndAllowThreads(__tstate);
2836 if (PyErr_Occurred()) SWIG_fail;
2837 }
2838 {
2839 resultobj = wxPyMake_wxObject(result);
2840 }
2841 return resultobj;
2842 fail:
2843 return NULL;
2844 }
2845
2846
2847 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2848 PyObject *resultobj;
2849 wxFrame *arg1 = (wxFrame *) 0 ;
2850 int arg2 ;
2851 bool result;
2852 PyObject * obj0 = 0 ;
2853 char *kwnames[] = {
2854 (char *) "self",(char *) "winid", NULL
2855 };
2856
2857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2859 {
2860 PyThreadState* __tstate = wxPyBeginAllowThreads();
2861 result = (bool)(arg1)->ProcessCommand(arg2);
2862
2863 wxPyEndAllowThreads(__tstate);
2864 if (PyErr_Occurred()) SWIG_fail;
2865 }
2866 resultobj = PyInt_FromLong((long)result);
2867 return resultobj;
2868 fail:
2869 return NULL;
2870 }
2871
2872
2873 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2874 PyObject *resultobj;
2875 wxFrame *arg1 = (wxFrame *) 0 ;
2876 int arg2 = (int) 1 ;
2877 long arg3 = (long) wxST_SIZEGRIP ;
2878 int arg4 = (int) 0 ;
2879 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2880 wxString *arg5 = (wxString *) &arg5_defvalue ;
2881 wxStatusBar *result;
2882 bool temp5 = False ;
2883 PyObject * obj0 = 0 ;
2884 PyObject * obj4 = 0 ;
2885 char *kwnames[] = {
2886 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2887 };
2888
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2891 if (obj4) {
2892 {
2893 arg5 = wxString_in_helper(obj4);
2894 if (arg5 == NULL) SWIG_fail;
2895 temp5 = True;
2896 }
2897 }
2898 {
2899 PyThreadState* __tstate = wxPyBeginAllowThreads();
2900 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2901
2902 wxPyEndAllowThreads(__tstate);
2903 if (PyErr_Occurred()) SWIG_fail;
2904 }
2905 {
2906 resultobj = wxPyMake_wxObject(result);
2907 }
2908 {
2909 if (temp5)
2910 delete arg5;
2911 }
2912 return resultobj;
2913 fail:
2914 {
2915 if (temp5)
2916 delete arg5;
2917 }
2918 return NULL;
2919 }
2920
2921
2922 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2923 PyObject *resultobj;
2924 wxFrame *arg1 = (wxFrame *) 0 ;
2925 wxStatusBar *result;
2926 PyObject * obj0 = 0 ;
2927 char *kwnames[] = {
2928 (char *) "self", NULL
2929 };
2930
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2933 {
2934 PyThreadState* __tstate = wxPyBeginAllowThreads();
2935 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2936
2937 wxPyEndAllowThreads(__tstate);
2938 if (PyErr_Occurred()) SWIG_fail;
2939 }
2940 {
2941 resultobj = wxPyMake_wxObject(result);
2942 }
2943 return resultobj;
2944 fail:
2945 return NULL;
2946 }
2947
2948
2949 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj;
2951 wxFrame *arg1 = (wxFrame *) 0 ;
2952 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2953 PyObject * obj0 = 0 ;
2954 PyObject * obj1 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self",(char *) "statBar", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
2964 (arg1)->SetStatusBar(arg2);
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 Py_INCREF(Py_None); resultobj = Py_None;
2970 return resultobj;
2971 fail:
2972 return NULL;
2973 }
2974
2975
2976 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2977 PyObject *resultobj;
2978 wxFrame *arg1 = (wxFrame *) 0 ;
2979 wxString *arg2 = 0 ;
2980 int arg3 = (int) 0 ;
2981 bool temp2 = False ;
2982 PyObject * obj0 = 0 ;
2983 PyObject * obj1 = 0 ;
2984 char *kwnames[] = {
2985 (char *) "self",(char *) "text",(char *) "number", NULL
2986 };
2987
2988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2990 {
2991 arg2 = wxString_in_helper(obj1);
2992 if (arg2 == NULL) SWIG_fail;
2993 temp2 = True;
2994 }
2995 {
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2998
2999 wxPyEndAllowThreads(__tstate);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 Py_INCREF(Py_None); resultobj = Py_None;
3003 {
3004 if (temp2)
3005 delete arg2;
3006 }
3007 return resultobj;
3008 fail:
3009 {
3010 if (temp2)
3011 delete arg2;
3012 }
3013 return NULL;
3014 }
3015
3016
3017 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj;
3019 wxFrame *arg1 = (wxFrame *) 0 ;
3020 int arg2 ;
3021 int *arg3 = (int *) 0 ;
3022 PyObject * obj0 = 0 ;
3023 PyObject * obj1 = 0 ;
3024 char *kwnames[] = {
3025 (char *) "self",(char *) "widths", NULL
3026 };
3027
3028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3030 {
3031 arg2 = PyList_Size(obj1);
3032 arg3 = int_LIST_helper(obj1);
3033 if (arg3 == NULL) SWIG_fail;
3034 }
3035 {
3036 PyThreadState* __tstate = wxPyBeginAllowThreads();
3037 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3038
3039 wxPyEndAllowThreads(__tstate);
3040 if (PyErr_Occurred()) SWIG_fail;
3041 }
3042 Py_INCREF(Py_None); resultobj = Py_None;
3043 {
3044 if (arg3) delete [] arg3;
3045 }
3046 return resultobj;
3047 fail:
3048 {
3049 if (arg3) delete [] arg3;
3050 }
3051 return NULL;
3052 }
3053
3054
3055 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3056 PyObject *resultobj;
3057 wxFrame *arg1 = (wxFrame *) 0 ;
3058 wxString *arg2 = 0 ;
3059 int arg3 = (int) 0 ;
3060 bool temp2 = False ;
3061 PyObject * obj0 = 0 ;
3062 PyObject * obj1 = 0 ;
3063 char *kwnames[] = {
3064 (char *) "self",(char *) "text",(char *) "number", NULL
3065 };
3066
3067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3069 {
3070 arg2 = wxString_in_helper(obj1);
3071 if (arg2 == NULL) SWIG_fail;
3072 temp2 = True;
3073 }
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3077
3078 wxPyEndAllowThreads(__tstate);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 }
3081 Py_INCREF(Py_None); resultobj = Py_None;
3082 {
3083 if (temp2)
3084 delete arg2;
3085 }
3086 return resultobj;
3087 fail:
3088 {
3089 if (temp2)
3090 delete arg2;
3091 }
3092 return NULL;
3093 }
3094
3095
3096 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3097 PyObject *resultobj;
3098 wxFrame *arg1 = (wxFrame *) 0 ;
3099 int arg2 = (int) 0 ;
3100 PyObject * obj0 = 0 ;
3101 char *kwnames[] = {
3102 (char *) "self",(char *) "number", NULL
3103 };
3104
3105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3107 {
3108 PyThreadState* __tstate = wxPyBeginAllowThreads();
3109 (arg1)->PopStatusText(arg2);
3110
3111 wxPyEndAllowThreads(__tstate);
3112 if (PyErr_Occurred()) SWIG_fail;
3113 }
3114 Py_INCREF(Py_None); resultobj = Py_None;
3115 return resultobj;
3116 fail:
3117 return NULL;
3118 }
3119
3120
3121 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3122 PyObject *resultobj;
3123 wxFrame *arg1 = (wxFrame *) 0 ;
3124 int arg2 ;
3125 PyObject * obj0 = 0 ;
3126 char *kwnames[] = {
3127 (char *) "self",(char *) "n", NULL
3128 };
3129
3130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3132 {
3133 PyThreadState* __tstate = wxPyBeginAllowThreads();
3134 (arg1)->SetStatusBarPane(arg2);
3135
3136 wxPyEndAllowThreads(__tstate);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
3139 Py_INCREF(Py_None); resultobj = Py_None;
3140 return resultobj;
3141 fail:
3142 return NULL;
3143 }
3144
3145
3146 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3147 PyObject *resultobj;
3148 wxFrame *arg1 = (wxFrame *) 0 ;
3149 int result;
3150 PyObject * obj0 = 0 ;
3151 char *kwnames[] = {
3152 (char *) "self", NULL
3153 };
3154
3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3157 {
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
3164 resultobj = PyInt_FromLong((long)result);
3165 return resultobj;
3166 fail:
3167 return NULL;
3168 }
3169
3170
3171 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3172 PyObject *resultobj;
3173 wxFrame *arg1 = (wxFrame *) 0 ;
3174 long arg2 = (long) -1 ;
3175 int arg3 = (int) -1 ;
3176 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3177 wxString *arg4 = (wxString *) &arg4_defvalue ;
3178 wxToolBar *result;
3179 bool temp4 = False ;
3180 PyObject * obj0 = 0 ;
3181 PyObject * obj3 = 0 ;
3182 char *kwnames[] = {
3183 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3184 };
3185
3186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3188 if (obj3) {
3189 {
3190 arg4 = wxString_in_helper(obj3);
3191 if (arg4 == NULL) SWIG_fail;
3192 temp4 = True;
3193 }
3194 }
3195 {
3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
3197 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3198
3199 wxPyEndAllowThreads(__tstate);
3200 if (PyErr_Occurred()) SWIG_fail;
3201 }
3202 {
3203 resultobj = wxPyMake_wxObject(result);
3204 }
3205 {
3206 if (temp4)
3207 delete arg4;
3208 }
3209 return resultobj;
3210 fail:
3211 {
3212 if (temp4)
3213 delete arg4;
3214 }
3215 return NULL;
3216 }
3217
3218
3219 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3220 PyObject *resultobj;
3221 wxFrame *arg1 = (wxFrame *) 0 ;
3222 wxToolBar *result;
3223 PyObject * obj0 = 0 ;
3224 char *kwnames[] = {
3225 (char *) "self", NULL
3226 };
3227
3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3230 {
3231 PyThreadState* __tstate = wxPyBeginAllowThreads();
3232 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3233
3234 wxPyEndAllowThreads(__tstate);
3235 if (PyErr_Occurred()) SWIG_fail;
3236 }
3237 {
3238 resultobj = wxPyMake_wxObject(result);
3239 }
3240 return resultobj;
3241 fail:
3242 return NULL;
3243 }
3244
3245
3246 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3247 PyObject *resultobj;
3248 wxFrame *arg1 = (wxFrame *) 0 ;
3249 wxToolBar *arg2 = (wxToolBar *) 0 ;
3250 PyObject * obj0 = 0 ;
3251 PyObject * obj1 = 0 ;
3252 char *kwnames[] = {
3253 (char *) "self",(char *) "toolbar", NULL
3254 };
3255
3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3259 {
3260 PyThreadState* __tstate = wxPyBeginAllowThreads();
3261 (arg1)->SetToolBar(arg2);
3262
3263 wxPyEndAllowThreads(__tstate);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 Py_INCREF(Py_None); resultobj = Py_None;
3267 return resultobj;
3268 fail:
3269 return NULL;
3270 }
3271
3272
3273 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3274 PyObject *resultobj;
3275 wxFrame *arg1 = (wxFrame *) 0 ;
3276 wxString *arg2 = 0 ;
3277 bool arg3 ;
3278 bool temp2 = False ;
3279 PyObject * obj0 = 0 ;
3280 PyObject * obj1 = 0 ;
3281 PyObject * obj2 = 0 ;
3282 char *kwnames[] = {
3283 (char *) "self",(char *) "text",(char *) "show", NULL
3284 };
3285
3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3288 {
3289 arg2 = wxString_in_helper(obj1);
3290 if (arg2 == NULL) SWIG_fail;
3291 temp2 = True;
3292 }
3293 arg3 = PyInt_AsLong(obj2) ? true : false;
3294 if (PyErr_Occurred()) SWIG_fail;
3295 {
3296 PyThreadState* __tstate = wxPyBeginAllowThreads();
3297 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3298
3299 wxPyEndAllowThreads(__tstate);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
3302 Py_INCREF(Py_None); resultobj = Py_None;
3303 {
3304 if (temp2)
3305 delete arg2;
3306 }
3307 return resultobj;
3308 fail:
3309 {
3310 if (temp2)
3311 delete arg2;
3312 }
3313 return NULL;
3314 }
3315
3316
3317 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3318 PyObject *resultobj;
3319 wxFrame *arg1 = (wxFrame *) 0 ;
3320 wxMenu *arg2 = (wxMenu *) NULL ;
3321 PyObject * obj0 = 0 ;
3322 PyObject * obj1 = 0 ;
3323 char *kwnames[] = {
3324 (char *) "self",(char *) "menu", NULL
3325 };
3326
3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3329 if (obj1) {
3330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3331 }
3332 {
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 (arg1)->DoMenuUpdates(arg2);
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 Py_INCREF(Py_None); resultobj = Py_None;
3340 return resultobj;
3341 fail:
3342 return NULL;
3343 }
3344
3345
3346 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3347 PyObject *obj;
3348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3349 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3350 Py_INCREF(obj);
3351 return Py_BuildValue((char *)"");
3352 }
3353 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3354 PyObject *resultobj;
3355 wxWindow *arg1 = (wxWindow *) 0 ;
3356 int arg2 ;
3357 wxString *arg3 = 0 ;
3358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3360 wxSize const &arg5_defvalue = wxDefaultSize ;
3361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3362 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3363 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3364 wxString *arg7 = (wxString *) &arg7_defvalue ;
3365 wxDialog *result;
3366 bool temp3 = False ;
3367 wxPoint temp4 ;
3368 wxSize temp5 ;
3369 bool temp7 = False ;
3370 PyObject * obj0 = 0 ;
3371 PyObject * obj2 = 0 ;
3372 PyObject * obj3 = 0 ;
3373 PyObject * obj4 = 0 ;
3374 PyObject * obj6 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3381 {
3382 arg3 = wxString_in_helper(obj2);
3383 if (arg3 == NULL) SWIG_fail;
3384 temp3 = True;
3385 }
3386 if (obj3) {
3387 {
3388 arg4 = &temp4;
3389 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3390 }
3391 }
3392 if (obj4) {
3393 {
3394 arg5 = &temp5;
3395 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3396 }
3397 }
3398 if (obj6) {
3399 {
3400 arg7 = wxString_in_helper(obj6);
3401 if (arg7 == NULL) SWIG_fail;
3402 temp7 = True;
3403 }
3404 }
3405 {
3406 PyThreadState* __tstate = wxPyBeginAllowThreads();
3407 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3408
3409 wxPyEndAllowThreads(__tstate);
3410 if (PyErr_Occurred()) SWIG_fail;
3411 }
3412 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3413 {
3414 if (temp3)
3415 delete arg3;
3416 }
3417 {
3418 if (temp7)
3419 delete arg7;
3420 }
3421 return resultobj;
3422 fail:
3423 {
3424 if (temp3)
3425 delete arg3;
3426 }
3427 {
3428 if (temp7)
3429 delete arg7;
3430 }
3431 return NULL;
3432 }
3433
3434
3435 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3436 PyObject *resultobj;
3437 wxDialog *result;
3438 char *kwnames[] = {
3439 NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3443 {
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 result = (wxDialog *)new wxDialog();
3446
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3451 return resultobj;
3452 fail:
3453 return NULL;
3454 }
3455
3456
3457 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxDialog *arg1 = (wxDialog *) 0 ;
3460 wxWindow *arg2 = (wxWindow *) 0 ;
3461 int arg3 ;
3462 wxString *arg4 = 0 ;
3463 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3464 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3465 wxSize const &arg6_defvalue = wxDefaultSize ;
3466 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3467 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3468 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3469 wxString *arg8 = (wxString *) &arg8_defvalue ;
3470 bool result;
3471 bool temp4 = False ;
3472 wxPoint temp5 ;
3473 wxSize temp6 ;
3474 bool temp8 = False ;
3475 PyObject * obj0 = 0 ;
3476 PyObject * obj1 = 0 ;
3477 PyObject * obj3 = 0 ;
3478 PyObject * obj4 = 0 ;
3479 PyObject * obj5 = 0 ;
3480 PyObject * obj7 = 0 ;
3481 char *kwnames[] = {
3482 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3483 };
3484
3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3488 {
3489 arg4 = wxString_in_helper(obj3);
3490 if (arg4 == NULL) SWIG_fail;
3491 temp4 = True;
3492 }
3493 if (obj4) {
3494 {
3495 arg5 = &temp5;
3496 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3497 }
3498 }
3499 if (obj5) {
3500 {
3501 arg6 = &temp6;
3502 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3503 }
3504 }
3505 if (obj7) {
3506 {
3507 arg8 = wxString_in_helper(obj7);
3508 if (arg8 == NULL) SWIG_fail;
3509 temp8 = True;
3510 }
3511 }
3512 {
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3515
3516 wxPyEndAllowThreads(__tstate);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 resultobj = PyInt_FromLong((long)result);
3520 {
3521 if (temp4)
3522 delete arg4;
3523 }
3524 {
3525 if (temp8)
3526 delete arg8;
3527 }
3528 return resultobj;
3529 fail:
3530 {
3531 if (temp4)
3532 delete arg4;
3533 }
3534 {
3535 if (temp8)
3536 delete arg8;
3537 }
3538 return NULL;
3539 }
3540
3541
3542 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3543 PyObject *resultobj;
3544 wxDialog *arg1 = (wxDialog *) 0 ;
3545 int arg2 ;
3546 PyObject * obj0 = 0 ;
3547 char *kwnames[] = {
3548 (char *) "self",(char *) "returnCode", NULL
3549 };
3550
3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3553 {
3554 PyThreadState* __tstate = wxPyBeginAllowThreads();
3555 (arg1)->SetReturnCode(arg2);
3556
3557 wxPyEndAllowThreads(__tstate);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 }
3560 Py_INCREF(Py_None); resultobj = Py_None;
3561 return resultobj;
3562 fail:
3563 return NULL;
3564 }
3565
3566
3567 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3568 PyObject *resultobj;
3569 wxDialog *arg1 = (wxDialog *) 0 ;
3570 int result;
3571 PyObject * obj0 = 0 ;
3572 char *kwnames[] = {
3573 (char *) "self", NULL
3574 };
3575
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) SWIG_fail;
3584 }
3585 resultobj = PyInt_FromLong((long)result);
3586 return resultobj;
3587 fail:
3588 return NULL;
3589 }
3590
3591
3592 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3593 PyObject *resultobj;
3594 wxDialog *arg1 = (wxDialog *) 0 ;
3595 wxString *arg2 = 0 ;
3596 wxSizer *result;
3597 bool temp2 = False ;
3598 PyObject * obj0 = 0 ;
3599 PyObject * obj1 = 0 ;
3600 char *kwnames[] = {
3601 (char *) "self",(char *) "message", NULL
3602 };
3603
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3606 {
3607 arg2 = wxString_in_helper(obj1);
3608 if (arg2 == NULL) SWIG_fail;
3609 temp2 = True;
3610 }
3611 {
3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
3613 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3614
3615 wxPyEndAllowThreads(__tstate);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
3618 {
3619 resultobj = wxPyMake_wxSizer(result);
3620 }
3621 {
3622 if (temp2)
3623 delete arg2;
3624 }
3625 return resultobj;
3626 fail:
3627 {
3628 if (temp2)
3629 delete arg2;
3630 }
3631 return NULL;
3632 }
3633
3634
3635 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxDialog *arg1 = (wxDialog *) 0 ;
3638 long arg2 ;
3639 wxSizer *result;
3640 PyObject * obj0 = 0 ;
3641 char *kwnames[] = {
3642 (char *) "self",(char *) "flags", NULL
3643 };
3644
3645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 {
3655 resultobj = wxPyMake_wxSizer(result);
3656 }
3657 return resultobj;
3658 fail:
3659 return NULL;
3660 }
3661
3662
3663 static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3664 PyObject *resultobj;
3665 wxDialog *arg1 = (wxDialog *) 0 ;
3666 bool arg2 ;
3667 PyObject * obj0 = 0 ;
3668 PyObject * obj1 = 0 ;
3669 char *kwnames[] = {
3670 (char *) "self",(char *) "flag", NULL
3671 };
3672
3673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3675 arg2 = PyInt_AsLong(obj1) ? true : false;
3676 if (PyErr_Occurred()) SWIG_fail;
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 (arg1)->SetModal(arg2);
3680
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 Py_INCREF(Py_None); resultobj = Py_None;
3685 return resultobj;
3686 fail:
3687 return NULL;
3688 }
3689
3690
3691 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3692 PyObject *resultobj;
3693 wxDialog *arg1 = (wxDialog *) 0 ;
3694 bool result;
3695 PyObject * obj0 = 0 ;
3696 char *kwnames[] = {
3697 (char *) "self", NULL
3698 };
3699
3700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 result = (bool)((wxDialog const *)arg1)->IsModal();
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 resultobj = PyInt_FromLong((long)result);
3710 return resultobj;
3711 fail:
3712 return NULL;
3713 }
3714
3715
3716 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3717 PyObject *resultobj;
3718 wxDialog *arg1 = (wxDialog *) 0 ;
3719 int result;
3720 PyObject * obj0 = 0 ;
3721 char *kwnames[] = {
3722 (char *) "self", NULL
3723 };
3724
3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 result = (int)(arg1)->ShowModal();
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 resultobj = PyInt_FromLong((long)result);
3735 return resultobj;
3736 fail:
3737 return NULL;
3738 }
3739
3740
3741 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3742 PyObject *resultobj;
3743 wxDialog *arg1 = (wxDialog *) 0 ;
3744 int arg2 ;
3745 PyObject * obj0 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "self",(char *) "retCode", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 (arg1)->EndModal(arg2);
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 Py_INCREF(Py_None); resultobj = Py_None;
3760 return resultobj;
3761 fail:
3762 return NULL;
3763 }
3764
3765
3766 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 wxDialog *arg1 = (wxDialog *) 0 ;
3769 bool result;
3770 PyObject * obj0 = 0 ;
3771 char *kwnames[] = {
3772 (char *) "self", NULL
3773 };
3774
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 result = (bool)wxDialog_IsModalShowing(arg1);
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 resultobj = PyInt_FromLong((long)result);
3785 return resultobj;
3786 fail:
3787 return NULL;
3788 }
3789
3790
3791 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3792 PyObject *obj;
3793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3794 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3795 Py_INCREF(obj);
3796 return Py_BuildValue((char *)"");
3797 }
3798 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3799 PyObject *resultobj;
3800 wxWindow *arg1 = (wxWindow *) 0 ;
3801 int arg2 ;
3802 wxString *arg3 = 0 ;
3803 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3804 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3805 wxSize const &arg5_defvalue = wxDefaultSize ;
3806 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3807 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3808 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3809 wxString *arg7 = (wxString *) &arg7_defvalue ;
3810 wxMiniFrame *result;
3811 bool temp3 = False ;
3812 wxPoint temp4 ;
3813 wxSize temp5 ;
3814 bool temp7 = False ;
3815 PyObject * obj0 = 0 ;
3816 PyObject * obj2 = 0 ;
3817 PyObject * obj3 = 0 ;
3818 PyObject * obj4 = 0 ;
3819 PyObject * obj6 = 0 ;
3820 char *kwnames[] = {
3821 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3822 };
3823
3824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3826 {
3827 arg3 = wxString_in_helper(obj2);
3828 if (arg3 == NULL) SWIG_fail;
3829 temp3 = True;
3830 }
3831 if (obj3) {
3832 {
3833 arg4 = &temp4;
3834 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3835 }
3836 }
3837 if (obj4) {
3838 {
3839 arg5 = &temp5;
3840 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3841 }
3842 }
3843 if (obj6) {
3844 {
3845 arg7 = wxString_in_helper(obj6);
3846 if (arg7 == NULL) SWIG_fail;
3847 temp7 = True;
3848 }
3849 }
3850 {
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3853
3854 wxPyEndAllowThreads(__tstate);
3855 if (PyErr_Occurred()) SWIG_fail;
3856 }
3857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3858 {
3859 if (temp3)
3860 delete arg3;
3861 }
3862 {
3863 if (temp7)
3864 delete arg7;
3865 }
3866 return resultobj;
3867 fail:
3868 {
3869 if (temp3)
3870 delete arg3;
3871 }
3872 {
3873 if (temp7)
3874 delete arg7;
3875 }
3876 return NULL;
3877 }
3878
3879
3880 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3881 PyObject *resultobj;
3882 wxMiniFrame *result;
3883 char *kwnames[] = {
3884 NULL
3885 };
3886
3887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3888 {
3889 PyThreadState* __tstate = wxPyBeginAllowThreads();
3890 result = (wxMiniFrame *)new wxMiniFrame();
3891
3892 wxPyEndAllowThreads(__tstate);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 }
3895 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3896 return resultobj;
3897 fail:
3898 return NULL;
3899 }
3900
3901
3902 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3903 PyObject *resultobj;
3904 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3905 wxWindow *arg2 = (wxWindow *) 0 ;
3906 int arg3 ;
3907 wxString *arg4 = 0 ;
3908 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3909 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3910 wxSize const &arg6_defvalue = wxDefaultSize ;
3911 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3912 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3913 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3914 wxString *arg8 = (wxString *) &arg8_defvalue ;
3915 bool result;
3916 bool temp4 = False ;
3917 wxPoint temp5 ;
3918 wxSize temp6 ;
3919 bool temp8 = False ;
3920 PyObject * obj0 = 0 ;
3921 PyObject * obj1 = 0 ;
3922 PyObject * obj3 = 0 ;
3923 PyObject * obj4 = 0 ;
3924 PyObject * obj5 = 0 ;
3925 PyObject * obj7 = 0 ;
3926 char *kwnames[] = {
3927 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3928 };
3929
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3933 {
3934 arg4 = wxString_in_helper(obj3);
3935 if (arg4 == NULL) SWIG_fail;
3936 temp4 = True;
3937 }
3938 if (obj4) {
3939 {
3940 arg5 = &temp5;
3941 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3942 }
3943 }
3944 if (obj5) {
3945 {
3946 arg6 = &temp6;
3947 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3948 }
3949 }
3950 if (obj7) {
3951 {
3952 arg8 = wxString_in_helper(obj7);
3953 if (arg8 == NULL) SWIG_fail;
3954 temp8 = True;
3955 }
3956 }
3957 {
3958 PyThreadState* __tstate = wxPyBeginAllowThreads();
3959 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3960
3961 wxPyEndAllowThreads(__tstate);
3962 if (PyErr_Occurred()) SWIG_fail;
3963 }
3964 resultobj = PyInt_FromLong((long)result);
3965 {
3966 if (temp4)
3967 delete arg4;
3968 }
3969 {
3970 if (temp8)
3971 delete arg8;
3972 }
3973 return resultobj;
3974 fail:
3975 {
3976 if (temp4)
3977 delete arg4;
3978 }
3979 {
3980 if (temp8)
3981 delete arg8;
3982 }
3983 return NULL;
3984 }
3985
3986
3987 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3988 PyObject *obj;
3989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3990 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3991 Py_INCREF(obj);
3992 return Py_BuildValue((char *)"");
3993 }
3994 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3995 PyObject *resultobj;
3996 wxBitmap *arg1 = 0 ;
3997 wxWindow *arg2 = (wxWindow *) 0 ;
3998 int arg3 ;
3999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4001 wxSize const &arg5_defvalue = wxDefaultSize ;
4002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4003 long arg6 = (long) wxNO_BORDER ;
4004 wxSplashScreenWindow *result;
4005 wxPoint temp4 ;
4006 wxSize temp5 ;
4007 PyObject * obj0 = 0 ;
4008 PyObject * obj1 = 0 ;
4009 PyObject * obj3 = 0 ;
4010 PyObject * obj4 = 0 ;
4011 char *kwnames[] = {
4012 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4013 };
4014
4015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
4016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4017 if (arg1 == NULL) {
4018 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4019 }
4020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4021 if (obj3) {
4022 {
4023 arg4 = &temp4;
4024 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4025 }
4026 }
4027 if (obj4) {
4028 {
4029 arg5 = &temp5;
4030 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4031 }
4032 }
4033 {
4034 PyThreadState* __tstate = wxPyBeginAllowThreads();
4035 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4036
4037 wxPyEndAllowThreads(__tstate);
4038 if (PyErr_Occurred()) SWIG_fail;
4039 }
4040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4041 return resultobj;
4042 fail:
4043 return NULL;
4044 }
4045
4046
4047 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4048 PyObject *resultobj;
4049 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4050 wxBitmap *arg2 = 0 ;
4051 PyObject * obj0 = 0 ;
4052 PyObject * obj1 = 0 ;
4053 char *kwnames[] = {
4054 (char *) "self",(char *) "bitmap", NULL
4055 };
4056
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4060 if (arg2 == NULL) {
4061 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4062 }
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4066
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 Py_INCREF(Py_None); resultobj = Py_None;
4071 return resultobj;
4072 fail:
4073 return NULL;
4074 }
4075
4076
4077 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4078 PyObject *resultobj;
4079 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4080 wxBitmap *result;
4081 PyObject * obj0 = 0 ;
4082 char *kwnames[] = {
4083 (char *) "self", NULL
4084 };
4085
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 {
4091 wxBitmap &_result_ref = (arg1)->GetBitmap();
4092 result = (wxBitmap *) &_result_ref;
4093 }
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4099 return resultobj;
4100 fail:
4101 return NULL;
4102 }
4103
4104
4105 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4106 PyObject *obj;
4107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4108 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4109 Py_INCREF(obj);
4110 return Py_BuildValue((char *)"");
4111 }
4112 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4113 PyObject *resultobj;
4114 wxBitmap *arg1 = 0 ;
4115 long arg2 ;
4116 int arg3 ;
4117 wxWindow *arg4 = (wxWindow *) 0 ;
4118 int arg5 ;
4119 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4120 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4121 wxSize const &arg7_defvalue = wxDefaultSize ;
4122 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4123 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4124 wxSplashScreen *result;
4125 wxPoint temp6 ;
4126 wxSize temp7 ;
4127 PyObject * obj0 = 0 ;
4128 PyObject * obj3 = 0 ;
4129 PyObject * obj5 = 0 ;
4130 PyObject * obj6 = 0 ;
4131 char *kwnames[] = {
4132 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4133 };
4134
4135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4137 if (arg1 == NULL) {
4138 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4139 }
4140 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4141 if (obj5) {
4142 {
4143 arg6 = &temp6;
4144 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4145 }
4146 }
4147 if (obj6) {
4148 {
4149 arg7 = &temp7;
4150 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4151 }
4152 }
4153 {
4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
4155 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4156
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) SWIG_fail;
4159 }
4160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4161 return resultobj;
4162 fail:
4163 return NULL;
4164 }
4165
4166
4167 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4168 PyObject *resultobj;
4169 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4170 long result;
4171 PyObject * obj0 = 0 ;
4172 char *kwnames[] = {
4173 (char *) "self", NULL
4174 };
4175
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4178 {
4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
4180 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4181
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 }
4185 resultobj = PyInt_FromLong((long)result);
4186 return resultobj;
4187 fail:
4188 return NULL;
4189 }
4190
4191
4192 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4193 PyObject *resultobj;
4194 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4195 wxSplashScreenWindow *result;
4196 PyObject * obj0 = 0 ;
4197 char *kwnames[] = {
4198 (char *) "self", NULL
4199 };
4200
4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4206
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) SWIG_fail;
4209 }
4210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4211 return resultobj;
4212 fail:
4213 return NULL;
4214 }
4215
4216
4217 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4218 PyObject *resultobj;
4219 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4220 int result;
4221 PyObject * obj0 = 0 ;
4222 char *kwnames[] = {
4223 (char *) "self", NULL
4224 };
4225
4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4228 {
4229 PyThreadState* __tstate = wxPyBeginAllowThreads();
4230 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 resultobj = PyInt_FromLong((long)result);
4236 return resultobj;
4237 fail:
4238 return NULL;
4239 }
4240
4241
4242 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4243 PyObject *obj;
4244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4245 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4246 Py_INCREF(obj);
4247 return Py_BuildValue((char *)"");
4248 }
4249 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj;
4251 wxWindow *arg1 = (wxWindow *) 0 ;
4252 int arg2 = (int) -1 ;
4253 long arg3 = (long) wxST_SIZEGRIP ;
4254 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4255 wxString *arg4 = (wxString *) &arg4_defvalue ;
4256 wxStatusBar *result;
4257 bool temp4 = False ;
4258 PyObject * obj0 = 0 ;
4259 PyObject * obj3 = 0 ;
4260 char *kwnames[] = {
4261 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4262 };
4263
4264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4266 if (obj3) {
4267 {
4268 arg4 = wxString_in_helper(obj3);
4269 if (arg4 == NULL) SWIG_fail;
4270 temp4 = True;
4271 }
4272 }
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 {
4281 resultobj = wxPyMake_wxObject(result);
4282 }
4283 {
4284 if (temp4)
4285 delete arg4;
4286 }
4287 return resultobj;
4288 fail:
4289 {
4290 if (temp4)
4291 delete arg4;
4292 }
4293 return NULL;
4294 }
4295
4296
4297 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4298 PyObject *resultobj;
4299 wxStatusBar *result;
4300 char *kwnames[] = {
4301 NULL
4302 };
4303
4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 result = (wxStatusBar *)new wxStatusBar();
4308
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 {
4313 resultobj = wxPyMake_wxObject(result);
4314 }
4315 return resultobj;
4316 fail:
4317 return NULL;
4318 }
4319
4320
4321 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4322 PyObject *resultobj;
4323 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4324 wxWindow *arg2 = (wxWindow *) 0 ;
4325 int arg3 ;
4326 long arg4 = (long) wxST_SIZEGRIP ;
4327 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4328 wxString *arg5 = (wxString *) &arg5_defvalue ;
4329 bool result;
4330 bool temp5 = False ;
4331 PyObject * obj0 = 0 ;
4332 PyObject * obj1 = 0 ;
4333 PyObject * obj4 = 0 ;
4334 char *kwnames[] = {
4335 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4336 };
4337
4338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4341 if (obj4) {
4342 {
4343 arg5 = wxString_in_helper(obj4);
4344 if (arg5 == NULL) SWIG_fail;
4345 temp5 = True;
4346 }
4347 }
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4351
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 resultobj = PyInt_FromLong((long)result);
4356 {
4357 if (temp5)
4358 delete arg5;
4359 }
4360 return resultobj;
4361 fail:
4362 {
4363 if (temp5)
4364 delete arg5;
4365 }
4366 return NULL;
4367 }
4368
4369
4370 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4371 PyObject *resultobj;
4372 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4373 int arg2 = (int) 1 ;
4374 PyObject * obj0 = 0 ;
4375 char *kwnames[] = {
4376 (char *) "self",(char *) "number", NULL
4377 };
4378
4379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 (arg1)->SetFieldsCount(arg2);
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4388 Py_INCREF(Py_None); resultobj = Py_None;
4389 return resultobj;
4390 fail:
4391 return NULL;
4392 }
4393
4394
4395 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4396 PyObject *resultobj;
4397 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4398 int result;
4399 PyObject * obj0 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4409
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 resultobj = PyInt_FromLong((long)result);
4414 return resultobj;
4415 fail:
4416 return NULL;
4417 }
4418
4419
4420 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4421 PyObject *resultobj;
4422 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4423 wxString *arg2 = 0 ;
4424 int arg3 = (int) 0 ;
4425 bool temp2 = False ;
4426 PyObject * obj0 = 0 ;
4427 PyObject * obj1 = 0 ;
4428 char *kwnames[] = {
4429 (char *) "self",(char *) "text",(char *) "number", NULL
4430 };
4431
4432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4434 {
4435 arg2 = wxString_in_helper(obj1);
4436 if (arg2 == NULL) SWIG_fail;
4437 temp2 = True;
4438 }
4439 {
4440 PyThreadState* __tstate = wxPyBeginAllowThreads();
4441 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4442
4443 wxPyEndAllowThreads(__tstate);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 Py_INCREF(Py_None); resultobj = Py_None;
4447 {
4448 if (temp2)
4449 delete arg2;
4450 }
4451 return resultobj;
4452 fail:
4453 {
4454 if (temp2)
4455 delete arg2;
4456 }
4457 return NULL;
4458 }
4459
4460
4461 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4462 PyObject *resultobj;
4463 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4464 int arg2 = (int) 0 ;
4465 wxString result;
4466 PyObject * obj0 = 0 ;
4467 char *kwnames[] = {
4468 (char *) "self",(char *) "number", NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4473 {
4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
4475 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4476
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 {
4481 #if wxUSE_UNICODE
4482 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4483 #else
4484 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4485 #endif
4486 }
4487 return resultobj;
4488 fail:
4489 return NULL;
4490 }
4491
4492
4493 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj;
4495 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4496 wxString *arg2 = 0 ;
4497 int arg3 = (int) 0 ;
4498 bool temp2 = False ;
4499 PyObject * obj0 = 0 ;
4500 PyObject * obj1 = 0 ;
4501 char *kwnames[] = {
4502 (char *) "self",(char *) "text",(char *) "number", NULL
4503 };
4504
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4507 {
4508 arg2 = wxString_in_helper(obj1);
4509 if (arg2 == NULL) SWIG_fail;
4510 temp2 = True;
4511 }
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4515
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 Py_INCREF(Py_None); resultobj = Py_None;
4520 {
4521 if (temp2)
4522 delete arg2;
4523 }
4524 return resultobj;
4525 fail:
4526 {
4527 if (temp2)
4528 delete arg2;
4529 }
4530 return NULL;
4531 }
4532
4533
4534 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4535 PyObject *resultobj;
4536 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4537 int arg2 = (int) 0 ;
4538 PyObject * obj0 = 0 ;
4539 char *kwnames[] = {
4540 (char *) "self",(char *) "number", NULL
4541 };
4542
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 (arg1)->PopStatusText(arg2);
4548
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 Py_INCREF(Py_None); resultobj = Py_None;
4553 return resultobj;
4554 fail:
4555 return NULL;
4556 }
4557
4558
4559 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4562 int arg2 ;
4563 int *arg3 = (int *) 0 ;
4564 PyObject * obj0 = 0 ;
4565 PyObject * obj1 = 0 ;
4566 char *kwnames[] = {
4567 (char *) "self",(char *) "widths", NULL
4568 };
4569
4570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4572 {
4573 arg2 = PyList_Size(obj1);
4574 arg3 = int_LIST_helper(obj1);
4575 if (arg3 == NULL) SWIG_fail;
4576 }
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4580
4581 wxPyEndAllowThreads(__tstate);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 Py_INCREF(Py_None); resultobj = Py_None;
4585 {
4586 if (arg3) delete [] arg3;
4587 }
4588 return resultobj;
4589 fail:
4590 {
4591 if (arg3) delete [] arg3;
4592 }
4593 return NULL;
4594 }
4595
4596
4597 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4598 PyObject *resultobj;
4599 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4600 int arg2 ;
4601 wxRect result;
4602 PyObject * obj0 = 0 ;
4603 char *kwnames[] = {
4604 (char *) "self",(char *) "i", NULL
4605 };
4606
4607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
4608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4609 {
4610 PyThreadState* __tstate = wxPyBeginAllowThreads();
4611 result = wxStatusBar_GetFieldRect(arg1,arg2);
4612
4613 wxPyEndAllowThreads(__tstate);
4614 if (PyErr_Occurred()) SWIG_fail;
4615 }
4616 {
4617 wxRect * resultptr;
4618 resultptr = new wxRect((wxRect &) result);
4619 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4620 }
4621 return resultobj;
4622 fail:
4623 return NULL;
4624 }
4625
4626
4627 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4628 PyObject *resultobj;
4629 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4630 int arg2 ;
4631 PyObject * obj0 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "self",(char *) "height", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4638 {
4639 PyThreadState* __tstate = wxPyBeginAllowThreads();
4640 (arg1)->SetMinHeight(arg2);
4641
4642 wxPyEndAllowThreads(__tstate);
4643 if (PyErr_Occurred()) SWIG_fail;
4644 }
4645 Py_INCREF(Py_None); resultobj = Py_None;
4646 return resultobj;
4647 fail:
4648 return NULL;
4649 }
4650
4651
4652 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4653 PyObject *resultobj;
4654 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4655 int result;
4656 PyObject * obj0 = 0 ;
4657 char *kwnames[] = {
4658 (char *) "self", NULL
4659 };
4660
4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4663 {
4664 PyThreadState* __tstate = wxPyBeginAllowThreads();
4665 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4666
4667 wxPyEndAllowThreads(__tstate);
4668 if (PyErr_Occurred()) SWIG_fail;
4669 }
4670 resultobj = PyInt_FromLong((long)result);
4671 return resultobj;
4672 fail:
4673 return NULL;
4674 }
4675
4676
4677 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4678 PyObject *resultobj;
4679 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4680 int result;
4681 PyObject * obj0 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "self", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4688 {
4689 PyThreadState* __tstate = wxPyBeginAllowThreads();
4690 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4691
4692 wxPyEndAllowThreads(__tstate);
4693 if (PyErr_Occurred()) SWIG_fail;
4694 }
4695 resultobj = PyInt_FromLong((long)result);
4696 return resultobj;
4697 fail:
4698 return NULL;
4699 }
4700
4701
4702 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4703 PyObject *obj;
4704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4705 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4706 Py_INCREF(obj);
4707 return Py_BuildValue((char *)"");
4708 }
4709 static int _wrap_SplitterNameStr_set(PyObject *_val) {
4710 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
4711 return 1;
4712 }
4713
4714
4715 static PyObject *_wrap_SplitterNameStr_get() {
4716 PyObject *pyobj;
4717
4718 {
4719 #if wxUSE_UNICODE
4720 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4721 #else
4722 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4723 #endif
4724 }
4725 return pyobj;
4726 }
4727
4728
4729 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4730 PyObject *resultobj;
4731 wxWindow *arg1 = (wxWindow *) 0 ;
4732 int arg2 ;
4733 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4734 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4735 wxSize const &arg4_defvalue = wxDefaultSize ;
4736 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4737 long arg5 = (long) wxSP_3D ;
4738 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4739 wxString *arg6 = (wxString *) &arg6_defvalue ;
4740 wxSplitterWindow *result;
4741 wxPoint temp3 ;
4742 wxSize temp4 ;
4743 bool temp6 = False ;
4744 PyObject * obj0 = 0 ;
4745 PyObject * obj2 = 0 ;
4746 PyObject * obj3 = 0 ;
4747 PyObject * obj5 = 0 ;
4748 char *kwnames[] = {
4749 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4750 };
4751
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4754 if (obj2) {
4755 {
4756 arg3 = &temp3;
4757 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4758 }
4759 }
4760 if (obj3) {
4761 {
4762 arg4 = &temp4;
4763 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4764 }
4765 }
4766 if (obj5) {
4767 {
4768 arg6 = wxString_in_helper(obj5);
4769 if (arg6 == NULL) SWIG_fail;
4770 temp6 = True;
4771 }
4772 }
4773 {
4774 PyThreadState* __tstate = wxPyBeginAllowThreads();
4775 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4776
4777 wxPyEndAllowThreads(__tstate);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4781 {
4782 if (temp6)
4783 delete arg6;
4784 }
4785 return resultobj;
4786 fail:
4787 {
4788 if (temp6)
4789 delete arg6;
4790 }
4791 return NULL;
4792 }
4793
4794
4795 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4796 PyObject *resultobj;
4797 wxSplitterWindow *result;
4798 char *kwnames[] = {
4799 NULL
4800 };
4801
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 result = (wxSplitterWindow *)new wxSplitterWindow();
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4811 return resultobj;
4812 fail:
4813 return NULL;
4814 }
4815
4816
4817 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4818 PyObject *resultobj;
4819 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4820 wxWindow *arg2 = (wxWindow *) 0 ;
4821 int arg3 ;
4822 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4823 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4824 wxSize const &arg5_defvalue = wxDefaultSize ;
4825 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4826 long arg6 = (long) wxSP_3D ;
4827 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4828 wxString *arg7 = (wxString *) &arg7_defvalue ;
4829 bool result;
4830 wxPoint temp4 ;
4831 wxSize temp5 ;
4832 bool temp7 = False ;
4833 PyObject * obj0 = 0 ;
4834 PyObject * obj1 = 0 ;
4835 PyObject * obj3 = 0 ;
4836 PyObject * obj4 = 0 ;
4837 PyObject * obj6 = 0 ;
4838 char *kwnames[] = {
4839 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4840 };
4841
4842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4844 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4845 if (obj3) {
4846 {
4847 arg4 = &temp4;
4848 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4849 }
4850 }
4851 if (obj4) {
4852 {
4853 arg5 = &temp5;
4854 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4855 }
4856 }
4857 if (obj6) {
4858 {
4859 arg7 = wxString_in_helper(obj6);
4860 if (arg7 == NULL) SWIG_fail;
4861 temp7 = True;
4862 }
4863 }
4864 {
4865 PyThreadState* __tstate = wxPyBeginAllowThreads();
4866 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4867
4868 wxPyEndAllowThreads(__tstate);
4869 if (PyErr_Occurred()) SWIG_fail;
4870 }
4871 resultobj = PyInt_FromLong((long)result);
4872 {
4873 if (temp7)
4874 delete arg7;
4875 }
4876 return resultobj;
4877 fail:
4878 {
4879 if (temp7)
4880 delete arg7;
4881 }
4882 return NULL;
4883 }
4884
4885
4886 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject *resultobj;
4888 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4889 wxWindow *result;
4890 PyObject * obj0 = 0 ;
4891 char *kwnames[] = {
4892 (char *) "self", NULL
4893 };
4894
4895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4897 {
4898 PyThreadState* __tstate = wxPyBeginAllowThreads();
4899 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4900
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 {
4905 resultobj = wxPyMake_wxObject(result);
4906 }
4907 return resultobj;
4908 fail:
4909 return NULL;
4910 }
4911
4912
4913 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4914 PyObject *resultobj;
4915 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4916 wxWindow *result;
4917 PyObject * obj0 = 0 ;
4918 char *kwnames[] = {
4919 (char *) "self", NULL
4920 };
4921
4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4927
4928 wxPyEndAllowThreads(__tstate);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
4931 {
4932 resultobj = wxPyMake_wxObject(result);
4933 }
4934 return resultobj;
4935 fail:
4936 return NULL;
4937 }
4938
4939
4940 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4941 PyObject *resultobj;
4942 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4943 int arg2 ;
4944 PyObject * obj0 = 0 ;
4945 char *kwnames[] = {
4946 (char *) "self",(char *) "mode", NULL
4947 };
4948
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
4950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 (arg1)->SetSplitMode(arg2);
4954
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 Py_INCREF(Py_None); resultobj = Py_None;
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4968 int result;
4969 PyObject * obj0 = 0 ;
4970 char *kwnames[] = {
4971 (char *) "self", NULL
4972 };
4973
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4979
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 resultobj = PyInt_FromLong((long)result);
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj;
4992 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4993 wxWindow *arg2 = (wxWindow *) 0 ;
4994 PyObject * obj0 = 0 ;
4995 PyObject * obj1 = 0 ;
4996 char *kwnames[] = {
4997 (char *) "self",(char *) "window", NULL
4998 };
4999
5000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5002 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 (arg1)->Initialize(arg2);
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 Py_INCREF(Py_None); resultobj = Py_None;
5011 return resultobj;
5012 fail:
5013 return NULL;
5014 }
5015
5016
5017 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj;
5019 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5020 wxWindow *arg2 = (wxWindow *) 0 ;
5021 wxWindow *arg3 = (wxWindow *) 0 ;
5022 int arg4 = (int) 0 ;
5023 bool result;
5024 PyObject * obj0 = 0 ;
5025 PyObject * obj1 = 0 ;
5026 PyObject * obj2 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5034 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5038
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
5042 resultobj = PyInt_FromLong((long)result);
5043 return resultobj;
5044 fail:
5045 return NULL;
5046 }
5047
5048
5049 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5050 PyObject *resultobj;
5051 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5052 wxWindow *arg2 = (wxWindow *) 0 ;
5053 wxWindow *arg3 = (wxWindow *) 0 ;
5054 int arg4 = (int) 0 ;
5055 bool result;
5056 PyObject * obj0 = 0 ;
5057 PyObject * obj1 = 0 ;
5058 PyObject * obj2 = 0 ;
5059 char *kwnames[] = {
5060 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5061 };
5062
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5066 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5070
5071 wxPyEndAllowThreads(__tstate);
5072 if (PyErr_Occurred()) SWIG_fail;
5073 }
5074 resultobj = PyInt_FromLong((long)result);
5075 return resultobj;
5076 fail:
5077 return NULL;
5078 }
5079
5080
5081 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5082 PyObject *resultobj;
5083 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5084 wxWindow *arg2 = (wxWindow *) NULL ;
5085 bool result;
5086 PyObject * obj0 = 0 ;
5087 PyObject * obj1 = 0 ;
5088 char *kwnames[] = {
5089 (char *) "self",(char *) "toRemove", NULL
5090 };
5091
5092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5094 if (obj1) {
5095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5096 }
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 result = (bool)(arg1)->Unsplit(arg2);
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 resultobj = PyInt_FromLong((long)result);
5105 return resultobj;
5106 fail:
5107 return NULL;
5108 }
5109
5110
5111 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5112 PyObject *resultobj;
5113 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5114 wxWindow *arg2 = (wxWindow *) 0 ;
5115 wxWindow *arg3 = (wxWindow *) 0 ;
5116 bool result;
5117 PyObject * obj0 = 0 ;
5118 PyObject * obj1 = 0 ;
5119 PyObject * obj2 = 0 ;
5120 char *kwnames[] = {
5121 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5122 };
5123
5124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5127 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5128 {
5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
5130 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5131
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 resultobj = PyInt_FromLong((long)result);
5136 return resultobj;
5137 fail:
5138 return NULL;
5139 }
5140
5141
5142 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj;
5144 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5145 bool result;
5146 PyObject * obj0 = 0 ;
5147 char *kwnames[] = {
5148 (char *) "self", NULL
5149 };
5150
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 resultobj = PyInt_FromLong((long)result);
5161 return resultobj;
5162 fail:
5163 return NULL;
5164 }
5165
5166
5167 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5168 PyObject *resultobj;
5169 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5170 int arg2 ;
5171 PyObject * obj0 = 0 ;
5172 char *kwnames[] = {
5173 (char *) "self",(char *) "width", NULL
5174 };
5175
5176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5178 {
5179 PyThreadState* __tstate = wxPyBeginAllowThreads();
5180 (arg1)->SetSashSize(arg2);
5181
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
5185 Py_INCREF(Py_None); resultobj = Py_None;
5186 return resultobj;
5187 fail:
5188 return NULL;
5189 }
5190
5191
5192 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5193 PyObject *resultobj;
5194 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5195 int arg2 ;
5196 PyObject * obj0 = 0 ;
5197 char *kwnames[] = {
5198 (char *) "self",(char *) "width", NULL
5199 };
5200
5201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5203 {
5204 PyThreadState* __tstate = wxPyBeginAllowThreads();
5205 (arg1)->SetBorderSize(arg2);
5206
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 Py_INCREF(Py_None); resultobj = Py_None;
5211 return resultobj;
5212 fail:
5213 return NULL;
5214 }
5215
5216
5217 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj;
5219 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5220 int result;
5221 PyObject * obj0 = 0 ;
5222 char *kwnames[] = {
5223 (char *) "self", NULL
5224 };
5225
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 resultobj = PyInt_FromLong((long)result);
5236 return resultobj;
5237 fail:
5238 return NULL;
5239 }
5240
5241
5242 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5243 PyObject *resultobj;
5244 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5245 int result;
5246 PyObject * obj0 = 0 ;
5247 char *kwnames[] = {
5248 (char *) "self", NULL
5249 };
5250
5251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5253 {
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5256
5257 wxPyEndAllowThreads(__tstate);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 resultobj = PyInt_FromLong((long)result);
5261 return resultobj;
5262 fail:
5263 return NULL;
5264 }
5265
5266
5267 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5270 int arg2 ;
5271 bool arg3 = (bool) True ;
5272 PyObject * obj0 = 0 ;
5273 PyObject * obj2 = 0 ;
5274 char *kwnames[] = {
5275 (char *) "self",(char *) "position",(char *) "redraw", NULL
5276 };
5277
5278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5280 if (obj2) {
5281 arg3 = PyInt_AsLong(obj2) ? true : false;
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 {
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 (arg1)->SetSashPosition(arg2,arg3);
5287
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 Py_INCREF(Py_None); resultobj = Py_None;
5292 return resultobj;
5293 fail:
5294 return NULL;
5295 }
5296
5297
5298 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5299 PyObject *resultobj;
5300 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5301 int result;
5302 PyObject * obj0 = 0 ;
5303 char *kwnames[] = {
5304 (char *) "self", NULL
5305 };
5306
5307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5309 {
5310 PyThreadState* __tstate = wxPyBeginAllowThreads();
5311 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5312
5313 wxPyEndAllowThreads(__tstate);
5314 if (PyErr_Occurred()) SWIG_fail;
5315 }
5316 resultobj = PyInt_FromLong((long)result);
5317 return resultobj;
5318 fail:
5319 return NULL;
5320 }
5321
5322
5323 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5324 PyObject *resultobj;
5325 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5326 int arg2 ;
5327 PyObject * obj0 = 0 ;
5328 char *kwnames[] = {
5329 (char *) "self",(char *) "min", NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 (arg1)->SetMinimumPaneSize(arg2);
5337
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) SWIG_fail;
5340 }
5341 Py_INCREF(Py_None); resultobj = Py_None;
5342 return resultobj;
5343 fail:
5344 return NULL;
5345 }
5346
5347
5348 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5349 PyObject *resultobj;
5350 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5351 int result;
5352 PyObject * obj0 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5359 {
5360 PyThreadState* __tstate = wxPyBeginAllowThreads();
5361 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5362
5363 wxPyEndAllowThreads(__tstate);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
5366 resultobj = PyInt_FromLong((long)result);
5367 return resultobj;
5368 fail:
5369 return NULL;
5370 }
5371
5372
5373 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5374 PyObject *resultobj;
5375 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5376 int arg2 ;
5377 int arg3 ;
5378 int arg4 = (int) 5 ;
5379 bool result;
5380 PyObject * obj0 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = PyInt_FromLong((long)result);
5395 return resultobj;
5396 fail:
5397 return NULL;
5398 }
5399
5400
5401 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5402 PyObject *resultobj;
5403 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5404 PyObject * obj0 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "self", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 (arg1)->SizeWindows();
5414
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 Py_INCREF(Py_None); resultobj = Py_None;
5419 return resultobj;
5420 fail:
5421 return NULL;
5422 }
5423
5424
5425 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj;
5427 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5428 bool arg2 ;
5429 PyObject * obj0 = 0 ;
5430 PyObject * obj1 = 0 ;
5431 char *kwnames[] = {
5432 (char *) "self",(char *) "needUpdating", NULL
5433 };
5434
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5437 arg2 = PyInt_AsLong(obj1) ? true : false;
5438 if (PyErr_Occurred()) SWIG_fail;
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 (arg1)->SetNeedUpdating(arg2);
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
5446 Py_INCREF(Py_None); resultobj = Py_None;
5447 return resultobj;
5448 fail:
5449 return NULL;
5450 }
5451
5452
5453 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5454 PyObject *resultobj;
5455 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5456 bool result;
5457 PyObject * obj0 = 0 ;
5458 char *kwnames[] = {
5459 (char *) "self", NULL
5460 };
5461
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5467
5468 wxPyEndAllowThreads(__tstate);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 resultobj = PyInt_FromLong((long)result);
5472 return resultobj;
5473 fail:
5474 return NULL;
5475 }
5476
5477
5478 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5479 PyObject *obj;
5480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5481 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5482 Py_INCREF(obj);
5483 return Py_BuildValue((char *)"");
5484 }
5485 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5486 PyObject *resultobj;
5487 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5488 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5489 wxSplitterEvent *result;
5490 PyObject * obj1 = 0 ;
5491 char *kwnames[] = {
5492 (char *) "type",(char *) "splitter", NULL
5493 };
5494
5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5496 if (obj1) {
5497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5498 }
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5507 return resultobj;
5508 fail:
5509 return NULL;
5510 }
5511
5512
5513 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5514 PyObject *resultobj;
5515 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5516 int arg2 ;
5517 PyObject * obj0 = 0 ;
5518 char *kwnames[] = {
5519 (char *) "self",(char *) "pos", NULL
5520 };
5521
5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5524 {
5525 PyThreadState* __tstate = wxPyBeginAllowThreads();
5526 (arg1)->SetSashPosition(arg2);
5527
5528 wxPyEndAllowThreads(__tstate);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 Py_INCREF(Py_None); resultobj = Py_None;
5532 return resultobj;
5533 fail:
5534 return NULL;
5535 }
5536
5537
5538 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5539 PyObject *resultobj;
5540 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5541 int result;
5542 PyObject * obj0 = 0 ;
5543 char *kwnames[] = {
5544 (char *) "self", NULL
5545 };
5546
5547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5552
5553 wxPyEndAllowThreads(__tstate);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 resultobj = PyInt_FromLong((long)result);
5557 return resultobj;
5558 fail:
5559 return NULL;
5560 }
5561
5562
5563 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5564 PyObject *resultobj;
5565 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5566 wxWindow *result;
5567 PyObject * obj0 = 0 ;
5568 char *kwnames[] = {
5569 (char *) "self", NULL
5570 };
5571
5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5574 {
5575 PyThreadState* __tstate = wxPyBeginAllowThreads();
5576 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5577
5578 wxPyEndAllowThreads(__tstate);
5579 if (PyErr_Occurred()) SWIG_fail;
5580 }
5581 {
5582 resultobj = wxPyMake_wxObject(result);
5583 }
5584 return resultobj;
5585 fail:
5586 return NULL;
5587 }
5588
5589
5590 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5591 PyObject *resultobj;
5592 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5593 int result;
5594 PyObject * obj0 = 0 ;
5595 char *kwnames[] = {
5596 (char *) "self", NULL
5597 };
5598
5599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 resultobj = PyInt_FromLong((long)result);
5609 return resultobj;
5610 fail:
5611 return NULL;
5612 }
5613
5614
5615 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj;
5617 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5618 int result;
5619 PyObject * obj0 = 0 ;
5620 char *kwnames[] = {
5621 (char *) "self", NULL
5622 };
5623
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5626 {
5627 PyThreadState* __tstate = wxPyBeginAllowThreads();
5628 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5629
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 resultobj = PyInt_FromLong((long)result);
5634 return resultobj;
5635 fail:
5636 return NULL;
5637 }
5638
5639
5640 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5641 PyObject *obj;
5642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5643 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5644 Py_INCREF(obj);
5645 return Py_BuildValue((char *)"");
5646 }
5647 static int _wrap_SashNameStr_set(PyObject *_val) {
5648 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
5649 return 1;
5650 }
5651
5652
5653 static PyObject *_wrap_SashNameStr_get() {
5654 PyObject *pyobj;
5655
5656 {
5657 #if wxUSE_UNICODE
5658 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5659 #else
5660 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5661 #endif
5662 }
5663 return pyobj;
5664 }
5665
5666
5667 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
5668 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
5669 return 1;
5670 }
5671
5672
5673 static PyObject *_wrap_SashLayoutNameStr_get() {
5674 PyObject *pyobj;
5675
5676 {
5677 #if wxUSE_UNICODE
5678 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5679 #else
5680 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5681 #endif
5682 }
5683 return pyobj;
5684 }
5685
5686
5687 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxWindow *arg1 = (wxWindow *) 0 ;
5690 int arg2 ;
5691 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5692 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5693 wxSize const &arg4_defvalue = wxDefaultSize ;
5694 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5695 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5696 wxString const &arg6_defvalue = wxPySashNameStr ;
5697 wxString *arg6 = (wxString *) &arg6_defvalue ;
5698 wxSashWindow *result;
5699 wxPoint temp3 ;
5700 wxSize temp4 ;
5701 bool temp6 = False ;
5702 PyObject * obj0 = 0 ;
5703 PyObject * obj2 = 0 ;
5704 PyObject * obj3 = 0 ;
5705 PyObject * obj5 = 0 ;
5706 char *kwnames[] = {
5707 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5708 };
5709
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5712 if (obj2) {
5713 {
5714 arg3 = &temp3;
5715 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5716 }
5717 }
5718 if (obj3) {
5719 {
5720 arg4 = &temp4;
5721 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5722 }
5723 }
5724 if (obj5) {
5725 {
5726 arg6 = wxString_in_helper(obj5);
5727 if (arg6 == NULL) SWIG_fail;
5728 temp6 = True;
5729 }
5730 }
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5734
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
5738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5739 {
5740 if (temp6)
5741 delete arg6;
5742 }
5743 return resultobj;
5744 fail:
5745 {
5746 if (temp6)
5747 delete arg6;
5748 }
5749 return NULL;
5750 }
5751
5752
5753 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5754 PyObject *resultobj;
5755 wxSashWindow *result;
5756 char *kwnames[] = {
5757 NULL
5758 };
5759
5760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 result = (wxSashWindow *)new wxSashWindow();
5764
5765 wxPyEndAllowThreads(__tstate);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5769 return resultobj;
5770 fail:
5771 return NULL;
5772 }
5773
5774
5775 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject *resultobj;
5777 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5778 wxWindow *arg2 = (wxWindow *) 0 ;
5779 int arg3 ;
5780 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5781 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5782 wxSize const &arg5_defvalue = wxDefaultSize ;
5783 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5784 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5785 wxString const &arg7_defvalue = wxPySashNameStr ;
5786 wxString *arg7 = (wxString *) &arg7_defvalue ;
5787 bool result;
5788 wxPoint temp4 ;
5789 wxSize temp5 ;
5790 bool temp7 = False ;
5791 PyObject * obj0 = 0 ;
5792 PyObject * obj1 = 0 ;
5793 PyObject * obj3 = 0 ;
5794 PyObject * obj4 = 0 ;
5795 PyObject * obj6 = 0 ;
5796 char *kwnames[] = {
5797 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5798 };
5799
5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5803 if (obj3) {
5804 {
5805 arg4 = &temp4;
5806 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5807 }
5808 }
5809 if (obj4) {
5810 {
5811 arg5 = &temp5;
5812 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5813 }
5814 }
5815 if (obj6) {
5816 {
5817 arg7 = wxString_in_helper(obj6);
5818 if (arg7 == NULL) SWIG_fail;
5819 temp7 = True;
5820 }
5821 }
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 resultobj = PyInt_FromLong((long)result);
5830 {
5831 if (temp7)
5832 delete arg7;
5833 }
5834 return resultobj;
5835 fail:
5836 {
5837 if (temp7)
5838 delete arg7;
5839 }
5840 return NULL;
5841 }
5842
5843
5844 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5845 PyObject *resultobj;
5846 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5847 int arg2 ;
5848 bool arg3 ;
5849 PyObject * obj0 = 0 ;
5850 PyObject * obj2 = 0 ;
5851 char *kwnames[] = {
5852 (char *) "self",(char *) "edge",(char *) "sash", NULL
5853 };
5854
5855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5857 arg3 = PyInt_AsLong(obj2) ? true : false;
5858 if (PyErr_Occurred()) SWIG_fail;
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 Py_INCREF(Py_None); resultobj = Py_None;
5867 return resultobj;
5868 fail:
5869 return NULL;
5870 }
5871
5872
5873 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj;
5875 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5876 int arg2 ;
5877 bool result;
5878 PyObject * obj0 = 0 ;
5879 char *kwnames[] = {
5880 (char *) "self",(char *) "edge", NULL
5881 };
5882
5883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 resultobj = PyInt_FromLong((long)result);
5893 return resultobj;
5894 fail:
5895 return NULL;
5896 }
5897
5898
5899 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5900 PyObject *resultobj;
5901 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5902 int arg2 ;
5903 bool arg3 ;
5904 PyObject * obj0 = 0 ;
5905 PyObject * obj2 = 0 ;
5906 char *kwnames[] = {
5907 (char *) "self",(char *) "edge",(char *) "border", NULL
5908 };
5909
5910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5912 arg3 = PyInt_AsLong(obj2) ? true : false;
5913 if (PyErr_Occurred()) SWIG_fail;
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5917
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 Py_INCREF(Py_None); resultobj = Py_None;
5922 return resultobj;
5923 fail:
5924 return NULL;
5925 }
5926
5927
5928 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5929 PyObject *resultobj;
5930 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5931 int arg2 ;
5932 bool result;
5933 PyObject * obj0 = 0 ;
5934 char *kwnames[] = {
5935 (char *) "self",(char *) "edge", NULL
5936 };
5937
5938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 resultobj = PyInt_FromLong((long)result);
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5955 PyObject *resultobj;
5956 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5957 int arg2 ;
5958 int result;
5959 PyObject * obj0 = 0 ;
5960 char *kwnames[] = {
5961 (char *) "self",(char *) "edge", NULL
5962 };
5963
5964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 resultobj = PyInt_FromLong((long)result);
5974 return resultobj;
5975 fail:
5976 return NULL;
5977 }
5978
5979
5980 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj;
5982 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5983 int arg2 ;
5984 PyObject * obj0 = 0 ;
5985 char *kwnames[] = {
5986 (char *) "self",(char *) "width", NULL
5987 };
5988
5989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5991 {
5992 PyThreadState* __tstate = wxPyBeginAllowThreads();
5993 (arg1)->SetDefaultBorderSize(arg2);
5994
5995 wxPyEndAllowThreads(__tstate);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 Py_INCREF(Py_None); resultobj = Py_None;
5999 return resultobj;
6000 fail:
6001 return NULL;
6002 }
6003
6004
6005 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6006 PyObject *resultobj;
6007 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6008 int result;
6009 PyObject * obj0 = 0 ;
6010 char *kwnames[] = {
6011 (char *) "self", NULL
6012 };
6013
6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6016 {
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6019
6020 wxPyEndAllowThreads(__tstate);
6021 if (PyErr_Occurred()) SWIG_fail;
6022 }
6023 resultobj = PyInt_FromLong((long)result);
6024 return resultobj;
6025 fail:
6026 return NULL;
6027 }
6028
6029
6030 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6031 PyObject *resultobj;
6032 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6033 int arg2 ;
6034 PyObject * obj0 = 0 ;
6035 char *kwnames[] = {
6036 (char *) "self",(char *) "width", NULL
6037 };
6038
6039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6041 {
6042 PyThreadState* __tstate = wxPyBeginAllowThreads();
6043 (arg1)->SetExtraBorderSize(arg2);
6044
6045 wxPyEndAllowThreads(__tstate);
6046 if (PyErr_Occurred()) SWIG_fail;
6047 }
6048 Py_INCREF(Py_None); resultobj = Py_None;
6049 return resultobj;
6050 fail:
6051 return NULL;
6052 }
6053
6054
6055 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6056 PyObject *resultobj;
6057 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6058 int result;
6059 PyObject * obj0 = 0 ;
6060 char *kwnames[] = {
6061 (char *) "self", NULL
6062 };
6063
6064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6066 {
6067 PyThreadState* __tstate = wxPyBeginAllowThreads();
6068 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6069
6070 wxPyEndAllowThreads(__tstate);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
6073 resultobj = PyInt_FromLong((long)result);
6074 return resultobj;
6075 fail:
6076 return NULL;
6077 }
6078
6079
6080 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6081 PyObject *resultobj;
6082 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6083 int arg2 ;
6084 PyObject * obj0 = 0 ;
6085 char *kwnames[] = {
6086 (char *) "self",(char *) "min", NULL
6087 };
6088
6089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 (arg1)->SetMinimumSizeX(arg2);
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 Py_INCREF(Py_None); resultobj = Py_None;
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6108 int arg2 ;
6109 PyObject * obj0 = 0 ;
6110 char *kwnames[] = {
6111 (char *) "self",(char *) "min", NULL
6112 };
6113
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 (arg1)->SetMinimumSizeY(arg2);
6119
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 Py_INCREF(Py_None); resultobj = Py_None;
6124 return resultobj;
6125 fail:
6126 return NULL;
6127 }
6128
6129
6130 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6131 PyObject *resultobj;
6132 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6133 int result;
6134 PyObject * obj0 = 0 ;
6135 char *kwnames[] = {
6136 (char *) "self", NULL
6137 };
6138
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6141 {
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6144
6145 wxPyEndAllowThreads(__tstate);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 resultobj = PyInt_FromLong((long)result);
6149 return resultobj;
6150 fail:
6151 return NULL;
6152 }
6153
6154
6155 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject *resultobj;
6157 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6158 int result;
6159 PyObject * obj0 = 0 ;
6160 char *kwnames[] = {
6161 (char *) "self", NULL
6162 };
6163
6164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6166 {
6167 PyThreadState* __tstate = wxPyBeginAllowThreads();
6168 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6169
6170 wxPyEndAllowThreads(__tstate);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 }
6173 resultobj = PyInt_FromLong((long)result);
6174 return resultobj;
6175 fail:
6176 return NULL;
6177 }
6178
6179
6180 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6181 PyObject *resultobj;
6182 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6183 int arg2 ;
6184 PyObject * obj0 = 0 ;
6185 char *kwnames[] = {
6186 (char *) "self",(char *) "max", NULL
6187 };
6188
6189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 (arg1)->SetMaximumSizeX(arg2);
6194
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 Py_INCREF(Py_None); resultobj = Py_None;
6199 return resultobj;
6200 fail:
6201 return NULL;
6202 }
6203
6204
6205 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6206 PyObject *resultobj;
6207 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6208 int arg2 ;
6209 PyObject * obj0 = 0 ;
6210 char *kwnames[] = {
6211 (char *) "self",(char *) "max", NULL
6212 };
6213
6214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6216 {
6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
6218 (arg1)->SetMaximumSizeY(arg2);
6219
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 Py_INCREF(Py_None); resultobj = Py_None;
6224 return resultobj;
6225 fail:
6226 return NULL;
6227 }
6228
6229
6230 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6231 PyObject *resultobj;
6232 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6233 int result;
6234 PyObject * obj0 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self", NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 resultobj = PyInt_FromLong((long)result);
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6258 int result;
6259 PyObject * obj0 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 resultobj = PyInt_FromLong((long)result);
6274 return resultobj;
6275 fail:
6276 return NULL;
6277 }
6278
6279
6280 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj;
6282 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6283 int arg2 ;
6284 int arg3 ;
6285 int arg4 = (int) 2 ;
6286 int result;
6287 PyObject * obj0 = 0 ;
6288 char *kwnames[] = {
6289 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6290 };
6291
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 resultobj = PyInt_FromLong((long)result);
6302 return resultobj;
6303 fail:
6304 return NULL;
6305 }
6306
6307
6308 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6309 PyObject *resultobj;
6310 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6311 PyObject * obj0 = 0 ;
6312 char *kwnames[] = {
6313 (char *) "self", NULL
6314 };
6315
6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6318 {
6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6320 (arg1)->SizeWindows();
6321
6322 wxPyEndAllowThreads(__tstate);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
6325 Py_INCREF(Py_None); resultobj = Py_None;
6326 return resultobj;
6327 fail:
6328 return NULL;
6329 }
6330
6331
6332 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6333 PyObject *obj;
6334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6335 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6336 Py_INCREF(obj);
6337 return Py_BuildValue((char *)"");
6338 }
6339 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj;
6341 int arg1 = (int) 0 ;
6342 int arg2 = (int) wxSASH_NONE ;
6343 wxSashEvent *result;
6344 char *kwnames[] = {
6345 (char *) "id",(char *) "edge", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6351 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6352
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
6356 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6366 int arg2 ;
6367 PyObject * obj0 = 0 ;
6368 char *kwnames[] = {
6369 (char *) "self",(char *) "edge", NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6374 {
6375 PyThreadState* __tstate = wxPyBeginAllowThreads();
6376 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6377
6378 wxPyEndAllowThreads(__tstate);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 }
6381 Py_INCREF(Py_None); resultobj = Py_None;
6382 return resultobj;
6383 fail:
6384 return NULL;
6385 }
6386
6387
6388 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj;
6390 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6391 int result;
6392 PyObject * obj0 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "self", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
6401 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6402
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 resultobj = PyInt_FromLong((long)result);
6407 return resultobj;
6408 fail:
6409 return NULL;
6410 }
6411
6412
6413 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj;
6415 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6416 wxRect *arg2 = 0 ;
6417 wxRect temp2 ;
6418 PyObject * obj0 = 0 ;
6419 PyObject * obj1 = 0 ;
6420 char *kwnames[] = {
6421 (char *) "self",(char *) "rect", NULL
6422 };
6423
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6426 {
6427 arg2 = &temp2;
6428 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6429 }
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 (arg1)->SetDragRect((wxRect const &)*arg2);
6433
6434 wxPyEndAllowThreads(__tstate);
6435 if (PyErr_Occurred()) SWIG_fail;
6436 }
6437 Py_INCREF(Py_None); resultobj = Py_None;
6438 return resultobj;
6439 fail:
6440 return NULL;
6441 }
6442
6443
6444 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6445 PyObject *resultobj;
6446 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6447 wxRect result;
6448 PyObject * obj0 = 0 ;
6449 char *kwnames[] = {
6450 (char *) "self", NULL
6451 };
6452
6453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 result = ((wxSashEvent const *)arg1)->GetDragRect();
6458
6459 wxPyEndAllowThreads(__tstate);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 {
6463 wxRect * resultptr;
6464 resultptr = new wxRect((wxRect &) result);
6465 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6466 }
6467 return resultobj;
6468 fail:
6469 return NULL;
6470 }
6471
6472
6473 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6474 PyObject *resultobj;
6475 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6476 int arg2 ;
6477 PyObject * obj0 = 0 ;
6478 char *kwnames[] = {
6479 (char *) "self",(char *) "status", NULL
6480 };
6481
6482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6484 {
6485 PyThreadState* __tstate = wxPyBeginAllowThreads();
6486 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6487
6488 wxPyEndAllowThreads(__tstate);
6489 if (PyErr_Occurred()) SWIG_fail;
6490 }
6491 Py_INCREF(Py_None); resultobj = Py_None;
6492 return resultobj;
6493 fail:
6494 return NULL;
6495 }
6496
6497
6498 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6499 PyObject *resultobj;
6500 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6501 int result;
6502 PyObject * obj0 = 0 ;
6503 char *kwnames[] = {
6504 (char *) "self", NULL
6505 };
6506
6507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6509 {
6510 PyThreadState* __tstate = wxPyBeginAllowThreads();
6511 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6512
6513 wxPyEndAllowThreads(__tstate);
6514 if (PyErr_Occurred()) SWIG_fail;
6515 }
6516 resultobj = PyInt_FromLong((long)result);
6517 return resultobj;
6518 fail:
6519 return NULL;
6520 }
6521
6522
6523 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6524 PyObject *obj;
6525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6526 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6527 Py_INCREF(obj);
6528 return Py_BuildValue((char *)"");
6529 }
6530 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6531 PyObject *resultobj;
6532 int arg1 = (int) 0 ;
6533 wxQueryLayoutInfoEvent *result;
6534 char *kwnames[] = {
6535 (char *) "id", NULL
6536 };
6537
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6539 {
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6542
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
6546 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6547 return resultobj;
6548 fail:
6549 return NULL;
6550 }
6551
6552
6553 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6554 PyObject *resultobj;
6555 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6556 int arg2 ;
6557 PyObject * obj0 = 0 ;
6558 char *kwnames[] = {
6559 (char *) "self",(char *) "length", NULL
6560 };
6561
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6564 {
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
6566 (arg1)->SetRequestedLength(arg2);
6567
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 Py_INCREF(Py_None); resultobj = Py_None;
6572 return resultobj;
6573 fail:
6574 return NULL;
6575 }
6576
6577
6578 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6579 PyObject *resultobj;
6580 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6581 int result;
6582 PyObject * obj0 = 0 ;
6583 char *kwnames[] = {
6584 (char *) "self", NULL
6585 };
6586
6587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6592
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 resultobj = PyInt_FromLong((long)result);
6597 return resultobj;
6598 fail:
6599 return NULL;
6600 }
6601
6602
6603 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6604 PyObject *resultobj;
6605 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6606 int arg2 ;
6607 PyObject * obj0 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "self",(char *) "flags", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 (arg1)->SetFlags(arg2);
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 Py_INCREF(Py_None); resultobj = Py_None;
6622 return resultobj;
6623 fail:
6624 return NULL;
6625 }
6626
6627
6628 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6629 PyObject *resultobj;
6630 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6631 int result;
6632 PyObject * obj0 = 0 ;
6633 char *kwnames[] = {
6634 (char *) "self", NULL
6635 };
6636
6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6639 {
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6642
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 resultobj = PyInt_FromLong((long)result);
6647 return resultobj;
6648 fail:
6649 return NULL;
6650 }
6651
6652
6653 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6654 PyObject *resultobj;
6655 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6656 wxSize *arg2 = 0 ;
6657 wxSize temp2 ;
6658 PyObject * obj0 = 0 ;
6659 PyObject * obj1 = 0 ;
6660 char *kwnames[] = {
6661 (char *) "self",(char *) "size", NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6666 {
6667 arg2 = &temp2;
6668 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6669 }
6670 {
6671 PyThreadState* __tstate = wxPyBeginAllowThreads();
6672 (arg1)->SetSize((wxSize const &)*arg2);
6673
6674 wxPyEndAllowThreads(__tstate);
6675 if (PyErr_Occurred()) SWIG_fail;
6676 }
6677 Py_INCREF(Py_None); resultobj = Py_None;
6678 return resultobj;
6679 fail:
6680 return NULL;
6681 }
6682
6683
6684 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6685 PyObject *resultobj;
6686 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6687 wxSize result;
6688 PyObject * obj0 = 0 ;
6689 char *kwnames[] = {
6690 (char *) "self", NULL
6691 };
6692
6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6695 {
6696 PyThreadState* __tstate = wxPyBeginAllowThreads();
6697 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6698
6699 wxPyEndAllowThreads(__tstate);
6700 if (PyErr_Occurred()) SWIG_fail;
6701 }
6702 {
6703 wxSize * resultptr;
6704 resultptr = new wxSize((wxSize &) result);
6705 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6706 }
6707 return resultobj;
6708 fail:
6709 return NULL;
6710 }
6711
6712
6713 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6714 PyObject *resultobj;
6715 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6716 int arg2 ;
6717 PyObject * obj0 = 0 ;
6718 char *kwnames[] = {
6719 (char *) "self",(char *) "orient", NULL
6720 };
6721
6722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6724 {
6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
6726 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6727
6728 wxPyEndAllowThreads(__tstate);
6729 if (PyErr_Occurred()) SWIG_fail;
6730 }
6731 Py_INCREF(Py_None); resultobj = Py_None;
6732 return resultobj;
6733 fail:
6734 return NULL;
6735 }
6736
6737
6738 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj;
6740 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6741 int result;
6742 PyObject * obj0 = 0 ;
6743 char *kwnames[] = {
6744 (char *) "self", NULL
6745 };
6746
6747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 resultobj = PyInt_FromLong((long)result);
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6766 int arg2 ;
6767 PyObject * obj0 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self",(char *) "align", NULL
6770 };
6771
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 Py_INCREF(Py_None); resultobj = Py_None;
6782 return resultobj;
6783 fail:
6784 return NULL;
6785 }
6786
6787
6788 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6789 PyObject *resultobj;
6790 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6791 int result;
6792 PyObject * obj0 = 0 ;
6793 char *kwnames[] = {
6794 (char *) "self", NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6799 {
6800 PyThreadState* __tstate = wxPyBeginAllowThreads();
6801 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6802
6803 wxPyEndAllowThreads(__tstate);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 resultobj = PyInt_FromLong((long)result);
6807 return resultobj;
6808 fail:
6809 return NULL;
6810 }
6811
6812
6813 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6814 PyObject *obj;
6815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6816 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6817 Py_INCREF(obj);
6818 return Py_BuildValue((char *)"");
6819 }
6820 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6821 PyObject *resultobj;
6822 int arg1 = (int) 0 ;
6823 wxCalculateLayoutEvent *result;
6824 char *kwnames[] = {
6825 (char *) "id", NULL
6826 };
6827
6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6832
6833 wxPyEndAllowThreads(__tstate);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
6836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6837 return resultobj;
6838 fail:
6839 return NULL;
6840 }
6841
6842
6843 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6844 PyObject *resultobj;
6845 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6846 int arg2 ;
6847 PyObject * obj0 = 0 ;
6848 char *kwnames[] = {
6849 (char *) "self",(char *) "flags", NULL
6850 };
6851
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 (arg1)->SetFlags(arg2);
6857
6858 wxPyEndAllowThreads(__tstate);
6859 if (PyErr_Occurred()) SWIG_fail;
6860 }
6861 Py_INCREF(Py_None); resultobj = Py_None;
6862 return resultobj;
6863 fail:
6864 return NULL;
6865 }
6866
6867
6868 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6869 PyObject *resultobj;
6870 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6871 int result;
6872 PyObject * obj0 = 0 ;
6873 char *kwnames[] = {
6874 (char *) "self", NULL
6875 };
6876
6877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6882
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 resultobj = PyInt_FromLong((long)result);
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj;
6895 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6896 wxRect *arg2 = 0 ;
6897 wxRect temp2 ;
6898 PyObject * obj0 = 0 ;
6899 PyObject * obj1 = 0 ;
6900 char *kwnames[] = {
6901 (char *) "self",(char *) "rect", NULL
6902 };
6903
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6906 {
6907 arg2 = &temp2;
6908 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6909 }
6910 {
6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
6912 (arg1)->SetRect((wxRect const &)*arg2);
6913
6914 wxPyEndAllowThreads(__tstate);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
6917 Py_INCREF(Py_None); resultobj = Py_None;
6918 return resultobj;
6919 fail:
6920 return NULL;
6921 }
6922
6923
6924 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6925 PyObject *resultobj;
6926 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6927 wxRect result;
6928 PyObject * obj0 = 0 ;
6929 char *kwnames[] = {
6930 (char *) "self", NULL
6931 };
6932
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6935 {
6936 PyThreadState* __tstate = wxPyBeginAllowThreads();
6937 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6938
6939 wxPyEndAllowThreads(__tstate);
6940 if (PyErr_Occurred()) SWIG_fail;
6941 }
6942 {
6943 wxRect * resultptr;
6944 resultptr = new wxRect((wxRect &) result);
6945 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6946 }
6947 return resultobj;
6948 fail:
6949 return NULL;
6950 }
6951
6952
6953 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6954 PyObject *obj;
6955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6956 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6957 Py_INCREF(obj);
6958 return Py_BuildValue((char *)"");
6959 }
6960 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxWindow *arg1 = (wxWindow *) 0 ;
6963 int arg2 ;
6964 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6965 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6966 wxSize const &arg4_defvalue = wxDefaultSize ;
6967 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6968 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6969 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6970 wxString *arg6 = (wxString *) &arg6_defvalue ;
6971 wxSashLayoutWindow *result;
6972 wxPoint temp3 ;
6973 wxSize temp4 ;
6974 bool temp6 = False ;
6975 PyObject * obj0 = 0 ;
6976 PyObject * obj2 = 0 ;
6977 PyObject * obj3 = 0 ;
6978 PyObject * obj5 = 0 ;
6979 char *kwnames[] = {
6980 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6981 };
6982
6983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6985 if (obj2) {
6986 {
6987 arg3 = &temp3;
6988 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6989 }
6990 }
6991 if (obj3) {
6992 {
6993 arg4 = &temp4;
6994 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6995 }
6996 }
6997 if (obj5) {
6998 {
6999 arg6 = wxString_in_helper(obj5);
7000 if (arg6 == NULL) SWIG_fail;
7001 temp6 = True;
7002 }
7003 }
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7007
7008 wxPyEndAllowThreads(__tstate);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 }
7011 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7012 {
7013 if (temp6)
7014 delete arg6;
7015 }
7016 return resultobj;
7017 fail:
7018 {
7019 if (temp6)
7020 delete arg6;
7021 }
7022 return NULL;
7023 }
7024
7025
7026 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7027 PyObject *resultobj;
7028 wxSashLayoutWindow *result;
7029 char *kwnames[] = {
7030 NULL
7031 };
7032
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7034 {
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7037
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
7041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7042 return resultobj;
7043 fail:
7044 return NULL;
7045 }
7046
7047
7048 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7049 PyObject *resultobj;
7050 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7051 wxWindow *arg2 = (wxWindow *) 0 ;
7052 int arg3 ;
7053 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7054 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7055 wxSize const &arg5_defvalue = wxDefaultSize ;
7056 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7057 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7058 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7059 wxString *arg7 = (wxString *) &arg7_defvalue ;
7060 bool result;
7061 wxPoint temp4 ;
7062 wxSize temp5 ;
7063 bool temp7 = False ;
7064 PyObject * obj0 = 0 ;
7065 PyObject * obj1 = 0 ;
7066 PyObject * obj3 = 0 ;
7067 PyObject * obj4 = 0 ;
7068 PyObject * obj6 = 0 ;
7069 char *kwnames[] = {
7070 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7071 };
7072
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7076 if (obj3) {
7077 {
7078 arg4 = &temp4;
7079 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7080 }
7081 }
7082 if (obj4) {
7083 {
7084 arg5 = &temp5;
7085 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7086 }
7087 }
7088 if (obj6) {
7089 {
7090 arg7 = wxString_in_helper(obj6);
7091 if (arg7 == NULL) SWIG_fail;
7092 temp7 = True;
7093 }
7094 }
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 resultobj = PyInt_FromLong((long)result);
7103 {
7104 if (temp7)
7105 delete arg7;
7106 }
7107 return resultobj;
7108 fail:
7109 {
7110 if (temp7)
7111 delete arg7;
7112 }
7113 return NULL;
7114 }
7115
7116
7117 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7118 PyObject *resultobj;
7119 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7120 int result;
7121 PyObject * obj0 = 0 ;
7122 char *kwnames[] = {
7123 (char *) "self", NULL
7124 };
7125
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (int)(arg1)->GetAlignment();
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 resultobj = PyInt_FromLong((long)result);
7136 return resultobj;
7137 fail:
7138 return NULL;
7139 }
7140
7141
7142 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7143 PyObject *resultobj;
7144 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7145 int result;
7146 PyObject * obj0 = 0 ;
7147 char *kwnames[] = {
7148 (char *) "self", NULL
7149 };
7150
7151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 result = (int)(arg1)->GetOrientation();
7156
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 resultobj = PyInt_FromLong((long)result);
7161 return resultobj;
7162 fail:
7163 return NULL;
7164 }
7165
7166
7167 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj;
7169 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7170 int arg2 ;
7171 PyObject * obj0 = 0 ;
7172 char *kwnames[] = {
7173 (char *) "self",(char *) "alignment", NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7181
7182 wxPyEndAllowThreads(__tstate);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
7185 Py_INCREF(Py_None); resultobj = Py_None;
7186 return resultobj;
7187 fail:
7188 return NULL;
7189 }
7190
7191
7192 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7193 PyObject *resultobj;
7194 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7195 wxSize *arg2 = 0 ;
7196 wxSize temp2 ;
7197 PyObject * obj0 = 0 ;
7198 PyObject * obj1 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self",(char *) "size", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 {
7206 arg2 = &temp2;
7207 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7208 }
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 Py_INCREF(Py_None); resultobj = Py_None;
7217 return resultobj;
7218 fail:
7219 return NULL;
7220 }
7221
7222
7223 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7224 PyObject *resultobj;
7225 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7226 int arg2 ;
7227 PyObject * obj0 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "self",(char *) "orientation", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7234 {
7235 PyThreadState* __tstate = wxPyBeginAllowThreads();
7236 (arg1)->SetOrientation((wxLayoutOrientation )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 * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7249 PyObject *obj;
7250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7251 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7252 Py_INCREF(obj);
7253 return Py_BuildValue((char *)"");
7254 }
7255 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7256 PyObject *resultobj;
7257 wxLayoutAlgorithm *result;
7258 char *kwnames[] = {
7259 NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7263 {
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7266
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7271 return resultobj;
7272 fail:
7273 return NULL;
7274 }
7275
7276
7277 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7278 PyObject *resultobj;
7279 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7280 PyObject * obj0 = 0 ;
7281 char *kwnames[] = {
7282 (char *) "self", NULL
7283 };
7284
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 delete arg1;
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 Py_INCREF(Py_None); resultobj = Py_None;
7295 return resultobj;
7296 fail:
7297 return NULL;
7298 }
7299
7300
7301 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7304 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7305 wxRect *arg3 = (wxRect *) NULL ;
7306 bool result;
7307 PyObject * obj0 = 0 ;
7308 PyObject * obj1 = 0 ;
7309 PyObject * obj2 = 0 ;
7310 char *kwnames[] = {
7311 (char *) "self",(char *) "frame",(char *) "rect", NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7316 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7317 if (obj2) {
7318 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7319 }
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 resultobj = PyInt_FromLong((long)result);
7328 return resultobj;
7329 fail:
7330 return NULL;
7331 }
7332
7333
7334 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7335 PyObject *resultobj;
7336 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7337 wxFrame *arg2 = (wxFrame *) 0 ;
7338 wxWindow *arg3 = (wxWindow *) NULL ;
7339 bool result;
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 PyObject * obj2 = 0 ;
7343 char *kwnames[] = {
7344 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7345 };
7346
7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7350 if (obj2) {
7351 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7352 }
7353 {
7354 PyThreadState* __tstate = wxPyBeginAllowThreads();
7355 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7356
7357 wxPyEndAllowThreads(__tstate);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
7360 resultobj = PyInt_FromLong((long)result);
7361 return resultobj;
7362 fail:
7363 return NULL;
7364 }
7365
7366
7367 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7368 PyObject *resultobj;
7369 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7370 wxWindow *arg2 = (wxWindow *) 0 ;
7371 wxWindow *arg3 = (wxWindow *) NULL ;
7372 bool result;
7373 PyObject * obj0 = 0 ;
7374 PyObject * obj1 = 0 ;
7375 PyObject * obj2 = 0 ;
7376 char *kwnames[] = {
7377 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7378 };
7379
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7382 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7383 if (obj2) {
7384 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7385 }
7386 {
7387 PyThreadState* __tstate = wxPyBeginAllowThreads();
7388 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7389
7390 wxPyEndAllowThreads(__tstate);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 }
7393 resultobj = PyInt_FromLong((long)result);
7394 return resultobj;
7395 fail:
7396 return NULL;
7397 }
7398
7399
7400 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7401 PyObject *obj;
7402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7403 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7404 Py_INCREF(obj);
7405 return Py_BuildValue((char *)"");
7406 }
7407 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7408 PyObject *resultobj;
7409 wxWindow *arg1 = (wxWindow *) 0 ;
7410 int arg2 = (int) wxBORDER_NONE ;
7411 wxPopupWindow *result;
7412 PyObject * obj0 = 0 ;
7413 char *kwnames[] = {
7414 (char *) "parent",(char *) "flags", NULL
7415 };
7416
7417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7419 {
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7427 return resultobj;
7428 fail:
7429 return NULL;
7430 }
7431
7432
7433 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7434 PyObject *resultobj;
7435 wxPopupWindow *result;
7436 char *kwnames[] = {
7437 NULL
7438 };
7439
7440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7441 {
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 result = (wxPopupWindow *)new wxPopupWindow();
7444
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
7448 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7449 return resultobj;
7450 fail:
7451 return NULL;
7452 }
7453
7454
7455 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7456 PyObject *resultobj;
7457 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7458 wxWindow *arg2 = (wxWindow *) 0 ;
7459 int arg3 = (int) wxBORDER_NONE ;
7460 bool result;
7461 PyObject * obj0 = 0 ;
7462 PyObject * obj1 = 0 ;
7463 char *kwnames[] = {
7464 (char *) "self",(char *) "parent",(char *) "flags", NULL
7465 };
7466
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7472 result = (bool)(arg1)->Create(arg2,arg3);
7473
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 resultobj = PyInt_FromLong((long)result);
7478 return resultobj;
7479 fail:
7480 return NULL;
7481 }
7482
7483
7484 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7485 PyObject *resultobj;
7486 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7487 wxPoint *arg2 = 0 ;
7488 wxSize *arg3 = 0 ;
7489 wxPoint temp2 ;
7490 wxSize temp3 ;
7491 PyObject * obj0 = 0 ;
7492 PyObject * obj1 = 0 ;
7493 PyObject * obj2 = 0 ;
7494 char *kwnames[] = {
7495 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7496 };
7497
7498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7500 {
7501 arg2 = &temp2;
7502 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7503 }
7504 {
7505 arg3 = &temp3;
7506 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7507 }
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 Py_INCREF(Py_None); resultobj = Py_None;
7516 return resultobj;
7517 fail:
7518 return NULL;
7519 }
7520
7521
7522 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7523 PyObject *obj;
7524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7525 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7526 Py_INCREF(obj);
7527 return Py_BuildValue((char *)"");
7528 }
7529 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7530 PyObject *resultobj;
7531 wxWindow *arg1 = (wxWindow *) 0 ;
7532 int arg2 = (int) wxBORDER_NONE ;
7533 wxPyPopupTransientWindow *result;
7534 PyObject * obj0 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "parent",(char *) "style", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7544
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7549 return resultobj;
7550 fail:
7551 return NULL;
7552 }
7553
7554
7555 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7556 PyObject *resultobj;
7557 wxPyPopupTransientWindow *result;
7558 char *kwnames[] = {
7559 NULL
7560 };
7561
7562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7563 {
7564 PyThreadState* __tstate = wxPyBeginAllowThreads();
7565 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7566
7567 wxPyEndAllowThreads(__tstate);
7568 if (PyErr_Occurred()) SWIG_fail;
7569 }
7570 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7571 return resultobj;
7572 fail:
7573 return NULL;
7574 }
7575
7576
7577 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7578 PyObject *resultobj;
7579 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7580 PyObject *arg2 = (PyObject *) 0 ;
7581 PyObject *arg3 = (PyObject *) 0 ;
7582 PyObject * obj0 = 0 ;
7583 PyObject * obj1 = 0 ;
7584 PyObject * obj2 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "self",(char *) "self",(char *) "_class", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7591 arg2 = obj1;
7592 arg3 = obj2;
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 (arg1)->_setCallbackInfo(arg2,arg3);
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 Py_INCREF(Py_None); resultobj = Py_None;
7601 return resultobj;
7602 fail:
7603 return NULL;
7604 }
7605
7606
7607 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj;
7609 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7610 wxWindow *arg2 = (wxWindow *) NULL ;
7611 PyObject * obj0 = 0 ;
7612 PyObject * obj1 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "self",(char *) "focus", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7619 if (obj1) {
7620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7621 }
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 (arg1)->Popup(arg2);
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 Py_INCREF(Py_None); resultobj = Py_None;
7630 return resultobj;
7631 fail:
7632 return NULL;
7633 }
7634
7635
7636 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj;
7638 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7639 PyObject * obj0 = 0 ;
7640 char *kwnames[] = {
7641 (char *) "self", NULL
7642 };
7643
7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 (arg1)->Dismiss();
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 Py_INCREF(Py_None); resultobj = Py_None;
7654 return resultobj;
7655 fail:
7656 return NULL;
7657 }
7658
7659
7660 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7661 PyObject *obj;
7662 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7663 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7664 Py_INCREF(obj);
7665 return Py_BuildValue((char *)"");
7666 }
7667 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7668 PyObject *resultobj;
7669 wxWindow *arg1 = (wxWindow *) 0 ;
7670 wxString *arg2 = 0 ;
7671 int arg3 = (int) 100 ;
7672 wxRect *arg4 = (wxRect *) NULL ;
7673 wxTipWindow *result;
7674 bool temp2 = False ;
7675 PyObject * obj0 = 0 ;
7676 PyObject * obj1 = 0 ;
7677 PyObject * obj3 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7684 {
7685 arg2 = wxString_in_helper(obj1);
7686 if (arg2 == NULL) SWIG_fail;
7687 temp2 = True;
7688 }
7689 if (obj3) {
7690 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7691 }
7692 {
7693 PyThreadState* __tstate = wxPyBeginAllowThreads();
7694 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7695
7696 wxPyEndAllowThreads(__tstate);
7697 if (PyErr_Occurred()) SWIG_fail;
7698 }
7699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7700 {
7701 if (temp2)
7702 delete arg2;
7703 }
7704 return resultobj;
7705 fail:
7706 {
7707 if (temp2)
7708 delete arg2;
7709 }
7710 return NULL;
7711 }
7712
7713
7714 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7715 PyObject *resultobj;
7716 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7717 wxRect *arg2 = 0 ;
7718 wxRect temp2 ;
7719 PyObject * obj0 = 0 ;
7720 PyObject * obj1 = 0 ;
7721 char *kwnames[] = {
7722 (char *) "self",(char *) "rectBound", NULL
7723 };
7724
7725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7727 {
7728 arg2 = &temp2;
7729 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7730 }
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 Py_INCREF(Py_None); resultobj = Py_None;
7739 return resultobj;
7740 fail:
7741 return NULL;
7742 }
7743
7744
7745 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7746 PyObject *resultobj;
7747 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7748 PyObject * obj0 = 0 ;
7749 char *kwnames[] = {
7750 (char *) "self", NULL
7751 };
7752
7753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 (arg1)->Close();
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 Py_INCREF(Py_None); resultobj = Py_None;
7763 return resultobj;
7764 fail:
7765 return NULL;
7766 }
7767
7768
7769 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7770 PyObject *obj;
7771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7772 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7773 Py_INCREF(obj);
7774 return Py_BuildValue((char *)"");
7775 }
7776 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7777 PyObject *resultobj;
7778 wxWindow *arg1 = (wxWindow *) 0 ;
7779 int arg2 = (int) wxID_ANY ;
7780 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7781 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7782 wxSize const &arg4_defvalue = wxDefaultSize ;
7783 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7784 long arg5 = (long) 0 ;
7785 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7786 wxString *arg6 = (wxString *) &arg6_defvalue ;
7787 wxPyVScrolledWindow *result;
7788 wxPoint temp3 ;
7789 wxSize temp4 ;
7790 bool temp6 = False ;
7791 PyObject * obj0 = 0 ;
7792 PyObject * obj2 = 0 ;
7793 PyObject * obj3 = 0 ;
7794 PyObject * obj5 = 0 ;
7795 char *kwnames[] = {
7796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7797 };
7798
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7801 if (obj2) {
7802 {
7803 arg3 = &temp3;
7804 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7805 }
7806 }
7807 if (obj3) {
7808 {
7809 arg4 = &temp4;
7810 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7811 }
7812 }
7813 if (obj5) {
7814 {
7815 arg6 = wxString_in_helper(obj5);
7816 if (arg6 == NULL) SWIG_fail;
7817 temp6 = True;
7818 }
7819 }
7820 {
7821 PyThreadState* __tstate = wxPyBeginAllowThreads();
7822 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7823
7824 wxPyEndAllowThreads(__tstate);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7828 {
7829 if (temp6)
7830 delete arg6;
7831 }
7832 return resultobj;
7833 fail:
7834 {
7835 if (temp6)
7836 delete arg6;
7837 }
7838 return NULL;
7839 }
7840
7841
7842 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7843 PyObject *resultobj;
7844 wxPyVScrolledWindow *result;
7845 char *kwnames[] = {
7846 NULL
7847 };
7848
7849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7867 PyObject *arg2 = (PyObject *) 0 ;
7868 PyObject *arg3 = (PyObject *) 0 ;
7869 PyObject * obj0 = 0 ;
7870 PyObject * obj1 = 0 ;
7871 PyObject * obj2 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self",(char *) "self",(char *) "_class", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7878 arg2 = obj1;
7879 arg3 = obj2;
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 (arg1)->_setCallbackInfo(arg2,arg3);
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 Py_INCREF(Py_None); resultobj = Py_None;
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj;
7896 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7897 wxWindow *arg2 = (wxWindow *) 0 ;
7898 int arg3 = (int) wxID_ANY ;
7899 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7900 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7901 wxSize const &arg5_defvalue = wxDefaultSize ;
7902 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7903 long arg6 = (long) 0 ;
7904 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7905 wxString *arg7 = (wxString *) &arg7_defvalue ;
7906 bool result;
7907 wxPoint temp4 ;
7908 wxSize temp5 ;
7909 bool temp7 = False ;
7910 PyObject * obj0 = 0 ;
7911 PyObject * obj1 = 0 ;
7912 PyObject * obj3 = 0 ;
7913 PyObject * obj4 = 0 ;
7914 PyObject * obj6 = 0 ;
7915 char *kwnames[] = {
7916 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7917 };
7918
7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7921 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7922 if (obj3) {
7923 {
7924 arg4 = &temp4;
7925 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7926 }
7927 }
7928 if (obj4) {
7929 {
7930 arg5 = &temp5;
7931 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7932 }
7933 }
7934 if (obj6) {
7935 {
7936 arg7 = wxString_in_helper(obj6);
7937 if (arg7 == NULL) SWIG_fail;
7938 temp7 = True;
7939 }
7940 }
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 resultobj = PyInt_FromLong((long)result);
7949 {
7950 if (temp7)
7951 delete arg7;
7952 }
7953 return resultobj;
7954 fail:
7955 {
7956 if (temp7)
7957 delete arg7;
7958 }
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7966 size_t arg2 ;
7967 PyObject * obj0 = 0 ;
7968 PyObject * obj1 = 0 ;
7969 char *kwnames[] = {
7970 (char *) "self",(char *) "count", NULL
7971 };
7972
7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7975 arg2 = (size_t) PyInt_AsLong(obj1);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 (arg1)->SetLineCount(arg2);
7980
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 Py_INCREF(Py_None); resultobj = Py_None;
7985 return resultobj;
7986 fail:
7987 return NULL;
7988 }
7989
7990
7991 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7992 PyObject *resultobj;
7993 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7994 size_t arg2 ;
7995 bool result;
7996 PyObject * obj0 = 0 ;
7997 PyObject * obj1 = 0 ;
7998 char *kwnames[] = {
7999 (char *) "self",(char *) "line", NULL
8000 };
8001
8002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8004 arg2 = (size_t) PyInt_AsLong(obj1);
8005 if (PyErr_Occurred()) SWIG_fail;
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 result = (bool)(arg1)->ScrollToLine(arg2);
8009
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 resultobj = PyInt_FromLong((long)result);
8014 return resultobj;
8015 fail:
8016 return NULL;
8017 }
8018
8019
8020 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8021 PyObject *resultobj;
8022 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8023 int arg2 ;
8024 bool result;
8025 PyObject * obj0 = 0 ;
8026 char *kwnames[] = {
8027 (char *) "self",(char *) "lines", NULL
8028 };
8029
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
8031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = (bool)(arg1)->ScrollLines(arg2);
8035
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 resultobj = PyInt_FromLong((long)result);
8040 return resultobj;
8041 fail:
8042 return NULL;
8043 }
8044
8045
8046 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8047 PyObject *resultobj;
8048 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8049 int arg2 ;
8050 bool result;
8051 PyObject * obj0 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "self",(char *) "pages", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
8057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 result = (bool)(arg1)->ScrollPages(arg2);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 resultobj = PyInt_FromLong((long)result);
8066 return resultobj;
8067 fail:
8068 return NULL;
8069 }
8070
8071
8072 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8075 size_t arg2 ;
8076 PyObject * obj0 = 0 ;
8077 PyObject * obj1 = 0 ;
8078 char *kwnames[] = {
8079 (char *) "self",(char *) "line", NULL
8080 };
8081
8082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8084 arg2 = (size_t) PyInt_AsLong(obj1);
8085 if (PyErr_Occurred()) SWIG_fail;
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 (arg1)->RefreshLine(arg2);
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 Py_INCREF(Py_None); resultobj = Py_None;
8094 return resultobj;
8095 fail:
8096 return NULL;
8097 }
8098
8099
8100 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8101 PyObject *resultobj;
8102 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8103 size_t arg2 ;
8104 size_t arg3 ;
8105 PyObject * obj0 = 0 ;
8106 PyObject * obj1 = 0 ;
8107 PyObject * obj2 = 0 ;
8108 char *kwnames[] = {
8109 (char *) "self",(char *) "from",(char *) "to", NULL
8110 };
8111
8112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8114 arg2 = (size_t) PyInt_AsLong(obj1);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 arg3 = (size_t) PyInt_AsLong(obj2);
8117 if (PyErr_Occurred()) SWIG_fail;
8118 {
8119 PyThreadState* __tstate = wxPyBeginAllowThreads();
8120 (arg1)->RefreshLines(arg2,arg3);
8121
8122 wxPyEndAllowThreads(__tstate);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 }
8125 Py_INCREF(Py_None); resultobj = Py_None;
8126 return resultobj;
8127 fail:
8128 return NULL;
8129 }
8130
8131
8132 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8133 PyObject *resultobj;
8134 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8135 int arg2 ;
8136 int arg3 ;
8137 int result;
8138 PyObject * obj0 = 0 ;
8139 char *kwnames[] = {
8140 (char *) "self",(char *) "x",(char *) "y", NULL
8141 };
8142
8143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 resultobj = PyInt_FromLong((long)result);
8153 return resultobj;
8154 fail:
8155 return NULL;
8156 }
8157
8158
8159 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj;
8161 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8162 wxPoint *arg2 = 0 ;
8163 int result;
8164 wxPoint temp2 ;
8165 PyObject * obj0 = 0 ;
8166 PyObject * obj1 = 0 ;
8167 char *kwnames[] = {
8168 (char *) "self",(char *) "pt", NULL
8169 };
8170
8171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8173 {
8174 arg2 = &temp2;
8175 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8176 }
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 resultobj = PyInt_FromLong((long)result);
8185 return resultobj;
8186 fail:
8187 return NULL;
8188 }
8189
8190
8191 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8194 PyObject * obj0 = 0 ;
8195 char *kwnames[] = {
8196 (char *) "self", NULL
8197 };
8198
8199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8201 {
8202 PyThreadState* __tstate = wxPyBeginAllowThreads();
8203 (arg1)->RefreshAll();
8204
8205 wxPyEndAllowThreads(__tstate);
8206 if (PyErr_Occurred()) SWIG_fail;
8207 }
8208 Py_INCREF(Py_None); resultobj = Py_None;
8209 return resultobj;
8210 fail:
8211 return NULL;
8212 }
8213
8214
8215 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8216 PyObject *resultobj;
8217 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8218 size_t result;
8219 PyObject * obj0 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 resultobj = PyInt_FromLong((long)result);
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj;
8242 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8243 size_t result;
8244 PyObject * obj0 = 0 ;
8245 char *kwnames[] = {
8246 (char *) "self", NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 resultobj = PyInt_FromLong((long)result);
8259 return resultobj;
8260 fail:
8261 return NULL;
8262 }
8263
8264
8265 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj;
8267 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8268 size_t result;
8269 PyObject * obj0 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8276 {
8277 PyThreadState* __tstate = wxPyBeginAllowThreads();
8278 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8279
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 resultobj = PyInt_FromLong((long)result);
8284 return resultobj;
8285 fail:
8286 return NULL;
8287 }
8288
8289
8290 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8291 PyObject *resultobj;
8292 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8293 size_t arg2 ;
8294 bool result;
8295 PyObject * obj0 = 0 ;
8296 PyObject * obj1 = 0 ;
8297 char *kwnames[] = {
8298 (char *) "self",(char *) "line", NULL
8299 };
8300
8301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8303 arg2 = (size_t) PyInt_AsLong(obj1);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 {
8306 PyThreadState* __tstate = wxPyBeginAllowThreads();
8307 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8308
8309 wxPyEndAllowThreads(__tstate);
8310 if (PyErr_Occurred()) SWIG_fail;
8311 }
8312 resultobj = PyInt_FromLong((long)result);
8313 return resultobj;
8314 fail:
8315 return NULL;
8316 }
8317
8318
8319 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8320 PyObject *obj;
8321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8322 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8323 Py_INCREF(obj);
8324 return Py_BuildValue((char *)"");
8325 }
8326 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
8327 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
8328 return 1;
8329 }
8330
8331
8332 static PyObject *_wrap_VListBoxNameStr_get() {
8333 PyObject *pyobj;
8334
8335 {
8336 #if wxUSE_UNICODE
8337 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8338 #else
8339 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8340 #endif
8341 }
8342 return pyobj;
8343 }
8344
8345
8346 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxWindow *arg1 = (wxWindow *) 0 ;
8349 int arg2 = (int) wxID_ANY ;
8350 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8351 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8352 wxSize const &arg4_defvalue = wxDefaultSize ;
8353 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8354 long arg5 = (long) 0 ;
8355 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8356 wxString *arg6 = (wxString *) &arg6_defvalue ;
8357 wxPyVListBox *result;
8358 wxPoint temp3 ;
8359 wxSize temp4 ;
8360 bool temp6 = False ;
8361 PyObject * obj0 = 0 ;
8362 PyObject * obj2 = 0 ;
8363 PyObject * obj3 = 0 ;
8364 PyObject * obj5 = 0 ;
8365 char *kwnames[] = {
8366 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8367 };
8368
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8371 if (obj2) {
8372 {
8373 arg3 = &temp3;
8374 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8375 }
8376 }
8377 if (obj3) {
8378 {
8379 arg4 = &temp4;
8380 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8381 }
8382 }
8383 if (obj5) {
8384 {
8385 arg6 = wxString_in_helper(obj5);
8386 if (arg6 == NULL) SWIG_fail;
8387 temp6 = True;
8388 }
8389 }
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8393
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8398 {
8399 if (temp6)
8400 delete arg6;
8401 }
8402 return resultobj;
8403 fail:
8404 {
8405 if (temp6)
8406 delete arg6;
8407 }
8408 return NULL;
8409 }
8410
8411
8412 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8413 PyObject *resultobj;
8414 wxPyVListBox *result;
8415 char *kwnames[] = {
8416 NULL
8417 };
8418
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 result = (wxPyVListBox *)new wxPyVListBox();
8423
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8428 return resultobj;
8429 fail:
8430 return NULL;
8431 }
8432
8433
8434 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj;
8436 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8437 PyObject *arg2 = (PyObject *) 0 ;
8438 PyObject *arg3 = (PyObject *) 0 ;
8439 PyObject * obj0 = 0 ;
8440 PyObject * obj1 = 0 ;
8441 PyObject * obj2 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self",(char *) "self",(char *) "_class", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8448 arg2 = obj1;
8449 arg3 = obj2;
8450 {
8451 PyThreadState* __tstate = wxPyBeginAllowThreads();
8452 (arg1)->_setCallbackInfo(arg2,arg3);
8453
8454 wxPyEndAllowThreads(__tstate);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 }
8457 Py_INCREF(Py_None); resultobj = Py_None;
8458 return resultobj;
8459 fail:
8460 return NULL;
8461 }
8462
8463
8464 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj;
8466 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8467 wxWindow *arg2 = (wxWindow *) 0 ;
8468 int arg3 = (int) wxID_ANY ;
8469 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8470 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8471 wxSize const &arg5_defvalue = wxDefaultSize ;
8472 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8473 long arg6 = (long) 0 ;
8474 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8475 wxString *arg7 = (wxString *) &arg7_defvalue ;
8476 bool result;
8477 wxPoint temp4 ;
8478 wxSize temp5 ;
8479 bool temp7 = False ;
8480 PyObject * obj0 = 0 ;
8481 PyObject * obj1 = 0 ;
8482 PyObject * obj3 = 0 ;
8483 PyObject * obj4 = 0 ;
8484 PyObject * obj6 = 0 ;
8485 char *kwnames[] = {
8486 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8487 };
8488
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8491 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8492 if (obj3) {
8493 {
8494 arg4 = &temp4;
8495 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8496 }
8497 }
8498 if (obj4) {
8499 {
8500 arg5 = &temp5;
8501 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8502 }
8503 }
8504 if (obj6) {
8505 {
8506 arg7 = wxString_in_helper(obj6);
8507 if (arg7 == NULL) SWIG_fail;
8508 temp7 = True;
8509 }
8510 }
8511 {
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8514
8515 wxPyEndAllowThreads(__tstate);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 }
8518 resultobj = PyInt_FromLong((long)result);
8519 {
8520 if (temp7)
8521 delete arg7;
8522 }
8523 return resultobj;
8524 fail:
8525 {
8526 if (temp7)
8527 delete arg7;
8528 }
8529 return NULL;
8530 }
8531
8532
8533 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8536 size_t result;
8537 PyObject * obj0 = 0 ;
8538 char *kwnames[] = {
8539 (char *) "self", NULL
8540 };
8541
8542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 resultobj = PyInt_FromLong((long)result);
8552 return resultobj;
8553 fail:
8554 return NULL;
8555 }
8556
8557
8558 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8559 PyObject *resultobj;
8560 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8561 bool result;
8562 PyObject * obj0 = 0 ;
8563 char *kwnames[] = {
8564 (char *) "self", NULL
8565 };
8566
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8572
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 resultobj = PyInt_FromLong((long)result);
8577 return resultobj;
8578 fail:
8579 return NULL;
8580 }
8581
8582
8583 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8584 PyObject *resultobj;
8585 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8586 int result;
8587 PyObject * obj0 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "self", NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 resultobj = PyInt_FromLong((long)result);
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj;
8610 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8611 size_t arg2 ;
8612 bool result;
8613 PyObject * obj0 = 0 ;
8614 PyObject * obj1 = 0 ;
8615 char *kwnames[] = {
8616 (char *) "self",(char *) "item", NULL
8617 };
8618
8619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8621 arg2 = (size_t) PyInt_AsLong(obj1);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8626
8627 wxPyEndAllowThreads(__tstate);
8628 if (PyErr_Occurred()) SWIG_fail;
8629 }
8630 resultobj = PyInt_FromLong((long)result);
8631 return resultobj;
8632 fail:
8633 return NULL;
8634 }
8635
8636
8637 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8638 PyObject *resultobj;
8639 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8640 size_t arg2 ;
8641 bool result;
8642 PyObject * obj0 = 0 ;
8643 PyObject * obj1 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "self",(char *) "item", NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8650 arg2 = (size_t) PyInt_AsLong(obj1);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8655
8656 wxPyEndAllowThreads(__tstate);
8657 if (PyErr_Occurred()) SWIG_fail;
8658 }
8659 resultobj = PyInt_FromLong((long)result);
8660 return resultobj;
8661 fail:
8662 return NULL;
8663 }
8664
8665
8666 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8667 PyObject *resultobj;
8668 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8669 size_t result;
8670 PyObject * obj0 = 0 ;
8671 char *kwnames[] = {
8672 (char *) "self", NULL
8673 };
8674
8675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8677 {
8678 PyThreadState* __tstate = wxPyBeginAllowThreads();
8679 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8680
8681 wxPyEndAllowThreads(__tstate);
8682 if (PyErr_Occurred()) SWIG_fail;
8683 }
8684 resultobj = PyInt_FromLong((long)result);
8685 return resultobj;
8686 fail:
8687 return NULL;
8688 }
8689
8690
8691 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8692 PyObject *resultobj;
8693 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8694 unsigned long *arg2 = 0 ;
8695 int result;
8696 PyObject * obj0 = 0 ;
8697 PyObject * obj1 = 0 ;
8698 char *kwnames[] = {
8699 (char *) "self",(char *) "cookie", NULL
8700 };
8701
8702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8705 if (arg2 == NULL) {
8706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8707 }
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8711
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 resultobj = PyInt_FromLong((long)result);
8716 return resultobj;
8717 fail:
8718 return NULL;
8719 }
8720
8721
8722 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8725 unsigned long *arg2 = 0 ;
8726 int result;
8727 PyObject * obj0 = 0 ;
8728 PyObject * obj1 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self",(char *) "cookie", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8736 if (arg2 == NULL) {
8737 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8738 }
8739 {
8740 PyThreadState* __tstate = wxPyBeginAllowThreads();
8741 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8742
8743 wxPyEndAllowThreads(__tstate);
8744 if (PyErr_Occurred()) SWIG_fail;
8745 }
8746 resultobj = PyInt_FromLong((long)result);
8747 return resultobj;
8748 fail:
8749 return NULL;
8750 }
8751
8752
8753 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8756 wxPoint result;
8757 PyObject * obj0 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "self", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 result = ((wxPyVListBox const *)arg1)->GetMargins();
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 {
8772 wxPoint * resultptr;
8773 resultptr = new wxPoint((wxPoint &) result);
8774 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8775 }
8776 return resultobj;
8777 fail:
8778 return NULL;
8779 }
8780
8781
8782 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8783 PyObject *resultobj;
8784 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8785 wxColour *result;
8786 PyObject * obj0 = 0 ;
8787 char *kwnames[] = {
8788 (char *) "self", NULL
8789 };
8790
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 {
8796 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8797 result = (wxColour *) &_result_ref;
8798 }
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8804 return resultobj;
8805 fail:
8806 return NULL;
8807 }
8808
8809
8810 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8813 size_t arg2 ;
8814 PyObject * obj0 = 0 ;
8815 PyObject * obj1 = 0 ;
8816 char *kwnames[] = {
8817 (char *) "self",(char *) "count", NULL
8818 };
8819
8820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8822 arg2 = (size_t) PyInt_AsLong(obj1);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 {
8825 PyThreadState* __tstate = wxPyBeginAllowThreads();
8826 (arg1)->SetItemCount(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_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj;
8840 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8841 PyObject * obj0 = 0 ;
8842 char *kwnames[] = {
8843 (char *) "self", NULL
8844 };
8845
8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 (arg1)->Clear();
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 Py_INCREF(Py_None); resultobj = Py_None;
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj;
8864 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8865 int arg2 ;
8866 PyObject * obj0 = 0 ;
8867 char *kwnames[] = {
8868 (char *) "self",(char *) "selection", NULL
8869 };
8870
8871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 (arg1)->SetSelection(arg2);
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 Py_INCREF(Py_None); resultobj = Py_None;
8881 return resultobj;
8882 fail:
8883 return NULL;
8884 }
8885
8886
8887 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8888 PyObject *resultobj;
8889 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8890 size_t arg2 ;
8891 bool arg3 = (bool) True ;
8892 bool result;
8893 PyObject * obj0 = 0 ;
8894 PyObject * obj1 = 0 ;
8895 PyObject * obj2 = 0 ;
8896 char *kwnames[] = {
8897 (char *) "self",(char *) "item",(char *) "select", NULL
8898 };
8899
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8902 arg2 = (size_t) PyInt_AsLong(obj1);
8903 if (PyErr_Occurred()) SWIG_fail;
8904 if (obj2) {
8905 arg3 = PyInt_AsLong(obj2) ? true : false;
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
8910 result = (bool)(arg1)->Select(arg2,arg3);
8911
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 resultobj = PyInt_FromLong((long)result);
8916 return resultobj;
8917 fail:
8918 return NULL;
8919 }
8920
8921
8922 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8923 PyObject *resultobj;
8924 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8925 size_t arg2 ;
8926 size_t arg3 ;
8927 bool result;
8928 PyObject * obj0 = 0 ;
8929 PyObject * obj1 = 0 ;
8930 PyObject * obj2 = 0 ;
8931 char *kwnames[] = {
8932 (char *) "self",(char *) "from",(char *) "to", NULL
8933 };
8934
8935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8937 arg2 = (size_t) PyInt_AsLong(obj1);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 arg3 = (size_t) PyInt_AsLong(obj2);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 result = (bool)(arg1)->SelectRange(arg2,arg3);
8944
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) SWIG_fail;
8947 }
8948 resultobj = PyInt_FromLong((long)result);
8949 return resultobj;
8950 fail:
8951 return NULL;
8952 }
8953
8954
8955 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8956 PyObject *resultobj;
8957 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8958 size_t arg2 ;
8959 PyObject * obj0 = 0 ;
8960 PyObject * obj1 = 0 ;
8961 char *kwnames[] = {
8962 (char *) "self",(char *) "item", NULL
8963 };
8964
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8967 arg2 = (size_t) PyInt_AsLong(obj1);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 (arg1)->Toggle(arg2);
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
8976 Py_INCREF(Py_None); resultobj = Py_None;
8977 return resultobj;
8978 fail:
8979 return NULL;
8980 }
8981
8982
8983 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8984 PyObject *resultobj;
8985 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8986 bool result;
8987 PyObject * obj0 = 0 ;
8988 char *kwnames[] = {
8989 (char *) "self", NULL
8990 };
8991
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8994 {
8995 PyThreadState* __tstate = wxPyBeginAllowThreads();
8996 result = (bool)(arg1)->SelectAll();
8997
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
9001 resultobj = PyInt_FromLong((long)result);
9002 return resultobj;
9003 fail:
9004 return NULL;
9005 }
9006
9007
9008 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj;
9010 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9011 bool result;
9012 PyObject * obj0 = 0 ;
9013 char *kwnames[] = {
9014 (char *) "self", NULL
9015 };
9016
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 result = (bool)(arg1)->DeselectAll();
9022
9023 wxPyEndAllowThreads(__tstate);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 }
9026 resultobj = PyInt_FromLong((long)result);
9027 return resultobj;
9028 fail:
9029 return NULL;
9030 }
9031
9032
9033 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9034 PyObject *resultobj;
9035 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9036 wxPoint *arg2 = 0 ;
9037 wxPoint temp2 ;
9038 PyObject * obj0 = 0 ;
9039 PyObject * obj1 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self",(char *) "pt", NULL
9042 };
9043
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9046 {
9047 arg2 = &temp2;
9048 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9049 }
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 (arg1)->SetMargins((wxPoint const &)*arg2);
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 Py_INCREF(Py_None); resultobj = Py_None;
9058 return resultobj;
9059 fail:
9060 return NULL;
9061 }
9062
9063
9064 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9067 int arg2 ;
9068 int arg3 ;
9069 PyObject * obj0 = 0 ;
9070 char *kwnames[] = {
9071 (char *) "self",(char *) "x",(char *) "y", NULL
9072 };
9073
9074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9076 {
9077 PyThreadState* __tstate = wxPyBeginAllowThreads();
9078 (arg1)->SetMargins(arg2,arg3);
9079
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 Py_INCREF(Py_None); resultobj = Py_None;
9084 return resultobj;
9085 fail:
9086 return NULL;
9087 }
9088
9089
9090 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj;
9092 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9093 wxColour *arg2 = 0 ;
9094 wxColour temp2 ;
9095 PyObject * obj0 = 0 ;
9096 PyObject * obj1 = 0 ;
9097 char *kwnames[] = {
9098 (char *) "self",(char *) "col", NULL
9099 };
9100
9101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9103 {
9104 arg2 = &temp2;
9105 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9106 }
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9110
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 Py_INCREF(Py_None); resultobj = Py_None;
9115 return resultobj;
9116 fail:
9117 return NULL;
9118 }
9119
9120
9121 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9122 PyObject *obj;
9123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9124 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9125 Py_INCREF(obj);
9126 return Py_BuildValue((char *)"");
9127 }
9128 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9129 PyObject *resultobj;
9130 wxWindow *arg1 = (wxWindow *) 0 ;
9131 int arg2 = (int) wxID_ANY ;
9132 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9133 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9134 wxSize const &arg4_defvalue = wxDefaultSize ;
9135 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9136 long arg5 = (long) 0 ;
9137 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9138 wxString *arg6 = (wxString *) &arg6_defvalue ;
9139 wxPyHtmlListBox *result;
9140 wxPoint temp3 ;
9141 wxSize temp4 ;
9142 bool temp6 = False ;
9143 PyObject * obj0 = 0 ;
9144 PyObject * obj2 = 0 ;
9145 PyObject * obj3 = 0 ;
9146 PyObject * obj5 = 0 ;
9147 char *kwnames[] = {
9148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9149 };
9150
9151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9153 if (obj2) {
9154 {
9155 arg3 = &temp3;
9156 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9157 }
9158 }
9159 if (obj3) {
9160 {
9161 arg4 = &temp4;
9162 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9163 }
9164 }
9165 if (obj5) {
9166 {
9167 arg6 = wxString_in_helper(obj5);
9168 if (arg6 == NULL) SWIG_fail;
9169 temp6 = True;
9170 }
9171 }
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9180 {
9181 if (temp6)
9182 delete arg6;
9183 }
9184 return resultobj;
9185 fail:
9186 {
9187 if (temp6)
9188 delete arg6;
9189 }
9190 return NULL;
9191 }
9192
9193
9194 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj;
9196 wxPyHtmlListBox *result;
9197 char *kwnames[] = {
9198 NULL
9199 };
9200
9201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9202 {
9203 PyThreadState* __tstate = wxPyBeginAllowThreads();
9204 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9205
9206 wxPyEndAllowThreads(__tstate);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 }
9209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9210 return resultobj;
9211 fail:
9212 return NULL;
9213 }
9214
9215
9216 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9217 PyObject *resultobj;
9218 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9219 PyObject *arg2 = (PyObject *) 0 ;
9220 PyObject *arg3 = (PyObject *) 0 ;
9221 PyObject * obj0 = 0 ;
9222 PyObject * obj1 = 0 ;
9223 PyObject * obj2 = 0 ;
9224 char *kwnames[] = {
9225 (char *) "self",(char *) "self",(char *) "_class", NULL
9226 };
9227
9228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9230 arg2 = obj1;
9231 arg3 = obj2;
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 (arg1)->_setCallbackInfo(arg2,arg3);
9235
9236 wxPyEndAllowThreads(__tstate);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 }
9239 Py_INCREF(Py_None); resultobj = Py_None;
9240 return resultobj;
9241 fail:
9242 return NULL;
9243 }
9244
9245
9246 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9247 PyObject *resultobj;
9248 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9249 wxWindow *arg2 = (wxWindow *) 0 ;
9250 int arg3 = (int) wxID_ANY ;
9251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9253 wxSize const &arg5_defvalue = wxDefaultSize ;
9254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9255 long arg6 = (long) 0 ;
9256 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9257 wxString *arg7 = (wxString *) &arg7_defvalue ;
9258 bool result;
9259 wxPoint temp4 ;
9260 wxSize temp5 ;
9261 bool temp7 = False ;
9262 PyObject * obj0 = 0 ;
9263 PyObject * obj1 = 0 ;
9264 PyObject * obj3 = 0 ;
9265 PyObject * obj4 = 0 ;
9266 PyObject * obj6 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9274 if (obj3) {
9275 {
9276 arg4 = &temp4;
9277 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9278 }
9279 }
9280 if (obj4) {
9281 {
9282 arg5 = &temp5;
9283 if ( ! wxSize_helper(obj4, &arg5)) 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 = PyInt_FromLong((long)result);
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_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj;
9317 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9318 PyObject * obj0 = 0 ;
9319 char *kwnames[] = {
9320 (char *) "self", NULL
9321 };
9322
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 (arg1)->RefreshAll();
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 Py_INCREF(Py_None); resultobj = Py_None;
9333 return resultobj;
9334 fail:
9335 return NULL;
9336 }
9337
9338
9339 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9340 PyObject *resultobj;
9341 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9342 size_t arg2 ;
9343 PyObject * obj0 = 0 ;
9344 PyObject * obj1 = 0 ;
9345 char *kwnames[] = {
9346 (char *) "self",(char *) "count", NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9351 arg2 = (size_t) PyInt_AsLong(obj1);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 {
9354 PyThreadState* __tstate = wxPyBeginAllowThreads();
9355 (arg1)->SetItemCount(arg2);
9356
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
9360 Py_INCREF(Py_None); resultobj = Py_None;
9361 return resultobj;
9362 fail:
9363 return NULL;
9364 }
9365
9366
9367 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9368 PyObject *obj;
9369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9370 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9371 Py_INCREF(obj);
9372 return Py_BuildValue((char *)"");
9373 }
9374 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9375 PyObject *resultobj;
9376 wxTaskBarIcon *result;
9377 char *kwnames[] = {
9378 NULL
9379 };
9380
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9382 {
9383 PyThreadState* __tstate = wxPyBeginAllowThreads();
9384 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9385
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9390 return resultobj;
9391 fail:
9392 return NULL;
9393 }
9394
9395
9396 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9397 PyObject *resultobj;
9398 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9399 PyObject * obj0 = 0 ;
9400 char *kwnames[] = {
9401 (char *) "self", NULL
9402 };
9403
9404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 delete arg1;
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 Py_INCREF(Py_None); resultobj = Py_None;
9414 return resultobj;
9415 fail:
9416 return NULL;
9417 }
9418
9419
9420 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9421 PyObject *resultobj;
9422 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9423 bool result;
9424 PyObject * obj0 = 0 ;
9425 char *kwnames[] = {
9426 (char *) "self", NULL
9427 };
9428
9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9431 {
9432 PyThreadState* __tstate = wxPyBeginAllowThreads();
9433 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9434
9435 wxPyEndAllowThreads(__tstate);
9436 if (PyErr_Occurred()) SWIG_fail;
9437 }
9438 resultobj = PyInt_FromLong((long)result);
9439 return resultobj;
9440 fail:
9441 return NULL;
9442 }
9443
9444
9445 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9446 PyObject *resultobj;
9447 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9448 bool result;
9449 PyObject * obj0 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9456 {
9457 PyThreadState* __tstate = wxPyBeginAllowThreads();
9458 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9459
9460 wxPyEndAllowThreads(__tstate);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
9463 resultobj = PyInt_FromLong((long)result);
9464 return resultobj;
9465 fail:
9466 return NULL;
9467 }
9468
9469
9470 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9471 PyObject *resultobj;
9472 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9473 wxIcon *arg2 = 0 ;
9474 wxString const &arg3_defvalue = wxPyEmptyString ;
9475 wxString *arg3 = (wxString *) &arg3_defvalue ;
9476 bool result;
9477 bool temp3 = False ;
9478 PyObject * obj0 = 0 ;
9479 PyObject * obj1 = 0 ;
9480 PyObject * obj2 = 0 ;
9481 char *kwnames[] = {
9482 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9483 };
9484
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9488 if (arg2 == NULL) {
9489 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9490 }
9491 if (obj2) {
9492 {
9493 arg3 = wxString_in_helper(obj2);
9494 if (arg3 == NULL) SWIG_fail;
9495 temp3 = True;
9496 }
9497 }
9498 {
9499 PyThreadState* __tstate = wxPyBeginAllowThreads();
9500 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9501
9502 wxPyEndAllowThreads(__tstate);
9503 if (PyErr_Occurred()) SWIG_fail;
9504 }
9505 resultobj = PyInt_FromLong((long)result);
9506 {
9507 if (temp3)
9508 delete arg3;
9509 }
9510 return resultobj;
9511 fail:
9512 {
9513 if (temp3)
9514 delete arg3;
9515 }
9516 return NULL;
9517 }
9518
9519
9520 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9521 PyObject *resultobj;
9522 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9523 bool result;
9524 PyObject * obj0 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "self", NULL
9527 };
9528
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 result = (bool)(arg1)->RemoveIcon();
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 resultobj = PyInt_FromLong((long)result);
9539 return resultobj;
9540 fail:
9541 return NULL;
9542 }
9543
9544
9545 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9546 PyObject *resultobj;
9547 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9548 wxMenu *arg2 = (wxMenu *) 0 ;
9549 bool result;
9550 PyObject * obj0 = 0 ;
9551 PyObject * obj1 = 0 ;
9552 char *kwnames[] = {
9553 (char *) "self",(char *) "menu", NULL
9554 };
9555
9556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9559 {
9560 PyThreadState* __tstate = wxPyBeginAllowThreads();
9561 result = (bool)(arg1)->PopupMenu(arg2);
9562
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 resultobj = PyInt_FromLong((long)result);
9567 return resultobj;
9568 fail:
9569 return NULL;
9570 }
9571
9572
9573 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9574 PyObject *obj;
9575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9576 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9577 Py_INCREF(obj);
9578 return Py_BuildValue((char *)"");
9579 }
9580 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9581 PyObject *resultobj;
9582 wxEventType arg1 ;
9583 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9584 wxTaskBarIconEvent *result;
9585 PyObject * obj1 = 0 ;
9586 char *kwnames[] = {
9587 (char *) "evtType",(char *) "tbIcon", NULL
9588 };
9589
9590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9595
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
9599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9600 return resultobj;
9601 fail:
9602 return NULL;
9603 }
9604
9605
9606 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9607 PyObject *obj;
9608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9609 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9610 Py_INCREF(obj);
9611 return Py_BuildValue((char *)"");
9612 }
9613 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
9614 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
9615 return 1;
9616 }
9617
9618
9619 static PyObject *_wrap_FileSelectorPromptStr_get() {
9620 PyObject *pyobj;
9621
9622 {
9623 #if wxUSE_UNICODE
9624 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9625 #else
9626 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9627 #endif
9628 }
9629 return pyobj;
9630 }
9631
9632
9633 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
9634 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
9635 return 1;
9636 }
9637
9638
9639 static PyObject *_wrap_DirSelectorPromptStr_get() {
9640 PyObject *pyobj;
9641
9642 {
9643 #if wxUSE_UNICODE
9644 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9645 #else
9646 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9647 #endif
9648 }
9649 return pyobj;
9650 }
9651
9652
9653 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
9654 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
9655 return 1;
9656 }
9657
9658
9659 static PyObject *_wrap_DirDialogNameStr_get() {
9660 PyObject *pyobj;
9661
9662 {
9663 #if wxUSE_UNICODE
9664 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9665 #else
9666 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9667 #endif
9668 }
9669 return pyobj;
9670 }
9671
9672
9673 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
9674 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
9675 return 1;
9676 }
9677
9678
9679 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
9680 PyObject *pyobj;
9681
9682 {
9683 #if wxUSE_UNICODE
9684 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9685 #else
9686 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9687 #endif
9688 }
9689 return pyobj;
9690 }
9691
9692
9693 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
9694 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
9695 return 1;
9696 }
9697
9698
9699 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
9700 PyObject *pyobj;
9701
9702 {
9703 #if wxUSE_UNICODE
9704 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9705 #else
9706 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9707 #endif
9708 }
9709 return pyobj;
9710 }
9711
9712
9713 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
9714 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
9715 return 1;
9716 }
9717
9718
9719 static PyObject *_wrap_MessageBoxCaptionStr_get() {
9720 PyObject *pyobj;
9721
9722 {
9723 #if wxUSE_UNICODE
9724 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9725 #else
9726 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9727 #endif
9728 }
9729 return pyobj;
9730 }
9731
9732
9733 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj;
9735 wxColourData *result;
9736 char *kwnames[] = {
9737 NULL
9738 };
9739
9740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9741 {
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
9743 result = (wxColourData *)new wxColourData();
9744
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9749 return resultobj;
9750 fail:
9751 return NULL;
9752 }
9753
9754
9755 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9756 PyObject *resultobj;
9757 wxColourData *arg1 = (wxColourData *) 0 ;
9758 PyObject * obj0 = 0 ;
9759 char *kwnames[] = {
9760 (char *) "self", NULL
9761 };
9762
9763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 delete arg1;
9768
9769 wxPyEndAllowThreads(__tstate);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
9772 Py_INCREF(Py_None); resultobj = Py_None;
9773 return resultobj;
9774 fail:
9775 return NULL;
9776 }
9777
9778
9779 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9780 PyObject *resultobj;
9781 wxColourData *arg1 = (wxColourData *) 0 ;
9782 bool result;
9783 PyObject * obj0 = 0 ;
9784 char *kwnames[] = {
9785 (char *) "self", NULL
9786 };
9787
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (bool)(arg1)->GetChooseFull();
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 resultobj = PyInt_FromLong((long)result);
9798 return resultobj;
9799 fail:
9800 return NULL;
9801 }
9802
9803
9804 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9805 PyObject *resultobj;
9806 wxColourData *arg1 = (wxColourData *) 0 ;
9807 wxColour result;
9808 PyObject * obj0 = 0 ;
9809 char *kwnames[] = {
9810 (char *) "self", NULL
9811 };
9812
9813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9815 {
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 result = (arg1)->GetColour();
9818
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 }
9822 {
9823 wxColour * resultptr;
9824 resultptr = new wxColour((wxColour &) result);
9825 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9826 }
9827 return resultobj;
9828 fail:
9829 return NULL;
9830 }
9831
9832
9833 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj;
9835 wxColourData *arg1 = (wxColourData *) 0 ;
9836 int arg2 ;
9837 wxColour result;
9838 PyObject * obj0 = 0 ;
9839 char *kwnames[] = {
9840 (char *) "self",(char *) "i", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 result = (arg1)->GetCustomColour(arg2);
9848
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 {
9853 wxColour * resultptr;
9854 resultptr = new wxColour((wxColour &) result);
9855 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9856 }
9857 return resultobj;
9858 fail:
9859 return NULL;
9860 }
9861
9862
9863 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj;
9865 wxColourData *arg1 = (wxColourData *) 0 ;
9866 int arg2 ;
9867 PyObject * obj0 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "self",(char *) "flag", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9874 {
9875 PyThreadState* __tstate = wxPyBeginAllowThreads();
9876 (arg1)->SetChooseFull(arg2);
9877
9878 wxPyEndAllowThreads(__tstate);
9879 if (PyErr_Occurred()) SWIG_fail;
9880 }
9881 Py_INCREF(Py_None); resultobj = Py_None;
9882 return resultobj;
9883 fail:
9884 return NULL;
9885 }
9886
9887
9888 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9889 PyObject *resultobj;
9890 wxColourData *arg1 = (wxColourData *) 0 ;
9891 wxColour *arg2 = 0 ;
9892 wxColour temp2 ;
9893 PyObject * obj0 = 0 ;
9894 PyObject * obj1 = 0 ;
9895 char *kwnames[] = {
9896 (char *) "self",(char *) "colour", NULL
9897 };
9898
9899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9901 {
9902 arg2 = &temp2;
9903 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9904 }
9905 {
9906 PyThreadState* __tstate = wxPyBeginAllowThreads();
9907 (arg1)->SetColour((wxColour const &)*arg2);
9908
9909 wxPyEndAllowThreads(__tstate);
9910 if (PyErr_Occurred()) SWIG_fail;
9911 }
9912 Py_INCREF(Py_None); resultobj = Py_None;
9913 return resultobj;
9914 fail:
9915 return NULL;
9916 }
9917
9918
9919 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9920 PyObject *resultobj;
9921 wxColourData *arg1 = (wxColourData *) 0 ;
9922 int arg2 ;
9923 wxColour *arg3 = 0 ;
9924 wxColour temp3 ;
9925 PyObject * obj0 = 0 ;
9926 PyObject * obj2 = 0 ;
9927 char *kwnames[] = {
9928 (char *) "self",(char *) "i",(char *) "colour", NULL
9929 };
9930
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9933 {
9934 arg3 = &temp3;
9935 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9936 }
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9940
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 Py_INCREF(Py_None); resultobj = Py_None;
9945 return resultobj;
9946 fail:
9947 return NULL;
9948 }
9949
9950
9951 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9952 PyObject *obj;
9953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9954 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9955 Py_INCREF(obj);
9956 return Py_BuildValue((char *)"");
9957 }
9958 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9959 PyObject *resultobj;
9960 wxWindow *arg1 = (wxWindow *) 0 ;
9961 wxColourData *arg2 = (wxColourData *) NULL ;
9962 wxColourDialog *result;
9963 PyObject * obj0 = 0 ;
9964 PyObject * obj1 = 0 ;
9965 char *kwnames[] = {
9966 (char *) "parent",(char *) "data", NULL
9967 };
9968
9969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9971 if (obj1) {
9972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9973 }
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9982 return resultobj;
9983 fail:
9984 return NULL;
9985 }
9986
9987
9988 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9989 PyObject *resultobj;
9990 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9991 wxColourData *result;
9992 PyObject * obj0 = 0 ;
9993 char *kwnames[] = {
9994 (char *) "self", NULL
9995 };
9996
9997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 {
10002 wxColourData &_result_ref = (arg1)->GetColourData();
10003 result = (wxColourData *) &_result_ref;
10004 }
10005
10006 wxPyEndAllowThreads(__tstate);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 }
10009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
10010 return resultobj;
10011 fail:
10012 return NULL;
10013 }
10014
10015
10016 static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10017 PyObject *resultobj;
10018 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10019 int result;
10020 PyObject * obj0 = 0 ;
10021 char *kwnames[] = {
10022 (char *) "self", NULL
10023 };
10024
10025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
10026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10027 {
10028 PyThreadState* __tstate = wxPyBeginAllowThreads();
10029 result = (int)(arg1)->ShowModal();
10030
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 }
10034 resultobj = PyInt_FromLong((long)result);
10035 return resultobj;
10036 fail:
10037 return NULL;
10038 }
10039
10040
10041 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
10042 PyObject *obj;
10043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10044 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10045 Py_INCREF(obj);
10046 return Py_BuildValue((char *)"");
10047 }
10048 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10049 PyObject *resultobj;
10050 wxWindow *arg1 = (wxWindow *) 0 ;
10051 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10052 wxString *arg2 = (wxString *) &arg2_defvalue ;
10053 wxString const &arg3_defvalue = wxPyEmptyString ;
10054 wxString *arg3 = (wxString *) &arg3_defvalue ;
10055 long arg4 = (long) 0 ;
10056 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10057 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10058 wxSize const &arg6_defvalue = wxDefaultSize ;
10059 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10060 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10061 wxString *arg7 = (wxString *) &arg7_defvalue ;
10062 wxDirDialog *result;
10063 bool temp2 = False ;
10064 bool temp3 = False ;
10065 wxPoint temp5 ;
10066 wxSize temp6 ;
10067 bool temp7 = False ;
10068 PyObject * obj0 = 0 ;
10069 PyObject * obj1 = 0 ;
10070 PyObject * obj2 = 0 ;
10071 PyObject * obj4 = 0 ;
10072 PyObject * obj5 = 0 ;
10073 PyObject * obj6 = 0 ;
10074 char *kwnames[] = {
10075 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10076 };
10077
10078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
10079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10080 if (obj1) {
10081 {
10082 arg2 = wxString_in_helper(obj1);
10083 if (arg2 == NULL) SWIG_fail;
10084 temp2 = True;
10085 }
10086 }
10087 if (obj2) {
10088 {
10089 arg3 = wxString_in_helper(obj2);
10090 if (arg3 == NULL) SWIG_fail;
10091 temp3 = True;
10092 }
10093 }
10094 if (obj4) {
10095 {
10096 arg5 = &temp5;
10097 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10098 }
10099 }
10100 if (obj5) {
10101 {
10102 arg6 = &temp6;
10103 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10104 }
10105 }
10106 if (obj6) {
10107 {
10108 arg7 = wxString_in_helper(obj6);
10109 if (arg7 == NULL) SWIG_fail;
10110 temp7 = True;
10111 }
10112 }
10113 {
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10116
10117 wxPyEndAllowThreads(__tstate);
10118 if (PyErr_Occurred()) SWIG_fail;
10119 }
10120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10121 {
10122 if (temp2)
10123 delete arg2;
10124 }
10125 {
10126 if (temp3)
10127 delete arg3;
10128 }
10129 {
10130 if (temp7)
10131 delete arg7;
10132 }
10133 return resultobj;
10134 fail:
10135 {
10136 if (temp2)
10137 delete arg2;
10138 }
10139 {
10140 if (temp3)
10141 delete arg3;
10142 }
10143 {
10144 if (temp7)
10145 delete arg7;
10146 }
10147 return NULL;
10148 }
10149
10150
10151 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj;
10153 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10154 wxString result;
10155 PyObject * obj0 = 0 ;
10156 char *kwnames[] = {
10157 (char *) "self", NULL
10158 };
10159
10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10162 {
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
10164 result = (arg1)->GetPath();
10165
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) SWIG_fail;
10168 }
10169 {
10170 #if wxUSE_UNICODE
10171 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10172 #else
10173 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10174 #endif
10175 }
10176 return resultobj;
10177 fail:
10178 return NULL;
10179 }
10180
10181
10182 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10183 PyObject *resultobj;
10184 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10185 wxString result;
10186 PyObject * obj0 = 0 ;
10187 char *kwnames[] = {
10188 (char *) "self", NULL
10189 };
10190
10191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 result = (arg1)->GetMessage();
10196
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 {
10201 #if wxUSE_UNICODE
10202 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10203 #else
10204 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10205 #endif
10206 }
10207 return resultobj;
10208 fail:
10209 return NULL;
10210 }
10211
10212
10213 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj;
10215 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10216 long result;
10217 PyObject * obj0 = 0 ;
10218 char *kwnames[] = {
10219 (char *) "self", NULL
10220 };
10221
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 result = (long)(arg1)->GetStyle();
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 resultobj = PyInt_FromLong((long)result);
10232 return resultobj;
10233 fail:
10234 return NULL;
10235 }
10236
10237
10238 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj;
10240 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10241 wxString *arg2 = 0 ;
10242 bool temp2 = False ;
10243 PyObject * obj0 = 0 ;
10244 PyObject * obj1 = 0 ;
10245 char *kwnames[] = {
10246 (char *) "self",(char *) "message", NULL
10247 };
10248
10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10251 {
10252 arg2 = wxString_in_helper(obj1);
10253 if (arg2 == NULL) SWIG_fail;
10254 temp2 = True;
10255 }
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 (arg1)->SetMessage((wxString const &)*arg2);
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 }
10263 Py_INCREF(Py_None); resultobj = Py_None;
10264 {
10265 if (temp2)
10266 delete arg2;
10267 }
10268 return resultobj;
10269 fail:
10270 {
10271 if (temp2)
10272 delete arg2;
10273 }
10274 return NULL;
10275 }
10276
10277
10278 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10281 wxString *arg2 = 0 ;
10282 bool temp2 = False ;
10283 PyObject * obj0 = 0 ;
10284 PyObject * obj1 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self",(char *) "path", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10291 {
10292 arg2 = wxString_in_helper(obj1);
10293 if (arg2 == NULL) SWIG_fail;
10294 temp2 = True;
10295 }
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 (arg1)->SetPath((wxString const &)*arg2);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 Py_INCREF(Py_None); resultobj = Py_None;
10304 {
10305 if (temp2)
10306 delete arg2;
10307 }
10308 return resultobj;
10309 fail:
10310 {
10311 if (temp2)
10312 delete arg2;
10313 }
10314 return NULL;
10315 }
10316
10317
10318 static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10319 PyObject *resultobj;
10320 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10321 int result;
10322 PyObject * obj0 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10329 {
10330 PyThreadState* __tstate = wxPyBeginAllowThreads();
10331 result = (int)(arg1)->ShowModal();
10332
10333 wxPyEndAllowThreads(__tstate);
10334 if (PyErr_Occurred()) SWIG_fail;
10335 }
10336 resultobj = PyInt_FromLong((long)result);
10337 return resultobj;
10338 fail:
10339 return NULL;
10340 }
10341
10342
10343 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10344 PyObject *obj;
10345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10346 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10347 Py_INCREF(obj);
10348 return Py_BuildValue((char *)"");
10349 }
10350 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj;
10352 wxWindow *arg1 = (wxWindow *) 0 ;
10353 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10354 wxString *arg2 = (wxString *) &arg2_defvalue ;
10355 wxString const &arg3_defvalue = wxPyEmptyString ;
10356 wxString *arg3 = (wxString *) &arg3_defvalue ;
10357 wxString const &arg4_defvalue = wxPyEmptyString ;
10358 wxString *arg4 = (wxString *) &arg4_defvalue ;
10359 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10360 wxString *arg5 = (wxString *) &arg5_defvalue ;
10361 long arg6 = (long) 0 ;
10362 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10363 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10364 wxFileDialog *result;
10365 bool temp2 = False ;
10366 bool temp3 = False ;
10367 bool temp4 = False ;
10368 bool temp5 = False ;
10369 wxPoint temp7 ;
10370 PyObject * obj0 = 0 ;
10371 PyObject * obj1 = 0 ;
10372 PyObject * obj2 = 0 ;
10373 PyObject * obj3 = 0 ;
10374 PyObject * obj4 = 0 ;
10375 PyObject * obj6 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10382 if (obj1) {
10383 {
10384 arg2 = wxString_in_helper(obj1);
10385 if (arg2 == NULL) SWIG_fail;
10386 temp2 = True;
10387 }
10388 }
10389 if (obj2) {
10390 {
10391 arg3 = wxString_in_helper(obj2);
10392 if (arg3 == NULL) SWIG_fail;
10393 temp3 = True;
10394 }
10395 }
10396 if (obj3) {
10397 {
10398 arg4 = wxString_in_helper(obj3);
10399 if (arg4 == NULL) SWIG_fail;
10400 temp4 = True;
10401 }
10402 }
10403 if (obj4) {
10404 {
10405 arg5 = wxString_in_helper(obj4);
10406 if (arg5 == NULL) SWIG_fail;
10407 temp5 = True;
10408 }
10409 }
10410 if (obj6) {
10411 {
10412 arg7 = &temp7;
10413 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10414 }
10415 }
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10424 {
10425 if (temp2)
10426 delete arg2;
10427 }
10428 {
10429 if (temp3)
10430 delete arg3;
10431 }
10432 {
10433 if (temp4)
10434 delete arg4;
10435 }
10436 {
10437 if (temp5)
10438 delete arg5;
10439 }
10440 return resultobj;
10441 fail:
10442 {
10443 if (temp2)
10444 delete arg2;
10445 }
10446 {
10447 if (temp3)
10448 delete arg3;
10449 }
10450 {
10451 if (temp4)
10452 delete arg4;
10453 }
10454 {
10455 if (temp5)
10456 delete arg5;
10457 }
10458 return NULL;
10459 }
10460
10461
10462 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10463 PyObject *resultobj;
10464 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10465 wxString *arg2 = 0 ;
10466 bool temp2 = False ;
10467 PyObject * obj0 = 0 ;
10468 PyObject * obj1 = 0 ;
10469 char *kwnames[] = {
10470 (char *) "self",(char *) "message", NULL
10471 };
10472
10473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10475 {
10476 arg2 = wxString_in_helper(obj1);
10477 if (arg2 == NULL) SWIG_fail;
10478 temp2 = True;
10479 }
10480 {
10481 PyThreadState* __tstate = wxPyBeginAllowThreads();
10482 (arg1)->SetMessage((wxString const &)*arg2);
10483
10484 wxPyEndAllowThreads(__tstate);
10485 if (PyErr_Occurred()) SWIG_fail;
10486 }
10487 Py_INCREF(Py_None); resultobj = Py_None;
10488 {
10489 if (temp2)
10490 delete arg2;
10491 }
10492 return resultobj;
10493 fail:
10494 {
10495 if (temp2)
10496 delete arg2;
10497 }
10498 return NULL;
10499 }
10500
10501
10502 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10503 PyObject *resultobj;
10504 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10505 wxString *arg2 = 0 ;
10506 bool temp2 = False ;
10507 PyObject * obj0 = 0 ;
10508 PyObject * obj1 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self",(char *) "path", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10515 {
10516 arg2 = wxString_in_helper(obj1);
10517 if (arg2 == NULL) SWIG_fail;
10518 temp2 = True;
10519 }
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->SetPath((wxString const &)*arg2);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 {
10529 if (temp2)
10530 delete arg2;
10531 }
10532 return resultobj;
10533 fail:
10534 {
10535 if (temp2)
10536 delete arg2;
10537 }
10538 return NULL;
10539 }
10540
10541
10542 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10543 PyObject *resultobj;
10544 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10545 wxString *arg2 = 0 ;
10546 bool temp2 = False ;
10547 PyObject * obj0 = 0 ;
10548 PyObject * obj1 = 0 ;
10549 char *kwnames[] = {
10550 (char *) "self",(char *) "dir", NULL
10551 };
10552
10553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10555 {
10556 arg2 = wxString_in_helper(obj1);
10557 if (arg2 == NULL) SWIG_fail;
10558 temp2 = True;
10559 }
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 (arg1)->SetDirectory((wxString const &)*arg2);
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 Py_INCREF(Py_None); resultobj = Py_None;
10568 {
10569 if (temp2)
10570 delete arg2;
10571 }
10572 return resultobj;
10573 fail:
10574 {
10575 if (temp2)
10576 delete arg2;
10577 }
10578 return NULL;
10579 }
10580
10581
10582 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10583 PyObject *resultobj;
10584 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10585 wxString *arg2 = 0 ;
10586 bool temp2 = False ;
10587 PyObject * obj0 = 0 ;
10588 PyObject * obj1 = 0 ;
10589 char *kwnames[] = {
10590 (char *) "self",(char *) "name", NULL
10591 };
10592
10593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10595 {
10596 arg2 = wxString_in_helper(obj1);
10597 if (arg2 == NULL) SWIG_fail;
10598 temp2 = True;
10599 }
10600 {
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 (arg1)->SetFilename((wxString const &)*arg2);
10603
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 Py_INCREF(Py_None); resultobj = Py_None;
10608 {
10609 if (temp2)
10610 delete arg2;
10611 }
10612 return resultobj;
10613 fail:
10614 {
10615 if (temp2)
10616 delete arg2;
10617 }
10618 return NULL;
10619 }
10620
10621
10622 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10623 PyObject *resultobj;
10624 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10625 wxString *arg2 = 0 ;
10626 bool temp2 = False ;
10627 PyObject * obj0 = 0 ;
10628 PyObject * obj1 = 0 ;
10629 char *kwnames[] = {
10630 (char *) "self",(char *) "wildCard", NULL
10631 };
10632
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10635 {
10636 arg2 = wxString_in_helper(obj1);
10637 if (arg2 == NULL) SWIG_fail;
10638 temp2 = True;
10639 }
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 (arg1)->SetWildcard((wxString const &)*arg2);
10643
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) SWIG_fail;
10646 }
10647 Py_INCREF(Py_None); resultobj = Py_None;
10648 {
10649 if (temp2)
10650 delete arg2;
10651 }
10652 return resultobj;
10653 fail:
10654 {
10655 if (temp2)
10656 delete arg2;
10657 }
10658 return NULL;
10659 }
10660
10661
10662 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10665 long arg2 ;
10666 PyObject * obj0 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self",(char *) "style", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 (arg1)->SetStyle(arg2);
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 Py_INCREF(Py_None); resultobj = Py_None;
10681 return resultobj;
10682 fail:
10683 return NULL;
10684 }
10685
10686
10687 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10690 int arg2 ;
10691 PyObject * obj0 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self",(char *) "filterIndex", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10698 {
10699 PyThreadState* __tstate = wxPyBeginAllowThreads();
10700 (arg1)->SetFilterIndex(arg2);
10701
10702 wxPyEndAllowThreads(__tstate);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 }
10705 Py_INCREF(Py_None); resultobj = Py_None;
10706 return resultobj;
10707 fail:
10708 return NULL;
10709 }
10710
10711
10712 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10713 PyObject *resultobj;
10714 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10715 wxString result;
10716 PyObject * obj0 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10723 {
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 result = ((wxFileDialog const *)arg1)->GetMessage();
10726
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 {
10731 #if wxUSE_UNICODE
10732 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10733 #else
10734 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10735 #endif
10736 }
10737 return resultobj;
10738 fail:
10739 return NULL;
10740 }
10741
10742
10743 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10744 PyObject *resultobj;
10745 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10746 wxString result;
10747 PyObject * obj0 = 0 ;
10748 char *kwnames[] = {
10749 (char *) "self", NULL
10750 };
10751
10752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 result = ((wxFileDialog const *)arg1)->GetPath();
10757
10758 wxPyEndAllowThreads(__tstate);
10759 if (PyErr_Occurred()) SWIG_fail;
10760 }
10761 {
10762 #if wxUSE_UNICODE
10763 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10764 #else
10765 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10766 #endif
10767 }
10768 return resultobj;
10769 fail:
10770 return NULL;
10771 }
10772
10773
10774 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10775 PyObject *resultobj;
10776 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10777 wxString result;
10778 PyObject * obj0 = 0 ;
10779 char *kwnames[] = {
10780 (char *) "self", NULL
10781 };
10782
10783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
10787 result = ((wxFileDialog const *)arg1)->GetDirectory();
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 {
10793 #if wxUSE_UNICODE
10794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10795 #else
10796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10797 #endif
10798 }
10799 return resultobj;
10800 fail:
10801 return NULL;
10802 }
10803
10804
10805 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10806 PyObject *resultobj;
10807 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10808 wxString result;
10809 PyObject * obj0 = 0 ;
10810 char *kwnames[] = {
10811 (char *) "self", NULL
10812 };
10813
10814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 result = ((wxFileDialog const *)arg1)->GetFilename();
10819
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 {
10824 #if wxUSE_UNICODE
10825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10826 #else
10827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10828 #endif
10829 }
10830 return resultobj;
10831 fail:
10832 return NULL;
10833 }
10834
10835
10836 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10837 PyObject *resultobj;
10838 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10839 wxString result;
10840 PyObject * obj0 = 0 ;
10841 char *kwnames[] = {
10842 (char *) "self", NULL
10843 };
10844
10845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 result = ((wxFileDialog const *)arg1)->GetWildcard();
10850
10851 wxPyEndAllowThreads(__tstate);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 }
10854 {
10855 #if wxUSE_UNICODE
10856 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10857 #else
10858 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10859 #endif
10860 }
10861 return resultobj;
10862 fail:
10863 return NULL;
10864 }
10865
10866
10867 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10868 PyObject *resultobj;
10869 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10870 long result;
10871 PyObject * obj0 = 0 ;
10872 char *kwnames[] = {
10873 (char *) "self", NULL
10874 };
10875
10876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10878 {
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10881
10882 wxPyEndAllowThreads(__tstate);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
10885 resultobj = PyInt_FromLong((long)result);
10886 return resultobj;
10887 fail:
10888 return NULL;
10889 }
10890
10891
10892 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10893 PyObject *resultobj;
10894 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10895 int result;
10896 PyObject * obj0 = 0 ;
10897 char *kwnames[] = {
10898 (char *) "self", NULL
10899 };
10900
10901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10903 {
10904 PyThreadState* __tstate = wxPyBeginAllowThreads();
10905 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10906
10907 wxPyEndAllowThreads(__tstate);
10908 if (PyErr_Occurred()) SWIG_fail;
10909 }
10910 resultobj = PyInt_FromLong((long)result);
10911 return resultobj;
10912 fail:
10913 return NULL;
10914 }
10915
10916
10917 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10918 PyObject *resultobj;
10919 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10920 PyObject *result;
10921 PyObject * obj0 = 0 ;
10922 char *kwnames[] = {
10923 (char *) "self", NULL
10924 };
10925
10926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10931
10932 wxPyEndAllowThreads(__tstate);
10933 if (PyErr_Occurred()) SWIG_fail;
10934 }
10935 resultobj = result;
10936 return resultobj;
10937 fail:
10938 return NULL;
10939 }
10940
10941
10942 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10943 PyObject *resultobj;
10944 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10945 PyObject *result;
10946 PyObject * obj0 = 0 ;
10947 char *kwnames[] = {
10948 (char *) "self", NULL
10949 };
10950
10951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10953 {
10954 PyThreadState* __tstate = wxPyBeginAllowThreads();
10955 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10956
10957 wxPyEndAllowThreads(__tstate);
10958 if (PyErr_Occurred()) SWIG_fail;
10959 }
10960 resultobj = result;
10961 return resultobj;
10962 fail:
10963 return NULL;
10964 }
10965
10966
10967 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10968 PyObject *obj;
10969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10970 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10971 Py_INCREF(obj);
10972 return Py_BuildValue((char *)"");
10973 }
10974 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj;
10976 wxWindow *arg1 = (wxWindow *) 0 ;
10977 wxString *arg2 = 0 ;
10978 wxString *arg3 = 0 ;
10979 int arg4 ;
10980 wxString *arg5 = (wxString *) 0 ;
10981 long arg6 = (long) wxCHOICEDLG_STYLE ;
10982 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10983 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10984 wxMultiChoiceDialog *result;
10985 bool temp2 = False ;
10986 bool temp3 = False ;
10987 wxPoint temp7 ;
10988 PyObject * obj0 = 0 ;
10989 PyObject * obj1 = 0 ;
10990 PyObject * obj2 = 0 ;
10991 PyObject * obj4 = 0 ;
10992 PyObject * obj6 = 0 ;
10993 char *kwnames[] = {
10994 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10995 };
10996
10997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10999 {
11000 arg2 = wxString_in_helper(obj1);
11001 if (arg2 == NULL) SWIG_fail;
11002 temp2 = True;
11003 }
11004 {
11005 arg3 = wxString_in_helper(obj2);
11006 if (arg3 == NULL) SWIG_fail;
11007 temp3 = True;
11008 }
11009 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11010 if (obj6) {
11011 {
11012 arg7 = &temp7;
11013 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11014 }
11015 }
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
11024 {
11025 if (temp2)
11026 delete arg2;
11027 }
11028 {
11029 if (temp3)
11030 delete arg3;
11031 }
11032 return resultobj;
11033 fail:
11034 {
11035 if (temp2)
11036 delete arg2;
11037 }
11038 {
11039 if (temp3)
11040 delete arg3;
11041 }
11042 return NULL;
11043 }
11044
11045
11046 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11047 PyObject *resultobj;
11048 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11049 wxArrayInt *arg2 = 0 ;
11050 PyObject * obj0 = 0 ;
11051 PyObject * obj1 = 0 ;
11052 char *kwnames[] = {
11053 (char *) "self",(char *) "selections", NULL
11054 };
11055
11056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11058 {
11059 if (! PySequence_Check(obj1)) {
11060 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11061 SWIG_fail;
11062 }
11063 arg2 = new wxArrayInt;
11064 int i, len=PySequence_Length(obj1);
11065 for (i=0; i<len; i++) {
11066 PyObject* item = PySequence_GetItem(obj1, i);
11067 PyObject* number = PyNumber_Int(item);
11068 arg2->Add(PyInt_AS_LONG(number));
11069 Py_DECREF(item);
11070 Py_DECREF(number);
11071 }
11072 }
11073 {
11074 PyThreadState* __tstate = wxPyBeginAllowThreads();
11075 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11076
11077 wxPyEndAllowThreads(__tstate);
11078 if (PyErr_Occurred()) SWIG_fail;
11079 }
11080 Py_INCREF(Py_None); resultobj = Py_None;
11081 {
11082 if (arg2) delete arg2;
11083 }
11084 return resultobj;
11085 fail:
11086 {
11087 if (arg2) delete arg2;
11088 }
11089 return NULL;
11090 }
11091
11092
11093 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11094 PyObject *resultobj;
11095 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11096 PyObject *result;
11097 PyObject * obj0 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "self", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11104 {
11105 PyThreadState* __tstate = wxPyBeginAllowThreads();
11106 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11107
11108 wxPyEndAllowThreads(__tstate);
11109 if (PyErr_Occurred()) SWIG_fail;
11110 }
11111 resultobj = result;
11112 return resultobj;
11113 fail:
11114 return NULL;
11115 }
11116
11117
11118 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11119 PyObject *obj;
11120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11121 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11122 Py_INCREF(obj);
11123 return Py_BuildValue((char *)"");
11124 }
11125 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11126 PyObject *resultobj;
11127 wxWindow *arg1 = (wxWindow *) 0 ;
11128 wxString *arg2 = 0 ;
11129 wxString *arg3 = 0 ;
11130 int arg4 ;
11131 wxString *arg5 = (wxString *) 0 ;
11132 long arg6 = (long) wxCHOICEDLG_STYLE ;
11133 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11134 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11135 wxSingleChoiceDialog *result;
11136 bool temp2 = False ;
11137 bool temp3 = False ;
11138 wxPoint temp6 ;
11139 PyObject * obj0 = 0 ;
11140 PyObject * obj1 = 0 ;
11141 PyObject * obj2 = 0 ;
11142 PyObject * obj3 = 0 ;
11143 PyObject * obj5 = 0 ;
11144 char *kwnames[] = {
11145 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11146 };
11147
11148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
11149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11150 {
11151 arg2 = wxString_in_helper(obj1);
11152 if (arg2 == NULL) SWIG_fail;
11153 temp2 = True;
11154 }
11155 {
11156 arg3 = wxString_in_helper(obj2);
11157 if (arg3 == NULL) SWIG_fail;
11158 temp3 = True;
11159 }
11160 {
11161 arg4 = PyList_Size(obj3);
11162 arg5 = wxString_LIST_helper(obj3);
11163 if (arg5 == NULL) SWIG_fail;
11164 }
11165 if (obj5) {
11166 {
11167 arg7 = &temp6;
11168 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11169 }
11170 }
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11174
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11179 {
11180 if (temp2)
11181 delete arg2;
11182 }
11183 {
11184 if (temp3)
11185 delete arg3;
11186 }
11187 {
11188 if (arg5) delete [] arg5;
11189 }
11190 return resultobj;
11191 fail:
11192 {
11193 if (temp2)
11194 delete arg2;
11195 }
11196 {
11197 if (temp3)
11198 delete arg3;
11199 }
11200 {
11201 if (arg5) delete [] arg5;
11202 }
11203 return NULL;
11204 }
11205
11206
11207 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11208 PyObject *resultobj;
11209 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11210 int result;
11211 PyObject * obj0 = 0 ;
11212 char *kwnames[] = {
11213 (char *) "self", NULL
11214 };
11215
11216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11218 {
11219 PyThreadState* __tstate = wxPyBeginAllowThreads();
11220 result = (int)(arg1)->GetSelection();
11221
11222 wxPyEndAllowThreads(__tstate);
11223 if (PyErr_Occurred()) SWIG_fail;
11224 }
11225 resultobj = PyInt_FromLong((long)result);
11226 return resultobj;
11227 fail:
11228 return NULL;
11229 }
11230
11231
11232 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11233 PyObject *resultobj;
11234 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11235 wxString result;
11236 PyObject * obj0 = 0 ;
11237 char *kwnames[] = {
11238 (char *) "self", NULL
11239 };
11240
11241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 result = (arg1)->GetStringSelection();
11246
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 {
11251 #if wxUSE_UNICODE
11252 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11253 #else
11254 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11255 #endif
11256 }
11257 return resultobj;
11258 fail:
11259 return NULL;
11260 }
11261
11262
11263 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11264 PyObject *resultobj;
11265 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11266 int arg2 ;
11267 PyObject * obj0 = 0 ;
11268 char *kwnames[] = {
11269 (char *) "self",(char *) "sel", NULL
11270 };
11271
11272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 (arg1)->SetSelection(arg2);
11277
11278 wxPyEndAllowThreads(__tstate);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
11281 Py_INCREF(Py_None); resultobj = Py_None;
11282 return resultobj;
11283 fail:
11284 return NULL;
11285 }
11286
11287
11288 static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11289 PyObject *resultobj;
11290 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11291 int result;
11292 PyObject * obj0 = 0 ;
11293 char *kwnames[] = {
11294 (char *) "self", NULL
11295 };
11296
11297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11299 {
11300 PyThreadState* __tstate = wxPyBeginAllowThreads();
11301 result = (int)(arg1)->ShowModal();
11302
11303 wxPyEndAllowThreads(__tstate);
11304 if (PyErr_Occurred()) SWIG_fail;
11305 }
11306 resultobj = PyInt_FromLong((long)result);
11307 return resultobj;
11308 fail:
11309 return NULL;
11310 }
11311
11312
11313 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11314 PyObject *obj;
11315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11316 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11317 Py_INCREF(obj);
11318 return Py_BuildValue((char *)"");
11319 }
11320 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11321 PyObject *resultobj;
11322 wxWindow *arg1 = (wxWindow *) 0 ;
11323 wxString *arg2 = 0 ;
11324 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11325 wxString *arg3 = (wxString *) &arg3_defvalue ;
11326 wxString const &arg4_defvalue = wxPyEmptyString ;
11327 wxString *arg4 = (wxString *) &arg4_defvalue ;
11328 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11329 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11330 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11331 wxTextEntryDialog *result;
11332 bool temp2 = False ;
11333 bool temp3 = False ;
11334 bool temp4 = False ;
11335 wxPoint temp6 ;
11336 PyObject * obj0 = 0 ;
11337 PyObject * obj1 = 0 ;
11338 PyObject * obj2 = 0 ;
11339 PyObject * obj3 = 0 ;
11340 PyObject * obj5 = 0 ;
11341 char *kwnames[] = {
11342 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11343 };
11344
11345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11347 {
11348 arg2 = wxString_in_helper(obj1);
11349 if (arg2 == NULL) SWIG_fail;
11350 temp2 = True;
11351 }
11352 if (obj2) {
11353 {
11354 arg3 = wxString_in_helper(obj2);
11355 if (arg3 == NULL) SWIG_fail;
11356 temp3 = True;
11357 }
11358 }
11359 if (obj3) {
11360 {
11361 arg4 = wxString_in_helper(obj3);
11362 if (arg4 == NULL) SWIG_fail;
11363 temp4 = True;
11364 }
11365 }
11366 if (obj5) {
11367 {
11368 arg6 = &temp6;
11369 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11370 }
11371 }
11372 {
11373 PyThreadState* __tstate = wxPyBeginAllowThreads();
11374 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11375
11376 wxPyEndAllowThreads(__tstate);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 }
11379 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11380 {
11381 if (temp2)
11382 delete arg2;
11383 }
11384 {
11385 if (temp3)
11386 delete arg3;
11387 }
11388 {
11389 if (temp4)
11390 delete arg4;
11391 }
11392 return resultobj;
11393 fail:
11394 {
11395 if (temp2)
11396 delete arg2;
11397 }
11398 {
11399 if (temp3)
11400 delete arg3;
11401 }
11402 {
11403 if (temp4)
11404 delete arg4;
11405 }
11406 return NULL;
11407 }
11408
11409
11410 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11411 PyObject *resultobj;
11412 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11413 wxString result;
11414 PyObject * obj0 = 0 ;
11415 char *kwnames[] = {
11416 (char *) "self", NULL
11417 };
11418
11419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 result = (arg1)->GetValue();
11424
11425 wxPyEndAllowThreads(__tstate);
11426 if (PyErr_Occurred()) SWIG_fail;
11427 }
11428 {
11429 #if wxUSE_UNICODE
11430 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11431 #else
11432 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11433 #endif
11434 }
11435 return resultobj;
11436 fail:
11437 return NULL;
11438 }
11439
11440
11441 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11442 PyObject *resultobj;
11443 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11444 wxString *arg2 = 0 ;
11445 bool temp2 = False ;
11446 PyObject * obj0 = 0 ;
11447 PyObject * obj1 = 0 ;
11448 char *kwnames[] = {
11449 (char *) "self",(char *) "value", NULL
11450 };
11451
11452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11454 {
11455 arg2 = wxString_in_helper(obj1);
11456 if (arg2 == NULL) SWIG_fail;
11457 temp2 = True;
11458 }
11459 {
11460 PyThreadState* __tstate = wxPyBeginAllowThreads();
11461 (arg1)->SetValue((wxString const &)*arg2);
11462
11463 wxPyEndAllowThreads(__tstate);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 }
11466 Py_INCREF(Py_None); resultobj = Py_None;
11467 {
11468 if (temp2)
11469 delete arg2;
11470 }
11471 return resultobj;
11472 fail:
11473 {
11474 if (temp2)
11475 delete arg2;
11476 }
11477 return NULL;
11478 }
11479
11480
11481 static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11482 PyObject *resultobj;
11483 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11484 int result;
11485 PyObject * obj0 = 0 ;
11486 char *kwnames[] = {
11487 (char *) "self", NULL
11488 };
11489
11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11492 {
11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
11494 result = (int)(arg1)->ShowModal();
11495
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 resultobj = PyInt_FromLong((long)result);
11500 return resultobj;
11501 fail:
11502 return NULL;
11503 }
11504
11505
11506 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11507 PyObject *obj;
11508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11509 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11510 Py_INCREF(obj);
11511 return Py_BuildValue((char *)"");
11512 }
11513 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11514 PyObject *resultobj;
11515 wxFontData *result;
11516 char *kwnames[] = {
11517 NULL
11518 };
11519
11520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11521 {
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 result = (wxFontData *)new wxFontData();
11524
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11529 return resultobj;
11530 fail:
11531 return NULL;
11532 }
11533
11534
11535 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11536 PyObject *resultobj;
11537 wxFontData *arg1 = (wxFontData *) 0 ;
11538 PyObject * obj0 = 0 ;
11539 char *kwnames[] = {
11540 (char *) "self", NULL
11541 };
11542
11543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11545 {
11546 PyThreadState* __tstate = wxPyBeginAllowThreads();
11547 delete arg1;
11548
11549 wxPyEndAllowThreads(__tstate);
11550 if (PyErr_Occurred()) SWIG_fail;
11551 }
11552 Py_INCREF(Py_None); resultobj = Py_None;
11553 return resultobj;
11554 fail:
11555 return NULL;
11556 }
11557
11558
11559 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11560 PyObject *resultobj;
11561 wxFontData *arg1 = (wxFontData *) 0 ;
11562 bool arg2 ;
11563 PyObject * obj0 = 0 ;
11564 PyObject * obj1 = 0 ;
11565 char *kwnames[] = {
11566 (char *) "self",(char *) "enable", NULL
11567 };
11568
11569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11571 arg2 = PyInt_AsLong(obj1) ? true : false;
11572 if (PyErr_Occurred()) SWIG_fail;
11573 {
11574 PyThreadState* __tstate = wxPyBeginAllowThreads();
11575 (arg1)->EnableEffects(arg2);
11576
11577 wxPyEndAllowThreads(__tstate);
11578 if (PyErr_Occurred()) SWIG_fail;
11579 }
11580 Py_INCREF(Py_None); resultobj = Py_None;
11581 return resultobj;
11582 fail:
11583 return NULL;
11584 }
11585
11586
11587 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11588 PyObject *resultobj;
11589 wxFontData *arg1 = (wxFontData *) 0 ;
11590 bool result;
11591 PyObject * obj0 = 0 ;
11592 char *kwnames[] = {
11593 (char *) "self", NULL
11594 };
11595
11596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 result = (bool)(arg1)->GetAllowSymbols();
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
11605 resultobj = PyInt_FromLong((long)result);
11606 return resultobj;
11607 fail:
11608 return NULL;
11609 }
11610
11611
11612 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11613 PyObject *resultobj;
11614 wxFontData *arg1 = (wxFontData *) 0 ;
11615 wxColour result;
11616 PyObject * obj0 = 0 ;
11617 char *kwnames[] = {
11618 (char *) "self", NULL
11619 };
11620
11621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11623 {
11624 PyThreadState* __tstate = wxPyBeginAllowThreads();
11625 result = (arg1)->GetColour();
11626
11627 wxPyEndAllowThreads(__tstate);
11628 if (PyErr_Occurred()) SWIG_fail;
11629 }
11630 {
11631 wxColour * resultptr;
11632 resultptr = new wxColour((wxColour &) result);
11633 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11634 }
11635 return resultobj;
11636 fail:
11637 return NULL;
11638 }
11639
11640
11641 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11642 PyObject *resultobj;
11643 wxFontData *arg1 = (wxFontData *) 0 ;
11644 wxFont result;
11645 PyObject * obj0 = 0 ;
11646 char *kwnames[] = {
11647 (char *) "self", NULL
11648 };
11649
11650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 result = (arg1)->GetChosenFont();
11655
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 }
11659 {
11660 wxFont * resultptr;
11661 resultptr = new wxFont((wxFont &) result);
11662 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11663 }
11664 return resultobj;
11665 fail:
11666 return NULL;
11667 }
11668
11669
11670 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11671 PyObject *resultobj;
11672 wxFontData *arg1 = (wxFontData *) 0 ;
11673 bool result;
11674 PyObject * obj0 = 0 ;
11675 char *kwnames[] = {
11676 (char *) "self", NULL
11677 };
11678
11679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11681 {
11682 PyThreadState* __tstate = wxPyBeginAllowThreads();
11683 result = (bool)(arg1)->GetEnableEffects();
11684
11685 wxPyEndAllowThreads(__tstate);
11686 if (PyErr_Occurred()) SWIG_fail;
11687 }
11688 resultobj = PyInt_FromLong((long)result);
11689 return resultobj;
11690 fail:
11691 return NULL;
11692 }
11693
11694
11695 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11696 PyObject *resultobj;
11697 wxFontData *arg1 = (wxFontData *) 0 ;
11698 wxFont result;
11699 PyObject * obj0 = 0 ;
11700 char *kwnames[] = {
11701 (char *) "self", NULL
11702 };
11703
11704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 result = (arg1)->GetInitialFont();
11709
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
11713 {
11714 wxFont * resultptr;
11715 resultptr = new wxFont((wxFont &) result);
11716 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11717 }
11718 return resultobj;
11719 fail:
11720 return NULL;
11721 }
11722
11723
11724 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11725 PyObject *resultobj;
11726 wxFontData *arg1 = (wxFontData *) 0 ;
11727 bool result;
11728 PyObject * obj0 = 0 ;
11729 char *kwnames[] = {
11730 (char *) "self", NULL
11731 };
11732
11733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11735 {
11736 PyThreadState* __tstate = wxPyBeginAllowThreads();
11737 result = (bool)(arg1)->GetShowHelp();
11738
11739 wxPyEndAllowThreads(__tstate);
11740 if (PyErr_Occurred()) SWIG_fail;
11741 }
11742 resultobj = PyInt_FromLong((long)result);
11743 return resultobj;
11744 fail:
11745 return NULL;
11746 }
11747
11748
11749 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11750 PyObject *resultobj;
11751 wxFontData *arg1 = (wxFontData *) 0 ;
11752 bool arg2 ;
11753 PyObject * obj0 = 0 ;
11754 PyObject * obj1 = 0 ;
11755 char *kwnames[] = {
11756 (char *) "self",(char *) "allowSymbols", NULL
11757 };
11758
11759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11761 arg2 = PyInt_AsLong(obj1) ? true : false;
11762 if (PyErr_Occurred()) SWIG_fail;
11763 {
11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
11765 (arg1)->SetAllowSymbols(arg2);
11766
11767 wxPyEndAllowThreads(__tstate);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 }
11770 Py_INCREF(Py_None); resultobj = Py_None;
11771 return resultobj;
11772 fail:
11773 return NULL;
11774 }
11775
11776
11777 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11778 PyObject *resultobj;
11779 wxFontData *arg1 = (wxFontData *) 0 ;
11780 wxFont *arg2 = 0 ;
11781 PyObject * obj0 = 0 ;
11782 PyObject * obj1 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self",(char *) "font", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11789 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11790 if (arg2 == NULL) {
11791 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11792 }
11793 {
11794 PyThreadState* __tstate = wxPyBeginAllowThreads();
11795 (arg1)->SetChosenFont((wxFont const &)*arg2);
11796
11797 wxPyEndAllowThreads(__tstate);
11798 if (PyErr_Occurred()) SWIG_fail;
11799 }
11800 Py_INCREF(Py_None); resultobj = Py_None;
11801 return resultobj;
11802 fail:
11803 return NULL;
11804 }
11805
11806
11807 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11808 PyObject *resultobj;
11809 wxFontData *arg1 = (wxFontData *) 0 ;
11810 wxColour *arg2 = 0 ;
11811 wxColour temp2 ;
11812 PyObject * obj0 = 0 ;
11813 PyObject * obj1 = 0 ;
11814 char *kwnames[] = {
11815 (char *) "self",(char *) "colour", NULL
11816 };
11817
11818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11820 {
11821 arg2 = &temp2;
11822 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11823 }
11824 {
11825 PyThreadState* __tstate = wxPyBeginAllowThreads();
11826 (arg1)->SetColour((wxColour const &)*arg2);
11827
11828 wxPyEndAllowThreads(__tstate);
11829 if (PyErr_Occurred()) SWIG_fail;
11830 }
11831 Py_INCREF(Py_None); resultobj = Py_None;
11832 return resultobj;
11833 fail:
11834 return NULL;
11835 }
11836
11837
11838 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11839 PyObject *resultobj;
11840 wxFontData *arg1 = (wxFontData *) 0 ;
11841 wxFont *arg2 = 0 ;
11842 PyObject * obj0 = 0 ;
11843 PyObject * obj1 = 0 ;
11844 char *kwnames[] = {
11845 (char *) "self",(char *) "font", NULL
11846 };
11847
11848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11850 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11851 if (arg2 == NULL) {
11852 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11853 }
11854 {
11855 PyThreadState* __tstate = wxPyBeginAllowThreads();
11856 (arg1)->SetInitialFont((wxFont const &)*arg2);
11857
11858 wxPyEndAllowThreads(__tstate);
11859 if (PyErr_Occurred()) SWIG_fail;
11860 }
11861 Py_INCREF(Py_None); resultobj = Py_None;
11862 return resultobj;
11863 fail:
11864 return NULL;
11865 }
11866
11867
11868 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11869 PyObject *resultobj;
11870 wxFontData *arg1 = (wxFontData *) 0 ;
11871 int arg2 ;
11872 int arg3 ;
11873 PyObject * obj0 = 0 ;
11874 char *kwnames[] = {
11875 (char *) "self",(char *) "min",(char *) "max", NULL
11876 };
11877
11878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11880 {
11881 PyThreadState* __tstate = wxPyBeginAllowThreads();
11882 (arg1)->SetRange(arg2,arg3);
11883
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
11887 Py_INCREF(Py_None); resultobj = Py_None;
11888 return resultobj;
11889 fail:
11890 return NULL;
11891 }
11892
11893
11894 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj;
11896 wxFontData *arg1 = (wxFontData *) 0 ;
11897 bool arg2 ;
11898 PyObject * obj0 = 0 ;
11899 PyObject * obj1 = 0 ;
11900 char *kwnames[] = {
11901 (char *) "self",(char *) "showHelp", NULL
11902 };
11903
11904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11906 arg2 = PyInt_AsLong(obj1) ? true : false;
11907 if (PyErr_Occurred()) SWIG_fail;
11908 {
11909 PyThreadState* __tstate = wxPyBeginAllowThreads();
11910 (arg1)->SetShowHelp(arg2);
11911
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 Py_INCREF(Py_None); resultobj = Py_None;
11916 return resultobj;
11917 fail:
11918 return NULL;
11919 }
11920
11921
11922 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11923 PyObject *obj;
11924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11925 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11926 Py_INCREF(obj);
11927 return Py_BuildValue((char *)"");
11928 }
11929 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11930 PyObject *resultobj;
11931 wxWindow *arg1 = (wxWindow *) 0 ;
11932 wxFontData *arg2 = 0 ;
11933 wxFontDialog *result;
11934 PyObject * obj0 = 0 ;
11935 PyObject * obj1 = 0 ;
11936 char *kwnames[] = {
11937 (char *) "parent",(char *) "data", NULL
11938 };
11939
11940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11943 if (arg2 == NULL) {
11944 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11945 }
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11949
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11954 return resultobj;
11955 fail:
11956 return NULL;
11957 }
11958
11959
11960 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11961 PyObject *resultobj;
11962 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11963 wxFontData *result;
11964 PyObject * obj0 = 0 ;
11965 char *kwnames[] = {
11966 (char *) "self", NULL
11967 };
11968
11969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11971 {
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 {
11974 wxFontData &_result_ref = (arg1)->GetFontData();
11975 result = (wxFontData *) &_result_ref;
11976 }
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11982 return resultobj;
11983 fail:
11984 return NULL;
11985 }
11986
11987
11988 static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11989 PyObject *resultobj;
11990 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11991 int result;
11992 PyObject * obj0 = 0 ;
11993 char *kwnames[] = {
11994 (char *) "self", NULL
11995 };
11996
11997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11999 {
12000 PyThreadState* __tstate = wxPyBeginAllowThreads();
12001 result = (int)(arg1)->ShowModal();
12002
12003 wxPyEndAllowThreads(__tstate);
12004 if (PyErr_Occurred()) SWIG_fail;
12005 }
12006 resultobj = PyInt_FromLong((long)result);
12007 return resultobj;
12008 fail:
12009 return NULL;
12010 }
12011
12012
12013 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
12014 PyObject *obj;
12015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12016 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12017 Py_INCREF(obj);
12018 return Py_BuildValue((char *)"");
12019 }
12020 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12021 PyObject *resultobj;
12022 wxWindow *arg1 = (wxWindow *) 0 ;
12023 wxString *arg2 = 0 ;
12024 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12025 wxString *arg3 = (wxString *) &arg3_defvalue ;
12026 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12027 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12028 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12029 wxMessageDialog *result;
12030 bool temp2 = False ;
12031 bool temp3 = False ;
12032 wxPoint temp5 ;
12033 PyObject * obj0 = 0 ;
12034 PyObject * obj1 = 0 ;
12035 PyObject * obj2 = 0 ;
12036 PyObject * obj4 = 0 ;
12037 char *kwnames[] = {
12038 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
12042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12043 {
12044 arg2 = wxString_in_helper(obj1);
12045 if (arg2 == NULL) SWIG_fail;
12046 temp2 = True;
12047 }
12048 if (obj2) {
12049 {
12050 arg3 = wxString_in_helper(obj2);
12051 if (arg3 == NULL) SWIG_fail;
12052 temp3 = True;
12053 }
12054 }
12055 if (obj4) {
12056 {
12057 arg5 = &temp5;
12058 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12059 }
12060 }
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12069 {
12070 if (temp2)
12071 delete arg2;
12072 }
12073 {
12074 if (temp3)
12075 delete arg3;
12076 }
12077 return resultobj;
12078 fail:
12079 {
12080 if (temp2)
12081 delete arg2;
12082 }
12083 {
12084 if (temp3)
12085 delete arg3;
12086 }
12087 return NULL;
12088 }
12089
12090
12091 static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12092 PyObject *resultobj;
12093 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12094 int result;
12095 PyObject * obj0 = 0 ;
12096 char *kwnames[] = {
12097 (char *) "self", NULL
12098 };
12099
12100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12102 {
12103 PyThreadState* __tstate = wxPyBeginAllowThreads();
12104 result = (int)(arg1)->ShowModal();
12105
12106 wxPyEndAllowThreads(__tstate);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 }
12109 resultobj = PyInt_FromLong((long)result);
12110 return resultobj;
12111 fail:
12112 return NULL;
12113 }
12114
12115
12116 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12117 PyObject *obj;
12118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12119 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12120 Py_INCREF(obj);
12121 return Py_BuildValue((char *)"");
12122 }
12123 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12124 PyObject *resultobj;
12125 wxString *arg1 = 0 ;
12126 wxString *arg2 = 0 ;
12127 int arg3 = (int) 100 ;
12128 wxWindow *arg4 = (wxWindow *) NULL ;
12129 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12130 wxProgressDialog *result;
12131 bool temp1 = False ;
12132 bool temp2 = False ;
12133 PyObject * obj0 = 0 ;
12134 PyObject * obj1 = 0 ;
12135 PyObject * obj3 = 0 ;
12136 char *kwnames[] = {
12137 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12138 };
12139
12140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
12141 {
12142 arg1 = wxString_in_helper(obj0);
12143 if (arg1 == NULL) SWIG_fail;
12144 temp1 = True;
12145 }
12146 {
12147 arg2 = wxString_in_helper(obj1);
12148 if (arg2 == NULL) SWIG_fail;
12149 temp2 = True;
12150 }
12151 if (obj3) {
12152 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12153 }
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12157
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12162 {
12163 if (temp1)
12164 delete arg1;
12165 }
12166 {
12167 if (temp2)
12168 delete arg2;
12169 }
12170 return resultobj;
12171 fail:
12172 {
12173 if (temp1)
12174 delete arg1;
12175 }
12176 {
12177 if (temp2)
12178 delete arg2;
12179 }
12180 return NULL;
12181 }
12182
12183
12184 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12185 PyObject *resultobj;
12186 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12187 int arg2 ;
12188 wxString const &arg3_defvalue = wxPyEmptyString ;
12189 wxString *arg3 = (wxString *) &arg3_defvalue ;
12190 bool result;
12191 bool temp3 = False ;
12192 PyObject * obj0 = 0 ;
12193 PyObject * obj2 = 0 ;
12194 char *kwnames[] = {
12195 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12196 };
12197
12198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
12199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12200 if (obj2) {
12201 {
12202 arg3 = wxString_in_helper(obj2);
12203 if (arg3 == NULL) SWIG_fail;
12204 temp3 = True;
12205 }
12206 }
12207 {
12208 PyThreadState* __tstate = wxPyBeginAllowThreads();
12209 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12210
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 resultobj = PyInt_FromLong((long)result);
12215 {
12216 if (temp3)
12217 delete arg3;
12218 }
12219 return resultobj;
12220 fail:
12221 {
12222 if (temp3)
12223 delete arg3;
12224 }
12225 return NULL;
12226 }
12227
12228
12229 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12230 PyObject *resultobj;
12231 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12232 PyObject * obj0 = 0 ;
12233 char *kwnames[] = {
12234 (char *) "self", NULL
12235 };
12236
12237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12239 {
12240 PyThreadState* __tstate = wxPyBeginAllowThreads();
12241 (arg1)->Resume();
12242
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 Py_INCREF(Py_None); resultobj = Py_None;
12247 return resultobj;
12248 fail:
12249 return NULL;
12250 }
12251
12252
12253 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12254 PyObject *obj;
12255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12256 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12257 Py_INCREF(obj);
12258 return Py_BuildValue((char *)"");
12259 }
12260 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj;
12262 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12263 int arg2 = (int) 0 ;
12264 wxFindDialogEvent *result;
12265 char *kwnames[] = {
12266 (char *) "commandType",(char *) "id", NULL
12267 };
12268
12269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12273
12274 wxPyEndAllowThreads(__tstate);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
12277 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12278 return resultobj;
12279 fail:
12280 return NULL;
12281 }
12282
12283
12284 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12285 PyObject *resultobj;
12286 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12287 int result;
12288 PyObject * obj0 = 0 ;
12289 char *kwnames[] = {
12290 (char *) "self", NULL
12291 };
12292
12293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12295 {
12296 PyThreadState* __tstate = wxPyBeginAllowThreads();
12297 result = (int)(arg1)->GetFlags();
12298
12299 wxPyEndAllowThreads(__tstate);
12300 if (PyErr_Occurred()) SWIG_fail;
12301 }
12302 resultobj = PyInt_FromLong((long)result);
12303 return resultobj;
12304 fail:
12305 return NULL;
12306 }
12307
12308
12309 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12310 PyObject *resultobj;
12311 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12312 wxString *result;
12313 PyObject * obj0 = 0 ;
12314 char *kwnames[] = {
12315 (char *) "self", NULL
12316 };
12317
12318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12320 {
12321 PyThreadState* __tstate = wxPyBeginAllowThreads();
12322 {
12323 wxString const &_result_ref = (arg1)->GetFindString();
12324 result = (wxString *) &_result_ref;
12325 }
12326
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 {
12331 #if wxUSE_UNICODE
12332 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12333 #else
12334 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12335 #endif
12336 }
12337 return resultobj;
12338 fail:
12339 return NULL;
12340 }
12341
12342
12343 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12344 PyObject *resultobj;
12345 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12346 wxString *result;
12347 PyObject * obj0 = 0 ;
12348 char *kwnames[] = {
12349 (char *) "self", NULL
12350 };
12351
12352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12354 {
12355 PyThreadState* __tstate = wxPyBeginAllowThreads();
12356 {
12357 wxString const &_result_ref = (arg1)->GetReplaceString();
12358 result = (wxString *) &_result_ref;
12359 }
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
12364 {
12365 #if wxUSE_UNICODE
12366 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12367 #else
12368 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12369 #endif
12370 }
12371 return resultobj;
12372 fail:
12373 return NULL;
12374 }
12375
12376
12377 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12378 PyObject *resultobj;
12379 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12380 wxFindReplaceDialog *result;
12381 PyObject * obj0 = 0 ;
12382 char *kwnames[] = {
12383 (char *) "self", NULL
12384 };
12385
12386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12388 {
12389 PyThreadState* __tstate = wxPyBeginAllowThreads();
12390 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12391
12392 wxPyEndAllowThreads(__tstate);
12393 if (PyErr_Occurred()) SWIG_fail;
12394 }
12395 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12396 return resultobj;
12397 fail:
12398 return NULL;
12399 }
12400
12401
12402 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12403 PyObject *resultobj;
12404 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12405 int arg2 ;
12406 PyObject * obj0 = 0 ;
12407 char *kwnames[] = {
12408 (char *) "self",(char *) "flags", NULL
12409 };
12410
12411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12413 {
12414 PyThreadState* __tstate = wxPyBeginAllowThreads();
12415 (arg1)->SetFlags(arg2);
12416
12417 wxPyEndAllowThreads(__tstate);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 }
12420 Py_INCREF(Py_None); resultobj = Py_None;
12421 return resultobj;
12422 fail:
12423 return NULL;
12424 }
12425
12426
12427 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12428 PyObject *resultobj;
12429 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12430 wxString *arg2 = 0 ;
12431 bool temp2 = False ;
12432 PyObject * obj0 = 0 ;
12433 PyObject * obj1 = 0 ;
12434 char *kwnames[] = {
12435 (char *) "self",(char *) "str", NULL
12436 };
12437
12438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12440 {
12441 arg2 = wxString_in_helper(obj1);
12442 if (arg2 == NULL) SWIG_fail;
12443 temp2 = True;
12444 }
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 (arg1)->SetFindString((wxString const &)*arg2);
12448
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 Py_INCREF(Py_None); resultobj = Py_None;
12453 {
12454 if (temp2)
12455 delete arg2;
12456 }
12457 return resultobj;
12458 fail:
12459 {
12460 if (temp2)
12461 delete arg2;
12462 }
12463 return NULL;
12464 }
12465
12466
12467 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12468 PyObject *resultobj;
12469 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12470 wxString *arg2 = 0 ;
12471 bool temp2 = False ;
12472 PyObject * obj0 = 0 ;
12473 PyObject * obj1 = 0 ;
12474 char *kwnames[] = {
12475 (char *) "self",(char *) "str", NULL
12476 };
12477
12478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12480 {
12481 arg2 = wxString_in_helper(obj1);
12482 if (arg2 == NULL) SWIG_fail;
12483 temp2 = True;
12484 }
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 (arg1)->SetReplaceString((wxString const &)*arg2);
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 Py_INCREF(Py_None); resultobj = Py_None;
12493 {
12494 if (temp2)
12495 delete arg2;
12496 }
12497 return resultobj;
12498 fail:
12499 {
12500 if (temp2)
12501 delete arg2;
12502 }
12503 return NULL;
12504 }
12505
12506
12507 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12508 PyObject *obj;
12509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12510 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12511 Py_INCREF(obj);
12512 return Py_BuildValue((char *)"");
12513 }
12514 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12515 PyObject *resultobj;
12516 int arg1 = (int) 0 ;
12517 wxFindReplaceData *result;
12518 char *kwnames[] = {
12519 (char *) "flags", NULL
12520 };
12521
12522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12531 return resultobj;
12532 fail:
12533 return NULL;
12534 }
12535
12536
12537 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12538 PyObject *resultobj;
12539 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12540 PyObject * obj0 = 0 ;
12541 char *kwnames[] = {
12542 (char *) "self", NULL
12543 };
12544
12545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12547 {
12548 PyThreadState* __tstate = wxPyBeginAllowThreads();
12549 delete arg1;
12550
12551 wxPyEndAllowThreads(__tstate);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 }
12554 Py_INCREF(Py_None); resultobj = Py_None;
12555 return resultobj;
12556 fail:
12557 return NULL;
12558 }
12559
12560
12561 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12562 PyObject *resultobj;
12563 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12564 wxString *result;
12565 PyObject * obj0 = 0 ;
12566 char *kwnames[] = {
12567 (char *) "self", NULL
12568 };
12569
12570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12572 {
12573 PyThreadState* __tstate = wxPyBeginAllowThreads();
12574 {
12575 wxString const &_result_ref = (arg1)->GetFindString();
12576 result = (wxString *) &_result_ref;
12577 }
12578
12579 wxPyEndAllowThreads(__tstate);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 }
12582 {
12583 #if wxUSE_UNICODE
12584 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12585 #else
12586 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12587 #endif
12588 }
12589 return resultobj;
12590 fail:
12591 return NULL;
12592 }
12593
12594
12595 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12596 PyObject *resultobj;
12597 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12598 wxString *result;
12599 PyObject * obj0 = 0 ;
12600 char *kwnames[] = {
12601 (char *) "self", NULL
12602 };
12603
12604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 {
12609 wxString const &_result_ref = (arg1)->GetReplaceString();
12610 result = (wxString *) &_result_ref;
12611 }
12612
12613 wxPyEndAllowThreads(__tstate);
12614 if (PyErr_Occurred()) SWIG_fail;
12615 }
12616 {
12617 #if wxUSE_UNICODE
12618 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12619 #else
12620 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12621 #endif
12622 }
12623 return resultobj;
12624 fail:
12625 return NULL;
12626 }
12627
12628
12629 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12630 PyObject *resultobj;
12631 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12632 int result;
12633 PyObject * obj0 = 0 ;
12634 char *kwnames[] = {
12635 (char *) "self", NULL
12636 };
12637
12638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12640 {
12641 PyThreadState* __tstate = wxPyBeginAllowThreads();
12642 result = (int)(arg1)->GetFlags();
12643
12644 wxPyEndAllowThreads(__tstate);
12645 if (PyErr_Occurred()) SWIG_fail;
12646 }
12647 resultobj = PyInt_FromLong((long)result);
12648 return resultobj;
12649 fail:
12650 return NULL;
12651 }
12652
12653
12654 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12655 PyObject *resultobj;
12656 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12657 int arg2 ;
12658 PyObject * obj0 = 0 ;
12659 char *kwnames[] = {
12660 (char *) "self",(char *) "flags", NULL
12661 };
12662
12663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->SetFlags(arg2);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 Py_INCREF(Py_None); resultobj = Py_None;
12673 return resultobj;
12674 fail:
12675 return NULL;
12676 }
12677
12678
12679 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj;
12681 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12682 wxString *arg2 = 0 ;
12683 bool temp2 = False ;
12684 PyObject * obj0 = 0 ;
12685 PyObject * obj1 = 0 ;
12686 char *kwnames[] = {
12687 (char *) "self",(char *) "str", NULL
12688 };
12689
12690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12692 {
12693 arg2 = wxString_in_helper(obj1);
12694 if (arg2 == NULL) SWIG_fail;
12695 temp2 = True;
12696 }
12697 {
12698 PyThreadState* __tstate = wxPyBeginAllowThreads();
12699 (arg1)->SetFindString((wxString const &)*arg2);
12700
12701 wxPyEndAllowThreads(__tstate);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 }
12704 Py_INCREF(Py_None); resultobj = Py_None;
12705 {
12706 if (temp2)
12707 delete arg2;
12708 }
12709 return resultobj;
12710 fail:
12711 {
12712 if (temp2)
12713 delete arg2;
12714 }
12715 return NULL;
12716 }
12717
12718
12719 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12720 PyObject *resultobj;
12721 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12722 wxString *arg2 = 0 ;
12723 bool temp2 = False ;
12724 PyObject * obj0 = 0 ;
12725 PyObject * obj1 = 0 ;
12726 char *kwnames[] = {
12727 (char *) "self",(char *) "str", NULL
12728 };
12729
12730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12732 {
12733 arg2 = wxString_in_helper(obj1);
12734 if (arg2 == NULL) SWIG_fail;
12735 temp2 = True;
12736 }
12737 {
12738 PyThreadState* __tstate = wxPyBeginAllowThreads();
12739 (arg1)->SetReplaceString((wxString const &)*arg2);
12740
12741 wxPyEndAllowThreads(__tstate);
12742 if (PyErr_Occurred()) SWIG_fail;
12743 }
12744 Py_INCREF(Py_None); resultobj = Py_None;
12745 {
12746 if (temp2)
12747 delete arg2;
12748 }
12749 return resultobj;
12750 fail:
12751 {
12752 if (temp2)
12753 delete arg2;
12754 }
12755 return NULL;
12756 }
12757
12758
12759 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12760 PyObject *obj;
12761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12762 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12763 Py_INCREF(obj);
12764 return Py_BuildValue((char *)"");
12765 }
12766 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12767 PyObject *resultobj;
12768 wxWindow *arg1 = (wxWindow *) 0 ;
12769 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12770 wxString *arg3 = 0 ;
12771 int arg4 = (int) 0 ;
12772 wxFindReplaceDialog *result;
12773 bool temp3 = False ;
12774 PyObject * obj0 = 0 ;
12775 PyObject * obj1 = 0 ;
12776 PyObject * obj2 = 0 ;
12777 char *kwnames[] = {
12778 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12779 };
12780
12781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12784 {
12785 arg3 = wxString_in_helper(obj2);
12786 if (arg3 == NULL) SWIG_fail;
12787 temp3 = True;
12788 }
12789 {
12790 PyThreadState* __tstate = wxPyBeginAllowThreads();
12791 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12792
12793 wxPyEndAllowThreads(__tstate);
12794 if (PyErr_Occurred()) SWIG_fail;
12795 }
12796 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12797 {
12798 if (temp3)
12799 delete arg3;
12800 }
12801 return resultobj;
12802 fail:
12803 {
12804 if (temp3)
12805 delete arg3;
12806 }
12807 return NULL;
12808 }
12809
12810
12811 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12812 PyObject *resultobj;
12813 wxFindReplaceDialog *result;
12814 char *kwnames[] = {
12815 NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12819 {
12820 PyThreadState* __tstate = wxPyBeginAllowThreads();
12821 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12822
12823 wxPyEndAllowThreads(__tstate);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 }
12826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12827 return resultobj;
12828 fail:
12829 return NULL;
12830 }
12831
12832
12833 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12834 PyObject *resultobj;
12835 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12836 wxWindow *arg2 = (wxWindow *) 0 ;
12837 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12838 wxString *arg4 = 0 ;
12839 int arg5 = (int) 0 ;
12840 bool result;
12841 bool temp4 = False ;
12842 PyObject * obj0 = 0 ;
12843 PyObject * obj1 = 0 ;
12844 PyObject * obj2 = 0 ;
12845 PyObject * obj3 = 0 ;
12846 char *kwnames[] = {
12847 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12848 };
12849
12850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12852 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12853 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12854 {
12855 arg4 = wxString_in_helper(obj3);
12856 if (arg4 == NULL) SWIG_fail;
12857 temp4 = True;
12858 }
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 resultobj = PyInt_FromLong((long)result);
12867 {
12868 if (temp4)
12869 delete arg4;
12870 }
12871 return resultobj;
12872 fail:
12873 {
12874 if (temp4)
12875 delete arg4;
12876 }
12877 return NULL;
12878 }
12879
12880
12881 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12882 PyObject *resultobj;
12883 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12884 wxFindReplaceData *result;
12885 PyObject * obj0 = 0 ;
12886 char *kwnames[] = {
12887 (char *) "self", NULL
12888 };
12889
12890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12892 {
12893 PyThreadState* __tstate = wxPyBeginAllowThreads();
12894 result = (wxFindReplaceData *)(arg1)->GetData();
12895
12896 wxPyEndAllowThreads(__tstate);
12897 if (PyErr_Occurred()) SWIG_fail;
12898 }
12899 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12900 return resultobj;
12901 fail:
12902 return NULL;
12903 }
12904
12905
12906 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12907 PyObject *resultobj;
12908 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12909 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12910 PyObject * obj0 = 0 ;
12911 PyObject * obj1 = 0 ;
12912 char *kwnames[] = {
12913 (char *) "self",(char *) "data", NULL
12914 };
12915
12916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12918 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12919 {
12920 PyThreadState* __tstate = wxPyBeginAllowThreads();
12921 (arg1)->SetData(arg2);
12922
12923 wxPyEndAllowThreads(__tstate);
12924 if (PyErr_Occurred()) SWIG_fail;
12925 }
12926 Py_INCREF(Py_None); resultobj = Py_None;
12927 return resultobj;
12928 fail:
12929 return NULL;
12930 }
12931
12932
12933 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12934 PyObject *obj;
12935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12936 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12937 Py_INCREF(obj);
12938 return Py_BuildValue((char *)"");
12939 }
12940 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12941 PyObject *resultobj;
12942 wxWindow *arg1 = (wxWindow *) 0 ;
12943 int arg2 ;
12944 wxString *arg3 = 0 ;
12945 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12946 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12947 wxSize const &arg5_defvalue = wxDefaultSize ;
12948 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12949 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12950 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12951 wxString *arg7 = (wxString *) &arg7_defvalue ;
12952 wxMDIParentFrame *result;
12953 bool temp3 = False ;
12954 wxPoint temp4 ;
12955 wxSize temp5 ;
12956 bool temp7 = False ;
12957 PyObject * obj0 = 0 ;
12958 PyObject * obj2 = 0 ;
12959 PyObject * obj3 = 0 ;
12960 PyObject * obj4 = 0 ;
12961 PyObject * obj6 = 0 ;
12962 char *kwnames[] = {
12963 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12964 };
12965
12966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12968 {
12969 arg3 = wxString_in_helper(obj2);
12970 if (arg3 == NULL) SWIG_fail;
12971 temp3 = True;
12972 }
12973 if (obj3) {
12974 {
12975 arg4 = &temp4;
12976 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12977 }
12978 }
12979 if (obj4) {
12980 {
12981 arg5 = &temp5;
12982 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12983 }
12984 }
12985 if (obj6) {
12986 {
12987 arg7 = wxString_in_helper(obj6);
12988 if (arg7 == NULL) SWIG_fail;
12989 temp7 = True;
12990 }
12991 }
12992 {
12993 PyThreadState* __tstate = wxPyBeginAllowThreads();
12994 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12995
12996 wxPyEndAllowThreads(__tstate);
12997 if (PyErr_Occurred()) SWIG_fail;
12998 }
12999 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13000 {
13001 if (temp3)
13002 delete arg3;
13003 }
13004 {
13005 if (temp7)
13006 delete arg7;
13007 }
13008 return resultobj;
13009 fail:
13010 {
13011 if (temp3)
13012 delete arg3;
13013 }
13014 {
13015 if (temp7)
13016 delete arg7;
13017 }
13018 return NULL;
13019 }
13020
13021
13022 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13023 PyObject *resultobj;
13024 wxMDIParentFrame *result;
13025 char *kwnames[] = {
13026 NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
13032 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
13037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13038 return resultobj;
13039 fail:
13040 return NULL;
13041 }
13042
13043
13044 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13045 PyObject *resultobj;
13046 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13047 wxWindow *arg2 = (wxWindow *) 0 ;
13048 int arg3 ;
13049 wxString *arg4 = 0 ;
13050 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13051 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13052 wxSize const &arg6_defvalue = wxDefaultSize ;
13053 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13054 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13055 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13056 wxString *arg8 = (wxString *) &arg8_defvalue ;
13057 bool result;
13058 bool temp4 = False ;
13059 wxPoint temp5 ;
13060 wxSize temp6 ;
13061 bool temp8 = False ;
13062 PyObject * obj0 = 0 ;
13063 PyObject * obj1 = 0 ;
13064 PyObject * obj3 = 0 ;
13065 PyObject * obj4 = 0 ;
13066 PyObject * obj5 = 0 ;
13067 PyObject * obj7 = 0 ;
13068 char *kwnames[] = {
13069 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13070 };
13071
13072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13075 {
13076 arg4 = wxString_in_helper(obj3);
13077 if (arg4 == NULL) SWIG_fail;
13078 temp4 = True;
13079 }
13080 if (obj4) {
13081 {
13082 arg5 = &temp5;
13083 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13084 }
13085 }
13086 if (obj5) {
13087 {
13088 arg6 = &temp6;
13089 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13090 }
13091 }
13092 if (obj7) {
13093 {
13094 arg8 = wxString_in_helper(obj7);
13095 if (arg8 == NULL) SWIG_fail;
13096 temp8 = True;
13097 }
13098 }
13099 {
13100 PyThreadState* __tstate = wxPyBeginAllowThreads();
13101 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13102
13103 wxPyEndAllowThreads(__tstate);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 resultobj = PyInt_FromLong((long)result);
13107 {
13108 if (temp4)
13109 delete arg4;
13110 }
13111 {
13112 if (temp8)
13113 delete arg8;
13114 }
13115 return resultobj;
13116 fail:
13117 {
13118 if (temp4)
13119 delete arg4;
13120 }
13121 {
13122 if (temp8)
13123 delete arg8;
13124 }
13125 return NULL;
13126 }
13127
13128
13129 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
13130 PyObject *resultobj;
13131 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13132 PyObject * obj0 = 0 ;
13133 char *kwnames[] = {
13134 (char *) "self", NULL
13135 };
13136
13137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
13138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13139 {
13140 PyThreadState* __tstate = wxPyBeginAllowThreads();
13141 (arg1)->ActivateNext();
13142
13143 wxPyEndAllowThreads(__tstate);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
13146 Py_INCREF(Py_None); resultobj = Py_None;
13147 return resultobj;
13148 fail:
13149 return NULL;
13150 }
13151
13152
13153 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
13154 PyObject *resultobj;
13155 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13156 PyObject * obj0 = 0 ;
13157 char *kwnames[] = {
13158 (char *) "self", NULL
13159 };
13160
13161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
13162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13163 {
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 (arg1)->ActivatePrevious();
13166
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
13170 Py_INCREF(Py_None); resultobj = Py_None;
13171 return resultobj;
13172 fail:
13173 return NULL;
13174 }
13175
13176
13177 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
13178 PyObject *resultobj;
13179 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13180 PyObject * obj0 = 0 ;
13181 char *kwnames[] = {
13182 (char *) "self", NULL
13183 };
13184
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
13186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 (arg1)->ArrangeIcons();
13190
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 Py_INCREF(Py_None); resultobj = Py_None;
13195 return resultobj;
13196 fail:
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13204 PyObject * obj0 = 0 ;
13205 char *kwnames[] = {
13206 (char *) "self", NULL
13207 };
13208
13209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
13210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 (arg1)->Cascade();
13214
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 Py_INCREF(Py_None); resultobj = Py_None;
13219 return resultobj;
13220 fail:
13221 return NULL;
13222 }
13223
13224
13225 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13226 PyObject *resultobj;
13227 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13228 wxMDIChildFrame *result;
13229 PyObject * obj0 = 0 ;
13230 char *kwnames[] = {
13231 (char *) "self", NULL
13232 };
13233
13234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13236 {
13237 PyThreadState* __tstate = wxPyBeginAllowThreads();
13238 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13239
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 }
13243 {
13244 resultobj = wxPyMake_wxObject(result);
13245 }
13246 return resultobj;
13247 fail:
13248 return NULL;
13249 }
13250
13251
13252 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13253 PyObject *resultobj;
13254 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13255 wxMDIClientWindow *result;
13256 PyObject * obj0 = 0 ;
13257 char *kwnames[] = {
13258 (char *) "self", NULL
13259 };
13260
13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13263 {
13264 PyThreadState* __tstate = wxPyBeginAllowThreads();
13265 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13266
13267 wxPyEndAllowThreads(__tstate);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
13270 {
13271 resultobj = wxPyMake_wxObject(result);
13272 }
13273 return resultobj;
13274 fail:
13275 return NULL;
13276 }
13277
13278
13279 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13280 PyObject *resultobj;
13281 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13282 wxWindow *result;
13283 PyObject * obj0 = 0 ;
13284 char *kwnames[] = {
13285 (char *) "self", NULL
13286 };
13287
13288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13290 {
13291 PyThreadState* __tstate = wxPyBeginAllowThreads();
13292 result = (wxWindow *)(arg1)->GetToolBar();
13293
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
13297 {
13298 resultobj = wxPyMake_wxObject(result);
13299 }
13300 return resultobj;
13301 fail:
13302 return NULL;
13303 }
13304
13305
13306 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13307 PyObject *resultobj;
13308 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13309 wxMenu *result;
13310 PyObject * obj0 = 0 ;
13311 char *kwnames[] = {
13312 (char *) "self", NULL
13313 };
13314
13315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
13316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13317 {
13318 PyThreadState* __tstate = wxPyBeginAllowThreads();
13319 result = (wxMenu *)(arg1)->GetWindowMenu();
13320
13321 wxPyEndAllowThreads(__tstate);
13322 if (PyErr_Occurred()) SWIG_fail;
13323 }
13324 {
13325 resultobj = wxPyMake_wxObject(result);
13326 }
13327 return resultobj;
13328 fail:
13329 return NULL;
13330 }
13331
13332
13333 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13334 PyObject *resultobj;
13335 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13336 wxMenu *arg2 = (wxMenu *) 0 ;
13337 PyObject * obj0 = 0 ;
13338 PyObject * obj1 = 0 ;
13339 char *kwnames[] = {
13340 (char *) "self",(char *) "menu", NULL
13341 };
13342
13343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
13344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13346 {
13347 PyThreadState* __tstate = wxPyBeginAllowThreads();
13348 (arg1)->SetWindowMenu(arg2);
13349
13350 wxPyEndAllowThreads(__tstate);
13351 if (PyErr_Occurred()) SWIG_fail;
13352 }
13353 Py_INCREF(Py_None); resultobj = Py_None;
13354 return resultobj;
13355 fail:
13356 return NULL;
13357 }
13358
13359
13360 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13361 PyObject *resultobj;
13362 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13363 wxToolBar *arg2 = (wxToolBar *) 0 ;
13364 PyObject * obj0 = 0 ;
13365 PyObject * obj1 = 0 ;
13366 char *kwnames[] = {
13367 (char *) "self",(char *) "toolbar", NULL
13368 };
13369
13370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
13371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13372 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13373 {
13374 PyThreadState* __tstate = wxPyBeginAllowThreads();
13375 (arg1)->SetToolBar(arg2);
13376
13377 wxPyEndAllowThreads(__tstate);
13378 if (PyErr_Occurred()) SWIG_fail;
13379 }
13380 Py_INCREF(Py_None); resultobj = Py_None;
13381 return resultobj;
13382 fail:
13383 return NULL;
13384 }
13385
13386
13387 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13388 PyObject *resultobj;
13389 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13390 PyObject * obj0 = 0 ;
13391 char *kwnames[] = {
13392 (char *) "self", NULL
13393 };
13394
13395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13397 {
13398 PyThreadState* __tstate = wxPyBeginAllowThreads();
13399 (arg1)->Tile();
13400
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 Py_INCREF(Py_None); resultobj = Py_None;
13405 return resultobj;
13406 fail:
13407 return NULL;
13408 }
13409
13410
13411 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13412 PyObject *obj;
13413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13414 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13415 Py_INCREF(obj);
13416 return Py_BuildValue((char *)"");
13417 }
13418 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13421 int arg2 ;
13422 wxString *arg3 = 0 ;
13423 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13424 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13425 wxSize const &arg5_defvalue = wxDefaultSize ;
13426 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13427 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13428 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13429 wxString *arg7 = (wxString *) &arg7_defvalue ;
13430 wxMDIChildFrame *result;
13431 bool temp3 = False ;
13432 wxPoint temp4 ;
13433 wxSize temp5 ;
13434 bool temp7 = False ;
13435 PyObject * obj0 = 0 ;
13436 PyObject * obj2 = 0 ;
13437 PyObject * obj3 = 0 ;
13438 PyObject * obj4 = 0 ;
13439 PyObject * obj6 = 0 ;
13440 char *kwnames[] = {
13441 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13442 };
13443
13444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13446 {
13447 arg3 = wxString_in_helper(obj2);
13448 if (arg3 == NULL) SWIG_fail;
13449 temp3 = True;
13450 }
13451 if (obj3) {
13452 {
13453 arg4 = &temp4;
13454 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13455 }
13456 }
13457 if (obj4) {
13458 {
13459 arg5 = &temp5;
13460 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13461 }
13462 }
13463 if (obj6) {
13464 {
13465 arg7 = wxString_in_helper(obj6);
13466 if (arg7 == NULL) SWIG_fail;
13467 temp7 = True;
13468 }
13469 }
13470 {
13471 PyThreadState* __tstate = wxPyBeginAllowThreads();
13472 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13473
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 {
13478 resultobj = wxPyMake_wxObject(result);
13479 }
13480 {
13481 if (temp3)
13482 delete arg3;
13483 }
13484 {
13485 if (temp7)
13486 delete arg7;
13487 }
13488 return resultobj;
13489 fail:
13490 {
13491 if (temp3)
13492 delete arg3;
13493 }
13494 {
13495 if (temp7)
13496 delete arg7;
13497 }
13498 return NULL;
13499 }
13500
13501
13502 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13503 PyObject *resultobj;
13504 wxMDIChildFrame *result;
13505 char *kwnames[] = {
13506 NULL
13507 };
13508
13509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13510 {
13511 PyThreadState* __tstate = wxPyBeginAllowThreads();
13512 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13513
13514 wxPyEndAllowThreads(__tstate);
13515 if (PyErr_Occurred()) SWIG_fail;
13516 }
13517 {
13518 resultobj = wxPyMake_wxObject(result);
13519 }
13520 return resultobj;
13521 fail:
13522 return NULL;
13523 }
13524
13525
13526 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13527 PyObject *resultobj;
13528 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13529 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13530 int arg3 ;
13531 wxString *arg4 = 0 ;
13532 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13533 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13534 wxSize const &arg6_defvalue = wxDefaultSize ;
13535 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13536 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13537 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13538 wxString *arg8 = (wxString *) &arg8_defvalue ;
13539 bool result;
13540 bool temp4 = False ;
13541 wxPoint temp5 ;
13542 wxSize temp6 ;
13543 bool temp8 = False ;
13544 PyObject * obj0 = 0 ;
13545 PyObject * obj1 = 0 ;
13546 PyObject * obj3 = 0 ;
13547 PyObject * obj4 = 0 ;
13548 PyObject * obj5 = 0 ;
13549 PyObject * obj7 = 0 ;
13550 char *kwnames[] = {
13551 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13552 };
13553
13554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13557 {
13558 arg4 = wxString_in_helper(obj3);
13559 if (arg4 == NULL) SWIG_fail;
13560 temp4 = True;
13561 }
13562 if (obj4) {
13563 {
13564 arg5 = &temp5;
13565 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13566 }
13567 }
13568 if (obj5) {
13569 {
13570 arg6 = &temp6;
13571 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13572 }
13573 }
13574 if (obj7) {
13575 {
13576 arg8 = wxString_in_helper(obj7);
13577 if (arg8 == NULL) SWIG_fail;
13578 temp8 = True;
13579 }
13580 }
13581 {
13582 PyThreadState* __tstate = wxPyBeginAllowThreads();
13583 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13584
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 resultobj = PyInt_FromLong((long)result);
13589 {
13590 if (temp4)
13591 delete arg4;
13592 }
13593 {
13594 if (temp8)
13595 delete arg8;
13596 }
13597 return resultobj;
13598 fail:
13599 {
13600 if (temp4)
13601 delete arg4;
13602 }
13603 {
13604 if (temp8)
13605 delete arg8;
13606 }
13607 return NULL;
13608 }
13609
13610
13611 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13612 PyObject *resultobj;
13613 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13614 PyObject * obj0 = 0 ;
13615 char *kwnames[] = {
13616 (char *) "self", NULL
13617 };
13618
13619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13621 {
13622 PyThreadState* __tstate = wxPyBeginAllowThreads();
13623 (arg1)->Activate();
13624
13625 wxPyEndAllowThreads(__tstate);
13626 if (PyErr_Occurred()) SWIG_fail;
13627 }
13628 Py_INCREF(Py_None); resultobj = Py_None;
13629 return resultobj;
13630 fail:
13631 return NULL;
13632 }
13633
13634
13635 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13636 PyObject *resultobj;
13637 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13638 bool arg2 ;
13639 PyObject * obj0 = 0 ;
13640 PyObject * obj1 = 0 ;
13641 char *kwnames[] = {
13642 (char *) "self",(char *) "maximize", NULL
13643 };
13644
13645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13647 arg2 = PyInt_AsLong(obj1) ? true : false;
13648 if (PyErr_Occurred()) SWIG_fail;
13649 {
13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
13651 (arg1)->Maximize(arg2);
13652
13653 wxPyEndAllowThreads(__tstate);
13654 if (PyErr_Occurred()) SWIG_fail;
13655 }
13656 Py_INCREF(Py_None); resultobj = Py_None;
13657 return resultobj;
13658 fail:
13659 return NULL;
13660 }
13661
13662
13663 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13664 PyObject *resultobj;
13665 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13666 PyObject * obj0 = 0 ;
13667 char *kwnames[] = {
13668 (char *) "self", NULL
13669 };
13670
13671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 (arg1)->Restore();
13676
13677 wxPyEndAllowThreads(__tstate);
13678 if (PyErr_Occurred()) SWIG_fail;
13679 }
13680 Py_INCREF(Py_None); resultobj = Py_None;
13681 return resultobj;
13682 fail:
13683 return NULL;
13684 }
13685
13686
13687 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13688 PyObject *obj;
13689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13690 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13691 Py_INCREF(obj);
13692 return Py_BuildValue((char *)"");
13693 }
13694 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13695 PyObject *resultobj;
13696 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13697 long arg2 = (long) 0 ;
13698 wxMDIClientWindow *result;
13699 PyObject * obj0 = 0 ;
13700 char *kwnames[] = {
13701 (char *) "parent",(char *) "style", NULL
13702 };
13703
13704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13706 {
13707 PyThreadState* __tstate = wxPyBeginAllowThreads();
13708 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13709
13710 wxPyEndAllowThreads(__tstate);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
13713 {
13714 resultobj = wxPyMake_wxObject(result);
13715 }
13716 return resultobj;
13717 fail:
13718 return NULL;
13719 }
13720
13721
13722 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13723 PyObject *resultobj;
13724 wxMDIClientWindow *result;
13725 char *kwnames[] = {
13726 NULL
13727 };
13728
13729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13733
13734 wxPyEndAllowThreads(__tstate);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 }
13737 {
13738 resultobj = wxPyMake_wxObject(result);
13739 }
13740 return resultobj;
13741 fail:
13742 return NULL;
13743 }
13744
13745
13746 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13747 PyObject *resultobj;
13748 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13749 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13750 long arg3 = (long) 0 ;
13751 bool result;
13752 PyObject * obj0 = 0 ;
13753 PyObject * obj1 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "self",(char *) "parent",(char *) "style", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 result = (bool)(arg1)->Create(arg2,arg3);
13764
13765 wxPyEndAllowThreads(__tstate);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 }
13768 resultobj = PyInt_FromLong((long)result);
13769 return resultobj;
13770 fail:
13771 return NULL;
13772 }
13773
13774
13775 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13776 PyObject *obj;
13777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13778 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13779 Py_INCREF(obj);
13780 return Py_BuildValue((char *)"");
13781 }
13782 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13783 PyObject *resultobj;
13784 wxWindow *arg1 = (wxWindow *) 0 ;
13785 int arg2 ;
13786 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13787 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13788 wxSize const &arg4_defvalue = wxDefaultSize ;
13789 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13790 long arg5 = (long) 0 ;
13791 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13792 wxString *arg6 = (wxString *) &arg6_defvalue ;
13793 wxPyWindow *result;
13794 wxPoint temp3 ;
13795 wxSize temp4 ;
13796 bool temp6 = False ;
13797 PyObject * obj0 = 0 ;
13798 PyObject * obj2 = 0 ;
13799 PyObject * obj3 = 0 ;
13800 PyObject * obj5 = 0 ;
13801 char *kwnames[] = {
13802 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13803 };
13804
13805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13807 if (obj2) {
13808 {
13809 arg3 = &temp3;
13810 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13811 }
13812 }
13813 if (obj3) {
13814 {
13815 arg4 = &temp4;
13816 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13817 }
13818 }
13819 if (obj5) {
13820 {
13821 arg6 = wxString_in_helper(obj5);
13822 if (arg6 == NULL) SWIG_fail;
13823 temp6 = True;
13824 }
13825 }
13826 {
13827 PyThreadState* __tstate = wxPyBeginAllowThreads();
13828 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13829
13830 wxPyEndAllowThreads(__tstate);
13831 if (PyErr_Occurred()) SWIG_fail;
13832 }
13833 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13834 {
13835 if (temp6)
13836 delete arg6;
13837 }
13838 return resultobj;
13839 fail:
13840 {
13841 if (temp6)
13842 delete arg6;
13843 }
13844 return NULL;
13845 }
13846
13847
13848 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13849 PyObject *resultobj;
13850 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13851 PyObject *arg2 = (PyObject *) 0 ;
13852 PyObject *arg3 = (PyObject *) 0 ;
13853 PyObject * obj0 = 0 ;
13854 PyObject * obj1 = 0 ;
13855 PyObject * obj2 = 0 ;
13856 char *kwnames[] = {
13857 (char *) "self",(char *) "self",(char *) "_class", NULL
13858 };
13859
13860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13862 arg2 = obj1;
13863 arg3 = obj2;
13864 {
13865 PyThreadState* __tstate = wxPyBeginAllowThreads();
13866 (arg1)->_setCallbackInfo(arg2,arg3);
13867
13868 wxPyEndAllowThreads(__tstate);
13869 if (PyErr_Occurred()) SWIG_fail;
13870 }
13871 Py_INCREF(Py_None); resultobj = Py_None;
13872 return resultobj;
13873 fail:
13874 return NULL;
13875 }
13876
13877
13878 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13879 PyObject *resultobj;
13880 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13881 int arg2 ;
13882 int arg3 ;
13883 int arg4 ;
13884 int arg5 ;
13885 PyObject * obj0 = 0 ;
13886 char *kwnames[] = {
13887 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13888 };
13889
13890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13892 {
13893 PyThreadState* __tstate = wxPyBeginAllowThreads();
13894 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13895
13896 wxPyEndAllowThreads(__tstate);
13897 if (PyErr_Occurred()) SWIG_fail;
13898 }
13899 Py_INCREF(Py_None); resultobj = Py_None;
13900 return resultobj;
13901 fail:
13902 return NULL;
13903 }
13904
13905
13906 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13907 PyObject *resultobj;
13908 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13909 int arg2 ;
13910 int arg3 ;
13911 int arg4 ;
13912 int arg5 ;
13913 int arg6 = (int) wxSIZE_AUTO ;
13914 PyObject * obj0 = 0 ;
13915 char *kwnames[] = {
13916 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13917 };
13918
13919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13921 {
13922 PyThreadState* __tstate = wxPyBeginAllowThreads();
13923 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13924
13925 wxPyEndAllowThreads(__tstate);
13926 if (PyErr_Occurred()) SWIG_fail;
13927 }
13928 Py_INCREF(Py_None); resultobj = Py_None;
13929 return resultobj;
13930 fail:
13931 return NULL;
13932 }
13933
13934
13935 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13936 PyObject *resultobj;
13937 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13938 int arg2 ;
13939 int arg3 ;
13940 PyObject * obj0 = 0 ;
13941 char *kwnames[] = {
13942 (char *) "self",(char *) "width",(char *) "height", NULL
13943 };
13944
13945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 (arg1)->base_DoSetClientSize(arg2,arg3);
13950
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 Py_INCREF(Py_None); resultobj = Py_None;
13955 return resultobj;
13956 fail:
13957 return NULL;
13958 }
13959
13960
13961 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13962 PyObject *resultobj;
13963 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13964 int arg2 ;
13965 int arg3 ;
13966 PyObject * obj0 = 0 ;
13967 char *kwnames[] = {
13968 (char *) "self",(char *) "x",(char *) "y", NULL
13969 };
13970
13971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13973 {
13974 PyThreadState* __tstate = wxPyBeginAllowThreads();
13975 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13976
13977 wxPyEndAllowThreads(__tstate);
13978 if (PyErr_Occurred()) SWIG_fail;
13979 }
13980 Py_INCREF(Py_None); resultobj = Py_None;
13981 return resultobj;
13982 fail:
13983 return NULL;
13984 }
13985
13986
13987 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13988 PyObject *resultobj;
13989 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13990 int *arg2 = (int *) 0 ;
13991 int *arg3 = (int *) 0 ;
13992 int temp2 ;
13993 int temp3 ;
13994 PyObject * obj0 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "self", NULL
13997 };
13998
13999 arg2 = &temp2;
14000 arg3 = &temp3;
14001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
14002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
14006
14007 wxPyEndAllowThreads(__tstate);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 Py_INCREF(Py_None); resultobj = Py_None;
14011 {
14012 PyObject *o = PyInt_FromLong((long) (*arg2));
14013 resultobj = t_output_helper(resultobj,o);
14014 }
14015 {
14016 PyObject *o = PyInt_FromLong((long) (*arg3));
14017 resultobj = t_output_helper(resultobj,o);
14018 }
14019 return resultobj;
14020 fail:
14021 return NULL;
14022 }
14023
14024
14025 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14026 PyObject *resultobj;
14027 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14028 int *arg2 = (int *) 0 ;
14029 int *arg3 = (int *) 0 ;
14030 int temp2 ;
14031 int temp3 ;
14032 PyObject * obj0 = 0 ;
14033 char *kwnames[] = {
14034 (char *) "self", NULL
14035 };
14036
14037 arg2 = &temp2;
14038 arg3 = &temp3;
14039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14041 {
14042 PyThreadState* __tstate = wxPyBeginAllowThreads();
14043 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
14044
14045 wxPyEndAllowThreads(__tstate);
14046 if (PyErr_Occurred()) SWIG_fail;
14047 }
14048 Py_INCREF(Py_None); resultobj = Py_None;
14049 {
14050 PyObject *o = PyInt_FromLong((long) (*arg2));
14051 resultobj = t_output_helper(resultobj,o);
14052 }
14053 {
14054 PyObject *o = PyInt_FromLong((long) (*arg3));
14055 resultobj = t_output_helper(resultobj,o);
14056 }
14057 return resultobj;
14058 fail:
14059 return NULL;
14060 }
14061
14062
14063 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14064 PyObject *resultobj;
14065 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14066 int *arg2 = (int *) 0 ;
14067 int *arg3 = (int *) 0 ;
14068 int temp2 ;
14069 int temp3 ;
14070 PyObject * obj0 = 0 ;
14071 char *kwnames[] = {
14072 (char *) "self", NULL
14073 };
14074
14075 arg2 = &temp2;
14076 arg3 = &temp3;
14077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
14078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14079 {
14080 PyThreadState* __tstate = wxPyBeginAllowThreads();
14081 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
14082
14083 wxPyEndAllowThreads(__tstate);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
14086 Py_INCREF(Py_None); resultobj = Py_None;
14087 {
14088 PyObject *o = PyInt_FromLong((long) (*arg2));
14089 resultobj = t_output_helper(resultobj,o);
14090 }
14091 {
14092 PyObject *o = PyInt_FromLong((long) (*arg3));
14093 resultobj = t_output_helper(resultobj,o);
14094 }
14095 return resultobj;
14096 fail:
14097 return NULL;
14098 }
14099
14100
14101 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14102 PyObject *resultobj;
14103 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14104 wxSize result;
14105 PyObject * obj0 = 0 ;
14106 char *kwnames[] = {
14107 (char *) "self", NULL
14108 };
14109
14110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14112 {
14113 PyThreadState* __tstate = wxPyBeginAllowThreads();
14114 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
14115
14116 wxPyEndAllowThreads(__tstate);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
14119 {
14120 wxSize * resultptr;
14121 resultptr = new wxSize((wxSize &) result);
14122 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14123 }
14124 return resultobj;
14125 fail:
14126 return NULL;
14127 }
14128
14129
14130 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14131 PyObject *resultobj;
14132 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14133 wxSize result;
14134 PyObject * obj0 = 0 ;
14135 char *kwnames[] = {
14136 (char *) "self", NULL
14137 };
14138
14139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
14144
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) SWIG_fail;
14147 }
14148 {
14149 wxSize * resultptr;
14150 resultptr = new wxSize((wxSize &) result);
14151 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14152 }
14153 return resultobj;
14154 fail:
14155 return NULL;
14156 }
14157
14158
14159 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14160 PyObject *resultobj;
14161 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14162 PyObject * obj0 = 0 ;
14163 char *kwnames[] = {
14164 (char *) "self", NULL
14165 };
14166
14167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
14168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14169 {
14170 PyThreadState* __tstate = wxPyBeginAllowThreads();
14171 (arg1)->base_InitDialog();
14172
14173 wxPyEndAllowThreads(__tstate);
14174 if (PyErr_Occurred()) SWIG_fail;
14175 }
14176 Py_INCREF(Py_None); resultobj = Py_None;
14177 return resultobj;
14178 fail:
14179 return NULL;
14180 }
14181
14182
14183 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14184 PyObject *resultobj;
14185 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14186 bool result;
14187 PyObject * obj0 = 0 ;
14188 char *kwnames[] = {
14189 (char *) "self", NULL
14190 };
14191
14192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14194 {
14195 PyThreadState* __tstate = wxPyBeginAllowThreads();
14196 result = (bool)(arg1)->base_TransferDataToWindow();
14197
14198 wxPyEndAllowThreads(__tstate);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 }
14201 resultobj = PyInt_FromLong((long)result);
14202 return resultobj;
14203 fail:
14204 return NULL;
14205 }
14206
14207
14208 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14209 PyObject *resultobj;
14210 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14211 bool result;
14212 PyObject * obj0 = 0 ;
14213 char *kwnames[] = {
14214 (char *) "self", NULL
14215 };
14216
14217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 result = (bool)(arg1)->base_TransferDataFromWindow();
14222
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
14226 resultobj = PyInt_FromLong((long)result);
14227 return resultobj;
14228 fail:
14229 return NULL;
14230 }
14231
14232
14233 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14234 PyObject *resultobj;
14235 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14236 bool result;
14237 PyObject * obj0 = 0 ;
14238 char *kwnames[] = {
14239 (char *) "self", NULL
14240 };
14241
14242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
14243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14244 {
14245 PyThreadState* __tstate = wxPyBeginAllowThreads();
14246 result = (bool)(arg1)->base_Validate();
14247
14248 wxPyEndAllowThreads(__tstate);
14249 if (PyErr_Occurred()) SWIG_fail;
14250 }
14251 resultobj = PyInt_FromLong((long)result);
14252 return resultobj;
14253 fail:
14254 return NULL;
14255 }
14256
14257
14258 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14259 PyObject *resultobj;
14260 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14261 bool result;
14262 PyObject * obj0 = 0 ;
14263 char *kwnames[] = {
14264 (char *) "self", NULL
14265 };
14266
14267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14269 {
14270 PyThreadState* __tstate = wxPyBeginAllowThreads();
14271 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14272
14273 wxPyEndAllowThreads(__tstate);
14274 if (PyErr_Occurred()) SWIG_fail;
14275 }
14276 resultobj = PyInt_FromLong((long)result);
14277 return resultobj;
14278 fail:
14279 return NULL;
14280 }
14281
14282
14283 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj;
14285 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14286 bool result;
14287 PyObject * obj0 = 0 ;
14288 char *kwnames[] = {
14289 (char *) "self", NULL
14290 };
14291
14292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14297
14298 wxPyEndAllowThreads(__tstate);
14299 if (PyErr_Occurred()) SWIG_fail;
14300 }
14301 resultobj = PyInt_FromLong((long)result);
14302 return resultobj;
14303 fail:
14304 return NULL;
14305 }
14306
14307
14308 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14309 PyObject *resultobj;
14310 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14311 wxSize result;
14312 PyObject * obj0 = 0 ;
14313 char *kwnames[] = {
14314 (char *) "self", NULL
14315 };
14316
14317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14319 {
14320 PyThreadState* __tstate = wxPyBeginAllowThreads();
14321 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14322
14323 wxPyEndAllowThreads(__tstate);
14324 if (PyErr_Occurred()) SWIG_fail;
14325 }
14326 {
14327 wxSize * resultptr;
14328 resultptr = new wxSize((wxSize &) result);
14329 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14330 }
14331 return resultobj;
14332 fail:
14333 return NULL;
14334 }
14335
14336
14337 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14338 PyObject *resultobj;
14339 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14340 wxWindow *arg2 = (wxWindow *) 0 ;
14341 PyObject * obj0 = 0 ;
14342 PyObject * obj1 = 0 ;
14343 char *kwnames[] = {
14344 (char *) "self",(char *) "child", NULL
14345 };
14346
14347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14350 {
14351 PyThreadState* __tstate = wxPyBeginAllowThreads();
14352 (arg1)->base_AddChild(arg2);
14353
14354 wxPyEndAllowThreads(__tstate);
14355 if (PyErr_Occurred()) SWIG_fail;
14356 }
14357 Py_INCREF(Py_None); resultobj = Py_None;
14358 return resultobj;
14359 fail:
14360 return NULL;
14361 }
14362
14363
14364 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14365 PyObject *resultobj;
14366 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14367 wxWindow *arg2 = (wxWindow *) 0 ;
14368 PyObject * obj0 = 0 ;
14369 PyObject * obj1 = 0 ;
14370 char *kwnames[] = {
14371 (char *) "self",(char *) "child", NULL
14372 };
14373
14374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14377 {
14378 PyThreadState* __tstate = wxPyBeginAllowThreads();
14379 (arg1)->base_RemoveChild(arg2);
14380
14381 wxPyEndAllowThreads(__tstate);
14382 if (PyErr_Occurred()) SWIG_fail;
14383 }
14384 Py_INCREF(Py_None); resultobj = Py_None;
14385 return resultobj;
14386 fail:
14387 return NULL;
14388 }
14389
14390
14391 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14392 PyObject *obj;
14393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14394 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14395 Py_INCREF(obj);
14396 return Py_BuildValue((char *)"");
14397 }
14398 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14399 PyObject *resultobj;
14400 wxWindow *arg1 = (wxWindow *) 0 ;
14401 int arg2 ;
14402 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14403 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14404 wxSize const &arg4_defvalue = wxDefaultSize ;
14405 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14406 long arg5 = (long) 0 ;
14407 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14408 wxString *arg6 = (wxString *) &arg6_defvalue ;
14409 wxPyPanel *result;
14410 wxPoint temp3 ;
14411 wxSize temp4 ;
14412 bool temp6 = False ;
14413 PyObject * obj0 = 0 ;
14414 PyObject * obj2 = 0 ;
14415 PyObject * obj3 = 0 ;
14416 PyObject * obj5 = 0 ;
14417 char *kwnames[] = {
14418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14419 };
14420
14421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14423 if (obj2) {
14424 {
14425 arg3 = &temp3;
14426 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14427 }
14428 }
14429 if (obj3) {
14430 {
14431 arg4 = &temp4;
14432 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14433 }
14434 }
14435 if (obj5) {
14436 {
14437 arg6 = wxString_in_helper(obj5);
14438 if (arg6 == NULL) SWIG_fail;
14439 temp6 = True;
14440 }
14441 }
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14445
14446 wxPyEndAllowThreads(__tstate);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14450 {
14451 if (temp6)
14452 delete arg6;
14453 }
14454 return resultobj;
14455 fail:
14456 {
14457 if (temp6)
14458 delete arg6;
14459 }
14460 return NULL;
14461 }
14462
14463
14464 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14465 PyObject *resultobj;
14466 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14467 PyObject *arg2 = (PyObject *) 0 ;
14468 PyObject *arg3 = (PyObject *) 0 ;
14469 PyObject * obj0 = 0 ;
14470 PyObject * obj1 = 0 ;
14471 PyObject * obj2 = 0 ;
14472 char *kwnames[] = {
14473 (char *) "self",(char *) "self",(char *) "_class", NULL
14474 };
14475
14476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14478 arg2 = obj1;
14479 arg3 = obj2;
14480 {
14481 PyThreadState* __tstate = wxPyBeginAllowThreads();
14482 (arg1)->_setCallbackInfo(arg2,arg3);
14483
14484 wxPyEndAllowThreads(__tstate);
14485 if (PyErr_Occurred()) SWIG_fail;
14486 }
14487 Py_INCREF(Py_None); resultobj = Py_None;
14488 return resultobj;
14489 fail:
14490 return NULL;
14491 }
14492
14493
14494 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14495 PyObject *resultobj;
14496 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14497 int arg2 ;
14498 int arg3 ;
14499 int arg4 ;
14500 int arg5 ;
14501 PyObject * obj0 = 0 ;
14502 char *kwnames[] = {
14503 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14504 };
14505
14506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 Py_INCREF(Py_None); resultobj = Py_None;
14516 return resultobj;
14517 fail:
14518 return NULL;
14519 }
14520
14521
14522 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14525 int arg2 ;
14526 int arg3 ;
14527 int arg4 ;
14528 int arg5 ;
14529 int arg6 = (int) wxSIZE_AUTO ;
14530 PyObject * obj0 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14537 {
14538 PyThreadState* __tstate = wxPyBeginAllowThreads();
14539 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14540
14541 wxPyEndAllowThreads(__tstate);
14542 if (PyErr_Occurred()) SWIG_fail;
14543 }
14544 Py_INCREF(Py_None); resultobj = Py_None;
14545 return resultobj;
14546 fail:
14547 return NULL;
14548 }
14549
14550
14551 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14552 PyObject *resultobj;
14553 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14554 int arg2 ;
14555 int arg3 ;
14556 PyObject * obj0 = 0 ;
14557 char *kwnames[] = {
14558 (char *) "self",(char *) "width",(char *) "height", NULL
14559 };
14560
14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14563 {
14564 PyThreadState* __tstate = wxPyBeginAllowThreads();
14565 (arg1)->base_DoSetClientSize(arg2,arg3);
14566
14567 wxPyEndAllowThreads(__tstate);
14568 if (PyErr_Occurred()) SWIG_fail;
14569 }
14570 Py_INCREF(Py_None); resultobj = Py_None;
14571 return resultobj;
14572 fail:
14573 return NULL;
14574 }
14575
14576
14577 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14578 PyObject *resultobj;
14579 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14580 int arg2 ;
14581 int arg3 ;
14582 PyObject * obj0 = 0 ;
14583 char *kwnames[] = {
14584 (char *) "self",(char *) "x",(char *) "y", NULL
14585 };
14586
14587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14589 {
14590 PyThreadState* __tstate = wxPyBeginAllowThreads();
14591 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14592
14593 wxPyEndAllowThreads(__tstate);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
14596 Py_INCREF(Py_None); resultobj = Py_None;
14597 return resultobj;
14598 fail:
14599 return NULL;
14600 }
14601
14602
14603 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14604 PyObject *resultobj;
14605 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14606 int *arg2 = (int *) 0 ;
14607 int *arg3 = (int *) 0 ;
14608 int temp2 ;
14609 int temp3 ;
14610 PyObject * obj0 = 0 ;
14611 char *kwnames[] = {
14612 (char *) "self", NULL
14613 };
14614
14615 arg2 = &temp2;
14616 arg3 = &temp3;
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 Py_INCREF(Py_None); resultobj = Py_None;
14627 {
14628 PyObject *o = PyInt_FromLong((long) (*arg2));
14629 resultobj = t_output_helper(resultobj,o);
14630 }
14631 {
14632 PyObject *o = PyInt_FromLong((long) (*arg3));
14633 resultobj = t_output_helper(resultobj,o);
14634 }
14635 return resultobj;
14636 fail:
14637 return NULL;
14638 }
14639
14640
14641 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14642 PyObject *resultobj;
14643 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14644 int *arg2 = (int *) 0 ;
14645 int *arg3 = (int *) 0 ;
14646 int temp2 ;
14647 int temp3 ;
14648 PyObject * obj0 = 0 ;
14649 char *kwnames[] = {
14650 (char *) "self", NULL
14651 };
14652
14653 arg2 = &temp2;
14654 arg3 = &temp3;
14655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14660
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
14664 Py_INCREF(Py_None); resultobj = Py_None;
14665 {
14666 PyObject *o = PyInt_FromLong((long) (*arg2));
14667 resultobj = t_output_helper(resultobj,o);
14668 }
14669 {
14670 PyObject *o = PyInt_FromLong((long) (*arg3));
14671 resultobj = t_output_helper(resultobj,o);
14672 }
14673 return resultobj;
14674 fail:
14675 return NULL;
14676 }
14677
14678
14679 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14680 PyObject *resultobj;
14681 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14682 int *arg2 = (int *) 0 ;
14683 int *arg3 = (int *) 0 ;
14684 int temp2 ;
14685 int temp3 ;
14686 PyObject * obj0 = 0 ;
14687 char *kwnames[] = {
14688 (char *) "self", NULL
14689 };
14690
14691 arg2 = &temp2;
14692 arg3 = &temp3;
14693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14695 {
14696 PyThreadState* __tstate = wxPyBeginAllowThreads();
14697 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14698
14699 wxPyEndAllowThreads(__tstate);
14700 if (PyErr_Occurred()) SWIG_fail;
14701 }
14702 Py_INCREF(Py_None); resultobj = Py_None;
14703 {
14704 PyObject *o = PyInt_FromLong((long) (*arg2));
14705 resultobj = t_output_helper(resultobj,o);
14706 }
14707 {
14708 PyObject *o = PyInt_FromLong((long) (*arg3));
14709 resultobj = t_output_helper(resultobj,o);
14710 }
14711 return resultobj;
14712 fail:
14713 return NULL;
14714 }
14715
14716
14717 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14718 PyObject *resultobj;
14719 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14720 wxSize result;
14721 PyObject * obj0 = 0 ;
14722 char *kwnames[] = {
14723 (char *) "self", NULL
14724 };
14725
14726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14731
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 {
14736 wxSize * resultptr;
14737 resultptr = new wxSize((wxSize &) result);
14738 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14739 }
14740 return resultobj;
14741 fail:
14742 return NULL;
14743 }
14744
14745
14746 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14747 PyObject *resultobj;
14748 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14749 wxSize result;
14750 PyObject * obj0 = 0 ;
14751 char *kwnames[] = {
14752 (char *) "self", NULL
14753 };
14754
14755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14757 {
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14760
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 {
14765 wxSize * resultptr;
14766 resultptr = new wxSize((wxSize &) result);
14767 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14768 }
14769 return resultobj;
14770 fail:
14771 return NULL;
14772 }
14773
14774
14775 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14776 PyObject *resultobj;
14777 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14778 PyObject * obj0 = 0 ;
14779 char *kwnames[] = {
14780 (char *) "self", NULL
14781 };
14782
14783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14785 {
14786 PyThreadState* __tstate = wxPyBeginAllowThreads();
14787 (arg1)->base_InitDialog();
14788
14789 wxPyEndAllowThreads(__tstate);
14790 if (PyErr_Occurred()) SWIG_fail;
14791 }
14792 Py_INCREF(Py_None); resultobj = Py_None;
14793 return resultobj;
14794 fail:
14795 return NULL;
14796 }
14797
14798
14799 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14800 PyObject *resultobj;
14801 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14802 bool result;
14803 PyObject * obj0 = 0 ;
14804 char *kwnames[] = {
14805 (char *) "self", NULL
14806 };
14807
14808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14810 {
14811 PyThreadState* __tstate = wxPyBeginAllowThreads();
14812 result = (bool)(arg1)->base_TransferDataToWindow();
14813
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 resultobj = PyInt_FromLong((long)result);
14818 return resultobj;
14819 fail:
14820 return NULL;
14821 }
14822
14823
14824 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14825 PyObject *resultobj;
14826 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14827 bool result;
14828 PyObject * obj0 = 0 ;
14829 char *kwnames[] = {
14830 (char *) "self", NULL
14831 };
14832
14833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14835 {
14836 PyThreadState* __tstate = wxPyBeginAllowThreads();
14837 result = (bool)(arg1)->base_TransferDataFromWindow();
14838
14839 wxPyEndAllowThreads(__tstate);
14840 if (PyErr_Occurred()) SWIG_fail;
14841 }
14842 resultobj = PyInt_FromLong((long)result);
14843 return resultobj;
14844 fail:
14845 return NULL;
14846 }
14847
14848
14849 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14850 PyObject *resultobj;
14851 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14852 bool result;
14853 PyObject * obj0 = 0 ;
14854 char *kwnames[] = {
14855 (char *) "self", NULL
14856 };
14857
14858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14860 {
14861 PyThreadState* __tstate = wxPyBeginAllowThreads();
14862 result = (bool)(arg1)->base_Validate();
14863
14864 wxPyEndAllowThreads(__tstate);
14865 if (PyErr_Occurred()) SWIG_fail;
14866 }
14867 resultobj = PyInt_FromLong((long)result);
14868 return resultobj;
14869 fail:
14870 return NULL;
14871 }
14872
14873
14874 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14875 PyObject *resultobj;
14876 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14877 bool result;
14878 PyObject * obj0 = 0 ;
14879 char *kwnames[] = {
14880 (char *) "self", NULL
14881 };
14882
14883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14885 {
14886 PyThreadState* __tstate = wxPyBeginAllowThreads();
14887 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14888
14889 wxPyEndAllowThreads(__tstate);
14890 if (PyErr_Occurred()) SWIG_fail;
14891 }
14892 resultobj = PyInt_FromLong((long)result);
14893 return resultobj;
14894 fail:
14895 return NULL;
14896 }
14897
14898
14899 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14900 PyObject *resultobj;
14901 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14902 bool result;
14903 PyObject * obj0 = 0 ;
14904 char *kwnames[] = {
14905 (char *) "self", NULL
14906 };
14907
14908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14910 {
14911 PyThreadState* __tstate = wxPyBeginAllowThreads();
14912 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14913
14914 wxPyEndAllowThreads(__tstate);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 }
14917 resultobj = PyInt_FromLong((long)result);
14918 return resultobj;
14919 fail:
14920 return NULL;
14921 }
14922
14923
14924 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14925 PyObject *resultobj;
14926 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14927 wxSize result;
14928 PyObject * obj0 = 0 ;
14929 char *kwnames[] = {
14930 (char *) "self", NULL
14931 };
14932
14933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 {
14943 wxSize * resultptr;
14944 resultptr = new wxSize((wxSize &) result);
14945 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14946 }
14947 return resultobj;
14948 fail:
14949 return NULL;
14950 }
14951
14952
14953 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14954 PyObject *resultobj;
14955 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14956 wxWindow *arg2 = (wxWindow *) 0 ;
14957 PyObject * obj0 = 0 ;
14958 PyObject * obj1 = 0 ;
14959 char *kwnames[] = {
14960 (char *) "self",(char *) "child", NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14966 {
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 (arg1)->base_AddChild(arg2);
14969
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
14973 Py_INCREF(Py_None); resultobj = Py_None;
14974 return resultobj;
14975 fail:
14976 return NULL;
14977 }
14978
14979
14980 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14981 PyObject *resultobj;
14982 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14983 wxWindow *arg2 = (wxWindow *) 0 ;
14984 PyObject * obj0 = 0 ;
14985 PyObject * obj1 = 0 ;
14986 char *kwnames[] = {
14987 (char *) "self",(char *) "child", NULL
14988 };
14989
14990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14993 {
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 (arg1)->base_RemoveChild(arg2);
14996
14997 wxPyEndAllowThreads(__tstate);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 Py_INCREF(Py_None); resultobj = Py_None;
15001 return resultobj;
15002 fail:
15003 return NULL;
15004 }
15005
15006
15007 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
15008 PyObject *obj;
15009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15010 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
15011 Py_INCREF(obj);
15012 return Py_BuildValue((char *)"");
15013 }
15014 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
15015 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
15016 return 1;
15017 }
15018
15019
15020 static PyObject *_wrap_PrintoutTitleStr_get() {
15021 PyObject *pyobj;
15022
15023 {
15024 #if wxUSE_UNICODE
15025 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
15026 #else
15027 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
15028 #endif
15029 }
15030 return pyobj;
15031 }
15032
15033
15034 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
15035 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
15036 return 1;
15037 }
15038
15039
15040 static PyObject *_wrap_PreviewCanvasNameStr_get() {
15041 PyObject *pyobj;
15042
15043 {
15044 #if wxUSE_UNICODE
15045 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
15046 #else
15047 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
15048 #endif
15049 }
15050 return pyobj;
15051 }
15052
15053
15054 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15055 PyObject *resultobj;
15056 wxPrintData *result;
15057 char *kwnames[] = {
15058 NULL
15059 };
15060
15061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
15062 {
15063 PyThreadState* __tstate = wxPyBeginAllowThreads();
15064 result = (wxPrintData *)new wxPrintData();
15065
15066 wxPyEndAllowThreads(__tstate);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
15069 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
15070 return resultobj;
15071 fail:
15072 return NULL;
15073 }
15074
15075
15076 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15077 PyObject *resultobj;
15078 wxPrintData *arg1 = (wxPrintData *) 0 ;
15079 PyObject * obj0 = 0 ;
15080 char *kwnames[] = {
15081 (char *) "self", NULL
15082 };
15083
15084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
15085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15086 {
15087 PyThreadState* __tstate = wxPyBeginAllowThreads();
15088 delete arg1;
15089
15090 wxPyEndAllowThreads(__tstate);
15091 if (PyErr_Occurred()) SWIG_fail;
15092 }
15093 Py_INCREF(Py_None); resultobj = Py_None;
15094 return resultobj;
15095 fail:
15096 return NULL;
15097 }
15098
15099
15100 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15101 PyObject *resultobj;
15102 wxPrintData *arg1 = (wxPrintData *) 0 ;
15103 int result;
15104 PyObject * obj0 = 0 ;
15105 char *kwnames[] = {
15106 (char *) "self", NULL
15107 };
15108
15109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
15110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15111 {
15112 PyThreadState* __tstate = wxPyBeginAllowThreads();
15113 result = (int)(arg1)->GetNoCopies();
15114
15115 wxPyEndAllowThreads(__tstate);
15116 if (PyErr_Occurred()) SWIG_fail;
15117 }
15118 resultobj = PyInt_FromLong((long)result);
15119 return resultobj;
15120 fail:
15121 return NULL;
15122 }
15123
15124
15125 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15126 PyObject *resultobj;
15127 wxPrintData *arg1 = (wxPrintData *) 0 ;
15128 bool result;
15129 PyObject * obj0 = 0 ;
15130 char *kwnames[] = {
15131 (char *) "self", NULL
15132 };
15133
15134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15136 {
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 result = (bool)(arg1)->GetCollate();
15139
15140 wxPyEndAllowThreads(__tstate);
15141 if (PyErr_Occurred()) SWIG_fail;
15142 }
15143 resultobj = PyInt_FromLong((long)result);
15144 return resultobj;
15145 fail:
15146 return NULL;
15147 }
15148
15149
15150 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15151 PyObject *resultobj;
15152 wxPrintData *arg1 = (wxPrintData *) 0 ;
15153 int result;
15154 PyObject * obj0 = 0 ;
15155 char *kwnames[] = {
15156 (char *) "self", NULL
15157 };
15158
15159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15161 {
15162 PyThreadState* __tstate = wxPyBeginAllowThreads();
15163 result = (int)(arg1)->GetOrientation();
15164
15165 wxPyEndAllowThreads(__tstate);
15166 if (PyErr_Occurred()) SWIG_fail;
15167 }
15168 resultobj = PyInt_FromLong((long)result);
15169 return resultobj;
15170 fail:
15171 return NULL;
15172 }
15173
15174
15175 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
15176 PyObject *resultobj;
15177 wxPrintData *arg1 = (wxPrintData *) 0 ;
15178 bool result;
15179 PyObject * obj0 = 0 ;
15180 char *kwnames[] = {
15181 (char *) "self", NULL
15182 };
15183
15184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 result = (bool)(arg1)->Ok();
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 resultobj = PyInt_FromLong((long)result);
15194 return resultobj;
15195 fail:
15196 return NULL;
15197 }
15198
15199
15200 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15201 PyObject *resultobj;
15202 wxPrintData *arg1 = (wxPrintData *) 0 ;
15203 wxString *result;
15204 PyObject * obj0 = 0 ;
15205 char *kwnames[] = {
15206 (char *) "self", NULL
15207 };
15208
15209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15211 {
15212 PyThreadState* __tstate = wxPyBeginAllowThreads();
15213 {
15214 wxString const &_result_ref = (arg1)->GetPrinterName();
15215 result = (wxString *) &_result_ref;
15216 }
15217
15218 wxPyEndAllowThreads(__tstate);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 }
15221 {
15222 #if wxUSE_UNICODE
15223 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15224 #else
15225 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15226 #endif
15227 }
15228 return resultobj;
15229 fail:
15230 return NULL;
15231 }
15232
15233
15234 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15235 PyObject *resultobj;
15236 wxPrintData *arg1 = (wxPrintData *) 0 ;
15237 bool result;
15238 PyObject * obj0 = 0 ;
15239 char *kwnames[] = {
15240 (char *) "self", NULL
15241 };
15242
15243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15245 {
15246 PyThreadState* __tstate = wxPyBeginAllowThreads();
15247 result = (bool)(arg1)->GetColour();
15248
15249 wxPyEndAllowThreads(__tstate);
15250 if (PyErr_Occurred()) SWIG_fail;
15251 }
15252 resultobj = PyInt_FromLong((long)result);
15253 return resultobj;
15254 fail:
15255 return NULL;
15256 }
15257
15258
15259 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15260 PyObject *resultobj;
15261 wxPrintData *arg1 = (wxPrintData *) 0 ;
15262 int result;
15263 PyObject * obj0 = 0 ;
15264 char *kwnames[] = {
15265 (char *) "self", NULL
15266 };
15267
15268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15270 {
15271 PyThreadState* __tstate = wxPyBeginAllowThreads();
15272 result = (int)(arg1)->GetDuplex();
15273
15274 wxPyEndAllowThreads(__tstate);
15275 if (PyErr_Occurred()) SWIG_fail;
15276 }
15277 resultobj = PyInt_FromLong((long)result);
15278 return resultobj;
15279 fail:
15280 return NULL;
15281 }
15282
15283
15284 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15285 PyObject *resultobj;
15286 wxPrintData *arg1 = (wxPrintData *) 0 ;
15287 int result;
15288 PyObject * obj0 = 0 ;
15289 char *kwnames[] = {
15290 (char *) "self", NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15295 {
15296 PyThreadState* __tstate = wxPyBeginAllowThreads();
15297 result = (int)(arg1)->GetPaperId();
15298
15299 wxPyEndAllowThreads(__tstate);
15300 if (PyErr_Occurred()) SWIG_fail;
15301 }
15302 resultobj = PyInt_FromLong((long)result);
15303 return resultobj;
15304 fail:
15305 return NULL;
15306 }
15307
15308
15309 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15310 PyObject *resultobj;
15311 wxPrintData *arg1 = (wxPrintData *) 0 ;
15312 wxSize *result;
15313 PyObject * obj0 = 0 ;
15314 char *kwnames[] = {
15315 (char *) "self", NULL
15316 };
15317
15318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15320 {
15321 PyThreadState* __tstate = wxPyBeginAllowThreads();
15322 {
15323 wxSize const &_result_ref = (arg1)->GetPaperSize();
15324 result = (wxSize *) &_result_ref;
15325 }
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15331 return resultobj;
15332 fail:
15333 return NULL;
15334 }
15335
15336
15337 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15338 PyObject *resultobj;
15339 wxPrintData *arg1 = (wxPrintData *) 0 ;
15340 int result;
15341 PyObject * obj0 = 0 ;
15342 char *kwnames[] = {
15343 (char *) "self", NULL
15344 };
15345
15346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15348 {
15349 PyThreadState* __tstate = wxPyBeginAllowThreads();
15350 result = (int)(arg1)->GetQuality();
15351
15352 wxPyEndAllowThreads(__tstate);
15353 if (PyErr_Occurred()) SWIG_fail;
15354 }
15355 resultobj = PyInt_FromLong((long)result);
15356 return resultobj;
15357 fail:
15358 return NULL;
15359 }
15360
15361
15362 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15363 PyObject *resultobj;
15364 wxPrintData *arg1 = (wxPrintData *) 0 ;
15365 int arg2 ;
15366 PyObject * obj0 = 0 ;
15367 char *kwnames[] = {
15368 (char *) "self",(char *) "v", NULL
15369 };
15370
15371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15373 {
15374 PyThreadState* __tstate = wxPyBeginAllowThreads();
15375 (arg1)->SetNoCopies(arg2);
15376
15377 wxPyEndAllowThreads(__tstate);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 }
15380 Py_INCREF(Py_None); resultobj = Py_None;
15381 return resultobj;
15382 fail:
15383 return NULL;
15384 }
15385
15386
15387 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15388 PyObject *resultobj;
15389 wxPrintData *arg1 = (wxPrintData *) 0 ;
15390 bool arg2 ;
15391 PyObject * obj0 = 0 ;
15392 PyObject * obj1 = 0 ;
15393 char *kwnames[] = {
15394 (char *) "self",(char *) "flag", NULL
15395 };
15396
15397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15399 arg2 = PyInt_AsLong(obj1) ? true : false;
15400 if (PyErr_Occurred()) SWIG_fail;
15401 {
15402 PyThreadState* __tstate = wxPyBeginAllowThreads();
15403 (arg1)->SetCollate(arg2);
15404
15405 wxPyEndAllowThreads(__tstate);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 }
15408 Py_INCREF(Py_None); resultobj = Py_None;
15409 return resultobj;
15410 fail:
15411 return NULL;
15412 }
15413
15414
15415 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15416 PyObject *resultobj;
15417 wxPrintData *arg1 = (wxPrintData *) 0 ;
15418 int arg2 ;
15419 PyObject * obj0 = 0 ;
15420 char *kwnames[] = {
15421 (char *) "self",(char *) "orient", NULL
15422 };
15423
15424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15426 {
15427 PyThreadState* __tstate = wxPyBeginAllowThreads();
15428 (arg1)->SetOrientation(arg2);
15429
15430 wxPyEndAllowThreads(__tstate);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
15433 Py_INCREF(Py_None); resultobj = Py_None;
15434 return resultobj;
15435 fail:
15436 return NULL;
15437 }
15438
15439
15440 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15441 PyObject *resultobj;
15442 wxPrintData *arg1 = (wxPrintData *) 0 ;
15443 wxString *arg2 = 0 ;
15444 bool temp2 = False ;
15445 PyObject * obj0 = 0 ;
15446 PyObject * obj1 = 0 ;
15447 char *kwnames[] = {
15448 (char *) "self",(char *) "name", NULL
15449 };
15450
15451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15453 {
15454 arg2 = wxString_in_helper(obj1);
15455 if (arg2 == NULL) SWIG_fail;
15456 temp2 = True;
15457 }
15458 {
15459 PyThreadState* __tstate = wxPyBeginAllowThreads();
15460 (arg1)->SetPrinterName((wxString const &)*arg2);
15461
15462 wxPyEndAllowThreads(__tstate);
15463 if (PyErr_Occurred()) SWIG_fail;
15464 }
15465 Py_INCREF(Py_None); resultobj = Py_None;
15466 {
15467 if (temp2)
15468 delete arg2;
15469 }
15470 return resultobj;
15471 fail:
15472 {
15473 if (temp2)
15474 delete arg2;
15475 }
15476 return NULL;
15477 }
15478
15479
15480 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15481 PyObject *resultobj;
15482 wxPrintData *arg1 = (wxPrintData *) 0 ;
15483 bool arg2 ;
15484 PyObject * obj0 = 0 ;
15485 PyObject * obj1 = 0 ;
15486 char *kwnames[] = {
15487 (char *) "self",(char *) "colour", NULL
15488 };
15489
15490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15492 arg2 = PyInt_AsLong(obj1) ? true : false;
15493 if (PyErr_Occurred()) SWIG_fail;
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 (arg1)->SetColour(arg2);
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 Py_INCREF(Py_None); resultobj = Py_None;
15502 return resultobj;
15503 fail:
15504 return NULL;
15505 }
15506
15507
15508 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj;
15510 wxPrintData *arg1 = (wxPrintData *) 0 ;
15511 int arg2 ;
15512 PyObject * obj0 = 0 ;
15513 char *kwnames[] = {
15514 (char *) "self",(char *) "duplex", NULL
15515 };
15516
15517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 (arg1)->SetDuplex((wxDuplexMode )arg2);
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_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15534 PyObject *resultobj;
15535 wxPrintData *arg1 = (wxPrintData *) 0 ;
15536 int arg2 ;
15537 PyObject * obj0 = 0 ;
15538 char *kwnames[] = {
15539 (char *) "self",(char *) "sizeId", NULL
15540 };
15541
15542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15544 {
15545 PyThreadState* __tstate = wxPyBeginAllowThreads();
15546 (arg1)->SetPaperId((wxPaperSize )arg2);
15547
15548 wxPyEndAllowThreads(__tstate);
15549 if (PyErr_Occurred()) SWIG_fail;
15550 }
15551 Py_INCREF(Py_None); resultobj = Py_None;
15552 return resultobj;
15553 fail:
15554 return NULL;
15555 }
15556
15557
15558 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15559 PyObject *resultobj;
15560 wxPrintData *arg1 = (wxPrintData *) 0 ;
15561 wxSize *arg2 = 0 ;
15562 wxSize temp2 ;
15563 PyObject * obj0 = 0 ;
15564 PyObject * obj1 = 0 ;
15565 char *kwnames[] = {
15566 (char *) "self",(char *) "sz", NULL
15567 };
15568
15569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15571 {
15572 arg2 = &temp2;
15573 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15574 }
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
15577 (arg1)->SetPaperSize((wxSize const &)*arg2);
15578
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
15582 Py_INCREF(Py_None); resultobj = Py_None;
15583 return resultobj;
15584 fail:
15585 return NULL;
15586 }
15587
15588
15589 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15590 PyObject *resultobj;
15591 wxPrintData *arg1 = (wxPrintData *) 0 ;
15592 int arg2 ;
15593 PyObject * obj0 = 0 ;
15594 char *kwnames[] = {
15595 (char *) "self",(char *) "quality", NULL
15596 };
15597
15598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetQuality",kwnames,&obj0,&arg2)) goto fail;
15599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 (arg1)->SetQuality(arg2);
15603
15604 wxPyEndAllowThreads(__tstate);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 }
15607 Py_INCREF(Py_None); resultobj = Py_None;
15608 return resultobj;
15609 fail:
15610 return NULL;
15611 }
15612
15613
15614 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15615 PyObject *resultobj;
15616 wxPrintData *arg1 = (wxPrintData *) 0 ;
15617 wxString *result;
15618 PyObject * obj0 = 0 ;
15619 char *kwnames[] = {
15620 (char *) "self", NULL
15621 };
15622
15623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 {
15628 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15629 result = (wxString *) &_result_ref;
15630 }
15631
15632 wxPyEndAllowThreads(__tstate);
15633 if (PyErr_Occurred()) SWIG_fail;
15634 }
15635 {
15636 #if wxUSE_UNICODE
15637 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15638 #else
15639 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15640 #endif
15641 }
15642 return resultobj;
15643 fail:
15644 return NULL;
15645 }
15646
15647
15648 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15649 PyObject *resultobj;
15650 wxPrintData *arg1 = (wxPrintData *) 0 ;
15651 wxString *result;
15652 PyObject * obj0 = 0 ;
15653 char *kwnames[] = {
15654 (char *) "self", NULL
15655 };
15656
15657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15659 {
15660 PyThreadState* __tstate = wxPyBeginAllowThreads();
15661 {
15662 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15663 result = (wxString *) &_result_ref;
15664 }
15665
15666 wxPyEndAllowThreads(__tstate);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 }
15669 {
15670 #if wxUSE_UNICODE
15671 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15672 #else
15673 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15674 #endif
15675 }
15676 return resultobj;
15677 fail:
15678 return NULL;
15679 }
15680
15681
15682 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15683 PyObject *resultobj;
15684 wxPrintData *arg1 = (wxPrintData *) 0 ;
15685 wxString *result;
15686 PyObject * obj0 = 0 ;
15687 char *kwnames[] = {
15688 (char *) "self", NULL
15689 };
15690
15691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15693 {
15694 PyThreadState* __tstate = wxPyBeginAllowThreads();
15695 {
15696 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15697 result = (wxString *) &_result_ref;
15698 }
15699
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 {
15704 #if wxUSE_UNICODE
15705 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15706 #else
15707 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15708 #endif
15709 }
15710 return resultobj;
15711 fail:
15712 return NULL;
15713 }
15714
15715
15716 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15717 PyObject *resultobj;
15718 wxPrintData *arg1 = (wxPrintData *) 0 ;
15719 wxString *result;
15720 PyObject * obj0 = 0 ;
15721 char *kwnames[] = {
15722 (char *) "self", NULL
15723 };
15724
15725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 {
15730 wxString const &_result_ref = (arg1)->GetFilename();
15731 result = (wxString *) &_result_ref;
15732 }
15733
15734 wxPyEndAllowThreads(__tstate);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 }
15737 {
15738 #if wxUSE_UNICODE
15739 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15740 #else
15741 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15742 #endif
15743 }
15744 return resultobj;
15745 fail:
15746 return NULL;
15747 }
15748
15749
15750 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15751 PyObject *resultobj;
15752 wxPrintData *arg1 = (wxPrintData *) 0 ;
15753 wxString *result;
15754 PyObject * obj0 = 0 ;
15755 char *kwnames[] = {
15756 (char *) "self", NULL
15757 };
15758
15759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15761 {
15762 PyThreadState* __tstate = wxPyBeginAllowThreads();
15763 {
15764 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15765 result = (wxString *) &_result_ref;
15766 }
15767
15768 wxPyEndAllowThreads(__tstate);
15769 if (PyErr_Occurred()) SWIG_fail;
15770 }
15771 {
15772 #if wxUSE_UNICODE
15773 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15774 #else
15775 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15776 #endif
15777 }
15778 return resultobj;
15779 fail:
15780 return NULL;
15781 }
15782
15783
15784 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15785 PyObject *resultobj;
15786 wxPrintData *arg1 = (wxPrintData *) 0 ;
15787 double result;
15788 PyObject * obj0 = 0 ;
15789 char *kwnames[] = {
15790 (char *) "self", NULL
15791 };
15792
15793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15795 {
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
15797 result = (double)(arg1)->GetPrinterScaleX();
15798
15799 wxPyEndAllowThreads(__tstate);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 }
15802 resultobj = PyFloat_FromDouble(result);
15803 return resultobj;
15804 fail:
15805 return NULL;
15806 }
15807
15808
15809 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15810 PyObject *resultobj;
15811 wxPrintData *arg1 = (wxPrintData *) 0 ;
15812 double result;
15813 PyObject * obj0 = 0 ;
15814 char *kwnames[] = {
15815 (char *) "self", NULL
15816 };
15817
15818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15820 {
15821 PyThreadState* __tstate = wxPyBeginAllowThreads();
15822 result = (double)(arg1)->GetPrinterScaleY();
15823
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 resultobj = PyFloat_FromDouble(result);
15828 return resultobj;
15829 fail:
15830 return NULL;
15831 }
15832
15833
15834 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15835 PyObject *resultobj;
15836 wxPrintData *arg1 = (wxPrintData *) 0 ;
15837 long result;
15838 PyObject * obj0 = 0 ;
15839 char *kwnames[] = {
15840 (char *) "self", NULL
15841 };
15842
15843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15845 {
15846 PyThreadState* __tstate = wxPyBeginAllowThreads();
15847 result = (long)(arg1)->GetPrinterTranslateX();
15848
15849 wxPyEndAllowThreads(__tstate);
15850 if (PyErr_Occurred()) SWIG_fail;
15851 }
15852 resultobj = PyInt_FromLong((long)result);
15853 return resultobj;
15854 fail:
15855 return NULL;
15856 }
15857
15858
15859 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15860 PyObject *resultobj;
15861 wxPrintData *arg1 = (wxPrintData *) 0 ;
15862 long result;
15863 PyObject * obj0 = 0 ;
15864 char *kwnames[] = {
15865 (char *) "self", NULL
15866 };
15867
15868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15870 {
15871 PyThreadState* __tstate = wxPyBeginAllowThreads();
15872 result = (long)(arg1)->GetPrinterTranslateY();
15873
15874 wxPyEndAllowThreads(__tstate);
15875 if (PyErr_Occurred()) SWIG_fail;
15876 }
15877 resultobj = PyInt_FromLong((long)result);
15878 return resultobj;
15879 fail:
15880 return NULL;
15881 }
15882
15883
15884 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15885 PyObject *resultobj;
15886 wxPrintData *arg1 = (wxPrintData *) 0 ;
15887 int result;
15888 PyObject * obj0 = 0 ;
15889 char *kwnames[] = {
15890 (char *) "self", NULL
15891 };
15892
15893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 result = (int)(arg1)->GetPrintMode();
15898
15899 wxPyEndAllowThreads(__tstate);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 resultobj = PyInt_FromLong((long)result);
15903 return resultobj;
15904 fail:
15905 return NULL;
15906 }
15907
15908
15909 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15910 PyObject *resultobj;
15911 wxPrintData *arg1 = (wxPrintData *) 0 ;
15912 wxString *arg2 = 0 ;
15913 bool temp2 = False ;
15914 PyObject * obj0 = 0 ;
15915 PyObject * obj1 = 0 ;
15916 char *kwnames[] = {
15917 (char *) "self",(char *) "command", NULL
15918 };
15919
15920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15922 {
15923 arg2 = wxString_in_helper(obj1);
15924 if (arg2 == NULL) SWIG_fail;
15925 temp2 = True;
15926 }
15927 {
15928 PyThreadState* __tstate = wxPyBeginAllowThreads();
15929 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15930
15931 wxPyEndAllowThreads(__tstate);
15932 if (PyErr_Occurred()) SWIG_fail;
15933 }
15934 Py_INCREF(Py_None); resultobj = Py_None;
15935 {
15936 if (temp2)
15937 delete arg2;
15938 }
15939 return resultobj;
15940 fail:
15941 {
15942 if (temp2)
15943 delete arg2;
15944 }
15945 return NULL;
15946 }
15947
15948
15949 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15950 PyObject *resultobj;
15951 wxPrintData *arg1 = (wxPrintData *) 0 ;
15952 wxString *arg2 = 0 ;
15953 bool temp2 = False ;
15954 PyObject * obj0 = 0 ;
15955 PyObject * obj1 = 0 ;
15956 char *kwnames[] = {
15957 (char *) "self",(char *) "options", NULL
15958 };
15959
15960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15962 {
15963 arg2 = wxString_in_helper(obj1);
15964 if (arg2 == NULL) SWIG_fail;
15965 temp2 = True;
15966 }
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15970
15971 wxPyEndAllowThreads(__tstate);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 }
15974 Py_INCREF(Py_None); resultobj = Py_None;
15975 {
15976 if (temp2)
15977 delete arg2;
15978 }
15979 return resultobj;
15980 fail:
15981 {
15982 if (temp2)
15983 delete arg2;
15984 }
15985 return NULL;
15986 }
15987
15988
15989 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15990 PyObject *resultobj;
15991 wxPrintData *arg1 = (wxPrintData *) 0 ;
15992 wxString *arg2 = 0 ;
15993 bool temp2 = False ;
15994 PyObject * obj0 = 0 ;
15995 PyObject * obj1 = 0 ;
15996 char *kwnames[] = {
15997 (char *) "self",(char *) "command", NULL
15998 };
15999
16000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
16001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16002 {
16003 arg2 = wxString_in_helper(obj1);
16004 if (arg2 == NULL) SWIG_fail;
16005 temp2 = True;
16006 }
16007 {
16008 PyThreadState* __tstate = wxPyBeginAllowThreads();
16009 (arg1)->SetPreviewCommand((wxString const &)*arg2);
16010
16011 wxPyEndAllowThreads(__tstate);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 }
16014 Py_INCREF(Py_None); resultobj = Py_None;
16015 {
16016 if (temp2)
16017 delete arg2;
16018 }
16019 return resultobj;
16020 fail:
16021 {
16022 if (temp2)
16023 delete arg2;
16024 }
16025 return NULL;
16026 }
16027
16028
16029 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
16030 PyObject *resultobj;
16031 wxPrintData *arg1 = (wxPrintData *) 0 ;
16032 wxString *arg2 = 0 ;
16033 bool temp2 = False ;
16034 PyObject * obj0 = 0 ;
16035 PyObject * obj1 = 0 ;
16036 char *kwnames[] = {
16037 (char *) "self",(char *) "filename", NULL
16038 };
16039
16040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
16041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16042 {
16043 arg2 = wxString_in_helper(obj1);
16044 if (arg2 == NULL) SWIG_fail;
16045 temp2 = True;
16046 }
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 (arg1)->SetFilename((wxString const &)*arg2);
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 Py_INCREF(Py_None); resultobj = Py_None;
16055 {
16056 if (temp2)
16057 delete arg2;
16058 }
16059 return resultobj;
16060 fail:
16061 {
16062 if (temp2)
16063 delete arg2;
16064 }
16065 return NULL;
16066 }
16067
16068
16069 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
16070 PyObject *resultobj;
16071 wxPrintData *arg1 = (wxPrintData *) 0 ;
16072 wxString *arg2 = 0 ;
16073 bool temp2 = False ;
16074 PyObject * obj0 = 0 ;
16075 PyObject * obj1 = 0 ;
16076 char *kwnames[] = {
16077 (char *) "self",(char *) "path", NULL
16078 };
16079
16080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
16081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16082 {
16083 arg2 = wxString_in_helper(obj1);
16084 if (arg2 == NULL) SWIG_fail;
16085 temp2 = True;
16086 }
16087 {
16088 PyThreadState* __tstate = wxPyBeginAllowThreads();
16089 (arg1)->SetFontMetricPath((wxString const &)*arg2);
16090
16091 wxPyEndAllowThreads(__tstate);
16092 if (PyErr_Occurred()) SWIG_fail;
16093 }
16094 Py_INCREF(Py_None); resultobj = Py_None;
16095 {
16096 if (temp2)
16097 delete arg2;
16098 }
16099 return resultobj;
16100 fail:
16101 {
16102 if (temp2)
16103 delete arg2;
16104 }
16105 return NULL;
16106 }
16107
16108
16109 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
16110 PyObject *resultobj;
16111 wxPrintData *arg1 = (wxPrintData *) 0 ;
16112 double arg2 ;
16113 PyObject * obj0 = 0 ;
16114 char *kwnames[] = {
16115 (char *) "self",(char *) "x", NULL
16116 };
16117
16118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
16119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16120 {
16121 PyThreadState* __tstate = wxPyBeginAllowThreads();
16122 (arg1)->SetPrinterScaleX(arg2);
16123
16124 wxPyEndAllowThreads(__tstate);
16125 if (PyErr_Occurred()) SWIG_fail;
16126 }
16127 Py_INCREF(Py_None); resultobj = Py_None;
16128 return resultobj;
16129 fail:
16130 return NULL;
16131 }
16132
16133
16134 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16135 PyObject *resultobj;
16136 wxPrintData *arg1 = (wxPrintData *) 0 ;
16137 double arg2 ;
16138 PyObject * obj0 = 0 ;
16139 char *kwnames[] = {
16140 (char *) "self",(char *) "y", NULL
16141 };
16142
16143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
16144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16145 {
16146 PyThreadState* __tstate = wxPyBeginAllowThreads();
16147 (arg1)->SetPrinterScaleY(arg2);
16148
16149 wxPyEndAllowThreads(__tstate);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 }
16152 Py_INCREF(Py_None); resultobj = Py_None;
16153 return resultobj;
16154 fail:
16155 return NULL;
16156 }
16157
16158
16159 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
16160 PyObject *resultobj;
16161 wxPrintData *arg1 = (wxPrintData *) 0 ;
16162 double arg2 ;
16163 double arg3 ;
16164 PyObject * obj0 = 0 ;
16165 char *kwnames[] = {
16166 (char *) "self",(char *) "x",(char *) "y", NULL
16167 };
16168
16169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
16170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16171 {
16172 PyThreadState* __tstate = wxPyBeginAllowThreads();
16173 (arg1)->SetPrinterScaling(arg2,arg3);
16174
16175 wxPyEndAllowThreads(__tstate);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 }
16178 Py_INCREF(Py_None); resultobj = Py_None;
16179 return resultobj;
16180 fail:
16181 return NULL;
16182 }
16183
16184
16185 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16186 PyObject *resultobj;
16187 wxPrintData *arg1 = (wxPrintData *) 0 ;
16188 long arg2 ;
16189 PyObject * obj0 = 0 ;
16190 char *kwnames[] = {
16191 (char *) "self",(char *) "x", NULL
16192 };
16193
16194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
16195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16196 {
16197 PyThreadState* __tstate = wxPyBeginAllowThreads();
16198 (arg1)->SetPrinterTranslateX(arg2);
16199
16200 wxPyEndAllowThreads(__tstate);
16201 if (PyErr_Occurred()) SWIG_fail;
16202 }
16203 Py_INCREF(Py_None); resultobj = Py_None;
16204 return resultobj;
16205 fail:
16206 return NULL;
16207 }
16208
16209
16210 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16211 PyObject *resultobj;
16212 wxPrintData *arg1 = (wxPrintData *) 0 ;
16213 long arg2 ;
16214 PyObject * obj0 = 0 ;
16215 char *kwnames[] = {
16216 (char *) "self",(char *) "y", NULL
16217 };
16218
16219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
16220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 (arg1)->SetPrinterTranslateY(arg2);
16224
16225 wxPyEndAllowThreads(__tstate);
16226 if (PyErr_Occurred()) SWIG_fail;
16227 }
16228 Py_INCREF(Py_None); resultobj = Py_None;
16229 return resultobj;
16230 fail:
16231 return NULL;
16232 }
16233
16234
16235 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
16236 PyObject *resultobj;
16237 wxPrintData *arg1 = (wxPrintData *) 0 ;
16238 long arg2 ;
16239 long arg3 ;
16240 PyObject * obj0 = 0 ;
16241 char *kwnames[] = {
16242 (char *) "self",(char *) "x",(char *) "y", NULL
16243 };
16244
16245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) 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 (arg1)->SetPrinterTranslation(arg2,arg3);
16250
16251 wxPyEndAllowThreads(__tstate);
16252 if (PyErr_Occurred()) SWIG_fail;
16253 }
16254 Py_INCREF(Py_None); resultobj = Py_None;
16255 return resultobj;
16256 fail:
16257 return NULL;
16258 }
16259
16260
16261 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16262 PyObject *resultobj;
16263 wxPrintData *arg1 = (wxPrintData *) 0 ;
16264 int arg2 ;
16265 PyObject * obj0 = 0 ;
16266 char *kwnames[] = {
16267 (char *) "self",(char *) "printMode", NULL
16268 };
16269
16270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) 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 (arg1)->SetPrintMode((wxPrintMode )arg2);
16275
16276 wxPyEndAllowThreads(__tstate);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 }
16279 Py_INCREF(Py_None); resultobj = Py_None;
16280 return resultobj;
16281 fail:
16282 return NULL;
16283 }
16284
16285
16286 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
16287 PyObject *obj;
16288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16289 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
16290 Py_INCREF(obj);
16291 return Py_BuildValue((char *)"");
16292 }
16293 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16294 PyObject *resultobj;
16295 wxPageSetupDialogData *result;
16296 char *kwnames[] = {
16297 NULL
16298 };
16299
16300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16301 {
16302 PyThreadState* __tstate = wxPyBeginAllowThreads();
16303 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16304
16305 wxPyEndAllowThreads(__tstate);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16309 return resultobj;
16310 fail:
16311 return NULL;
16312 }
16313
16314
16315 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16316 PyObject *resultobj;
16317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16318 PyObject * obj0 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "self", NULL
16321 };
16322
16323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16325 {
16326 PyThreadState* __tstate = wxPyBeginAllowThreads();
16327 delete arg1;
16328
16329 wxPyEndAllowThreads(__tstate);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 }
16332 Py_INCREF(Py_None); resultobj = Py_None;
16333 return resultobj;
16334 fail:
16335 return NULL;
16336 }
16337
16338
16339 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16340 PyObject *resultobj;
16341 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16342 bool arg2 ;
16343 PyObject * obj0 = 0 ;
16344 PyObject * obj1 = 0 ;
16345 char *kwnames[] = {
16346 (char *) "self",(char *) "flag", NULL
16347 };
16348
16349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16351 arg2 = PyInt_AsLong(obj1) ? true : false;
16352 if (PyErr_Occurred()) SWIG_fail;
16353 {
16354 PyThreadState* __tstate = wxPyBeginAllowThreads();
16355 (arg1)->EnableHelp(arg2);
16356
16357 wxPyEndAllowThreads(__tstate);
16358 if (PyErr_Occurred()) SWIG_fail;
16359 }
16360 Py_INCREF(Py_None); resultobj = Py_None;
16361 return resultobj;
16362 fail:
16363 return NULL;
16364 }
16365
16366
16367 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16368 PyObject *resultobj;
16369 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16370 bool arg2 ;
16371 PyObject * obj0 = 0 ;
16372 PyObject * obj1 = 0 ;
16373 char *kwnames[] = {
16374 (char *) "self",(char *) "flag", NULL
16375 };
16376
16377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16379 arg2 = PyInt_AsLong(obj1) ? true : false;
16380 if (PyErr_Occurred()) SWIG_fail;
16381 {
16382 PyThreadState* __tstate = wxPyBeginAllowThreads();
16383 (arg1)->EnableMargins(arg2);
16384
16385 wxPyEndAllowThreads(__tstate);
16386 if (PyErr_Occurred()) SWIG_fail;
16387 }
16388 Py_INCREF(Py_None); resultobj = Py_None;
16389 return resultobj;
16390 fail:
16391 return NULL;
16392 }
16393
16394
16395 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16396 PyObject *resultobj;
16397 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16398 bool arg2 ;
16399 PyObject * obj0 = 0 ;
16400 PyObject * obj1 = 0 ;
16401 char *kwnames[] = {
16402 (char *) "self",(char *) "flag", NULL
16403 };
16404
16405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16407 arg2 = PyInt_AsLong(obj1) ? true : false;
16408 if (PyErr_Occurred()) SWIG_fail;
16409 {
16410 PyThreadState* __tstate = wxPyBeginAllowThreads();
16411 (arg1)->EnableOrientation(arg2);
16412
16413 wxPyEndAllowThreads(__tstate);
16414 if (PyErr_Occurred()) SWIG_fail;
16415 }
16416 Py_INCREF(Py_None); resultobj = Py_None;
16417 return resultobj;
16418 fail:
16419 return NULL;
16420 }
16421
16422
16423 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16424 PyObject *resultobj;
16425 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16426 bool arg2 ;
16427 PyObject * obj0 = 0 ;
16428 PyObject * obj1 = 0 ;
16429 char *kwnames[] = {
16430 (char *) "self",(char *) "flag", NULL
16431 };
16432
16433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16435 arg2 = PyInt_AsLong(obj1) ? true : false;
16436 if (PyErr_Occurred()) SWIG_fail;
16437 {
16438 PyThreadState* __tstate = wxPyBeginAllowThreads();
16439 (arg1)->EnablePaper(arg2);
16440
16441 wxPyEndAllowThreads(__tstate);
16442 if (PyErr_Occurred()) SWIG_fail;
16443 }
16444 Py_INCREF(Py_None); resultobj = Py_None;
16445 return resultobj;
16446 fail:
16447 return NULL;
16448 }
16449
16450
16451 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj;
16453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16454 bool arg2 ;
16455 PyObject * obj0 = 0 ;
16456 PyObject * obj1 = 0 ;
16457 char *kwnames[] = {
16458 (char *) "self",(char *) "flag", NULL
16459 };
16460
16461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16463 arg2 = PyInt_AsLong(obj1) ? true : false;
16464 if (PyErr_Occurred()) SWIG_fail;
16465 {
16466 PyThreadState* __tstate = wxPyBeginAllowThreads();
16467 (arg1)->EnablePrinter(arg2);
16468
16469 wxPyEndAllowThreads(__tstate);
16470 if (PyErr_Occurred()) SWIG_fail;
16471 }
16472 Py_INCREF(Py_None); resultobj = Py_None;
16473 return resultobj;
16474 fail:
16475 return NULL;
16476 }
16477
16478
16479 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16480 PyObject *resultobj;
16481 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16482 bool result;
16483 PyObject * obj0 = 0 ;
16484 char *kwnames[] = {
16485 (char *) "self", NULL
16486 };
16487
16488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16490 {
16491 PyThreadState* __tstate = wxPyBeginAllowThreads();
16492 result = (bool)(arg1)->GetDefaultMinMargins();
16493
16494 wxPyEndAllowThreads(__tstate);
16495 if (PyErr_Occurred()) SWIG_fail;
16496 }
16497 resultobj = PyInt_FromLong((long)result);
16498 return resultobj;
16499 fail:
16500 return NULL;
16501 }
16502
16503
16504 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16505 PyObject *resultobj;
16506 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16507 bool result;
16508 PyObject * obj0 = 0 ;
16509 char *kwnames[] = {
16510 (char *) "self", NULL
16511 };
16512
16513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 result = (bool)(arg1)->GetEnableMargins();
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 resultobj = PyInt_FromLong((long)result);
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16530 PyObject *resultobj;
16531 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16532 bool result;
16533 PyObject * obj0 = 0 ;
16534 char *kwnames[] = {
16535 (char *) "self", NULL
16536 };
16537
16538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16540 {
16541 PyThreadState* __tstate = wxPyBeginAllowThreads();
16542 result = (bool)(arg1)->GetEnableOrientation();
16543
16544 wxPyEndAllowThreads(__tstate);
16545 if (PyErr_Occurred()) SWIG_fail;
16546 }
16547 resultobj = PyInt_FromLong((long)result);
16548 return resultobj;
16549 fail:
16550 return NULL;
16551 }
16552
16553
16554 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16555 PyObject *resultobj;
16556 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16557 bool result;
16558 PyObject * obj0 = 0 ;
16559 char *kwnames[] = {
16560 (char *) "self", NULL
16561 };
16562
16563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
16567 result = (bool)(arg1)->GetEnablePaper();
16568
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
16572 resultobj = PyInt_FromLong((long)result);
16573 return resultobj;
16574 fail:
16575 return NULL;
16576 }
16577
16578
16579 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16580 PyObject *resultobj;
16581 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16582 bool result;
16583 PyObject * obj0 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self", NULL
16586 };
16587
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16590 {
16591 PyThreadState* __tstate = wxPyBeginAllowThreads();
16592 result = (bool)(arg1)->GetEnablePrinter();
16593
16594 wxPyEndAllowThreads(__tstate);
16595 if (PyErr_Occurred()) SWIG_fail;
16596 }
16597 resultobj = PyInt_FromLong((long)result);
16598 return resultobj;
16599 fail:
16600 return NULL;
16601 }
16602
16603
16604 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16605 PyObject *resultobj;
16606 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16607 bool result;
16608 PyObject * obj0 = 0 ;
16609 char *kwnames[] = {
16610 (char *) "self", NULL
16611 };
16612
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16615 {
16616 PyThreadState* __tstate = wxPyBeginAllowThreads();
16617 result = (bool)(arg1)->GetEnableHelp();
16618
16619 wxPyEndAllowThreads(__tstate);
16620 if (PyErr_Occurred()) SWIG_fail;
16621 }
16622 resultobj = PyInt_FromLong((long)result);
16623 return resultobj;
16624 fail:
16625 return NULL;
16626 }
16627
16628
16629 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16630 PyObject *resultobj;
16631 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16632 bool result;
16633 PyObject * obj0 = 0 ;
16634 char *kwnames[] = {
16635 (char *) "self", NULL
16636 };
16637
16638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16640 {
16641 PyThreadState* __tstate = wxPyBeginAllowThreads();
16642 result = (bool)(arg1)->GetDefaultInfo();
16643
16644 wxPyEndAllowThreads(__tstate);
16645 if (PyErr_Occurred()) SWIG_fail;
16646 }
16647 resultobj = PyInt_FromLong((long)result);
16648 return resultobj;
16649 fail:
16650 return NULL;
16651 }
16652
16653
16654 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16655 PyObject *resultobj;
16656 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16657 wxPoint result;
16658 PyObject * obj0 = 0 ;
16659 char *kwnames[] = {
16660 (char *) "self", NULL
16661 };
16662
16663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 result = (arg1)->GetMarginTopLeft();
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 {
16673 wxPoint * resultptr;
16674 resultptr = new wxPoint((wxPoint &) result);
16675 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16676 }
16677 return resultobj;
16678 fail:
16679 return NULL;
16680 }
16681
16682
16683 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16684 PyObject *resultobj;
16685 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16686 wxPoint result;
16687 PyObject * obj0 = 0 ;
16688 char *kwnames[] = {
16689 (char *) "self", NULL
16690 };
16691
16692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16694 {
16695 PyThreadState* __tstate = wxPyBeginAllowThreads();
16696 result = (arg1)->GetMarginBottomRight();
16697
16698 wxPyEndAllowThreads(__tstate);
16699 if (PyErr_Occurred()) SWIG_fail;
16700 }
16701 {
16702 wxPoint * resultptr;
16703 resultptr = new wxPoint((wxPoint &) result);
16704 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16705 }
16706 return resultobj;
16707 fail:
16708 return NULL;
16709 }
16710
16711
16712 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16713 PyObject *resultobj;
16714 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16715 wxPoint result;
16716 PyObject * obj0 = 0 ;
16717 char *kwnames[] = {
16718 (char *) "self", NULL
16719 };
16720
16721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16723 {
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 result = (arg1)->GetMinMarginTopLeft();
16726
16727 wxPyEndAllowThreads(__tstate);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
16730 {
16731 wxPoint * resultptr;
16732 resultptr = new wxPoint((wxPoint &) result);
16733 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16734 }
16735 return resultobj;
16736 fail:
16737 return NULL;
16738 }
16739
16740
16741 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16742 PyObject *resultobj;
16743 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16744 wxPoint result;
16745 PyObject * obj0 = 0 ;
16746 char *kwnames[] = {
16747 (char *) "self", NULL
16748 };
16749
16750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16752 {
16753 PyThreadState* __tstate = wxPyBeginAllowThreads();
16754 result = (arg1)->GetMinMarginBottomRight();
16755
16756 wxPyEndAllowThreads(__tstate);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 }
16759 {
16760 wxPoint * resultptr;
16761 resultptr = new wxPoint((wxPoint &) result);
16762 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16763 }
16764 return resultobj;
16765 fail:
16766 return NULL;
16767 }
16768
16769
16770 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16771 PyObject *resultobj;
16772 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16773 int result;
16774 PyObject * obj0 = 0 ;
16775 char *kwnames[] = {
16776 (char *) "self", NULL
16777 };
16778
16779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16781 {
16782 PyThreadState* __tstate = wxPyBeginAllowThreads();
16783 result = (int)(arg1)->GetPaperId();
16784
16785 wxPyEndAllowThreads(__tstate);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
16788 resultobj = PyInt_FromLong((long)result);
16789 return resultobj;
16790 fail:
16791 return NULL;
16792 }
16793
16794
16795 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16796 PyObject *resultobj;
16797 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16798 wxSize result;
16799 PyObject * obj0 = 0 ;
16800 char *kwnames[] = {
16801 (char *) "self", NULL
16802 };
16803
16804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 result = (arg1)->GetPaperSize();
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 {
16814 wxSize * resultptr;
16815 resultptr = new wxSize((wxSize &) result);
16816 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16817 }
16818 return resultobj;
16819 fail:
16820 return NULL;
16821 }
16822
16823
16824 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16825 PyObject *resultobj;
16826 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16827 wxPrintData *result;
16828 PyObject * obj0 = 0 ;
16829 char *kwnames[] = {
16830 (char *) "self", NULL
16831 };
16832
16833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16835 {
16836 PyThreadState* __tstate = wxPyBeginAllowThreads();
16837 {
16838 wxPrintData &_result_ref = (arg1)->GetPrintData();
16839 result = (wxPrintData *) &_result_ref;
16840 }
16841
16842 wxPyEndAllowThreads(__tstate);
16843 if (PyErr_Occurred()) SWIG_fail;
16844 }
16845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16846 return resultobj;
16847 fail:
16848 return NULL;
16849 }
16850
16851
16852 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16853 PyObject *resultobj;
16854 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16855 bool result;
16856 PyObject * obj0 = 0 ;
16857 char *kwnames[] = {
16858 (char *) "self", NULL
16859 };
16860
16861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16863 {
16864 PyThreadState* __tstate = wxPyBeginAllowThreads();
16865 result = (bool)(arg1)->Ok();
16866
16867 wxPyEndAllowThreads(__tstate);
16868 if (PyErr_Occurred()) SWIG_fail;
16869 }
16870 resultobj = PyInt_FromLong((long)result);
16871 return resultobj;
16872 fail:
16873 return NULL;
16874 }
16875
16876
16877 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16878 PyObject *resultobj;
16879 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16880 bool arg2 ;
16881 PyObject * obj0 = 0 ;
16882 PyObject * obj1 = 0 ;
16883 char *kwnames[] = {
16884 (char *) "self",(char *) "flag", NULL
16885 };
16886
16887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16889 arg2 = PyInt_AsLong(obj1) ? true : false;
16890 if (PyErr_Occurred()) SWIG_fail;
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 (arg1)->SetDefaultInfo(arg2);
16894
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 Py_INCREF(Py_None); resultobj = Py_None;
16899 return resultobj;
16900 fail:
16901 return NULL;
16902 }
16903
16904
16905 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16906 PyObject *resultobj;
16907 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16908 bool arg2 ;
16909 PyObject * obj0 = 0 ;
16910 PyObject * obj1 = 0 ;
16911 char *kwnames[] = {
16912 (char *) "self",(char *) "flag", NULL
16913 };
16914
16915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16917 arg2 = PyInt_AsLong(obj1) ? true : false;
16918 if (PyErr_Occurred()) SWIG_fail;
16919 {
16920 PyThreadState* __tstate = wxPyBeginAllowThreads();
16921 (arg1)->SetDefaultMinMargins(arg2);
16922
16923 wxPyEndAllowThreads(__tstate);
16924 if (PyErr_Occurred()) SWIG_fail;
16925 }
16926 Py_INCREF(Py_None); resultobj = Py_None;
16927 return resultobj;
16928 fail:
16929 return NULL;
16930 }
16931
16932
16933 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16934 PyObject *resultobj;
16935 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16936 wxPoint *arg2 = 0 ;
16937 wxPoint temp2 ;
16938 PyObject * obj0 = 0 ;
16939 PyObject * obj1 = 0 ;
16940 char *kwnames[] = {
16941 (char *) "self",(char *) "pt", NULL
16942 };
16943
16944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16946 {
16947 arg2 = &temp2;
16948 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16949 }
16950 {
16951 PyThreadState* __tstate = wxPyBeginAllowThreads();
16952 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16953
16954 wxPyEndAllowThreads(__tstate);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 }
16957 Py_INCREF(Py_None); resultobj = Py_None;
16958 return resultobj;
16959 fail:
16960 return NULL;
16961 }
16962
16963
16964 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16965 PyObject *resultobj;
16966 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16967 wxPoint *arg2 = 0 ;
16968 wxPoint temp2 ;
16969 PyObject * obj0 = 0 ;
16970 PyObject * obj1 = 0 ;
16971 char *kwnames[] = {
16972 (char *) "self",(char *) "pt", NULL
16973 };
16974
16975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16977 {
16978 arg2 = &temp2;
16979 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16980 }
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 Py_INCREF(Py_None); resultobj = Py_None;
16989 return resultobj;
16990 fail:
16991 return NULL;
16992 }
16993
16994
16995 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16996 PyObject *resultobj;
16997 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16998 wxPoint *arg2 = 0 ;
16999 wxPoint temp2 ;
17000 PyObject * obj0 = 0 ;
17001 PyObject * obj1 = 0 ;
17002 char *kwnames[] = {
17003 (char *) "self",(char *) "pt", NULL
17004 };
17005
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
17007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17008 {
17009 arg2 = &temp2;
17010 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17011 }
17012 {
17013 PyThreadState* __tstate = wxPyBeginAllowThreads();
17014 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
17015
17016 wxPyEndAllowThreads(__tstate);
17017 if (PyErr_Occurred()) SWIG_fail;
17018 }
17019 Py_INCREF(Py_None); resultobj = Py_None;
17020 return resultobj;
17021 fail:
17022 return NULL;
17023 }
17024
17025
17026 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17027 PyObject *resultobj;
17028 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17029 wxPoint *arg2 = 0 ;
17030 wxPoint temp2 ;
17031 PyObject * obj0 = 0 ;
17032 PyObject * obj1 = 0 ;
17033 char *kwnames[] = {
17034 (char *) "self",(char *) "pt", NULL
17035 };
17036
17037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
17038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17039 {
17040 arg2 = &temp2;
17041 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17042 }
17043 {
17044 PyThreadState* __tstate = wxPyBeginAllowThreads();
17045 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
17046
17047 wxPyEndAllowThreads(__tstate);
17048 if (PyErr_Occurred()) SWIG_fail;
17049 }
17050 Py_INCREF(Py_None); resultobj = Py_None;
17051 return resultobj;
17052 fail:
17053 return NULL;
17054 }
17055
17056
17057 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17058 PyObject *resultobj;
17059 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17060 int arg2 ;
17061 PyObject * obj0 = 0 ;
17062 char *kwnames[] = {
17063 (char *) "self",(char *) "id", NULL
17064 };
17065
17066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
17067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17068 {
17069 PyThreadState* __tstate = wxPyBeginAllowThreads();
17070 (arg1)->SetPaperId((wxPaperSize )arg2);
17071
17072 wxPyEndAllowThreads(__tstate);
17073 if (PyErr_Occurred()) SWIG_fail;
17074 }
17075 Py_INCREF(Py_None); resultobj = Py_None;
17076 return resultobj;
17077 fail:
17078 return NULL;
17079 }
17080
17081
17082 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17085 wxSize *arg2 = 0 ;
17086 wxSize temp2 ;
17087 PyObject * obj0 = 0 ;
17088 PyObject * obj1 = 0 ;
17089 char *kwnames[] = {
17090 (char *) "self",(char *) "size", NULL
17091 };
17092
17093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17095 {
17096 arg2 = &temp2;
17097 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17098 }
17099 {
17100 PyThreadState* __tstate = wxPyBeginAllowThreads();
17101 (arg1)->SetPaperSize((wxSize const &)*arg2);
17102
17103 wxPyEndAllowThreads(__tstate);
17104 if (PyErr_Occurred()) SWIG_fail;
17105 }
17106 Py_INCREF(Py_None); resultobj = Py_None;
17107 return resultobj;
17108 fail:
17109 return NULL;
17110 }
17111
17112
17113 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17114 PyObject *resultobj;
17115 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17116 wxPrintData *arg2 = 0 ;
17117 PyObject * obj0 = 0 ;
17118 PyObject * obj1 = 0 ;
17119 char *kwnames[] = {
17120 (char *) "self",(char *) "printData", NULL
17121 };
17122
17123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17125 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17126 if (arg2 == NULL) {
17127 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17128 }
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17132
17133 wxPyEndAllowThreads(__tstate);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
17136 Py_INCREF(Py_None); resultobj = Py_None;
17137 return resultobj;
17138 fail:
17139 return NULL;
17140 }
17141
17142
17143 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
17144 PyObject *obj;
17145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17146 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
17147 Py_INCREF(obj);
17148 return Py_BuildValue((char *)"");
17149 }
17150 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17151 PyObject *resultobj;
17152 wxWindow *arg1 = (wxWindow *) 0 ;
17153 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
17154 wxPageSetupDialog *result;
17155 PyObject * obj0 = 0 ;
17156 PyObject * obj1 = 0 ;
17157 char *kwnames[] = {
17158 (char *) "parent",(char *) "data", NULL
17159 };
17160
17161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17163 if (obj1) {
17164 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17165 }
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
17169
17170 wxPyEndAllowThreads(__tstate);
17171 if (PyErr_Occurred()) SWIG_fail;
17172 }
17173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
17174 return resultobj;
17175 fail:
17176 return NULL;
17177 }
17178
17179
17180 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
17181 PyObject *resultobj;
17182 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17183 wxPageSetupDialogData *result;
17184 PyObject * obj0 = 0 ;
17185 char *kwnames[] = {
17186 (char *) "self", NULL
17187 };
17188
17189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
17190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17191 {
17192 PyThreadState* __tstate = wxPyBeginAllowThreads();
17193 {
17194 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
17195 result = (wxPageSetupDialogData *) &_result_ref;
17196 }
17197
17198 wxPyEndAllowThreads(__tstate);
17199 if (PyErr_Occurred()) SWIG_fail;
17200 }
17201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
17202 return resultobj;
17203 fail:
17204 return NULL;
17205 }
17206
17207
17208 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17209 PyObject *resultobj;
17210 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17211 int result;
17212 PyObject * obj0 = 0 ;
17213 char *kwnames[] = {
17214 (char *) "self", NULL
17215 };
17216
17217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
17218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17219 {
17220 PyThreadState* __tstate = wxPyBeginAllowThreads();
17221 result = (int)(arg1)->ShowModal();
17222
17223 wxPyEndAllowThreads(__tstate);
17224 if (PyErr_Occurred()) SWIG_fail;
17225 }
17226 resultobj = PyInt_FromLong((long)result);
17227 return resultobj;
17228 fail:
17229 return NULL;
17230 }
17231
17232
17233 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
17234 PyObject *obj;
17235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17236 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
17237 Py_INCREF(obj);
17238 return Py_BuildValue((char *)"");
17239 }
17240 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17241 PyObject *resultobj;
17242 wxPrintDialogData *result;
17243 char *kwnames[] = {
17244 NULL
17245 };
17246
17247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
17248 {
17249 PyThreadState* __tstate = wxPyBeginAllowThreads();
17250 result = (wxPrintDialogData *)new wxPrintDialogData();
17251
17252 wxPyEndAllowThreads(__tstate);
17253 if (PyErr_Occurred()) SWIG_fail;
17254 }
17255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
17256 return resultobj;
17257 fail:
17258 return NULL;
17259 }
17260
17261
17262 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17263 PyObject *resultobj;
17264 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17265 PyObject * obj0 = 0 ;
17266 char *kwnames[] = {
17267 (char *) "self", NULL
17268 };
17269
17270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
17271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17272 {
17273 PyThreadState* __tstate = wxPyBeginAllowThreads();
17274 delete arg1;
17275
17276 wxPyEndAllowThreads(__tstate);
17277 if (PyErr_Occurred()) SWIG_fail;
17278 }
17279 Py_INCREF(Py_None); resultobj = Py_None;
17280 return resultobj;
17281 fail:
17282 return NULL;
17283 }
17284
17285
17286 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17287 PyObject *resultobj;
17288 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17289 int result;
17290 PyObject * obj0 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17297 {
17298 PyThreadState* __tstate = wxPyBeginAllowThreads();
17299 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17300
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
17304 resultobj = PyInt_FromLong((long)result);
17305 return resultobj;
17306 fail:
17307 return NULL;
17308 }
17309
17310
17311 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17312 PyObject *resultobj;
17313 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17314 int result;
17315 PyObject * obj0 = 0 ;
17316 char *kwnames[] = {
17317 (char *) "self", NULL
17318 };
17319
17320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17322 {
17323 PyThreadState* __tstate = wxPyBeginAllowThreads();
17324 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17325
17326 wxPyEndAllowThreads(__tstate);
17327 if (PyErr_Occurred()) SWIG_fail;
17328 }
17329 resultobj = PyInt_FromLong((long)result);
17330 return resultobj;
17331 fail:
17332 return NULL;
17333 }
17334
17335
17336 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj;
17338 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17339 int result;
17340 PyObject * obj0 = 0 ;
17341 char *kwnames[] = {
17342 (char *) "self", NULL
17343 };
17344
17345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17347 {
17348 PyThreadState* __tstate = wxPyBeginAllowThreads();
17349 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17350
17351 wxPyEndAllowThreads(__tstate);
17352 if (PyErr_Occurred()) SWIG_fail;
17353 }
17354 resultobj = PyInt_FromLong((long)result);
17355 return resultobj;
17356 fail:
17357 return NULL;
17358 }
17359
17360
17361 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17362 PyObject *resultobj;
17363 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17364 int result;
17365 PyObject * obj0 = 0 ;
17366 char *kwnames[] = {
17367 (char *) "self", NULL
17368 };
17369
17370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17372 {
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
17374 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17375
17376 wxPyEndAllowThreads(__tstate);
17377 if (PyErr_Occurred()) SWIG_fail;
17378 }
17379 resultobj = PyInt_FromLong((long)result);
17380 return resultobj;
17381 fail:
17382 return NULL;
17383 }
17384
17385
17386 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17387 PyObject *resultobj;
17388 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17389 int result;
17390 PyObject * obj0 = 0 ;
17391 char *kwnames[] = {
17392 (char *) "self", NULL
17393 };
17394
17395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17397 {
17398 PyThreadState* __tstate = wxPyBeginAllowThreads();
17399 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17400
17401 wxPyEndAllowThreads(__tstate);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 }
17404 resultobj = PyInt_FromLong((long)result);
17405 return resultobj;
17406 fail:
17407 return NULL;
17408 }
17409
17410
17411 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17412 PyObject *resultobj;
17413 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17414 bool result;
17415 PyObject * obj0 = 0 ;
17416 char *kwnames[] = {
17417 (char *) "self", NULL
17418 };
17419
17420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17422 {
17423 PyThreadState* __tstate = wxPyBeginAllowThreads();
17424 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17425
17426 wxPyEndAllowThreads(__tstate);
17427 if (PyErr_Occurred()) SWIG_fail;
17428 }
17429 resultobj = PyInt_FromLong((long)result);
17430 return resultobj;
17431 fail:
17432 return NULL;
17433 }
17434
17435
17436 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17437 PyObject *resultobj;
17438 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17439 bool result;
17440 PyObject * obj0 = 0 ;
17441 char *kwnames[] = {
17442 (char *) "self", NULL
17443 };
17444
17445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17447 {
17448 PyThreadState* __tstate = wxPyBeginAllowThreads();
17449 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17450
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 resultobj = PyInt_FromLong((long)result);
17455 return resultobj;
17456 fail:
17457 return NULL;
17458 }
17459
17460
17461 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17462 PyObject *resultobj;
17463 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17464 bool result;
17465 PyObject * obj0 = 0 ;
17466 char *kwnames[] = {
17467 (char *) "self", NULL
17468 };
17469
17470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17472 {
17473 PyThreadState* __tstate = wxPyBeginAllowThreads();
17474 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17475
17476 wxPyEndAllowThreads(__tstate);
17477 if (PyErr_Occurred()) SWIG_fail;
17478 }
17479 resultobj = PyInt_FromLong((long)result);
17480 return resultobj;
17481 fail:
17482 return NULL;
17483 }
17484
17485
17486 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17487 PyObject *resultobj;
17488 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17489 bool result;
17490 PyObject * obj0 = 0 ;
17491 char *kwnames[] = {
17492 (char *) "self", NULL
17493 };
17494
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17500
17501 wxPyEndAllowThreads(__tstate);
17502 if (PyErr_Occurred()) SWIG_fail;
17503 }
17504 resultobj = PyInt_FromLong((long)result);
17505 return resultobj;
17506 fail:
17507 return NULL;
17508 }
17509
17510
17511 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17512 PyObject *resultobj;
17513 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17514 bool result;
17515 PyObject * obj0 = 0 ;
17516 char *kwnames[] = {
17517 (char *) "self", NULL
17518 };
17519
17520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17522 {
17523 PyThreadState* __tstate = wxPyBeginAllowThreads();
17524 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17525
17526 wxPyEndAllowThreads(__tstate);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
17529 resultobj = PyInt_FromLong((long)result);
17530 return resultobj;
17531 fail:
17532 return NULL;
17533 }
17534
17535
17536 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17537 PyObject *resultobj;
17538 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17539 int arg2 ;
17540 PyObject * obj0 = 0 ;
17541 char *kwnames[] = {
17542 (char *) "self",(char *) "v", NULL
17543 };
17544
17545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17547 {
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 (arg1)->SetFromPage(arg2);
17550
17551 wxPyEndAllowThreads(__tstate);
17552 if (PyErr_Occurred()) SWIG_fail;
17553 }
17554 Py_INCREF(Py_None); resultobj = Py_None;
17555 return resultobj;
17556 fail:
17557 return NULL;
17558 }
17559
17560
17561 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17562 PyObject *resultobj;
17563 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17564 int arg2 ;
17565 PyObject * obj0 = 0 ;
17566 char *kwnames[] = {
17567 (char *) "self",(char *) "v", NULL
17568 };
17569
17570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17572 {
17573 PyThreadState* __tstate = wxPyBeginAllowThreads();
17574 (arg1)->SetToPage(arg2);
17575
17576 wxPyEndAllowThreads(__tstate);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 }
17579 Py_INCREF(Py_None); resultobj = Py_None;
17580 return resultobj;
17581 fail:
17582 return NULL;
17583 }
17584
17585
17586 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17587 PyObject *resultobj;
17588 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17589 int arg2 ;
17590 PyObject * obj0 = 0 ;
17591 char *kwnames[] = {
17592 (char *) "self",(char *) "v", NULL
17593 };
17594
17595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17597 {
17598 PyThreadState* __tstate = wxPyBeginAllowThreads();
17599 (arg1)->SetMinPage(arg2);
17600
17601 wxPyEndAllowThreads(__tstate);
17602 if (PyErr_Occurred()) SWIG_fail;
17603 }
17604 Py_INCREF(Py_None); resultobj = Py_None;
17605 return resultobj;
17606 fail:
17607 return NULL;
17608 }
17609
17610
17611 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17612 PyObject *resultobj;
17613 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17614 int arg2 ;
17615 PyObject * obj0 = 0 ;
17616 char *kwnames[] = {
17617 (char *) "self",(char *) "v", NULL
17618 };
17619
17620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17622 {
17623 PyThreadState* __tstate = wxPyBeginAllowThreads();
17624 (arg1)->SetMaxPage(arg2);
17625
17626 wxPyEndAllowThreads(__tstate);
17627 if (PyErr_Occurred()) SWIG_fail;
17628 }
17629 Py_INCREF(Py_None); resultobj = Py_None;
17630 return resultobj;
17631 fail:
17632 return NULL;
17633 }
17634
17635
17636 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17637 PyObject *resultobj;
17638 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17639 int arg2 ;
17640 PyObject * obj0 = 0 ;
17641 char *kwnames[] = {
17642 (char *) "self",(char *) "v", NULL
17643 };
17644
17645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 (arg1)->SetNoCopies(arg2);
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 Py_INCREF(Py_None); resultobj = Py_None;
17655 return resultobj;
17656 fail:
17657 return NULL;
17658 }
17659
17660
17661 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17662 PyObject *resultobj;
17663 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17664 bool arg2 ;
17665 PyObject * obj0 = 0 ;
17666 PyObject * obj1 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self",(char *) "flag", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17673 arg2 = PyInt_AsLong(obj1) ? true : false;
17674 if (PyErr_Occurred()) SWIG_fail;
17675 {
17676 PyThreadState* __tstate = wxPyBeginAllowThreads();
17677 (arg1)->SetAllPages(arg2);
17678
17679 wxPyEndAllowThreads(__tstate);
17680 if (PyErr_Occurred()) SWIG_fail;
17681 }
17682 Py_INCREF(Py_None); resultobj = Py_None;
17683 return resultobj;
17684 fail:
17685 return NULL;
17686 }
17687
17688
17689 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17690 PyObject *resultobj;
17691 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17692 bool arg2 ;
17693 PyObject * obj0 = 0 ;
17694 PyObject * obj1 = 0 ;
17695 char *kwnames[] = {
17696 (char *) "self",(char *) "flag", NULL
17697 };
17698
17699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17701 arg2 = PyInt_AsLong(obj1) ? true : false;
17702 if (PyErr_Occurred()) SWIG_fail;
17703 {
17704 PyThreadState* __tstate = wxPyBeginAllowThreads();
17705 (arg1)->SetSelection(arg2);
17706
17707 wxPyEndAllowThreads(__tstate);
17708 if (PyErr_Occurred()) SWIG_fail;
17709 }
17710 Py_INCREF(Py_None); resultobj = Py_None;
17711 return resultobj;
17712 fail:
17713 return NULL;
17714 }
17715
17716
17717 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17718 PyObject *resultobj;
17719 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17720 bool arg2 ;
17721 PyObject * obj0 = 0 ;
17722 PyObject * obj1 = 0 ;
17723 char *kwnames[] = {
17724 (char *) "self",(char *) "flag", NULL
17725 };
17726
17727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17729 arg2 = PyInt_AsLong(obj1) ? true : false;
17730 if (PyErr_Occurred()) SWIG_fail;
17731 {
17732 PyThreadState* __tstate = wxPyBeginAllowThreads();
17733 (arg1)->SetCollate(arg2);
17734
17735 wxPyEndAllowThreads(__tstate);
17736 if (PyErr_Occurred()) SWIG_fail;
17737 }
17738 Py_INCREF(Py_None); resultobj = Py_None;
17739 return resultobj;
17740 fail:
17741 return NULL;
17742 }
17743
17744
17745 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17746 PyObject *resultobj;
17747 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17748 bool arg2 ;
17749 PyObject * obj0 = 0 ;
17750 PyObject * obj1 = 0 ;
17751 char *kwnames[] = {
17752 (char *) "self",(char *) "flag", NULL
17753 };
17754
17755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17757 arg2 = PyInt_AsLong(obj1) ? true : false;
17758 if (PyErr_Occurred()) SWIG_fail;
17759 {
17760 PyThreadState* __tstate = wxPyBeginAllowThreads();
17761 (arg1)->SetPrintToFile(arg2);
17762
17763 wxPyEndAllowThreads(__tstate);
17764 if (PyErr_Occurred()) SWIG_fail;
17765 }
17766 Py_INCREF(Py_None); resultobj = Py_None;
17767 return resultobj;
17768 fail:
17769 return NULL;
17770 }
17771
17772
17773 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17774 PyObject *resultobj;
17775 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17776 bool arg2 ;
17777 PyObject * obj0 = 0 ;
17778 PyObject * obj1 = 0 ;
17779 char *kwnames[] = {
17780 (char *) "self",(char *) "flag", NULL
17781 };
17782
17783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17785 arg2 = PyInt_AsLong(obj1) ? true : false;
17786 if (PyErr_Occurred()) SWIG_fail;
17787 {
17788 PyThreadState* __tstate = wxPyBeginAllowThreads();
17789 (arg1)->SetSetupDialog(arg2);
17790
17791 wxPyEndAllowThreads(__tstate);
17792 if (PyErr_Occurred()) SWIG_fail;
17793 }
17794 Py_INCREF(Py_None); resultobj = Py_None;
17795 return resultobj;
17796 fail:
17797 return NULL;
17798 }
17799
17800
17801 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17802 PyObject *resultobj;
17803 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17804 bool arg2 ;
17805 PyObject * obj0 = 0 ;
17806 PyObject * obj1 = 0 ;
17807 char *kwnames[] = {
17808 (char *) "self",(char *) "flag", NULL
17809 };
17810
17811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17813 arg2 = PyInt_AsLong(obj1) ? true : false;
17814 if (PyErr_Occurred()) SWIG_fail;
17815 {
17816 PyThreadState* __tstate = wxPyBeginAllowThreads();
17817 (arg1)->EnablePrintToFile(arg2);
17818
17819 wxPyEndAllowThreads(__tstate);
17820 if (PyErr_Occurred()) SWIG_fail;
17821 }
17822 Py_INCREF(Py_None); resultobj = Py_None;
17823 return resultobj;
17824 fail:
17825 return NULL;
17826 }
17827
17828
17829 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17830 PyObject *resultobj;
17831 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17832 bool arg2 ;
17833 PyObject * obj0 = 0 ;
17834 PyObject * obj1 = 0 ;
17835 char *kwnames[] = {
17836 (char *) "self",(char *) "flag", NULL
17837 };
17838
17839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17841 arg2 = PyInt_AsLong(obj1) ? true : false;
17842 if (PyErr_Occurred()) SWIG_fail;
17843 {
17844 PyThreadState* __tstate = wxPyBeginAllowThreads();
17845 (arg1)->EnableSelection(arg2);
17846
17847 wxPyEndAllowThreads(__tstate);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 }
17850 Py_INCREF(Py_None); resultobj = Py_None;
17851 return resultobj;
17852 fail:
17853 return NULL;
17854 }
17855
17856
17857 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17858 PyObject *resultobj;
17859 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17860 bool arg2 ;
17861 PyObject * obj0 = 0 ;
17862 PyObject * obj1 = 0 ;
17863 char *kwnames[] = {
17864 (char *) "self",(char *) "flag", NULL
17865 };
17866
17867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17869 arg2 = PyInt_AsLong(obj1) ? true : false;
17870 if (PyErr_Occurred()) SWIG_fail;
17871 {
17872 PyThreadState* __tstate = wxPyBeginAllowThreads();
17873 (arg1)->EnablePageNumbers(arg2);
17874
17875 wxPyEndAllowThreads(__tstate);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 }
17878 Py_INCREF(Py_None); resultobj = Py_None;
17879 return resultobj;
17880 fail:
17881 return NULL;
17882 }
17883
17884
17885 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17886 PyObject *resultobj;
17887 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17888 bool arg2 ;
17889 PyObject * obj0 = 0 ;
17890 PyObject * obj1 = 0 ;
17891 char *kwnames[] = {
17892 (char *) "self",(char *) "flag", NULL
17893 };
17894
17895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17897 arg2 = PyInt_AsLong(obj1) ? true : false;
17898 if (PyErr_Occurred()) SWIG_fail;
17899 {
17900 PyThreadState* __tstate = wxPyBeginAllowThreads();
17901 (arg1)->EnableHelp(arg2);
17902
17903 wxPyEndAllowThreads(__tstate);
17904 if (PyErr_Occurred()) SWIG_fail;
17905 }
17906 Py_INCREF(Py_None); resultobj = Py_None;
17907 return resultobj;
17908 fail:
17909 return NULL;
17910 }
17911
17912
17913 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17914 PyObject *resultobj;
17915 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17916 bool result;
17917 PyObject * obj0 = 0 ;
17918 char *kwnames[] = {
17919 (char *) "self", NULL
17920 };
17921
17922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17924 {
17925 PyThreadState* __tstate = wxPyBeginAllowThreads();
17926 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17927
17928 wxPyEndAllowThreads(__tstate);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
17931 resultobj = PyInt_FromLong((long)result);
17932 return resultobj;
17933 fail:
17934 return NULL;
17935 }
17936
17937
17938 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17939 PyObject *resultobj;
17940 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17941 bool result;
17942 PyObject * obj0 = 0 ;
17943 char *kwnames[] = {
17944 (char *) "self", NULL
17945 };
17946
17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17949 {
17950 PyThreadState* __tstate = wxPyBeginAllowThreads();
17951 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17952
17953 wxPyEndAllowThreads(__tstate);
17954 if (PyErr_Occurred()) SWIG_fail;
17955 }
17956 resultobj = PyInt_FromLong((long)result);
17957 return resultobj;
17958 fail:
17959 return NULL;
17960 }
17961
17962
17963 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17964 PyObject *resultobj;
17965 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17966 bool result;
17967 PyObject * obj0 = 0 ;
17968 char *kwnames[] = {
17969 (char *) "self", NULL
17970 };
17971
17972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17974 {
17975 PyThreadState* __tstate = wxPyBeginAllowThreads();
17976 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17977
17978 wxPyEndAllowThreads(__tstate);
17979 if (PyErr_Occurred()) SWIG_fail;
17980 }
17981 resultobj = PyInt_FromLong((long)result);
17982 return resultobj;
17983 fail:
17984 return NULL;
17985 }
17986
17987
17988 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17989 PyObject *resultobj;
17990 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17991 bool result;
17992 PyObject * obj0 = 0 ;
17993 char *kwnames[] = {
17994 (char *) "self", NULL
17995 };
17996
17997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17999 {
18000 PyThreadState* __tstate = wxPyBeginAllowThreads();
18001 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
18002
18003 wxPyEndAllowThreads(__tstate);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 resultobj = PyInt_FromLong((long)result);
18007 return resultobj;
18008 fail:
18009 return NULL;
18010 }
18011
18012
18013 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18014 PyObject *resultobj;
18015 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18016 bool result;
18017 PyObject * obj0 = 0 ;
18018 char *kwnames[] = {
18019 (char *) "self", NULL
18020 };
18021
18022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
18023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18024 {
18025 PyThreadState* __tstate = wxPyBeginAllowThreads();
18026 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
18027
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 resultobj = PyInt_FromLong((long)result);
18032 return resultobj;
18033 fail:
18034 return NULL;
18035 }
18036
18037
18038 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18041 wxPrintData *result;
18042 PyObject * obj0 = 0 ;
18043 char *kwnames[] = {
18044 (char *) "self", NULL
18045 };
18046
18047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 {
18052 wxPrintData &_result_ref = (arg1)->GetPrintData();
18053 result = (wxPrintData *) &_result_ref;
18054 }
18055
18056 wxPyEndAllowThreads(__tstate);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
18060 return resultobj;
18061 fail:
18062 return NULL;
18063 }
18064
18065
18066 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18067 PyObject *resultobj;
18068 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18069 wxPrintData *arg2 = 0 ;
18070 PyObject * obj0 = 0 ;
18071 PyObject * obj1 = 0 ;
18072 char *kwnames[] = {
18073 (char *) "self",(char *) "printData", NULL
18074 };
18075
18076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18078 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18079 if (arg2 == NULL) {
18080 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18081 }
18082 {
18083 PyThreadState* __tstate = wxPyBeginAllowThreads();
18084 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18085
18086 wxPyEndAllowThreads(__tstate);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 }
18089 Py_INCREF(Py_None); resultobj = Py_None;
18090 return resultobj;
18091 fail:
18092 return NULL;
18093 }
18094
18095
18096 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
18097 PyObject *obj;
18098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18099 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
18100 Py_INCREF(obj);
18101 return Py_BuildValue((char *)"");
18102 }
18103 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18104 PyObject *resultobj;
18105 wxWindow *arg1 = (wxWindow *) 0 ;
18106 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
18107 wxPrintDialog *result;
18108 PyObject * obj0 = 0 ;
18109 PyObject * obj1 = 0 ;
18110 char *kwnames[] = {
18111 (char *) "parent",(char *) "data", NULL
18112 };
18113
18114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18116 if (obj1) {
18117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18118 }
18119 {
18120 PyThreadState* __tstate = wxPyBeginAllowThreads();
18121 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
18122
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
18127 return resultobj;
18128 fail:
18129 return NULL;
18130 }
18131
18132
18133 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18134 PyObject *resultobj;
18135 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18136 wxPrintDialogData *result;
18137 PyObject * obj0 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18144 {
18145 PyThreadState* __tstate = wxPyBeginAllowThreads();
18146 {
18147 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18148 result = (wxPrintDialogData *) &_result_ref;
18149 }
18150
18151 wxPyEndAllowThreads(__tstate);
18152 if (PyErr_Occurred()) SWIG_fail;
18153 }
18154 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18155 return resultobj;
18156 fail:
18157 return NULL;
18158 }
18159
18160
18161 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18162 PyObject *resultobj;
18163 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18164 wxDC *result;
18165 PyObject * obj0 = 0 ;
18166 char *kwnames[] = {
18167 (char *) "self", NULL
18168 };
18169
18170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
18171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18172 {
18173 PyThreadState* __tstate = wxPyBeginAllowThreads();
18174 result = (wxDC *)(arg1)->GetPrintDC();
18175
18176 wxPyEndAllowThreads(__tstate);
18177 if (PyErr_Occurred()) SWIG_fail;
18178 }
18179 {
18180 resultobj = wxPyMake_wxObject(result);
18181 }
18182 return resultobj;
18183 fail:
18184 return NULL;
18185 }
18186
18187
18188 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18189 PyObject *resultobj;
18190 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18191 int result;
18192 PyObject * obj0 = 0 ;
18193 char *kwnames[] = {
18194 (char *) "self", NULL
18195 };
18196
18197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
18198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 result = (int)(arg1)->ShowModal();
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 resultobj = PyInt_FromLong((long)result);
18207 return resultobj;
18208 fail:
18209 return NULL;
18210 }
18211
18212
18213 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
18214 PyObject *obj;
18215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18216 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
18217 Py_INCREF(obj);
18218 return Py_BuildValue((char *)"");
18219 }
18220 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18221 PyObject *resultobj;
18222 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
18223 wxPrinter *result;
18224 PyObject * obj0 = 0 ;
18225 char *kwnames[] = {
18226 (char *) "data", NULL
18227 };
18228
18229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
18230 if (obj0) {
18231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18232 }
18233 {
18234 PyThreadState* __tstate = wxPyBeginAllowThreads();
18235 result = (wxPrinter *)new wxPrinter(arg1);
18236
18237 wxPyEndAllowThreads(__tstate);
18238 if (PyErr_Occurred()) SWIG_fail;
18239 }
18240 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
18241 return resultobj;
18242 fail:
18243 return NULL;
18244 }
18245
18246
18247 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18248 PyObject *resultobj;
18249 wxPrinter *arg1 = (wxPrinter *) 0 ;
18250 PyObject * obj0 = 0 ;
18251 char *kwnames[] = {
18252 (char *) "self", NULL
18253 };
18254
18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
18256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18257 {
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 delete arg1;
18260
18261 wxPyEndAllowThreads(__tstate);
18262 if (PyErr_Occurred()) SWIG_fail;
18263 }
18264 Py_INCREF(Py_None); resultobj = Py_None;
18265 return resultobj;
18266 fail:
18267 return NULL;
18268 }
18269
18270
18271 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18272 PyObject *resultobj;
18273 wxPrinter *arg1 = (wxPrinter *) 0 ;
18274 wxWindow *arg2 = (wxWindow *) 0 ;
18275 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18276 PyObject * obj0 = 0 ;
18277 PyObject * obj1 = 0 ;
18278 PyObject * obj2 = 0 ;
18279 char *kwnames[] = {
18280 (char *) "self",(char *) "parent",(char *) "printout", NULL
18281 };
18282
18283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
18284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18286 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18287 {
18288 PyThreadState* __tstate = wxPyBeginAllowThreads();
18289 (arg1)->CreateAbortWindow(arg2,arg3);
18290
18291 wxPyEndAllowThreads(__tstate);
18292 if (PyErr_Occurred()) SWIG_fail;
18293 }
18294 Py_INCREF(Py_None); resultobj = Py_None;
18295 return resultobj;
18296 fail:
18297 return NULL;
18298 }
18299
18300
18301 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18302 PyObject *resultobj;
18303 wxPrinter *arg1 = (wxPrinter *) 0 ;
18304 wxPrintDialogData *result;
18305 PyObject * obj0 = 0 ;
18306 char *kwnames[] = {
18307 (char *) "self", NULL
18308 };
18309
18310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18312 {
18313 PyThreadState* __tstate = wxPyBeginAllowThreads();
18314 {
18315 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18316 result = (wxPrintDialogData *) &_result_ref;
18317 }
18318
18319 wxPyEndAllowThreads(__tstate);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
18322 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18323 return resultobj;
18324 fail:
18325 return NULL;
18326 }
18327
18328
18329 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18330 PyObject *resultobj;
18331 wxPrinter *arg1 = (wxPrinter *) 0 ;
18332 wxWindow *arg2 = (wxWindow *) 0 ;
18333 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18334 int arg4 = (int) True ;
18335 bool result;
18336 PyObject * obj0 = 0 ;
18337 PyObject * obj1 = 0 ;
18338 PyObject * obj2 = 0 ;
18339 char *kwnames[] = {
18340 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18341 };
18342
18343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18346 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18347 {
18348 PyThreadState* __tstate = wxPyBeginAllowThreads();
18349 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18350
18351 wxPyEndAllowThreads(__tstate);
18352 if (PyErr_Occurred()) SWIG_fail;
18353 }
18354 resultobj = PyInt_FromLong((long)result);
18355 return resultobj;
18356 fail:
18357 return NULL;
18358 }
18359
18360
18361 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18362 PyObject *resultobj;
18363 wxPrinter *arg1 = (wxPrinter *) 0 ;
18364 wxWindow *arg2 = (wxWindow *) 0 ;
18365 wxDC *result;
18366 PyObject * obj0 = 0 ;
18367 PyObject * obj1 = 0 ;
18368 char *kwnames[] = {
18369 (char *) "self",(char *) "parent", NULL
18370 };
18371
18372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18374 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18375 {
18376 PyThreadState* __tstate = wxPyBeginAllowThreads();
18377 result = (wxDC *)(arg1)->PrintDialog(arg2);
18378
18379 wxPyEndAllowThreads(__tstate);
18380 if (PyErr_Occurred()) SWIG_fail;
18381 }
18382 {
18383 resultobj = wxPyMake_wxObject(result);
18384 }
18385 return resultobj;
18386 fail:
18387 return NULL;
18388 }
18389
18390
18391 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18392 PyObject *resultobj;
18393 wxPrinter *arg1 = (wxPrinter *) 0 ;
18394 wxWindow *arg2 = (wxWindow *) 0 ;
18395 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18396 wxString *arg4 = 0 ;
18397 bool temp4 = False ;
18398 PyObject * obj0 = 0 ;
18399 PyObject * obj1 = 0 ;
18400 PyObject * obj2 = 0 ;
18401 PyObject * obj3 = 0 ;
18402 char *kwnames[] = {
18403 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18404 };
18405
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18409 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18410 {
18411 arg4 = wxString_in_helper(obj3);
18412 if (arg4 == NULL) SWIG_fail;
18413 temp4 = True;
18414 }
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18418
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 Py_INCREF(Py_None); resultobj = Py_None;
18423 {
18424 if (temp4)
18425 delete arg4;
18426 }
18427 return resultobj;
18428 fail:
18429 {
18430 if (temp4)
18431 delete arg4;
18432 }
18433 return NULL;
18434 }
18435
18436
18437 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18438 PyObject *resultobj;
18439 wxPrinter *arg1 = (wxPrinter *) 0 ;
18440 wxWindow *arg2 = (wxWindow *) 0 ;
18441 bool result;
18442 PyObject * obj0 = 0 ;
18443 PyObject * obj1 = 0 ;
18444 char *kwnames[] = {
18445 (char *) "self",(char *) "parent", NULL
18446 };
18447
18448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18451 {
18452 PyThreadState* __tstate = wxPyBeginAllowThreads();
18453 result = (bool)(arg1)->Setup(arg2);
18454
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 resultobj = PyInt_FromLong((long)result);
18459 return resultobj;
18460 fail:
18461 return NULL;
18462 }
18463
18464
18465 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18466 PyObject *resultobj;
18467 wxPrinter *arg1 = (wxPrinter *) 0 ;
18468 bool result;
18469 PyObject * obj0 = 0 ;
18470 char *kwnames[] = {
18471 (char *) "self", NULL
18472 };
18473
18474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = (bool)(arg1)->GetAbort();
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 resultobj = PyInt_FromLong((long)result);
18484 return resultobj;
18485 fail:
18486 return NULL;
18487 }
18488
18489
18490 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18491 PyObject *resultobj;
18492 int result;
18493 char *kwnames[] = {
18494 NULL
18495 };
18496
18497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18498 {
18499 PyThreadState* __tstate = wxPyBeginAllowThreads();
18500 result = (int)wxPrinter::GetLastError();
18501
18502 wxPyEndAllowThreads(__tstate);
18503 if (PyErr_Occurred()) SWIG_fail;
18504 }
18505 resultobj = PyInt_FromLong((long)result);
18506 return resultobj;
18507 fail:
18508 return NULL;
18509 }
18510
18511
18512 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18513 PyObject *obj;
18514 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18515 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18516 Py_INCREF(obj);
18517 return Py_BuildValue((char *)"");
18518 }
18519 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj;
18521 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18522 wxString *arg1 = (wxString *) &arg1_defvalue ;
18523 wxPyPrintout *result;
18524 bool temp1 = False ;
18525 PyObject * obj0 = 0 ;
18526 char *kwnames[] = {
18527 (char *) "title", NULL
18528 };
18529
18530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18531 if (obj0) {
18532 {
18533 arg1 = wxString_in_helper(obj0);
18534 if (arg1 == NULL) SWIG_fail;
18535 temp1 = True;
18536 }
18537 }
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18541
18542 wxPyEndAllowThreads(__tstate);
18543 if (PyErr_Occurred()) SWIG_fail;
18544 }
18545 {
18546 resultobj = wxPyMake_wxObject(result);
18547 }
18548 {
18549 if (temp1)
18550 delete arg1;
18551 }
18552 return resultobj;
18553 fail:
18554 {
18555 if (temp1)
18556 delete arg1;
18557 }
18558 return NULL;
18559 }
18560
18561
18562 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18563 PyObject *resultobj;
18564 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18565 PyObject *arg2 = (PyObject *) 0 ;
18566 PyObject *arg3 = (PyObject *) 0 ;
18567 PyObject * obj0 = 0 ;
18568 PyObject * obj1 = 0 ;
18569 PyObject * obj2 = 0 ;
18570 char *kwnames[] = {
18571 (char *) "self",(char *) "self",(char *) "_class", NULL
18572 };
18573
18574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18576 arg2 = obj1;
18577 arg3 = obj2;
18578 {
18579 PyThreadState* __tstate = wxPyBeginAllowThreads();
18580 (arg1)->_setCallbackInfo(arg2,arg3);
18581
18582 wxPyEndAllowThreads(__tstate);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 }
18585 Py_INCREF(Py_None); resultobj = Py_None;
18586 return resultobj;
18587 fail:
18588 return NULL;
18589 }
18590
18591
18592 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18593 PyObject *resultobj;
18594 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18595 wxString result;
18596 PyObject * obj0 = 0 ;
18597 char *kwnames[] = {
18598 (char *) "self", NULL
18599 };
18600
18601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = ((wxPyPrintout const *)arg1)->GetTitle();
18606
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
18610 {
18611 #if wxUSE_UNICODE
18612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18613 #else
18614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18615 #endif
18616 }
18617 return resultobj;
18618 fail:
18619 return NULL;
18620 }
18621
18622
18623 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18624 PyObject *resultobj;
18625 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18626 wxDC *result;
18627 PyObject * obj0 = 0 ;
18628 char *kwnames[] = {
18629 (char *) "self", NULL
18630 };
18631
18632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18634 {
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 result = (wxDC *)(arg1)->GetDC();
18637
18638 wxPyEndAllowThreads(__tstate);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 }
18641 {
18642 resultobj = wxPyMake_wxObject(result);
18643 }
18644 return resultobj;
18645 fail:
18646 return NULL;
18647 }
18648
18649
18650 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18651 PyObject *resultobj;
18652 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18653 wxDC *arg2 = (wxDC *) 0 ;
18654 PyObject * obj0 = 0 ;
18655 PyObject * obj1 = 0 ;
18656 char *kwnames[] = {
18657 (char *) "self",(char *) "dc", NULL
18658 };
18659
18660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18663 {
18664 PyThreadState* __tstate = wxPyBeginAllowThreads();
18665 (arg1)->SetDC(arg2);
18666
18667 wxPyEndAllowThreads(__tstate);
18668 if (PyErr_Occurred()) SWIG_fail;
18669 }
18670 Py_INCREF(Py_None); resultobj = Py_None;
18671 return resultobj;
18672 fail:
18673 return NULL;
18674 }
18675
18676
18677 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18678 PyObject *resultobj;
18679 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18680 int arg2 ;
18681 int arg3 ;
18682 PyObject * obj0 = 0 ;
18683 char *kwnames[] = {
18684 (char *) "self",(char *) "w",(char *) "h", NULL
18685 };
18686
18687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18689 {
18690 PyThreadState* __tstate = wxPyBeginAllowThreads();
18691 (arg1)->SetPageSizePixels(arg2,arg3);
18692
18693 wxPyEndAllowThreads(__tstate);
18694 if (PyErr_Occurred()) SWIG_fail;
18695 }
18696 Py_INCREF(Py_None); resultobj = Py_None;
18697 return resultobj;
18698 fail:
18699 return NULL;
18700 }
18701
18702
18703 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18704 PyObject *resultobj;
18705 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18706 int *arg2 = (int *) 0 ;
18707 int *arg3 = (int *) 0 ;
18708 int temp2 ;
18709 int temp3 ;
18710 PyObject * obj0 = 0 ;
18711 char *kwnames[] = {
18712 (char *) "self", NULL
18713 };
18714
18715 arg2 = &temp2;
18716 arg3 = &temp3;
18717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 (arg1)->GetPageSizePixels(arg2,arg3);
18722
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 Py_INCREF(Py_None); resultobj = Py_None;
18727 {
18728 PyObject *o = PyInt_FromLong((long) (*arg2));
18729 resultobj = t_output_helper(resultobj,o);
18730 }
18731 {
18732 PyObject *o = PyInt_FromLong((long) (*arg3));
18733 resultobj = t_output_helper(resultobj,o);
18734 }
18735 return resultobj;
18736 fail:
18737 return NULL;
18738 }
18739
18740
18741 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18742 PyObject *resultobj;
18743 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18744 int arg2 ;
18745 int arg3 ;
18746 PyObject * obj0 = 0 ;
18747 char *kwnames[] = {
18748 (char *) "self",(char *) "w",(char *) "h", NULL
18749 };
18750
18751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 (arg1)->SetPageSizeMM(arg2,arg3);
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 Py_INCREF(Py_None); resultobj = Py_None;
18761 return resultobj;
18762 fail:
18763 return NULL;
18764 }
18765
18766
18767 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18768 PyObject *resultobj;
18769 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18770 int *arg2 = (int *) 0 ;
18771 int *arg3 = (int *) 0 ;
18772 int temp2 ;
18773 int temp3 ;
18774 PyObject * obj0 = 0 ;
18775 char *kwnames[] = {
18776 (char *) "self", NULL
18777 };
18778
18779 arg2 = &temp2;
18780 arg3 = &temp3;
18781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18783 {
18784 PyThreadState* __tstate = wxPyBeginAllowThreads();
18785 (arg1)->GetPageSizeMM(arg2,arg3);
18786
18787 wxPyEndAllowThreads(__tstate);
18788 if (PyErr_Occurred()) SWIG_fail;
18789 }
18790 Py_INCREF(Py_None); resultobj = Py_None;
18791 {
18792 PyObject *o = PyInt_FromLong((long) (*arg2));
18793 resultobj = t_output_helper(resultobj,o);
18794 }
18795 {
18796 PyObject *o = PyInt_FromLong((long) (*arg3));
18797 resultobj = t_output_helper(resultobj,o);
18798 }
18799 return resultobj;
18800 fail:
18801 return NULL;
18802 }
18803
18804
18805 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18806 PyObject *resultobj;
18807 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18808 int arg2 ;
18809 int arg3 ;
18810 PyObject * obj0 = 0 ;
18811 char *kwnames[] = {
18812 (char *) "self",(char *) "x",(char *) "y", NULL
18813 };
18814
18815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18817 {
18818 PyThreadState* __tstate = wxPyBeginAllowThreads();
18819 (arg1)->SetPPIScreen(arg2,arg3);
18820
18821 wxPyEndAllowThreads(__tstate);
18822 if (PyErr_Occurred()) SWIG_fail;
18823 }
18824 Py_INCREF(Py_None); resultobj = Py_None;
18825 return resultobj;
18826 fail:
18827 return NULL;
18828 }
18829
18830
18831 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18832 PyObject *resultobj;
18833 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18834 int *arg2 = (int *) 0 ;
18835 int *arg3 = (int *) 0 ;
18836 int temp2 ;
18837 int temp3 ;
18838 PyObject * obj0 = 0 ;
18839 char *kwnames[] = {
18840 (char *) "self", NULL
18841 };
18842
18843 arg2 = &temp2;
18844 arg3 = &temp3;
18845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18847 {
18848 PyThreadState* __tstate = wxPyBeginAllowThreads();
18849 (arg1)->GetPPIScreen(arg2,arg3);
18850
18851 wxPyEndAllowThreads(__tstate);
18852 if (PyErr_Occurred()) SWIG_fail;
18853 }
18854 Py_INCREF(Py_None); resultobj = Py_None;
18855 {
18856 PyObject *o = PyInt_FromLong((long) (*arg2));
18857 resultobj = t_output_helper(resultobj,o);
18858 }
18859 {
18860 PyObject *o = PyInt_FromLong((long) (*arg3));
18861 resultobj = t_output_helper(resultobj,o);
18862 }
18863 return resultobj;
18864 fail:
18865 return NULL;
18866 }
18867
18868
18869 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18870 PyObject *resultobj;
18871 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18872 int arg2 ;
18873 int arg3 ;
18874 PyObject * obj0 = 0 ;
18875 char *kwnames[] = {
18876 (char *) "self",(char *) "x",(char *) "y", NULL
18877 };
18878
18879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18881 {
18882 PyThreadState* __tstate = wxPyBeginAllowThreads();
18883 (arg1)->SetPPIPrinter(arg2,arg3);
18884
18885 wxPyEndAllowThreads(__tstate);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 Py_INCREF(Py_None); resultobj = Py_None;
18889 return resultobj;
18890 fail:
18891 return NULL;
18892 }
18893
18894
18895 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18896 PyObject *resultobj;
18897 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18898 int *arg2 = (int *) 0 ;
18899 int *arg3 = (int *) 0 ;
18900 int temp2 ;
18901 int temp3 ;
18902 PyObject * obj0 = 0 ;
18903 char *kwnames[] = {
18904 (char *) "self", NULL
18905 };
18906
18907 arg2 = &temp2;
18908 arg3 = &temp3;
18909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 (arg1)->GetPPIPrinter(arg2,arg3);
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 Py_INCREF(Py_None); resultobj = Py_None;
18919 {
18920 PyObject *o = PyInt_FromLong((long) (*arg2));
18921 resultobj = t_output_helper(resultobj,o);
18922 }
18923 {
18924 PyObject *o = PyInt_FromLong((long) (*arg3));
18925 resultobj = t_output_helper(resultobj,o);
18926 }
18927 return resultobj;
18928 fail:
18929 return NULL;
18930 }
18931
18932
18933 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18934 PyObject *resultobj;
18935 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18936 bool result;
18937 PyObject * obj0 = 0 ;
18938 char *kwnames[] = {
18939 (char *) "self", NULL
18940 };
18941
18942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 result = (bool)(arg1)->IsPreview();
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 resultobj = PyInt_FromLong((long)result);
18952 return resultobj;
18953 fail:
18954 return NULL;
18955 }
18956
18957
18958 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18959 PyObject *resultobj;
18960 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18961 bool arg2 ;
18962 PyObject * obj0 = 0 ;
18963 PyObject * obj1 = 0 ;
18964 char *kwnames[] = {
18965 (char *) "self",(char *) "p", NULL
18966 };
18967
18968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18970 arg2 = PyInt_AsLong(obj1) ? true : false;
18971 if (PyErr_Occurred()) SWIG_fail;
18972 {
18973 PyThreadState* __tstate = wxPyBeginAllowThreads();
18974 (arg1)->SetIsPreview(arg2);
18975
18976 wxPyEndAllowThreads(__tstate);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 }
18979 Py_INCREF(Py_None); resultobj = Py_None;
18980 return resultobj;
18981 fail:
18982 return NULL;
18983 }
18984
18985
18986 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18987 PyObject *resultobj;
18988 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18989 int arg2 ;
18990 int arg3 ;
18991 bool result;
18992 PyObject * obj0 = 0 ;
18993 char *kwnames[] = {
18994 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18995 };
18996
18997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 resultobj = PyInt_FromLong((long)result);
19007 return resultobj;
19008 fail:
19009 return NULL;
19010 }
19011
19012
19013 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19016 PyObject * obj0 = 0 ;
19017 char *kwnames[] = {
19018 (char *) "self", NULL
19019 };
19020
19021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
19022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 (arg1)->base_OnEndDocument();
19026
19027 wxPyEndAllowThreads(__tstate);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
19030 Py_INCREF(Py_None); resultobj = Py_None;
19031 return resultobj;
19032 fail:
19033 return NULL;
19034 }
19035
19036
19037 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19038 PyObject *resultobj;
19039 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19040 PyObject * obj0 = 0 ;
19041 char *kwnames[] = {
19042 (char *) "self", NULL
19043 };
19044
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
19046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19047 {
19048 PyThreadState* __tstate = wxPyBeginAllowThreads();
19049 (arg1)->base_OnBeginPrinting();
19050
19051 wxPyEndAllowThreads(__tstate);
19052 if (PyErr_Occurred()) SWIG_fail;
19053 }
19054 Py_INCREF(Py_None); resultobj = Py_None;
19055 return resultobj;
19056 fail:
19057 return NULL;
19058 }
19059
19060
19061 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19062 PyObject *resultobj;
19063 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19064 PyObject * obj0 = 0 ;
19065 char *kwnames[] = {
19066 (char *) "self", NULL
19067 };
19068
19069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
19070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19071 {
19072 PyThreadState* __tstate = wxPyBeginAllowThreads();
19073 (arg1)->base_OnEndPrinting();
19074
19075 wxPyEndAllowThreads(__tstate);
19076 if (PyErr_Occurred()) SWIG_fail;
19077 }
19078 Py_INCREF(Py_None); resultobj = Py_None;
19079 return resultobj;
19080 fail:
19081 return NULL;
19082 }
19083
19084
19085 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19086 PyObject *resultobj;
19087 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19088 PyObject * obj0 = 0 ;
19089 char *kwnames[] = {
19090 (char *) "self", NULL
19091 };
19092
19093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
19094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19095 {
19096 PyThreadState* __tstate = wxPyBeginAllowThreads();
19097 (arg1)->base_OnPreparePrinting();
19098
19099 wxPyEndAllowThreads(__tstate);
19100 if (PyErr_Occurred()) SWIG_fail;
19101 }
19102 Py_INCREF(Py_None); resultobj = Py_None;
19103 return resultobj;
19104 fail:
19105 return NULL;
19106 }
19107
19108
19109 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19110 PyObject *resultobj;
19111 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19112 int arg2 ;
19113 bool result;
19114 PyObject * obj0 = 0 ;
19115 char *kwnames[] = {
19116 (char *) "self",(char *) "page", NULL
19117 };
19118
19119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
19120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19121 {
19122 PyThreadState* __tstate = wxPyBeginAllowThreads();
19123 result = (bool)(arg1)->base_HasPage(arg2);
19124
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 resultobj = PyInt_FromLong((long)result);
19129 return resultobj;
19130 fail:
19131 return NULL;
19132 }
19133
19134
19135 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19136 PyObject *resultobj;
19137 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19138 int *arg2 = (int *) 0 ;
19139 int *arg3 = (int *) 0 ;
19140 int *arg4 = (int *) 0 ;
19141 int *arg5 = (int *) 0 ;
19142 int temp2 ;
19143 int temp3 ;
19144 int temp4 ;
19145 int temp5 ;
19146 PyObject * obj0 = 0 ;
19147 char *kwnames[] = {
19148 (char *) "self", NULL
19149 };
19150
19151 arg2 = &temp2;
19152 arg3 = &temp3;
19153 arg4 = &temp4;
19154 arg5 = &temp5;
19155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
19156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19157 {
19158 PyThreadState* __tstate = wxPyBeginAllowThreads();
19159 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
19160
19161 wxPyEndAllowThreads(__tstate);
19162 if (PyErr_Occurred()) SWIG_fail;
19163 }
19164 Py_INCREF(Py_None); resultobj = Py_None;
19165 {
19166 PyObject *o = PyInt_FromLong((long) (*arg2));
19167 resultobj = t_output_helper(resultobj,o);
19168 }
19169 {
19170 PyObject *o = PyInt_FromLong((long) (*arg3));
19171 resultobj = t_output_helper(resultobj,o);
19172 }
19173 {
19174 PyObject *o = PyInt_FromLong((long) (*arg4));
19175 resultobj = t_output_helper(resultobj,o);
19176 }
19177 {
19178 PyObject *o = PyInt_FromLong((long) (*arg5));
19179 resultobj = t_output_helper(resultobj,o);
19180 }
19181 return resultobj;
19182 fail:
19183 return NULL;
19184 }
19185
19186
19187 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
19188 PyObject *obj;
19189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19190 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
19191 Py_INCREF(obj);
19192 return Py_BuildValue((char *)"");
19193 }
19194 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19195 PyObject *resultobj;
19196 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19197 wxWindow *arg2 = (wxWindow *) 0 ;
19198 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19199 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19200 wxSize const &arg4_defvalue = wxDefaultSize ;
19201 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19202 long arg5 = (long) 0 ;
19203 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
19204 wxString *arg6 = (wxString *) &arg6_defvalue ;
19205 wxPreviewCanvas *result;
19206 wxPoint temp3 ;
19207 wxSize temp4 ;
19208 bool temp6 = False ;
19209 PyObject * obj0 = 0 ;
19210 PyObject * obj1 = 0 ;
19211 PyObject * obj2 = 0 ;
19212 PyObject * obj3 = 0 ;
19213 PyObject * obj5 = 0 ;
19214 char *kwnames[] = {
19215 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19216 };
19217
19218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
19219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19221 if (obj2) {
19222 {
19223 arg3 = &temp3;
19224 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19225 }
19226 }
19227 if (obj3) {
19228 {
19229 arg4 = &temp4;
19230 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19231 }
19232 }
19233 if (obj5) {
19234 {
19235 arg6 = wxString_in_helper(obj5);
19236 if (arg6 == NULL) SWIG_fail;
19237 temp6 = True;
19238 }
19239 }
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19243
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
19248 {
19249 if (temp6)
19250 delete arg6;
19251 }
19252 return resultobj;
19253 fail:
19254 {
19255 if (temp6)
19256 delete arg6;
19257 }
19258 return NULL;
19259 }
19260
19261
19262 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
19263 PyObject *obj;
19264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19265 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
19266 Py_INCREF(obj);
19267 return Py_BuildValue((char *)"");
19268 }
19269 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj;
19271 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19272 wxFrame *arg2 = (wxFrame *) 0 ;
19273 wxString *arg3 = 0 ;
19274 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19275 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19276 wxSize const &arg5_defvalue = wxDefaultSize ;
19277 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19278 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19279 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19280 wxString *arg7 = (wxString *) &arg7_defvalue ;
19281 wxPreviewFrame *result;
19282 bool temp3 = False ;
19283 wxPoint temp4 ;
19284 wxSize temp5 ;
19285 bool temp7 = False ;
19286 PyObject * obj0 = 0 ;
19287 PyObject * obj1 = 0 ;
19288 PyObject * obj2 = 0 ;
19289 PyObject * obj3 = 0 ;
19290 PyObject * obj4 = 0 ;
19291 PyObject * obj6 = 0 ;
19292 char *kwnames[] = {
19293 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19294 };
19295
19296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19299 {
19300 arg3 = wxString_in_helper(obj2);
19301 if (arg3 == NULL) SWIG_fail;
19302 temp3 = True;
19303 }
19304 if (obj3) {
19305 {
19306 arg4 = &temp4;
19307 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19308 }
19309 }
19310 if (obj4) {
19311 {
19312 arg5 = &temp5;
19313 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19314 }
19315 }
19316 if (obj6) {
19317 {
19318 arg7 = wxString_in_helper(obj6);
19319 if (arg7 == NULL) SWIG_fail;
19320 temp7 = True;
19321 }
19322 }
19323 {
19324 PyThreadState* __tstate = wxPyBeginAllowThreads();
19325 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19326
19327 wxPyEndAllowThreads(__tstate);
19328 if (PyErr_Occurred()) SWIG_fail;
19329 }
19330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19331 {
19332 if (temp3)
19333 delete arg3;
19334 }
19335 {
19336 if (temp7)
19337 delete arg7;
19338 }
19339 return resultobj;
19340 fail:
19341 {
19342 if (temp3)
19343 delete arg3;
19344 }
19345 {
19346 if (temp7)
19347 delete arg7;
19348 }
19349 return NULL;
19350 }
19351
19352
19353 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19354 PyObject *resultobj;
19355 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19356 PyObject * obj0 = 0 ;
19357 char *kwnames[] = {
19358 (char *) "self", NULL
19359 };
19360
19361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19363 {
19364 PyThreadState* __tstate = wxPyBeginAllowThreads();
19365 (arg1)->Initialize();
19366
19367 wxPyEndAllowThreads(__tstate);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 }
19370 Py_INCREF(Py_None); resultobj = Py_None;
19371 return resultobj;
19372 fail:
19373 return NULL;
19374 }
19375
19376
19377 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19378 PyObject *resultobj;
19379 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19380 PyObject * obj0 = 0 ;
19381 char *kwnames[] = {
19382 (char *) "self", NULL
19383 };
19384
19385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19387 {
19388 PyThreadState* __tstate = wxPyBeginAllowThreads();
19389 (arg1)->CreateControlBar();
19390
19391 wxPyEndAllowThreads(__tstate);
19392 if (PyErr_Occurred()) SWIG_fail;
19393 }
19394 Py_INCREF(Py_None); resultobj = Py_None;
19395 return resultobj;
19396 fail:
19397 return NULL;
19398 }
19399
19400
19401 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19402 PyObject *resultobj;
19403 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19404 PyObject * obj0 = 0 ;
19405 char *kwnames[] = {
19406 (char *) "self", NULL
19407 };
19408
19409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19411 {
19412 PyThreadState* __tstate = wxPyBeginAllowThreads();
19413 (arg1)->CreateCanvas();
19414
19415 wxPyEndAllowThreads(__tstate);
19416 if (PyErr_Occurred()) SWIG_fail;
19417 }
19418 Py_INCREF(Py_None); resultobj = Py_None;
19419 return resultobj;
19420 fail:
19421 return NULL;
19422 }
19423
19424
19425 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19426 PyObject *resultobj;
19427 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19428 wxPreviewControlBar *result;
19429 PyObject * obj0 = 0 ;
19430 char *kwnames[] = {
19431 (char *) "self", NULL
19432 };
19433
19434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19436 {
19437 PyThreadState* __tstate = wxPyBeginAllowThreads();
19438 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19439
19440 wxPyEndAllowThreads(__tstate);
19441 if (PyErr_Occurred()) SWIG_fail;
19442 }
19443 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19444 return resultobj;
19445 fail:
19446 return NULL;
19447 }
19448
19449
19450 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19451 PyObject *obj;
19452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19453 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19454 Py_INCREF(obj);
19455 return Py_BuildValue((char *)"");
19456 }
19457 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19458 PyObject *resultobj;
19459 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19460 long arg2 ;
19461 wxWindow *arg3 = (wxWindow *) 0 ;
19462 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19463 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19464 wxSize const &arg5_defvalue = wxDefaultSize ;
19465 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19466 long arg6 = (long) wxTAB_TRAVERSAL ;
19467 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19468 wxString *arg7 = (wxString *) &arg7_defvalue ;
19469 wxPreviewControlBar *result;
19470 wxPoint temp4 ;
19471 wxSize temp5 ;
19472 bool temp7 = False ;
19473 PyObject * obj0 = 0 ;
19474 PyObject * obj2 = 0 ;
19475 PyObject * obj3 = 0 ;
19476 PyObject * obj4 = 0 ;
19477 PyObject * obj6 = 0 ;
19478 char *kwnames[] = {
19479 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19484 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19485 if (obj3) {
19486 {
19487 arg4 = &temp4;
19488 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19489 }
19490 }
19491 if (obj4) {
19492 {
19493 arg5 = &temp5;
19494 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19495 }
19496 }
19497 if (obj6) {
19498 {
19499 arg7 = wxString_in_helper(obj6);
19500 if (arg7 == NULL) SWIG_fail;
19501 temp7 = True;
19502 }
19503 }
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19507
19508 wxPyEndAllowThreads(__tstate);
19509 if (PyErr_Occurred()) SWIG_fail;
19510 }
19511 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19512 {
19513 if (temp7)
19514 delete arg7;
19515 }
19516 return resultobj;
19517 fail:
19518 {
19519 if (temp7)
19520 delete arg7;
19521 }
19522 return NULL;
19523 }
19524
19525
19526 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19527 PyObject *resultobj;
19528 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19529 int result;
19530 PyObject * obj0 = 0 ;
19531 char *kwnames[] = {
19532 (char *) "self", NULL
19533 };
19534
19535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19537 {
19538 PyThreadState* __tstate = wxPyBeginAllowThreads();
19539 result = (int)(arg1)->GetZoomControl();
19540
19541 wxPyEndAllowThreads(__tstate);
19542 if (PyErr_Occurred()) SWIG_fail;
19543 }
19544 resultobj = PyInt_FromLong((long)result);
19545 return resultobj;
19546 fail:
19547 return NULL;
19548 }
19549
19550
19551 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19552 PyObject *resultobj;
19553 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19554 int arg2 ;
19555 PyObject * obj0 = 0 ;
19556 char *kwnames[] = {
19557 (char *) "self",(char *) "zoom", NULL
19558 };
19559
19560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 (arg1)->SetZoomControl(arg2);
19565
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
19569 Py_INCREF(Py_None); resultobj = Py_None;
19570 return resultobj;
19571 fail:
19572 return NULL;
19573 }
19574
19575
19576 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19577 PyObject *resultobj;
19578 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19579 wxPrintPreview *result;
19580 PyObject * obj0 = 0 ;
19581 char *kwnames[] = {
19582 (char *) "self", NULL
19583 };
19584
19585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19587 {
19588 PyThreadState* __tstate = wxPyBeginAllowThreads();
19589 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19590
19591 wxPyEndAllowThreads(__tstate);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 }
19594 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19595 return resultobj;
19596 fail:
19597 return NULL;
19598 }
19599
19600
19601 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19602 PyObject *resultobj;
19603 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19604 PyObject * obj0 = 0 ;
19605 char *kwnames[] = {
19606 (char *) "self", NULL
19607 };
19608
19609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19611 {
19612 PyThreadState* __tstate = wxPyBeginAllowThreads();
19613 (arg1)->OnNext();
19614
19615 wxPyEndAllowThreads(__tstate);
19616 if (PyErr_Occurred()) SWIG_fail;
19617 }
19618 Py_INCREF(Py_None); resultobj = Py_None;
19619 return resultobj;
19620 fail:
19621 return NULL;
19622 }
19623
19624
19625 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19626 PyObject *resultobj;
19627 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19628 PyObject * obj0 = 0 ;
19629 char *kwnames[] = {
19630 (char *) "self", NULL
19631 };
19632
19633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19635 {
19636 PyThreadState* __tstate = wxPyBeginAllowThreads();
19637 (arg1)->OnPrevious();
19638
19639 wxPyEndAllowThreads(__tstate);
19640 if (PyErr_Occurred()) SWIG_fail;
19641 }
19642 Py_INCREF(Py_None); resultobj = Py_None;
19643 return resultobj;
19644 fail:
19645 return NULL;
19646 }
19647
19648
19649 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19650 PyObject *resultobj;
19651 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19652 PyObject * obj0 = 0 ;
19653 char *kwnames[] = {
19654 (char *) "self", NULL
19655 };
19656
19657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19659 {
19660 PyThreadState* __tstate = wxPyBeginAllowThreads();
19661 (arg1)->OnFirst();
19662
19663 wxPyEndAllowThreads(__tstate);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 }
19666 Py_INCREF(Py_None); resultobj = Py_None;
19667 return resultobj;
19668 fail:
19669 return NULL;
19670 }
19671
19672
19673 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19674 PyObject *resultobj;
19675 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19676 PyObject * obj0 = 0 ;
19677 char *kwnames[] = {
19678 (char *) "self", NULL
19679 };
19680
19681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19683 {
19684 PyThreadState* __tstate = wxPyBeginAllowThreads();
19685 (arg1)->OnLast();
19686
19687 wxPyEndAllowThreads(__tstate);
19688 if (PyErr_Occurred()) SWIG_fail;
19689 }
19690 Py_INCREF(Py_None); resultobj = Py_None;
19691 return resultobj;
19692 fail:
19693 return NULL;
19694 }
19695
19696
19697 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19698 PyObject *resultobj;
19699 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19700 PyObject * obj0 = 0 ;
19701 char *kwnames[] = {
19702 (char *) "self", NULL
19703 };
19704
19705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 (arg1)->OnGoto();
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 Py_INCREF(Py_None); resultobj = Py_None;
19715 return resultobj;
19716 fail:
19717 return NULL;
19718 }
19719
19720
19721 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19722 PyObject *obj;
19723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19724 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19725 Py_INCREF(obj);
19726 return Py_BuildValue((char *)"");
19727 }
19728 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19729 PyObject *resultobj;
19730 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19731 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19732 wxPrintData *arg3 = (wxPrintData *) NULL ;
19733 wxPrintPreview *result;
19734 PyObject * obj0 = 0 ;
19735 PyObject * obj1 = 0 ;
19736 PyObject * obj2 = 0 ;
19737 char *kwnames[] = {
19738 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19739 };
19740
19741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19743 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19744 if (obj2) {
19745 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19746 }
19747 {
19748 PyThreadState* __tstate = wxPyBeginAllowThreads();
19749 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19750
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19755 return resultobj;
19756 fail:
19757 return NULL;
19758 }
19759
19760
19761 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19762 PyObject *resultobj;
19763 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19764 int arg2 ;
19765 bool result;
19766 PyObject * obj0 = 0 ;
19767 char *kwnames[] = {
19768 (char *) "self",(char *) "pageNum", NULL
19769 };
19770
19771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19773 {
19774 PyThreadState* __tstate = wxPyBeginAllowThreads();
19775 result = (bool)(arg1)->SetCurrentPage(arg2);
19776
19777 wxPyEndAllowThreads(__tstate);
19778 if (PyErr_Occurred()) SWIG_fail;
19779 }
19780 resultobj = PyInt_FromLong((long)result);
19781 return resultobj;
19782 fail:
19783 return NULL;
19784 }
19785
19786
19787 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19788 PyObject *resultobj;
19789 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19790 int result;
19791 PyObject * obj0 = 0 ;
19792 char *kwnames[] = {
19793 (char *) "self", NULL
19794 };
19795
19796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19798 {
19799 PyThreadState* __tstate = wxPyBeginAllowThreads();
19800 result = (int)(arg1)->GetCurrentPage();
19801
19802 wxPyEndAllowThreads(__tstate);
19803 if (PyErr_Occurred()) SWIG_fail;
19804 }
19805 resultobj = PyInt_FromLong((long)result);
19806 return resultobj;
19807 fail:
19808 return NULL;
19809 }
19810
19811
19812 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19813 PyObject *resultobj;
19814 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19815 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19816 PyObject * obj0 = 0 ;
19817 PyObject * obj1 = 0 ;
19818 char *kwnames[] = {
19819 (char *) "self",(char *) "printout", NULL
19820 };
19821
19822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19824 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19825 {
19826 PyThreadState* __tstate = wxPyBeginAllowThreads();
19827 (arg1)->SetPrintout(arg2);
19828
19829 wxPyEndAllowThreads(__tstate);
19830 if (PyErr_Occurred()) SWIG_fail;
19831 }
19832 Py_INCREF(Py_None); resultobj = Py_None;
19833 return resultobj;
19834 fail:
19835 return NULL;
19836 }
19837
19838
19839 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19840 PyObject *resultobj;
19841 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19842 wxPyPrintout *result;
19843 PyObject * obj0 = 0 ;
19844 char *kwnames[] = {
19845 (char *) "self", NULL
19846 };
19847
19848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 result = (wxPyPrintout *)(arg1)->GetPrintout();
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 {
19858 resultobj = wxPyMake_wxObject(result);
19859 }
19860 return resultobj;
19861 fail:
19862 return NULL;
19863 }
19864
19865
19866 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19867 PyObject *resultobj;
19868 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19869 wxPyPrintout *result;
19870 PyObject * obj0 = 0 ;
19871 char *kwnames[] = {
19872 (char *) "self", NULL
19873 };
19874
19875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19877 {
19878 PyThreadState* __tstate = wxPyBeginAllowThreads();
19879 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19880
19881 wxPyEndAllowThreads(__tstate);
19882 if (PyErr_Occurred()) SWIG_fail;
19883 }
19884 {
19885 resultobj = wxPyMake_wxObject(result);
19886 }
19887 return resultobj;
19888 fail:
19889 return NULL;
19890 }
19891
19892
19893 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19894 PyObject *resultobj;
19895 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19896 wxFrame *arg2 = (wxFrame *) 0 ;
19897 PyObject * obj0 = 0 ;
19898 PyObject * obj1 = 0 ;
19899 char *kwnames[] = {
19900 (char *) "self",(char *) "frame", NULL
19901 };
19902
19903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19905 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 (arg1)->SetFrame(arg2);
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 Py_INCREF(Py_None); resultobj = Py_None;
19914 return resultobj;
19915 fail:
19916 return NULL;
19917 }
19918
19919
19920 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19921 PyObject *resultobj;
19922 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19923 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19924 PyObject * obj0 = 0 ;
19925 PyObject * obj1 = 0 ;
19926 char *kwnames[] = {
19927 (char *) "self",(char *) "canvas", NULL
19928 };
19929
19930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19933 {
19934 PyThreadState* __tstate = wxPyBeginAllowThreads();
19935 (arg1)->SetCanvas(arg2);
19936
19937 wxPyEndAllowThreads(__tstate);
19938 if (PyErr_Occurred()) SWIG_fail;
19939 }
19940 Py_INCREF(Py_None); resultobj = Py_None;
19941 return resultobj;
19942 fail:
19943 return NULL;
19944 }
19945
19946
19947 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19948 PyObject *resultobj;
19949 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19950 wxFrame *result;
19951 PyObject * obj0 = 0 ;
19952 char *kwnames[] = {
19953 (char *) "self", NULL
19954 };
19955
19956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19958 {
19959 PyThreadState* __tstate = wxPyBeginAllowThreads();
19960 result = (wxFrame *)(arg1)->GetFrame();
19961
19962 wxPyEndAllowThreads(__tstate);
19963 if (PyErr_Occurred()) SWIG_fail;
19964 }
19965 {
19966 resultobj = wxPyMake_wxObject(result);
19967 }
19968 return resultobj;
19969 fail:
19970 return NULL;
19971 }
19972
19973
19974 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19975 PyObject *resultobj;
19976 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19977 wxPreviewCanvas *result;
19978 PyObject * obj0 = 0 ;
19979 char *kwnames[] = {
19980 (char *) "self", NULL
19981 };
19982
19983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
19987 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19988
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19993 return resultobj;
19994 fail:
19995 return NULL;
19996 }
19997
19998
19999 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20000 PyObject *resultobj;
20001 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20002 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20003 wxDC *arg3 = 0 ;
20004 bool result;
20005 PyObject * obj0 = 0 ;
20006 PyObject * obj1 = 0 ;
20007 PyObject * obj2 = 0 ;
20008 char *kwnames[] = {
20009 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20010 };
20011
20012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20014 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20015 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20016 if (arg3 == NULL) {
20017 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20018 }
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 result = (bool)(arg1)->PaintPage(arg2,*arg3);
20022
20023 wxPyEndAllowThreads(__tstate);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
20026 resultobj = PyInt_FromLong((long)result);
20027 return resultobj;
20028 fail:
20029 return NULL;
20030 }
20031
20032
20033 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20034 PyObject *resultobj;
20035 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20036 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20037 wxDC *arg3 = 0 ;
20038 bool result;
20039 PyObject * obj0 = 0 ;
20040 PyObject * obj1 = 0 ;
20041 PyObject * obj2 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20049 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20050 if (arg3 == NULL) {
20051 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20052 }
20053 {
20054 PyThreadState* __tstate = wxPyBeginAllowThreads();
20055 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
20056
20057 wxPyEndAllowThreads(__tstate);
20058 if (PyErr_Occurred()) SWIG_fail;
20059 }
20060 resultobj = PyInt_FromLong((long)result);
20061 return resultobj;
20062 fail:
20063 return NULL;
20064 }
20065
20066
20067 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20068 PyObject *resultobj;
20069 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20070 int arg2 ;
20071 bool result;
20072 PyObject * obj0 = 0 ;
20073 char *kwnames[] = {
20074 (char *) "self",(char *) "pageNum", NULL
20075 };
20076
20077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20079 {
20080 PyThreadState* __tstate = wxPyBeginAllowThreads();
20081 result = (bool)(arg1)->RenderPage(arg2);
20082
20083 wxPyEndAllowThreads(__tstate);
20084 if (PyErr_Occurred()) SWIG_fail;
20085 }
20086 resultobj = PyInt_FromLong((long)result);
20087 return resultobj;
20088 fail:
20089 return NULL;
20090 }
20091
20092
20093 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
20094 PyObject *resultobj;
20095 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20096 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20097 PyObject * obj0 = 0 ;
20098 PyObject * obj1 = 0 ;
20099 char *kwnames[] = {
20100 (char *) "self",(char *) "canvas", NULL
20101 };
20102
20103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
20104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20105 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20106 {
20107 PyThreadState* __tstate = wxPyBeginAllowThreads();
20108 (arg1)->AdjustScrollbars(arg2);
20109
20110 wxPyEndAllowThreads(__tstate);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 Py_INCREF(Py_None); resultobj = Py_None;
20114 return resultobj;
20115 fail:
20116 return NULL;
20117 }
20118
20119
20120 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20121 PyObject *resultobj;
20122 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20123 wxPrintDialogData *result;
20124 PyObject * obj0 = 0 ;
20125 char *kwnames[] = {
20126 (char *) "self", NULL
20127 };
20128
20129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
20130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20131 {
20132 PyThreadState* __tstate = wxPyBeginAllowThreads();
20133 {
20134 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20135 result = (wxPrintDialogData *) &_result_ref;
20136 }
20137
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
20142 return resultobj;
20143 fail:
20144 return NULL;
20145 }
20146
20147
20148 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj;
20150 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20151 int arg2 ;
20152 PyObject * obj0 = 0 ;
20153 char *kwnames[] = {
20154 (char *) "self",(char *) "percent", NULL
20155 };
20156
20157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 (arg1)->SetZoom(arg2);
20162
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 Py_INCREF(Py_None); resultobj = Py_None;
20167 return resultobj;
20168 fail:
20169 return NULL;
20170 }
20171
20172
20173 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20174 PyObject *resultobj;
20175 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20176 int result;
20177 PyObject * obj0 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
20183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20184 {
20185 PyThreadState* __tstate = wxPyBeginAllowThreads();
20186 result = (int)(arg1)->GetZoom();
20187
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 resultobj = PyInt_FromLong((long)result);
20192 return resultobj;
20193 fail:
20194 return NULL;
20195 }
20196
20197
20198 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20199 PyObject *resultobj;
20200 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20201 int result;
20202 PyObject * obj0 = 0 ;
20203 char *kwnames[] = {
20204 (char *) "self", NULL
20205 };
20206
20207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
20208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20209 {
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
20211 result = (int)(arg1)->GetMaxPage();
20212
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 resultobj = PyInt_FromLong((long)result);
20217 return resultobj;
20218 fail:
20219 return NULL;
20220 }
20221
20222
20223 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20224 PyObject *resultobj;
20225 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20226 int result;
20227 PyObject * obj0 = 0 ;
20228 char *kwnames[] = {
20229 (char *) "self", NULL
20230 };
20231
20232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
20233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20234 {
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 result = (int)(arg1)->GetMinPage();
20237
20238 wxPyEndAllowThreads(__tstate);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 }
20241 resultobj = PyInt_FromLong((long)result);
20242 return resultobj;
20243 fail:
20244 return NULL;
20245 }
20246
20247
20248 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20249 PyObject *resultobj;
20250 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20251 bool result;
20252 PyObject * obj0 = 0 ;
20253 char *kwnames[] = {
20254 (char *) "self", NULL
20255 };
20256
20257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
20258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20259 {
20260 PyThreadState* __tstate = wxPyBeginAllowThreads();
20261 result = (bool)(arg1)->Ok();
20262
20263 wxPyEndAllowThreads(__tstate);
20264 if (PyErr_Occurred()) SWIG_fail;
20265 }
20266 resultobj = PyInt_FromLong((long)result);
20267 return resultobj;
20268 fail:
20269 return NULL;
20270 }
20271
20272
20273 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20274 PyObject *resultobj;
20275 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20276 bool arg2 ;
20277 PyObject * obj0 = 0 ;
20278 PyObject * obj1 = 0 ;
20279 char *kwnames[] = {
20280 (char *) "self",(char *) "ok", NULL
20281 };
20282
20283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
20284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20285 arg2 = PyInt_AsLong(obj1) ? true : false;
20286 if (PyErr_Occurred()) SWIG_fail;
20287 {
20288 PyThreadState* __tstate = wxPyBeginAllowThreads();
20289 (arg1)->SetOk(arg2);
20290
20291 wxPyEndAllowThreads(__tstate);
20292 if (PyErr_Occurred()) SWIG_fail;
20293 }
20294 Py_INCREF(Py_None); resultobj = Py_None;
20295 return resultobj;
20296 fail:
20297 return NULL;
20298 }
20299
20300
20301 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20302 PyObject *resultobj;
20303 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20304 bool arg2 ;
20305 bool result;
20306 PyObject * obj0 = 0 ;
20307 PyObject * obj1 = 0 ;
20308 char *kwnames[] = {
20309 (char *) "self",(char *) "interactive", NULL
20310 };
20311
20312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20314 arg2 = PyInt_AsLong(obj1) ? true : false;
20315 if (PyErr_Occurred()) SWIG_fail;
20316 {
20317 PyThreadState* __tstate = wxPyBeginAllowThreads();
20318 result = (bool)(arg1)->Print(arg2);
20319
20320 wxPyEndAllowThreads(__tstate);
20321 if (PyErr_Occurred()) SWIG_fail;
20322 }
20323 resultobj = PyInt_FromLong((long)result);
20324 return resultobj;
20325 fail:
20326 return NULL;
20327 }
20328
20329
20330 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20331 PyObject *resultobj;
20332 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20333 PyObject * obj0 = 0 ;
20334 char *kwnames[] = {
20335 (char *) "self", NULL
20336 };
20337
20338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20340 {
20341 PyThreadState* __tstate = wxPyBeginAllowThreads();
20342 (arg1)->DetermineScaling();
20343
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 Py_INCREF(Py_None); resultobj = Py_None;
20348 return resultobj;
20349 fail:
20350 return NULL;
20351 }
20352
20353
20354 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20355 PyObject *obj;
20356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20357 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20358 Py_INCREF(obj);
20359 return Py_BuildValue((char *)"");
20360 }
20361 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20362 PyObject *resultobj;
20363 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20364 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20365 wxPrintData *arg3 = (wxPrintData *) NULL ;
20366 wxPyPrintPreview *result;
20367 PyObject * obj0 = 0 ;
20368 PyObject * obj1 = 0 ;
20369 PyObject * obj2 = 0 ;
20370 char *kwnames[] = {
20371 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20372 };
20373
20374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20377 if (obj2) {
20378 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20379 }
20380 {
20381 PyThreadState* __tstate = wxPyBeginAllowThreads();
20382 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20383
20384 wxPyEndAllowThreads(__tstate);
20385 if (PyErr_Occurred()) SWIG_fail;
20386 }
20387 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20388 return resultobj;
20389 fail:
20390 return NULL;
20391 }
20392
20393
20394 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20395 PyObject *resultobj;
20396 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20397 PyObject *arg2 = (PyObject *) 0 ;
20398 PyObject *arg3 = (PyObject *) 0 ;
20399 PyObject * obj0 = 0 ;
20400 PyObject * obj1 = 0 ;
20401 PyObject * obj2 = 0 ;
20402 char *kwnames[] = {
20403 (char *) "self",(char *) "self",(char *) "_class", NULL
20404 };
20405
20406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20408 arg2 = obj1;
20409 arg3 = obj2;
20410 {
20411 PyThreadState* __tstate = wxPyBeginAllowThreads();
20412 (arg1)->_setCallbackInfo(arg2,arg3);
20413
20414 wxPyEndAllowThreads(__tstate);
20415 if (PyErr_Occurred()) SWIG_fail;
20416 }
20417 Py_INCREF(Py_None); resultobj = Py_None;
20418 return resultobj;
20419 fail:
20420 return NULL;
20421 }
20422
20423
20424 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20425 PyObject *resultobj;
20426 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20427 int arg2 ;
20428 bool result;
20429 PyObject * obj0 = 0 ;
20430 char *kwnames[] = {
20431 (char *) "self",(char *) "pageNum", NULL
20432 };
20433
20434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20436 {
20437 PyThreadState* __tstate = wxPyBeginAllowThreads();
20438 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20439
20440 wxPyEndAllowThreads(__tstate);
20441 if (PyErr_Occurred()) SWIG_fail;
20442 }
20443 resultobj = PyInt_FromLong((long)result);
20444 return resultobj;
20445 fail:
20446 return NULL;
20447 }
20448
20449
20450 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20451 PyObject *resultobj;
20452 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20453 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20454 wxDC *arg3 = 0 ;
20455 bool result;
20456 PyObject * obj0 = 0 ;
20457 PyObject * obj1 = 0 ;
20458 PyObject * obj2 = 0 ;
20459 char *kwnames[] = {
20460 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20461 };
20462
20463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20465 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20466 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20467 if (arg3 == NULL) {
20468 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20469 }
20470 {
20471 PyThreadState* __tstate = wxPyBeginAllowThreads();
20472 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20473
20474 wxPyEndAllowThreads(__tstate);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
20477 resultobj = PyInt_FromLong((long)result);
20478 return resultobj;
20479 fail:
20480 return NULL;
20481 }
20482
20483
20484 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20485 PyObject *resultobj;
20486 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20487 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20488 wxDC *arg3 = 0 ;
20489 bool result;
20490 PyObject * obj0 = 0 ;
20491 PyObject * obj1 = 0 ;
20492 PyObject * obj2 = 0 ;
20493 char *kwnames[] = {
20494 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20499 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20500 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20501 if (arg3 == NULL) {
20502 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20503 }
20504 {
20505 PyThreadState* __tstate = wxPyBeginAllowThreads();
20506 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20507
20508 wxPyEndAllowThreads(__tstate);
20509 if (PyErr_Occurred()) SWIG_fail;
20510 }
20511 resultobj = PyInt_FromLong((long)result);
20512 return resultobj;
20513 fail:
20514 return NULL;
20515 }
20516
20517
20518 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20519 PyObject *resultobj;
20520 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20521 int arg2 ;
20522 bool result;
20523 PyObject * obj0 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "self",(char *) "pageNum", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20530 {
20531 PyThreadState* __tstate = wxPyBeginAllowThreads();
20532 result = (bool)(arg1)->base_RenderPage(arg2);
20533
20534 wxPyEndAllowThreads(__tstate);
20535 if (PyErr_Occurred()) SWIG_fail;
20536 }
20537 resultobj = PyInt_FromLong((long)result);
20538 return resultobj;
20539 fail:
20540 return NULL;
20541 }
20542
20543
20544 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20545 PyObject *resultobj;
20546 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20547 int arg2 ;
20548 PyObject * obj0 = 0 ;
20549 char *kwnames[] = {
20550 (char *) "self",(char *) "percent", NULL
20551 };
20552
20553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 (arg1)->base_SetZoom(arg2);
20558
20559 wxPyEndAllowThreads(__tstate);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 }
20562 Py_INCREF(Py_None); resultobj = Py_None;
20563 return resultobj;
20564 fail:
20565 return NULL;
20566 }
20567
20568
20569 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20570 PyObject *resultobj;
20571 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20572 bool arg2 ;
20573 bool result;
20574 PyObject * obj0 = 0 ;
20575 PyObject * obj1 = 0 ;
20576 char *kwnames[] = {
20577 (char *) "self",(char *) "interactive", NULL
20578 };
20579
20580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20582 arg2 = PyInt_AsLong(obj1) ? true : false;
20583 if (PyErr_Occurred()) SWIG_fail;
20584 {
20585 PyThreadState* __tstate = wxPyBeginAllowThreads();
20586 result = (bool)(arg1)->base_Print(arg2);
20587
20588 wxPyEndAllowThreads(__tstate);
20589 if (PyErr_Occurred()) SWIG_fail;
20590 }
20591 resultobj = PyInt_FromLong((long)result);
20592 return resultobj;
20593 fail:
20594 return NULL;
20595 }
20596
20597
20598 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20599 PyObject *resultobj;
20600 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20601 PyObject * obj0 = 0 ;
20602 char *kwnames[] = {
20603 (char *) "self", NULL
20604 };
20605
20606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20608 {
20609 PyThreadState* __tstate = wxPyBeginAllowThreads();
20610 (arg1)->base_DetermineScaling();
20611
20612 wxPyEndAllowThreads(__tstate);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 }
20615 Py_INCREF(Py_None); resultobj = Py_None;
20616 return resultobj;
20617 fail:
20618 return NULL;
20619 }
20620
20621
20622 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20623 PyObject *obj;
20624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20625 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20626 Py_INCREF(obj);
20627 return Py_BuildValue((char *)"");
20628 }
20629 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20630 PyObject *resultobj;
20631 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20632 wxFrame *arg2 = (wxFrame *) 0 ;
20633 wxString *arg3 = 0 ;
20634 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20635 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20636 wxSize const &arg5_defvalue = wxDefaultSize ;
20637 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20638 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20639 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20640 wxString *arg7 = (wxString *) &arg7_defvalue ;
20641 wxPyPreviewFrame *result;
20642 bool temp3 = False ;
20643 wxPoint temp4 ;
20644 wxSize temp5 ;
20645 bool temp7 = False ;
20646 PyObject * obj0 = 0 ;
20647 PyObject * obj1 = 0 ;
20648 PyObject * obj2 = 0 ;
20649 PyObject * obj3 = 0 ;
20650 PyObject * obj4 = 0 ;
20651 PyObject * obj6 = 0 ;
20652 char *kwnames[] = {
20653 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20654 };
20655
20656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20659 {
20660 arg3 = wxString_in_helper(obj2);
20661 if (arg3 == NULL) SWIG_fail;
20662 temp3 = True;
20663 }
20664 if (obj3) {
20665 {
20666 arg4 = &temp4;
20667 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20668 }
20669 }
20670 if (obj4) {
20671 {
20672 arg5 = &temp5;
20673 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20674 }
20675 }
20676 if (obj6) {
20677 {
20678 arg7 = wxString_in_helper(obj6);
20679 if (arg7 == NULL) SWIG_fail;
20680 temp7 = True;
20681 }
20682 }
20683 {
20684 PyThreadState* __tstate = wxPyBeginAllowThreads();
20685 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20686
20687 wxPyEndAllowThreads(__tstate);
20688 if (PyErr_Occurred()) SWIG_fail;
20689 }
20690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20691 {
20692 if (temp3)
20693 delete arg3;
20694 }
20695 {
20696 if (temp7)
20697 delete arg7;
20698 }
20699 return resultobj;
20700 fail:
20701 {
20702 if (temp3)
20703 delete arg3;
20704 }
20705 {
20706 if (temp7)
20707 delete arg7;
20708 }
20709 return NULL;
20710 }
20711
20712
20713 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20714 PyObject *resultobj;
20715 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20716 PyObject *arg2 = (PyObject *) 0 ;
20717 PyObject *arg3 = (PyObject *) 0 ;
20718 PyObject * obj0 = 0 ;
20719 PyObject * obj1 = 0 ;
20720 PyObject * obj2 = 0 ;
20721 char *kwnames[] = {
20722 (char *) "self",(char *) "self",(char *) "_class", NULL
20723 };
20724
20725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20727 arg2 = obj1;
20728 arg3 = obj2;
20729 {
20730 PyThreadState* __tstate = wxPyBeginAllowThreads();
20731 (arg1)->_setCallbackInfo(arg2,arg3);
20732
20733 wxPyEndAllowThreads(__tstate);
20734 if (PyErr_Occurred()) SWIG_fail;
20735 }
20736 Py_INCREF(Py_None); resultobj = Py_None;
20737 return resultobj;
20738 fail:
20739 return NULL;
20740 }
20741
20742
20743 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20744 PyObject *resultobj;
20745 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20746 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20747 PyObject * obj0 = 0 ;
20748 PyObject * obj1 = 0 ;
20749 char *kwnames[] = {
20750 (char *) "self",(char *) "canvas", NULL
20751 };
20752
20753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20756 {
20757 PyThreadState* __tstate = wxPyBeginAllowThreads();
20758 (arg1)->SetPreviewCanvas(arg2);
20759
20760 wxPyEndAllowThreads(__tstate);
20761 if (PyErr_Occurred()) SWIG_fail;
20762 }
20763 Py_INCREF(Py_None); resultobj = Py_None;
20764 return resultobj;
20765 fail:
20766 return NULL;
20767 }
20768
20769
20770 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20771 PyObject *resultobj;
20772 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20773 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20774 PyObject * obj0 = 0 ;
20775 PyObject * obj1 = 0 ;
20776 char *kwnames[] = {
20777 (char *) "self",(char *) "bar", NULL
20778 };
20779
20780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20783 {
20784 PyThreadState* __tstate = wxPyBeginAllowThreads();
20785 (arg1)->SetControlBar(arg2);
20786
20787 wxPyEndAllowThreads(__tstate);
20788 if (PyErr_Occurred()) SWIG_fail;
20789 }
20790 Py_INCREF(Py_None); resultobj = Py_None;
20791 return resultobj;
20792 fail:
20793 return NULL;
20794 }
20795
20796
20797 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20798 PyObject *resultobj;
20799 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20800 PyObject * obj0 = 0 ;
20801 char *kwnames[] = {
20802 (char *) "self", NULL
20803 };
20804
20805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20807 {
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 (arg1)->base_Initialize();
20810
20811 wxPyEndAllowThreads(__tstate);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 Py_INCREF(Py_None); resultobj = Py_None;
20815 return resultobj;
20816 fail:
20817 return NULL;
20818 }
20819
20820
20821 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20822 PyObject *resultobj;
20823 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20824 PyObject * obj0 = 0 ;
20825 char *kwnames[] = {
20826 (char *) "self", NULL
20827 };
20828
20829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20831 {
20832 PyThreadState* __tstate = wxPyBeginAllowThreads();
20833 (arg1)->base_CreateCanvas();
20834
20835 wxPyEndAllowThreads(__tstate);
20836 if (PyErr_Occurred()) SWIG_fail;
20837 }
20838 Py_INCREF(Py_None); resultobj = Py_None;
20839 return resultobj;
20840 fail:
20841 return NULL;
20842 }
20843
20844
20845 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20846 PyObject *resultobj;
20847 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20848 PyObject * obj0 = 0 ;
20849 char *kwnames[] = {
20850 (char *) "self", NULL
20851 };
20852
20853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20855 {
20856 PyThreadState* __tstate = wxPyBeginAllowThreads();
20857 (arg1)->base_CreateControlBar();
20858
20859 wxPyEndAllowThreads(__tstate);
20860 if (PyErr_Occurred()) SWIG_fail;
20861 }
20862 Py_INCREF(Py_None); resultobj = Py_None;
20863 return resultobj;
20864 fail:
20865 return NULL;
20866 }
20867
20868
20869 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20870 PyObject *obj;
20871 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20872 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20873 Py_INCREF(obj);
20874 return Py_BuildValue((char *)"");
20875 }
20876 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20877 PyObject *resultobj;
20878 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20879 long arg2 ;
20880 wxWindow *arg3 = (wxWindow *) 0 ;
20881 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20882 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20883 wxSize const &arg5_defvalue = wxDefaultSize ;
20884 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20885 long arg6 = (long) 0 ;
20886 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20887 wxString *arg7 = (wxString *) &arg7_defvalue ;
20888 wxPyPreviewControlBar *result;
20889 wxPoint temp4 ;
20890 wxSize temp5 ;
20891 bool temp7 = False ;
20892 PyObject * obj0 = 0 ;
20893 PyObject * obj2 = 0 ;
20894 PyObject * obj3 = 0 ;
20895 PyObject * obj4 = 0 ;
20896 PyObject * obj6 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20903 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20904 if (obj3) {
20905 {
20906 arg4 = &temp4;
20907 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20908 }
20909 }
20910 if (obj4) {
20911 {
20912 arg5 = &temp5;
20913 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20914 }
20915 }
20916 if (obj6) {
20917 {
20918 arg7 = wxString_in_helper(obj6);
20919 if (arg7 == NULL) SWIG_fail;
20920 temp7 = True;
20921 }
20922 }
20923 {
20924 PyThreadState* __tstate = wxPyBeginAllowThreads();
20925 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20926
20927 wxPyEndAllowThreads(__tstate);
20928 if (PyErr_Occurred()) SWIG_fail;
20929 }
20930 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20931 {
20932 if (temp7)
20933 delete arg7;
20934 }
20935 return resultobj;
20936 fail:
20937 {
20938 if (temp7)
20939 delete arg7;
20940 }
20941 return NULL;
20942 }
20943
20944
20945 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20946 PyObject *resultobj;
20947 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20948 PyObject *arg2 = (PyObject *) 0 ;
20949 PyObject *arg3 = (PyObject *) 0 ;
20950 PyObject * obj0 = 0 ;
20951 PyObject * obj1 = 0 ;
20952 PyObject * obj2 = 0 ;
20953 char *kwnames[] = {
20954 (char *) "self",(char *) "self",(char *) "_class", NULL
20955 };
20956
20957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20959 arg2 = obj1;
20960 arg3 = obj2;
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 (arg1)->_setCallbackInfo(arg2,arg3);
20964
20965 wxPyEndAllowThreads(__tstate);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 Py_INCREF(Py_None); resultobj = Py_None;
20969 return resultobj;
20970 fail:
20971 return NULL;
20972 }
20973
20974
20975 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20976 PyObject *resultobj;
20977 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20978 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20979 PyObject * obj0 = 0 ;
20980 PyObject * obj1 = 0 ;
20981 char *kwnames[] = {
20982 (char *) "self",(char *) "preview", NULL
20983 };
20984
20985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 (arg1)->SetPrintPreview(arg2);
20991
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 Py_INCREF(Py_None); resultobj = Py_None;
20996 return resultobj;
20997 fail:
20998 return NULL;
20999 }
21000
21001
21002 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
21003 PyObject *resultobj;
21004 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21005 PyObject * obj0 = 0 ;
21006 char *kwnames[] = {
21007 (char *) "self", NULL
21008 };
21009
21010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
21011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21012 {
21013 PyThreadState* __tstate = wxPyBeginAllowThreads();
21014 (arg1)->base_CreateButtons();
21015
21016 wxPyEndAllowThreads(__tstate);
21017 if (PyErr_Occurred()) SWIG_fail;
21018 }
21019 Py_INCREF(Py_None); resultobj = Py_None;
21020 return resultobj;
21021 fail:
21022 return NULL;
21023 }
21024
21025
21026 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21027 PyObject *resultobj;
21028 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21029 int arg2 ;
21030 PyObject * obj0 = 0 ;
21031 char *kwnames[] = {
21032 (char *) "self",(char *) "zoom", NULL
21033 };
21034
21035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
21036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21037 {
21038 PyThreadState* __tstate = wxPyBeginAllowThreads();
21039 (arg1)->base_SetZoomControl(arg2);
21040
21041 wxPyEndAllowThreads(__tstate);
21042 if (PyErr_Occurred()) SWIG_fail;
21043 }
21044 Py_INCREF(Py_None); resultobj = Py_None;
21045 return resultobj;
21046 fail:
21047 return NULL;
21048 }
21049
21050
21051 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21052 PyObject *obj;
21053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21054 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
21055 Py_INCREF(obj);
21056 return Py_BuildValue((char *)"");
21057 }
21058 static PyMethodDef SwigMethods[] = {
21059 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
21064 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
21079 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
21080 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
21087 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
21101 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
21124 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
21137 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
21141 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
21145 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
21150 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
21165 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
21191 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
21198 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
21221 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
21229 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
21241 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
21247 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
21256 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
21262 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
21267 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
21273 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
21277 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21295 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21321 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21328 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21336 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21338 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21347 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21351 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21359 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21361 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21362 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21367 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21369 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21370 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21371 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21372 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21376 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21377 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21378 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21381 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21382 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21386 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21387 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21388 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21389 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21390 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21392 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21393 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21394 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21396 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21397 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21399 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21400 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21402 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21403 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21404 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21405 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21406 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21408 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21409 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21412 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21413 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21414 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21415 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21417 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21418 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21419 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21421 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21422 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21423 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21425 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21427 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21428 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21429 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21430 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21431 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21432 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21433 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21434 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21436 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21437 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21438 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21439 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21440 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21441 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21442 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21443 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21444 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21445 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21446 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21447 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21448 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21449 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21450 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21451 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21452 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21453 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21454 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21455 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21456 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21457 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21458 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21459 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21460 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21461 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21462 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21463 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21464 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21465 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21466 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21467 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21468 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21469 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21470 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21471 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21472 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21473 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21474 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21475 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21476 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21477 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21478 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21479 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21480 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21481 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21482 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21483 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21484 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21485 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21486 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21487 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21488 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21489 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21490 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21491 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21492 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21493 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21494 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21495 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21496 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21497 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21498 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21499 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21500 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21501 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21502 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21503 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21504 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21505 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21506 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21507 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21508 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21509 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21510 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21511 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21512 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21513 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21514 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21515 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21516 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21517 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21518 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21519 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21520 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21521 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21522 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21523 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21524 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21525 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21526 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21527 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21528 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21529 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21530 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21531 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21532 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21533 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21534 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21535 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21536 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21537 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21538 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21539 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21540 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21541 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21542 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21543 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21544 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21545 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21546 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21547 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21548 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21549 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21550 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21551 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21552 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21553 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21554 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21555 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21556 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21557 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21558 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21559 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21560 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21561 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21562 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21563 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21564 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21565 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21566 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21567 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21568 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21569 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21570 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21571 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21572 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21573 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21574 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21575 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21576 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21577 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21578 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21579 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21580 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21581 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21582 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21583 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21584 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21585 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21586 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21587 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21588 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21589 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21590 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21591 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21592 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21593 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21594 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21595 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21596 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21597 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21598 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21599 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21600 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21601 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21602 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21603 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21604 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21605 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21606 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21607 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21608 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21609 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21610 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21611 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21612 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21613 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21614 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21615 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21616 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21617 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21618 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21619 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21620 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21621 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21622 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21623 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21624 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21625 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21626 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21627 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21628 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21629 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21630 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21631 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21632 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21633 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21634 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21635 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21636 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21637 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21638 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21639 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21640 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21641 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21642 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21643 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21644 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21645 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21646 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21647 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21648 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21649 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21650 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21651 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21652 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21653 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21654 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21655 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21656 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21657 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21658 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21659 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21660 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21661 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21662 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21663 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21664 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21665 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21666 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21667 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21668 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21669 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21670 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21671 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21672 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21673 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21674 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21675 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21676 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21677 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21678 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21679 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21680 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21681 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21682 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21683 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21684 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21685 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21686 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21687 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21688 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21689 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21690 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21691 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21692 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21693 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21694 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21695 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21696 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21697 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21698 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21699 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21700 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21701 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21702 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21703 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21704 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21705 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21706 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21707 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21708 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21709 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21710 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21711 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21712 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21713 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21714 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21715 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21716 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21717 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21718 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21719 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21720 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21721 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21722 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21723 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21724 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21725 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21726 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21727 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21728 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21729 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21730 { NULL, NULL }
21731 };
21732
21733
21734 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21735
21736 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21737 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21738 }
21739 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21740 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21741 }
21742 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21743 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21744 }
21745 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21746 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21747 }
21748 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21749 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21750 }
21751 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21752 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21753 }
21754 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21755 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21756 }
21757 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21758 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21759 }
21760 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21761 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21762 }
21763 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21764 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21765 }
21766 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21767 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21768 }
21769 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21770 return (void *)((wxEvent *) ((wxPyEvent *) x));
21771 }
21772 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21773 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21774 }
21775 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21776 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21777 }
21778 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21779 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21780 }
21781 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21782 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21783 }
21784 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21785 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21786 }
21787 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21788 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21789 }
21790 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21791 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21792 }
21793 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21794 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21795 }
21796 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21797 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21798 }
21799 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21800 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21801 }
21802 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21803 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21804 }
21805 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21806 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21807 }
21808 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21809 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21810 }
21811 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21812 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21813 }
21814 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21815 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21816 }
21817 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21818 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21819 }
21820 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21821 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21822 }
21823 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21824 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21825 }
21826 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21827 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21828 }
21829 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21830 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21831 }
21832 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21833 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21834 }
21835 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21836 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21837 }
21838 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21839 return (void *)((wxEvent *) ((wxShowEvent *) x));
21840 }
21841 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21842 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21843 }
21844 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21845 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21846 }
21847 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21848 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21849 }
21850 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21851 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21852 }
21853 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21854 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21855 }
21856 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21857 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21858 }
21859 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21860 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21861 }
21862 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21863 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21864 }
21865 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21866 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21867 }
21868 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21869 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21870 }
21871 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21872 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21873 }
21874 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21875 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21876 }
21877 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21878 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21879 }
21880 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21881 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21882 }
21883 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21884 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21885 }
21886 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21887 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21888 }
21889 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21890 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21891 }
21892 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21893 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21894 }
21895 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21896 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21897 }
21898 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21899 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21900 }
21901 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21902 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21903 }
21904 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21905 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21906 }
21907 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21908 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21909 }
21910 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21911 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21912 }
21913 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21914 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21915 }
21916 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21917 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21918 }
21919 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21920 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21921 }
21922 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21923 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21924 }
21925 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21926 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21927 }
21928 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21929 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21930 }
21931 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21932 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21933 }
21934 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21935 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21936 }
21937 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21938 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21939 }
21940 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21941 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21942 }
21943 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21944 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21945 }
21946 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21947 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21948 }
21949 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21950 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21951 }
21952 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21953 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21954 }
21955 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21956 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21957 }
21958 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21959 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21960 }
21961 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21962 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21963 }
21964 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21965 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21966 }
21967 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21968 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21969 }
21970 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21971 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21972 }
21973 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21974 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21975 }
21976 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21977 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21978 }
21979 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21980 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21981 }
21982 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21983 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21984 }
21985 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21986 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21987 }
21988 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21989 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21990 }
21991 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21992 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21993 }
21994 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21995 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21996 }
21997 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21998 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21999 }
22000 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
22001 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22002 }
22003 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
22004 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22005 }
22006 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
22007 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22008 }
22009 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
22010 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22011 }
22012 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
22013 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
22014 }
22015 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
22016 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
22017 }
22018 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
22019 return (void *)((wxFrame *) ((wxProgressDialog *) x));
22020 }
22021 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
22022 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
22023 }
22024 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
22025 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22026 }
22027 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
22028 return (void *)((wxFrame *) ((wxMiniFrame *) x));
22029 }
22030 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
22031 return (void *)((wxFrame *) ((wxSplashScreen *) x));
22032 }
22033 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
22034 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
22035 }
22036 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
22037 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
22038 }
22039 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
22040 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
22041 }
22042 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
22043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22044 }
22045 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
22046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22047 }
22048 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
22049 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
22050 }
22051 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
22052 return (void *)((wxObject *) ((wxSizerItem *) x));
22053 }
22054 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
22055 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
22056 }
22057 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
22058 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
22059 }
22060 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
22061 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
22062 }
22063 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
22064 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
22065 }
22066 static void *_p_wxSizerTo_p_wxObject(void *x) {
22067 return (void *)((wxObject *) ((wxSizer *) x));
22068 }
22069 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
22070 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
22071 }
22072 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
22073 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
22074 }
22075 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
22076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
22077 }
22078 static void *_p_wxEventTo_p_wxObject(void *x) {
22079 return (void *)((wxObject *) ((wxEvent *) x));
22080 }
22081 static void *_p_wxFontDataTo_p_wxObject(void *x) {
22082 return (void *)((wxObject *) ((wxFontData *) x));
22083 }
22084 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
22085 return (void *)((wxObject *) ((wxPrintData *) x));
22086 }
22087 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
22088 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
22089 }
22090 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
22091 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
22092 }
22093 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
22094 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
22095 }
22096 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
22097 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
22098 }
22099 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
22100 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
22101 }
22102 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
22103 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
22104 }
22105 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
22106 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
22107 }
22108 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
22109 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
22110 }
22111 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
22112 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
22113 }
22114 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
22115 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
22116 }
22117 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
22118 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22119 }
22120 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
22121 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
22122 }
22123 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
22124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22125 }
22126 static void *_p_wxControlTo_p_wxObject(void *x) {
22127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
22128 }
22129 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
22130 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
22131 }
22132 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
22133 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
22134 }
22135 static void *_p_wxFSFileTo_p_wxObject(void *x) {
22136 return (void *)((wxObject *) ((wxFSFile *) x));
22137 }
22138 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
22139 return (void *)((wxObject *) ((wxFindReplaceData *) x));
22140 }
22141 static void *_p_wxPySizerTo_p_wxObject(void *x) {
22142 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
22143 }
22144 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
22145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22146 }
22147 static void *_p_wxColourDataTo_p_wxObject(void *x) {
22148 return (void *)((wxObject *) ((wxColourData *) x));
22149 }
22150 static void *_p_wxPyEventTo_p_wxObject(void *x) {
22151 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
22152 }
22153 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
22154 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
22155 }
22156 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
22157 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
22158 }
22159 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
22160 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22161 }
22162 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
22163 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22164 }
22165 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
22166 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22167 }
22168 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
22169 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22170 }
22171 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
22172 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22173 }
22174 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
22175 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22176 }
22177 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
22178 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22179 }
22180 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
22181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22182 }
22183 static void *_p_wxShowEventTo_p_wxObject(void *x) {
22184 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
22185 }
22186 static void *_p_wxPrinterTo_p_wxObject(void *x) {
22187 return (void *)((wxObject *) ((wxPrinter *) x));
22188 }
22189 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
22190 return (void *)((wxObject *) ((wxMenuItem *) x));
22191 }
22192 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
22193 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
22194 }
22195 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
22196 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
22197 }
22198 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
22199 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
22200 }
22201 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
22202 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
22203 }
22204 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
22205 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
22206 }
22207 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
22208 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
22209 }
22210 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
22211 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
22212 }
22213 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
22214 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
22215 }
22216 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
22217 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
22218 }
22219 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
22220 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
22221 }
22222 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
22223 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
22224 }
22225 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
22226 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
22227 }
22228 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
22229 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
22230 }
22231 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
22232 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
22233 }
22234 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
22235 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
22236 }
22237 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
22238 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
22239 }
22240 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
22241 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
22242 }
22243 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
22244 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
22245 }
22246 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
22247 return (void *)((wxObject *) ((wxImageHandler *) x));
22248 }
22249 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
22250 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
22251 }
22252 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
22253 return (void *)((wxObject *) ((wxEvtHandler *) x));
22254 }
22255 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
22256 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
22257 }
22258 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
22259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22260 }
22261 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
22262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22263 }
22264 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
22265 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
22266 }
22267 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
22268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22269 }
22270 static void *_p_wxImageTo_p_wxObject(void *x) {
22271 return (void *)((wxObject *) ((wxImage *) x));
22272 }
22273 static void *_p_wxFrameTo_p_wxObject(void *x) {
22274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22275 }
22276 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
22277 return (void *)((wxObject *) ((wxPyPrintout *) x));
22278 }
22279 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
22280 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
22281 }
22282 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
22283 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
22284 }
22285 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
22286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
22287 }
22288 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
22289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22290 }
22291 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
22292 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22293 }
22294 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22295 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22296 }
22297 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22298 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22299 }
22300 static void *_p_wxWindowTo_p_wxObject(void *x) {
22301 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22302 }
22303 static void *_p_wxMenuTo_p_wxObject(void *x) {
22304 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22305 }
22306 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22308 }
22309 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22311 }
22312 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22314 }
22315 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22317 }
22318 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22320 }
22321 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22323 }
22324 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22326 }
22327 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22329 }
22330 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22331 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22332 }
22333 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22334 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22335 }
22336 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22338 }
22339 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22341 }
22342 static void *_p_wxSashEventTo_p_wxObject(void *x) {
22343 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22344 }
22345 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22346 return (void *)((wxObject *) ((wxPrintPreview *) x));
22347 }
22348 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22349 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22350 }
22351 static void *_p_wxPanelTo_p_wxObject(void *x) {
22352 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22353 }
22354 static void *_p_wxDialogTo_p_wxObject(void *x) {
22355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22356 }
22357 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22359 }
22360 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22362 }
22363 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22365 }
22366 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22368 }
22369 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22371 }
22372 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22373 return (void *)((wxObject *) ((wxFileSystem *) x));
22374 }
22375 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22376 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22377 }
22378 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22379 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22380 }
22381 static void *_p_wxPyAppTo_p_wxObject(void *x) {
22382 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22383 }
22384 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22385 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22386 }
22387 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22388 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22389 }
22390 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22391 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22392 }
22393 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22394 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22395 }
22396 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22397 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22398 }
22399 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22401 }
22402 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22403 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22404 }
22405 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22406 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22407 }
22408 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22409 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22410 }
22411 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22412 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22413 }
22414 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22415 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22416 }
22417 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22418 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22419 }
22420 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22421 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22422 }
22423 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22424 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22425 }
22426 static void *_p_wxValidatorTo_p_wxObject(void *x) {
22427 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22428 }
22429 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22430 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22431 }
22432 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22433 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22434 }
22435 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22436 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22437 }
22438 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22439 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22440 }
22441 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22442 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22443 }
22444 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22445 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22446 }
22447 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22448 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22449 }
22450 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22451 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22452 }
22453 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22454 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22455 }
22456 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22457 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22458 }
22459 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22460 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22461 }
22462 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22463 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22464 }
22465 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22466 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22467 }
22468 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22469 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22470 }
22471 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22472 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22473 }
22474 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22475 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22476 }
22477 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22478 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22479 }
22480 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22481 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22482 }
22483 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22484 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22485 }
22486 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22487 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22488 }
22489 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22490 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22491 }
22492 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22493 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22494 }
22495 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22496 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22497 }
22498 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22499 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22500 }
22501 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22502 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22503 }
22504 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22505 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22506 }
22507 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22508 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22509 }
22510 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22511 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22512 }
22513 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22514 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22515 }
22516 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22517 return (void *)((wxWindow *) ((wxMenuBar *) x));
22518 }
22519 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22520 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22521 }
22522 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22523 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22524 }
22525 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22526 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22527 }
22528 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22529 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22530 }
22531 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22532 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22533 }
22534 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22535 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22536 }
22537 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22538 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22539 }
22540 static void *_p_wxPanelTo_p_wxWindow(void *x) {
22541 return (void *)((wxWindow *) ((wxPanel *) x));
22542 }
22543 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22544 return (void *)((wxWindow *) ((wxStatusBar *) x));
22545 }
22546 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22547 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22548 }
22549 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22550 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22551 }
22552 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22553 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22554 }
22555 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22556 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22557 }
22558 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22559 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22560 }
22561 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22562 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22563 }
22564 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22565 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22566 }
22567 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22568 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22569 }
22570 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22571 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22572 }
22573 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22574 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22575 }
22576 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22577 return (void *)((wxWindow *) ((wxSashWindow *) x));
22578 }
22579 static void *_p_wxControlTo_p_wxWindow(void *x) {
22580 return (void *)((wxWindow *) ((wxControl *) x));
22581 }
22582 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22583 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22584 }
22585 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22586 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22587 }
22588 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22589 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22590 }
22591 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22592 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22593 }
22594 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22595 return (void *)((wxWindow *) ((wxPyWindow *) x));
22596 }
22597 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22598 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22599 }
22600 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22601 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22602 }
22603 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22604 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22605 }
22606 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22607 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22608 }
22609 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22610 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22611 }
22612 static void *_p_wxFrameTo_p_wxWindow(void *x) {
22613 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22614 }
22615 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22616 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22617 }
22618 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22619 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22620 }
22621 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22622 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22623 }
22624 static void *_p_wxDialogTo_p_wxWindow(void *x) {
22625 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22626 }
22627 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22628 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22629 }
22630 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22631 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22632 }
22633 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22634 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22635 }
22636 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22637 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22638 }
22639 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22640 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22641 }
22642 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22643 return (void *)((wxDialog *) ((wxColourDialog *) x));
22644 }
22645 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22646 return (void *)((wxDialog *) ((wxDirDialog *) x));
22647 }
22648 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22649 return (void *)((wxDialog *) ((wxFontDialog *) x));
22650 }
22651 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22652 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22653 }
22654 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22655 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22656 }
22657 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22658 return (void *)((wxDialog *) ((wxFileDialog *) x));
22659 }
22660 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22661 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22662 }
22663 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22664 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22665 }
22666 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22667 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22668 }
22669 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22670 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22671 }
22672 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22673 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22674 }
22675 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22676 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22677 }
22678 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22679 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22680 }
22681 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22682 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22683 }
22684 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22685 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22686 }
22687 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22688 return (void *)((wxPanel *) ((wxPyPanel *) x));
22689 }
22690 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22691 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22692 }
22693 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22694 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22695 }
22696 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22697 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22698 }
22699 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22700 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22701 }
22702 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22703 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22704 }
22705 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22706 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22707 }
22708 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22709 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22710 }
22711 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22712 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22713 }
22714 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22715 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22716 }
22717 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22718 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22719 }
22720 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22721 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22722 }
22723 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22724 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22725 }
22726 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22727 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22728 }
22729 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22730 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22731 }
22732 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22733 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22734 }
22735 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22736 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22737 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22738 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22739 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22740 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22741 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22742 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}};
22743 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22744 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22745 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22746 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22747 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22748 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22749 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22750 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22751 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22752 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22753 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22754 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22755 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22756 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22757 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22758 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22759 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22760 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22761 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22762 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22763 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22764 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22765 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22766 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22767 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22768 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22769 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22770 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
22771 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22772 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22773 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22774 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22775 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22776 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}};
22777 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22778 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22779 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22780 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22781 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22782 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22783 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
22784 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22785 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22786 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22787 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22788 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22789 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}};
22790 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22791 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow},{0}};
22792 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22793 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}};
22794 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
22795 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22796 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22797 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22798 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22799 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22800 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22801 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22802 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22803 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22804 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22805 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22806 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}};
22807 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}};
22808 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22809 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22810 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}};
22811 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22812 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22813 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22814 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22815 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22816 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22817
22818 static swig_type_info *swig_types_initial[] = {
22819 _swigt__p_wxQueryLayoutInfoEvent,
22820 _swigt__p_wxPreviewFrame,
22821 _swigt__p_wxPyPreviewFrame,
22822 _swigt__p_wxPyPanel,
22823 _swigt__p_wxMenu,
22824 _swigt__p_wxPrintData,
22825 _swigt__p_wxFontData,
22826 _swigt__p_wxEvent,
22827 _swigt__p_wxTaskBarIcon,
22828 _swigt__p_wxIconBundle,
22829 _swigt__p_wxLayoutAlgorithm,
22830 _swigt__p_wxFindDialogEvent,
22831 _swigt__p_wxPreviewCanvas,
22832 _swigt__p_wxFont,
22833 _swigt__p_wxSplitterEvent,
22834 _swigt__p_wxRegion,
22835 _swigt__p_wxFindReplaceData,
22836 _swigt__p_int,
22837 _swigt__p_wxSize,
22838 _swigt__p_wxDC,
22839 _swigt__p_wxIcon,
22840 _swigt__p_wxMDIChildFrame,
22841 _swigt__p_wxColourData,
22842 _swigt__p_wxNotifyEvent,
22843 _swigt__p_wxPyWindow,
22844 _swigt__p_wxSplashScreen,
22845 _swigt__p_wxFindReplaceDialog,
22846 _swigt__p_wxProgressDialog,
22847 _swigt__p_wxMessageDialog,
22848 _swigt__p_wxTextEntryDialog,
22849 _swigt__p_wxSingleChoiceDialog,
22850 _swigt__p_wxMultiChoiceDialog,
22851 _swigt__p_wxFileDialog,
22852 _swigt__p_wxPrinter,
22853 _swigt__p_wxArrayInt,
22854 _swigt__p_wxEvtHandler,
22855 _swigt__p_wxCalculateLayoutEvent,
22856 _swigt__p_wxPyHtmlListBox,
22857 _swigt__p_wxPyVListBox,
22858 _swigt__p_wxRect,
22859 _swigt__p_wxMiniFrame,
22860 _swigt__p_wxFrame,
22861 _swigt__p_wxPyPrintout,
22862 _swigt__p_wxTaskBarIconEvent,
22863 _swigt__p_wxScrollWinEvent,
22864 _swigt__p_wxStatusBar,
22865 _swigt__p_wxMDIParentFrame,
22866 _swigt__p_wxPoint,
22867 _swigt__p_wxObject,
22868 _swigt__p_unsigned_long,
22869 _swigt__p_wxMDIClientWindow,
22870 _swigt__p_wxTipWindow,
22871 _swigt__p_wxSashLayoutWindow,
22872 _swigt__p_wxSplitterWindow,
22873 _swigt__p_wxPyVScrolledWindow,
22874 _swigt__p_wxPyPopupTransientWindow,
22875 _swigt__p_wxPopupWindow,
22876 _swigt__p_wxSashWindow,
22877 _swigt__p_wxTopLevelWindow,
22878 _swigt__p_wxWindow,
22879 _swigt__p_wxScrolledWindow,
22880 _swigt__p_wxSplashScreenWindow,
22881 _swigt__p_wxMenuBar,
22882 _swigt__p_wxPrintPreview,
22883 _swigt__p_wxSashEvent,
22884 _swigt__p_wxString,
22885 _swigt__p_wxPyPrintPreview,
22886 _swigt__p_wxPageSetupDialog,
22887 _swigt__p_wxFontDialog,
22888 _swigt__p_wxDirDialog,
22889 _swigt__p_wxColourDialog,
22890 _swigt__p_wxDialog,
22891 _swigt__p_wxPanel,
22892 _swigt__p_wxPrintDialog,
22893 _swigt__p_wxBitmap,
22894 _swigt__p_wxCommandEvent,
22895 _swigt__p_wxPreviewControlBar,
22896 _swigt__p_wxPyPreviewControlBar,
22897 _swigt__p_wxColour,
22898 _swigt__p_wxToolBar,
22899 _swigt__p_wxPrintDialogData,
22900 _swigt__p_wxPageSetupDialogData,
22901 0
22902 };
22903
22904
22905 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22906
22907 static swig_const_info swig_const_table[] = {
22908 { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22909 { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22910 { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22911 { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22912 { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22913 { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22914 { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22915 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22916 { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22917 { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22918 { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22919 { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22920 { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22921 { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22922 { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22923 { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22924 { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22925 { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22926 { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22927 { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22928 { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22929 { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22930 { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22931 { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22932 { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22933 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22934 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22935 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22936 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22937 { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22938 { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22939 { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22940 { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22941 { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22942 { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22943 { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22944 { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22945 { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22946 { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22947 { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22948 { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22949 { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22950 { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22951 { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22952 { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22953 { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22954 { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22955 { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22956 { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22957 { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22958 { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22959 { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22960 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22961 { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22962 { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22963 { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22964 { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22965 { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22966 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22967 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22968 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22969 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22970 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22971 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22972 { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22973 { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22974 { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22975 { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22976 { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22977 { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22978 { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22979 { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22980 { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22981 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22982 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22983 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22984 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22985 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22986 { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22987 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22988 { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22989 { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22990 { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22991 { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22992 { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22993 { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22994 { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22995 { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22996 { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22997 { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22998 { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22999 { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
23000 { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
23001 { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
23002 { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
23003 { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
23004 { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
23005 { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
23006 { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
23007 { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
23008 { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
23009 { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
23010 { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
23011 { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
23012 { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
23013 { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
23014 { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
23015 { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
23016 { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
23017 {0}};
23018
23019 #ifdef __cplusplus
23020 }
23021 #endif
23022
23023 #ifdef __cplusplus
23024 extern "C"
23025 #endif
23026 SWIGEXPORT(void) SWIG_init(void) {
23027 static PyObject *SWIG_globals = 0;
23028 static int typeinit = 0;
23029 PyObject *m, *d;
23030 int i;
23031 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
23032 m = Py_InitModule((char *) SWIG_name, SwigMethods);
23033 d = PyModule_GetDict(m);
23034
23035 if (!typeinit) {
23036 for (i = 0; swig_types_initial[i]; i++) {
23037 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
23038 }
23039 typeinit = 1;
23040 }
23041 SWIG_InstallConstants(d,swig_const_table);
23042
23043 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
23044 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
23045 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
23046 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
23047 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
23048 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
23049 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
23050 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
23051 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
23052 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
23053 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
23054 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
23055 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
23056 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
23057 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
23058 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
23059
23060 // Map renamed classes back to their common name for OOR
23061 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
23062 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
23063 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
23064
23065 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
23066 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
23067 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
23068 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
23069 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
23070 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
23071 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
23072 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
23073 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
23074 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
23075 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
23076 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
23077 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
23078 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
23079 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
23080 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
23081 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
23082 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
23083 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
23084 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
23085
23086 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
23087
23088 }
23089